.
-// These default settings work OK for most people. The options that *must* be changed below are the
-// packages, suites, excludeInstrumentation, and (if you want functional tests) functionalSuites.
-define({
- // The port on which the instrumenting proxy will listen
- proxyPort: 9000,
-
- // A fully qualified URL to the Intern proxy
- proxyUrl: 'http://localhost:9000/',
-
- // Default desired capabilities for all environments. Individual capabilities can be overridden by any of the
- // specified browser environments in the `environments` array below as well. See
- // https://code.google.com/p/selenium/wiki/DesiredCapabilities for standard Selenium capabilities and
- // https://saucelabs.com/docs/additional-config#desired-capabilities for Sauce Labs capabilities.
- // Note that the `build` capability will be filled in with the current commit ID from the Travis CI environment
- // automatically
- capabilities: {
- 'selenium-version': '2.41.0'
- },
-
- // Browsers to run integration testing against. Note that version numbers must be strings if used with Sauce
- // OnDemand. Options that will be permutated are browserName, version, platform, and platformVersion; any other
- // capabilities options specified for an environment will be copied as-is
- environments: [
- { browserName: 'internet explorer', version: '11', platform: 'Windows 8.1' },
- { browserName: 'internet explorer', version: '10', platform: 'Windows 8' },
- { browserName: 'internet explorer', version: '9', platform: 'Windows 7' },
- { browserName: 'firefox', version: '28', platform: [ 'OS X 10.9', 'Windows 7', 'Linux' ] },
- { browserName: 'chrome', version: '34', platform: [ 'OS X 10.9', 'Windows 7', 'Linux' ] },
- { browserName: 'safari', version: '6', platform: 'OS X 10.8' },
- { browserName: 'safari', version: '7', platform: 'OS X 10.9' }
- ],
-
- // Maximum number of simultaneous integration tests that should be executed on the remote WebDriver service
- maxConcurrency: 3,
-
- // Name of the tunnel class to use for WebDriver tests
- tunnel: 'SauceLabsTunnel',
-
- // The desired AMD loader to use when running unit tests (client.html/client.js). Omit to use the default Dojo
- // loader
- useLoader: {
- 'host-node': 'dojo/dojo',
- 'host-browser': 'node_modules/dojo/dojo.js'
- },
-
- // Configuration options for the module loader; any AMD configuration options supported by the specified AMD loader
- // can be used here
- loader: {
- // Packages that should be registered with the loader in each testing environment
- packages: [ { name: 'next', location: '.' } ]
- },
-
- // Non-functional test suite(s) to run in each browser
- suites: [
- /* 'myPackage/tests/foo', 'myPackage/tests/bar' */
- 'tests/helpers'
- ],
-
- // Functional test suite(s) to run in each browser once non-functional tests are completed
- functionalSuites: [ /* 'myPackage/tests/functional' */ ],
-
- // A regular expression matching URLs to files that should not be included in code coverage analysis
- excludeInstrumentation: /^(?:tests|node_modules)\//
-});
diff --git a/themes/next/source/uploads/avatar.jpg b/uploads/avatar.jpg
similarity index 100%
rename from themes/next/source/uploads/avatar.jpg
rename to uploads/avatar.jpg
diff --git a/themes/next/source/vendors/fancybox/source/blank.gif b/vendors/fancybox/source/blank.gif
similarity index 100%
rename from themes/next/source/vendors/fancybox/source/blank.gif
rename to vendors/fancybox/source/blank.gif
diff --git a/themes/next/source/vendors/fancybox/source/fancybox_loading.gif b/vendors/fancybox/source/fancybox_loading.gif
similarity index 100%
rename from themes/next/source/vendors/fancybox/source/fancybox_loading.gif
rename to vendors/fancybox/source/fancybox_loading.gif
diff --git a/themes/next/source/vendors/fancybox/source/fancybox_loading@2x.gif b/vendors/fancybox/source/fancybox_loading@2x.gif
similarity index 100%
rename from themes/next/source/vendors/fancybox/source/fancybox_loading@2x.gif
rename to vendors/fancybox/source/fancybox_loading@2x.gif
diff --git a/themes/next/source/vendors/fancybox/source/fancybox_overlay.png b/vendors/fancybox/source/fancybox_overlay.png
similarity index 100%
rename from themes/next/source/vendors/fancybox/source/fancybox_overlay.png
rename to vendors/fancybox/source/fancybox_overlay.png
diff --git a/themes/next/source/vendors/fancybox/source/fancybox_sprite.png b/vendors/fancybox/source/fancybox_sprite.png
similarity index 100%
rename from themes/next/source/vendors/fancybox/source/fancybox_sprite.png
rename to vendors/fancybox/source/fancybox_sprite.png
diff --git a/themes/next/source/vendors/fancybox/source/fancybox_sprite@2x.png b/vendors/fancybox/source/fancybox_sprite@2x.png
similarity index 100%
rename from themes/next/source/vendors/fancybox/source/fancybox_sprite@2x.png
rename to vendors/fancybox/source/fancybox_sprite@2x.png
diff --git a/themes/next/source/vendors/fancybox/source/helpers/fancybox_buttons.png b/vendors/fancybox/source/helpers/fancybox_buttons.png
similarity index 100%
rename from themes/next/source/vendors/fancybox/source/helpers/fancybox_buttons.png
rename to vendors/fancybox/source/helpers/fancybox_buttons.png
diff --git a/themes/next/source/vendors/fancybox/source/helpers/jquery.fancybox-buttons.css b/vendors/fancybox/source/helpers/jquery.fancybox-buttons.css
similarity index 100%
rename from themes/next/source/vendors/fancybox/source/helpers/jquery.fancybox-buttons.css
rename to vendors/fancybox/source/helpers/jquery.fancybox-buttons.css
diff --git a/themes/next/source/vendors/fancybox/source/helpers/jquery.fancybox-buttons.js b/vendors/fancybox/source/helpers/jquery.fancybox-buttons.js
similarity index 100%
rename from themes/next/source/vendors/fancybox/source/helpers/jquery.fancybox-buttons.js
rename to vendors/fancybox/source/helpers/jquery.fancybox-buttons.js
diff --git a/themes/next/source/vendors/fancybox/source/helpers/jquery.fancybox-media.js b/vendors/fancybox/source/helpers/jquery.fancybox-media.js
similarity index 100%
rename from themes/next/source/vendors/fancybox/source/helpers/jquery.fancybox-media.js
rename to vendors/fancybox/source/helpers/jquery.fancybox-media.js
diff --git a/themes/next/source/vendors/fancybox/source/helpers/jquery.fancybox-thumbs.css b/vendors/fancybox/source/helpers/jquery.fancybox-thumbs.css
similarity index 100%
rename from themes/next/source/vendors/fancybox/source/helpers/jquery.fancybox-thumbs.css
rename to vendors/fancybox/source/helpers/jquery.fancybox-thumbs.css
diff --git a/themes/next/source/vendors/fancybox/source/helpers/jquery.fancybox-thumbs.js b/vendors/fancybox/source/helpers/jquery.fancybox-thumbs.js
similarity index 100%
rename from themes/next/source/vendors/fancybox/source/helpers/jquery.fancybox-thumbs.js
rename to vendors/fancybox/source/helpers/jquery.fancybox-thumbs.js
diff --git a/themes/next/source/vendors/fancybox/source/jquery.fancybox.css b/vendors/fancybox/source/jquery.fancybox.css
similarity index 100%
rename from themes/next/source/vendors/fancybox/source/jquery.fancybox.css
rename to vendors/fancybox/source/jquery.fancybox.css
diff --git a/themes/next/source/vendors/fancybox/source/jquery.fancybox.js b/vendors/fancybox/source/jquery.fancybox.js
old mode 100755
new mode 100644
similarity index 100%
rename from themes/next/source/vendors/fancybox/source/jquery.fancybox.js
rename to vendors/fancybox/source/jquery.fancybox.js
diff --git a/themes/next/source/vendors/fancybox/source/jquery.fancybox.pack.js b/vendors/fancybox/source/jquery.fancybox.pack.js
old mode 100755
new mode 100644
similarity index 100%
rename from themes/next/source/vendors/fancybox/source/jquery.fancybox.pack.js
rename to vendors/fancybox/source/jquery.fancybox.pack.js
diff --git a/themes/next/source/vendors/fastclick/LICENSE b/vendors/fastclick/LICENSE
similarity index 100%
rename from themes/next/source/vendors/fastclick/LICENSE
rename to vendors/fastclick/LICENSE
diff --git a/vendors/fastclick/README.html b/vendors/fastclick/README.html
new file mode 100644
index 0000000..c9ab89c
--- /dev/null
+++ b/vendors/fastclick/README.html
@@ -0,0 +1,70 @@
+FastClick
FastClick is a simple, easy-to-use library for eliminating the 300ms delay between a physical tap and the firing of a click event on mobile browsers. The aim is to make your application feel less laggy and more responsive while avoiding any interference with your current logic.
+FastClick is developed by FT Labs, part of the Financial Times.
+Explication en français.
+日本語で説明。
+Why does the delay exist?
According to Google:
+
+…mobile browsers will wait approximately 300ms from the time that you tap the button to fire the click event. The reason for this is that the browser is waiting to see if you are actually performing a double tap.
+
+Compatibility
The library has been deployed as part of the FT Web App and is tried and tested on the following mobile browsers:
+
+- Mobile Safari on iOS 3 and upwards
+- Chrome on iOS 5 and upwards
+- Chrome on Android (ICS)
+- Opera Mobile 11.5 and upwards
+- Android Browser since Android 2
+- PlayBook OS 1 and upwards
+
+When it isn’t needed
FastClick doesn’t attach any listeners on desktop browsers.
+Chrome 32+ on Android with width=device-width in the viewport meta tag doesn’t have a 300ms delay, therefore listeners aren’t attached.
+<meta name="viewport" content="width=device-width, initial-scale=1">
+
+Same goes for Chrome on Android (all versions) with user-scalable=no in the viewport meta tag. But be aware that user-scalable=no also disables pinch zooming, which may be an accessibility concern.
+For IE11+, you can use touch-action: manipulation; to disable double-tap-to-zoom on certain elements (like links and buttons). For IE10 use -ms-touch-action: manipulation.
+Usage
Include fastclick.js in your JavaScript bundle or add it to your HTML page like this:
+<script type='application/javascript' src='/path/to/fastclick.js'></script>
+
+The script must be loaded prior to instantiating FastClick on any element of the page.
+To instantiate FastClick on the body, which is the recommended method of use:
+if ('addEventListener' in document) {
+ document.addEventListener('DOMContentLoaded', function() {
+ FastClick.attach(document.body);
+ }, false);
+}
+
+Or, if you’re using jQuery:
+$(function() {
+ FastClick.attach(document.body);
+});
+
+If you’re using Browserify or another CommonJS-style module system, the FastClick.attach function will be returned when you call require('fastclick'). As a result, the easiest way to use FastClick with these loaders is as follows:
+var attachFastClick = require('fastclick');
+attachFastClick(document.body);
+
+Minified
Run make to build a minified version of FastClick using the Closure Compiler REST API. The minified file is saved to build/fastclick.min.js or you can download a pre-minified version.
+Note: the pre-minified version is built using our build service which exposes the FastClick object through Origami.fastclick and will have the Browserify/CommonJS API (see above).
+var attachFastClick = Origami.fastclick;
+attachFastClick(document.body);
+
+AMD
FastClick has AMD (Asynchronous Module Definition) support. This allows it to be lazy-loaded with an AMD loader, such as RequireJS. Note that when using the AMD style require, the full FastClick object will be returned, not FastClick.attach
+var FastClick = require('fastclick');
+FastClick.attach(document.body, options);
+
+Package managers
You can install FastClick using Component, npm or Bower.
+For Ruby, there’s a third-party gem called fastclick-rails. For .NET there’s a NuGet package.
+Advanced
Ignore certain elements with needsclick
Sometimes you need FastClick to ignore certain elements. You can do this easily by adding the needsclick class.
+<a class="needsclick">Ignored by FastClick</a>
+
+Use case 1: non-synthetic click required
Internally, FastClick uses document.createEvent to fire a synthetic click event as soon as touchend is fired by the browser. It then suppresses the additional click event created by the browser after that. In some cases, the non-synthetic click event created by the browser is required, as described in the triggering focus example.
+This is where the needsclick class comes in. Add the class to any element that requires a non-synthetic click.
+Another example of when to use the needsclick class is with dropdowns in Twitter Bootstrap 2.2.2. Bootstrap add its own touchstart listener for dropdowns, so you want to tell FastClick to ignore those. If you don’t, touch devices will automatically close the dropdown as soon as it is clicked, because both FastClick and Bootstrap execute the synthetic click, one opens the dropdown, the second closes it immediately after.
+<a class="dropdown-toggle needsclick" data-toggle="dropdown">Dropdown</a>
+
+Examples
FastClick is designed to cope with many different browser oddities. Here are some examples to illustrate this:
+
+Tests
There are no automated tests. The files in tests/ are manual reduced test cases. We’ve had a think about how best to test these cases, but they tend to be very browser/device specific and sometimes subjective which means it’s not so trivial to test.
+Credits and collaboration
FastClick is maintained by Rowan Beentje, Matthew Caruana Galizia and Matthew Andrews at FT Labs. All open source code released by FT Labs is licenced under the MIT licence. We welcome comments, feedback and suggestions. Please feel free to raise an issue or pull request.
diff --git a/vendors/fastclick/bower.json b/vendors/fastclick/bower.json
new file mode 100644
index 0000000..cdbbf93
--- /dev/null
+++ b/vendors/fastclick/bower.json
@@ -0,0 +1 @@
+{"name":"fastclick","main":"lib/fastclick.js","ignore":["**/.*","component.json","package.json","Makefile","tests","examples"]}
\ No newline at end of file
diff --git a/themes/next/source/vendors/fastclick/lib/fastclick.js b/vendors/fastclick/lib/fastclick.js
similarity index 100%
rename from themes/next/source/vendors/fastclick/lib/fastclick.js
rename to vendors/fastclick/lib/fastclick.js
diff --git a/themes/next/source/vendors/fastclick/lib/fastclick.min.js b/vendors/fastclick/lib/fastclick.min.js
similarity index 100%
rename from themes/next/source/vendors/fastclick/lib/fastclick.min.js
rename to vendors/fastclick/lib/fastclick.min.js
diff --git a/themes/next/source/vendors/font-awesome/HELP-US-OUT.txt b/vendors/font-awesome/HELP-US-OUT.txt
similarity index 100%
rename from themes/next/source/vendors/font-awesome/HELP-US-OUT.txt
rename to vendors/font-awesome/HELP-US-OUT.txt
diff --git a/vendors/font-awesome/bower.json b/vendors/font-awesome/bower.json
new file mode 100644
index 0000000..772570a
--- /dev/null
+++ b/vendors/font-awesome/bower.json
@@ -0,0 +1 @@
+{"name":"font-awesome","description":"Font Awesome","keywords":[],"homepage":"http://fontawesome.io","dependencies":{},"devDependencies":{},"license":["OFL-1.1","MIT","CC-BY-3.0"],"main":["less/font-awesome.less","scss/font-awesome.scss"],"ignore":["*/.*","*.json","src","*.yml","Gemfile","Gemfile.lock","*.md"]}
\ No newline at end of file
diff --git a/themes/next/source/vendors/font-awesome/css/font-awesome.css b/vendors/font-awesome/css/font-awesome.css
similarity index 100%
rename from themes/next/source/vendors/font-awesome/css/font-awesome.css
rename to vendors/font-awesome/css/font-awesome.css
diff --git a/themes/next/source/vendors/font-awesome/css/font-awesome.css.map b/vendors/font-awesome/css/font-awesome.css.map
similarity index 100%
rename from themes/next/source/vendors/font-awesome/css/font-awesome.css.map
rename to vendors/font-awesome/css/font-awesome.css.map
diff --git a/themes/next/source/vendors/font-awesome/css/font-awesome.min.css b/vendors/font-awesome/css/font-awesome.min.css
similarity index 100%
rename from themes/next/source/vendors/font-awesome/css/font-awesome.min.css
rename to vendors/font-awesome/css/font-awesome.min.css
diff --git a/themes/next/source/vendors/font-awesome/fonts/FontAwesome.otf b/vendors/font-awesome/fonts/FontAwesome.otf
similarity index 100%
rename from themes/next/source/vendors/font-awesome/fonts/FontAwesome.otf
rename to vendors/font-awesome/fonts/FontAwesome.otf
diff --git a/themes/next/source/vendors/font-awesome/fonts/fontawesome-webfont.eot b/vendors/font-awesome/fonts/fontawesome-webfont.eot
similarity index 100%
rename from themes/next/source/vendors/font-awesome/fonts/fontawesome-webfont.eot
rename to vendors/font-awesome/fonts/fontawesome-webfont.eot
diff --git a/themes/next/source/vendors/font-awesome/fonts/fontawesome-webfont.svg b/vendors/font-awesome/fonts/fontawesome-webfont.svg
similarity index 100%
rename from themes/next/source/vendors/font-awesome/fonts/fontawesome-webfont.svg
rename to vendors/font-awesome/fonts/fontawesome-webfont.svg
diff --git a/themes/next/source/vendors/font-awesome/fonts/fontawesome-webfont.ttf b/vendors/font-awesome/fonts/fontawesome-webfont.ttf
similarity index 100%
rename from themes/next/source/vendors/font-awesome/fonts/fontawesome-webfont.ttf
rename to vendors/font-awesome/fonts/fontawesome-webfont.ttf
diff --git a/themes/next/source/vendors/font-awesome/fonts/fontawesome-webfont.woff b/vendors/font-awesome/fonts/fontawesome-webfont.woff
similarity index 100%
rename from themes/next/source/vendors/font-awesome/fonts/fontawesome-webfont.woff
rename to vendors/font-awesome/fonts/fontawesome-webfont.woff
diff --git a/themes/next/source/vendors/font-awesome/fonts/fontawesome-webfont.woff2 b/vendors/font-awesome/fonts/fontawesome-webfont.woff2
similarity index 100%
rename from themes/next/source/vendors/font-awesome/fonts/fontawesome-webfont.woff2
rename to vendors/font-awesome/fonts/fontawesome-webfont.woff2
diff --git a/themes/next/source/vendors/jquery/index.js b/vendors/jquery/index.js
similarity index 100%
rename from themes/next/source/vendors/jquery/index.js
rename to vendors/jquery/index.js
diff --git a/vendors/jquery_lazyload/CONTRIBUTING.html b/vendors/jquery_lazyload/CONTRIBUTING.html
new file mode 100644
index 0000000..c732c08
--- /dev/null
+++ b/vendors/jquery_lazyload/CONTRIBUTING.html
@@ -0,0 +1,22 @@
+Contributing to Lazy Load
Only one feature or change per pull request
Make pull requests only one feature or change at the time. For example you have fixed a bug. You also have optimized some code. Optimization is not related to a bug. These should be submitted as separate pull requests. This way I can easily choose what to include. It is also easier to understand the code changes. Commit messages should be descriptive and full sentences.
+Do not commit minified versions. Do not touch the version number. Make the pull requests against 1.9.x branch.
+Write meaningful commit messages
Proper commit message is full sentence. It starts with capital letter but does not end with period. Headlines do not end with period. The GitHub default Update filename.js is not enough. When needed include also longer explanation what the commit does.
+Capitalized, short (50 chars or less) summary
+
+More detailed explanatory text, if necessary. Wrap it to about 72
+characters or so. In some contexts, the first line is treated as the
+subject of an email and the rest of the text as the body. The blank
+line separating the summary from the body is critical (unless you omit
+the body entirely); tools like rebase can get confused if you run the
+two together.
+
When in doubt see Tim Pope’s blogpost A Note About Git Commit Messages
+Follow the existing coding standards
When contributing to open source project it is polite to follow the original authors coding standars. They might be different than yours. It is not a holy war. Just follow then original.
+var snake_case = "something";
+
+function camelCase(options) {
+}
+
+if (true !== false) {
+ console.log("here be dragons");
+}
+
diff --git a/vendors/jquery_lazyload/README.html b/vendors/jquery_lazyload/README.html
new file mode 100644
index 0000000..a24769b
--- /dev/null
+++ b/vendors/jquery_lazyload/README.html
@@ -0,0 +1,20 @@
+Lazy Load Plugin for jQuery
Lazy Load delays loading of images in long web pages. Images outside of viewport wont be loaded before user scrolls to them. This is opposite of image preloading.
+Using Lazy Load on long web pages containing many large images makes the page load faster. Browser will be in ready state after loading visible images. In some cases it can also help to reduce server load.
+Lazy Load is inspired by YUI ImageLoader Utility by Matt Mlinac.
+How to Use?
Lazy Load depends on jQuery. Include them both in end of your HTML code:
+<script src="jquery.js" type="text/javascript"></script>
+<script src="jquery.lazyload.js" type="text/javascript"></script>
+
+You must alter your HTML code. URL of the real image must be put into data-original attribute. It is good idea to give Lazy Loaded image a specific class. This way you can easily control which images plugin is binded to. Note that you should have width and height attributes in your image tag.
+<img class="lazy" data-original="img/example.jpg" width="640" height="480">
+
+then in your code do:
+$("img.lazy").lazyload();
+
+This causes all images of class lazy to be lazy loaded.
+More information on Lazy Load project page.
+Install
You can install with bower or npm.
+$ bower install jquery.lazyload
+$ npm install jquery-lazyload
+
+License
All code licensed under the MIT License. All images licensed under Creative Commons Attribution 3.0 Unported License. In other words you are basically free to do whatever you want. Just don’t remove my name from the source.
diff --git a/vendors/jquery_lazyload/bower.json b/vendors/jquery_lazyload/bower.json
new file mode 100644
index 0000000..6ffd9bc
--- /dev/null
+++ b/vendors/jquery_lazyload/bower.json
@@ -0,0 +1 @@
+{"name":"jquery_lazyload","version":"1.9.4","homepage":"http://www.appelsiini.net/projects/lazyload","authors":["Mika Tuupola "],"description":"jQuery plugin for lazy loading images","main":["jquery.lazyload.js","jquery.scrollstop.js"],"license":"MIT","ignore":["**/.*","**/*.min.js","**/*.html","**/*.textile","Gruntfile.js","lazyload.jquery.json","package.json","node_modules","bower_components","test","img"]}
\ No newline at end of file
diff --git a/themes/next/source/vendors/jquery_lazyload/jquery.lazyload.js b/vendors/jquery_lazyload/jquery.lazyload.js
similarity index 100%
rename from themes/next/source/vendors/jquery_lazyload/jquery.lazyload.js
rename to vendors/jquery_lazyload/jquery.lazyload.js
diff --git a/themes/next/source/vendors/jquery_lazyload/jquery.scrollstop.js b/vendors/jquery_lazyload/jquery.scrollstop.js
similarity index 100%
rename from themes/next/source/vendors/jquery_lazyload/jquery.scrollstop.js
rename to vendors/jquery_lazyload/jquery.scrollstop.js
diff --git a/themes/next/source/vendors/ua-parser-js/dist/ua-parser.min.js b/vendors/ua-parser-js/dist/ua-parser.min.js
similarity index 100%
rename from themes/next/source/vendors/ua-parser-js/dist/ua-parser.min.js
rename to vendors/ua-parser-js/dist/ua-parser.min.js
diff --git a/themes/next/source/vendors/ua-parser-js/dist/ua-parser.pack.js b/vendors/ua-parser-js/dist/ua-parser.pack.js
similarity index 100%
rename from themes/next/source/vendors/ua-parser-js/dist/ua-parser.pack.js
rename to vendors/ua-parser-js/dist/ua-parser.pack.js
diff --git a/vendors/velocity/bower.json b/vendors/velocity/bower.json
new file mode 100644
index 0000000..bf66fe8
--- /dev/null
+++ b/vendors/velocity/bower.json
@@ -0,0 +1 @@
+{"name":"velocity","version":"1.2.2","homepage":"http://velocityjs.org","authors":[{"name":"Julian Shapiro","homepage":"http://julian.com/"}],"description":"Accelerated JavaScript animation.","main":["./velocity.js","./velocity.ui.js"],"keywords":["animation","jquery","animate","lightweight","smooth","ui","velocity.js","velocityjs","javascript"],"license":"MIT","ignore":["*.json","!/bower.json","LICENSE","*.md"],"dependencies":{"jquery":"*"},"repository":{"type":"git","url":"http://github.com/julianshapiro/velocity.git"}}
\ No newline at end of file
diff --git a/themes/next/source/vendors/velocity/velocity.js b/vendors/velocity/velocity.js
similarity index 99%
rename from themes/next/source/vendors/velocity/velocity.js
rename to vendors/velocity/velocity.js
index 7c2f996..c423285 100644
--- a/themes/next/source/vendors/velocity/velocity.js
+++ b/vendors/velocity/velocity.js
@@ -1,405 +1,405 @@
/*! VelocityJS.org (1.2.2). (C) 2014 Julian Shapiro. MIT @license: en.wikipedia.org/wiki/MIT_License */
-/*************************
- Velocity jQuery Shim
-*************************/
-
-/*! VelocityJS.org jQuery Shim (1.0.1). (C) 2014 The jQuery Foundation. MIT @license: en.wikipedia.org/wiki/MIT_License. */
-
-/* This file contains the jQuery functions that Velocity relies on, thereby removing Velocity's dependency on a full copy of jQuery, and allowing it to work in any environment. */
-/* These shimmed functions are only used if jQuery isn't present. If both this shim and jQuery are loaded, Velocity defaults to jQuery proper. */
-/* Browser support: Using this shim instead of jQuery proper removes support for IE8. */
-
-;(function (window) {
- /***************
- Setup
- ***************/
-
- /* If jQuery is already loaded, there's no point in loading this shim. */
- if (window.jQuery) {
- return;
- }
-
- /* jQuery base. */
- var $ = function (selector, context) {
- return new $.fn.init(selector, context);
- };
-
- /********************
- Private Methods
- ********************/
-
- /* jQuery */
- $.isWindow = function (obj) {
- /* jshint eqeqeq: false */
- return obj != null && obj == obj.window;
- };
-
- /* jQuery */
- $.type = function (obj) {
- if (obj == null) {
- return obj + "";
- }
-
- return typeof obj === "object" || typeof obj === "function" ?
- class2type[toString.call(obj)] || "object" :
- typeof obj;
- };
-
- /* jQuery */
- $.isArray = Array.isArray || function (obj) {
- return $.type(obj) === "array";
- };
-
- /* jQuery */
- function isArraylike (obj) {
- var length = obj.length,
- type = $.type(obj);
-
- if (type === "function" || $.isWindow(obj)) {
- return false;
- }
-
- if (obj.nodeType === 1 && length) {
- return true;
- }
-
- return type === "array" || length === 0 || typeof length === "number" && length > 0 && (length - 1) in obj;
- }
-
- /***************
- $ Methods
- ***************/
-
- /* jQuery: Support removed for IE<9. */
- $.isPlainObject = function (obj) {
- var key;
-
- if (!obj || $.type(obj) !== "object" || obj.nodeType || $.isWindow(obj)) {
- return false;
- }
-
- try {
- if (obj.constructor &&
- !hasOwn.call(obj, "constructor") &&
- !hasOwn.call(obj.constructor.prototype, "isPrototypeOf")) {
- return false;
- }
- } catch (e) {
- return false;
- }
-
- for (key in obj) {}
-
- return key === undefined || hasOwn.call(obj, key);
- };
-
- /* jQuery */
- $.each = function(obj, callback, args) {
- var value,
- i = 0,
- length = obj.length,
- isArray = isArraylike(obj);
-
- if (args) {
- if (isArray) {
- for (; i < length; i++) {
- value = callback.apply(obj[i], args);
-
- if (value === false) {
- break;
- }
- }
- } else {
- for (i in obj) {
- value = callback.apply(obj[i], args);
-
- if (value === false) {
- break;
- }
- }
- }
-
- } else {
- if (isArray) {
- for (; i < length; i++) {
- value = callback.call(obj[i], i, obj[i]);
-
- if (value === false) {
- break;
- }
- }
- } else {
- for (i in obj) {
- value = callback.call(obj[i], i, obj[i]);
-
- if (value === false) {
- break;
- }
- }
- }
- }
-
- return obj;
- };
-
- /* Custom */
- $.data = function (node, key, value) {
- /* $.getData() */
- if (value === undefined) {
- var id = node[$.expando],
- store = id && cache[id];
-
- if (key === undefined) {
- return store;
- } else if (store) {
- if (key in store) {
- return store[key];
- }
- }
- /* $.setData() */
- } else if (key !== undefined) {
- var id = node[$.expando] || (node[$.expando] = ++$.uuid);
-
- cache[id] = cache[id] || {};
- cache[id][key] = value;
-
- return value;
- }
- };
-
- /* Custom */
- $.removeData = function (node, keys) {
- var id = node[$.expando],
- store = id && cache[id];
-
- if (store) {
- $.each(keys, function(_, key) {
- delete store[key];
- });
- }
- };
-
- /* jQuery */
- $.extend = function () {
- var src, copyIsArray, copy, name, options, clone,
- target = arguments[0] || {},
- i = 1,
- length = arguments.length,
- deep = false;
-
- if (typeof target === "boolean") {
- deep = target;
-
- target = arguments[i] || {};
- i++;
- }
-
- if (typeof target !== "object" && $.type(target) !== "function") {
- target = {};
- }
-
- if (i === length) {
- target = this;
- i--;
- }
-
- for (; i < length; i++) {
- if ((options = arguments[i]) != null) {
- for (name in options) {
- src = target[name];
- copy = options[name];
-
- if (target === copy) {
- continue;
- }
-
- if (deep && copy && ($.isPlainObject(copy) || (copyIsArray = $.isArray(copy)))) {
- if (copyIsArray) {
- copyIsArray = false;
- clone = src && $.isArray(src) ? src : [];
-
- } else {
- clone = src && $.isPlainObject(src) ? src : {};
- }
-
- target[name] = $.extend(deep, clone, copy);
-
- } else if (copy !== undefined) {
- target[name] = copy;
- }
- }
- }
- }
-
- return target;
- };
-
- /* jQuery 1.4.3 */
- $.queue = function (elem, type, data) {
- function $makeArray (arr, results) {
- var ret = results || [];
-
- if (arr != null) {
- if (isArraylike(Object(arr))) {
- /* $.merge */
- (function(first, second) {
- var len = +second.length,
- j = 0,
- i = first.length;
-
- while (j < len) {
- first[i++] = second[j++];
- }
-
- if (len !== len) {
- while (second[j] !== undefined) {
- first[i++] = second[j++];
- }
- }
-
- first.length = i;
-
- return first;
- })(ret, typeof arr === "string" ? [arr] : arr);
- } else {
- [].push.call(ret, arr);
- }
- }
-
- return ret;
- }
-
- if (!elem) {
- return;
- }
-
- type = (type || "fx") + "queue";
-
- var q = $.data(elem, type);
-
- if (!data) {
- return q || [];
- }
-
- if (!q || $.isArray(data)) {
- q = $.data(elem, type, $makeArray(data));
- } else {
- q.push(data);
- }
-
- return q;
- };
-
- /* jQuery 1.4.3 */
- $.dequeue = function (elems, type) {
- /* Custom: Embed element iteration. */
- $.each(elems.nodeType ? [ elems ] : elems, function(i, elem) {
- type = type || "fx";
-
- var queue = $.queue(elem, type),
- fn = queue.shift();
-
- if (fn === "inprogress") {
- fn = queue.shift();
- }
-
- if (fn) {
- if (type === "fx") {
- queue.unshift("inprogress");
- }
-
- fn.call(elem, function() {
- $.dequeue(elem, type);
- });
- }
- });
- };
-
- /******************
- $.fn Methods
- ******************/
-
- /* jQuery */
- $.fn = $.prototype = {
- init: function (selector) {
- /* Just return the element wrapped inside an array; don't proceed with the actual jQuery node wrapping process. */
- if (selector.nodeType) {
- this[0] = selector;
-
- return this;
- } else {
- throw new Error("Not a DOM node.");
- }
- },
-
- offset: function () {
- /* jQuery altered code: Dropped disconnected DOM node checking. */
- var box = this[0].getBoundingClientRect ? this[0].getBoundingClientRect() : { top: 0, left: 0 };
-
- return {
- top: box.top + (window.pageYOffset || document.scrollTop || 0) - (document.clientTop || 0),
- left: box.left + (window.pageXOffset || document.scrollLeft || 0) - (document.clientLeft || 0)
- };
- },
-
- position: function () {
- /* jQuery */
- function offsetParent() {
- var offsetParent = this.offsetParent || document;
-
- while (offsetParent && (!offsetParent.nodeType.toLowerCase === "html" && offsetParent.style.position === "static")) {
- offsetParent = offsetParent.offsetParent;
- }
-
- return offsetParent || document;
- }
-
- /* Zepto */
- var elem = this[0],
- offsetParent = offsetParent.apply(elem),
- offset = this.offset(),
- parentOffset = /^(?:body|html)$/i.test(offsetParent.nodeName) ? { top: 0, left: 0 } : $(offsetParent).offset()
-
- offset.top -= parseFloat(elem.style.marginTop) || 0;
- offset.left -= parseFloat(elem.style.marginLeft) || 0;
-
- if (offsetParent.style) {
- parentOffset.top += parseFloat(offsetParent.style.borderTopWidth) || 0
- parentOffset.left += parseFloat(offsetParent.style.borderLeftWidth) || 0
- }
-
- return {
- top: offset.top - parentOffset.top,
- left: offset.left - parentOffset.left
- };
- }
- };
-
- /**********************
- Private Variables
- **********************/
-
- /* For $.data() */
- var cache = {};
- $.expando = "velocity" + (new Date().getTime());
- $.uuid = 0;
-
- /* For $.queue() */
- var class2type = {},
- hasOwn = class2type.hasOwnProperty,
- toString = class2type.toString;
-
- var types = "Boolean Number String Function Array Date RegExp Object Error".split(" ");
- for (var i = 0; i < types.length; i++) {
- class2type["[object " + types[i] + "]"] = types[i].toLowerCase();
- }
-
- /* Makes $(node) possible, without having to call init. */
- $.fn.init.prototype = $.fn;
-
- /* Globalize Velocity onto the window, and assign its Utilities property. */
- window.Velocity = { Utilities: $ };
+/*************************
+ Velocity jQuery Shim
+*************************/
+
+/*! VelocityJS.org jQuery Shim (1.0.1). (C) 2014 The jQuery Foundation. MIT @license: en.wikipedia.org/wiki/MIT_License. */
+
+/* This file contains the jQuery functions that Velocity relies on, thereby removing Velocity's dependency on a full copy of jQuery, and allowing it to work in any environment. */
+/* These shimmed functions are only used if jQuery isn't present. If both this shim and jQuery are loaded, Velocity defaults to jQuery proper. */
+/* Browser support: Using this shim instead of jQuery proper removes support for IE8. */
+
+;(function (window) {
+ /***************
+ Setup
+ ***************/
+
+ /* If jQuery is already loaded, there's no point in loading this shim. */
+ if (window.jQuery) {
+ return;
+ }
+
+ /* jQuery base. */
+ var $ = function (selector, context) {
+ return new $.fn.init(selector, context);
+ };
+
+ /********************
+ Private Methods
+ ********************/
+
+ /* jQuery */
+ $.isWindow = function (obj) {
+ /* jshint eqeqeq: false */
+ return obj != null && obj == obj.window;
+ };
+
+ /* jQuery */
+ $.type = function (obj) {
+ if (obj == null) {
+ return obj + "";
+ }
+
+ return typeof obj === "object" || typeof obj === "function" ?
+ class2type[toString.call(obj)] || "object" :
+ typeof obj;
+ };
+
+ /* jQuery */
+ $.isArray = Array.isArray || function (obj) {
+ return $.type(obj) === "array";
+ };
+
+ /* jQuery */
+ function isArraylike (obj) {
+ var length = obj.length,
+ type = $.type(obj);
+
+ if (type === "function" || $.isWindow(obj)) {
+ return false;
+ }
+
+ if (obj.nodeType === 1 && length) {
+ return true;
+ }
+
+ return type === "array" || length === 0 || typeof length === "number" && length > 0 && (length - 1) in obj;
+ }
+
+ /***************
+ $ Methods
+ ***************/
+
+ /* jQuery: Support removed for IE<9. */
+ $.isPlainObject = function (obj) {
+ var key;
+
+ if (!obj || $.type(obj) !== "object" || obj.nodeType || $.isWindow(obj)) {
+ return false;
+ }
+
+ try {
+ if (obj.constructor &&
+ !hasOwn.call(obj, "constructor") &&
+ !hasOwn.call(obj.constructor.prototype, "isPrototypeOf")) {
+ return false;
+ }
+ } catch (e) {
+ return false;
+ }
+
+ for (key in obj) {}
+
+ return key === undefined || hasOwn.call(obj, key);
+ };
+
+ /* jQuery */
+ $.each = function(obj, callback, args) {
+ var value,
+ i = 0,
+ length = obj.length,
+ isArray = isArraylike(obj);
+
+ if (args) {
+ if (isArray) {
+ for (; i < length; i++) {
+ value = callback.apply(obj[i], args);
+
+ if (value === false) {
+ break;
+ }
+ }
+ } else {
+ for (i in obj) {
+ value = callback.apply(obj[i], args);
+
+ if (value === false) {
+ break;
+ }
+ }
+ }
+
+ } else {
+ if (isArray) {
+ for (; i < length; i++) {
+ value = callback.call(obj[i], i, obj[i]);
+
+ if (value === false) {
+ break;
+ }
+ }
+ } else {
+ for (i in obj) {
+ value = callback.call(obj[i], i, obj[i]);
+
+ if (value === false) {
+ break;
+ }
+ }
+ }
+ }
+
+ return obj;
+ };
+
+ /* Custom */
+ $.data = function (node, key, value) {
+ /* $.getData() */
+ if (value === undefined) {
+ var id = node[$.expando],
+ store = id && cache[id];
+
+ if (key === undefined) {
+ return store;
+ } else if (store) {
+ if (key in store) {
+ return store[key];
+ }
+ }
+ /* $.setData() */
+ } else if (key !== undefined) {
+ var id = node[$.expando] || (node[$.expando] = ++$.uuid);
+
+ cache[id] = cache[id] || {};
+ cache[id][key] = value;
+
+ return value;
+ }
+ };
+
+ /* Custom */
+ $.removeData = function (node, keys) {
+ var id = node[$.expando],
+ store = id && cache[id];
+
+ if (store) {
+ $.each(keys, function(_, key) {
+ delete store[key];
+ });
+ }
+ };
+
+ /* jQuery */
+ $.extend = function () {
+ var src, copyIsArray, copy, name, options, clone,
+ target = arguments[0] || {},
+ i = 1,
+ length = arguments.length,
+ deep = false;
+
+ if (typeof target === "boolean") {
+ deep = target;
+
+ target = arguments[i] || {};
+ i++;
+ }
+
+ if (typeof target !== "object" && $.type(target) !== "function") {
+ target = {};
+ }
+
+ if (i === length) {
+ target = this;
+ i--;
+ }
+
+ for (; i < length; i++) {
+ if ((options = arguments[i]) != null) {
+ for (name in options) {
+ src = target[name];
+ copy = options[name];
+
+ if (target === copy) {
+ continue;
+ }
+
+ if (deep && copy && ($.isPlainObject(copy) || (copyIsArray = $.isArray(copy)))) {
+ if (copyIsArray) {
+ copyIsArray = false;
+ clone = src && $.isArray(src) ? src : [];
+
+ } else {
+ clone = src && $.isPlainObject(src) ? src : {};
+ }
+
+ target[name] = $.extend(deep, clone, copy);
+
+ } else if (copy !== undefined) {
+ target[name] = copy;
+ }
+ }
+ }
+ }
+
+ return target;
+ };
+
+ /* jQuery 1.4.3 */
+ $.queue = function (elem, type, data) {
+ function $makeArray (arr, results) {
+ var ret = results || [];
+
+ if (arr != null) {
+ if (isArraylike(Object(arr))) {
+ /* $.merge */
+ (function(first, second) {
+ var len = +second.length,
+ j = 0,
+ i = first.length;
+
+ while (j < len) {
+ first[i++] = second[j++];
+ }
+
+ if (len !== len) {
+ while (second[j] !== undefined) {
+ first[i++] = second[j++];
+ }
+ }
+
+ first.length = i;
+
+ return first;
+ })(ret, typeof arr === "string" ? [arr] : arr);
+ } else {
+ [].push.call(ret, arr);
+ }
+ }
+
+ return ret;
+ }
+
+ if (!elem) {
+ return;
+ }
+
+ type = (type || "fx") + "queue";
+
+ var q = $.data(elem, type);
+
+ if (!data) {
+ return q || [];
+ }
+
+ if (!q || $.isArray(data)) {
+ q = $.data(elem, type, $makeArray(data));
+ } else {
+ q.push(data);
+ }
+
+ return q;
+ };
+
+ /* jQuery 1.4.3 */
+ $.dequeue = function (elems, type) {
+ /* Custom: Embed element iteration. */
+ $.each(elems.nodeType ? [ elems ] : elems, function(i, elem) {
+ type = type || "fx";
+
+ var queue = $.queue(elem, type),
+ fn = queue.shift();
+
+ if (fn === "inprogress") {
+ fn = queue.shift();
+ }
+
+ if (fn) {
+ if (type === "fx") {
+ queue.unshift("inprogress");
+ }
+
+ fn.call(elem, function() {
+ $.dequeue(elem, type);
+ });
+ }
+ });
+ };
+
+ /******************
+ $.fn Methods
+ ******************/
+
+ /* jQuery */
+ $.fn = $.prototype = {
+ init: function (selector) {
+ /* Just return the element wrapped inside an array; don't proceed with the actual jQuery node wrapping process. */
+ if (selector.nodeType) {
+ this[0] = selector;
+
+ return this;
+ } else {
+ throw new Error("Not a DOM node.");
+ }
+ },
+
+ offset: function () {
+ /* jQuery altered code: Dropped disconnected DOM node checking. */
+ var box = this[0].getBoundingClientRect ? this[0].getBoundingClientRect() : { top: 0, left: 0 };
+
+ return {
+ top: box.top + (window.pageYOffset || document.scrollTop || 0) - (document.clientTop || 0),
+ left: box.left + (window.pageXOffset || document.scrollLeft || 0) - (document.clientLeft || 0)
+ };
+ },
+
+ position: function () {
+ /* jQuery */
+ function offsetParent() {
+ var offsetParent = this.offsetParent || document;
+
+ while (offsetParent && (!offsetParent.nodeType.toLowerCase === "html" && offsetParent.style.position === "static")) {
+ offsetParent = offsetParent.offsetParent;
+ }
+
+ return offsetParent || document;
+ }
+
+ /* Zepto */
+ var elem = this[0],
+ offsetParent = offsetParent.apply(elem),
+ offset = this.offset(),
+ parentOffset = /^(?:body|html)$/i.test(offsetParent.nodeName) ? { top: 0, left: 0 } : $(offsetParent).offset()
+
+ offset.top -= parseFloat(elem.style.marginTop) || 0;
+ offset.left -= parseFloat(elem.style.marginLeft) || 0;
+
+ if (offsetParent.style) {
+ parentOffset.top += parseFloat(offsetParent.style.borderTopWidth) || 0
+ parentOffset.left += parseFloat(offsetParent.style.borderLeftWidth) || 0
+ }
+
+ return {
+ top: offset.top - parentOffset.top,
+ left: offset.left - parentOffset.left
+ };
+ }
+ };
+
+ /**********************
+ Private Variables
+ **********************/
+
+ /* For $.data() */
+ var cache = {};
+ $.expando = "velocity" + (new Date().getTime());
+ $.uuid = 0;
+
+ /* For $.queue() */
+ var class2type = {},
+ hasOwn = class2type.hasOwnProperty,
+ toString = class2type.toString;
+
+ var types = "Boolean Number String Function Array Date RegExp Object Error".split(" ");
+ for (var i = 0; i < types.length; i++) {
+ class2type["[object " + types[i] + "]"] = types[i].toLowerCase();
+ }
+
+ /* Makes $(node) possible, without having to call init. */
+ $.fn.init.prototype = $.fn;
+
+ /* Globalize Velocity onto the window, and assign its Utilities property. */
+ window.Velocity = { Utilities: $ };
})(window);
/******************
diff --git a/themes/next/source/vendors/velocity/velocity.min.js b/vendors/velocity/velocity.min.js
similarity index 100%
rename from themes/next/source/vendors/velocity/velocity.min.js
rename to vendors/velocity/velocity.min.js
diff --git a/themes/next/source/vendors/velocity/velocity.ui.js b/vendors/velocity/velocity.ui.js
similarity index 100%
rename from themes/next/source/vendors/velocity/velocity.ui.js
rename to vendors/velocity/velocity.ui.js
diff --git a/themes/next/source/vendors/velocity/velocity.ui.min.js b/vendors/velocity/velocity.ui.min.js
similarity index 100%
rename from themes/next/source/vendors/velocity/velocity.ui.min.js
rename to vendors/velocity/velocity.ui.min.js