survivalkit 0.3.2 → 0.3.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/survivalkit.rb +1 -1
- data/templates/drupal/drupal/arrow-asc.png +0 -0
- data/templates/drupal/drupal/arrow-desc.png +0 -0
- data/templates/drupal/drupal/background.png +0 -0
- data/templates/drupal/drupal/close.png +0 -0
- data/templates/drupal/drupal/configure.png +0 -0
- data/templates/drupal/drupal/draggable.png +0 -0
- data/templates/drupal/drupal/druplicon.png +0 -0
- data/templates/drupal/drupal/feed.png +0 -0
- data/templates/drupal/drupal/forum-icons.png +0 -0
- data/templates/drupal/drupal/gear-select.png +0 -0
- data/templates/drupal/drupal/grippie.png +0 -0
- data/templates/drupal/drupal/help.png +0 -0
- data/templates/drupal/drupal/hook.png +0 -0
- data/templates/drupal/drupal/lock.png +0 -0
- data/templates/drupal/drupal/menu-collapsed-rtl.png +0 -0
- data/templates/drupal/drupal/menu-collapsed.png +0 -0
- data/templates/drupal/drupal/menu-expanded.png +0 -0
- data/templates/drupal/drupal/menu-leaf.png +0 -0
- data/templates/drupal/drupal/message-16-error.png +0 -0
- data/templates/drupal/drupal/message-16-help.png +0 -0
- data/templates/drupal/drupal/message-16-info.png +0 -0
- data/templates/drupal/drupal/message-16-ok.png +0 -0
- data/templates/drupal/drupal/message-16-warning.png +0 -0
- data/templates/drupal/drupal/message-24-error.png +0 -0
- data/templates/drupal/drupal/message-24-help.png +0 -0
- data/templates/drupal/drupal/message-24-info.png +0 -0
- data/templates/drupal/drupal/message-24-ok.png +0 -0
- data/templates/drupal/drupal/message-24-warning.png +0 -0
- data/templates/drupal/drupal/permissions.png +0 -0
- data/templates/drupal/drupal/powered-black-135x42.png +0 -0
- data/templates/drupal/drupal/powered-black-80x15.png +0 -0
- data/templates/drupal/drupal/powered-black-88x31.png +0 -0
- data/templates/drupal/drupal/powered-blue-135x42.png +0 -0
- data/templates/drupal/drupal/powered-blue-80x15.png +0 -0
- data/templates/drupal/drupal/powered-blue-88x31.png +0 -0
- data/templates/drupal/drupal/powered-gray-135x42.png +0 -0
- data/templates/drupal/drupal/powered-gray-80x15.png +0 -0
- data/templates/drupal/drupal/powered-gray-88x31.png +0 -0
- data/templates/drupal/drupal/progress.gif +0 -0
- data/templates/drupal/drupal/throbber.gif +0 -0
- data/templates/drupal/drupal/tree-bottom.png +0 -0
- data/templates/drupal/drupal/tree.png +0 -0
- data/templates/drupal/drupal/watchdog-error.png +0 -0
- data/templates/drupal/drupal/watchdog-ok.png +0 -0
- data/templates/drupal/drupal/watchdog-warning.png +0 -0
- data/templates/drupal/ie.sass +3 -0
- data/templates/drupal/kit/kit-source.jquery.js +99 -0
- data/templates/drupal/libs/320-up/helper.js +146 -0
- data/templates/drupal/libs/320-up/imgSizer.js +61 -0
- data/templates/drupal/libs/dd_belatedpng.js +13 -0
- data/templates/drupal/libs/formalize/README.txt +11 -0
- data/templates/drupal/libs/formalize/dojo.formalize.js +174 -0
- data/templates/drupal/libs/formalize/extjs.formalize.js +168 -0
- data/templates/drupal/libs/formalize/jquery.formalize.js +158 -0
- data/templates/drupal/libs/formalize/mootools.formalize.js +163 -0
- data/templates/drupal/libs/formalize/prototype.formalize.js +171 -0
- data/templates/drupal/libs/formalize/yui.formalize.js +168 -0
- data/templates/drupal/libs/jquery-1.6.js +8865 -0
- data/templates/drupal/libs/jquery-1.6.min.js +16 -0
- data/templates/drupal/libs/modernizr-2.0.min.js +4 -0
- data/templates/drupal/libs/mootools-core-1.3.1-full-compat-yc.js +485 -0
- data/templates/drupal/libs/plugins.js +58 -0
- data/templates/drupal/libs/respond.min.js +7 -0
- data/templates/drupal/libs/selectivizr-min.js +5 -0
- data/templates/drupal/libs/selectivizr.js +5 -0
- data/templates/drupal/manifest.rb +98 -0
- data/templates/drupal/partials/01-variables/_all.sass +3 -0
- data/templates/drupal/partials/01-variables/_base.sass +150 -0
- data/templates/drupal/partials/01-variables/_colors.sass +43 -0
- data/templates/drupal/partials/01-variables/_fonts.sass +22 -0
- data/templates/drupal/partials/02-reset/_reset.sass +21 -0
- data/templates/drupal/partials/03-extend/_all.sass +1 -0
- data/templates/drupal/partials/03-extend/_typography.sass +39 -0
- data/templates/drupal/partials/04-defaults/_all.sass +9 -0
- data/templates/drupal/partials/04-defaults/_common.sass +110 -0
- data/templates/drupal/partials/04-defaults/_edits.sass +6 -0
- data/templates/drupal/partials/04-defaults/_font-face.sass +3 -0
- data/templates/drupal/partials/04-defaults/_headers.sass +33 -0
- data/templates/drupal/partials/04-defaults/_images.sass +15 -0
- data/templates/drupal/partials/04-defaults/_semantics.sass +92 -0
- data/templates/drupal/partials/04-defaults/_tables.sass +48 -0
- data/templates/drupal/partials/04-defaults/forms/_form-defaults.sass +59 -0
- data/templates/drupal/partials/04-defaults/forms/_formalize.sass +260 -0
- data/templates/drupal/partials/05-grids/_grids-susy.sass +29 -0
- data/templates/drupal/partials/06-ui-patterns/_common.sass +2 -0
- data/templates/drupal/partials/06-ui-patterns/_drupal-patterns.sass +81 -0
- data/templates/drupal/partials/07-sprites/_sprites.sass +20 -0
- data/templates/drupal/partials/08-your-design-here/_design.sass +2 -0
- data/templates/drupal/partials/09-styletile/_tile-design.sass +153 -0
- data/templates/drupal/partials/10-media/_print.sass +57 -0
- data/templates/drupal/partials/11-browser-adjustments/_ie.sass +26 -0
- data/templates/drupal/partials/11-browser-adjustments/_modernizr.sass +8 -0
- data/templates/drupal/partials/11-browser-adjustments/_selectivizr.sass +0 -0
- data/templates/drupal/partials/readme.markdown +3 -0
- data/templates/drupal/readme.markdown +3 -0
- data/templates/drupal/script.js +41 -0
- data/templates/drupal/selectivizr.sass +8 -0
- data/templates/drupal/sources/BigText/README.markdown +128 -0
- data/templates/drupal/sources/BigText/artifacts/output.html +32 -0
- data/templates/drupal/sources/BigText/bigtext.js +242 -0
- data/templates/drupal/sources/BigText/demo/bigtextWizard.css +129 -0
- data/templates/drupal/sources/BigText/demo/bigtextWizard.js +373 -0
- data/templates/drupal/sources/BigText/demo/css/flexbox.css +105 -0
- data/templates/drupal/sources/BigText/demo/css/images/button_bg.png +0 -0
- data/templates/drupal/sources/BigText/demo/css/images/datepicker.gif +0 -0
- data/templates/drupal/sources/BigText/demo/css/images/icon_sprite.png +0 -0
- data/templates/drupal/sources/BigText/demo/css/images/progress_bar.gif +0 -0
- data/templates/drupal/sources/BigText/demo/css/images/slider_h_bg.gif +0 -0
- data/templates/drupal/sources/BigText/demo/css/images/slider_handles.png +0 -0
- data/templates/drupal/sources/BigText/demo/css/images/slider_v_bg.gif +0 -0
- data/templates/drupal/sources/BigText/demo/css/images/the_gradient.gif +0 -0
- data/templates/drupal/sources/BigText/demo/css/images/ui-bg_flat_10_000000_40x100.png +0 -0
- data/templates/drupal/sources/BigText/demo/css/images/ui-bg_glass_100_f6f6f6_1x400.png +0 -0
- data/templates/drupal/sources/BigText/demo/css/images/ui-bg_glass_100_fdf5ce_1x400.png +0 -0
- data/templates/drupal/sources/BigText/demo/css/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/templates/drupal/sources/BigText/demo/css/images/ui-icons_222222_256x240.png +0 -0
- data/templates/drupal/sources/BigText/demo/css/images/ui-icons_228ef1_256x240.png +0 -0
- data/templates/drupal/sources/BigText/demo/css/images/ui-icons_ffffff_256x240.png +0 -0
- data/templates/drupal/sources/BigText/demo/css/jquery-ui-1.8rc3.custom.css +519 -0
- data/templates/drupal/sources/BigText/demo/css/league-gothic/League_Gothic-webfont.eot +0 -0
- data/templates/drupal/sources/BigText/demo/css/league-gothic/League_Gothic-webfont.svg +223 -0
- data/templates/drupal/sources/BigText/demo/css/league-gothic/League_Gothic-webfont.ttf +0 -0
- data/templates/drupal/sources/BigText/demo/css/league-gothic/League_Gothic-webfont.woff +0 -0
- data/templates/drupal/sources/BigText/demo/css/league-gothic/stylesheet.css +12 -0
- data/templates/drupal/sources/BigText/demo/index.html +95 -0
- data/templates/drupal/sources/BigText/demo/js/jquery.ba-throttle-debounce.js +252 -0
- data/templates/drupal/sources/BigText/demo/js/jquery.ba-throttle-debounce.min.js +9 -0
- data/templates/drupal/sources/BigText/demo/js/jquery.smartresize.js +41 -0
- data/templates/drupal/sources/BigText/demo/js/modernizr-1.6.js +892 -0
- data/templates/drupal/sources/BigText/demo/js/modernizr-1.6.min.js +30 -0
- data/templates/drupal/sources/BigText/demo/resizeDemoSmartResize.html +37 -0
- data/templates/drupal/sources/BigText/demo/resizeDemoThrottle.html +38 -0
- data/templates/drupal/sources/BigText/demo/simpleDemo.html +42 -0
- data/templates/drupal/sources/BigText/demo/simpleDemoDiv.html +26 -0
- data/templates/drupal/sources/BigText/test.bat +4 -0
- data/templates/drupal/sources/BigText/test.sh +5 -0
- data/templates/drupal/sources/BigText/test/bigtext.conf +6 -0
- data/templates/drupal/sources/BigText/test/bigtextTest.js +192 -0
- data/templates/drupal/sources/BigText/test/lib/JsTestDriver-1.2.2-custom.jar +0 -0
- data/templates/drupal/sources/BigText/test/lib/jquery-1.4.2.js +6240 -0
- data/templates/drupal/sources/BigText/test/lib/launch-safari.sh +4 -0
- data/templates/drupal/sources/Dynamic-Carousel/demo.html +92 -0
- data/templates/drupal/sources/Dynamic-Carousel/plugin.js +191 -0
- data/templates/drupal/sources/Dynamic-Carousel/readme.md +10 -0
- data/templates/drupal/sources/FitVids/README.md +49 -0
- data/templates/drupal/sources/FitVids/jquery.fitvids.js +77 -0
- data/templates/drupal/sources/FitVids/tests.html +66 -0
- data/templates/drupal/sources/Geared-Scrolling/README.md +31 -0
- data/templates/drupal/sources/Geared-Scrolling/css/specific.css +88 -0
- data/templates/drupal/sources/Geared-Scrolling/images/col1.png +0 -0
- data/templates/drupal/sources/Geared-Scrolling/images/col2.png +0 -0
- data/templates/drupal/sources/Geared-Scrolling/images/col3.png +0 -0
- data/templates/drupal/sources/Geared-Scrolling/images/header.png +0 -0
- data/templates/drupal/sources/Geared-Scrolling/index.html +32 -0
- data/templates/drupal/sources/Geared-Scrolling/js/init.js +11 -0
- data/templates/drupal/sources/Geared-Scrolling/js/jquery.heyday.gearedscrolling.js +283 -0
- data/templates/drupal/sources/Lettering.js/README.md +58 -0
- data/templates/drupal/sources/Lettering.js/examples/index.html +135 -0
- data/templates/drupal/sources/Lettering.js/examples/style.css +171 -0
- data/templates/drupal/sources/Lettering.js/jquery.lettering.js +66 -0
- data/templates/drupal/sources/PaintbrushJS/common.js +245 -0
- data/templates/drupal/sources/PaintbrushJS/demo/css/playground.css +334 -0
- data/templates/drupal/sources/PaintbrushJS/demo/images/500/165.jpg +0 -0
- data/templates/drupal/sources/PaintbrushJS/demo/images/500/bee.jpg +0 -0
- data/templates/drupal/sources/PaintbrushJS/demo/images/500/bird.jpg +0 -0
- data/templates/drupal/sources/PaintbrushJS/demo/images/500/helmets.jpg +0 -0
- data/templates/drupal/sources/PaintbrushJS/demo/images/500/jordan.jpg +0 -0
- data/templates/drupal/sources/PaintbrushJS/demo/images/500/leaves.jpg +0 -0
- data/templates/drupal/sources/PaintbrushJS/demo/images/500/lighthouse.jpg +0 -0
- data/templates/drupal/sources/PaintbrushJS/demo/images/500/louvre.jpg +0 -0
- data/templates/drupal/sources/PaintbrushJS/demo/images/500/pods.jpg +0 -0
- data/templates/drupal/sources/PaintbrushJS/demo/images/500/redbarn.jpg +0 -0
- data/templates/drupal/sources/PaintbrushJS/demo/images/500/road.jpg +0 -0
- data/templates/drupal/sources/PaintbrushJS/demo/images/500/sign.jpg +0 -0
- data/templates/drupal/sources/PaintbrushJS/demo/images/500/staples.jpg +0 -0
- data/templates/drupal/sources/PaintbrushJS/demo/images/500/stones.jpg +0 -0
- data/templates/drupal/sources/PaintbrushJS/demo/images/500/tear.jpg +0 -0
- data/templates/drupal/sources/PaintbrushJS/demo/images/500/window.jpg +0 -0
- data/templates/drupal/sources/PaintbrushJS/demo/images/bg.png +0 -0
- data/templates/drupal/sources/PaintbrushJS/demo/images/site/bg-highlight.png +0 -0
- data/templates/drupal/sources/PaintbrushJS/demo/images/site/bg.jpg +0 -0
- data/templates/drupal/sources/PaintbrushJS/demo/images/site/byline.png +0 -0
- data/templates/drupal/sources/PaintbrushJS/demo/images/site/current.png +0 -0
- data/templates/drupal/sources/PaintbrushJS/demo/images/site/divider.png +0 -0
- data/templates/drupal/sources/PaintbrushJS/demo/images/site/forkme.png +0 -0
- data/templates/drupal/sources/PaintbrushJS/demo/images/site/heading.png +0 -0
- data/templates/drupal/sources/PaintbrushJS/demo/index.html +171 -0
- data/templates/drupal/sources/PaintbrushJS/demo/script/common.js +245 -0
- data/templates/drupal/sources/PaintbrushJS/demo/script/paintbrush.js +607 -0
- data/templates/drupal/sources/PaintbrushJS/demo/script/playground.js +357 -0
- data/templates/drupal/sources/PaintbrushJS/demo/script/timing.js +23 -0
- data/templates/drupal/sources/PaintbrushJS/demo/usage.html +183 -0
- data/templates/drupal/sources/PaintbrushJS/paintbrush.js +595 -0
- data/templates/drupal/sources/Respond/README.md +76 -0
- data/templates/drupal/sources/Respond/respond.min.js +2 -0
- data/templates/drupal/sources/Respond/respond.src.js +286 -0
- data/templates/drupal/sources/Respond/test/test.css +61 -0
- data/templates/drupal/sources/Respond/test/test.html +20 -0
- data/templates/drupal/sources/Respond/test/test2.css +8 -0
- data/templates/drupal/sources/Respond/test/unit/index.html +28 -0
- data/templates/drupal/sources/Respond/test/unit/test.css +56 -0
- data/templates/drupal/sources/Respond/test/unit/test2.css +5 -0
- data/templates/drupal/sources/Respond/test/unit/tests.js +97 -0
- data/templates/drupal/sources/Sticky-Footer-jQuery-Plugin/README.md +27 -0
- data/templates/drupal/sources/Sticky-Footer-jQuery-Plugin/jquery.heyday.stickyfooter.js +154 -0
- data/templates/drupal/sources/deorphan/README.md +49 -0
- data/templates/drupal/sources/deorphan/jquery.deorphan.js +51 -0
- data/templates/drupal/sources/deorphan/jquery.deorphan.min.js +1 -0
- data/templates/drupal/sources/flexie/README.md +142 -0
- data/templates/drupal/sources/flexie/demo/css/box-flex.css +30 -0
- data/templates/drupal/sources/flexie/demo/index.html +108 -0
- data/templates/drupal/sources/flexie/dist/flexie.min.js +33 -0
- data/templates/drupal/sources/flexie/src/flexie.js +1872 -0
- data/templates/drupal/sources/flexie/test/css/demo.css +34 -0
- data/templates/drupal/sources/flexie/test/css/test.css +141 -0
- data/templates/drupal/sources/flexie/test/index.html +54 -0
- data/templates/drupal/sources/flexie/vendor/google-compiler/compiler.jar +0 -0
- data/templates/drupal/sources/flexie/vendor/yuicompressor/yuicompressor-2.4.2.jar +0 -0
- data/templates/drupal/sources/flickrbomb/css/app.css +41 -0
- data/templates/drupal/sources/flickrbomb/css/flickrbomb.css +38 -0
- data/templates/drupal/sources/flickrbomb/css/global.css +0 -0
- data/templates/drupal/sources/flickrbomb/demo.html +169 -0
- data/templates/drupal/sources/flickrbomb/images/bg-clouds.jpg +0 -0
- data/templates/drupal/sources/flickrbomb/images/bg-ground.jpg +0 -0
- data/templates/drupal/sources/flickrbomb/images/bomb.png +0 -0
- data/templates/drupal/sources/flickrbomb/images/bomber.jpg +0 -0
- data/templates/drupal/sources/flickrbomb/images/old.gif +0 -0
- data/templates/drupal/sources/flickrbomb/images/setupIcon.png +0 -0
- data/templates/drupal/sources/flickrbomb/js/app.js +28 -0
- data/templates/drupal/sources/flickrbomb/js/backbone-localstorage.js +94 -0
- data/templates/drupal/sources/flickrbomb/js/backbone.js +1011 -0
- data/templates/drupal/sources/flickrbomb/js/flickrbomb-demo.js +310 -0
- data/templates/drupal/sources/flickrbomb/js/flickrbomb.js +307 -0
- data/templates/drupal/sources/flickrbomb/js/underscore.js +713 -0
- data/templates/drupal/sources/formalize/README.txt +23 -0
- data/templates/drupal/sources/formalize/assets/css/_formalize.sass +274 -0
- data/templates/drupal/sources/formalize/assets/css/demo.css +47 -0
- data/templates/drupal/sources/formalize/assets/css/formalize.css +311 -0
- data/templates/drupal/sources/formalize/assets/css/reset.css +171 -0
- data/templates/drupal/sources/formalize/assets/css/text.css +81 -0
- data/templates/drupal/sources/formalize/assets/images/button.png +0 -0
- data/templates/drupal/sources/formalize/assets/images/select_arrow.gif +0 -0
- data/templates/drupal/sources/formalize/assets/js/dojo.formalize.js +174 -0
- data/templates/drupal/sources/formalize/assets/js/dojo.formalize.min.js +1 -0
- data/templates/drupal/sources/formalize/assets/js/extjs.formalize.js +168 -0
- data/templates/drupal/sources/formalize/assets/js/extjs.formalize.min.js +1 -0
- data/templates/drupal/sources/formalize/assets/js/jquery.formalize.js +158 -0
- data/templates/drupal/sources/formalize/assets/js/jquery.formalize.min.js +1 -0
- data/templates/drupal/sources/formalize/assets/js/mootools.formalize.js +163 -0
- data/templates/drupal/sources/formalize/assets/js/mootools.formalize.min.js +1 -0
- data/templates/drupal/sources/formalize/assets/js/prototype.formalize.js +171 -0
- data/templates/drupal/sources/formalize/assets/js/prototype.formalize.min.js +1 -0
- data/templates/drupal/sources/formalize/assets/js/yui.formalize.js +168 -0
- data/templates/drupal/sources/formalize/assets/js/yui.formalize.min.js +1 -0
- data/templates/drupal/sources/formalize/demo.html +144 -0
- data/templates/drupal/sources/formalize/dojo_demo.html +213 -0
- data/templates/drupal/sources/formalize/dojo_disabled.html +213 -0
- data/templates/drupal/sources/formalize/dojo_errors.html +213 -0
- data/templates/drupal/sources/formalize/extjs_demo.html +213 -0
- data/templates/drupal/sources/formalize/extjs_disabled.html +213 -0
- data/templates/drupal/sources/formalize/extjs_errors.html +213 -0
- data/templates/drupal/sources/formalize/jquery_demo.html +213 -0
- data/templates/drupal/sources/formalize/jquery_disabled.html +213 -0
- data/templates/drupal/sources/formalize/jquery_errors.html +213 -0
- data/templates/drupal/sources/formalize/mootools_demo.html +213 -0
- data/templates/drupal/sources/formalize/mootools_disabled.html +213 -0
- data/templates/drupal/sources/formalize/mootools_errors.html +213 -0
- data/templates/drupal/sources/formalize/prototype_demo.html +213 -0
- data/templates/drupal/sources/formalize/prototype_disabled.html +213 -0
- data/templates/drupal/sources/formalize/prototype_errors.html +213 -0
- data/templates/drupal/sources/formalize/unstyled.html +210 -0
- data/templates/drupal/sources/formalize/yui_demo.html +213 -0
- data/templates/drupal/sources/formalize/yui_disabled.html +213 -0
- data/templates/drupal/sources/formalize/yui_errors.html +213 -0
- data/templates/drupal/sources/html5-boilerplate/404.html +38 -0
- data/templates/drupal/sources/html5-boilerplate/README.md +228 -0
- data/templates/drupal/sources/html5-boilerplate/apple-touch-icon-114x114-precomposed.png +0 -0
- data/templates/drupal/sources/html5-boilerplate/apple-touch-icon-57x57-precomposed.png +0 -0
- data/templates/drupal/sources/html5-boilerplate/apple-touch-icon-72x72-precomposed.png +0 -0
- data/templates/drupal/sources/html5-boilerplate/apple-touch-icon-precomposed.png +0 -0
- data/templates/drupal/sources/html5-boilerplate/apple-touch-icon.png +0 -0
- data/templates/drupal/sources/html5-boilerplate/build/build.xml +821 -0
- data/templates/drupal/sources/html5-boilerplate/build/config/default.properties +80 -0
- data/templates/drupal/sources/html5-boilerplate/build/config/project.properties +56 -0
- data/templates/drupal/sources/html5-boilerplate/build/createproject.sh +50 -0
- data/templates/drupal/sources/html5-boilerplate/build/runbuildscript.bat +5 -0
- data/templates/drupal/sources/html5-boilerplate/build/tools/ant-contrib-1.0b3.jar +0 -0
- data/templates/drupal/sources/html5-boilerplate/build/tools/htmlcompressor-1.1.jar +0 -0
- data/templates/drupal/sources/html5-boilerplate/build/tools/jpegtran.exe +0 -0
- data/templates/drupal/sources/html5-boilerplate/build/tools/optipng-0.6.4-exe/LICENSE.txt +21 -0
- data/templates/drupal/sources/html5-boilerplate/build/tools/optipng-0.6.4-exe/optipng.exe +0 -0
- data/templates/drupal/sources/html5-boilerplate/build/tools/yuicompressor-2.4.5.jar +0 -0
- data/templates/drupal/sources/html5-boilerplate/crossdomain.xml +25 -0
- data/templates/drupal/sources/html5-boilerplate/css/handheld.css +8 -0
- data/templates/drupal/sources/html5-boilerplate/css/style.css +263 -0
- data/templates/drupal/sources/html5-boilerplate/demo/elements.html +531 -0
- data/templates/drupal/sources/html5-boilerplate/demo/hack.css +85 -0
- data/templates/drupal/sources/html5-boilerplate/demo/hack2.css +41 -0
- data/templates/drupal/sources/html5-boilerplate/demo/internet_explorer.png +0 -0
- data/templates/drupal/sources/html5-boilerplate/demo/test_tubes.png +0 -0
- data/templates/drupal/sources/html5-boilerplate/demo/tests.html +313 -0
- data/templates/drupal/sources/html5-boilerplate/favicon.ico +0 -0
- data/templates/drupal/sources/html5-boilerplate/humans.txt +43 -0
- data/templates/drupal/sources/html5-boilerplate/index.html +80 -0
- data/templates/drupal/sources/html5-boilerplate/js/libs/dd_belatedpng.js +13 -0
- data/templates/drupal/sources/html5-boilerplate/js/libs/jquery-1.5.2.js +8374 -0
- data/templates/drupal/sources/html5-boilerplate/js/libs/jquery-1.5.2.min.js +16 -0
- data/templates/drupal/sources/html5-boilerplate/js/libs/modernizr-1.7.min.js +2 -0
- data/templates/drupal/sources/html5-boilerplate/js/plugins.js +16 -0
- data/templates/drupal/sources/html5-boilerplate/js/script.js +26 -0
- data/templates/drupal/sources/html5-boilerplate/robots.txt +5 -0
- data/templates/drupal/sources/html5-boilerplate/test/index.html +31 -0
- data/templates/drupal/sources/html5-boilerplate/test/qunit/qunit.css +148 -0
- data/templates/drupal/sources/html5-boilerplate/test/qunit/qunit.js +1265 -0
- data/templates/drupal/sources/html5-boilerplate/test/tests.js +27 -0
- data/templates/drupal/sources/iOS-Orientationchange-Fix/README.md +17 -0
- data/templates/drupal/sources/iOS-Orientationchange-Fix/demo.html +43 -0
- data/templates/drupal/sources/iOS-Orientationchange-Fix/ios-orientationchange-fix.js +55 -0
- data/templates/drupal/sources/iSwipe-jQuery-Plugin/README.md +26 -0
- data/templates/drupal/sources/iSwipe-jQuery-Plugin/jquery.heyday.iswipe.js +126 -0
- data/templates/drupal/sources/infinite-scroll/ajax-loader.gif +0 -0
- data/templates/drupal/sources/infinite-scroll/jquery.infinitescroll.js +425 -0
- data/templates/drupal/sources/infinite-scroll/jquery.infinitescroll.min.js +8 -0
- data/templates/drupal/sources/infinite-scroll/site/assets/anivers_regular.otf +0 -0
- data/templates/drupal/sources/infinite-scroll/site/assets/buttons.psd +0 -0
- data/templates/drupal/sources/infinite-scroll/site/assets/logo.psd +0 -0
- data/templates/drupal/sources/infinite-scroll/site/assets/mobius-strip2.ai +2266 -15
- data/templates/drupal/sources/infinite-scroll/site/assets/pattern.psd +0 -0
- data/templates/drupal/sources/infinite-scroll/site/assets/selector spots.psd +0 -0
- data/templates/drupal/sources/infinite-scroll/site/assets/sites.psd +0 -0
- data/templates/drupal/sources/infinite-scroll/site/buttons.png +0 -0
- data/templates/drupal/sources/infinite-scroll/site/infinite-scroll-pattern.gif +0 -0
- data/templates/drupal/sources/infinite-scroll/site/logo.jpg +0 -0
- data/templates/drupal/sources/infinite-scroll/site/screens.jpg +0 -0
- data/templates/drupal/sources/infinite-scroll/site/selectors.jpg +0 -0
- data/templates/drupal/sources/infinite-scroll/test/test-loadingmsg.html +121 -0
- data/templates/drupal/sources/infinite-scroll/test/test.html +120 -0
- data/templates/drupal/sources/infinite-scroll/test/test2.html +70 -0
- data/templates/drupal/sources/infinite-scroll/test/test3.html +68 -0
- data/templates/drupal/sources/infinite-scroll/test/trigger.html +140 -0
- data/templates/drupal/sources/infinite-scroll/test/trigger2.html +80 -0
- data/templates/drupal/sources/infinite-scroll/test/trigger3.html +80 -0
- data/templates/drupal/sources/infinite-scroll/wp_infinite_scroll.php +454 -0
- data/templates/drupal/sources/jQuery-widowFix/index.html +159 -0
- data/templates/drupal/sources/jQuery-widowFix/js/jquery-1.4.3.min.js +166 -0
- data/templates/drupal/sources/jQuery-widowFix/js/jquery.widowFix-1.3.2.js +135 -0
- data/templates/drupal/sources/jQuery-widowFix/js/jquery.widowFix-1.3.2.min.js +10 -0
- data/templates/drupal/sources/jQuery-widowFix/sample.html +84 -0
- data/templates/drupal/sources/jquery-lightbox/LICENSE.txt +30 -0
- data/templates/drupal/sources/jquery-lightbox/README.markdown +8 -0
- data/templates/drupal/sources/jquery-lightbox/css/lightbox.css +129 -0
- data/templates/drupal/sources/jquery-lightbox/images/blank.gif +0 -0
- data/templates/drupal/sources/jquery-lightbox/images/close.gif +0 -0
- data/templates/drupal/sources/jquery-lightbox/images/closelabel.gif +0 -0
- data/templates/drupal/sources/jquery-lightbox/images/image-0.jpg +0 -0
- data/templates/drupal/sources/jquery-lightbox/images/image-1.jpg +0 -0
- data/templates/drupal/sources/jquery-lightbox/images/image-2.jpg +0 -0
- data/templates/drupal/sources/jquery-lightbox/images/image-3.jpg +0 -0
- data/templates/drupal/sources/jquery-lightbox/images/loading.gif +0 -0
- data/templates/drupal/sources/jquery-lightbox/images/next.gif +0 -0
- data/templates/drupal/sources/jquery-lightbox/images/nextlabel.gif +0 -0
- data/templates/drupal/sources/jquery-lightbox/images/prev.gif +0 -0
- data/templates/drupal/sources/jquery-lightbox/images/prevlabel.gif +0 -0
- data/templates/drupal/sources/jquery-lightbox/images/thumb-0.jpg +0 -0
- data/templates/drupal/sources/jquery-lightbox/images/thumb-1.jpg +0 -0
- data/templates/drupal/sources/jquery-lightbox/images/thumb-2.jpg +0 -0
- data/templates/drupal/sources/jquery-lightbox/images/thumb-3.jpg +0 -0
- data/templates/drupal/sources/jquery-lightbox/index.html +102 -0
- data/templates/drupal/sources/jquery-lightbox/jquery.lightbox.js +515 -0
- data/templates/drupal/sources/jquery-ui/AUTHORS.txt +30 -0
- data/templates/drupal/sources/jquery-ui/GPL-LICENSE.txt +278 -0
- data/templates/drupal/sources/jquery-ui/MIT-LICENSE.txt +25 -0
- data/templates/drupal/sources/jquery-ui/README.md +9 -0
- data/templates/drupal/sources/jquery-ui/build/build.xml +392 -0
- data/templates/drupal/sources/jquery-ui/build/build/ant-contrib-0.6.jar +0 -0
- data/templates/drupal/sources/jquery-ui/build/build/google-compiler-20110320.jar +0 -0
- data/templates/drupal/sources/jquery-ui/build/build/style.xsl +211 -0
- data/templates/drupal/sources/jquery-ui/build/build/yuicompressor-2.4.2.jar +0 -0
- data/templates/drupal/sources/jquery-ui/demos/accordion/collapsible.html +57 -0
- data/templates/drupal/sources/jquery-ui/demos/accordion/custom-icons.html +69 -0
- data/templates/drupal/sources/jquery-ui/demos/accordion/default.html +85 -0
- data/templates/drupal/sources/jquery-ui/demos/accordion/fillspace.html +77 -0
- data/templates/drupal/sources/jquery-ui/demos/accordion/hoverintent.html +134 -0
- data/templates/drupal/sources/jquery-ui/demos/accordion/index.html +25 -0
- data/templates/drupal/sources/jquery-ui/demos/accordion/mouseover.html +57 -0
- data/templates/drupal/sources/jquery-ui/demos/accordion/no-auto-height.html +58 -0
- data/templates/drupal/sources/jquery-ui/demos/accordion/sortable.html +83 -0
- data/templates/drupal/sources/jquery-ui/demos/addClass/default.html +52 -0
- data/templates/drupal/sources/jquery-ui/demos/addClass/index.html +18 -0
- data/templates/drupal/sources/jquery-ui/demos/animate/default.html +61 -0
- data/templates/drupal/sources/jquery-ui/demos/animate/index.html +18 -0
- data/templates/drupal/sources/jquery-ui/demos/autocomplete/categories.html +72 -0
- data/templates/drupal/sources/jquery-ui/demos/autocomplete/combobox.html +195 -0
- data/templates/drupal/sources/jquery-ui/demos/autocomplete/custom-data.html +96 -0
- data/templates/drupal/sources/jquery-ui/demos/autocomplete/default.html +65 -0
- data/templates/drupal/sources/jquery-ui/demos/autocomplete/folding.html +63 -0
- data/templates/drupal/sources/jquery-ui/demos/autocomplete/images/jquery_32x32.png +0 -0
- data/templates/drupal/sources/jquery-ui/demos/autocomplete/images/jqueryui_32x32.png +0 -0
- data/templates/drupal/sources/jquery-ui/demos/autocomplete/images/sizzlejs_32x32.png +0 -0
- data/templates/drupal/sources/jquery-ui/demos/autocomplete/images/transparent_1x1.png +0 -0
- data/templates/drupal/sources/jquery-ui/demos/autocomplete/images/ui-anim_basic_16x16.gif +0 -0
- data/templates/drupal/sources/jquery-ui/demos/autocomplete/index.html +27 -0
- data/templates/drupal/sources/jquery-ui/demos/autocomplete/london.xml +114 -0
- data/templates/drupal/sources/jquery-ui/demos/autocomplete/maxheight.html +79 -0
- data/templates/drupal/sources/jquery-ui/demos/autocomplete/multiple-remote.html +85 -0
- data/templates/drupal/sources/jquery-ui/demos/autocomplete/multiple.html +100 -0
- data/templates/drupal/sources/jquery-ui/demos/autocomplete/remote-jsonp.html +87 -0
- data/templates/drupal/sources/jquery-ui/demos/autocomplete/remote-with-cache.html +60 -0
- data/templates/drupal/sources/jquery-ui/demos/autocomplete/remote.html +60 -0
- data/templates/drupal/sources/jquery-ui/demos/autocomplete/search.php +588 -0
- data/templates/drupal/sources/jquery-ui/demos/autocomplete/xml.html +73 -0
- data/templates/drupal/sources/jquery-ui/demos/button/checkbox.html +44 -0
- data/templates/drupal/sources/jquery-ui/demos/button/default.html +38 -0
- data/templates/drupal/sources/jquery-ui/demos/button/icons.html +56 -0
- data/templates/drupal/sources/jquery-ui/demos/button/index.html +23 -0
- data/templates/drupal/sources/jquery-ui/demos/button/radio.html +39 -0
- data/templates/drupal/sources/jquery-ui/demos/button/splitbutton.html +78 -0
- data/templates/drupal/sources/jquery-ui/demos/button/toolbar.html +120 -0
- data/templates/drupal/sources/jquery-ui/demos/datepicker/alt-field.html +36 -0
- data/templates/drupal/sources/jquery-ui/demos/datepicker/animation.html +58 -0
- data/templates/drupal/sources/jquery-ui/demos/datepicker/buttonbar.html +35 -0
- data/templates/drupal/sources/jquery-ui/demos/datepicker/date-formats.html +47 -0
- data/templates/drupal/sources/jquery-ui/demos/datepicker/date-range.html +49 -0
- data/templates/drupal/sources/jquery-ui/demos/datepicker/default.html +33 -0
- data/templates/drupal/sources/jquery-ui/demos/datepicker/dropdown-month-year.html +36 -0
- data/templates/drupal/sources/jquery-ui/demos/datepicker/icon-trigger.html +37 -0
- data/templates/drupal/sources/jquery-ui/demos/datepicker/images/calendar.gif +0 -0
- data/templates/drupal/sources/jquery-ui/demos/datepicker/index.html +31 -0
- data/templates/drupal/sources/jquery-ui/demos/datepicker/inline.html +33 -0
- data/templates/drupal/sources/jquery-ui/demos/datepicker/localization.html +162 -0
- data/templates/drupal/sources/jquery-ui/demos/datepicker/min-max.html +33 -0
- data/templates/drupal/sources/jquery-ui/demos/datepicker/multiple-calendars.html +36 -0
- data/templates/drupal/sources/jquery-ui/demos/datepicker/other-months.html +37 -0
- data/templates/drupal/sources/jquery-ui/demos/datepicker/show-week.html +39 -0
- data/templates/drupal/sources/jquery-ui/demos/demos.css +334 -0
- data/templates/drupal/sources/jquery-ui/demos/dialog/animated.html +56 -0
- data/templates/drupal/sources/jquery-ui/demos/dialog/default.html +54 -0
- data/templates/drupal/sources/jquery-ui/demos/dialog/index.html +23 -0
- data/templates/drupal/sources/jquery-ui/demos/dialog/modal-confirmation.html +69 -0
- data/templates/drupal/sources/jquery-ui/demos/dialog/modal-form.html +167 -0
- data/templates/drupal/sources/jquery-ui/demos/dialog/modal-message.html +71 -0
- data/templates/drupal/sources/jquery-ui/demos/dialog/modal.html +60 -0
- data/templates/drupal/sources/jquery-ui/demos/draggable/constrain-movement.html +69 -0
- data/templates/drupal/sources/jquery-ui/demos/draggable/cursor-style.html +49 -0
- data/templates/drupal/sources/jquery-ui/demos/draggable/default.html +39 -0
- data/templates/drupal/sources/jquery-ui/demos/draggable/delay-start.html +45 -0
- data/templates/drupal/sources/jquery-ui/demos/draggable/events.html +77 -0
- data/templates/drupal/sources/jquery-ui/demos/draggable/handle.html +50 -0
- data/templates/drupal/sources/jquery-ui/demos/draggable/index.html +28 -0
- data/templates/drupal/sources/jquery-ui/demos/draggable/revert.html +44 -0
- data/templates/drupal/sources/jquery-ui/demos/draggable/scroll.html +51 -0
- data/templates/drupal/sources/jquery-ui/demos/draggable/snap-to.html +68 -0
- data/templates/drupal/sources/jquery-ui/demos/draggable/sortable.html +57 -0
- data/templates/drupal/sources/jquery-ui/demos/draggable/visual-feedback.html +77 -0
- data/templates/drupal/sources/jquery-ui/demos/droppable/accepted-elements.html +60 -0
- data/templates/drupal/sources/jquery-ui/demos/droppable/default.html +53 -0
- data/templates/drupal/sources/jquery-ui/demos/droppable/images/high_tatras.jpg +0 -0
- data/templates/drupal/sources/jquery-ui/demos/droppable/images/high_tatras2.jpg +0 -0
- data/templates/drupal/sources/jquery-ui/demos/droppable/images/high_tatras2_min.jpg +0 -0
- data/templates/drupal/sources/jquery-ui/demos/droppable/images/high_tatras3.jpg +0 -0
- data/templates/drupal/sources/jquery-ui/demos/droppable/images/high_tatras3_min.jpg +0 -0
- data/templates/drupal/sources/jquery-ui/demos/droppable/images/high_tatras4.jpg +0 -0
- data/templates/drupal/sources/jquery-ui/demos/droppable/images/high_tatras4_min.jpg +0 -0
- data/templates/drupal/sources/jquery-ui/demos/droppable/images/high_tatras_min.jpg +0 -0
- data/templates/drupal/sources/jquery-ui/demos/droppable/index.html +24 -0
- data/templates/drupal/sources/jquery-ui/demos/droppable/photo-manager.html +184 -0
- data/templates/drupal/sources/jquery-ui/demos/droppable/propagation.html +80 -0
- data/templates/drupal/sources/jquery-ui/demos/droppable/revert.html +61 -0
- data/templates/drupal/sources/jquery-ui/demos/droppable/shopping-cart.html +101 -0
- data/templates/drupal/sources/jquery-ui/demos/droppable/visual-feedback.html +78 -0
- data/templates/drupal/sources/jquery-ui/demos/effect/default.html +109 -0
- data/templates/drupal/sources/jquery-ui/demos/effect/easing.html +108 -0
- data/templates/drupal/sources/jquery-ui/demos/effect/index.html +19 -0
- data/templates/drupal/sources/jquery-ui/demos/hide/default.html +102 -0
- data/templates/drupal/sources/jquery-ui/demos/hide/index.html +18 -0
- data/templates/drupal/sources/jquery-ui/demos/images/calendar.gif +0 -0
- data/templates/drupal/sources/jquery-ui/demos/images/demo-config-on-tile.gif +0 -0
- data/templates/drupal/sources/jquery-ui/demos/images/demo-config-on.gif +0 -0
- data/templates/drupal/sources/jquery-ui/demos/images/demo-spindown-closed.gif +0 -0
- data/templates/drupal/sources/jquery-ui/demos/images/demo-spindown-open.gif +0 -0
- data/templates/drupal/sources/jquery-ui/demos/images/icon-docs-info.gif +0 -0
- data/templates/drupal/sources/jquery-ui/demos/images/pbar-ani.gif +0 -0
- data/templates/drupal/sources/jquery-ui/demos/index.html +329 -0
- data/templates/drupal/sources/jquery-ui/demos/menu/contextmenu.html +81 -0
- data/templates/drupal/sources/jquery-ui/demos/menu/default.html +54 -0
- data/templates/drupal/sources/jquery-ui/demos/menu/index.html +17 -0
- data/templates/drupal/sources/jquery-ui/demos/position/cycler.html +120 -0
- data/templates/drupal/sources/jquery-ui/demos/position/default.html +153 -0
- data/templates/drupal/sources/jquery-ui/demos/position/images/earth.jpg +0 -0
- data/templates/drupal/sources/jquery-ui/demos/position/images/flight.jpg +0 -0
- data/templates/drupal/sources/jquery-ui/demos/position/images/rocket.jpg +0 -0
- data/templates/drupal/sources/jquery-ui/demos/position/index.html +19 -0
- data/templates/drupal/sources/jquery-ui/demos/progressbar/animated.html +44 -0
- data/templates/drupal/sources/jquery-ui/demos/progressbar/default.html +35 -0
- data/templates/drupal/sources/jquery-ui/demos/progressbar/images/pbar-ani.gif +0 -0
- data/templates/drupal/sources/jquery-ui/demos/progressbar/index.html +20 -0
- data/templates/drupal/sources/jquery-ui/demos/progressbar/resize.html +40 -0
- data/templates/drupal/sources/jquery-ui/demos/removeClass/default.html +52 -0
- data/templates/drupal/sources/jquery-ui/demos/removeClass/index.html +18 -0
- data/templates/drupal/sources/jquery-ui/demos/resizable/animate.html +43 -0
- data/templates/drupal/sources/jquery-ui/demos/resizable/aspect-ratio.html +42 -0
- data/templates/drupal/sources/jquery-ui/demos/resizable/constrain-area.html +47 -0
- data/templates/drupal/sources/jquery-ui/demos/resizable/default.html +40 -0
- data/templates/drupal/sources/jquery-ui/demos/resizable/delay-start.html +52 -0
- data/templates/drupal/sources/jquery-ui/demos/resizable/helper.html +43 -0
- data/templates/drupal/sources/jquery-ui/demos/resizable/index.html +28 -0
- data/templates/drupal/sources/jquery-ui/demos/resizable/max-min.html +45 -0
- data/templates/drupal/sources/jquery-ui/demos/resizable/snap-to-grid.html +42 -0
- data/templates/drupal/sources/jquery-ui/demos/resizable/synchronous-resize.html +49 -0
- data/templates/drupal/sources/jquery-ui/demos/resizable/textarea.html +41 -0
- data/templates/drupal/sources/jquery-ui/demos/resizable/visual-feedback.html +43 -0
- data/templates/drupal/sources/jquery-ui/demos/selectable/default.html +50 -0
- data/templates/drupal/sources/jquery-ui/demos/selectable/display-grid.html +55 -0
- data/templates/drupal/sources/jquery-ui/demos/selectable/index.html +20 -0
- data/templates/drupal/sources/jquery-ui/demos/selectable/serialize.html +61 -0
- data/templates/drupal/sources/jquery-ui/demos/show/default.html +104 -0
- data/templates/drupal/sources/jquery-ui/demos/show/index.html +18 -0
- data/templates/drupal/sources/jquery-ui/demos/slider/colorpicker.html +95 -0
- data/templates/drupal/sources/jquery-ui/demos/slider/default.html +37 -0
- data/templates/drupal/sources/jquery-ui/demos/slider/hotelrooms.html +59 -0
- data/templates/drupal/sources/jquery-ui/demos/slider/index.html +29 -0
- data/templates/drupal/sources/jquery-ui/demos/slider/multiple-vertical.html +77 -0
- data/templates/drupal/sources/jquery-ui/demos/slider/range-vertical.html +51 -0
- data/templates/drupal/sources/jquery-ui/demos/slider/range.html +52 -0
- data/templates/drupal/sources/jquery-ui/demos/slider/rangemax.html +50 -0
- data/templates/drupal/sources/jquery-ui/demos/slider/rangemin.html +51 -0
- data/templates/drupal/sources/jquery-ui/demos/slider/side-scroll.html +140 -0
- data/templates/drupal/sources/jquery-ui/demos/slider/slider-vertical.html +52 -0
- data/templates/drupal/sources/jquery-ui/demos/slider/steps.html +51 -0
- data/templates/drupal/sources/jquery-ui/demos/slider/tabs.html +67 -0
- data/templates/drupal/sources/jquery-ui/demos/sortable/connect-lists-through-tabs.html +78 -0
- data/templates/drupal/sources/jquery-ui/demos/sortable/connect-lists.html +58 -0
- data/templates/drupal/sources/jquery-ui/demos/sortable/default.html +51 -0
- data/templates/drupal/sources/jquery-ui/demos/sortable/delay-start.html +67 -0
- data/templates/drupal/sources/jquery-ui/demos/sortable/display-grid.html +54 -0
- data/templates/drupal/sources/jquery-ui/demos/sortable/empty-lists.html +69 -0
- data/templates/drupal/sources/jquery-ui/demos/sortable/index.html +26 -0
- data/templates/drupal/sources/jquery-ui/demos/sortable/items.html +70 -0
- data/templates/drupal/sources/jquery-ui/demos/sortable/placeholder.html +56 -0
- data/templates/drupal/sources/jquery-ui/demos/sortable/portlets.html +96 -0
- data/templates/drupal/sources/jquery-ui/demos/spinner/currency.html +61 -0
- data/templates/drupal/sources/jquery-ui/demos/spinner/decimal.html +59 -0
- data/templates/drupal/sources/jquery-ui/demos/spinner/default.html +65 -0
- data/templates/drupal/sources/jquery-ui/demos/spinner/index.html +20 -0
- data/templates/drupal/sources/jquery-ui/demos/spinner/latlong.html +60 -0
- data/templates/drupal/sources/jquery-ui/demos/spinner/overflow.html +47 -0
- data/templates/drupal/sources/jquery-ui/demos/spinner/time.html +71 -0
- data/templates/drupal/sources/jquery-ui/demos/switchClass/default.html +47 -0
- data/templates/drupal/sources/jquery-ui/demos/switchClass/index.html +18 -0
- data/templates/drupal/sources/jquery-ui/demos/tabs/ajax.html +53 -0
- data/templates/drupal/sources/jquery-ui/demos/tabs/ajax/content1.html +4 -0
- data/templates/drupal/sources/jquery-ui/demos/tabs/ajax/content2.html +4 -0
- data/templates/drupal/sources/jquery-ui/demos/tabs/ajax/content3-slow.php +7 -0
- data/templates/drupal/sources/jquery-ui/demos/tabs/ajax/content4-broken.php +3 -0
- data/templates/drupal/sources/jquery-ui/demos/tabs/bottom.html +59 -0
- data/templates/drupal/sources/jquery-ui/demos/tabs/collapsible.html +55 -0
- data/templates/drupal/sources/jquery-ui/demos/tabs/cookie.html +57 -0
- data/templates/drupal/sources/jquery-ui/demos/tabs/default.html +49 -0
- data/templates/drupal/sources/jquery-ui/demos/tabs/index.html +25 -0
- data/templates/drupal/sources/jquery-ui/demos/tabs/manipulation.html +124 -0
- data/templates/drupal/sources/jquery-ui/demos/tabs/mouseover.html +53 -0
- data/templates/drupal/sources/jquery-ui/demos/tabs/sortable.html +58 -0
- data/templates/drupal/sources/jquery-ui/demos/tabs/vertical.html +61 -0
- data/templates/drupal/sources/jquery-ui/demos/toggle/default.html +94 -0
- data/templates/drupal/sources/jquery-ui/demos/toggle/index.html +18 -0
- data/templates/drupal/sources/jquery-ui/demos/toggleClass/default.html +46 -0
- data/templates/drupal/sources/jquery-ui/demos/toggleClass/index.html +18 -0
- data/templates/drupal/sources/jquery-ui/demos/tooltip/ajax/content1.html +1 -0
- data/templates/drupal/sources/jquery-ui/demos/tooltip/ajax/content2.html +1 -0
- data/templates/drupal/sources/jquery-ui/demos/tooltip/custom-animation.html +58 -0
- data/templates/drupal/sources/jquery-ui/demos/tooltip/default.html +48 -0
- data/templates/drupal/sources/jquery-ui/demos/tooltip/delegation-mixbag.html +73 -0
- data/templates/drupal/sources/jquery-ui/demos/tooltip/forms.html +71 -0
- data/templates/drupal/sources/jquery-ui/demos/tooltip/index.html +22 -0
- data/templates/drupal/sources/jquery-ui/demos/tooltip/tracking.html +64 -0
- data/templates/drupal/sources/jquery-ui/external/jquery.bgiframe-2.1.2.js +39 -0
- data/templates/drupal/sources/jquery-ui/external/jquery.cookie.js +89 -0
- data/templates/drupal/sources/jquery-ui/external/jquery.global.de-DE.js +55 -0
- data/templates/drupal/sources/jquery-ui/external/jquery.global.ja-JP.js +74 -0
- data/templates/drupal/sources/jquery-ui/external/jquery.global.js +1341 -0
- data/templates/drupal/sources/jquery-ui/external/jquery.metadata.js +122 -0
- data/templates/drupal/sources/jquery-ui/external/jquery.mousewheel-3.0.4.js +78 -0
- data/templates/drupal/sources/jquery-ui/external/qunit.css +215 -0
- data/templates/drupal/sources/jquery-ui/external/qunit.js +1444 -0
- data/templates/drupal/sources/jquery-ui/jquery-1.5.1.js +8316 -0
- data/templates/drupal/sources/jquery-ui/tests/index.html +22 -0
- data/templates/drupal/sources/jquery-ui/tests/jquery.simulate.js +151 -0
- data/templates/drupal/sources/jquery-ui/tests/static/button/default.html +161 -0
- data/templates/drupal/sources/jquery-ui/tests/static/datepicker/datepicker.html +1367 -0
- data/templates/drupal/sources/jquery-ui/tests/static/datepicker/default.html +86 -0
- data/templates/drupal/sources/jquery-ui/tests/static/icons.html +246 -0
- data/templates/drupal/sources/jquery-ui/tests/static/menu/all-menus-icons.html +172 -0
- data/templates/drupal/sources/jquery-ui/tests/static/menu/default.html +39 -0
- data/templates/drupal/sources/jquery-ui/tests/static/slider/default.html +17 -0
- data/templates/drupal/sources/jquery-ui/tests/static/slider/default_vertical.html +17 -0
- data/templates/drupal/sources/jquery-ui/tests/static/slider/slider_horizontal.html +17 -0
- data/templates/drupal/sources/jquery-ui/tests/static/slider/slider_horizontal_range.html +17 -0
- data/templates/drupal/sources/jquery-ui/tests/static/slider/slider_horizontal_range_max.html +17 -0
- data/templates/drupal/sources/jquery-ui/tests/static/slider/slider_horizontal_range_min.html +17 -0
- data/templates/drupal/sources/jquery-ui/tests/static/slider/slider_vertical.html +17 -0
- data/templates/drupal/sources/jquery-ui/tests/static/slider/slider_vertical_range.html +17 -0
- data/templates/drupal/sources/jquery-ui/tests/static/slider/slider_vertical_range_max.html +17 -0
- data/templates/drupal/sources/jquery-ui/tests/static/slider/slider_vertical_range_min.html +17 -0
- data/templates/drupal/sources/jquery-ui/tests/static/static.css +1 -0
- data/templates/drupal/sources/jquery-ui/tests/static/static.js +9 -0
- data/templates/drupal/sources/jquery-ui/tests/unit/accordion/accordion.html +163 -0
- data/templates/drupal/sources/jquery-ui/tests/unit/accordion/accordion_core.js +53 -0
- data/templates/drupal/sources/jquery-ui/tests/unit/accordion/accordion_defaults.js +15 -0
- data/templates/drupal/sources/jquery-ui/tests/unit/accordion/accordion_defaults_deprecated.js +21 -0
- data/templates/drupal/sources/jquery-ui/tests/unit/accordion/accordion_deprecated.html +161 -0
- data/templates/drupal/sources/jquery-ui/tests/unit/accordion/accordion_deprecated.js +320 -0
- data/templates/drupal/sources/jquery-ui/tests/unit/accordion/accordion_events.js +122 -0
- data/templates/drupal/sources/jquery-ui/tests/unit/accordion/accordion_methods.js +37 -0
- data/templates/drupal/sources/jquery-ui/tests/unit/accordion/accordion_options.js +266 -0
- data/templates/drupal/sources/jquery-ui/tests/unit/autocomplete/autocomplete.html +46 -0
- data/templates/drupal/sources/jquery-ui/tests/unit/autocomplete/autocomplete_core.js +73 -0
- data/templates/drupal/sources/jquery-ui/tests/unit/autocomplete/autocomplete_defaults.js +19 -0
- data/templates/drupal/sources/jquery-ui/tests/unit/autocomplete/autocomplete_events.js +206 -0
- data/templates/drupal/sources/jquery-ui/tests/unit/autocomplete/autocomplete_methods.js +39 -0
- data/templates/drupal/sources/jquery-ui/tests/unit/autocomplete/autocomplete_options.js +247 -0
- data/templates/drupal/sources/jquery-ui/tests/unit/autocomplete/remote_object_array_labels.txt +1 -0
- data/templates/drupal/sources/jquery-ui/tests/unit/autocomplete/remote_object_array_values.txt +1 -0
- data/templates/drupal/sources/jquery-ui/tests/unit/autocomplete/remote_string_array.txt +1 -0
- data/templates/drupal/sources/jquery-ui/tests/unit/button/button.html +68 -0
- data/templates/drupal/sources/jquery-ui/tests/unit/button/button_core.js +70 -0
- data/templates/drupal/sources/jquery-ui/tests/unit/button/button_defaults.js +15 -0
- data/templates/drupal/sources/jquery-ui/tests/unit/button/button_events.js +8 -0
- data/templates/drupal/sources/jquery-ui/tests/unit/button/button_methods.js +19 -0
- data/templates/drupal/sources/jquery-ui/tests/unit/button/button_options.js +93 -0
- data/templates/drupal/sources/jquery-ui/tests/unit/button/button_tickets.js +45 -0
- data/templates/drupal/sources/jquery-ui/tests/unit/core/core.html +134 -0
- data/templates/drupal/sources/jquery-ui/tests/unit/core/core.js +157 -0
- data/templates/drupal/sources/jquery-ui/tests/unit/core/selector.js +253 -0
- data/templates/drupal/sources/jquery-ui/tests/unit/datepicker/datepicker.html +54 -0
- data/templates/drupal/sources/jquery-ui/tests/unit/datepicker/datepicker_core.js +441 -0
- data/templates/drupal/sources/jquery-ui/tests/unit/datepicker/datepicker_defaults.js +9 -0
- data/templates/drupal/sources/jquery-ui/tests/unit/datepicker/datepicker_events.js +117 -0
- data/templates/drupal/sources/jquery-ui/tests/unit/datepicker/datepicker_methods.js +118 -0
- data/templates/drupal/sources/jquery-ui/tests/unit/datepicker/datepicker_options.js +924 -0
- data/templates/drupal/sources/jquery-ui/tests/unit/datepicker/datepicker_tickets.js +27 -0
- data/templates/drupal/sources/jquery-ui/tests/unit/dialog/dialog.html +57 -0
- data/templates/drupal/sources/jquery-ui/tests/unit/dialog/dialog_core.js +138 -0
- data/templates/drupal/sources/jquery-ui/tests/unit/dialog/dialog_defaults.js +35 -0
- data/templates/drupal/sources/jquery-ui/tests/unit/dialog/dialog_events.js +254 -0
- data/templates/drupal/sources/jquery-ui/tests/unit/dialog/dialog_methods.js +127 -0
- data/templates/drupal/sources/jquery-ui/tests/unit/dialog/dialog_options.js +444 -0
- data/templates/drupal/sources/jquery-ui/tests/unit/dialog/dialog_tickets.js +116 -0
- data/templates/drupal/sources/jquery-ui/tests/unit/draggable/draggable.html +53 -0
- data/templates/drupal/sources/jquery-ui/tests/unit/draggable/draggable_core.js +67 -0
- data/templates/drupal/sources/jquery-ui/tests/unit/draggable/draggable_defaults.js +36 -0
- data/templates/drupal/sources/jquery-ui/tests/unit/draggable/draggable_events.js +81 -0
- data/templates/drupal/sources/jquery-ui/tests/unit/draggable/draggable_methods.js +99 -0
- data/templates/drupal/sources/jquery-ui/tests/unit/draggable/draggable_options.js +753 -0
- data/templates/drupal/sources/jquery-ui/tests/unit/droppable/droppable.html +53 -0
- data/templates/drupal/sources/jquery-ui/tests/unit/droppable/droppable_core.js +36 -0
- data/templates/drupal/sources/jquery-ui/tests/unit/droppable/droppable_defaults.js +16 -0
- data/templates/drupal/sources/jquery-ui/tests/unit/droppable/droppable_events.js +28 -0
- data/templates/drupal/sources/jquery-ui/tests/unit/droppable/droppable_methods.js +86 -0
- data/templates/drupal/sources/jquery-ui/tests/unit/droppable/droppable_options.js +68 -0
- data/templates/drupal/sources/jquery-ui/tests/unit/images/jqueryui_32x32.png +0 -0
- data/templates/drupal/sources/jquery-ui/tests/unit/index.html +64 -0
- data/templates/drupal/sources/jquery-ui/tests/unit/menu/menu.html +74 -0
- data/templates/drupal/sources/jquery-ui/tests/unit/menu/menu_core.js +38 -0
- data/templates/drupal/sources/jquery-ui/tests/unit/menu/menu_defaults.js +13 -0
- data/templates/drupal/sources/jquery-ui/tests/unit/menu/menu_events.js +24 -0
- data/templates/drupal/sources/jquery-ui/tests/unit/menu/menu_methods.js +15 -0
- data/templates/drupal/sources/jquery-ui/tests/unit/menu/menu_options.js +10 -0
- data/templates/drupal/sources/jquery-ui/tests/unit/position/position.html +62 -0
- data/templates/drupal/sources/jquery-ui/tests/unit/position/position_core.js +438 -0
- data/templates/drupal/sources/jquery-ui/tests/unit/position/position_deprecated.html +60 -0
- data/templates/drupal/sources/jquery-ui/tests/unit/position/position_deprecated.js +32 -0
- data/templates/drupal/sources/jquery-ui/tests/unit/progressbar/progressbar.html +41 -0
- data/templates/drupal/sources/jquery-ui/tests/unit/progressbar/progressbar_core.js +28 -0
- data/templates/drupal/sources/jquery-ui/tests/unit/progressbar/progressbar_defaults.js +11 -0
- data/templates/drupal/sources/jquery-ui/tests/unit/progressbar/progressbar_events.js +51 -0
- data/templates/drupal/sources/jquery-ui/tests/unit/progressbar/progressbar_methods.js +36 -0
- data/templates/drupal/sources/jquery-ui/tests/unit/progressbar/progressbar_options.js +59 -0
- data/templates/drupal/sources/jquery-ui/tests/unit/resizable/images/test.jpg +0 -0
- data/templates/drupal/sources/jquery-ui/tests/unit/resizable/resizable.html +53 -0
- data/templates/drupal/sources/jquery-ui/tests/unit/resizable/resizable_core.js +148 -0
- data/templates/drupal/sources/jquery-ui/tests/unit/resizable/resizable_defaults.js +28 -0
- data/templates/drupal/sources/jquery-ui/tests/unit/resizable/resizable_events.js +20 -0
- data/templates/drupal/sources/jquery-ui/tests/unit/resizable/resizable_methods.js +64 -0
- data/templates/drupal/sources/jquery-ui/tests/unit/resizable/resizable_options.js +190 -0
- data/templates/drupal/sources/jquery-ui/tests/unit/selectable/selectable.html +56 -0
- data/templates/drupal/sources/jquery-ui/tests/unit/selectable/selectable_core.js +16 -0
- data/templates/drupal/sources/jquery-ui/tests/unit/selectable/selectable_defaults.js +16 -0
- data/templates/drupal/sources/jquery-ui/tests/unit/selectable/selectable_events.js +32 -0
- data/templates/drupal/sources/jquery-ui/tests/unit/selectable/selectable_methods.js +93 -0
- data/templates/drupal/sources/jquery-ui/tests/unit/selectable/selectable_options.js +46 -0
- data/templates/drupal/sources/jquery-ui/tests/unit/slider/slider.html +55 -0
- data/templates/drupal/sources/jquery-ui/tests/unit/slider/slider_core.js +292 -0
- data/templates/drupal/sources/jquery-ui/tests/unit/slider/slider_defaults.js +20 -0
- data/templates/drupal/sources/jquery-ui/tests/unit/slider/slider_events.js +109 -0
- data/templates/drupal/sources/jquery-ui/tests/unit/slider/slider_methods.js +102 -0
- data/templates/drupal/sources/jquery-ui/tests/unit/slider/slider_options.js +146 -0
- data/templates/drupal/sources/jquery-ui/tests/unit/sortable/sortable.html +57 -0
- data/templates/drupal/sources/jquery-ui/tests/unit/sortable/sortable_core.js +9 -0
- data/templates/drupal/sources/jquery-ui/tests/unit/sortable/sortable_defaults.js +34 -0
- data/templates/drupal/sources/jquery-ui/tests/unit/sortable/sortable_events.js +147 -0
- data/templates/drupal/sources/jquery-ui/tests/unit/sortable/sortable_methods.js +108 -0
- data/templates/drupal/sources/jquery-ui/tests/unit/sortable/sortable_options.js +256 -0
- data/templates/drupal/sources/jquery-ui/tests/unit/sortable/sortable_tickets.js +83 -0
- data/templates/drupal/sources/jquery-ui/tests/unit/spinner/spinner.html +46 -0
- data/templates/drupal/sources/jquery-ui/tests/unit/spinner/spinner_core.js +171 -0
- data/templates/drupal/sources/jquery-ui/tests/unit/spinner/spinner_defaults.js +16 -0
- data/templates/drupal/sources/jquery-ui/tests/unit/spinner/spinner_events.js +64 -0
- data/templates/drupal/sources/jquery-ui/tests/unit/spinner/spinner_methods.js +155 -0
- data/templates/drupal/sources/jquery-ui/tests/unit/spinner/spinner_options.js +154 -0
- data/templates/drupal/sources/jquery-ui/tests/unit/swarminject.js +9 -0
- data/templates/drupal/sources/jquery-ui/tests/unit/tabs/data/test.html +1 -0
- data/templates/drupal/sources/jquery-ui/tests/unit/tabs/spinner.gif +0 -0
- data/templates/drupal/sources/jquery-ui/tests/unit/tabs/tabs.html +139 -0
- data/templates/drupal/sources/jquery-ui/tests/unit/tabs/tabs_core.js +50 -0
- data/templates/drupal/sources/jquery-ui/tests/unit/tabs/tabs_defaults.js +13 -0
- data/templates/drupal/sources/jquery-ui/tests/unit/tabs/tabs_defaults_deprecated.js +26 -0
- data/templates/drupal/sources/jquery-ui/tests/unit/tabs/tabs_deprecated.html +138 -0
- data/templates/drupal/sources/jquery-ui/tests/unit/tabs/tabs_deprecated.js +350 -0
- data/templates/drupal/sources/jquery-ui/tests/unit/tabs/tabs_events.js +198 -0
- data/templates/drupal/sources/jquery-ui/tests/unit/tabs/tabs_methods.js +165 -0
- data/templates/drupal/sources/jquery-ui/tests/unit/tabs/tabs_options.js +146 -0
- data/templates/drupal/sources/jquery-ui/tests/unit/tabs/tabs_tickets.js +99 -0
- data/templates/drupal/sources/jquery-ui/tests/unit/testsuite.js +101 -0
- data/templates/drupal/sources/jquery-ui/tests/unit/tooltip/tooltip.html +47 -0
- data/templates/drupal/sources/jquery-ui/tests/unit/tooltip/tooltip_core.js +11 -0
- data/templates/drupal/sources/jquery-ui/tests/unit/tooltip/tooltip_defaults.js +16 -0
- data/templates/drupal/sources/jquery-ui/tests/unit/tooltip/tooltip_events.js +54 -0
- data/templates/drupal/sources/jquery-ui/tests/unit/tooltip/tooltip_methods.js +30 -0
- data/templates/drupal/sources/jquery-ui/tests/unit/tooltip/tooltip_options.js +62 -0
- data/templates/drupal/sources/jquery-ui/tests/unit/widget/widget.html +40 -0
- data/templates/drupal/sources/jquery-ui/tests/unit/widget/widget_core.js +992 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/addClass/addClass_queue.html +50 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/all.css +84 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/all.html +190 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/animate/animate_backgroundColor_hex.html +44 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/animate/animate_backgroundColor_rgb.html +35 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/animate/animate_color_hex.html +44 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/animate/animate_color_rgb.html +35 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/button/button.html +140 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/button/button_disabled_true.html +84 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/button/button_input_type_checkbox.html +25 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/button/button_option_disabled_true.html +84 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/button/button_performance.html +555 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/button/button_ticket_5254.html +55 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/button/button_ticket_5261.html +42 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/button/button_ticket_5278.html +58 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/compound/accordion_dialog.html +202 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/compound/accordion_tabs.html +86 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/compound/datepicker_dialog.html +157 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/compound/draggable_accordion.html +65 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/compound/draggable_accordion_accordion_tabs_draggable.html +109 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/compound/sortable_accordion_sortable_tabs.html +108 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/compound/tabs_tabs.html +73 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/compound/tabs_tooltips.html +37 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/compound/widgets_in_dialog.html +229 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/datepicker/calendar.gif +0 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/datepicker/datepicker.html +23 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/datepicker/datepicker_multi_inline.html +113 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/datepicker/datepicker_ticket_4071.html +96 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/datepicker/datepicker_ticket_4240.html +55 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/datepicker/datepicker_ticket_4443.html +38 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/datepicker/datepicker_ticket_5676.html +30 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/datepicker/multimonth.html +23 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/datepicker/viewport.html +278 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/dialog/dialog_on_page_with_large_dom.html +2963 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/draggable/draggable.html +24 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/draggable/draggable.scroll.html +152 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/draggable/draggable_option_containment_array.html +26 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/draggable/draggable_option_cursorAt_object.html +26 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/draggable/draggable_option_handle_selector.html +28 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/draggable/draggable_option_iframeFix_false.html +30 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/draggable/draggable_option_iframeFix_selector.html +30 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/draggable/draggable_option_iframeFix_true.html +30 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/droppable/droppable.css +3 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/droppable/droppable.html +33 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/droppable/droppable_option_accept_default.html +40 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/droppable/droppable_option_accept_function.html +43 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/droppable/droppable_option_accept_selector.html +41 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/droppable/droppable_ticket_4087.html +51 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/droppable/droppable_ticket_4088.html +69 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/effects.all.css +54 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/effects.all.html +193 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/effects.all.js +92 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/menu/contextmenu.html +191 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/menu/drilldown.html +266 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/menu/menu.html +147 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/menu/menubar.html +208 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/menu/menubar.js +189 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/menu/popup.html +159 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/menu/popup.js +113 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/menu/tablemenu.html +67 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/mouse/mouse_ticket_6946.html +67 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/position/position.html +67 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/position/position_margin.html +43 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/resizable/images/test.png +0 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/resizable/resizable.html +24 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/resizable/resizable_option_alsoResize_child.html +48 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/resizable/resizable_option_aspectRatio_0.5.html +29 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/resizable/resizable_option_aspectRatio_1.0.html +29 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/resizable/resizable_option_aspectRatio_1.5.html +29 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/resizable/resizable_option_aspectRatio_preserve_maxHeight_150.html +30 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/resizable/resizable_option_aspectRatio_preserve_maxWidth_150.html +30 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/resizable/resizable_option_aspectRatio_preserve_minHeight_50.html +30 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/resizable/resizable_option_aspectRatio_preserve_minWidth_50.html +30 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/resizable/resizable_option_aspectRatio_preserve_w100xh100.html +29 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/resizable/resizable_option_aspectRatio_preserve_w100xh50.html +29 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/resizable/resizable_option_aspectRatio_preserve_w50xh100.html +29 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/resizable/resizable_ticket_3053.html +37 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/resizable/resizable_ticket_4199.html +37 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/resizable/resizable_ticket_4217.html +46 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/resizable/resizable_ticket_4940.html +32 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/resizable/resizable_ticket_5335.html +52 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/selectable/selectable.html +40 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/selectable/selectable_ticket_4341.html +46 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/slider/slider.html +24 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/slider/slider_horizontal.html +27 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/slider/slider_horizontal_range.html +28 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/slider/slider_horizontal_range_max.html +28 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/slider/slider_horizontal_range_min.html +28 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/slider/slider_in_container_with_scrollbars.html +43 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/slider/slider_method_destroy.html +28 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/slider/slider_method_disable.html +47 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/slider/slider_option_animate_false.html +26 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/slider/slider_option_animate_true.html +65 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/slider/slider_option_max_3.html +26 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/slider/slider_option_max_30.html +26 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/slider/slider_option_max_300.html +26 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/slider/slider_option_min_-3.html +27 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/slider/slider_option_min_-30.html +27 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/slider/slider_option_min_-300.html +27 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/slider/slider_option_orientation_horizontal.html +26 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/slider/slider_option_orientation_vertical.html +26 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/slider/slider_option_range_false.html +27 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/slider/slider_option_range_max.html +27 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/slider/slider_option_range_min.html +27 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/slider/slider_option_range_true.html +27 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/slider/slider_option_step_25.html +26 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/slider/slider_option_step_5.html +26 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/slider/slider_option_value_3.html +26 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/slider/slider_option_value_30.html +26 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/slider/slider_option_values_25_50_75.html +26 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/slider/slider_option_values_25_75.html +26 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/slider/slider_option_values_50.html +26 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/slider/slider_ticket_3736.html +36 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/slider/slider_ticket_3762.html +44 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/slider/slider_ticket_4385.html +42 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/slider/slider_ticket_4467.html +34 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/slider/slider_vertical.html +27 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/slider/slider_vertical_range.html +28 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/slider/slider_vertical_range_max.html +28 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/slider/slider_vertical_range_min.html +28 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/sortable/sortable.html +40 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/sortable/sortable_massive_scale.html +757 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/sortable/sortable_option_revert_false.html +31 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/sortable/sortable_option_revert_true.html +31 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/sortable/sortable_ticket_4231.html +78 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/sortable/sortable_ticket_5355.html +58 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/spinner/spinner.html +43 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/theme.html +532 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/tooltip/ajaxcontent.php +2 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/tooltip/callout.html +213 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/tooltip/tooltip.html +186 -0
- data/templates/drupal/sources/jquery-ui/tests/visual/visual.css +3 -0
- data/templates/drupal/sources/jquery-ui/themes/base/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/templates/drupal/sources/jquery-ui/themes/base/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/templates/drupal/sources/jquery-ui/themes/base/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- data/templates/drupal/sources/jquery-ui/themes/base/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/templates/drupal/sources/jquery-ui/themes/base/images/ui-bg_glass_75_dadada_1x400.png +0 -0
- data/templates/drupal/sources/jquery-ui/themes/base/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- data/templates/drupal/sources/jquery-ui/themes/base/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/templates/drupal/sources/jquery-ui/themes/base/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
- data/templates/drupal/sources/jquery-ui/themes/base/images/ui-icons_222222_256x240.png +0 -0
- data/templates/drupal/sources/jquery-ui/themes/base/images/ui-icons_2e83ff_256x240.png +0 -0
- data/templates/drupal/sources/jquery-ui/themes/base/images/ui-icons_454545_256x240.png +0 -0
- data/templates/drupal/sources/jquery-ui/themes/base/images/ui-icons_888888_256x240.png +0 -0
- data/templates/drupal/sources/jquery-ui/themes/base/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/templates/drupal/sources/jquery-ui/themes/base/jquery.ui.accordion.css +18 -0
- data/templates/drupal/sources/jquery-ui/themes/base/jquery.ui.all.css +11 -0
- data/templates/drupal/sources/jquery-ui/themes/base/jquery.ui.autocomplete.css +13 -0
- data/templates/drupal/sources/jquery-ui/themes/base/jquery.ui.base.css +24 -0
- data/templates/drupal/sources/jquery-ui/themes/base/jquery.ui.button.css +38 -0
- data/templates/drupal/sources/jquery-ui/themes/base/jquery.ui.core.css +41 -0
- data/templates/drupal/sources/jquery-ui/themes/base/jquery.ui.datepicker.css +68 -0
- data/templates/drupal/sources/jquery-ui/themes/base/jquery.ui.dialog.css +21 -0
- data/templates/drupal/sources/jquery-ui/themes/base/jquery.ui.menu.css +44 -0
- data/templates/drupal/sources/jquery-ui/themes/base/jquery.ui.progressbar.css +11 -0
- data/templates/drupal/sources/jquery-ui/themes/base/jquery.ui.resizable.css +25 -0
- data/templates/drupal/sources/jquery-ui/themes/base/jquery.ui.selectable.css +10 -0
- data/templates/drupal/sources/jquery-ui/themes/base/jquery.ui.slider.css +24 -0
- data/templates/drupal/sources/jquery-ui/themes/base/jquery.ui.spinner.css +23 -0
- data/templates/drupal/sources/jquery-ui/themes/base/jquery.ui.tabs.css +17 -0
- data/templates/drupal/sources/jquery-ui/themes/base/jquery.ui.theme.css +252 -0
- data/templates/drupal/sources/jquery-ui/themes/base/jquery.ui.tooltip.css +23 -0
- data/templates/drupal/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-af.js +23 -0
- data/templates/drupal/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-ar-DZ.js +23 -0
- data/templates/drupal/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-ar.js +23 -0
- data/templates/drupal/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-az.js +23 -0
- data/templates/drupal/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-bg.js +24 -0
- data/templates/drupal/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-bs.js +23 -0
- data/templates/drupal/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-ca.js +23 -0
- data/templates/drupal/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-cs.js +23 -0
- data/templates/drupal/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-da.js +23 -0
- data/templates/drupal/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-de.js +23 -0
- data/templates/drupal/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-el.js +23 -0
- data/templates/drupal/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-en-AU.js +23 -0
- data/templates/drupal/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-en-GB.js +23 -0
- data/templates/drupal/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-en-NZ.js +23 -0
- data/templates/drupal/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-eo.js +23 -0
- data/templates/drupal/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-es.js +23 -0
- data/templates/drupal/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-et.js +23 -0
- data/templates/drupal/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-eu.js +23 -0
- data/templates/drupal/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-fa.js +23 -0
- data/templates/drupal/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-fi.js +23 -0
- data/templates/drupal/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-fo.js +23 -0
- data/templates/drupal/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-fr-CH.js +23 -0
- data/templates/drupal/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-fr.js +25 -0
- data/templates/drupal/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-gl.js +23 -0
- data/templates/drupal/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-he.js +23 -0
- data/templates/drupal/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-hr.js +23 -0
- data/templates/drupal/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-hu.js +23 -0
- data/templates/drupal/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-hy.js +23 -0
- data/templates/drupal/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-id.js +23 -0
- data/templates/drupal/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-is.js +23 -0
- data/templates/drupal/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-it.js +23 -0
- data/templates/drupal/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-ja.js +23 -0
- data/templates/drupal/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-ko.js +23 -0
- data/templates/drupal/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-kz.js +23 -0
- data/templates/drupal/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-lt.js +23 -0
- data/templates/drupal/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-lv.js +23 -0
- data/templates/drupal/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-ml.js +23 -0
- data/templates/drupal/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-ms.js +23 -0
- data/templates/drupal/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-nl.js +23 -0
- data/templates/drupal/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-no.js +23 -0
- data/templates/drupal/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-pl.js +23 -0
- data/templates/drupal/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-pt-BR.js +23 -0
- data/templates/drupal/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-pt.js +22 -0
- data/templates/drupal/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-rm.js +21 -0
- data/templates/drupal/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-ro.js +26 -0
- data/templates/drupal/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-ru.js +23 -0
- data/templates/drupal/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-sk.js +23 -0
- data/templates/drupal/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-sl.js +24 -0
- data/templates/drupal/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-sq.js +23 -0
- data/templates/drupal/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-sr-SR.js +23 -0
- data/templates/drupal/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-sr.js +23 -0
- data/templates/drupal/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-sv.js +23 -0
- data/templates/drupal/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-ta.js +23 -0
- data/templates/drupal/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-th.js +23 -0
- data/templates/drupal/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-tj.js +23 -0
- data/templates/drupal/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-tr.js +23 -0
- data/templates/drupal/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-uk.js +23 -0
- data/templates/drupal/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-vi.js +23 -0
- data/templates/drupal/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-zh-CN.js +23 -0
- data/templates/drupal/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-zh-HK.js +23 -0
- data/templates/drupal/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-zh-TW.js +23 -0
- data/templates/drupal/sources/jquery-ui/ui/jquery.effects.blind.js +52 -0
- data/templates/drupal/sources/jquery-ui/ui/jquery.effects.bounce.js +102 -0
- data/templates/drupal/sources/jquery-ui/ui/jquery.effects.clip.js +69 -0
- data/templates/drupal/sources/jquery-ui/ui/jquery.effects.core.js +825 -0
- data/templates/drupal/sources/jquery-ui/ui/jquery.effects.drop.js +64 -0
- data/templates/drupal/sources/jquery-ui/ui/jquery.effects.explode.js +103 -0
- data/templates/drupal/sources/jquery-ui/ui/jquery.effects.fade.js +34 -0
- data/templates/drupal/sources/jquery-ui/ui/jquery.effects.fold.js +73 -0
- data/templates/drupal/sources/jquery-ui/ui/jquery.effects.highlight.js +51 -0
- data/templates/drupal/sources/jquery-ui/ui/jquery.effects.pulsate.js +52 -0
- data/templates/drupal/sources/jquery-ui/ui/jquery.effects.scale.js +250 -0
- data/templates/drupal/sources/jquery-ui/ui/jquery.effects.shake.js +64 -0
- data/templates/drupal/sources/jquery-ui/ui/jquery.effects.slide.js +69 -0
- data/templates/drupal/sources/jquery-ui/ui/jquery.effects.transfer.js +46 -0
- data/templates/drupal/sources/jquery-ui/ui/jquery.ui.accordion.js +669 -0
- data/templates/drupal/sources/jquery-ui/ui/jquery.ui.autocomplete.js +439 -0
- data/templates/drupal/sources/jquery-ui/ui/jquery.ui.button.js +384 -0
- data/templates/drupal/sources/jquery-ui/ui/jquery.ui.core.js +303 -0
- data/templates/drupal/sources/jquery-ui/ui/jquery.ui.datepicker.js +1779 -0
- data/templates/drupal/sources/jquery-ui/ui/jquery.ui.dialog.js +829 -0
- data/templates/drupal/sources/jquery-ui/ui/jquery.ui.draggable.js +799 -0
- data/templates/drupal/sources/jquery-ui/ui/jquery.ui.droppable.js +285 -0
- data/templates/drupal/sources/jquery-ui/ui/jquery.ui.menu.js +402 -0
- data/templates/drupal/sources/jquery-ui/ui/jquery.ui.mouse.js +156 -0
- data/templates/drupal/sources/jquery-ui/ui/jquery.ui.position.js +283 -0
- data/templates/drupal/sources/jquery-ui/ui/jquery.ui.progressbar.js +107 -0
- data/templates/drupal/sources/jquery-ui/ui/jquery.ui.resizable.js +812 -0
- data/templates/drupal/sources/jquery-ui/ui/jquery.ui.selectable.js +266 -0
- data/templates/drupal/sources/jquery-ui/ui/jquery.ui.slider.js +684 -0
- data/templates/drupal/sources/jquery-ui/ui/jquery.ui.sortable.js +1076 -0
- data/templates/drupal/sources/jquery-ui/ui/jquery.ui.spinner.js +362 -0
- data/templates/drupal/sources/jquery-ui/ui/jquery.ui.tabs.js +1039 -0
- data/templates/drupal/sources/jquery-ui/ui/jquery.ui.tooltip.js +146 -0
- data/templates/drupal/sources/jquery-ui/ui/jquery.ui.widget.js +363 -0
- data/templates/drupal/sources/jquery-ui/version.txt +1 -0
- data/templates/drupal/sources/pie/LICENSE-APACHE2.txt +13 -0
- data/templates/drupal/sources/pie/LICENSE-GPL2.txt +278 -0
- data/templates/drupal/sources/pie/build.xml +118 -0
- data/templates/drupal/sources/pie/demos/basic.html +321 -0
- data/templates/drupal/sources/pie/demos/farbtastic/CHANGELOG.html +26 -0
- data/templates/drupal/sources/pie/demos/farbtastic/LICENSE.txt +341 -0
- data/templates/drupal/sources/pie/demos/farbtastic/README.html +71 -0
- data/templates/drupal/sources/pie/demos/farbtastic/demo1.html +28 -0
- data/templates/drupal/sources/pie/demos/farbtastic/demo2.html +57 -0
- data/templates/drupal/sources/pie/demos/farbtastic/farbtastic.css +51 -0
- data/templates/drupal/sources/pie/demos/farbtastic/farbtastic.js +345 -0
- data/templates/drupal/sources/pie/demos/farbtastic/farbtastic.min.js +1 -0
- data/templates/drupal/sources/pie/demos/farbtastic/marker.png +0 -0
- data/templates/drupal/sources/pie/demos/farbtastic/mask.png +0 -0
- data/templates/drupal/sources/pie/demos/farbtastic/wheel.png +0 -0
- data/templates/drupal/sources/pie/demos/tabs-control.png +0 -0
- data/templates/drupal/sources/pie/demos/tabs.html +296 -0
- data/templates/drupal/sources/pie/documentation/about.html +63 -0
- data/templates/drupal/sources/pie/documentation/build.html +72 -0
- data/templates/drupal/sources/pie/documentation/getting-started.html +66 -0
- data/templates/drupal/sources/pie/documentation/known-issues.html +205 -0
- data/templates/drupal/sources/pie/documentation/pie-js.html +89 -0
- data/templates/drupal/sources/pie/documentation/product-comparison.html +89 -0
- data/templates/drupal/sources/pie/documentation/q-and-a.html +152 -0
- data/templates/drupal/sources/pie/documentation/supported-css3-features.html +402 -0
- data/templates/drupal/sources/pie/site/pie-wp-theme/404.php +24 -0
- data/templates/drupal/sources/pie/site/pie-wp-theme/archive.php +24 -0
- data/templates/drupal/sources/pie/site/pie-wp-theme/attachment.php +25 -0
- data/templates/drupal/sources/pie/site/pie-wp-theme/attachment/attachment-default.php +61 -0
- data/templates/drupal/sources/pie/site/pie-wp-theme/carrington-core/CHANGELOG.txt +72 -0
- data/templates/drupal/sources/pie/site/pie-wp-theme/carrington-core/README.txt +15 -0
- data/templates/drupal/sources/pie/site/pie-wp-theme/carrington-core/admin.php +330 -0
- data/templates/drupal/sources/pie/site/pie-wp-theme/carrington-core/ajax-load.php +115 -0
- data/templates/drupal/sources/pie/site/pie-wp-theme/carrington-core/attachment.php +126 -0
- data/templates/drupal/sources/pie/site/pie-wp-theme/carrington-core/carrington.php +106 -0
- data/templates/drupal/sources/pie/site/pie-wp-theme/carrington-core/compatibility.php +234 -0
- data/templates/drupal/sources/pie/site/pie-wp-theme/carrington-core/css/colorpicker.css +161 -0
- data/templates/drupal/sources/pie/site/pie-wp-theme/carrington-core/images/colorpicker/blank.gif +0 -0
- data/templates/drupal/sources/pie/site/pie-wp-theme/carrington-core/images/colorpicker/colorpicker_background.png +0 -0
- data/templates/drupal/sources/pie/site/pie-wp-theme/carrington-core/images/colorpicker/colorpicker_hex.png +0 -0
- data/templates/drupal/sources/pie/site/pie-wp-theme/carrington-core/images/colorpicker/colorpicker_hsb_b.png +0 -0
- data/templates/drupal/sources/pie/site/pie-wp-theme/carrington-core/images/colorpicker/colorpicker_hsb_h.png +0 -0
- data/templates/drupal/sources/pie/site/pie-wp-theme/carrington-core/images/colorpicker/colorpicker_hsb_s.png +0 -0
- data/templates/drupal/sources/pie/site/pie-wp-theme/carrington-core/images/colorpicker/colorpicker_indic.gif +0 -0
- data/templates/drupal/sources/pie/site/pie-wp-theme/carrington-core/images/colorpicker/colorpicker_overlay.png +0 -0
- data/templates/drupal/sources/pie/site/pie-wp-theme/carrington-core/images/colorpicker/colorpicker_rgb_b.png +0 -0
- data/templates/drupal/sources/pie/site/pie-wp-theme/carrington-core/images/colorpicker/colorpicker_rgb_g.png +0 -0
- data/templates/drupal/sources/pie/site/pie-wp-theme/carrington-core/images/colorpicker/colorpicker_rgb_r.png +0 -0
- data/templates/drupal/sources/pie/site/pie-wp-theme/carrington-core/images/colorpicker/colorpicker_select.gif +0 -0
- data/templates/drupal/sources/pie/site/pie-wp-theme/carrington-core/images/colorpicker/colorpicker_submit.png +0 -0
- data/templates/drupal/sources/pie/site/pie-wp-theme/carrington-core/images/colorpicker/custom_background.png +0 -0
- data/templates/drupal/sources/pie/site/pie-wp-theme/carrington-core/images/colorpicker/custom_hex.png +0 -0
- data/templates/drupal/sources/pie/site/pie-wp-theme/carrington-core/images/colorpicker/custom_hsb_b.png +0 -0
- data/templates/drupal/sources/pie/site/pie-wp-theme/carrington-core/images/colorpicker/custom_hsb_h.png +0 -0
- data/templates/drupal/sources/pie/site/pie-wp-theme/carrington-core/images/colorpicker/custom_hsb_s.png +0 -0
- data/templates/drupal/sources/pie/site/pie-wp-theme/carrington-core/images/colorpicker/custom_indic.gif +0 -0
- data/templates/drupal/sources/pie/site/pie-wp-theme/carrington-core/images/colorpicker/custom_rgb_b.png +0 -0
- data/templates/drupal/sources/pie/site/pie-wp-theme/carrington-core/images/colorpicker/custom_rgb_g.png +0 -0
- data/templates/drupal/sources/pie/site/pie-wp-theme/carrington-core/images/colorpicker/custom_rgb_r.png +0 -0
- data/templates/drupal/sources/pie/site/pie-wp-theme/carrington-core/images/colorpicker/custom_submit.png +0 -0
- data/templates/drupal/sources/pie/site/pie-wp-theme/carrington-core/images/colorpicker/select.png +0 -0
- data/templates/drupal/sources/pie/site/pie-wp-theme/carrington-core/images/colorpicker/select2.png +0 -0
- data/templates/drupal/sources/pie/site/pie-wp-theme/carrington-core/images/colorpicker/slider.png +0 -0
- data/templates/drupal/sources/pie/site/pie-wp-theme/carrington-core/js/colorpicker.js +490 -0
- data/templates/drupal/sources/pie/site/pie-wp-theme/carrington-core/lightbox/LICENSE.txt +30 -0
- data/templates/drupal/sources/pie/site/pie-wp-theme/carrington-core/lightbox/css/thickbox.css +157 -0
- data/templates/drupal/sources/pie/site/pie-wp-theme/carrington-core/lightbox/img/blank.gif +0 -0
- data/templates/drupal/sources/pie/site/pie-wp-theme/carrington-core/lightbox/img/loadingAnimation.gif +0 -0
- data/templates/drupal/sources/pie/site/pie-wp-theme/carrington-core/lightbox/img/macFFBgHack.png +0 -0
- data/templates/drupal/sources/pie/site/pie-wp-theme/carrington-core/lightbox/thickbox.js +332 -0
- data/templates/drupal/sources/pie/site/pie-wp-theme/carrington-core/templates.php +105 -0
- data/templates/drupal/sources/pie/site/pie-wp-theme/carrington-core/utility.php +821 -0
- data/templates/drupal/sources/pie/site/pie-wp-theme/comment/comment-default.php +53 -0
- data/templates/drupal/sources/pie/site/pie-wp-theme/comment/ping.php +33 -0
- data/templates/drupal/sources/pie/site/pie-wp-theme/comments.php +24 -0
- data/templates/drupal/sources/pie/site/pie-wp-theme/comments/comments-default.php +66 -0
- data/templates/drupal/sources/pie/site/pie-wp-theme/comments/comments-loop.php +49 -0
- data/templates/drupal/sources/pie/site/pie-wp-theme/comments/pings-loop.php +38 -0
- data/templates/drupal/sources/pie/site/pie-wp-theme/comments/threaded.php +31 -0
- data/templates/drupal/sources/pie/site/pie-wp-theme/content/content-default.php +56 -0
- data/templates/drupal/sources/pie/site/pie-wp-theme/content/page.php +44 -0
- data/templates/drupal/sources/pie/site/pie-wp-theme/css/common.css +442 -0
- data/templates/drupal/sources/pie/site/pie-wp-theme/css/fonts/museosans_500-webfont.eot +0 -0
- data/templates/drupal/sources/pie/site/pie-wp-theme/css/fonts/museosans_500-webfont.svg +240 -0
- data/templates/drupal/sources/pie/site/pie-wp-theme/css/fonts/museosans_500-webfont.ttf +0 -0
- data/templates/drupal/sources/pie/site/pie-wp-theme/css/fonts/museosans_500-webfont.woff +0 -0
- data/templates/drupal/sources/pie/site/pie-wp-theme/error/404.php +31 -0
- data/templates/drupal/sources/pie/site/pie-wp-theme/error/exit.php +24 -0
- data/templates/drupal/sources/pie/site/pie-wp-theme/excerpt/excerpt-default.php +41 -0
- data/templates/drupal/sources/pie/site/pie-wp-theme/footer.php +24 -0
- data/templates/drupal/sources/pie/site/pie-wp-theme/footer/footer-default.php +53 -0
- data/templates/drupal/sources/pie/site/pie-wp-theme/forms/comment.php +94 -0
- data/templates/drupal/sources/pie/site/pie-wp-theme/forms/search.php +33 -0
- data/templates/drupal/sources/pie/site/pie-wp-theme/functions.php +28 -0
- data/templates/drupal/sources/pie/site/pie-wp-theme/functions/sidebars.php +42 -0
- data/templates/drupal/sources/pie/site/pie-wp-theme/header.php +24 -0
- data/templates/drupal/sources/pie/site/pie-wp-theme/header/header-default.php +99 -0
- data/templates/drupal/sources/pie/site/pie-wp-theme/img/divider.png +0 -0
- data/templates/drupal/sources/pie/site/pie-wp-theme/img/favicon.ico +0 -0
- data/templates/drupal/sources/pie/site/pie-wp-theme/img/icons.png +0 -0
- data/templates/drupal/sources/pie/site/pie-wp-theme/img/logo.png +0 -0
- data/templates/drupal/sources/pie/site/pie-wp-theme/index.php +24 -0
- data/templates/drupal/sources/pie/site/pie-wp-theme/js/farbtastic/CHANGELOG.html +26 -0
- data/templates/drupal/sources/pie/site/pie-wp-theme/js/farbtastic/LICENSE.txt +341 -0
- data/templates/drupal/sources/pie/site/pie-wp-theme/js/farbtastic/README.html +71 -0
- data/templates/drupal/sources/pie/site/pie-wp-theme/js/farbtastic/demo1.html +28 -0
- data/templates/drupal/sources/pie/site/pie-wp-theme/js/farbtastic/demo2.html +57 -0
- data/templates/drupal/sources/pie/site/pie-wp-theme/js/farbtastic/farbtastic.css +51 -0
- data/templates/drupal/sources/pie/site/pie-wp-theme/js/farbtastic/farbtastic.js +345 -0
- data/templates/drupal/sources/pie/site/pie-wp-theme/js/farbtastic/farbtastic.min.js +1 -0
- data/templates/drupal/sources/pie/site/pie-wp-theme/js/farbtastic/marker.png +0 -0
- data/templates/drupal/sources/pie/site/pie-wp-theme/js/farbtastic/mask.png +0 -0
- data/templates/drupal/sources/pie/site/pie-wp-theme/js/farbtastic/wheel.png +0 -0
- data/templates/drupal/sources/pie/site/pie-wp-theme/loop/archive.php +28 -0
- data/templates/drupal/sources/pie/site/pie-wp-theme/loop/loop-default.php +33 -0
- data/templates/drupal/sources/pie/site/pie-wp-theme/loop/search.php +30 -0
- data/templates/drupal/sources/pie/site/pie-wp-theme/misc/banner.php +21 -0
- data/templates/drupal/sources/pie/site/pie-wp-theme/misc/nav-posts.php +22 -0
- data/templates/drupal/sources/pie/site/pie-wp-theme/misc/no-results.php +23 -0
- data/templates/drupal/sources/pie/site/pie-wp-theme/page.php +24 -0
- data/templates/drupal/sources/pie/site/pie-wp-theme/pages/pages-default.php +30 -0
- data/templates/drupal/sources/pie/site/pie-wp-theme/posts/author.php +52 -0
- data/templates/drupal/sources/pie/site/pie-wp-theme/posts/category.php +40 -0
- data/templates/drupal/sources/pie/site/pie-wp-theme/posts/home.php +30 -0
- data/templates/drupal/sources/pie/site/pie-wp-theme/posts/posts-default.php +30 -0
- data/templates/drupal/sources/pie/site/pie-wp-theme/posts/search.php +44 -0
- data/templates/drupal/sources/pie/site/pie-wp-theme/posts/tag.php +38 -0
- data/templates/drupal/sources/pie/site/pie-wp-theme/screenshot.png +0 -0
- data/templates/drupal/sources/pie/site/pie-wp-theme/search.php +24 -0
- data/templates/drupal/sources/pie/site/pie-wp-theme/sidebar.php +24 -0
- data/templates/drupal/sources/pie/site/pie-wp-theme/sidebar/sidebar-default.php +68 -0
- data/templates/drupal/sources/pie/site/pie-wp-theme/single.php +24 -0
- data/templates/drupal/sources/pie/site/pie-wp-theme/single/single-default.php +40 -0
- data/templates/drupal/sources/pie/site/pie-wp-theme/style.css +73 -0
- data/templates/drupal/sources/pie/sources/Angle.js +36 -0
- data/templates/drupal/sources/pie/sources/BackgroundRenderer.js +381 -0
- data/templates/drupal/sources/pie/sources/BackgroundStyleInfo.js +295 -0
- data/templates/drupal/sources/pie/sources/BgPosition.js +104 -0
- data/templates/drupal/sources/pie/sources/BorderImageRenderer.js +124 -0
- data/templates/drupal/sources/pie/sources/BorderImageStyleInfo.js +146 -0
- data/templates/drupal/sources/pie/sources/BorderRadiusStyleInfo.js +68 -0
- data/templates/drupal/sources/pie/sources/BorderRenderer.js +328 -0
- data/templates/drupal/sources/pie/sources/BorderStyleInfo.js +101 -0
- data/templates/drupal/sources/pie/sources/BoundsInfo.js +56 -0
- data/templates/drupal/sources/pie/sources/BoxShadowInsetRenderer.js +31 -0
- data/templates/drupal/sources/pie/sources/BoxShadowOutsetRenderer.js +136 -0
- data/templates/drupal/sources/pie/sources/BoxShadowStyleInfo.js +67 -0
- data/templates/drupal/sources/pie/sources/Color.js +127 -0
- data/templates/drupal/sources/pie/sources/Element.js +416 -0
- data/templates/drupal/sources/pie/sources/Heartbeat.js +16 -0
- data/templates/drupal/sources/pie/sources/ImgRenderer.js +66 -0
- data/templates/drupal/sources/pie/sources/Length.js +134 -0
- data/templates/drupal/sources/pie/sources/Observable.js +44 -0
- data/templates/drupal/sources/pie/sources/OnBeforeUnload.js +15 -0
- data/templates/drupal/sources/pie/sources/OnPrint.js +25 -0
- data/templates/drupal/sources/pie/sources/OnResize.js +12 -0
- data/templates/drupal/sources/pie/sources/OnScroll.js +15 -0
- data/templates/drupal/sources/pie/sources/PIE_API.js +35 -0
- data/templates/drupal/sources/pie/sources/PIE_close.js +2 -0
- data/templates/drupal/sources/pie/sources/PIE_open.js +47 -0
- data/templates/drupal/sources/pie/sources/RendererBase.js +299 -0
- data/templates/drupal/sources/pie/sources/RootRenderer.js +112 -0
- data/templates/drupal/sources/pie/sources/StyleInfoBase.js +93 -0
- data/templates/drupal/sources/pie/sources/Tokenizer.js +274 -0
- data/templates/drupal/sources/pie/sources/Util.js +94 -0
- data/templates/drupal/sources/pie/sources/VisibilityStyleInfo.js +38 -0
- data/templates/drupal/sources/pie/sources/closure_externs.js +4 -0
- data/templates/drupal/sources/pie/sources/closure_preservefunctions.js +4 -0
- data/templates/drupal/sources/pie/sources/htc_close.txt +2 -0
- data/templates/drupal/sources/pie/sources/htc_init.js +19 -0
- data/templates/drupal/sources/pie/sources/htc_open.txt +13 -0
- data/templates/drupal/sources/pie/sources/js_close.js +1 -0
- data/templates/drupal/sources/pie/sources/js_open.js +8 -0
- data/templates/drupal/sources/pie/sources/wrappers/PIE.php +19 -0
- data/templates/drupal/sources/pie/tests/IE9 border-radius tests/border-radius-applies-to-001.htm +27 -0
- data/templates/drupal/sources/pie/tests/IE9 border-radius tests/border-radius-applies-to-002.htm +31 -0
- data/templates/drupal/sources/pie/tests/IE9 border-radius tests/border-radius-applies-to-003.htm +29 -0
- data/templates/drupal/sources/pie/tests/IE9 border-radius tests/border-radius-applies-to-004.htm +29 -0
- data/templates/drupal/sources/pie/tests/IE9 border-radius tests/border-radius-applies-to-005.htm +29 -0
- data/templates/drupal/sources/pie/tests/IE9 border-radius tests/border-radius-applies-to-006.htm +41 -0
- data/templates/drupal/sources/pie/tests/IE9 border-radius tests/border-radius-applies-to-007.htm +46 -0
- data/templates/drupal/sources/pie/tests/IE9 border-radius tests/border-radius-applies-to-008.htm +41 -0
- data/templates/drupal/sources/pie/tests/IE9 border-radius tests/border-radius-applies-to-009.htm +45 -0
- data/templates/drupal/sources/pie/tests/IE9 border-radius tests/border-radius-applies-to-010.htm +31 -0
- data/templates/drupal/sources/pie/tests/IE9 border-radius tests/border-radius-applies-to-011.htm +41 -0
- data/templates/drupal/sources/pie/tests/IE9 border-radius tests/border-radius-applies-to-012.htm +49 -0
- data/templates/drupal/sources/pie/tests/IE9 border-radius tests/border-radius-applies-to-013.htm +51 -0
- data/templates/drupal/sources/pie/tests/IE9 border-radius tests/border-radius-applies-to-014.htm +51 -0
- data/templates/drupal/sources/pie/tests/IE9 border-radius tests/border-radius-applies-to-015.htm +51 -0
- data/templates/drupal/sources/pie/tests/IE9 border-radius tests/border-radius-applies-to-016.htm +50 -0
- data/templates/drupal/sources/pie/tests/IE9 border-radius tests/border-radius-applies-to-017.htm +35 -0
- data/templates/drupal/sources/pie/tests/IE9 border-radius tests/border-radius-different-width-001.htm +77 -0
- data/templates/drupal/sources/pie/tests/IE9 border-radius tests/border-radius-initial-value-001.htm +35 -0
- data/templates/drupal/sources/pie/tests/IE9 border-radius tests/border-radius-not-inherited-001.htm +44 -0
- data/templates/drupal/sources/pie/tests/IE9 border-radius tests/border-radius-shorthand-001.htm +69 -0
- data/templates/drupal/sources/pie/tests/IE9 border-radius tests/border-radius-style-001.htm +33 -0
- data/templates/drupal/sources/pie/tests/IE9 border-radius tests/border-radius-style-002.htm +28 -0
- data/templates/drupal/sources/pie/tests/IE9 border-radius tests/border-radius-style-003.htm +28 -0
- data/templates/drupal/sources/pie/tests/IE9 border-radius tests/border-radius-style-004.htm +28 -0
- data/templates/drupal/sources/pie/tests/IE9 border-radius tests/border-radius-style-005.htm +29 -0
- data/templates/drupal/sources/pie/tests/IE9 border-radius tests/border-radius-sum-of-radii-001.htm +158 -0
- data/templates/drupal/sources/pie/tests/IE9 border-radius tests/border-radius-sum-of-radii-002.htm +92 -0
- data/templates/drupal/sources/pie/tests/IE9 border-radius tests/border-radius-with-three-values-001.htm +43 -0
- data/templates/drupal/sources/pie/tests/IE9 border-radius tests/border-radius-with-two-values-001.htm +43 -0
- data/templates/drupal/sources/pie/tests/IE9 border-radius tests/border-top-left-radius-values-001.htm +45 -0
- data/templates/drupal/sources/pie/tests/IE9 border-radius tests/border-top-left-radius-values-002.htm +40 -0
- data/templates/drupal/sources/pie/tests/IE9 border-radius tests/border-top-left-radius-values-003.htm +51 -0
- data/templates/drupal/sources/pie/tests/background1.gif +0 -0
- data/templates/drupal/sources/pie/tests/background2.gif +0 -0
- data/templates/drupal/sources/pie/tests/basic.html +188 -0
- data/templates/drupal/sources/pie/tests/border-image-test.html +52 -0
- data/templates/drupal/sources/pie/tests/border.png +0 -0
- data/templates/drupal/sources/pie/tests/border2.png +0 -0
- data/templates/drupal/sources/pie/tests/box-shadow-tests.html +166 -0
- data/templates/drupal/sources/pie/tests/buttons.html +735 -0
- data/templates/drupal/sources/pie/tests/color-names.html +32 -0
- data/templates/drupal/sources/pie/tests/gradient-tests.html +237 -0
- data/templates/drupal/sources/pie/tests/hiding-tests.html +92 -0
- data/templates/drupal/sources/pie/tests/hover-tests.html +107 -0
- data/templates/drupal/sources/pie/tests/iPhoneBackButton.png +0 -0
- data/templates/drupal/sources/pie/tests/icon-chrome.png +0 -0
- data/templates/drupal/sources/pie/tests/icon-firefox.png +0 -0
- data/templates/drupal/sources/pie/tests/icon-ie.png +0 -0
- data/templates/drupal/sources/pie/tests/icon-opera.png +0 -0
- data/templates/drupal/sources/pie/tests/icon-safari.png +0 -0
- data/templates/drupal/sources/pie/tests/img.html +63 -0
- data/templates/drupal/sources/pie/tests/margin-auto-tests.html +57 -0
- data/templates/drupal/sources/pie/tests/margin-collapsing-tests.html +77 -0
- data/templates/drupal/sources/pie/tests/misc-tests.html +257 -0
- data/templates/drupal/sources/pie/tests/multiple-bg-tests.html +100 -0
- data/templates/drupal/sources/pie/tests/peculiar-icons/Peculiar.html +372 -0
- data/templates/drupal/sources/pie/tests/peculiar-icons/pictograms.css +1934 -0
- data/templates/drupal/sources/pie/tests/peculiar-icons/style.css +106 -0
- data/templates/drupal/sources/pie/tests/photo.jpg +0 -0
- data/templates/drupal/sources/pie/tests/png-fix.html +50 -0
- data/templates/drupal/sources/pie/tests/position-fixed.html +70 -0
- data/templates/drupal/sources/pie/tests/rtl.html +190 -0
- data/templates/drupal/sources/pie/tests/sizing-tests.html +55 -0
- data/templates/drupal/sources/pie/tests/solar-system/asteroids_meteorids.png +0 -0
- data/templates/drupal/sources/pie/tests/solar-system/bg.jpg +0 -0
- data/templates/drupal/sources/pie/tests/solar-system/solar-system.html +148 -0
- data/templates/drupal/sources/pie/tests/solar-system/styles.css +447 -0
- data/templates/drupal/sources/pie/tests/stress-test.html +187 -0
- data/templates/drupal/sources/pie/tests/submitted/block.png +0 -0
- data/templates/drupal/sources/pie/tests/submitted/forum-f3-t19.html +31 -0
- data/templates/drupal/sources/pie/tests/submitted/forum-f3-t25.gif +0 -0
- data/templates/drupal/sources/pie/tests/submitted/forum-f3-t25.html +24 -0
- data/templates/drupal/sources/pie/tests/submitted/forum-f3-t70.html +136 -0
- data/templates/drupal/sources/pie/tests/submitted/issue23.html +124 -0
- data/templates/drupal/sources/pie/tests/submitted/issue41.html +164 -0
- data/templates/drupal/sources/pie/tests/submitted/issue47.html +136 -0
- data/templates/drupal/sources/pie/tests/submitted/issue75.html +94 -0
- data/templates/drupal/sources/pie/tests/submitted/tab.png +0 -0
- data/templates/drupal/sources/pie/tests/tables.html +87 -0
- data/templates/drupal/sources/pie/tests/tokenizer-tests.html +158 -0
- data/templates/drupal/sources/pie/tests/z-index-tests.html +145 -0
- data/templates/drupal/sources/pie/tools/compiler.jar +0 -0
- data/templates/drupal/sources/scrollability/README.md +38 -0
- data/templates/drupal/sources/scrollability/scrollability-min.js +1 -0
- data/templates/drupal/sources/scrollability/scrollability.js +661 -0
- data/templates/drupal/sources/scrollorama/README.md +21 -0
- data/templates/drupal/sources/scrollorama/css/normalize.css +439 -0
- data/templates/drupal/sources/scrollorama/css/style.css +257 -0
- data/templates/drupal/sources/scrollorama/index.html +167 -0
- data/templates/drupal/sources/scrollorama/js/jquery-1.7.1.min.js +4 -0
- data/templates/drupal/sources/scrollorama/js/jquery.lettering-0.6.1.min.js +2 -0
- data/templates/drupal/sources/scrollorama/js/jquery.scrollorama.js +299 -0
- data/templates/drupal/style.sass +125 -0
- data/templates/drupal/survival-kit-logo.png +0 -0
- data/templates/drupal/your-design-here/_design.sass +4 -0
- metadata +1261 -2
@@ -0,0 +1,1076 @@
|
|
1
|
+
/*
|
2
|
+
* jQuery UI Sortable @VERSION
|
3
|
+
*
|
4
|
+
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
5
|
+
* Dual licensed under the MIT or GPL Version 2 licenses.
|
6
|
+
* http://jquery.org/license
|
7
|
+
*
|
8
|
+
* http://docs.jquery.com/UI/Sortables
|
9
|
+
*
|
10
|
+
* Depends:
|
11
|
+
* jquery.ui.core.js
|
12
|
+
* jquery.ui.mouse.js
|
13
|
+
* jquery.ui.widget.js
|
14
|
+
*/
|
15
|
+
(function( $, undefined ) {
|
16
|
+
|
17
|
+
$.widget("ui.sortable", $.ui.mouse, {
|
18
|
+
widgetEventPrefix: "sort",
|
19
|
+
options: {
|
20
|
+
appendTo: "parent",
|
21
|
+
axis: false,
|
22
|
+
connectWith: false,
|
23
|
+
containment: false,
|
24
|
+
cursor: 'auto',
|
25
|
+
cursorAt: false,
|
26
|
+
dropOnEmpty: true,
|
27
|
+
forcePlaceholderSize: false,
|
28
|
+
forceHelperSize: false,
|
29
|
+
grid: false,
|
30
|
+
handle: false,
|
31
|
+
helper: "original",
|
32
|
+
items: '> *',
|
33
|
+
opacity: false,
|
34
|
+
placeholder: false,
|
35
|
+
revert: false,
|
36
|
+
scroll: true,
|
37
|
+
scrollSensitivity: 20,
|
38
|
+
scrollSpeed: 20,
|
39
|
+
scope: "default",
|
40
|
+
tolerance: "intersect",
|
41
|
+
zIndex: 1000
|
42
|
+
},
|
43
|
+
_create: function() {
|
44
|
+
|
45
|
+
var o = this.options;
|
46
|
+
this.containerCache = {};
|
47
|
+
this.element.addClass("ui-sortable");
|
48
|
+
|
49
|
+
//Get the items
|
50
|
+
this.refresh();
|
51
|
+
|
52
|
+
//Let's determine if the items are being displayed horizontally
|
53
|
+
this.floating = this.items.length ? (/left|right/).test(this.items[0].item.css('float')) || (/inline|table-cell/).test(this.items[0].item.css('display')) : false;
|
54
|
+
|
55
|
+
//Let's determine the parent's offset
|
56
|
+
this.offset = this.element.offset();
|
57
|
+
|
58
|
+
//Initialize mouse events for interaction
|
59
|
+
this._mouseInit();
|
60
|
+
|
61
|
+
},
|
62
|
+
|
63
|
+
destroy: function() {
|
64
|
+
this.element
|
65
|
+
.removeClass("ui-sortable ui-sortable-disabled")
|
66
|
+
.removeData("sortable")
|
67
|
+
.unbind(".sortable");
|
68
|
+
this._mouseDestroy();
|
69
|
+
|
70
|
+
for ( var i = this.items.length - 1; i >= 0; i-- )
|
71
|
+
this.items[i].item.removeData("sortable-item");
|
72
|
+
|
73
|
+
return this;
|
74
|
+
},
|
75
|
+
|
76
|
+
_setOption: function(key, value){
|
77
|
+
if ( key === "disabled" ) {
|
78
|
+
this.options[ key ] = value;
|
79
|
+
|
80
|
+
this.widget().toggleClass( "ui-sortable-disabled", !!value );
|
81
|
+
} else {
|
82
|
+
// Don't call widget base _setOption for disable as it adds ui-state-disabled class
|
83
|
+
$.Widget.prototype._setOption.apply(this, arguments);
|
84
|
+
}
|
85
|
+
},
|
86
|
+
|
87
|
+
_mouseCapture: function(event, overrideHandle) {
|
88
|
+
|
89
|
+
if (this.reverting) {
|
90
|
+
return false;
|
91
|
+
}
|
92
|
+
|
93
|
+
if(this.options.disabled || this.options.type == 'static') return false;
|
94
|
+
|
95
|
+
//We have to refresh the items data once first
|
96
|
+
this._refreshItems(event);
|
97
|
+
|
98
|
+
//Find out if the clicked node (or one of its parents) is a actual item in this.items
|
99
|
+
var currentItem = null, self = this, nodes = $(event.target).parents().each(function() {
|
100
|
+
if($.data(this, 'sortable-item') == self) {
|
101
|
+
currentItem = $(this);
|
102
|
+
return false;
|
103
|
+
}
|
104
|
+
});
|
105
|
+
if($.data(event.target, 'sortable-item') == self) currentItem = $(event.target);
|
106
|
+
|
107
|
+
if(!currentItem) return false;
|
108
|
+
if(this.options.handle && !overrideHandle) {
|
109
|
+
var validHandle = false;
|
110
|
+
|
111
|
+
$(this.options.handle, currentItem).find("*").andSelf().each(function() { if(this == event.target) validHandle = true; });
|
112
|
+
if(!validHandle) return false;
|
113
|
+
}
|
114
|
+
|
115
|
+
this.currentItem = currentItem;
|
116
|
+
this._removeCurrentsFromItems();
|
117
|
+
return true;
|
118
|
+
|
119
|
+
},
|
120
|
+
|
121
|
+
_mouseStart: function(event, overrideHandle, noActivation) {
|
122
|
+
|
123
|
+
var o = this.options, self = this;
|
124
|
+
this.currentContainer = this;
|
125
|
+
|
126
|
+
//We only need to call refreshPositions, because the refreshItems call has been moved to mouseCapture
|
127
|
+
this.refreshPositions();
|
128
|
+
|
129
|
+
//Create and append the visible helper
|
130
|
+
this.helper = this._createHelper(event);
|
131
|
+
|
132
|
+
//Cache the helper size
|
133
|
+
this._cacheHelperProportions();
|
134
|
+
|
135
|
+
/*
|
136
|
+
* - Position generation -
|
137
|
+
* This block generates everything position related - it's the core of draggables.
|
138
|
+
*/
|
139
|
+
|
140
|
+
//Cache the margins of the original element
|
141
|
+
this._cacheMargins();
|
142
|
+
|
143
|
+
//Get the next scrolling parent
|
144
|
+
this.scrollParent = this.helper.scrollParent();
|
145
|
+
|
146
|
+
//The element's absolute position on the page minus margins
|
147
|
+
this.offset = this.currentItem.offset();
|
148
|
+
this.offset = {
|
149
|
+
top: this.offset.top - this.margins.top,
|
150
|
+
left: this.offset.left - this.margins.left
|
151
|
+
};
|
152
|
+
|
153
|
+
// Only after we got the offset, we can change the helper's position to absolute
|
154
|
+
// TODO: Still need to figure out a way to make relative sorting possible
|
155
|
+
this.helper.css("position", "absolute");
|
156
|
+
this.cssPosition = this.helper.css("position");
|
157
|
+
|
158
|
+
$.extend(this.offset, {
|
159
|
+
click: { //Where the click happened, relative to the element
|
160
|
+
left: event.pageX - this.offset.left,
|
161
|
+
top: event.pageY - this.offset.top
|
162
|
+
},
|
163
|
+
parent: this._getParentOffset(),
|
164
|
+
relative: this._getRelativeOffset() //This is a relative to absolute position minus the actual position calculation - only used for relative positioned helper
|
165
|
+
});
|
166
|
+
|
167
|
+
//Generate the original position
|
168
|
+
this.originalPosition = this._generatePosition(event);
|
169
|
+
this.originalPageX = event.pageX;
|
170
|
+
this.originalPageY = event.pageY;
|
171
|
+
|
172
|
+
//Adjust the mouse offset relative to the helper if 'cursorAt' is supplied
|
173
|
+
(o.cursorAt && this._adjustOffsetFromHelper(o.cursorAt));
|
174
|
+
|
175
|
+
//Cache the former DOM position
|
176
|
+
this.domPosition = { prev: this.currentItem.prev()[0], parent: this.currentItem.parent()[0] };
|
177
|
+
|
178
|
+
//If the helper is not the original, hide the original so it's not playing any role during the drag, won't cause anything bad this way
|
179
|
+
if(this.helper[0] != this.currentItem[0]) {
|
180
|
+
this.currentItem.hide();
|
181
|
+
}
|
182
|
+
|
183
|
+
//Create the placeholder
|
184
|
+
this._createPlaceholder();
|
185
|
+
|
186
|
+
//Set a containment if given in the options
|
187
|
+
if(o.containment)
|
188
|
+
this._setContainment();
|
189
|
+
|
190
|
+
if(o.cursor) { // cursor option
|
191
|
+
if ($('body').css("cursor")) this._storedCursor = $('body').css("cursor");
|
192
|
+
$('body').css("cursor", o.cursor);
|
193
|
+
}
|
194
|
+
|
195
|
+
if(o.opacity) { // opacity option
|
196
|
+
if (this.helper.css("opacity")) this._storedOpacity = this.helper.css("opacity");
|
197
|
+
this.helper.css("opacity", o.opacity);
|
198
|
+
}
|
199
|
+
|
200
|
+
if(o.zIndex) { // zIndex option
|
201
|
+
if (this.helper.css("zIndex")) this._storedZIndex = this.helper.css("zIndex");
|
202
|
+
this.helper.css("zIndex", o.zIndex);
|
203
|
+
}
|
204
|
+
|
205
|
+
//Prepare scrolling
|
206
|
+
if(this.scrollParent[0] != document && this.scrollParent[0].tagName != 'HTML')
|
207
|
+
this.overflowOffset = this.scrollParent.offset();
|
208
|
+
|
209
|
+
//Call callbacks
|
210
|
+
this._trigger("start", event, this._uiHash());
|
211
|
+
|
212
|
+
//Recache the helper size
|
213
|
+
if(!this._preserveHelperProportions)
|
214
|
+
this._cacheHelperProportions();
|
215
|
+
|
216
|
+
|
217
|
+
//Post 'activate' events to possible containers
|
218
|
+
if(!noActivation) {
|
219
|
+
for (var i = this.containers.length - 1; i >= 0; i--) { this.containers[i]._trigger("activate", event, self._uiHash(this)); }
|
220
|
+
}
|
221
|
+
|
222
|
+
//Prepare possible droppables
|
223
|
+
if($.ui.ddmanager)
|
224
|
+
$.ui.ddmanager.current = this;
|
225
|
+
|
226
|
+
if ($.ui.ddmanager && !o.dropBehaviour)
|
227
|
+
$.ui.ddmanager.prepareOffsets(this, event);
|
228
|
+
|
229
|
+
this.dragging = true;
|
230
|
+
|
231
|
+
this.helper.addClass("ui-sortable-helper");
|
232
|
+
this._mouseDrag(event); //Execute the drag once - this causes the helper not to be visible before getting its correct position
|
233
|
+
return true;
|
234
|
+
|
235
|
+
},
|
236
|
+
|
237
|
+
_mouseDrag: function(event) {
|
238
|
+
|
239
|
+
//Compute the helpers position
|
240
|
+
this.position = this._generatePosition(event);
|
241
|
+
this.positionAbs = this._convertPositionTo("absolute");
|
242
|
+
|
243
|
+
if (!this.lastPositionAbs) {
|
244
|
+
this.lastPositionAbs = this.positionAbs;
|
245
|
+
}
|
246
|
+
|
247
|
+
//Do scrolling
|
248
|
+
if(this.options.scroll) {
|
249
|
+
var o = this.options, scrolled = false;
|
250
|
+
if(this.scrollParent[0] != document && this.scrollParent[0].tagName != 'HTML') {
|
251
|
+
|
252
|
+
if((this.overflowOffset.top + this.scrollParent[0].offsetHeight) - event.pageY < o.scrollSensitivity)
|
253
|
+
this.scrollParent[0].scrollTop = scrolled = this.scrollParent[0].scrollTop + o.scrollSpeed;
|
254
|
+
else if(event.pageY - this.overflowOffset.top < o.scrollSensitivity)
|
255
|
+
this.scrollParent[0].scrollTop = scrolled = this.scrollParent[0].scrollTop - o.scrollSpeed;
|
256
|
+
|
257
|
+
if((this.overflowOffset.left + this.scrollParent[0].offsetWidth) - event.pageX < o.scrollSensitivity)
|
258
|
+
this.scrollParent[0].scrollLeft = scrolled = this.scrollParent[0].scrollLeft + o.scrollSpeed;
|
259
|
+
else if(event.pageX - this.overflowOffset.left < o.scrollSensitivity)
|
260
|
+
this.scrollParent[0].scrollLeft = scrolled = this.scrollParent[0].scrollLeft - o.scrollSpeed;
|
261
|
+
|
262
|
+
} else {
|
263
|
+
|
264
|
+
if(event.pageY - $(document).scrollTop() < o.scrollSensitivity)
|
265
|
+
scrolled = $(document).scrollTop($(document).scrollTop() - o.scrollSpeed);
|
266
|
+
else if($(window).height() - (event.pageY - $(document).scrollTop()) < o.scrollSensitivity)
|
267
|
+
scrolled = $(document).scrollTop($(document).scrollTop() + o.scrollSpeed);
|
268
|
+
|
269
|
+
if(event.pageX - $(document).scrollLeft() < o.scrollSensitivity)
|
270
|
+
scrolled = $(document).scrollLeft($(document).scrollLeft() - o.scrollSpeed);
|
271
|
+
else if($(window).width() - (event.pageX - $(document).scrollLeft()) < o.scrollSensitivity)
|
272
|
+
scrolled = $(document).scrollLeft($(document).scrollLeft() + o.scrollSpeed);
|
273
|
+
|
274
|
+
}
|
275
|
+
|
276
|
+
if(scrolled !== false && $.ui.ddmanager && !o.dropBehaviour)
|
277
|
+
$.ui.ddmanager.prepareOffsets(this, event);
|
278
|
+
}
|
279
|
+
|
280
|
+
//Regenerate the absolute position used for position checks
|
281
|
+
this.positionAbs = this._convertPositionTo("absolute");
|
282
|
+
|
283
|
+
//Set the helper position
|
284
|
+
if(!this.options.axis || this.options.axis != "y") this.helper[0].style.left = this.position.left+'px';
|
285
|
+
if(!this.options.axis || this.options.axis != "x") this.helper[0].style.top = this.position.top+'px';
|
286
|
+
|
287
|
+
//Rearrange
|
288
|
+
for (var i = this.items.length - 1; i >= 0; i--) {
|
289
|
+
|
290
|
+
//Cache variables and intersection, continue if no intersection
|
291
|
+
var item = this.items[i], itemElement = item.item[0], intersection = this._intersectsWithPointer(item);
|
292
|
+
if (!intersection) continue;
|
293
|
+
|
294
|
+
if(itemElement != this.currentItem[0] //cannot intersect with itself
|
295
|
+
&& this.placeholder[intersection == 1 ? "next" : "prev"]()[0] != itemElement //no useless actions that have been done before
|
296
|
+
&& !$.contains(this.placeholder[0], itemElement) //no action if the item moved is the parent of the item checked
|
297
|
+
&& (this.options.type == 'semi-dynamic' ? !$.contains(this.element[0], itemElement) : true)
|
298
|
+
//&& itemElement.parentNode == this.placeholder[0].parentNode // only rearrange items within the same container
|
299
|
+
) {
|
300
|
+
|
301
|
+
this.direction = intersection == 1 ? "down" : "up";
|
302
|
+
|
303
|
+
if (this.options.tolerance == "pointer" || this._intersectsWithSides(item)) {
|
304
|
+
this._rearrange(event, item);
|
305
|
+
} else {
|
306
|
+
break;
|
307
|
+
}
|
308
|
+
|
309
|
+
this._trigger("change", event, this._uiHash());
|
310
|
+
break;
|
311
|
+
}
|
312
|
+
}
|
313
|
+
|
314
|
+
//Post events to containers
|
315
|
+
this._contactContainers(event);
|
316
|
+
|
317
|
+
//Interconnect with droppables
|
318
|
+
if($.ui.ddmanager) $.ui.ddmanager.drag(this, event);
|
319
|
+
|
320
|
+
//Call callbacks
|
321
|
+
this._trigger('sort', event, this._uiHash());
|
322
|
+
|
323
|
+
this.lastPositionAbs = this.positionAbs;
|
324
|
+
return false;
|
325
|
+
|
326
|
+
},
|
327
|
+
|
328
|
+
_mouseStop: function(event, noPropagation) {
|
329
|
+
|
330
|
+
if(!event) return;
|
331
|
+
|
332
|
+
//If we are using droppables, inform the manager about the drop
|
333
|
+
if ($.ui.ddmanager && !this.options.dropBehaviour)
|
334
|
+
$.ui.ddmanager.drop(this, event);
|
335
|
+
|
336
|
+
if(this.options.revert) {
|
337
|
+
var self = this;
|
338
|
+
var cur = self.placeholder.offset();
|
339
|
+
|
340
|
+
self.reverting = true;
|
341
|
+
|
342
|
+
$(this.helper).animate({
|
343
|
+
left: cur.left - this.offset.parent.left - self.margins.left + (this.offsetParent[0] == document.body ? 0 : this.offsetParent[0].scrollLeft),
|
344
|
+
top: cur.top - this.offset.parent.top - self.margins.top + (this.offsetParent[0] == document.body ? 0 : this.offsetParent[0].scrollTop)
|
345
|
+
}, parseInt(this.options.revert, 10) || 500, function() {
|
346
|
+
self._clear(event);
|
347
|
+
});
|
348
|
+
} else {
|
349
|
+
this._clear(event, noPropagation);
|
350
|
+
}
|
351
|
+
|
352
|
+
return false;
|
353
|
+
|
354
|
+
},
|
355
|
+
|
356
|
+
cancel: function() {
|
357
|
+
|
358
|
+
var self = this;
|
359
|
+
|
360
|
+
if(this.dragging) {
|
361
|
+
|
362
|
+
this._mouseUp({ target: null });
|
363
|
+
|
364
|
+
if(this.options.helper == "original")
|
365
|
+
this.currentItem.css(this._storedCSS).removeClass("ui-sortable-helper");
|
366
|
+
else
|
367
|
+
this.currentItem.show();
|
368
|
+
|
369
|
+
//Post deactivating events to containers
|
370
|
+
for (var i = this.containers.length - 1; i >= 0; i--){
|
371
|
+
this.containers[i]._trigger("deactivate", null, self._uiHash(this));
|
372
|
+
if(this.containers[i].containerCache.over) {
|
373
|
+
this.containers[i]._trigger("out", null, self._uiHash(this));
|
374
|
+
this.containers[i].containerCache.over = 0;
|
375
|
+
}
|
376
|
+
}
|
377
|
+
|
378
|
+
}
|
379
|
+
|
380
|
+
if (this.placeholder) {
|
381
|
+
//$(this.placeholder[0]).remove(); would have been the jQuery way - unfortunately, it unbinds ALL events from the original node!
|
382
|
+
if(this.placeholder[0].parentNode) this.placeholder[0].parentNode.removeChild(this.placeholder[0]);
|
383
|
+
if(this.options.helper != "original" && this.helper && this.helper[0].parentNode) this.helper.remove();
|
384
|
+
|
385
|
+
$.extend(this, {
|
386
|
+
helper: null,
|
387
|
+
dragging: false,
|
388
|
+
reverting: false,
|
389
|
+
_noFinalSort: null
|
390
|
+
});
|
391
|
+
|
392
|
+
if(this.domPosition.prev) {
|
393
|
+
$(this.domPosition.prev).after(this.currentItem);
|
394
|
+
} else {
|
395
|
+
$(this.domPosition.parent).prepend(this.currentItem);
|
396
|
+
}
|
397
|
+
}
|
398
|
+
|
399
|
+
return this;
|
400
|
+
|
401
|
+
},
|
402
|
+
|
403
|
+
serialize: function(o) {
|
404
|
+
|
405
|
+
var items = this._getItemsAsjQuery(o && o.connected);
|
406
|
+
var str = []; o = o || {};
|
407
|
+
|
408
|
+
$(items).each(function() {
|
409
|
+
var res = ($(o.item || this).attr(o.attribute || 'id') || '').match(o.expression || (/(.+)[-=_](.+)/));
|
410
|
+
if(res) str.push((o.key || res[1]+'[]')+'='+(o.key && o.expression ? res[1] : res[2]));
|
411
|
+
});
|
412
|
+
|
413
|
+
if(!str.length && o.key) {
|
414
|
+
str.push(o.key + '=');
|
415
|
+
}
|
416
|
+
|
417
|
+
return str.join('&');
|
418
|
+
|
419
|
+
},
|
420
|
+
|
421
|
+
toArray: function(o) {
|
422
|
+
|
423
|
+
var items = this._getItemsAsjQuery(o && o.connected);
|
424
|
+
var ret = []; o = o || {};
|
425
|
+
|
426
|
+
items.each(function() { ret.push($(o.item || this).attr(o.attribute || 'id') || ''); });
|
427
|
+
return ret;
|
428
|
+
|
429
|
+
},
|
430
|
+
|
431
|
+
/* Be careful with the following core functions */
|
432
|
+
_intersectsWith: function(item) {
|
433
|
+
|
434
|
+
var x1 = this.positionAbs.left,
|
435
|
+
x2 = x1 + this.helperProportions.width,
|
436
|
+
y1 = this.positionAbs.top,
|
437
|
+
y2 = y1 + this.helperProportions.height;
|
438
|
+
|
439
|
+
var l = item.left,
|
440
|
+
r = l + item.width,
|
441
|
+
t = item.top,
|
442
|
+
b = t + item.height;
|
443
|
+
|
444
|
+
var dyClick = this.offset.click.top,
|
445
|
+
dxClick = this.offset.click.left;
|
446
|
+
|
447
|
+
var isOverElement = (y1 + dyClick) > t && (y1 + dyClick) < b && (x1 + dxClick) > l && (x1 + dxClick) < r;
|
448
|
+
|
449
|
+
if( this.options.tolerance == "pointer"
|
450
|
+
|| this.options.forcePointerForContainers
|
451
|
+
|| (this.options.tolerance != "pointer" && this.helperProportions[this.floating ? 'width' : 'height'] > item[this.floating ? 'width' : 'height'])
|
452
|
+
) {
|
453
|
+
return isOverElement;
|
454
|
+
} else {
|
455
|
+
|
456
|
+
return (l < x1 + (this.helperProportions.width / 2) // Right Half
|
457
|
+
&& x2 - (this.helperProportions.width / 2) < r // Left Half
|
458
|
+
&& t < y1 + (this.helperProportions.height / 2) // Bottom Half
|
459
|
+
&& y2 - (this.helperProportions.height / 2) < b ); // Top Half
|
460
|
+
|
461
|
+
}
|
462
|
+
},
|
463
|
+
|
464
|
+
_intersectsWithPointer: function(item) {
|
465
|
+
|
466
|
+
var isOverElementHeight = $.ui.isOverAxis(this.positionAbs.top + this.offset.click.top, item.top, item.height),
|
467
|
+
isOverElementWidth = $.ui.isOverAxis(this.positionAbs.left + this.offset.click.left, item.left, item.width),
|
468
|
+
isOverElement = isOverElementHeight && isOverElementWidth,
|
469
|
+
verticalDirection = this._getDragVerticalDirection(),
|
470
|
+
horizontalDirection = this._getDragHorizontalDirection();
|
471
|
+
|
472
|
+
if (!isOverElement)
|
473
|
+
return false;
|
474
|
+
|
475
|
+
return this.floating ?
|
476
|
+
( ((horizontalDirection && horizontalDirection == "right") || verticalDirection == "down") ? 2 : 1 )
|
477
|
+
: ( verticalDirection && (verticalDirection == "down" ? 2 : 1) );
|
478
|
+
|
479
|
+
},
|
480
|
+
|
481
|
+
_intersectsWithSides: function(item) {
|
482
|
+
|
483
|
+
var isOverBottomHalf = $.ui.isOverAxis(this.positionAbs.top + this.offset.click.top, item.top + (item.height/2), item.height),
|
484
|
+
isOverRightHalf = $.ui.isOverAxis(this.positionAbs.left + this.offset.click.left, item.left + (item.width/2), item.width),
|
485
|
+
verticalDirection = this._getDragVerticalDirection(),
|
486
|
+
horizontalDirection = this._getDragHorizontalDirection();
|
487
|
+
|
488
|
+
if (this.floating && horizontalDirection) {
|
489
|
+
return ((horizontalDirection == "right" && isOverRightHalf) || (horizontalDirection == "left" && !isOverRightHalf));
|
490
|
+
} else {
|
491
|
+
return verticalDirection && ((verticalDirection == "down" && isOverBottomHalf) || (verticalDirection == "up" && !isOverBottomHalf));
|
492
|
+
}
|
493
|
+
|
494
|
+
},
|
495
|
+
|
496
|
+
_getDragVerticalDirection: function() {
|
497
|
+
var delta = this.positionAbs.top - this.lastPositionAbs.top;
|
498
|
+
return delta != 0 && (delta > 0 ? "down" : "up");
|
499
|
+
},
|
500
|
+
|
501
|
+
_getDragHorizontalDirection: function() {
|
502
|
+
var delta = this.positionAbs.left - this.lastPositionAbs.left;
|
503
|
+
return delta != 0 && (delta > 0 ? "right" : "left");
|
504
|
+
},
|
505
|
+
|
506
|
+
refresh: function(event) {
|
507
|
+
this._refreshItems(event);
|
508
|
+
this.refreshPositions();
|
509
|
+
return this;
|
510
|
+
},
|
511
|
+
|
512
|
+
_connectWith: function() {
|
513
|
+
var options = this.options;
|
514
|
+
return options.connectWith.constructor == String
|
515
|
+
? [options.connectWith]
|
516
|
+
: options.connectWith;
|
517
|
+
},
|
518
|
+
|
519
|
+
_getItemsAsjQuery: function(connected) {
|
520
|
+
|
521
|
+
var self = this;
|
522
|
+
var items = [];
|
523
|
+
var queries = [];
|
524
|
+
var connectWith = this._connectWith();
|
525
|
+
|
526
|
+
if(connectWith && connected) {
|
527
|
+
for (var i = connectWith.length - 1; i >= 0; i--){
|
528
|
+
var cur = $(connectWith[i]);
|
529
|
+
for (var j = cur.length - 1; j >= 0; j--){
|
530
|
+
var inst = $.data(cur[j], 'sortable');
|
531
|
+
if(inst && inst != this && !inst.options.disabled) {
|
532
|
+
queries.push([$.isFunction(inst.options.items) ? inst.options.items.call(inst.element) : $(inst.options.items, inst.element).not(".ui-sortable-helper").not('.ui-sortable-placeholder'), inst]);
|
533
|
+
}
|
534
|
+
};
|
535
|
+
};
|
536
|
+
}
|
537
|
+
|
538
|
+
queries.push([$.isFunction(this.options.items) ? this.options.items.call(this.element, null, { options: this.options, item: this.currentItem }) : $(this.options.items, this.element).not(".ui-sortable-helper").not('.ui-sortable-placeholder'), this]);
|
539
|
+
|
540
|
+
for (var i = queries.length - 1; i >= 0; i--){
|
541
|
+
queries[i][0].each(function() {
|
542
|
+
items.push(this);
|
543
|
+
});
|
544
|
+
};
|
545
|
+
|
546
|
+
return $(items);
|
547
|
+
|
548
|
+
},
|
549
|
+
|
550
|
+
_removeCurrentsFromItems: function() {
|
551
|
+
|
552
|
+
var list = this.currentItem.find(":data(sortable-item)");
|
553
|
+
|
554
|
+
for (var i=0; i < this.items.length; i++) {
|
555
|
+
|
556
|
+
for (var j=0; j < list.length; j++) {
|
557
|
+
if(list[j] == this.items[i].item[0])
|
558
|
+
this.items.splice(i,1);
|
559
|
+
};
|
560
|
+
|
561
|
+
};
|
562
|
+
|
563
|
+
},
|
564
|
+
|
565
|
+
_refreshItems: function(event) {
|
566
|
+
|
567
|
+
this.items = [];
|
568
|
+
this.containers = [this];
|
569
|
+
var items = this.items;
|
570
|
+
var self = this;
|
571
|
+
var queries = [[$.isFunction(this.options.items) ? this.options.items.call(this.element[0], event, { item: this.currentItem }) : $(this.options.items, this.element), this]];
|
572
|
+
var connectWith = this._connectWith();
|
573
|
+
|
574
|
+
if(connectWith) {
|
575
|
+
for (var i = connectWith.length - 1; i >= 0; i--){
|
576
|
+
var cur = $(connectWith[i]);
|
577
|
+
for (var j = cur.length - 1; j >= 0; j--){
|
578
|
+
var inst = $.data(cur[j], 'sortable');
|
579
|
+
if(inst && inst != this && !inst.options.disabled) {
|
580
|
+
queries.push([$.isFunction(inst.options.items) ? inst.options.items.call(inst.element[0], event, { item: this.currentItem }) : $(inst.options.items, inst.element), inst]);
|
581
|
+
this.containers.push(inst);
|
582
|
+
}
|
583
|
+
};
|
584
|
+
};
|
585
|
+
}
|
586
|
+
|
587
|
+
for (var i = queries.length - 1; i >= 0; i--) {
|
588
|
+
var targetData = queries[i][1];
|
589
|
+
var _queries = queries[i][0];
|
590
|
+
|
591
|
+
for (var j=0, queriesLength = _queries.length; j < queriesLength; j++) {
|
592
|
+
var item = $(_queries[j]);
|
593
|
+
|
594
|
+
item.data('sortable-item', targetData); // Data for target checking (mouse manager)
|
595
|
+
|
596
|
+
items.push({
|
597
|
+
item: item,
|
598
|
+
instance: targetData,
|
599
|
+
width: 0, height: 0,
|
600
|
+
left: 0, top: 0
|
601
|
+
});
|
602
|
+
};
|
603
|
+
};
|
604
|
+
|
605
|
+
},
|
606
|
+
|
607
|
+
refreshPositions: function(fast) {
|
608
|
+
|
609
|
+
//This has to be redone because due to the item being moved out/into the offsetParent, the offsetParent's position will change
|
610
|
+
if(this.offsetParent && this.helper) {
|
611
|
+
this.offset.parent = this._getParentOffset();
|
612
|
+
}
|
613
|
+
|
614
|
+
for (var i = this.items.length - 1; i >= 0; i--){
|
615
|
+
var item = this.items[i];
|
616
|
+
|
617
|
+
//We ignore calculating positions of all connected containers when we're not over them
|
618
|
+
if(item.instance != this.currentContainer && this.currentContainer && item.item[0] != this.currentItem[0])
|
619
|
+
continue;
|
620
|
+
|
621
|
+
var t = this.options.toleranceElement ? $(this.options.toleranceElement, item.item) : item.item;
|
622
|
+
|
623
|
+
if (!fast) {
|
624
|
+
item.width = t.outerWidth();
|
625
|
+
item.height = t.outerHeight();
|
626
|
+
}
|
627
|
+
|
628
|
+
var p = t.offset();
|
629
|
+
item.left = p.left;
|
630
|
+
item.top = p.top;
|
631
|
+
};
|
632
|
+
|
633
|
+
if(this.options.custom && this.options.custom.refreshContainers) {
|
634
|
+
this.options.custom.refreshContainers.call(this);
|
635
|
+
} else {
|
636
|
+
for (var i = this.containers.length - 1; i >= 0; i--){
|
637
|
+
var p = this.containers[i].element.offset();
|
638
|
+
this.containers[i].containerCache.left = p.left;
|
639
|
+
this.containers[i].containerCache.top = p.top;
|
640
|
+
this.containers[i].containerCache.width = this.containers[i].element.outerWidth();
|
641
|
+
this.containers[i].containerCache.height = this.containers[i].element.outerHeight();
|
642
|
+
};
|
643
|
+
}
|
644
|
+
|
645
|
+
return this;
|
646
|
+
},
|
647
|
+
|
648
|
+
_createPlaceholder: function(that) {
|
649
|
+
|
650
|
+
var self = that || this, o = self.options;
|
651
|
+
|
652
|
+
if(!o.placeholder || o.placeholder.constructor == String) {
|
653
|
+
var className = o.placeholder;
|
654
|
+
o.placeholder = {
|
655
|
+
element: function() {
|
656
|
+
|
657
|
+
var el = $(document.createElement(self.currentItem[0].nodeName))
|
658
|
+
.addClass(className || self.currentItem[0].className+" ui-sortable-placeholder")
|
659
|
+
.removeClass("ui-sortable-helper")[0];
|
660
|
+
|
661
|
+
if(!className)
|
662
|
+
el.style.visibility = "hidden";
|
663
|
+
|
664
|
+
return el;
|
665
|
+
},
|
666
|
+
update: function(container, p) {
|
667
|
+
|
668
|
+
// 1. If a className is set as 'placeholder option, we don't force sizes - the class is responsible for that
|
669
|
+
// 2. The option 'forcePlaceholderSize can be enabled to force it even if a class name is specified
|
670
|
+
if(className && !o.forcePlaceholderSize) return;
|
671
|
+
|
672
|
+
//If the element doesn't have a actual height by itself (without styles coming from a stylesheet), it receives the inline height from the dragged item
|
673
|
+
if(!p.height()) { p.height(self.currentItem.innerHeight() - parseInt(self.currentItem.css('paddingTop')||0, 10) - parseInt(self.currentItem.css('paddingBottom')||0, 10)); };
|
674
|
+
if(!p.width()) { p.width(self.currentItem.innerWidth() - parseInt(self.currentItem.css('paddingLeft')||0, 10) - parseInt(self.currentItem.css('paddingRight')||0, 10)); };
|
675
|
+
}
|
676
|
+
};
|
677
|
+
}
|
678
|
+
|
679
|
+
//Create the placeholder
|
680
|
+
self.placeholder = $(o.placeholder.element.call(self.element, self.currentItem));
|
681
|
+
|
682
|
+
//Append it after the actual current item
|
683
|
+
self.currentItem.after(self.placeholder);
|
684
|
+
|
685
|
+
//Update the size of the placeholder (TODO: Logic to fuzzy, see line 316/317)
|
686
|
+
o.placeholder.update(self, self.placeholder);
|
687
|
+
|
688
|
+
},
|
689
|
+
|
690
|
+
_contactContainers: function(event) {
|
691
|
+
|
692
|
+
// get innermost container that intersects with item
|
693
|
+
var innermostContainer = null, innermostIndex = null;
|
694
|
+
|
695
|
+
|
696
|
+
for (var i = this.containers.length - 1; i >= 0; i--){
|
697
|
+
|
698
|
+
// never consider a container that's located within the item itself
|
699
|
+
if($.contains(this.currentItem[0], this.containers[i].element[0]))
|
700
|
+
continue;
|
701
|
+
|
702
|
+
if(this._intersectsWith(this.containers[i].containerCache)) {
|
703
|
+
|
704
|
+
// if we've already found a container and it's more "inner" than this, then continue
|
705
|
+
if(innermostContainer && $.contains(this.containers[i].element[0], innermostContainer.element[0]))
|
706
|
+
continue;
|
707
|
+
|
708
|
+
innermostContainer = this.containers[i];
|
709
|
+
innermostIndex = i;
|
710
|
+
|
711
|
+
} else {
|
712
|
+
// container doesn't intersect. trigger "out" event if necessary
|
713
|
+
if(this.containers[i].containerCache.over) {
|
714
|
+
this.containers[i]._trigger("out", event, this._uiHash(this));
|
715
|
+
this.containers[i].containerCache.over = 0;
|
716
|
+
}
|
717
|
+
}
|
718
|
+
|
719
|
+
}
|
720
|
+
|
721
|
+
// if no intersecting containers found, return
|
722
|
+
if(!innermostContainer) return;
|
723
|
+
|
724
|
+
// move the item into the container if it's not there already
|
725
|
+
if(this.containers.length === 1) {
|
726
|
+
this.containers[innermostIndex]._trigger("over", event, this._uiHash(this));
|
727
|
+
this.containers[innermostIndex].containerCache.over = 1;
|
728
|
+
} else if(this.currentContainer != this.containers[innermostIndex]) {
|
729
|
+
|
730
|
+
//When entering a new container, we will find the item with the least distance and append our item near it
|
731
|
+
var dist = 10000; var itemWithLeastDistance = null; var base = this.positionAbs[this.containers[innermostIndex].floating ? 'left' : 'top'];
|
732
|
+
for (var j = this.items.length - 1; j >= 0; j--) {
|
733
|
+
if(!$.contains(this.containers[innermostIndex].element[0], this.items[j].item[0])) continue;
|
734
|
+
var cur = this.items[j][this.containers[innermostIndex].floating ? 'left' : 'top'];
|
735
|
+
if(Math.abs(cur - base) < dist) {
|
736
|
+
dist = Math.abs(cur - base); itemWithLeastDistance = this.items[j];
|
737
|
+
}
|
738
|
+
}
|
739
|
+
|
740
|
+
if(!itemWithLeastDistance && !this.options.dropOnEmpty) //Check if dropOnEmpty is enabled
|
741
|
+
return;
|
742
|
+
|
743
|
+
this.currentContainer = this.containers[innermostIndex];
|
744
|
+
itemWithLeastDistance ? this._rearrange(event, itemWithLeastDistance, null, true) : this._rearrange(event, null, this.containers[innermostIndex].element, true);
|
745
|
+
this._trigger("change", event, this._uiHash());
|
746
|
+
this.containers[innermostIndex]._trigger("change", event, this._uiHash(this));
|
747
|
+
|
748
|
+
//Update the placeholder
|
749
|
+
this.options.placeholder.update(this.currentContainer, this.placeholder);
|
750
|
+
|
751
|
+
this.containers[innermostIndex]._trigger("over", event, this._uiHash(this));
|
752
|
+
this.containers[innermostIndex].containerCache.over = 1;
|
753
|
+
}
|
754
|
+
|
755
|
+
|
756
|
+
},
|
757
|
+
|
758
|
+
_createHelper: function(event) {
|
759
|
+
|
760
|
+
var o = this.options;
|
761
|
+
var helper = $.isFunction(o.helper) ? $(o.helper.apply(this.element[0], [event, this.currentItem])) : (o.helper == 'clone' ? this.currentItem.clone() : this.currentItem);
|
762
|
+
|
763
|
+
if(!helper.parents('body').length) //Add the helper to the DOM if that didn't happen already
|
764
|
+
$(o.appendTo != 'parent' ? o.appendTo : this.currentItem[0].parentNode)[0].appendChild(helper[0]);
|
765
|
+
|
766
|
+
if(helper[0] == this.currentItem[0])
|
767
|
+
this._storedCSS = { width: this.currentItem[0].style.width, height: this.currentItem[0].style.height, position: this.currentItem.css("position"), top: this.currentItem.css("top"), left: this.currentItem.css("left") };
|
768
|
+
|
769
|
+
if(helper[0].style.width == '' || o.forceHelperSize) helper.width(this.currentItem.width());
|
770
|
+
if(helper[0].style.height == '' || o.forceHelperSize) helper.height(this.currentItem.height());
|
771
|
+
|
772
|
+
return helper;
|
773
|
+
|
774
|
+
},
|
775
|
+
|
776
|
+
_adjustOffsetFromHelper: function(obj) {
|
777
|
+
if (typeof obj == 'string') {
|
778
|
+
obj = obj.split(' ');
|
779
|
+
}
|
780
|
+
if ($.isArray(obj)) {
|
781
|
+
obj = {left: +obj[0], top: +obj[1] || 0};
|
782
|
+
}
|
783
|
+
if ('left' in obj) {
|
784
|
+
this.offset.click.left = obj.left + this.margins.left;
|
785
|
+
}
|
786
|
+
if ('right' in obj) {
|
787
|
+
this.offset.click.left = this.helperProportions.width - obj.right + this.margins.left;
|
788
|
+
}
|
789
|
+
if ('top' in obj) {
|
790
|
+
this.offset.click.top = obj.top + this.margins.top;
|
791
|
+
}
|
792
|
+
if ('bottom' in obj) {
|
793
|
+
this.offset.click.top = this.helperProportions.height - obj.bottom + this.margins.top;
|
794
|
+
}
|
795
|
+
},
|
796
|
+
|
797
|
+
_getParentOffset: function() {
|
798
|
+
|
799
|
+
|
800
|
+
//Get the offsetParent and cache its position
|
801
|
+
this.offsetParent = this.helper.offsetParent();
|
802
|
+
var po = this.offsetParent.offset();
|
803
|
+
|
804
|
+
// This is a special case where we need to modify a offset calculated on start, since the following happened:
|
805
|
+
// 1. The position of the helper is absolute, so it's position is calculated based on the next positioned parent
|
806
|
+
// 2. The actual offset parent is a child of the scroll parent, and the scroll parent isn't the document, which means that
|
807
|
+
// the scroll is included in the initial calculation of the offset of the parent, and never recalculated upon drag
|
808
|
+
if(this.cssPosition == 'absolute' && this.scrollParent[0] != document && $.contains(this.scrollParent[0], this.offsetParent[0])) {
|
809
|
+
po.left += this.scrollParent.scrollLeft();
|
810
|
+
po.top += this.scrollParent.scrollTop();
|
811
|
+
}
|
812
|
+
|
813
|
+
if((this.offsetParent[0] == document.body) //This needs to be actually done for all browsers, since pageX/pageY includes this information
|
814
|
+
|| (this.offsetParent[0].tagName && this.offsetParent[0].tagName.toLowerCase() == 'html' && $.browser.msie)) //Ugly IE fix
|
815
|
+
po = { top: 0, left: 0 };
|
816
|
+
|
817
|
+
return {
|
818
|
+
top: po.top + (parseInt(this.offsetParent.css("borderTopWidth"),10) || 0),
|
819
|
+
left: po.left + (parseInt(this.offsetParent.css("borderLeftWidth"),10) || 0)
|
820
|
+
};
|
821
|
+
|
822
|
+
},
|
823
|
+
|
824
|
+
_getRelativeOffset: function() {
|
825
|
+
|
826
|
+
if(this.cssPosition == "relative") {
|
827
|
+
var p = this.currentItem.position();
|
828
|
+
return {
|
829
|
+
top: p.top - (parseInt(this.helper.css("top"),10) || 0) + this.scrollParent.scrollTop(),
|
830
|
+
left: p.left - (parseInt(this.helper.css("left"),10) || 0) + this.scrollParent.scrollLeft()
|
831
|
+
};
|
832
|
+
} else {
|
833
|
+
return { top: 0, left: 0 };
|
834
|
+
}
|
835
|
+
|
836
|
+
},
|
837
|
+
|
838
|
+
_cacheMargins: function() {
|
839
|
+
this.margins = {
|
840
|
+
left: (parseInt(this.currentItem.css("marginLeft"),10) || 0),
|
841
|
+
top: (parseInt(this.currentItem.css("marginTop"),10) || 0)
|
842
|
+
};
|
843
|
+
},
|
844
|
+
|
845
|
+
_cacheHelperProportions: function() {
|
846
|
+
this.helperProportions = {
|
847
|
+
width: this.helper.outerWidth(),
|
848
|
+
height: this.helper.outerHeight()
|
849
|
+
};
|
850
|
+
},
|
851
|
+
|
852
|
+
_setContainment: function() {
|
853
|
+
|
854
|
+
var o = this.options;
|
855
|
+
if(o.containment == 'parent') o.containment = this.helper[0].parentNode;
|
856
|
+
if(o.containment == 'document' || o.containment == 'window') this.containment = [
|
857
|
+
0 - this.offset.relative.left - this.offset.parent.left,
|
858
|
+
0 - this.offset.relative.top - this.offset.parent.top,
|
859
|
+
$(o.containment == 'document' ? document : window).width() - this.helperProportions.width - this.margins.left,
|
860
|
+
($(o.containment == 'document' ? document : window).height() || document.body.parentNode.scrollHeight) - this.helperProportions.height - this.margins.top
|
861
|
+
];
|
862
|
+
|
863
|
+
if(!(/^(document|window|parent)$/).test(o.containment)) {
|
864
|
+
var ce = $(o.containment)[0];
|
865
|
+
var co = $(o.containment).offset();
|
866
|
+
var over = ($(ce).css("overflow") != 'hidden');
|
867
|
+
|
868
|
+
this.containment = [
|
869
|
+
co.left + (parseInt($(ce).css("borderLeftWidth"),10) || 0) + (parseInt($(ce).css("paddingLeft"),10) || 0) - this.margins.left,
|
870
|
+
co.top + (parseInt($(ce).css("borderTopWidth"),10) || 0) + (parseInt($(ce).css("paddingTop"),10) || 0) - this.margins.top,
|
871
|
+
co.left+(over ? Math.max(ce.scrollWidth,ce.offsetWidth) : ce.offsetWidth) - (parseInt($(ce).css("borderLeftWidth"),10) || 0) - (parseInt($(ce).css("paddingRight"),10) || 0) - this.helperProportions.width - this.margins.left,
|
872
|
+
co.top+(over ? Math.max(ce.scrollHeight,ce.offsetHeight) : ce.offsetHeight) - (parseInt($(ce).css("borderTopWidth"),10) || 0) - (parseInt($(ce).css("paddingBottom"),10) || 0) - this.helperProportions.height - this.margins.top
|
873
|
+
];
|
874
|
+
}
|
875
|
+
|
876
|
+
},
|
877
|
+
|
878
|
+
_convertPositionTo: function(d, pos) {
|
879
|
+
|
880
|
+
if(!pos) pos = this.position;
|
881
|
+
var mod = d == "absolute" ? 1 : -1;
|
882
|
+
var o = this.options, scroll = this.cssPosition == 'absolute' && !(this.scrollParent[0] != document && $.contains(this.scrollParent[0], this.offsetParent[0])) ? this.offsetParent : this.scrollParent, scrollIsRootNode = (/(html|body)/i).test(scroll[0].tagName);
|
883
|
+
|
884
|
+
return {
|
885
|
+
top: (
|
886
|
+
pos.top // The absolute mouse position
|
887
|
+
+ this.offset.relative.top * mod // Only for relative positioned nodes: Relative offset from element to offset parent
|
888
|
+
+ this.offset.parent.top * mod // The offsetParent's offset without borders (offset + border)
|
889
|
+
- ($.browser.safari && this.cssPosition == 'fixed' ? 0 : ( this.cssPosition == 'fixed' ? -this.scrollParent.scrollTop() : ( scrollIsRootNode ? 0 : scroll.scrollTop() ) ) * mod)
|
890
|
+
),
|
891
|
+
left: (
|
892
|
+
pos.left // The absolute mouse position
|
893
|
+
+ this.offset.relative.left * mod // Only for relative positioned nodes: Relative offset from element to offset parent
|
894
|
+
+ this.offset.parent.left * mod // The offsetParent's offset without borders (offset + border)
|
895
|
+
- ($.browser.safari && this.cssPosition == 'fixed' ? 0 : ( this.cssPosition == 'fixed' ? -this.scrollParent.scrollLeft() : scrollIsRootNode ? 0 : scroll.scrollLeft() ) * mod)
|
896
|
+
)
|
897
|
+
};
|
898
|
+
|
899
|
+
},
|
900
|
+
|
901
|
+
_generatePosition: function(event) {
|
902
|
+
|
903
|
+
var o = this.options, scroll = this.cssPosition == 'absolute' && !(this.scrollParent[0] != document && $.contains(this.scrollParent[0], this.offsetParent[0])) ? this.offsetParent : this.scrollParent, scrollIsRootNode = (/(html|body)/i).test(scroll[0].tagName);
|
904
|
+
|
905
|
+
// This is another very weird special case that only happens for relative elements:
|
906
|
+
// 1. If the css position is relative
|
907
|
+
// 2. and the scroll parent is the document or similar to the offset parent
|
908
|
+
// we have to refresh the relative offset during the scroll so there are no jumps
|
909
|
+
if(this.cssPosition == 'relative' && !(this.scrollParent[0] != document && this.scrollParent[0] != this.offsetParent[0])) {
|
910
|
+
this.offset.relative = this._getRelativeOffset();
|
911
|
+
}
|
912
|
+
|
913
|
+
var pageX = event.pageX;
|
914
|
+
var pageY = event.pageY;
|
915
|
+
|
916
|
+
/*
|
917
|
+
* - Position constraining -
|
918
|
+
* Constrain the position to a mix of grid, containment.
|
919
|
+
*/
|
920
|
+
|
921
|
+
if(this.originalPosition) { //If we are not dragging yet, we won't check for options
|
922
|
+
|
923
|
+
if(this.containment) {
|
924
|
+
if(event.pageX - this.offset.click.left < this.containment[0]) pageX = this.containment[0] + this.offset.click.left;
|
925
|
+
if(event.pageY - this.offset.click.top < this.containment[1]) pageY = this.containment[1] + this.offset.click.top;
|
926
|
+
if(event.pageX - this.offset.click.left > this.containment[2]) pageX = this.containment[2] + this.offset.click.left;
|
927
|
+
if(event.pageY - this.offset.click.top > this.containment[3]) pageY = this.containment[3] + this.offset.click.top;
|
928
|
+
}
|
929
|
+
|
930
|
+
if(o.grid) {
|
931
|
+
var top = this.originalPageY + Math.round((pageY - this.originalPageY) / o.grid[1]) * o.grid[1];
|
932
|
+
pageY = this.containment ? (!(top - this.offset.click.top < this.containment[1] || top - this.offset.click.top > this.containment[3]) ? top : (!(top - this.offset.click.top < this.containment[1]) ? top - o.grid[1] : top + o.grid[1])) : top;
|
933
|
+
|
934
|
+
var left = this.originalPageX + Math.round((pageX - this.originalPageX) / o.grid[0]) * o.grid[0];
|
935
|
+
pageX = this.containment ? (!(left - this.offset.click.left < this.containment[0] || left - this.offset.click.left > this.containment[2]) ? left : (!(left - this.offset.click.left < this.containment[0]) ? left - o.grid[0] : left + o.grid[0])) : left;
|
936
|
+
}
|
937
|
+
|
938
|
+
}
|
939
|
+
|
940
|
+
return {
|
941
|
+
top: (
|
942
|
+
pageY // The absolute mouse position
|
943
|
+
- this.offset.click.top // Click offset (relative to the element)
|
944
|
+
- this.offset.relative.top // Only for relative positioned nodes: Relative offset from element to offset parent
|
945
|
+
- this.offset.parent.top // The offsetParent's offset without borders (offset + border)
|
946
|
+
+ ($.browser.safari && this.cssPosition == 'fixed' ? 0 : ( this.cssPosition == 'fixed' ? -this.scrollParent.scrollTop() : ( scrollIsRootNode ? 0 : scroll.scrollTop() ) ))
|
947
|
+
),
|
948
|
+
left: (
|
949
|
+
pageX // The absolute mouse position
|
950
|
+
- this.offset.click.left // Click offset (relative to the element)
|
951
|
+
- this.offset.relative.left // Only for relative positioned nodes: Relative offset from element to offset parent
|
952
|
+
- this.offset.parent.left // The offsetParent's offset without borders (offset + border)
|
953
|
+
+ ($.browser.safari && this.cssPosition == 'fixed' ? 0 : ( this.cssPosition == 'fixed' ? -this.scrollParent.scrollLeft() : scrollIsRootNode ? 0 : scroll.scrollLeft() ))
|
954
|
+
)
|
955
|
+
};
|
956
|
+
|
957
|
+
},
|
958
|
+
|
959
|
+
_rearrange: function(event, i, a, hardRefresh) {
|
960
|
+
|
961
|
+
a ? a[0].appendChild(this.placeholder[0]) : i.item[0].parentNode.insertBefore(this.placeholder[0], (this.direction == 'down' ? i.item[0] : i.item[0].nextSibling));
|
962
|
+
|
963
|
+
//Various things done here to improve the performance:
|
964
|
+
// 1. we create a setTimeout, that calls refreshPositions
|
965
|
+
// 2. on the instance, we have a counter variable, that get's higher after every append
|
966
|
+
// 3. on the local scope, we copy the counter variable, and check in the timeout, if it's still the same
|
967
|
+
// 4. this lets only the last addition to the timeout stack through
|
968
|
+
this.counter = this.counter ? ++this.counter : 1;
|
969
|
+
var self = this, counter = this.counter;
|
970
|
+
|
971
|
+
window.setTimeout(function() {
|
972
|
+
if(counter == self.counter) self.refreshPositions(!hardRefresh); //Precompute after each DOM insertion, NOT on mousemove
|
973
|
+
},0);
|
974
|
+
|
975
|
+
},
|
976
|
+
|
977
|
+
_clear: function(event, noPropagation) {
|
978
|
+
|
979
|
+
this.reverting = false;
|
980
|
+
// We delay all events that have to be triggered to after the point where the placeholder has been removed and
|
981
|
+
// everything else normalized again
|
982
|
+
var delayedTriggers = [], self = this;
|
983
|
+
|
984
|
+
// We first have to update the dom position of the actual currentItem
|
985
|
+
// Note: don't do it if the current item is already removed (by a user), or it gets reappended (see #4088)
|
986
|
+
if(!this._noFinalSort && this.currentItem[0].parentNode) this.placeholder.before(this.currentItem);
|
987
|
+
this._noFinalSort = null;
|
988
|
+
|
989
|
+
if(this.helper[0] == this.currentItem[0]) {
|
990
|
+
for(var i in this._storedCSS) {
|
991
|
+
if(this._storedCSS[i] == 'auto' || this._storedCSS[i] == 'static') this._storedCSS[i] = '';
|
992
|
+
}
|
993
|
+
this.currentItem.css(this._storedCSS).removeClass("ui-sortable-helper");
|
994
|
+
} else {
|
995
|
+
this.currentItem.show();
|
996
|
+
}
|
997
|
+
|
998
|
+
if(this.fromOutside && !noPropagation) delayedTriggers.push(function(event) { this._trigger("receive", event, this._uiHash(this.fromOutside)); });
|
999
|
+
if((this.fromOutside || this.domPosition.prev != this.currentItem.prev().not(".ui-sortable-helper")[0] || this.domPosition.parent != this.currentItem.parent()[0]) && !noPropagation) delayedTriggers.push(function(event) { this._trigger("update", event, this._uiHash()); }); //Trigger update callback if the DOM position has changed
|
1000
|
+
if(!$.contains(this.element[0], this.currentItem[0])) { //Node was moved out of the current element
|
1001
|
+
if(!noPropagation) delayedTriggers.push(function(event) { this._trigger("remove", event, this._uiHash()); });
|
1002
|
+
for (var i = this.containers.length - 1; i >= 0; i--){
|
1003
|
+
if($.contains(this.containers[i].element[0], this.currentItem[0]) && !noPropagation) {
|
1004
|
+
delayedTriggers.push((function(c) { return function(event) { c._trigger("receive", event, this._uiHash(this)); }; }).call(this, this.containers[i]));
|
1005
|
+
delayedTriggers.push((function(c) { return function(event) { c._trigger("update", event, this._uiHash(this)); }; }).call(this, this.containers[i]));
|
1006
|
+
}
|
1007
|
+
};
|
1008
|
+
};
|
1009
|
+
|
1010
|
+
//Post events to containers
|
1011
|
+
for (var i = this.containers.length - 1; i >= 0; i--){
|
1012
|
+
if(!noPropagation) delayedTriggers.push((function(c) { return function(event) { c._trigger("deactivate", event, this._uiHash(this)); }; }).call(this, this.containers[i]));
|
1013
|
+
if(this.containers[i].containerCache.over) {
|
1014
|
+
delayedTriggers.push((function(c) { return function(event) { c._trigger("out", event, this._uiHash(this)); }; }).call(this, this.containers[i]));
|
1015
|
+
this.containers[i].containerCache.over = 0;
|
1016
|
+
}
|
1017
|
+
}
|
1018
|
+
|
1019
|
+
//Do what was originally in plugins
|
1020
|
+
if(this._storedCursor) $('body').css("cursor", this._storedCursor); //Reset cursor
|
1021
|
+
if(this._storedOpacity) this.helper.css("opacity", this._storedOpacity); //Reset opacity
|
1022
|
+
if(this._storedZIndex) this.helper.css("zIndex", this._storedZIndex == 'auto' ? '' : this._storedZIndex); //Reset z-index
|
1023
|
+
|
1024
|
+
this.dragging = false;
|
1025
|
+
if(this.cancelHelperRemoval) {
|
1026
|
+
if(!noPropagation) {
|
1027
|
+
this._trigger("beforeStop", event, this._uiHash());
|
1028
|
+
for (var i=0; i < delayedTriggers.length; i++) { delayedTriggers[i].call(this, event); }; //Trigger all delayed events
|
1029
|
+
this._trigger("stop", event, this._uiHash());
|
1030
|
+
}
|
1031
|
+
return false;
|
1032
|
+
}
|
1033
|
+
|
1034
|
+
if(!noPropagation) this._trigger("beforeStop", event, this._uiHash());
|
1035
|
+
|
1036
|
+
//$(this.placeholder[0]).remove(); would have been the jQuery way - unfortunately, it unbinds ALL events from the original node!
|
1037
|
+
this.placeholder[0].parentNode.removeChild(this.placeholder[0]);
|
1038
|
+
|
1039
|
+
if(this.helper[0] != this.currentItem[0]) this.helper.remove(); this.helper = null;
|
1040
|
+
|
1041
|
+
if(!noPropagation) {
|
1042
|
+
for (var i=0; i < delayedTriggers.length; i++) { delayedTriggers[i].call(this, event); }; //Trigger all delayed events
|
1043
|
+
this._trigger("stop", event, this._uiHash());
|
1044
|
+
}
|
1045
|
+
|
1046
|
+
this.fromOutside = false;
|
1047
|
+
return true;
|
1048
|
+
|
1049
|
+
},
|
1050
|
+
|
1051
|
+
_trigger: function() {
|
1052
|
+
if ($.Widget.prototype._trigger.apply(this, arguments) === false) {
|
1053
|
+
this.cancel();
|
1054
|
+
}
|
1055
|
+
},
|
1056
|
+
|
1057
|
+
_uiHash: function(inst) {
|
1058
|
+
var self = inst || this;
|
1059
|
+
return {
|
1060
|
+
helper: self.helper,
|
1061
|
+
placeholder: self.placeholder || $([]),
|
1062
|
+
position: self.position,
|
1063
|
+
originalPosition: self.originalPosition,
|
1064
|
+
offset: self.positionAbs,
|
1065
|
+
item: self.currentItem,
|
1066
|
+
sender: inst ? inst.element : null
|
1067
|
+
};
|
1068
|
+
}
|
1069
|
+
|
1070
|
+
});
|
1071
|
+
|
1072
|
+
$.extend($.ui.sortable, {
|
1073
|
+
version: "@VERSION"
|
1074
|
+
});
|
1075
|
+
|
1076
|
+
})(jQuery);
|