survivalkit 0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.markdown +4 -0
- data/README.markdown +81 -0
- data/VERSION +1 -0
- data/lib/survivalkit.rb +9 -0
- data/stylesheets/survivalkit/extend/_all.sass +1 -0
- data/stylesheets/survivalkit/extend/_helpers.sass +20 -0
- data/stylesheets/survivalkit/functions/_all.sass +3 -0
- data/stylesheets/survivalkit/functions/_calculations.sass +19 -0
- data/stylesheets/survivalkit/functions/_color.sass +7 -0
- data/stylesheets/survivalkit/functions/_modular-scale.sass +142 -0
- data/stylesheets/survivalkit/mixins/_all.sass +5 -0
- data/stylesheets/survivalkit/mixins/_helpers.sass +29 -0
- data/stylesheets/survivalkit/mixins/_layout.sass +19 -0
- data/stylesheets/survivalkit/mixins/_sfx.sass +199 -0
- data/stylesheets/survivalkit/mixins/_typography.sass +77 -0
- data/stylesheets/survivalkit/mixins/_ui.sass +49 -0
- data/stylesheets/survivalkit/readme.markdown +1 -0
- data/stylesheets/survivalkit/reset/_meyer-reset.sass +33 -0
- data/stylesheets/survivalkit/reset/_normalize.sass +345 -0
- data/stylesheets/survivalkit/reset/_reset.sass +18 -0
- data/stylesheets/survivalkit/survival_kit/_survival-kit.sass +52 -0
- data/stylesheets/survivalkit/variables/_all.sass +2 -0
- data/stylesheets/survivalkit/variables/_color_names.sass +149 -0
- data/stylesheets/survivalkit/variables/_color_schemes.sass +54 -0
- data/templates/project/files/apple-touch-icon.png +0 -0
- data/templates/project/files/crossdomain.xml +25 -0
- data/templates/project/files/favicon.ico +0 -0
- data/templates/project/files/google.yml +22 -0
- data/templates/project/files/htaccess.htaccess +478 -0
- data/templates/project/files/html/404.html +22 -0
- data/templates/project/files/html/formalize_jquery_demo.html +288 -0
- data/templates/project/files/html/formalize_jquery_disabled.html +288 -0
- data/templates/project/files/html/formalize_jquery_errors.html +288 -0
- data/templates/project/files/html/index.html +63 -0
- data/templates/project/files/html/survivalkit/elements-common.html +549 -0
- data/templates/project/files/html/survivalkit/elements-html5.html +2959 -0
- data/templates/project/files/html/survivalkit/elements-typography.html +196 -0
- data/templates/project/files/html/survivalkit/elements-ui-patterns-drupal.html +625 -0
- data/templates/project/files/html/survivalkit/elements-ui-patterns.html +151 -0
- data/templates/project/files/html/survivalkit/index.html +94 -0
- data/templates/project/files/html/survivalkit/styletile/index.html +1 -0
- data/templates/project/files/html/survivalkit/styletile/styletile.html +168 -0
- data/templates/project/files/humans.txt +43 -0
- data/templates/project/files/robots.txt +5 -0
- data/templates/project/ie.sass +3 -0
- data/templates/project/kit/kit-source.jquery.js +21 -0
- data/templates/project/libs/dd_belatedpng.js +13 -0
- data/templates/project/libs/formalize/README.txt +11 -0
- data/templates/project/libs/formalize/dojo.formalize.js +174 -0
- data/templates/project/libs/formalize/extjs.formalize.js +168 -0
- data/templates/project/libs/formalize/jquery.formalize.js +158 -0
- data/templates/project/libs/formalize/mootools.formalize.js +163 -0
- data/templates/project/libs/formalize/prototype.formalize.js +171 -0
- data/templates/project/libs/formalize/yui.formalize.js +168 -0
- data/templates/project/libs/jquery-1.6.js +8865 -0
- data/templates/project/libs/jquery-1.6.min.js +16 -0
- data/templates/project/libs/modernizr-2.0.min.js +4 -0
- data/templates/project/libs/mootools-core-1.3.1-full-compat-yc.js +485 -0
- data/templates/project/libs/plugins.js +16 -0
- data/templates/project/libs/respond.min.js +7 -0
- data/templates/project/libs/selectivizr.js +5 -0
- data/templates/project/manifest.rb +78 -0
- data/templates/project/partials/01-variables/_all.sass +6 -0
- data/templates/project/partials/01-variables/_base.sass +29 -0
- data/templates/project/partials/01-variables/_colors.sass +21 -0
- data/templates/project/partials/01-variables/_fonts.sass +22 -0
- data/templates/project/partials/01-variables/_grids-all.sass +10 -0
- data/templates/project/partials/02-extend/_all.sass +1 -0
- data/templates/project/partials/02-extend/_typography.sass +39 -0
- data/templates/project/partials/03-defaults/_all.sass +10 -0
- data/templates/project/partials/03-defaults/_common.sass +40 -0
- data/templates/project/partials/03-defaults/_font-face.sass +3 -0
- data/templates/project/partials/03-defaults/markup/_edits.sass +6 -0
- data/templates/project/partials/03-defaults/markup/_grouping.sass +52 -0
- data/templates/project/partials/03-defaults/markup/_headers.sass +33 -0
- data/templates/project/partials/03-defaults/markup/_images.sass +14 -0
- data/templates/project/partials/03-defaults/markup/_semantics.sass +104 -0
- data/templates/project/partials/03-defaults/markup/_tables.sass +48 -0
- data/templates/project/partials/03-defaults/markup/forms/_form-defaults.sass +67 -0
- data/templates/project/partials/03-defaults/markup/forms/_formalize.sass +261 -0
- data/templates/project/partials/04-grids/_grids-blueprint.sass +20 -0
- data/templates/project/partials/04-grids/_grids-susy.sass +38 -0
- data/templates/project/partials/05-ui-patterns/_common.sass +26 -0
- data/templates/project/partials/05-ui-patterns/drupal/_ui-patterns.sass +83 -0
- data/templates/project/partials/06-sprites/_sprites.sass +20 -0
- data/templates/project/partials/07-layout-design/_design.sass +6 -0
- data/templates/project/partials/07-layout-design/_layout.sass +8 -0
- data/templates/project/partials/08-styletile/_tile-design.sass +139 -0
- data/templates/project/partials/08-styletile/_tile-layout.sass +81 -0
- data/templates/project/partials/09-responsive/_responsive-blueprint.sass +139 -0
- data/templates/project/partials/09-responsive/_responsive-susy.sass +106 -0
- data/templates/project/partials/10-media/_print.sass +57 -0
- data/templates/project/partials/11-browser-adjustments/_ie.sass +26 -0
- data/templates/project/partials/11-browser-adjustments/_modernizr.sass +8 -0
- data/templates/project/partials/11-browser-adjustments/_selectivizr.sass +0 -0
- data/templates/project/partials/readme.markdown +3 -0
- data/templates/project/readme.markdown +3 -0
- data/templates/project/script.js +26 -0
- data/templates/project/selectivizr.sass +8 -0
- data/templates/project/sources/BigText/README.markdown +128 -0
- data/templates/project/sources/BigText/artifacts/output.html +32 -0
- data/templates/project/sources/BigText/bigtext.js +242 -0
- data/templates/project/sources/BigText/demo/bigtextWizard.css +129 -0
- data/templates/project/sources/BigText/demo/bigtextWizard.js +373 -0
- data/templates/project/sources/BigText/demo/css/flexbox.css +105 -0
- data/templates/project/sources/BigText/demo/css/images/button_bg.png +0 -0
- data/templates/project/sources/BigText/demo/css/images/datepicker.gif +0 -0
- data/templates/project/sources/BigText/demo/css/images/icon_sprite.png +0 -0
- data/templates/project/sources/BigText/demo/css/images/progress_bar.gif +0 -0
- data/templates/project/sources/BigText/demo/css/images/slider_h_bg.gif +0 -0
- data/templates/project/sources/BigText/demo/css/images/slider_handles.png +0 -0
- data/templates/project/sources/BigText/demo/css/images/slider_v_bg.gif +0 -0
- data/templates/project/sources/BigText/demo/css/images/the_gradient.gif +0 -0
- data/templates/project/sources/BigText/demo/css/images/ui-bg_flat_10_000000_40x100.png +0 -0
- data/templates/project/sources/BigText/demo/css/images/ui-bg_glass_100_f6f6f6_1x400.png +0 -0
- data/templates/project/sources/BigText/demo/css/images/ui-bg_glass_100_fdf5ce_1x400.png +0 -0
- data/templates/project/sources/BigText/demo/css/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/templates/project/sources/BigText/demo/css/images/ui-icons_222222_256x240.png +0 -0
- data/templates/project/sources/BigText/demo/css/images/ui-icons_228ef1_256x240.png +0 -0
- data/templates/project/sources/BigText/demo/css/images/ui-icons_ffffff_256x240.png +0 -0
- data/templates/project/sources/BigText/demo/css/jquery-ui-1.8rc3.custom.css +519 -0
- data/templates/project/sources/BigText/demo/css/league-gothic/League_Gothic-webfont.eot +0 -0
- data/templates/project/sources/BigText/demo/css/league-gothic/League_Gothic-webfont.svg +223 -0
- data/templates/project/sources/BigText/demo/css/league-gothic/League_Gothic-webfont.ttf +0 -0
- data/templates/project/sources/BigText/demo/css/league-gothic/League_Gothic-webfont.woff +0 -0
- data/templates/project/sources/BigText/demo/css/league-gothic/stylesheet.css +12 -0
- data/templates/project/sources/BigText/demo/index.html +95 -0
- data/templates/project/sources/BigText/demo/js/jquery.ba-throttle-debounce.js +252 -0
- data/templates/project/sources/BigText/demo/js/jquery.ba-throttle-debounce.min.js +9 -0
- data/templates/project/sources/BigText/demo/js/jquery.smartresize.js +41 -0
- data/templates/project/sources/BigText/demo/js/modernizr-1.6.js +892 -0
- data/templates/project/sources/BigText/demo/js/modernizr-1.6.min.js +30 -0
- data/templates/project/sources/BigText/demo/resizeDemoSmartResize.html +37 -0
- data/templates/project/sources/BigText/demo/resizeDemoThrottle.html +38 -0
- data/templates/project/sources/BigText/demo/simpleDemo.html +42 -0
- data/templates/project/sources/BigText/demo/simpleDemoDiv.html +26 -0
- data/templates/project/sources/BigText/test.bat +4 -0
- data/templates/project/sources/BigText/test.sh +5 -0
- data/templates/project/sources/BigText/test/bigtext.conf +6 -0
- data/templates/project/sources/BigText/test/bigtextTest.js +192 -0
- data/templates/project/sources/BigText/test/lib/JsTestDriver-1.2.2-custom.jar +0 -0
- data/templates/project/sources/BigText/test/lib/jquery-1.4.2.js +6240 -0
- data/templates/project/sources/BigText/test/lib/launch-safari.sh +4 -0
- data/templates/project/sources/Dynamic-Carousel/demo.html +92 -0
- data/templates/project/sources/Dynamic-Carousel/plugin.js +191 -0
- data/templates/project/sources/Dynamic-Carousel/readme.md +10 -0
- data/templates/project/sources/Geared-Scrolling/README.md +31 -0
- data/templates/project/sources/Geared-Scrolling/css/specific.css +88 -0
- data/templates/project/sources/Geared-Scrolling/images/col1.png +0 -0
- data/templates/project/sources/Geared-Scrolling/images/col2.png +0 -0
- data/templates/project/sources/Geared-Scrolling/images/col3.png +0 -0
- data/templates/project/sources/Geared-Scrolling/images/header.png +0 -0
- data/templates/project/sources/Geared-Scrolling/index.html +32 -0
- data/templates/project/sources/Geared-Scrolling/js/init.js +11 -0
- data/templates/project/sources/Geared-Scrolling/js/jquery.heyday.gearedscrolling.js +283 -0
- data/templates/project/sources/Lettering.js/README.md +58 -0
- data/templates/project/sources/Lettering.js/examples/index.html +135 -0
- data/templates/project/sources/Lettering.js/examples/style.css +171 -0
- data/templates/project/sources/Lettering.js/jquery.lettering.js +66 -0
- data/templates/project/sources/PaintbrushJS/common.js +245 -0
- data/templates/project/sources/PaintbrushJS/demo/css/playground.css +334 -0
- data/templates/project/sources/PaintbrushJS/demo/images/500/165.jpg +0 -0
- data/templates/project/sources/PaintbrushJS/demo/images/500/bee.jpg +0 -0
- data/templates/project/sources/PaintbrushJS/demo/images/500/bird.jpg +0 -0
- data/templates/project/sources/PaintbrushJS/demo/images/500/helmets.jpg +0 -0
- data/templates/project/sources/PaintbrushJS/demo/images/500/jordan.jpg +0 -0
- data/templates/project/sources/PaintbrushJS/demo/images/500/leaves.jpg +0 -0
- data/templates/project/sources/PaintbrushJS/demo/images/500/lighthouse.jpg +0 -0
- data/templates/project/sources/PaintbrushJS/demo/images/500/louvre.jpg +0 -0
- data/templates/project/sources/PaintbrushJS/demo/images/500/pods.jpg +0 -0
- data/templates/project/sources/PaintbrushJS/demo/images/500/redbarn.jpg +0 -0
- data/templates/project/sources/PaintbrushJS/demo/images/500/road.jpg +0 -0
- data/templates/project/sources/PaintbrushJS/demo/images/500/sign.jpg +0 -0
- data/templates/project/sources/PaintbrushJS/demo/images/500/staples.jpg +0 -0
- data/templates/project/sources/PaintbrushJS/demo/images/500/stones.jpg +0 -0
- data/templates/project/sources/PaintbrushJS/demo/images/500/tear.jpg +0 -0
- data/templates/project/sources/PaintbrushJS/demo/images/500/window.jpg +0 -0
- data/templates/project/sources/PaintbrushJS/demo/images/bg.png +0 -0
- data/templates/project/sources/PaintbrushJS/demo/images/site/bg-highlight.png +0 -0
- data/templates/project/sources/PaintbrushJS/demo/images/site/bg.jpg +0 -0
- data/templates/project/sources/PaintbrushJS/demo/images/site/byline.png +0 -0
- data/templates/project/sources/PaintbrushJS/demo/images/site/current.png +0 -0
- data/templates/project/sources/PaintbrushJS/demo/images/site/divider.png +0 -0
- data/templates/project/sources/PaintbrushJS/demo/images/site/forkme.png +0 -0
- data/templates/project/sources/PaintbrushJS/demo/images/site/heading.png +0 -0
- data/templates/project/sources/PaintbrushJS/demo/index.html +171 -0
- data/templates/project/sources/PaintbrushJS/demo/script/common.js +245 -0
- data/templates/project/sources/PaintbrushJS/demo/script/paintbrush.js +607 -0
- data/templates/project/sources/PaintbrushJS/demo/script/playground.js +357 -0
- data/templates/project/sources/PaintbrushJS/demo/script/timing.js +23 -0
- data/templates/project/sources/PaintbrushJS/demo/usage.html +183 -0
- data/templates/project/sources/PaintbrushJS/paintbrush.js +595 -0
- data/templates/project/sources/Respond/README.md +76 -0
- data/templates/project/sources/Respond/respond.min.js +2 -0
- data/templates/project/sources/Respond/respond.src.js +286 -0
- data/templates/project/sources/Respond/test/test.css +61 -0
- data/templates/project/sources/Respond/test/test.html +20 -0
- data/templates/project/sources/Respond/test/test2.css +8 -0
- data/templates/project/sources/Respond/test/unit/index.html +28 -0
- data/templates/project/sources/Respond/test/unit/test.css +56 -0
- data/templates/project/sources/Respond/test/unit/test2.css +5 -0
- data/templates/project/sources/Respond/test/unit/tests.js +97 -0
- data/templates/project/sources/Sticky-Footer-jQuery-Plugin/README.md +27 -0
- data/templates/project/sources/Sticky-Footer-jQuery-Plugin/jquery.heyday.stickyfooter.js +154 -0
- data/templates/project/sources/flexie/README.md +142 -0
- data/templates/project/sources/flexie/demo/css/box-flex.css +30 -0
- data/templates/project/sources/flexie/demo/index.html +108 -0
- data/templates/project/sources/flexie/dist/flexie.min.js +33 -0
- data/templates/project/sources/flexie/src/flexie.js +1872 -0
- data/templates/project/sources/flexie/test/css/demo.css +34 -0
- data/templates/project/sources/flexie/test/css/test.css +141 -0
- data/templates/project/sources/flexie/test/index.html +54 -0
- data/templates/project/sources/flexie/vendor/google-compiler/compiler.jar +0 -0
- data/templates/project/sources/flexie/vendor/yuicompressor/yuicompressor-2.4.2.jar +0 -0
- data/templates/project/sources/flickrbomb/css/app.css +41 -0
- data/templates/project/sources/flickrbomb/css/flickrbomb.css +38 -0
- data/templates/project/sources/flickrbomb/css/global.css +0 -0
- data/templates/project/sources/flickrbomb/demo.html +169 -0
- data/templates/project/sources/flickrbomb/images/bg-clouds.jpg +0 -0
- data/templates/project/sources/flickrbomb/images/bg-ground.jpg +0 -0
- data/templates/project/sources/flickrbomb/images/bomb.png +0 -0
- data/templates/project/sources/flickrbomb/images/bomber.jpg +0 -0
- data/templates/project/sources/flickrbomb/images/old.gif +0 -0
- data/templates/project/sources/flickrbomb/images/setupIcon.png +0 -0
- data/templates/project/sources/flickrbomb/js/app.js +28 -0
- data/templates/project/sources/flickrbomb/js/backbone-localstorage.js +94 -0
- data/templates/project/sources/flickrbomb/js/backbone.js +1011 -0
- data/templates/project/sources/flickrbomb/js/flickrbomb-demo.js +310 -0
- data/templates/project/sources/flickrbomb/js/flickrbomb.js +307 -0
- data/templates/project/sources/flickrbomb/js/underscore.js +713 -0
- data/templates/project/sources/formalize/README.txt +23 -0
- data/templates/project/sources/formalize/assets/css/_formalize.sass +274 -0
- data/templates/project/sources/formalize/assets/css/demo.css +47 -0
- data/templates/project/sources/formalize/assets/css/formalize.css +311 -0
- data/templates/project/sources/formalize/assets/css/reset.css +171 -0
- data/templates/project/sources/formalize/assets/css/text.css +81 -0
- data/templates/project/sources/formalize/assets/images/button.png +0 -0
- data/templates/project/sources/formalize/assets/images/select_arrow.gif +0 -0
- data/templates/project/sources/formalize/assets/js/dojo.formalize.js +174 -0
- data/templates/project/sources/formalize/assets/js/dojo.formalize.min.js +1 -0
- data/templates/project/sources/formalize/assets/js/extjs.formalize.js +168 -0
- data/templates/project/sources/formalize/assets/js/extjs.formalize.min.js +1 -0
- data/templates/project/sources/formalize/assets/js/jquery.formalize.js +158 -0
- data/templates/project/sources/formalize/assets/js/jquery.formalize.min.js +1 -0
- data/templates/project/sources/formalize/assets/js/mootools.formalize.js +163 -0
- data/templates/project/sources/formalize/assets/js/mootools.formalize.min.js +1 -0
- data/templates/project/sources/formalize/assets/js/prototype.formalize.js +171 -0
- data/templates/project/sources/formalize/assets/js/prototype.formalize.min.js +1 -0
- data/templates/project/sources/formalize/assets/js/yui.formalize.js +168 -0
- data/templates/project/sources/formalize/assets/js/yui.formalize.min.js +1 -0
- data/templates/project/sources/formalize/demo.html +144 -0
- data/templates/project/sources/formalize/dojo_demo.html +213 -0
- data/templates/project/sources/formalize/dojo_disabled.html +213 -0
- data/templates/project/sources/formalize/dojo_errors.html +213 -0
- data/templates/project/sources/formalize/extjs_demo.html +213 -0
- data/templates/project/sources/formalize/extjs_disabled.html +213 -0
- data/templates/project/sources/formalize/extjs_errors.html +213 -0
- data/templates/project/sources/formalize/jquery_demo.html +213 -0
- data/templates/project/sources/formalize/jquery_disabled.html +213 -0
- data/templates/project/sources/formalize/jquery_errors.html +213 -0
- data/templates/project/sources/formalize/mootools_demo.html +213 -0
- data/templates/project/sources/formalize/mootools_disabled.html +213 -0
- data/templates/project/sources/formalize/mootools_errors.html +213 -0
- data/templates/project/sources/formalize/prototype_demo.html +213 -0
- data/templates/project/sources/formalize/prototype_disabled.html +213 -0
- data/templates/project/sources/formalize/prototype_errors.html +213 -0
- data/templates/project/sources/formalize/unstyled.html +210 -0
- data/templates/project/sources/formalize/yui_demo.html +213 -0
- data/templates/project/sources/formalize/yui_disabled.html +213 -0
- data/templates/project/sources/formalize/yui_errors.html +213 -0
- data/templates/project/sources/html5-boilerplate/404.html +38 -0
- data/templates/project/sources/html5-boilerplate/README.md +228 -0
- data/templates/project/sources/html5-boilerplate/apple-touch-icon-114x114-precomposed.png +0 -0
- data/templates/project/sources/html5-boilerplate/apple-touch-icon-57x57-precomposed.png +0 -0
- data/templates/project/sources/html5-boilerplate/apple-touch-icon-72x72-precomposed.png +0 -0
- data/templates/project/sources/html5-boilerplate/apple-touch-icon-precomposed.png +0 -0
- data/templates/project/sources/html5-boilerplate/apple-touch-icon.png +0 -0
- data/templates/project/sources/html5-boilerplate/build/build.xml +821 -0
- data/templates/project/sources/html5-boilerplate/build/config/default.properties +80 -0
- data/templates/project/sources/html5-boilerplate/build/config/project.properties +56 -0
- data/templates/project/sources/html5-boilerplate/build/createproject.sh +50 -0
- data/templates/project/sources/html5-boilerplate/build/runbuildscript.bat +5 -0
- data/templates/project/sources/html5-boilerplate/build/tools/ant-contrib-1.0b3.jar +0 -0
- data/templates/project/sources/html5-boilerplate/build/tools/htmlcompressor-1.1.jar +0 -0
- data/templates/project/sources/html5-boilerplate/build/tools/jpegtran.exe +0 -0
- data/templates/project/sources/html5-boilerplate/build/tools/optipng-0.6.4-exe/LICENSE.txt +21 -0
- data/templates/project/sources/html5-boilerplate/build/tools/optipng-0.6.4-exe/optipng.exe +0 -0
- data/templates/project/sources/html5-boilerplate/build/tools/yuicompressor-2.4.5.jar +0 -0
- data/templates/project/sources/html5-boilerplate/crossdomain.xml +25 -0
- data/templates/project/sources/html5-boilerplate/css/handheld.css +8 -0
- data/templates/project/sources/html5-boilerplate/css/style.css +263 -0
- data/templates/project/sources/html5-boilerplate/demo/elements.html +531 -0
- data/templates/project/sources/html5-boilerplate/demo/hack.css +85 -0
- data/templates/project/sources/html5-boilerplate/demo/hack2.css +41 -0
- data/templates/project/sources/html5-boilerplate/demo/internet_explorer.png +0 -0
- data/templates/project/sources/html5-boilerplate/demo/test_tubes.png +0 -0
- data/templates/project/sources/html5-boilerplate/demo/tests.html +313 -0
- data/templates/project/sources/html5-boilerplate/favicon.ico +0 -0
- data/templates/project/sources/html5-boilerplate/humans.txt +43 -0
- data/templates/project/sources/html5-boilerplate/index.html +80 -0
- data/templates/project/sources/html5-boilerplate/js/libs/dd_belatedpng.js +13 -0
- data/templates/project/sources/html5-boilerplate/js/libs/jquery-1.5.2.js +8374 -0
- data/templates/project/sources/html5-boilerplate/js/libs/jquery-1.5.2.min.js +16 -0
- data/templates/project/sources/html5-boilerplate/js/libs/modernizr-1.7.min.js +2 -0
- data/templates/project/sources/html5-boilerplate/js/plugins.js +16 -0
- data/templates/project/sources/html5-boilerplate/js/script.js +26 -0
- data/templates/project/sources/html5-boilerplate/robots.txt +5 -0
- data/templates/project/sources/html5-boilerplate/test/index.html +31 -0
- data/templates/project/sources/html5-boilerplate/test/qunit/qunit.css +148 -0
- data/templates/project/sources/html5-boilerplate/test/qunit/qunit.js +1265 -0
- data/templates/project/sources/html5-boilerplate/test/tests.js +27 -0
- data/templates/project/sources/iSwipe-jQuery-Plugin/README.md +26 -0
- data/templates/project/sources/iSwipe-jQuery-Plugin/jquery.heyday.iswipe.js +126 -0
- data/templates/project/sources/infinite-scroll/ajax-loader.gif +0 -0
- data/templates/project/sources/infinite-scroll/jquery.infinitescroll.js +425 -0
- data/templates/project/sources/infinite-scroll/jquery.infinitescroll.min.js +8 -0
- data/templates/project/sources/infinite-scroll/site/assets/anivers_regular.otf +0 -0
- data/templates/project/sources/infinite-scroll/site/assets/buttons.psd +0 -0
- data/templates/project/sources/infinite-scroll/site/assets/logo.psd +0 -0
- data/templates/project/sources/infinite-scroll/site/assets/mobius-strip2.ai +2266 -15
- data/templates/project/sources/infinite-scroll/site/assets/pattern.psd +0 -0
- data/templates/project/sources/infinite-scroll/site/assets/selector spots.psd +0 -0
- data/templates/project/sources/infinite-scroll/site/assets/sites.psd +0 -0
- data/templates/project/sources/infinite-scroll/site/buttons.png +0 -0
- data/templates/project/sources/infinite-scroll/site/infinite-scroll-pattern.gif +0 -0
- data/templates/project/sources/infinite-scroll/site/logo.jpg +0 -0
- data/templates/project/sources/infinite-scroll/site/screens.jpg +0 -0
- data/templates/project/sources/infinite-scroll/site/selectors.jpg +0 -0
- data/templates/project/sources/infinite-scroll/test/test-loadingmsg.html +121 -0
- data/templates/project/sources/infinite-scroll/test/test.html +120 -0
- data/templates/project/sources/infinite-scroll/test/test2.html +70 -0
- data/templates/project/sources/infinite-scroll/test/test3.html +68 -0
- data/templates/project/sources/infinite-scroll/test/trigger.html +140 -0
- data/templates/project/sources/infinite-scroll/test/trigger2.html +80 -0
- data/templates/project/sources/infinite-scroll/test/trigger3.html +80 -0
- data/templates/project/sources/infinite-scroll/wp_infinite_scroll.php +454 -0
- data/templates/project/sources/jquery-lightbox/LICENSE.txt +30 -0
- data/templates/project/sources/jquery-lightbox/README.markdown +8 -0
- data/templates/project/sources/jquery-lightbox/css/lightbox.css +129 -0
- data/templates/project/sources/jquery-lightbox/images/blank.gif +0 -0
- data/templates/project/sources/jquery-lightbox/images/close.gif +0 -0
- data/templates/project/sources/jquery-lightbox/images/closelabel.gif +0 -0
- data/templates/project/sources/jquery-lightbox/images/image-0.jpg +0 -0
- data/templates/project/sources/jquery-lightbox/images/image-1.jpg +0 -0
- data/templates/project/sources/jquery-lightbox/images/image-2.jpg +0 -0
- data/templates/project/sources/jquery-lightbox/images/image-3.jpg +0 -0
- data/templates/project/sources/jquery-lightbox/images/loading.gif +0 -0
- data/templates/project/sources/jquery-lightbox/images/next.gif +0 -0
- data/templates/project/sources/jquery-lightbox/images/nextlabel.gif +0 -0
- data/templates/project/sources/jquery-lightbox/images/prev.gif +0 -0
- data/templates/project/sources/jquery-lightbox/images/prevlabel.gif +0 -0
- data/templates/project/sources/jquery-lightbox/images/thumb-0.jpg +0 -0
- data/templates/project/sources/jquery-lightbox/images/thumb-1.jpg +0 -0
- data/templates/project/sources/jquery-lightbox/images/thumb-2.jpg +0 -0
- data/templates/project/sources/jquery-lightbox/images/thumb-3.jpg +0 -0
- data/templates/project/sources/jquery-lightbox/index.html +102 -0
- data/templates/project/sources/jquery-lightbox/jquery.lightbox.js +515 -0
- data/templates/project/sources/jquery-ui/AUTHORS.txt +30 -0
- data/templates/project/sources/jquery-ui/GPL-LICENSE.txt +278 -0
- data/templates/project/sources/jquery-ui/MIT-LICENSE.txt +25 -0
- data/templates/project/sources/jquery-ui/README.md +9 -0
- data/templates/project/sources/jquery-ui/build/build.xml +392 -0
- data/templates/project/sources/jquery-ui/build/build/ant-contrib-0.6.jar +0 -0
- data/templates/project/sources/jquery-ui/build/build/google-compiler-20110320.jar +0 -0
- data/templates/project/sources/jquery-ui/build/build/style.xsl +211 -0
- data/templates/project/sources/jquery-ui/build/build/yuicompressor-2.4.2.jar +0 -0
- data/templates/project/sources/jquery-ui/demos/accordion/collapsible.html +57 -0
- data/templates/project/sources/jquery-ui/demos/accordion/custom-icons.html +69 -0
- data/templates/project/sources/jquery-ui/demos/accordion/default.html +85 -0
- data/templates/project/sources/jquery-ui/demos/accordion/fillspace.html +77 -0
- data/templates/project/sources/jquery-ui/demos/accordion/hoverintent.html +134 -0
- data/templates/project/sources/jquery-ui/demos/accordion/index.html +25 -0
- data/templates/project/sources/jquery-ui/demos/accordion/mouseover.html +57 -0
- data/templates/project/sources/jquery-ui/demos/accordion/no-auto-height.html +58 -0
- data/templates/project/sources/jquery-ui/demos/accordion/sortable.html +83 -0
- data/templates/project/sources/jquery-ui/demos/addClass/default.html +52 -0
- data/templates/project/sources/jquery-ui/demos/addClass/index.html +18 -0
- data/templates/project/sources/jquery-ui/demos/animate/default.html +61 -0
- data/templates/project/sources/jquery-ui/demos/animate/index.html +18 -0
- data/templates/project/sources/jquery-ui/demos/autocomplete/categories.html +72 -0
- data/templates/project/sources/jquery-ui/demos/autocomplete/combobox.html +195 -0
- data/templates/project/sources/jquery-ui/demos/autocomplete/custom-data.html +96 -0
- data/templates/project/sources/jquery-ui/demos/autocomplete/default.html +65 -0
- data/templates/project/sources/jquery-ui/demos/autocomplete/folding.html +63 -0
- data/templates/project/sources/jquery-ui/demos/autocomplete/images/jquery_32x32.png +0 -0
- data/templates/project/sources/jquery-ui/demos/autocomplete/images/jqueryui_32x32.png +0 -0
- data/templates/project/sources/jquery-ui/demos/autocomplete/images/sizzlejs_32x32.png +0 -0
- data/templates/project/sources/jquery-ui/demos/autocomplete/images/transparent_1x1.png +0 -0
- data/templates/project/sources/jquery-ui/demos/autocomplete/images/ui-anim_basic_16x16.gif +0 -0
- data/templates/project/sources/jquery-ui/demos/autocomplete/index.html +27 -0
- data/templates/project/sources/jquery-ui/demos/autocomplete/london.xml +114 -0
- data/templates/project/sources/jquery-ui/demos/autocomplete/maxheight.html +79 -0
- data/templates/project/sources/jquery-ui/demos/autocomplete/multiple-remote.html +85 -0
- data/templates/project/sources/jquery-ui/demos/autocomplete/multiple.html +100 -0
- data/templates/project/sources/jquery-ui/demos/autocomplete/remote-jsonp.html +87 -0
- data/templates/project/sources/jquery-ui/demos/autocomplete/remote-with-cache.html +60 -0
- data/templates/project/sources/jquery-ui/demos/autocomplete/remote.html +60 -0
- data/templates/project/sources/jquery-ui/demos/autocomplete/search.php +588 -0
- data/templates/project/sources/jquery-ui/demos/autocomplete/xml.html +73 -0
- data/templates/project/sources/jquery-ui/demos/button/checkbox.html +44 -0
- data/templates/project/sources/jquery-ui/demos/button/default.html +38 -0
- data/templates/project/sources/jquery-ui/demos/button/icons.html +56 -0
- data/templates/project/sources/jquery-ui/demos/button/index.html +23 -0
- data/templates/project/sources/jquery-ui/demos/button/radio.html +39 -0
- data/templates/project/sources/jquery-ui/demos/button/splitbutton.html +78 -0
- data/templates/project/sources/jquery-ui/demos/button/toolbar.html +120 -0
- data/templates/project/sources/jquery-ui/demos/datepicker/alt-field.html +36 -0
- data/templates/project/sources/jquery-ui/demos/datepicker/animation.html +58 -0
- data/templates/project/sources/jquery-ui/demos/datepicker/buttonbar.html +35 -0
- data/templates/project/sources/jquery-ui/demos/datepicker/date-formats.html +47 -0
- data/templates/project/sources/jquery-ui/demos/datepicker/date-range.html +49 -0
- data/templates/project/sources/jquery-ui/demos/datepicker/default.html +33 -0
- data/templates/project/sources/jquery-ui/demos/datepicker/dropdown-month-year.html +36 -0
- data/templates/project/sources/jquery-ui/demos/datepicker/icon-trigger.html +37 -0
- data/templates/project/sources/jquery-ui/demos/datepicker/images/calendar.gif +0 -0
- data/templates/project/sources/jquery-ui/demos/datepicker/index.html +31 -0
- data/templates/project/sources/jquery-ui/demos/datepicker/inline.html +33 -0
- data/templates/project/sources/jquery-ui/demos/datepicker/localization.html +162 -0
- data/templates/project/sources/jquery-ui/demos/datepicker/min-max.html +33 -0
- data/templates/project/sources/jquery-ui/demos/datepicker/multiple-calendars.html +36 -0
- data/templates/project/sources/jquery-ui/demos/datepicker/other-months.html +37 -0
- data/templates/project/sources/jquery-ui/demos/datepicker/show-week.html +39 -0
- data/templates/project/sources/jquery-ui/demos/demos.css +334 -0
- data/templates/project/sources/jquery-ui/demos/dialog/animated.html +56 -0
- data/templates/project/sources/jquery-ui/demos/dialog/default.html +54 -0
- data/templates/project/sources/jquery-ui/demos/dialog/index.html +23 -0
- data/templates/project/sources/jquery-ui/demos/dialog/modal-confirmation.html +69 -0
- data/templates/project/sources/jquery-ui/demos/dialog/modal-form.html +167 -0
- data/templates/project/sources/jquery-ui/demos/dialog/modal-message.html +71 -0
- data/templates/project/sources/jquery-ui/demos/dialog/modal.html +60 -0
- data/templates/project/sources/jquery-ui/demos/draggable/constrain-movement.html +69 -0
- data/templates/project/sources/jquery-ui/demos/draggable/cursor-style.html +49 -0
- data/templates/project/sources/jquery-ui/demos/draggable/default.html +39 -0
- data/templates/project/sources/jquery-ui/demos/draggable/delay-start.html +45 -0
- data/templates/project/sources/jquery-ui/demos/draggable/events.html +77 -0
- data/templates/project/sources/jquery-ui/demos/draggable/handle.html +50 -0
- data/templates/project/sources/jquery-ui/demos/draggable/index.html +28 -0
- data/templates/project/sources/jquery-ui/demos/draggable/revert.html +44 -0
- data/templates/project/sources/jquery-ui/demos/draggable/scroll.html +51 -0
- data/templates/project/sources/jquery-ui/demos/draggable/snap-to.html +68 -0
- data/templates/project/sources/jquery-ui/demos/draggable/sortable.html +57 -0
- data/templates/project/sources/jquery-ui/demos/draggable/visual-feedback.html +77 -0
- data/templates/project/sources/jquery-ui/demos/droppable/accepted-elements.html +60 -0
- data/templates/project/sources/jquery-ui/demos/droppable/default.html +53 -0
- data/templates/project/sources/jquery-ui/demos/droppable/images/high_tatras.jpg +0 -0
- data/templates/project/sources/jquery-ui/demos/droppable/images/high_tatras2.jpg +0 -0
- data/templates/project/sources/jquery-ui/demos/droppable/images/high_tatras2_min.jpg +0 -0
- data/templates/project/sources/jquery-ui/demos/droppable/images/high_tatras3.jpg +0 -0
- data/templates/project/sources/jquery-ui/demos/droppable/images/high_tatras3_min.jpg +0 -0
- data/templates/project/sources/jquery-ui/demos/droppable/images/high_tatras4.jpg +0 -0
- data/templates/project/sources/jquery-ui/demos/droppable/images/high_tatras4_min.jpg +0 -0
- data/templates/project/sources/jquery-ui/demos/droppable/images/high_tatras_min.jpg +0 -0
- data/templates/project/sources/jquery-ui/demos/droppable/index.html +24 -0
- data/templates/project/sources/jquery-ui/demos/droppable/photo-manager.html +184 -0
- data/templates/project/sources/jquery-ui/demos/droppable/propagation.html +80 -0
- data/templates/project/sources/jquery-ui/demos/droppable/revert.html +61 -0
- data/templates/project/sources/jquery-ui/demos/droppable/shopping-cart.html +101 -0
- data/templates/project/sources/jquery-ui/demos/droppable/visual-feedback.html +78 -0
- data/templates/project/sources/jquery-ui/demos/effect/default.html +109 -0
- data/templates/project/sources/jquery-ui/demos/effect/easing.html +108 -0
- data/templates/project/sources/jquery-ui/demos/effect/index.html +19 -0
- data/templates/project/sources/jquery-ui/demos/hide/default.html +102 -0
- data/templates/project/sources/jquery-ui/demos/hide/index.html +18 -0
- data/templates/project/sources/jquery-ui/demos/images/calendar.gif +0 -0
- data/templates/project/sources/jquery-ui/demos/images/demo-config-on-tile.gif +0 -0
- data/templates/project/sources/jquery-ui/demos/images/demo-config-on.gif +0 -0
- data/templates/project/sources/jquery-ui/demos/images/demo-spindown-closed.gif +0 -0
- data/templates/project/sources/jquery-ui/demos/images/demo-spindown-open.gif +0 -0
- data/templates/project/sources/jquery-ui/demos/images/icon-docs-info.gif +0 -0
- data/templates/project/sources/jquery-ui/demos/images/pbar-ani.gif +0 -0
- data/templates/project/sources/jquery-ui/demos/index.html +329 -0
- data/templates/project/sources/jquery-ui/demos/menu/contextmenu.html +81 -0
- data/templates/project/sources/jquery-ui/demos/menu/default.html +54 -0
- data/templates/project/sources/jquery-ui/demos/menu/index.html +17 -0
- data/templates/project/sources/jquery-ui/demos/position/cycler.html +120 -0
- data/templates/project/sources/jquery-ui/demos/position/default.html +153 -0
- data/templates/project/sources/jquery-ui/demos/position/images/earth.jpg +0 -0
- data/templates/project/sources/jquery-ui/demos/position/images/flight.jpg +0 -0
- data/templates/project/sources/jquery-ui/demos/position/images/rocket.jpg +0 -0
- data/templates/project/sources/jquery-ui/demos/position/index.html +19 -0
- data/templates/project/sources/jquery-ui/demos/progressbar/animated.html +44 -0
- data/templates/project/sources/jquery-ui/demos/progressbar/default.html +35 -0
- data/templates/project/sources/jquery-ui/demos/progressbar/images/pbar-ani.gif +0 -0
- data/templates/project/sources/jquery-ui/demos/progressbar/index.html +20 -0
- data/templates/project/sources/jquery-ui/demos/progressbar/resize.html +40 -0
- data/templates/project/sources/jquery-ui/demos/removeClass/default.html +52 -0
- data/templates/project/sources/jquery-ui/demos/removeClass/index.html +18 -0
- data/templates/project/sources/jquery-ui/demos/resizable/animate.html +43 -0
- data/templates/project/sources/jquery-ui/demos/resizable/aspect-ratio.html +42 -0
- data/templates/project/sources/jquery-ui/demos/resizable/constrain-area.html +47 -0
- data/templates/project/sources/jquery-ui/demos/resizable/default.html +40 -0
- data/templates/project/sources/jquery-ui/demos/resizable/delay-start.html +52 -0
- data/templates/project/sources/jquery-ui/demos/resizable/helper.html +43 -0
- data/templates/project/sources/jquery-ui/demos/resizable/index.html +28 -0
- data/templates/project/sources/jquery-ui/demos/resizable/max-min.html +45 -0
- data/templates/project/sources/jquery-ui/demos/resizable/snap-to-grid.html +42 -0
- data/templates/project/sources/jquery-ui/demos/resizable/synchronous-resize.html +49 -0
- data/templates/project/sources/jquery-ui/demos/resizable/textarea.html +41 -0
- data/templates/project/sources/jquery-ui/demos/resizable/visual-feedback.html +43 -0
- data/templates/project/sources/jquery-ui/demos/selectable/default.html +50 -0
- data/templates/project/sources/jquery-ui/demos/selectable/display-grid.html +55 -0
- data/templates/project/sources/jquery-ui/demos/selectable/index.html +20 -0
- data/templates/project/sources/jquery-ui/demos/selectable/serialize.html +61 -0
- data/templates/project/sources/jquery-ui/demos/show/default.html +104 -0
- data/templates/project/sources/jquery-ui/demos/show/index.html +18 -0
- data/templates/project/sources/jquery-ui/demos/slider/colorpicker.html +95 -0
- data/templates/project/sources/jquery-ui/demos/slider/default.html +37 -0
- data/templates/project/sources/jquery-ui/demos/slider/hotelrooms.html +59 -0
- data/templates/project/sources/jquery-ui/demos/slider/index.html +29 -0
- data/templates/project/sources/jquery-ui/demos/slider/multiple-vertical.html +77 -0
- data/templates/project/sources/jquery-ui/demos/slider/range-vertical.html +51 -0
- data/templates/project/sources/jquery-ui/demos/slider/range.html +52 -0
- data/templates/project/sources/jquery-ui/demos/slider/rangemax.html +50 -0
- data/templates/project/sources/jquery-ui/demos/slider/rangemin.html +51 -0
- data/templates/project/sources/jquery-ui/demos/slider/side-scroll.html +140 -0
- data/templates/project/sources/jquery-ui/demos/slider/slider-vertical.html +52 -0
- data/templates/project/sources/jquery-ui/demos/slider/steps.html +51 -0
- data/templates/project/sources/jquery-ui/demos/slider/tabs.html +67 -0
- data/templates/project/sources/jquery-ui/demos/sortable/connect-lists-through-tabs.html +78 -0
- data/templates/project/sources/jquery-ui/demos/sortable/connect-lists.html +58 -0
- data/templates/project/sources/jquery-ui/demos/sortable/default.html +51 -0
- data/templates/project/sources/jquery-ui/demos/sortable/delay-start.html +67 -0
- data/templates/project/sources/jquery-ui/demos/sortable/display-grid.html +54 -0
- data/templates/project/sources/jquery-ui/demos/sortable/empty-lists.html +69 -0
- data/templates/project/sources/jquery-ui/demos/sortable/index.html +26 -0
- data/templates/project/sources/jquery-ui/demos/sortable/items.html +70 -0
- data/templates/project/sources/jquery-ui/demos/sortable/placeholder.html +56 -0
- data/templates/project/sources/jquery-ui/demos/sortable/portlets.html +96 -0
- data/templates/project/sources/jquery-ui/demos/spinner/currency.html +61 -0
- data/templates/project/sources/jquery-ui/demos/spinner/decimal.html +59 -0
- data/templates/project/sources/jquery-ui/demos/spinner/default.html +65 -0
- data/templates/project/sources/jquery-ui/demos/spinner/index.html +20 -0
- data/templates/project/sources/jquery-ui/demos/spinner/latlong.html +60 -0
- data/templates/project/sources/jquery-ui/demos/spinner/overflow.html +47 -0
- data/templates/project/sources/jquery-ui/demos/spinner/time.html +71 -0
- data/templates/project/sources/jquery-ui/demos/switchClass/default.html +47 -0
- data/templates/project/sources/jquery-ui/demos/switchClass/index.html +18 -0
- data/templates/project/sources/jquery-ui/demos/tabs/ajax.html +53 -0
- data/templates/project/sources/jquery-ui/demos/tabs/ajax/content1.html +4 -0
- data/templates/project/sources/jquery-ui/demos/tabs/ajax/content2.html +4 -0
- data/templates/project/sources/jquery-ui/demos/tabs/ajax/content3-slow.php +7 -0
- data/templates/project/sources/jquery-ui/demos/tabs/ajax/content4-broken.php +3 -0
- data/templates/project/sources/jquery-ui/demos/tabs/bottom.html +59 -0
- data/templates/project/sources/jquery-ui/demos/tabs/collapsible.html +55 -0
- data/templates/project/sources/jquery-ui/demos/tabs/cookie.html +57 -0
- data/templates/project/sources/jquery-ui/demos/tabs/default.html +49 -0
- data/templates/project/sources/jquery-ui/demos/tabs/index.html +25 -0
- data/templates/project/sources/jquery-ui/demos/tabs/manipulation.html +124 -0
- data/templates/project/sources/jquery-ui/demos/tabs/mouseover.html +53 -0
- data/templates/project/sources/jquery-ui/demos/tabs/sortable.html +58 -0
- data/templates/project/sources/jquery-ui/demos/tabs/vertical.html +61 -0
- data/templates/project/sources/jquery-ui/demos/toggle/default.html +94 -0
- data/templates/project/sources/jquery-ui/demos/toggle/index.html +18 -0
- data/templates/project/sources/jquery-ui/demos/toggleClass/default.html +46 -0
- data/templates/project/sources/jquery-ui/demos/toggleClass/index.html +18 -0
- data/templates/project/sources/jquery-ui/demos/tooltip/ajax/content1.html +1 -0
- data/templates/project/sources/jquery-ui/demos/tooltip/ajax/content2.html +1 -0
- data/templates/project/sources/jquery-ui/demos/tooltip/custom-animation.html +58 -0
- data/templates/project/sources/jquery-ui/demos/tooltip/default.html +48 -0
- data/templates/project/sources/jquery-ui/demos/tooltip/delegation-mixbag.html +73 -0
- data/templates/project/sources/jquery-ui/demos/tooltip/forms.html +71 -0
- data/templates/project/sources/jquery-ui/demos/tooltip/index.html +22 -0
- data/templates/project/sources/jquery-ui/demos/tooltip/tracking.html +64 -0
- data/templates/project/sources/jquery-ui/external/jquery.bgiframe-2.1.2.js +39 -0
- data/templates/project/sources/jquery-ui/external/jquery.cookie.js +89 -0
- data/templates/project/sources/jquery-ui/external/jquery.global.de-DE.js +55 -0
- data/templates/project/sources/jquery-ui/external/jquery.global.ja-JP.js +74 -0
- data/templates/project/sources/jquery-ui/external/jquery.global.js +1341 -0
- data/templates/project/sources/jquery-ui/external/jquery.metadata.js +122 -0
- data/templates/project/sources/jquery-ui/external/jquery.mousewheel-3.0.4.js +78 -0
- data/templates/project/sources/jquery-ui/external/qunit.css +215 -0
- data/templates/project/sources/jquery-ui/external/qunit.js +1444 -0
- data/templates/project/sources/jquery-ui/jquery-1.5.1.js +8316 -0
- data/templates/project/sources/jquery-ui/tests/index.html +22 -0
- data/templates/project/sources/jquery-ui/tests/jquery.simulate.js +151 -0
- data/templates/project/sources/jquery-ui/tests/static/button/default.html +161 -0
- data/templates/project/sources/jquery-ui/tests/static/datepicker/datepicker.html +1367 -0
- data/templates/project/sources/jquery-ui/tests/static/datepicker/default.html +86 -0
- data/templates/project/sources/jquery-ui/tests/static/icons.html +246 -0
- data/templates/project/sources/jquery-ui/tests/static/menu/all-menus-icons.html +172 -0
- data/templates/project/sources/jquery-ui/tests/static/menu/default.html +39 -0
- data/templates/project/sources/jquery-ui/tests/static/slider/default.html +17 -0
- data/templates/project/sources/jquery-ui/tests/static/slider/default_vertical.html +17 -0
- data/templates/project/sources/jquery-ui/tests/static/slider/slider_horizontal.html +17 -0
- data/templates/project/sources/jquery-ui/tests/static/slider/slider_horizontal_range.html +17 -0
- data/templates/project/sources/jquery-ui/tests/static/slider/slider_horizontal_range_max.html +17 -0
- data/templates/project/sources/jquery-ui/tests/static/slider/slider_horizontal_range_min.html +17 -0
- data/templates/project/sources/jquery-ui/tests/static/slider/slider_vertical.html +17 -0
- data/templates/project/sources/jquery-ui/tests/static/slider/slider_vertical_range.html +17 -0
- data/templates/project/sources/jquery-ui/tests/static/slider/slider_vertical_range_max.html +17 -0
- data/templates/project/sources/jquery-ui/tests/static/slider/slider_vertical_range_min.html +17 -0
- data/templates/project/sources/jquery-ui/tests/static/static.css +1 -0
- data/templates/project/sources/jquery-ui/tests/static/static.js +9 -0
- data/templates/project/sources/jquery-ui/tests/unit/accordion/accordion.html +163 -0
- data/templates/project/sources/jquery-ui/tests/unit/accordion/accordion_core.js +53 -0
- data/templates/project/sources/jquery-ui/tests/unit/accordion/accordion_defaults.js +15 -0
- data/templates/project/sources/jquery-ui/tests/unit/accordion/accordion_defaults_deprecated.js +21 -0
- data/templates/project/sources/jquery-ui/tests/unit/accordion/accordion_deprecated.html +161 -0
- data/templates/project/sources/jquery-ui/tests/unit/accordion/accordion_deprecated.js +320 -0
- data/templates/project/sources/jquery-ui/tests/unit/accordion/accordion_events.js +122 -0
- data/templates/project/sources/jquery-ui/tests/unit/accordion/accordion_methods.js +37 -0
- data/templates/project/sources/jquery-ui/tests/unit/accordion/accordion_options.js +266 -0
- data/templates/project/sources/jquery-ui/tests/unit/autocomplete/autocomplete.html +46 -0
- data/templates/project/sources/jquery-ui/tests/unit/autocomplete/autocomplete_core.js +73 -0
- data/templates/project/sources/jquery-ui/tests/unit/autocomplete/autocomplete_defaults.js +19 -0
- data/templates/project/sources/jquery-ui/tests/unit/autocomplete/autocomplete_events.js +206 -0
- data/templates/project/sources/jquery-ui/tests/unit/autocomplete/autocomplete_methods.js +39 -0
- data/templates/project/sources/jquery-ui/tests/unit/autocomplete/autocomplete_options.js +247 -0
- data/templates/project/sources/jquery-ui/tests/unit/autocomplete/remote_object_array_labels.txt +1 -0
- data/templates/project/sources/jquery-ui/tests/unit/autocomplete/remote_object_array_values.txt +1 -0
- data/templates/project/sources/jquery-ui/tests/unit/autocomplete/remote_string_array.txt +1 -0
- data/templates/project/sources/jquery-ui/tests/unit/button/button.html +68 -0
- data/templates/project/sources/jquery-ui/tests/unit/button/button_core.js +70 -0
- data/templates/project/sources/jquery-ui/tests/unit/button/button_defaults.js +15 -0
- data/templates/project/sources/jquery-ui/tests/unit/button/button_events.js +8 -0
- data/templates/project/sources/jquery-ui/tests/unit/button/button_methods.js +19 -0
- data/templates/project/sources/jquery-ui/tests/unit/button/button_options.js +93 -0
- data/templates/project/sources/jquery-ui/tests/unit/button/button_tickets.js +45 -0
- data/templates/project/sources/jquery-ui/tests/unit/core/core.html +134 -0
- data/templates/project/sources/jquery-ui/tests/unit/core/core.js +157 -0
- data/templates/project/sources/jquery-ui/tests/unit/core/selector.js +253 -0
- data/templates/project/sources/jquery-ui/tests/unit/datepicker/datepicker.html +54 -0
- data/templates/project/sources/jquery-ui/tests/unit/datepicker/datepicker_core.js +441 -0
- data/templates/project/sources/jquery-ui/tests/unit/datepicker/datepicker_defaults.js +9 -0
- data/templates/project/sources/jquery-ui/tests/unit/datepicker/datepicker_events.js +117 -0
- data/templates/project/sources/jquery-ui/tests/unit/datepicker/datepicker_methods.js +118 -0
- data/templates/project/sources/jquery-ui/tests/unit/datepicker/datepicker_options.js +924 -0
- data/templates/project/sources/jquery-ui/tests/unit/datepicker/datepicker_tickets.js +27 -0
- data/templates/project/sources/jquery-ui/tests/unit/dialog/dialog.html +57 -0
- data/templates/project/sources/jquery-ui/tests/unit/dialog/dialog_core.js +138 -0
- data/templates/project/sources/jquery-ui/tests/unit/dialog/dialog_defaults.js +35 -0
- data/templates/project/sources/jquery-ui/tests/unit/dialog/dialog_events.js +254 -0
- data/templates/project/sources/jquery-ui/tests/unit/dialog/dialog_methods.js +127 -0
- data/templates/project/sources/jquery-ui/tests/unit/dialog/dialog_options.js +444 -0
- data/templates/project/sources/jquery-ui/tests/unit/dialog/dialog_tickets.js +116 -0
- data/templates/project/sources/jquery-ui/tests/unit/draggable/draggable.html +53 -0
- data/templates/project/sources/jquery-ui/tests/unit/draggable/draggable_core.js +67 -0
- data/templates/project/sources/jquery-ui/tests/unit/draggable/draggable_defaults.js +36 -0
- data/templates/project/sources/jquery-ui/tests/unit/draggable/draggable_events.js +81 -0
- data/templates/project/sources/jquery-ui/tests/unit/draggable/draggable_methods.js +99 -0
- data/templates/project/sources/jquery-ui/tests/unit/draggable/draggable_options.js +753 -0
- data/templates/project/sources/jquery-ui/tests/unit/droppable/droppable.html +53 -0
- data/templates/project/sources/jquery-ui/tests/unit/droppable/droppable_core.js +36 -0
- data/templates/project/sources/jquery-ui/tests/unit/droppable/droppable_defaults.js +16 -0
- data/templates/project/sources/jquery-ui/tests/unit/droppable/droppable_events.js +28 -0
- data/templates/project/sources/jquery-ui/tests/unit/droppable/droppable_methods.js +86 -0
- data/templates/project/sources/jquery-ui/tests/unit/droppable/droppable_options.js +68 -0
- data/templates/project/sources/jquery-ui/tests/unit/images/jqueryui_32x32.png +0 -0
- data/templates/project/sources/jquery-ui/tests/unit/index.html +64 -0
- data/templates/project/sources/jquery-ui/tests/unit/menu/menu.html +74 -0
- data/templates/project/sources/jquery-ui/tests/unit/menu/menu_core.js +38 -0
- data/templates/project/sources/jquery-ui/tests/unit/menu/menu_defaults.js +13 -0
- data/templates/project/sources/jquery-ui/tests/unit/menu/menu_events.js +24 -0
- data/templates/project/sources/jquery-ui/tests/unit/menu/menu_methods.js +15 -0
- data/templates/project/sources/jquery-ui/tests/unit/menu/menu_options.js +10 -0
- data/templates/project/sources/jquery-ui/tests/unit/position/position.html +62 -0
- data/templates/project/sources/jquery-ui/tests/unit/position/position_core.js +438 -0
- data/templates/project/sources/jquery-ui/tests/unit/position/position_deprecated.html +60 -0
- data/templates/project/sources/jquery-ui/tests/unit/position/position_deprecated.js +32 -0
- data/templates/project/sources/jquery-ui/tests/unit/progressbar/progressbar.html +41 -0
- data/templates/project/sources/jquery-ui/tests/unit/progressbar/progressbar_core.js +28 -0
- data/templates/project/sources/jquery-ui/tests/unit/progressbar/progressbar_defaults.js +11 -0
- data/templates/project/sources/jquery-ui/tests/unit/progressbar/progressbar_events.js +51 -0
- data/templates/project/sources/jquery-ui/tests/unit/progressbar/progressbar_methods.js +36 -0
- data/templates/project/sources/jquery-ui/tests/unit/progressbar/progressbar_options.js +59 -0
- data/templates/project/sources/jquery-ui/tests/unit/resizable/images/test.jpg +0 -0
- data/templates/project/sources/jquery-ui/tests/unit/resizable/resizable.html +53 -0
- data/templates/project/sources/jquery-ui/tests/unit/resizable/resizable_core.js +148 -0
- data/templates/project/sources/jquery-ui/tests/unit/resizable/resizable_defaults.js +28 -0
- data/templates/project/sources/jquery-ui/tests/unit/resizable/resizable_events.js +20 -0
- data/templates/project/sources/jquery-ui/tests/unit/resizable/resizable_methods.js +64 -0
- data/templates/project/sources/jquery-ui/tests/unit/resizable/resizable_options.js +190 -0
- data/templates/project/sources/jquery-ui/tests/unit/selectable/selectable.html +56 -0
- data/templates/project/sources/jquery-ui/tests/unit/selectable/selectable_core.js +16 -0
- data/templates/project/sources/jquery-ui/tests/unit/selectable/selectable_defaults.js +16 -0
- data/templates/project/sources/jquery-ui/tests/unit/selectable/selectable_events.js +32 -0
- data/templates/project/sources/jquery-ui/tests/unit/selectable/selectable_methods.js +93 -0
- data/templates/project/sources/jquery-ui/tests/unit/selectable/selectable_options.js +46 -0
- data/templates/project/sources/jquery-ui/tests/unit/slider/slider.html +55 -0
- data/templates/project/sources/jquery-ui/tests/unit/slider/slider_core.js +292 -0
- data/templates/project/sources/jquery-ui/tests/unit/slider/slider_defaults.js +20 -0
- data/templates/project/sources/jquery-ui/tests/unit/slider/slider_events.js +109 -0
- data/templates/project/sources/jquery-ui/tests/unit/slider/slider_methods.js +102 -0
- data/templates/project/sources/jquery-ui/tests/unit/slider/slider_options.js +146 -0
- data/templates/project/sources/jquery-ui/tests/unit/sortable/sortable.html +57 -0
- data/templates/project/sources/jquery-ui/tests/unit/sortable/sortable_core.js +9 -0
- data/templates/project/sources/jquery-ui/tests/unit/sortable/sortable_defaults.js +34 -0
- data/templates/project/sources/jquery-ui/tests/unit/sortable/sortable_events.js +147 -0
- data/templates/project/sources/jquery-ui/tests/unit/sortable/sortable_methods.js +108 -0
- data/templates/project/sources/jquery-ui/tests/unit/sortable/sortable_options.js +256 -0
- data/templates/project/sources/jquery-ui/tests/unit/sortable/sortable_tickets.js +83 -0
- data/templates/project/sources/jquery-ui/tests/unit/spinner/spinner.html +46 -0
- data/templates/project/sources/jquery-ui/tests/unit/spinner/spinner_core.js +171 -0
- data/templates/project/sources/jquery-ui/tests/unit/spinner/spinner_defaults.js +16 -0
- data/templates/project/sources/jquery-ui/tests/unit/spinner/spinner_events.js +64 -0
- data/templates/project/sources/jquery-ui/tests/unit/spinner/spinner_methods.js +155 -0
- data/templates/project/sources/jquery-ui/tests/unit/spinner/spinner_options.js +154 -0
- data/templates/project/sources/jquery-ui/tests/unit/swarminject.js +9 -0
- data/templates/project/sources/jquery-ui/tests/unit/tabs/data/test.html +1 -0
- data/templates/project/sources/jquery-ui/tests/unit/tabs/spinner.gif +0 -0
- data/templates/project/sources/jquery-ui/tests/unit/tabs/tabs.html +139 -0
- data/templates/project/sources/jquery-ui/tests/unit/tabs/tabs_core.js +50 -0
- data/templates/project/sources/jquery-ui/tests/unit/tabs/tabs_defaults.js +13 -0
- data/templates/project/sources/jquery-ui/tests/unit/tabs/tabs_defaults_deprecated.js +26 -0
- data/templates/project/sources/jquery-ui/tests/unit/tabs/tabs_deprecated.html +138 -0
- data/templates/project/sources/jquery-ui/tests/unit/tabs/tabs_deprecated.js +350 -0
- data/templates/project/sources/jquery-ui/tests/unit/tabs/tabs_events.js +198 -0
- data/templates/project/sources/jquery-ui/tests/unit/tabs/tabs_methods.js +165 -0
- data/templates/project/sources/jquery-ui/tests/unit/tabs/tabs_options.js +146 -0
- data/templates/project/sources/jquery-ui/tests/unit/tabs/tabs_tickets.js +99 -0
- data/templates/project/sources/jquery-ui/tests/unit/testsuite.js +101 -0
- data/templates/project/sources/jquery-ui/tests/unit/tooltip/tooltip.html +47 -0
- data/templates/project/sources/jquery-ui/tests/unit/tooltip/tooltip_core.js +11 -0
- data/templates/project/sources/jquery-ui/tests/unit/tooltip/tooltip_defaults.js +16 -0
- data/templates/project/sources/jquery-ui/tests/unit/tooltip/tooltip_events.js +54 -0
- data/templates/project/sources/jquery-ui/tests/unit/tooltip/tooltip_methods.js +30 -0
- data/templates/project/sources/jquery-ui/tests/unit/tooltip/tooltip_options.js +62 -0
- data/templates/project/sources/jquery-ui/tests/unit/widget/widget.html +40 -0
- data/templates/project/sources/jquery-ui/tests/unit/widget/widget_core.js +992 -0
- data/templates/project/sources/jquery-ui/tests/visual/addClass/addClass_queue.html +50 -0
- data/templates/project/sources/jquery-ui/tests/visual/all.css +84 -0
- data/templates/project/sources/jquery-ui/tests/visual/all.html +190 -0
- data/templates/project/sources/jquery-ui/tests/visual/animate/animate_backgroundColor_hex.html +44 -0
- data/templates/project/sources/jquery-ui/tests/visual/animate/animate_backgroundColor_rgb.html +35 -0
- data/templates/project/sources/jquery-ui/tests/visual/animate/animate_color_hex.html +44 -0
- data/templates/project/sources/jquery-ui/tests/visual/animate/animate_color_rgb.html +35 -0
- data/templates/project/sources/jquery-ui/tests/visual/button/button.html +140 -0
- data/templates/project/sources/jquery-ui/tests/visual/button/button_disabled_true.html +84 -0
- data/templates/project/sources/jquery-ui/tests/visual/button/button_input_type_checkbox.html +25 -0
- data/templates/project/sources/jquery-ui/tests/visual/button/button_option_disabled_true.html +84 -0
- data/templates/project/sources/jquery-ui/tests/visual/button/button_performance.html +555 -0
- data/templates/project/sources/jquery-ui/tests/visual/button/button_ticket_5254.html +55 -0
- data/templates/project/sources/jquery-ui/tests/visual/button/button_ticket_5261.html +42 -0
- data/templates/project/sources/jquery-ui/tests/visual/button/button_ticket_5278.html +58 -0
- data/templates/project/sources/jquery-ui/tests/visual/compound/accordion_dialog.html +202 -0
- data/templates/project/sources/jquery-ui/tests/visual/compound/accordion_tabs.html +86 -0
- data/templates/project/sources/jquery-ui/tests/visual/compound/datepicker_dialog.html +157 -0
- data/templates/project/sources/jquery-ui/tests/visual/compound/draggable_accordion.html +65 -0
- data/templates/project/sources/jquery-ui/tests/visual/compound/draggable_accordion_accordion_tabs_draggable.html +109 -0
- data/templates/project/sources/jquery-ui/tests/visual/compound/sortable_accordion_sortable_tabs.html +108 -0
- data/templates/project/sources/jquery-ui/tests/visual/compound/tabs_tabs.html +73 -0
- data/templates/project/sources/jquery-ui/tests/visual/compound/tabs_tooltips.html +37 -0
- data/templates/project/sources/jquery-ui/tests/visual/compound/widgets_in_dialog.html +229 -0
- data/templates/project/sources/jquery-ui/tests/visual/datepicker/calendar.gif +0 -0
- data/templates/project/sources/jquery-ui/tests/visual/datepicker/datepicker.html +23 -0
- data/templates/project/sources/jquery-ui/tests/visual/datepicker/datepicker_multi_inline.html +113 -0
- data/templates/project/sources/jquery-ui/tests/visual/datepicker/datepicker_ticket_4071.html +96 -0
- data/templates/project/sources/jquery-ui/tests/visual/datepicker/datepicker_ticket_4240.html +55 -0
- data/templates/project/sources/jquery-ui/tests/visual/datepicker/datepicker_ticket_4443.html +38 -0
- data/templates/project/sources/jquery-ui/tests/visual/datepicker/datepicker_ticket_5676.html +30 -0
- data/templates/project/sources/jquery-ui/tests/visual/datepicker/multimonth.html +23 -0
- data/templates/project/sources/jquery-ui/tests/visual/datepicker/viewport.html +278 -0
- data/templates/project/sources/jquery-ui/tests/visual/dialog/dialog_on_page_with_large_dom.html +2963 -0
- data/templates/project/sources/jquery-ui/tests/visual/draggable/draggable.html +24 -0
- data/templates/project/sources/jquery-ui/tests/visual/draggable/draggable.scroll.html +152 -0
- data/templates/project/sources/jquery-ui/tests/visual/draggable/draggable_option_containment_array.html +26 -0
- data/templates/project/sources/jquery-ui/tests/visual/draggable/draggable_option_cursorAt_object.html +26 -0
- data/templates/project/sources/jquery-ui/tests/visual/draggable/draggable_option_handle_selector.html +28 -0
- data/templates/project/sources/jquery-ui/tests/visual/draggable/draggable_option_iframeFix_false.html +30 -0
- data/templates/project/sources/jquery-ui/tests/visual/draggable/draggable_option_iframeFix_selector.html +30 -0
- data/templates/project/sources/jquery-ui/tests/visual/draggable/draggable_option_iframeFix_true.html +30 -0
- data/templates/project/sources/jquery-ui/tests/visual/droppable/droppable.css +3 -0
- data/templates/project/sources/jquery-ui/tests/visual/droppable/droppable.html +33 -0
- data/templates/project/sources/jquery-ui/tests/visual/droppable/droppable_option_accept_default.html +40 -0
- data/templates/project/sources/jquery-ui/tests/visual/droppable/droppable_option_accept_function.html +43 -0
- data/templates/project/sources/jquery-ui/tests/visual/droppable/droppable_option_accept_selector.html +41 -0
- data/templates/project/sources/jquery-ui/tests/visual/droppable/droppable_ticket_4087.html +51 -0
- data/templates/project/sources/jquery-ui/tests/visual/droppable/droppable_ticket_4088.html +69 -0
- data/templates/project/sources/jquery-ui/tests/visual/effects.all.css +54 -0
- data/templates/project/sources/jquery-ui/tests/visual/effects.all.html +193 -0
- data/templates/project/sources/jquery-ui/tests/visual/effects.all.js +92 -0
- data/templates/project/sources/jquery-ui/tests/visual/menu/contextmenu.html +191 -0
- data/templates/project/sources/jquery-ui/tests/visual/menu/drilldown.html +266 -0
- data/templates/project/sources/jquery-ui/tests/visual/menu/menu.html +147 -0
- data/templates/project/sources/jquery-ui/tests/visual/menu/menubar.html +208 -0
- data/templates/project/sources/jquery-ui/tests/visual/menu/menubar.js +189 -0
- data/templates/project/sources/jquery-ui/tests/visual/menu/popup.html +159 -0
- data/templates/project/sources/jquery-ui/tests/visual/menu/popup.js +113 -0
- data/templates/project/sources/jquery-ui/tests/visual/menu/tablemenu.html +67 -0
- data/templates/project/sources/jquery-ui/tests/visual/mouse/mouse_ticket_6946.html +67 -0
- data/templates/project/sources/jquery-ui/tests/visual/position/position.html +67 -0
- data/templates/project/sources/jquery-ui/tests/visual/position/position_margin.html +43 -0
- data/templates/project/sources/jquery-ui/tests/visual/resizable/images/test.png +0 -0
- data/templates/project/sources/jquery-ui/tests/visual/resizable/resizable.html +24 -0
- data/templates/project/sources/jquery-ui/tests/visual/resizable/resizable_option_alsoResize_child.html +48 -0
- data/templates/project/sources/jquery-ui/tests/visual/resizable/resizable_option_aspectRatio_0.5.html +29 -0
- data/templates/project/sources/jquery-ui/tests/visual/resizable/resizable_option_aspectRatio_1.0.html +29 -0
- data/templates/project/sources/jquery-ui/tests/visual/resizable/resizable_option_aspectRatio_1.5.html +29 -0
- data/templates/project/sources/jquery-ui/tests/visual/resizable/resizable_option_aspectRatio_preserve_maxHeight_150.html +30 -0
- data/templates/project/sources/jquery-ui/tests/visual/resizable/resizable_option_aspectRatio_preserve_maxWidth_150.html +30 -0
- data/templates/project/sources/jquery-ui/tests/visual/resizable/resizable_option_aspectRatio_preserve_minHeight_50.html +30 -0
- data/templates/project/sources/jquery-ui/tests/visual/resizable/resizable_option_aspectRatio_preserve_minWidth_50.html +30 -0
- data/templates/project/sources/jquery-ui/tests/visual/resizable/resizable_option_aspectRatio_preserve_w100xh100.html +29 -0
- data/templates/project/sources/jquery-ui/tests/visual/resizable/resizable_option_aspectRatio_preserve_w100xh50.html +29 -0
- data/templates/project/sources/jquery-ui/tests/visual/resizable/resizable_option_aspectRatio_preserve_w50xh100.html +29 -0
- data/templates/project/sources/jquery-ui/tests/visual/resizable/resizable_ticket_3053.html +37 -0
- data/templates/project/sources/jquery-ui/tests/visual/resizable/resizable_ticket_4199.html +37 -0
- data/templates/project/sources/jquery-ui/tests/visual/resizable/resizable_ticket_4217.html +46 -0
- data/templates/project/sources/jquery-ui/tests/visual/resizable/resizable_ticket_4940.html +32 -0
- data/templates/project/sources/jquery-ui/tests/visual/resizable/resizable_ticket_5335.html +52 -0
- data/templates/project/sources/jquery-ui/tests/visual/selectable/selectable.html +40 -0
- data/templates/project/sources/jquery-ui/tests/visual/selectable/selectable_ticket_4341.html +46 -0
- data/templates/project/sources/jquery-ui/tests/visual/slider/slider.html +24 -0
- data/templates/project/sources/jquery-ui/tests/visual/slider/slider_horizontal.html +27 -0
- data/templates/project/sources/jquery-ui/tests/visual/slider/slider_horizontal_range.html +28 -0
- data/templates/project/sources/jquery-ui/tests/visual/slider/slider_horizontal_range_max.html +28 -0
- data/templates/project/sources/jquery-ui/tests/visual/slider/slider_horizontal_range_min.html +28 -0
- data/templates/project/sources/jquery-ui/tests/visual/slider/slider_in_container_with_scrollbars.html +43 -0
- data/templates/project/sources/jquery-ui/tests/visual/slider/slider_method_destroy.html +28 -0
- data/templates/project/sources/jquery-ui/tests/visual/slider/slider_method_disable.html +47 -0
- data/templates/project/sources/jquery-ui/tests/visual/slider/slider_option_animate_false.html +26 -0
- data/templates/project/sources/jquery-ui/tests/visual/slider/slider_option_animate_true.html +65 -0
- data/templates/project/sources/jquery-ui/tests/visual/slider/slider_option_max_3.html +26 -0
- data/templates/project/sources/jquery-ui/tests/visual/slider/slider_option_max_30.html +26 -0
- data/templates/project/sources/jquery-ui/tests/visual/slider/slider_option_max_300.html +26 -0
- data/templates/project/sources/jquery-ui/tests/visual/slider/slider_option_min_-3.html +27 -0
- data/templates/project/sources/jquery-ui/tests/visual/slider/slider_option_min_-30.html +27 -0
- data/templates/project/sources/jquery-ui/tests/visual/slider/slider_option_min_-300.html +27 -0
- data/templates/project/sources/jquery-ui/tests/visual/slider/slider_option_orientation_horizontal.html +26 -0
- data/templates/project/sources/jquery-ui/tests/visual/slider/slider_option_orientation_vertical.html +26 -0
- data/templates/project/sources/jquery-ui/tests/visual/slider/slider_option_range_false.html +27 -0
- data/templates/project/sources/jquery-ui/tests/visual/slider/slider_option_range_max.html +27 -0
- data/templates/project/sources/jquery-ui/tests/visual/slider/slider_option_range_min.html +27 -0
- data/templates/project/sources/jquery-ui/tests/visual/slider/slider_option_range_true.html +27 -0
- data/templates/project/sources/jquery-ui/tests/visual/slider/slider_option_step_25.html +26 -0
- data/templates/project/sources/jquery-ui/tests/visual/slider/slider_option_step_5.html +26 -0
- data/templates/project/sources/jquery-ui/tests/visual/slider/slider_option_value_3.html +26 -0
- data/templates/project/sources/jquery-ui/tests/visual/slider/slider_option_value_30.html +26 -0
- data/templates/project/sources/jquery-ui/tests/visual/slider/slider_option_values_25_50_75.html +26 -0
- data/templates/project/sources/jquery-ui/tests/visual/slider/slider_option_values_25_75.html +26 -0
- data/templates/project/sources/jquery-ui/tests/visual/slider/slider_option_values_50.html +26 -0
- data/templates/project/sources/jquery-ui/tests/visual/slider/slider_ticket_3736.html +36 -0
- data/templates/project/sources/jquery-ui/tests/visual/slider/slider_ticket_3762.html +44 -0
- data/templates/project/sources/jquery-ui/tests/visual/slider/slider_ticket_4385.html +42 -0
- data/templates/project/sources/jquery-ui/tests/visual/slider/slider_ticket_4467.html +34 -0
- data/templates/project/sources/jquery-ui/tests/visual/slider/slider_vertical.html +27 -0
- data/templates/project/sources/jquery-ui/tests/visual/slider/slider_vertical_range.html +28 -0
- data/templates/project/sources/jquery-ui/tests/visual/slider/slider_vertical_range_max.html +28 -0
- data/templates/project/sources/jquery-ui/tests/visual/slider/slider_vertical_range_min.html +28 -0
- data/templates/project/sources/jquery-ui/tests/visual/sortable/sortable.html +40 -0
- data/templates/project/sources/jquery-ui/tests/visual/sortable/sortable_massive_scale.html +757 -0
- data/templates/project/sources/jquery-ui/tests/visual/sortable/sortable_option_revert_false.html +31 -0
- data/templates/project/sources/jquery-ui/tests/visual/sortable/sortable_option_revert_true.html +31 -0
- data/templates/project/sources/jquery-ui/tests/visual/sortable/sortable_ticket_4231.html +78 -0
- data/templates/project/sources/jquery-ui/tests/visual/sortable/sortable_ticket_5355.html +58 -0
- data/templates/project/sources/jquery-ui/tests/visual/spinner/spinner.html +43 -0
- data/templates/project/sources/jquery-ui/tests/visual/theme.html +532 -0
- data/templates/project/sources/jquery-ui/tests/visual/tooltip/ajaxcontent.php +2 -0
- data/templates/project/sources/jquery-ui/tests/visual/tooltip/callout.html +213 -0
- data/templates/project/sources/jquery-ui/tests/visual/tooltip/tooltip.html +186 -0
- data/templates/project/sources/jquery-ui/tests/visual/visual.css +3 -0
- data/templates/project/sources/jquery-ui/themes/base/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/templates/project/sources/jquery-ui/themes/base/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/templates/project/sources/jquery-ui/themes/base/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- data/templates/project/sources/jquery-ui/themes/base/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/templates/project/sources/jquery-ui/themes/base/images/ui-bg_glass_75_dadada_1x400.png +0 -0
- data/templates/project/sources/jquery-ui/themes/base/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- data/templates/project/sources/jquery-ui/themes/base/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/templates/project/sources/jquery-ui/themes/base/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
- data/templates/project/sources/jquery-ui/themes/base/images/ui-icons_222222_256x240.png +0 -0
- data/templates/project/sources/jquery-ui/themes/base/images/ui-icons_2e83ff_256x240.png +0 -0
- data/templates/project/sources/jquery-ui/themes/base/images/ui-icons_454545_256x240.png +0 -0
- data/templates/project/sources/jquery-ui/themes/base/images/ui-icons_888888_256x240.png +0 -0
- data/templates/project/sources/jquery-ui/themes/base/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/templates/project/sources/jquery-ui/themes/base/jquery.ui.accordion.css +18 -0
- data/templates/project/sources/jquery-ui/themes/base/jquery.ui.all.css +11 -0
- data/templates/project/sources/jquery-ui/themes/base/jquery.ui.autocomplete.css +13 -0
- data/templates/project/sources/jquery-ui/themes/base/jquery.ui.base.css +24 -0
- data/templates/project/sources/jquery-ui/themes/base/jquery.ui.button.css +38 -0
- data/templates/project/sources/jquery-ui/themes/base/jquery.ui.core.css +41 -0
- data/templates/project/sources/jquery-ui/themes/base/jquery.ui.datepicker.css +68 -0
- data/templates/project/sources/jquery-ui/themes/base/jquery.ui.dialog.css +21 -0
- data/templates/project/sources/jquery-ui/themes/base/jquery.ui.menu.css +44 -0
- data/templates/project/sources/jquery-ui/themes/base/jquery.ui.progressbar.css +11 -0
- data/templates/project/sources/jquery-ui/themes/base/jquery.ui.resizable.css +25 -0
- data/templates/project/sources/jquery-ui/themes/base/jquery.ui.selectable.css +10 -0
- data/templates/project/sources/jquery-ui/themes/base/jquery.ui.slider.css +24 -0
- data/templates/project/sources/jquery-ui/themes/base/jquery.ui.spinner.css +23 -0
- data/templates/project/sources/jquery-ui/themes/base/jquery.ui.tabs.css +17 -0
- data/templates/project/sources/jquery-ui/themes/base/jquery.ui.theme.css +252 -0
- data/templates/project/sources/jquery-ui/themes/base/jquery.ui.tooltip.css +23 -0
- data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-af.js +23 -0
- data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-ar-DZ.js +23 -0
- data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-ar.js +23 -0
- data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-az.js +23 -0
- data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-bg.js +24 -0
- data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-bs.js +23 -0
- data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-ca.js +23 -0
- data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-cs.js +23 -0
- data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-da.js +23 -0
- data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-de.js +23 -0
- data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-el.js +23 -0
- data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-en-AU.js +23 -0
- data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-en-GB.js +23 -0
- data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-en-NZ.js +23 -0
- data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-eo.js +23 -0
- data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-es.js +23 -0
- data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-et.js +23 -0
- data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-eu.js +23 -0
- data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-fa.js +23 -0
- data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-fi.js +23 -0
- data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-fo.js +23 -0
- data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-fr-CH.js +23 -0
- data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-fr.js +25 -0
- data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-gl.js +23 -0
- data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-he.js +23 -0
- data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-hr.js +23 -0
- data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-hu.js +23 -0
- data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-hy.js +23 -0
- data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-id.js +23 -0
- data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-is.js +23 -0
- data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-it.js +23 -0
- data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-ja.js +23 -0
- data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-ko.js +23 -0
- data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-kz.js +23 -0
- data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-lt.js +23 -0
- data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-lv.js +23 -0
- data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-ml.js +23 -0
- data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-ms.js +23 -0
- data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-nl.js +23 -0
- data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-no.js +23 -0
- data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-pl.js +23 -0
- data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-pt-BR.js +23 -0
- data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-pt.js +22 -0
- data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-rm.js +21 -0
- data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-ro.js +26 -0
- data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-ru.js +23 -0
- data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-sk.js +23 -0
- data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-sl.js +24 -0
- data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-sq.js +23 -0
- data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-sr-SR.js +23 -0
- data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-sr.js +23 -0
- data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-sv.js +23 -0
- data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-ta.js +23 -0
- data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-th.js +23 -0
- data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-tj.js +23 -0
- data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-tr.js +23 -0
- data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-uk.js +23 -0
- data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-vi.js +23 -0
- data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-zh-CN.js +23 -0
- data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-zh-HK.js +23 -0
- data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-zh-TW.js +23 -0
- data/templates/project/sources/jquery-ui/ui/jquery.effects.blind.js +52 -0
- data/templates/project/sources/jquery-ui/ui/jquery.effects.bounce.js +102 -0
- data/templates/project/sources/jquery-ui/ui/jquery.effects.clip.js +69 -0
- data/templates/project/sources/jquery-ui/ui/jquery.effects.core.js +825 -0
- data/templates/project/sources/jquery-ui/ui/jquery.effects.drop.js +64 -0
- data/templates/project/sources/jquery-ui/ui/jquery.effects.explode.js +103 -0
- data/templates/project/sources/jquery-ui/ui/jquery.effects.fade.js +34 -0
- data/templates/project/sources/jquery-ui/ui/jquery.effects.fold.js +73 -0
- data/templates/project/sources/jquery-ui/ui/jquery.effects.highlight.js +51 -0
- data/templates/project/sources/jquery-ui/ui/jquery.effects.pulsate.js +52 -0
- data/templates/project/sources/jquery-ui/ui/jquery.effects.scale.js +250 -0
- data/templates/project/sources/jquery-ui/ui/jquery.effects.shake.js +64 -0
- data/templates/project/sources/jquery-ui/ui/jquery.effects.slide.js +69 -0
- data/templates/project/sources/jquery-ui/ui/jquery.effects.transfer.js +46 -0
- data/templates/project/sources/jquery-ui/ui/jquery.ui.accordion.js +669 -0
- data/templates/project/sources/jquery-ui/ui/jquery.ui.autocomplete.js +439 -0
- data/templates/project/sources/jquery-ui/ui/jquery.ui.button.js +384 -0
- data/templates/project/sources/jquery-ui/ui/jquery.ui.core.js +303 -0
- data/templates/project/sources/jquery-ui/ui/jquery.ui.datepicker.js +1779 -0
- data/templates/project/sources/jquery-ui/ui/jquery.ui.dialog.js +829 -0
- data/templates/project/sources/jquery-ui/ui/jquery.ui.draggable.js +799 -0
- data/templates/project/sources/jquery-ui/ui/jquery.ui.droppable.js +285 -0
- data/templates/project/sources/jquery-ui/ui/jquery.ui.menu.js +402 -0
- data/templates/project/sources/jquery-ui/ui/jquery.ui.mouse.js +156 -0
- data/templates/project/sources/jquery-ui/ui/jquery.ui.position.js +283 -0
- data/templates/project/sources/jquery-ui/ui/jquery.ui.progressbar.js +107 -0
- data/templates/project/sources/jquery-ui/ui/jquery.ui.resizable.js +812 -0
- data/templates/project/sources/jquery-ui/ui/jquery.ui.selectable.js +266 -0
- data/templates/project/sources/jquery-ui/ui/jquery.ui.slider.js +684 -0
- data/templates/project/sources/jquery-ui/ui/jquery.ui.sortable.js +1076 -0
- data/templates/project/sources/jquery-ui/ui/jquery.ui.spinner.js +362 -0
- data/templates/project/sources/jquery-ui/ui/jquery.ui.tabs.js +1039 -0
- data/templates/project/sources/jquery-ui/ui/jquery.ui.tooltip.js +146 -0
- data/templates/project/sources/jquery-ui/ui/jquery.ui.widget.js +363 -0
- data/templates/project/sources/jquery-ui/version.txt +1 -0
- data/templates/project/sources/pie/LICENSE-APACHE2.txt +13 -0
- data/templates/project/sources/pie/LICENSE-GPL2.txt +278 -0
- data/templates/project/sources/pie/build.xml +118 -0
- data/templates/project/sources/pie/demos/basic.html +321 -0
- data/templates/project/sources/pie/demos/farbtastic/CHANGELOG.html +26 -0
- data/templates/project/sources/pie/demos/farbtastic/LICENSE.txt +341 -0
- data/templates/project/sources/pie/demos/farbtastic/README.html +71 -0
- data/templates/project/sources/pie/demos/farbtastic/demo1.html +28 -0
- data/templates/project/sources/pie/demos/farbtastic/demo2.html +57 -0
- data/templates/project/sources/pie/demos/farbtastic/farbtastic.css +51 -0
- data/templates/project/sources/pie/demos/farbtastic/farbtastic.js +345 -0
- data/templates/project/sources/pie/demos/farbtastic/farbtastic.min.js +1 -0
- data/templates/project/sources/pie/demos/farbtastic/marker.png +0 -0
- data/templates/project/sources/pie/demos/farbtastic/mask.png +0 -0
- data/templates/project/sources/pie/demos/farbtastic/wheel.png +0 -0
- data/templates/project/sources/pie/demos/tabs-control.png +0 -0
- data/templates/project/sources/pie/demos/tabs.html +296 -0
- data/templates/project/sources/pie/documentation/about.html +63 -0
- data/templates/project/sources/pie/documentation/build.html +72 -0
- data/templates/project/sources/pie/documentation/getting-started.html +66 -0
- data/templates/project/sources/pie/documentation/known-issues.html +205 -0
- data/templates/project/sources/pie/documentation/pie-js.html +89 -0
- data/templates/project/sources/pie/documentation/product-comparison.html +89 -0
- data/templates/project/sources/pie/documentation/q-and-a.html +152 -0
- data/templates/project/sources/pie/documentation/supported-css3-features.html +402 -0
- data/templates/project/sources/pie/site/pie-wp-theme/404.php +24 -0
- data/templates/project/sources/pie/site/pie-wp-theme/archive.php +24 -0
- data/templates/project/sources/pie/site/pie-wp-theme/attachment.php +25 -0
- data/templates/project/sources/pie/site/pie-wp-theme/attachment/attachment-default.php +61 -0
- data/templates/project/sources/pie/site/pie-wp-theme/carrington-core/CHANGELOG.txt +72 -0
- data/templates/project/sources/pie/site/pie-wp-theme/carrington-core/README.txt +15 -0
- data/templates/project/sources/pie/site/pie-wp-theme/carrington-core/admin.php +330 -0
- data/templates/project/sources/pie/site/pie-wp-theme/carrington-core/ajax-load.php +115 -0
- data/templates/project/sources/pie/site/pie-wp-theme/carrington-core/attachment.php +126 -0
- data/templates/project/sources/pie/site/pie-wp-theme/carrington-core/carrington.php +106 -0
- data/templates/project/sources/pie/site/pie-wp-theme/carrington-core/compatibility.php +234 -0
- data/templates/project/sources/pie/site/pie-wp-theme/carrington-core/css/colorpicker.css +161 -0
- data/templates/project/sources/pie/site/pie-wp-theme/carrington-core/images/colorpicker/blank.gif +0 -0
- data/templates/project/sources/pie/site/pie-wp-theme/carrington-core/images/colorpicker/colorpicker_background.png +0 -0
- data/templates/project/sources/pie/site/pie-wp-theme/carrington-core/images/colorpicker/colorpicker_hex.png +0 -0
- data/templates/project/sources/pie/site/pie-wp-theme/carrington-core/images/colorpicker/colorpicker_hsb_b.png +0 -0
- data/templates/project/sources/pie/site/pie-wp-theme/carrington-core/images/colorpicker/colorpicker_hsb_h.png +0 -0
- data/templates/project/sources/pie/site/pie-wp-theme/carrington-core/images/colorpicker/colorpicker_hsb_s.png +0 -0
- data/templates/project/sources/pie/site/pie-wp-theme/carrington-core/images/colorpicker/colorpicker_indic.gif +0 -0
- data/templates/project/sources/pie/site/pie-wp-theme/carrington-core/images/colorpicker/colorpicker_overlay.png +0 -0
- data/templates/project/sources/pie/site/pie-wp-theme/carrington-core/images/colorpicker/colorpicker_rgb_b.png +0 -0
- data/templates/project/sources/pie/site/pie-wp-theme/carrington-core/images/colorpicker/colorpicker_rgb_g.png +0 -0
- data/templates/project/sources/pie/site/pie-wp-theme/carrington-core/images/colorpicker/colorpicker_rgb_r.png +0 -0
- data/templates/project/sources/pie/site/pie-wp-theme/carrington-core/images/colorpicker/colorpicker_select.gif +0 -0
- data/templates/project/sources/pie/site/pie-wp-theme/carrington-core/images/colorpicker/colorpicker_submit.png +0 -0
- data/templates/project/sources/pie/site/pie-wp-theme/carrington-core/images/colorpicker/custom_background.png +0 -0
- data/templates/project/sources/pie/site/pie-wp-theme/carrington-core/images/colorpicker/custom_hex.png +0 -0
- data/templates/project/sources/pie/site/pie-wp-theme/carrington-core/images/colorpicker/custom_hsb_b.png +0 -0
- data/templates/project/sources/pie/site/pie-wp-theme/carrington-core/images/colorpicker/custom_hsb_h.png +0 -0
- data/templates/project/sources/pie/site/pie-wp-theme/carrington-core/images/colorpicker/custom_hsb_s.png +0 -0
- data/templates/project/sources/pie/site/pie-wp-theme/carrington-core/images/colorpicker/custom_indic.gif +0 -0
- data/templates/project/sources/pie/site/pie-wp-theme/carrington-core/images/colorpicker/custom_rgb_b.png +0 -0
- data/templates/project/sources/pie/site/pie-wp-theme/carrington-core/images/colorpicker/custom_rgb_g.png +0 -0
- data/templates/project/sources/pie/site/pie-wp-theme/carrington-core/images/colorpicker/custom_rgb_r.png +0 -0
- data/templates/project/sources/pie/site/pie-wp-theme/carrington-core/images/colorpicker/custom_submit.png +0 -0
- data/templates/project/sources/pie/site/pie-wp-theme/carrington-core/images/colorpicker/select.png +0 -0
- data/templates/project/sources/pie/site/pie-wp-theme/carrington-core/images/colorpicker/select2.png +0 -0
- data/templates/project/sources/pie/site/pie-wp-theme/carrington-core/images/colorpicker/slider.png +0 -0
- data/templates/project/sources/pie/site/pie-wp-theme/carrington-core/js/colorpicker.js +490 -0
- data/templates/project/sources/pie/site/pie-wp-theme/carrington-core/lightbox/LICENSE.txt +30 -0
- data/templates/project/sources/pie/site/pie-wp-theme/carrington-core/lightbox/css/thickbox.css +157 -0
- data/templates/project/sources/pie/site/pie-wp-theme/carrington-core/lightbox/img/blank.gif +0 -0
- data/templates/project/sources/pie/site/pie-wp-theme/carrington-core/lightbox/img/loadingAnimation.gif +0 -0
- data/templates/project/sources/pie/site/pie-wp-theme/carrington-core/lightbox/img/macFFBgHack.png +0 -0
- data/templates/project/sources/pie/site/pie-wp-theme/carrington-core/lightbox/thickbox.js +332 -0
- data/templates/project/sources/pie/site/pie-wp-theme/carrington-core/templates.php +105 -0
- data/templates/project/sources/pie/site/pie-wp-theme/carrington-core/utility.php +821 -0
- data/templates/project/sources/pie/site/pie-wp-theme/comment/comment-default.php +53 -0
- data/templates/project/sources/pie/site/pie-wp-theme/comment/ping.php +33 -0
- data/templates/project/sources/pie/site/pie-wp-theme/comments.php +24 -0
- data/templates/project/sources/pie/site/pie-wp-theme/comments/comments-default.php +66 -0
- data/templates/project/sources/pie/site/pie-wp-theme/comments/comments-loop.php +49 -0
- data/templates/project/sources/pie/site/pie-wp-theme/comments/pings-loop.php +38 -0
- data/templates/project/sources/pie/site/pie-wp-theme/comments/threaded.php +31 -0
- data/templates/project/sources/pie/site/pie-wp-theme/content/content-default.php +56 -0
- data/templates/project/sources/pie/site/pie-wp-theme/content/page.php +44 -0
- data/templates/project/sources/pie/site/pie-wp-theme/css/common.css +442 -0
- data/templates/project/sources/pie/site/pie-wp-theme/css/fonts/museosans_500-webfont.eot +0 -0
- data/templates/project/sources/pie/site/pie-wp-theme/css/fonts/museosans_500-webfont.svg +240 -0
- data/templates/project/sources/pie/site/pie-wp-theme/css/fonts/museosans_500-webfont.ttf +0 -0
- data/templates/project/sources/pie/site/pie-wp-theme/css/fonts/museosans_500-webfont.woff +0 -0
- data/templates/project/sources/pie/site/pie-wp-theme/error/404.php +31 -0
- data/templates/project/sources/pie/site/pie-wp-theme/error/exit.php +24 -0
- data/templates/project/sources/pie/site/pie-wp-theme/excerpt/excerpt-default.php +41 -0
- data/templates/project/sources/pie/site/pie-wp-theme/footer.php +24 -0
- data/templates/project/sources/pie/site/pie-wp-theme/footer/footer-default.php +53 -0
- data/templates/project/sources/pie/site/pie-wp-theme/forms/comment.php +94 -0
- data/templates/project/sources/pie/site/pie-wp-theme/forms/search.php +33 -0
- data/templates/project/sources/pie/site/pie-wp-theme/functions.php +28 -0
- data/templates/project/sources/pie/site/pie-wp-theme/functions/sidebars.php +42 -0
- data/templates/project/sources/pie/site/pie-wp-theme/header.php +24 -0
- data/templates/project/sources/pie/site/pie-wp-theme/header/header-default.php +99 -0
- data/templates/project/sources/pie/site/pie-wp-theme/img/divider.png +0 -0
- data/templates/project/sources/pie/site/pie-wp-theme/img/favicon.ico +0 -0
- data/templates/project/sources/pie/site/pie-wp-theme/img/icons.png +0 -0
- data/templates/project/sources/pie/site/pie-wp-theme/img/logo.png +0 -0
- data/templates/project/sources/pie/site/pie-wp-theme/index.php +24 -0
- data/templates/project/sources/pie/site/pie-wp-theme/js/farbtastic/CHANGELOG.html +26 -0
- data/templates/project/sources/pie/site/pie-wp-theme/js/farbtastic/LICENSE.txt +341 -0
- data/templates/project/sources/pie/site/pie-wp-theme/js/farbtastic/README.html +71 -0
- data/templates/project/sources/pie/site/pie-wp-theme/js/farbtastic/demo1.html +28 -0
- data/templates/project/sources/pie/site/pie-wp-theme/js/farbtastic/demo2.html +57 -0
- data/templates/project/sources/pie/site/pie-wp-theme/js/farbtastic/farbtastic.css +51 -0
- data/templates/project/sources/pie/site/pie-wp-theme/js/farbtastic/farbtastic.js +345 -0
- data/templates/project/sources/pie/site/pie-wp-theme/js/farbtastic/farbtastic.min.js +1 -0
- data/templates/project/sources/pie/site/pie-wp-theme/js/farbtastic/marker.png +0 -0
- data/templates/project/sources/pie/site/pie-wp-theme/js/farbtastic/mask.png +0 -0
- data/templates/project/sources/pie/site/pie-wp-theme/js/farbtastic/wheel.png +0 -0
- data/templates/project/sources/pie/site/pie-wp-theme/loop/archive.php +28 -0
- data/templates/project/sources/pie/site/pie-wp-theme/loop/loop-default.php +33 -0
- data/templates/project/sources/pie/site/pie-wp-theme/loop/search.php +30 -0
- data/templates/project/sources/pie/site/pie-wp-theme/misc/banner.php +21 -0
- data/templates/project/sources/pie/site/pie-wp-theme/misc/nav-posts.php +22 -0
- data/templates/project/sources/pie/site/pie-wp-theme/misc/no-results.php +23 -0
- data/templates/project/sources/pie/site/pie-wp-theme/page.php +24 -0
- data/templates/project/sources/pie/site/pie-wp-theme/pages/pages-default.php +30 -0
- data/templates/project/sources/pie/site/pie-wp-theme/posts/author.php +52 -0
- data/templates/project/sources/pie/site/pie-wp-theme/posts/category.php +40 -0
- data/templates/project/sources/pie/site/pie-wp-theme/posts/home.php +30 -0
- data/templates/project/sources/pie/site/pie-wp-theme/posts/posts-default.php +30 -0
- data/templates/project/sources/pie/site/pie-wp-theme/posts/search.php +44 -0
- data/templates/project/sources/pie/site/pie-wp-theme/posts/tag.php +38 -0
- data/templates/project/sources/pie/site/pie-wp-theme/screenshot.png +0 -0
- data/templates/project/sources/pie/site/pie-wp-theme/search.php +24 -0
- data/templates/project/sources/pie/site/pie-wp-theme/sidebar.php +24 -0
- data/templates/project/sources/pie/site/pie-wp-theme/sidebar/sidebar-default.php +68 -0
- data/templates/project/sources/pie/site/pie-wp-theme/single.php +24 -0
- data/templates/project/sources/pie/site/pie-wp-theme/single/single-default.php +40 -0
- data/templates/project/sources/pie/site/pie-wp-theme/style.css +73 -0
- data/templates/project/sources/pie/sources/Angle.js +36 -0
- data/templates/project/sources/pie/sources/BackgroundRenderer.js +381 -0
- data/templates/project/sources/pie/sources/BackgroundStyleInfo.js +295 -0
- data/templates/project/sources/pie/sources/BgPosition.js +104 -0
- data/templates/project/sources/pie/sources/BorderImageRenderer.js +124 -0
- data/templates/project/sources/pie/sources/BorderImageStyleInfo.js +146 -0
- data/templates/project/sources/pie/sources/BorderRadiusStyleInfo.js +68 -0
- data/templates/project/sources/pie/sources/BorderRenderer.js +328 -0
- data/templates/project/sources/pie/sources/BorderStyleInfo.js +101 -0
- data/templates/project/sources/pie/sources/BoundsInfo.js +56 -0
- data/templates/project/sources/pie/sources/BoxShadowInsetRenderer.js +31 -0
- data/templates/project/sources/pie/sources/BoxShadowOutsetRenderer.js +136 -0
- data/templates/project/sources/pie/sources/BoxShadowStyleInfo.js +67 -0
- data/templates/project/sources/pie/sources/Color.js +127 -0
- data/templates/project/sources/pie/sources/Element.js +416 -0
- data/templates/project/sources/pie/sources/Heartbeat.js +16 -0
- data/templates/project/sources/pie/sources/ImgRenderer.js +66 -0
- data/templates/project/sources/pie/sources/Length.js +134 -0
- data/templates/project/sources/pie/sources/Observable.js +44 -0
- data/templates/project/sources/pie/sources/OnBeforeUnload.js +15 -0
- data/templates/project/sources/pie/sources/OnPrint.js +25 -0
- data/templates/project/sources/pie/sources/OnResize.js +12 -0
- data/templates/project/sources/pie/sources/OnScroll.js +15 -0
- data/templates/project/sources/pie/sources/PIE_API.js +35 -0
- data/templates/project/sources/pie/sources/PIE_close.js +2 -0
- data/templates/project/sources/pie/sources/PIE_open.js +47 -0
- data/templates/project/sources/pie/sources/RendererBase.js +299 -0
- data/templates/project/sources/pie/sources/RootRenderer.js +112 -0
- data/templates/project/sources/pie/sources/StyleInfoBase.js +93 -0
- data/templates/project/sources/pie/sources/Tokenizer.js +274 -0
- data/templates/project/sources/pie/sources/Util.js +94 -0
- data/templates/project/sources/pie/sources/VisibilityStyleInfo.js +38 -0
- data/templates/project/sources/pie/sources/closure_externs.js +4 -0
- data/templates/project/sources/pie/sources/closure_preservefunctions.js +4 -0
- data/templates/project/sources/pie/sources/htc_close.txt +2 -0
- data/templates/project/sources/pie/sources/htc_init.js +19 -0
- data/templates/project/sources/pie/sources/htc_open.txt +13 -0
- data/templates/project/sources/pie/sources/js_close.js +1 -0
- data/templates/project/sources/pie/sources/js_open.js +8 -0
- data/templates/project/sources/pie/sources/wrappers/PIE.php +19 -0
- data/templates/project/sources/pie/tests/IE9 border-radius tests/border-radius-applies-to-001.htm +27 -0
- data/templates/project/sources/pie/tests/IE9 border-radius tests/border-radius-applies-to-002.htm +31 -0
- data/templates/project/sources/pie/tests/IE9 border-radius tests/border-radius-applies-to-003.htm +29 -0
- data/templates/project/sources/pie/tests/IE9 border-radius tests/border-radius-applies-to-004.htm +29 -0
- data/templates/project/sources/pie/tests/IE9 border-radius tests/border-radius-applies-to-005.htm +29 -0
- data/templates/project/sources/pie/tests/IE9 border-radius tests/border-radius-applies-to-006.htm +41 -0
- data/templates/project/sources/pie/tests/IE9 border-radius tests/border-radius-applies-to-007.htm +46 -0
- data/templates/project/sources/pie/tests/IE9 border-radius tests/border-radius-applies-to-008.htm +41 -0
- data/templates/project/sources/pie/tests/IE9 border-radius tests/border-radius-applies-to-009.htm +45 -0
- data/templates/project/sources/pie/tests/IE9 border-radius tests/border-radius-applies-to-010.htm +31 -0
- data/templates/project/sources/pie/tests/IE9 border-radius tests/border-radius-applies-to-011.htm +41 -0
- data/templates/project/sources/pie/tests/IE9 border-radius tests/border-radius-applies-to-012.htm +49 -0
- data/templates/project/sources/pie/tests/IE9 border-radius tests/border-radius-applies-to-013.htm +51 -0
- data/templates/project/sources/pie/tests/IE9 border-radius tests/border-radius-applies-to-014.htm +51 -0
- data/templates/project/sources/pie/tests/IE9 border-radius tests/border-radius-applies-to-015.htm +51 -0
- data/templates/project/sources/pie/tests/IE9 border-radius tests/border-radius-applies-to-016.htm +50 -0
- data/templates/project/sources/pie/tests/IE9 border-radius tests/border-radius-applies-to-017.htm +35 -0
- data/templates/project/sources/pie/tests/IE9 border-radius tests/border-radius-different-width-001.htm +77 -0
- data/templates/project/sources/pie/tests/IE9 border-radius tests/border-radius-initial-value-001.htm +35 -0
- data/templates/project/sources/pie/tests/IE9 border-radius tests/border-radius-not-inherited-001.htm +44 -0
- data/templates/project/sources/pie/tests/IE9 border-radius tests/border-radius-shorthand-001.htm +69 -0
- data/templates/project/sources/pie/tests/IE9 border-radius tests/border-radius-style-001.htm +33 -0
- data/templates/project/sources/pie/tests/IE9 border-radius tests/border-radius-style-002.htm +28 -0
- data/templates/project/sources/pie/tests/IE9 border-radius tests/border-radius-style-003.htm +28 -0
- data/templates/project/sources/pie/tests/IE9 border-radius tests/border-radius-style-004.htm +28 -0
- data/templates/project/sources/pie/tests/IE9 border-radius tests/border-radius-style-005.htm +29 -0
- data/templates/project/sources/pie/tests/IE9 border-radius tests/border-radius-sum-of-radii-001.htm +158 -0
- data/templates/project/sources/pie/tests/IE9 border-radius tests/border-radius-sum-of-radii-002.htm +92 -0
- data/templates/project/sources/pie/tests/IE9 border-radius tests/border-radius-with-three-values-001.htm +43 -0
- data/templates/project/sources/pie/tests/IE9 border-radius tests/border-radius-with-two-values-001.htm +43 -0
- data/templates/project/sources/pie/tests/IE9 border-radius tests/border-top-left-radius-values-001.htm +45 -0
- data/templates/project/sources/pie/tests/IE9 border-radius tests/border-top-left-radius-values-002.htm +40 -0
- data/templates/project/sources/pie/tests/IE9 border-radius tests/border-top-left-radius-values-003.htm +51 -0
- data/templates/project/sources/pie/tests/background1.gif +0 -0
- data/templates/project/sources/pie/tests/background2.gif +0 -0
- data/templates/project/sources/pie/tests/basic.html +188 -0
- data/templates/project/sources/pie/tests/border-image-test.html +52 -0
- data/templates/project/sources/pie/tests/border.png +0 -0
- data/templates/project/sources/pie/tests/border2.png +0 -0
- data/templates/project/sources/pie/tests/box-shadow-tests.html +166 -0
- data/templates/project/sources/pie/tests/buttons.html +735 -0
- data/templates/project/sources/pie/tests/color-names.html +32 -0
- data/templates/project/sources/pie/tests/gradient-tests.html +237 -0
- data/templates/project/sources/pie/tests/hiding-tests.html +92 -0
- data/templates/project/sources/pie/tests/hover-tests.html +107 -0
- data/templates/project/sources/pie/tests/iPhoneBackButton.png +0 -0
- data/templates/project/sources/pie/tests/icon-chrome.png +0 -0
- data/templates/project/sources/pie/tests/icon-firefox.png +0 -0
- data/templates/project/sources/pie/tests/icon-ie.png +0 -0
- data/templates/project/sources/pie/tests/icon-opera.png +0 -0
- data/templates/project/sources/pie/tests/icon-safari.png +0 -0
- data/templates/project/sources/pie/tests/img.html +63 -0
- data/templates/project/sources/pie/tests/margin-auto-tests.html +57 -0
- data/templates/project/sources/pie/tests/margin-collapsing-tests.html +77 -0
- data/templates/project/sources/pie/tests/misc-tests.html +257 -0
- data/templates/project/sources/pie/tests/multiple-bg-tests.html +100 -0
- data/templates/project/sources/pie/tests/peculiar-icons/Peculiar.html +372 -0
- data/templates/project/sources/pie/tests/peculiar-icons/pictograms.css +1934 -0
- data/templates/project/sources/pie/tests/peculiar-icons/style.css +106 -0
- data/templates/project/sources/pie/tests/photo.jpg +0 -0
- data/templates/project/sources/pie/tests/png-fix.html +50 -0
- data/templates/project/sources/pie/tests/position-fixed.html +70 -0
- data/templates/project/sources/pie/tests/rtl.html +190 -0
- data/templates/project/sources/pie/tests/sizing-tests.html +55 -0
- data/templates/project/sources/pie/tests/solar-system/asteroids_meteorids.png +0 -0
- data/templates/project/sources/pie/tests/solar-system/bg.jpg +0 -0
- data/templates/project/sources/pie/tests/solar-system/solar-system.html +148 -0
- data/templates/project/sources/pie/tests/solar-system/styles.css +447 -0
- data/templates/project/sources/pie/tests/stress-test.html +187 -0
- data/templates/project/sources/pie/tests/submitted/block.png +0 -0
- data/templates/project/sources/pie/tests/submitted/forum-f3-t19.html +31 -0
- data/templates/project/sources/pie/tests/submitted/forum-f3-t25.gif +0 -0
- data/templates/project/sources/pie/tests/submitted/forum-f3-t25.html +24 -0
- data/templates/project/sources/pie/tests/submitted/forum-f3-t70.html +136 -0
- data/templates/project/sources/pie/tests/submitted/issue23.html +124 -0
- data/templates/project/sources/pie/tests/submitted/issue41.html +164 -0
- data/templates/project/sources/pie/tests/submitted/issue47.html +136 -0
- data/templates/project/sources/pie/tests/submitted/issue75.html +94 -0
- data/templates/project/sources/pie/tests/submitted/tab.png +0 -0
- data/templates/project/sources/pie/tests/tables.html +87 -0
- data/templates/project/sources/pie/tests/tokenizer-tests.html +158 -0
- data/templates/project/sources/pie/tests/z-index-tests.html +145 -0
- data/templates/project/sources/pie/tools/compiler.jar +0 -0
- data/templates/project/sources/scrollability/README.md +38 -0
- data/templates/project/sources/scrollability/scrollability-min.js +1 -0
- data/templates/project/sources/scrollability/scrollability.js +661 -0
- data/templates/project/style.sass +136 -0
- data/templates/project/templates/_flashes.html.haml +4 -0
- data/templates/project/templates/_footer.html.haml +2 -0
- data/templates/project/templates/_head.html.haml +26 -0
- data/templates/project/templates/_header.html.haml +1 -0
- data/templates/project/templates/_javascripts.html.haml +27 -0
- data/templates/project/templates/_stylesheets.html.haml +5 -0
- data/templates/project/templates/application.html.haml +28 -0
- data/templates/project/templates/old/_layout.haml +1 -0
- data/templates/project/templates/old/home.html.haml +14 -0
- data/templates/project/templates/old/layouts/default.haml +62 -0
- data/templates/project/templates/old/layouts/survivalkit/default.haml +64 -0
- data/templates/project/templates/old/layouts/survivalkit/styletile.haml +64 -0
- data/templates/project/templates/old/survivalkit/_layout.haml +1 -0
- data/templates/project/templates/old/survivalkit/elements-common.haml +33 -0
- data/templates/project/templates/old/survivalkit/elements-html5.haml +71 -0
- data/templates/project/templates/old/survivalkit/elements-typography.haml +100 -0
- data/templates/project/templates/old/survivalkit/elements-ui-patterns-drupal.haml +38 -0
- data/templates/project/templates/old/survivalkit/elements-ui-patterns.haml +23 -0
- data/templates/project/templates/old/survivalkit/index.haml +2 -0
- data/templates/project/templates/old/survivalkit/partials/common/abbr.haml +8 -0
- data/templates/project/templates/old/survivalkit/partials/common/acronym.haml +8 -0
- data/templates/project/templates/old/survivalkit/partials/common/characters.haml +11 -0
- data/templates/project/templates/old/survivalkit/partials/common/cite.haml +12 -0
- data/templates/project/templates/old/survivalkit/partials/common/code.haml +8 -0
- data/templates/project/templates/old/survivalkit/partials/common/dfn.haml +8 -0
- data/templates/project/templates/old/survivalkit/partials/common/em.haml +10 -0
- data/templates/project/templates/old/survivalkit/partials/common/forms.haml +27 -0
- data/templates/project/templates/old/survivalkit/partials/common/headers.haml +23 -0
- data/templates/project/templates/old/survivalkit/partials/common/inline-images.haml +9 -0
- data/templates/project/templates/old/survivalkit/partials/common/kbd.haml +10 -0
- data/templates/project/templates/old/survivalkit/partials/common/links.haml +10 -0
- data/templates/project/templates/old/survivalkit/partials/common/lists.haml +55 -0
- data/templates/project/templates/old/survivalkit/partials/common/others.haml +35 -0
- data/templates/project/templates/old/survivalkit/partials/common/paragraphs.haml +15 -0
- data/templates/project/templates/old/survivalkit/partials/common/pre.haml +27 -0
- data/templates/project/templates/old/survivalkit/partials/common/q.haml +8 -0
- data/templates/project/templates/old/survivalkit/partials/common/samp.haml +8 -0
- data/templates/project/templates/old/survivalkit/partials/common/strong.haml +8 -0
- data/templates/project/templates/old/survivalkit/partials/common/tables.haml +43 -0
- data/templates/project/templates/old/survivalkit/partials/common/var.haml +8 -0
- data/templates/project/templates/old/survivalkit/partials/header-styletile.haml +9 -0
- data/templates/project/templates/old/survivalkit/partials/header.haml +6 -0
- data/templates/project/templates/old/survivalkit/partials/html5/a.haml +36 -0
- data/templates/project/templates/old/survivalkit/partials/html5/abbr.haml +26 -0
- data/templates/project/templates/old/survivalkit/partials/html5/address.haml +27 -0
- data/templates/project/templates/old/survivalkit/partials/html5/all-headings.haml +31 -0
- data/templates/project/templates/old/survivalkit/partials/html5/article.haml +22 -0
- data/templates/project/templates/old/survivalkit/partials/html5/aside.haml +20 -0
- data/templates/project/templates/old/survivalkit/partials/html5/b.haml +21 -0
- data/templates/project/templates/old/survivalkit/partials/html5/bdi.haml +30 -0
- data/templates/project/templates/old/survivalkit/partials/html5/blockquote.haml +32 -0
- data/templates/project/templates/old/survivalkit/partials/html5/cite.haml +46 -0
- data/templates/project/templates/old/survivalkit/partials/html5/code.haml +70 -0
- data/templates/project/templates/old/survivalkit/partials/html5/details.haml +42 -0
- data/templates/project/templates/old/survivalkit/partials/html5/dfn.haml +52 -0
- data/templates/project/templates/old/survivalkit/partials/html5/dl.haml +69 -0
- data/templates/project/templates/old/survivalkit/partials/html5/em.haml +15 -0
- data/templates/project/templates/old/survivalkit/partials/html5/fieldset.haml +49 -0
- data/templates/project/templates/old/survivalkit/partials/html5/figure.haml +48 -0
- data/templates/project/templates/old/survivalkit/partials/html5/footer.haml +37 -0
- data/templates/project/templates/old/survivalkit/partials/html5/header.haml +44 -0
- data/templates/project/templates/old/survivalkit/partials/html5/hgroup.haml +20 -0
- data/templates/project/templates/old/survivalkit/partials/html5/hr.haml +52 -0
- data/templates/project/templates/old/survivalkit/partials/html5/i.haml +28 -0
- data/templates/project/templates/old/survivalkit/partials/html5/kbd.haml +19 -0
- data/templates/project/templates/old/survivalkit/partials/html5/label.haml +18 -0
- data/templates/project/templates/old/survivalkit/partials/html5/li.haml +91 -0
- data/templates/project/templates/old/survivalkit/partials/html5/mark.haml +30 -0
- data/templates/project/templates/old/survivalkit/partials/html5/menu.haml +39 -0
- data/templates/project/templates/old/survivalkit/partials/html5/nav.haml +68 -0
- data/templates/project/templates/old/survivalkit/partials/html5/ol.haml +23 -0
- data/templates/project/templates/old/survivalkit/partials/html5/p.haml +41 -0
- data/templates/project/templates/old/survivalkit/partials/html5/pre.haml +48 -0
- data/templates/project/templates/old/survivalkit/partials/html5/q.haml +34 -0
- data/templates/project/templates/old/survivalkit/partials/html5/ruby.haml +55 -0
- data/templates/project/templates/old/survivalkit/partials/html5/s.haml +17 -0
- data/templates/project/templates/old/survivalkit/partials/html5/samp.haml +27 -0
- data/templates/project/templates/old/survivalkit/partials/html5/sample-forms.haml +52 -0
- data/templates/project/templates/old/survivalkit/partials/html5/sample-tables.haml +152 -0
- data/templates/project/templates/old/survivalkit/partials/html5/section.haml +21 -0
- data/templates/project/templates/old/survivalkit/partials/html5/small.haml +33 -0
- data/templates/project/templates/old/survivalkit/partials/html5/strong.haml +25 -0
- data/templates/project/templates/old/survivalkit/partials/html5/sub-sup.haml +58 -0
- data/templates/project/templates/old/survivalkit/partials/html5/table.haml +196 -0
- data/templates/project/templates/old/survivalkit/partials/html5/text-summary.haml +305 -0
- data/templates/project/templates/old/survivalkit/partials/html5/thead.haml +67 -0
- data/templates/project/templates/old/survivalkit/partials/html5/time.haml +31 -0
- data/templates/project/templates/old/survivalkit/partials/html5/ul.haml +21 -0
- data/templates/project/templates/old/survivalkit/partials/menu.haml +14 -0
- data/templates/project/templates/old/survivalkit/partials/patterns-drupal/block.haml +7 -0
- data/templates/project/templates/old/survivalkit/partials/patterns-drupal/breadcrumbs.haml +7 -0
- data/templates/project/templates/old/survivalkit/partials/patterns-drupal/comments.haml +69 -0
- data/templates/project/templates/old/survivalkit/partials/patterns-drupal/field-image.haml +7 -0
- data/templates/project/templates/old/survivalkit/partials/patterns-drupal/form-comment.haml +54 -0
- data/templates/project/templates/old/survivalkit/partials/patterns-drupal/form-login.haml +23 -0
- data/templates/project/templates/old/survivalkit/partials/patterns-drupal/form-new-account.haml +24 -0
- data/templates/project/templates/old/survivalkit/partials/patterns-drupal/form-new-password.haml +16 -0
- data/templates/project/templates/old/survivalkit/partials/patterns-drupal/links.haml +6 -0
- data/templates/project/templates/old/survivalkit/partials/patterns-drupal/menu.haml +10 -0
- data/templates/project/templates/old/survivalkit/partials/patterns-drupal/messages.haml +21 -0
- data/templates/project/templates/old/survivalkit/partials/patterns-drupal/node.haml +28 -0
- data/templates/project/templates/old/survivalkit/partials/patterns-drupal/pager.haml +17 -0
- data/templates/project/templates/old/survivalkit/partials/patterns-drupal/rss-link.haml +5 -0
- data/templates/project/templates/old/survivalkit/partials/patterns-drupal/search.haml +14 -0
- data/templates/project/templates/old/survivalkit/partials/patterns-drupal/site-name.haml +6 -0
- data/templates/project/templates/old/survivalkit/partials/patterns-drupal/tabs.haml +14 -0
- data/templates/project/templates/old/survivalkit/partials/patterns-drupal/taxonomy.haml +10 -0
- data/templates/project/templates/old/survivalkit/partials/patterns-general/block.haml +7 -0
- data/templates/project/templates/old/survivalkit/partials/patterns-general/breadcrumbs.haml +7 -0
- data/templates/project/templates/old/survivalkit/partials/patterns-general/comments.haml +69 -0
- data/templates/project/templates/old/survivalkit/partials/patterns-general/field-image.haml +7 -0
- data/templates/project/templates/old/survivalkit/partials/patterns-general/form-comment.haml +54 -0
- data/templates/project/templates/old/survivalkit/partials/patterns-general/form-login.haml +23 -0
- data/templates/project/templates/old/survivalkit/partials/patterns-general/form-new-account.haml +24 -0
- data/templates/project/templates/old/survivalkit/partials/patterns-general/form-new-password.haml +16 -0
- data/templates/project/templates/old/survivalkit/partials/patterns-general/links.haml +6 -0
- data/templates/project/templates/old/survivalkit/partials/patterns-general/menu.haml +10 -0
- data/templates/project/templates/old/survivalkit/partials/patterns-general/messages.haml +21 -0
- data/templates/project/templates/old/survivalkit/partials/patterns-general/node.haml +28 -0
- data/templates/project/templates/old/survivalkit/partials/patterns-general/pager.haml +17 -0
- data/templates/project/templates/old/survivalkit/partials/patterns-general/rss-link.haml +5 -0
- data/templates/project/templates/old/survivalkit/partials/patterns-general/search.haml +14 -0
- data/templates/project/templates/old/survivalkit/partials/patterns-general/site-name.haml +6 -0
- data/templates/project/templates/old/survivalkit/partials/patterns-general/tabs.haml +14 -0
- data/templates/project/templates/old/survivalkit/partials/patterns-general/taxonomy.haml +10 -0
- data/templates/project/templates/old/survivalkit/styletile/_layout.haml +1 -0
- data/templates/project/templates/old/survivalkit/styletile/index.redirect +1 -0
- data/templates/project/templates/old/survivalkit/styletile/styletile.haml +60 -0
- data/templates/project/templates/old/view_helpers.rb +25 -0
- metadata +1448 -0
@@ -0,0 +1,122 @@
|
|
1
|
+
/*
|
2
|
+
* Metadata - jQuery plugin for parsing metadata from elements
|
3
|
+
*
|
4
|
+
* Copyright (c) 2006 John Resig, Yehuda Katz, J�örn Zaefferer, Paul McLanahan
|
5
|
+
*
|
6
|
+
* Dual licensed under the MIT and GPL licenses:
|
7
|
+
* http://www.opensource.org/licenses/mit-license.php
|
8
|
+
* http://www.gnu.org/licenses/gpl.html
|
9
|
+
*
|
10
|
+
* Revision: $Id: jquery.metadata.js 4187 2007-12-16 17:15:27Z joern.zaefferer $
|
11
|
+
*
|
12
|
+
*/
|
13
|
+
|
14
|
+
/**
|
15
|
+
* Sets the type of metadata to use. Metadata is encoded in JSON, and each property
|
16
|
+
* in the JSON will become a property of the element itself.
|
17
|
+
*
|
18
|
+
* There are three supported types of metadata storage:
|
19
|
+
*
|
20
|
+
* attr: Inside an attribute. The name parameter indicates *which* attribute.
|
21
|
+
*
|
22
|
+
* class: Inside the class attribute, wrapped in curly braces: { }
|
23
|
+
*
|
24
|
+
* elem: Inside a child element (e.g. a script tag). The
|
25
|
+
* name parameter indicates *which* element.
|
26
|
+
*
|
27
|
+
* The metadata for an element is loaded the first time the element is accessed via jQuery.
|
28
|
+
*
|
29
|
+
* As a result, you can define the metadata type, use $(expr) to load the metadata into the elements
|
30
|
+
* matched by expr, then redefine the metadata type and run another $(expr) for other elements.
|
31
|
+
*
|
32
|
+
* @name $.metadata.setType
|
33
|
+
*
|
34
|
+
* @example <p id="one" class="some_class {item_id: 1, item_label: 'Label'}">This is a p</p>
|
35
|
+
* @before $.metadata.setType("class")
|
36
|
+
* @after $("#one").metadata().item_id == 1; $("#one").metadata().item_label == "Label"
|
37
|
+
* @desc Reads metadata from the class attribute
|
38
|
+
*
|
39
|
+
* @example <p id="one" class="some_class" data="{item_id: 1, item_label: 'Label'}">This is a p</p>
|
40
|
+
* @before $.metadata.setType("attr", "data")
|
41
|
+
* @after $("#one").metadata().item_id == 1; $("#one").metadata().item_label == "Label"
|
42
|
+
* @desc Reads metadata from a "data" attribute
|
43
|
+
*
|
44
|
+
* @example <p id="one" class="some_class"><script>{item_id: 1, item_label: 'Label'}</script>This is a p</p>
|
45
|
+
* @before $.metadata.setType("elem", "script")
|
46
|
+
* @after $("#one").metadata().item_id == 1; $("#one").metadata().item_label == "Label"
|
47
|
+
* @desc Reads metadata from a nested script element
|
48
|
+
*
|
49
|
+
* @param String type The encoding type
|
50
|
+
* @param String name The name of the attribute to be used to get metadata (optional)
|
51
|
+
* @cat Plugins/Metadata
|
52
|
+
* @descr Sets the type of encoding to be used when loading metadata for the first time
|
53
|
+
* @type undefined
|
54
|
+
* @see metadata()
|
55
|
+
*/
|
56
|
+
|
57
|
+
(function($) {
|
58
|
+
|
59
|
+
$.extend({
|
60
|
+
metadata : {
|
61
|
+
defaults : {
|
62
|
+
type: 'class',
|
63
|
+
name: 'metadata',
|
64
|
+
cre: /({.*})/,
|
65
|
+
single: 'metadata'
|
66
|
+
},
|
67
|
+
setType: function( type, name ){
|
68
|
+
this.defaults.type = type;
|
69
|
+
this.defaults.name = name;
|
70
|
+
},
|
71
|
+
get: function( elem, opts ){
|
72
|
+
var settings = $.extend({},this.defaults,opts);
|
73
|
+
// check for empty string in single property
|
74
|
+
if ( !settings.single.length ) settings.single = 'metadata';
|
75
|
+
|
76
|
+
var data = $.data(elem, settings.single);
|
77
|
+
// returned cached data if it already exists
|
78
|
+
if ( data ) return data;
|
79
|
+
|
80
|
+
data = "{}";
|
81
|
+
|
82
|
+
if ( settings.type == "class" ) {
|
83
|
+
var m = settings.cre.exec( elem.className );
|
84
|
+
if ( m )
|
85
|
+
data = m[1];
|
86
|
+
} else if ( settings.type == "elem" ) {
|
87
|
+
if( !elem.getElementsByTagName )
|
88
|
+
return undefined;
|
89
|
+
var e = elem.getElementsByTagName(settings.name);
|
90
|
+
if ( e.length )
|
91
|
+
data = $.trim(e[0].innerHTML);
|
92
|
+
} else if ( elem.getAttribute != undefined ) {
|
93
|
+
var attr = elem.getAttribute( settings.name );
|
94
|
+
if ( attr )
|
95
|
+
data = attr;
|
96
|
+
}
|
97
|
+
|
98
|
+
if ( data.indexOf( '{' ) <0 )
|
99
|
+
data = "{" + data + "}";
|
100
|
+
|
101
|
+
data = eval("(" + data + ")");
|
102
|
+
|
103
|
+
$.data( elem, settings.single, data );
|
104
|
+
return data;
|
105
|
+
}
|
106
|
+
}
|
107
|
+
});
|
108
|
+
|
109
|
+
/**
|
110
|
+
* Returns the metadata object for the first member of the jQuery object.
|
111
|
+
*
|
112
|
+
* @name metadata
|
113
|
+
* @descr Returns element's metadata object
|
114
|
+
* @param Object opts An object contianing settings to override the defaults
|
115
|
+
* @type jQuery
|
116
|
+
* @cat Plugins/Metadata
|
117
|
+
*/
|
118
|
+
$.fn.metadata = function( opts ){
|
119
|
+
return $.metadata.get( this[0], opts );
|
120
|
+
};
|
121
|
+
|
122
|
+
})(jQuery);
|
@@ -0,0 +1,78 @@
|
|
1
|
+
/*! Copyright (c) 2010 Brandon Aaron (http://brandonaaron.net)
|
2
|
+
* Licensed under the MIT License (LICENSE.txt).
|
3
|
+
*
|
4
|
+
* Thanks to: http://adomas.org/javascript-mouse-wheel/ for some pointers.
|
5
|
+
* Thanks to: Mathias Bank(http://www.mathias-bank.de) for a scope bug fix.
|
6
|
+
* Thanks to: Seamus Leahy for adding deltaX and deltaY
|
7
|
+
*
|
8
|
+
* Version: 3.0.4
|
9
|
+
*
|
10
|
+
* Requires: 1.2.2+
|
11
|
+
*/
|
12
|
+
|
13
|
+
(function($) {
|
14
|
+
|
15
|
+
var types = ['DOMMouseScroll', 'mousewheel'];
|
16
|
+
|
17
|
+
$.event.special.mousewheel = {
|
18
|
+
setup: function() {
|
19
|
+
if ( this.addEventListener ) {
|
20
|
+
for ( var i=types.length; i; ) {
|
21
|
+
this.addEventListener( types[--i], handler, false );
|
22
|
+
}
|
23
|
+
} else {
|
24
|
+
this.onmousewheel = handler;
|
25
|
+
}
|
26
|
+
},
|
27
|
+
|
28
|
+
teardown: function() {
|
29
|
+
if ( this.removeEventListener ) {
|
30
|
+
for ( var i=types.length; i; ) {
|
31
|
+
this.removeEventListener( types[--i], handler, false );
|
32
|
+
}
|
33
|
+
} else {
|
34
|
+
this.onmousewheel = null;
|
35
|
+
}
|
36
|
+
}
|
37
|
+
};
|
38
|
+
|
39
|
+
$.fn.extend({
|
40
|
+
mousewheel: function(fn) {
|
41
|
+
return fn ? this.bind("mousewheel", fn) : this.trigger("mousewheel");
|
42
|
+
},
|
43
|
+
|
44
|
+
unmousewheel: function(fn) {
|
45
|
+
return this.unbind("mousewheel", fn);
|
46
|
+
}
|
47
|
+
});
|
48
|
+
|
49
|
+
|
50
|
+
function handler(event) {
|
51
|
+
var orgEvent = event || window.event, args = [].slice.call( arguments, 1 ), delta = 0, returnValue = true, deltaX = 0, deltaY = 0;
|
52
|
+
event = $.event.fix(orgEvent);
|
53
|
+
event.type = "mousewheel";
|
54
|
+
|
55
|
+
// Old school scrollwheel delta
|
56
|
+
if ( event.wheelDelta ) { delta = event.wheelDelta/120; }
|
57
|
+
if ( event.detail ) { delta = -event.detail/3; }
|
58
|
+
|
59
|
+
// New school multidimensional scroll (touchpads) deltas
|
60
|
+
deltaY = delta;
|
61
|
+
|
62
|
+
// Gecko
|
63
|
+
if ( orgEvent.axis !== undefined && orgEvent.axis === orgEvent.HORIZONTAL_AXIS ) {
|
64
|
+
deltaY = 0;
|
65
|
+
deltaX = -1*delta;
|
66
|
+
}
|
67
|
+
|
68
|
+
// Webkit
|
69
|
+
if ( orgEvent.wheelDeltaY !== undefined ) { deltaY = orgEvent.wheelDeltaY/120; }
|
70
|
+
if ( orgEvent.wheelDeltaX !== undefined ) { deltaX = -1*orgEvent.wheelDeltaX/120; }
|
71
|
+
|
72
|
+
// Add event and delta to the front of the arguments
|
73
|
+
args.unshift(event, delta, deltaX, deltaY);
|
74
|
+
|
75
|
+
return $.event.handle.apply(this, args);
|
76
|
+
}
|
77
|
+
|
78
|
+
})(jQuery);
|
@@ -0,0 +1,215 @@
|
|
1
|
+
/** Font Family and Sizes */
|
2
|
+
|
3
|
+
#qunit-tests, #qunit-header, #qunit-banner, #qunit-testrunner-toolbar, #qunit-userAgent, #qunit-testresult {
|
4
|
+
font-family: "Helvetica Neue Light", "HelveticaNeue-Light", "Helvetica Neue", Calibri, Helvetica, Arial;
|
5
|
+
}
|
6
|
+
|
7
|
+
#qunit-testrunner-toolbar, #qunit-userAgent, #qunit-testresult, #qunit-tests li { font-size: small; }
|
8
|
+
#qunit-tests { font-size: smaller; }
|
9
|
+
|
10
|
+
|
11
|
+
/** Resets */
|
12
|
+
|
13
|
+
#qunit-tests, #qunit-tests ol, #qunit-header, #qunit-banner, #qunit-userAgent, #qunit-testresult {
|
14
|
+
margin: 0;
|
15
|
+
padding: 0;
|
16
|
+
}
|
17
|
+
|
18
|
+
|
19
|
+
/** Header */
|
20
|
+
|
21
|
+
#qunit-header {
|
22
|
+
padding: 0.5em 0 0.5em 1em;
|
23
|
+
|
24
|
+
color: #8699a4;
|
25
|
+
background-color: #0d3349;
|
26
|
+
|
27
|
+
font-size: 1.5em;
|
28
|
+
line-height: 1em;
|
29
|
+
font-weight: normal;
|
30
|
+
|
31
|
+
border-radius: 15px 15px 0 0;
|
32
|
+
-moz-border-radius: 15px 15px 0 0;
|
33
|
+
-webkit-border-top-right-radius: 15px;
|
34
|
+
-webkit-border-top-left-radius: 15px;
|
35
|
+
}
|
36
|
+
|
37
|
+
#qunit-header a {
|
38
|
+
text-decoration: none;
|
39
|
+
color: #c2ccd1;
|
40
|
+
}
|
41
|
+
|
42
|
+
#qunit-header a:hover,
|
43
|
+
#qunit-header a:focus {
|
44
|
+
color: #fff;
|
45
|
+
}
|
46
|
+
|
47
|
+
#qunit-banner {
|
48
|
+
height: 5px;
|
49
|
+
}
|
50
|
+
|
51
|
+
#qunit-testrunner-toolbar {
|
52
|
+
padding: 0.5em 0 0.5em 2em;
|
53
|
+
color: #5E740B;
|
54
|
+
background-color: #eee;
|
55
|
+
}
|
56
|
+
|
57
|
+
#qunit-userAgent {
|
58
|
+
padding: 0.5em 0 0.5em 2.5em;
|
59
|
+
background-color: #2b81af;
|
60
|
+
color: #fff;
|
61
|
+
text-shadow: rgba(0, 0, 0, 0.5) 2px 2px 1px;
|
62
|
+
}
|
63
|
+
|
64
|
+
|
65
|
+
/** Tests: Pass/Fail */
|
66
|
+
|
67
|
+
#qunit-tests {
|
68
|
+
list-style-position: inside;
|
69
|
+
}
|
70
|
+
|
71
|
+
#qunit-tests li {
|
72
|
+
padding: 0.4em 0.5em 0.4em 2.5em;
|
73
|
+
border-bottom: 1px solid #fff;
|
74
|
+
list-style-position: inside;
|
75
|
+
}
|
76
|
+
|
77
|
+
#qunit-tests.hidepass li.pass, #qunit-tests.hidepass li.running {
|
78
|
+
display: none;
|
79
|
+
}
|
80
|
+
|
81
|
+
#qunit-tests li strong {
|
82
|
+
cursor: pointer;
|
83
|
+
}
|
84
|
+
|
85
|
+
#qunit-tests li a {
|
86
|
+
padding: 0.5em;
|
87
|
+
color: #c2ccd1;
|
88
|
+
text-decoration: none;
|
89
|
+
}
|
90
|
+
#qunit-tests li a:hover,
|
91
|
+
#qunit-tests li a:focus {
|
92
|
+
color: #000;
|
93
|
+
}
|
94
|
+
|
95
|
+
#qunit-tests ol {
|
96
|
+
margin-top: 0.5em;
|
97
|
+
padding: 0.5em;
|
98
|
+
|
99
|
+
background-color: #fff;
|
100
|
+
|
101
|
+
border-radius: 15px;
|
102
|
+
-moz-border-radius: 15px;
|
103
|
+
-webkit-border-radius: 15px;
|
104
|
+
|
105
|
+
box-shadow: inset 0px 2px 13px #999;
|
106
|
+
-moz-box-shadow: inset 0px 2px 13px #999;
|
107
|
+
-webkit-box-shadow: inset 0px 2px 13px #999;
|
108
|
+
}
|
109
|
+
|
110
|
+
#qunit-tests table {
|
111
|
+
border-collapse: collapse;
|
112
|
+
margin-top: .2em;
|
113
|
+
}
|
114
|
+
|
115
|
+
#qunit-tests th {
|
116
|
+
text-align: right;
|
117
|
+
vertical-align: top;
|
118
|
+
padding: 0 .5em 0 0;
|
119
|
+
}
|
120
|
+
|
121
|
+
#qunit-tests td {
|
122
|
+
vertical-align: top;
|
123
|
+
}
|
124
|
+
|
125
|
+
#qunit-tests pre {
|
126
|
+
margin: 0;
|
127
|
+
white-space: pre-wrap;
|
128
|
+
word-wrap: break-word;
|
129
|
+
}
|
130
|
+
|
131
|
+
#qunit-tests del {
|
132
|
+
background-color: #e0f2be;
|
133
|
+
color: #374e0c;
|
134
|
+
text-decoration: none;
|
135
|
+
}
|
136
|
+
|
137
|
+
#qunit-tests ins {
|
138
|
+
background-color: #ffcaca;
|
139
|
+
color: #500;
|
140
|
+
text-decoration: none;
|
141
|
+
}
|
142
|
+
|
143
|
+
/*** Test Counts */
|
144
|
+
|
145
|
+
#qunit-tests b.counts { color: black; }
|
146
|
+
#qunit-tests b.passed { color: #5E740B; }
|
147
|
+
#qunit-tests b.failed { color: #710909; }
|
148
|
+
|
149
|
+
#qunit-tests li li {
|
150
|
+
margin: 0.5em;
|
151
|
+
padding: 0.4em 0.5em 0.4em 0.5em;
|
152
|
+
background-color: #fff;
|
153
|
+
border-bottom: none;
|
154
|
+
list-style-position: inside;
|
155
|
+
}
|
156
|
+
|
157
|
+
/*** Passing Styles */
|
158
|
+
|
159
|
+
#qunit-tests li li.pass {
|
160
|
+
color: #5E740B;
|
161
|
+
background-color: #fff;
|
162
|
+
border-left: 26px solid #C6E746;
|
163
|
+
}
|
164
|
+
|
165
|
+
#qunit-tests .pass { color: #528CE0; background-color: #D2E0E6; }
|
166
|
+
#qunit-tests .pass .test-name { color: #366097; }
|
167
|
+
|
168
|
+
#qunit-tests .pass .test-actual,
|
169
|
+
#qunit-tests .pass .test-expected { color: #999999; }
|
170
|
+
|
171
|
+
#qunit-banner.qunit-pass { background-color: #C6E746; }
|
172
|
+
|
173
|
+
/*** Failing Styles */
|
174
|
+
|
175
|
+
#qunit-tests li li.fail {
|
176
|
+
color: #710909;
|
177
|
+
background-color: #fff;
|
178
|
+
border-left: 26px solid #EE5757;
|
179
|
+
}
|
180
|
+
|
181
|
+
#qunit-tests > li:last-child {
|
182
|
+
border-radius: 0 0 15px 15px;
|
183
|
+
-moz-border-radius: 0 0 15px 15px;
|
184
|
+
-webkit-border-bottom-right-radius: 15px;
|
185
|
+
-webkit-border-bottom-left-radius: 15px;
|
186
|
+
}
|
187
|
+
|
188
|
+
#qunit-tests .fail { color: #000000; background-color: #EE5757; }
|
189
|
+
#qunit-tests .fail .test-name,
|
190
|
+
#qunit-tests .fail .module-name { color: #000000; }
|
191
|
+
|
192
|
+
#qunit-tests .fail .test-actual { color: #EE5757; }
|
193
|
+
#qunit-tests .fail .test-expected { color: green; }
|
194
|
+
|
195
|
+
#qunit-banner.qunit-fail { background-color: #EE5757; }
|
196
|
+
|
197
|
+
|
198
|
+
/** Result */
|
199
|
+
|
200
|
+
#qunit-testresult {
|
201
|
+
padding: 0.5em 0.5em 0.5em 2.5em;
|
202
|
+
|
203
|
+
color: #2b81af;
|
204
|
+
background-color: #D2E0E6;
|
205
|
+
|
206
|
+
border-bottom: 1px solid white;
|
207
|
+
}
|
208
|
+
|
209
|
+
/** Fixture */
|
210
|
+
|
211
|
+
#qunit-fixture {
|
212
|
+
position: absolute;
|
213
|
+
top: -10000px;
|
214
|
+
left: -10000px;
|
215
|
+
}
|
@@ -0,0 +1,1444 @@
|
|
1
|
+
/*
|
2
|
+
* QUnit - A JavaScript Unit Testing Framework
|
3
|
+
*
|
4
|
+
* http://docs.jquery.com/QUnit
|
5
|
+
*
|
6
|
+
* Copyright (c) 2011 John Resig, Jörn Zaefferer
|
7
|
+
* Dual licensed under the MIT (MIT-LICENSE.txt)
|
8
|
+
* or GPL (GPL-LICENSE.txt) licenses.
|
9
|
+
*/
|
10
|
+
|
11
|
+
(function(window) {
|
12
|
+
|
13
|
+
var defined = {
|
14
|
+
setTimeout: typeof window.setTimeout !== "undefined",
|
15
|
+
sessionStorage: (function() {
|
16
|
+
try {
|
17
|
+
return !!sessionStorage.getItem;
|
18
|
+
} catch(e){
|
19
|
+
return false;
|
20
|
+
}
|
21
|
+
})()
|
22
|
+
};
|
23
|
+
|
24
|
+
var testId = 0;
|
25
|
+
|
26
|
+
var Test = function(name, testName, expected, testEnvironmentArg, async, callback) {
|
27
|
+
this.name = name;
|
28
|
+
this.testName = testName;
|
29
|
+
this.expected = expected;
|
30
|
+
this.testEnvironmentArg = testEnvironmentArg;
|
31
|
+
this.async = async;
|
32
|
+
this.callback = callback;
|
33
|
+
this.assertions = [];
|
34
|
+
};
|
35
|
+
Test.prototype = {
|
36
|
+
init: function() {
|
37
|
+
var tests = id("qunit-tests");
|
38
|
+
if (tests) {
|
39
|
+
var b = document.createElement("strong");
|
40
|
+
b.innerHTML = "Running " + this.name;
|
41
|
+
var li = document.createElement("li");
|
42
|
+
li.appendChild( b );
|
43
|
+
li.className = "running";
|
44
|
+
li.id = this.id = "test-output" + testId++;
|
45
|
+
tests.appendChild( li );
|
46
|
+
}
|
47
|
+
},
|
48
|
+
setup: function() {
|
49
|
+
if (this.module != config.previousModule) {
|
50
|
+
if ( config.previousModule ) {
|
51
|
+
QUnit.moduleDone( {
|
52
|
+
name: config.previousModule,
|
53
|
+
failed: config.moduleStats.bad,
|
54
|
+
passed: config.moduleStats.all - config.moduleStats.bad,
|
55
|
+
total: config.moduleStats.all
|
56
|
+
} );
|
57
|
+
}
|
58
|
+
config.previousModule = this.module;
|
59
|
+
config.moduleStats = { all: 0, bad: 0 };
|
60
|
+
QUnit.moduleStart( {
|
61
|
+
name: this.module
|
62
|
+
} );
|
63
|
+
}
|
64
|
+
|
65
|
+
config.current = this;
|
66
|
+
this.testEnvironment = extend({
|
67
|
+
setup: function() {},
|
68
|
+
teardown: function() {}
|
69
|
+
}, this.moduleTestEnvironment);
|
70
|
+
if (this.testEnvironmentArg) {
|
71
|
+
extend(this.testEnvironment, this.testEnvironmentArg);
|
72
|
+
}
|
73
|
+
|
74
|
+
QUnit.testStart( {
|
75
|
+
name: this.testName
|
76
|
+
} );
|
77
|
+
|
78
|
+
// allow utility functions to access the current test environment
|
79
|
+
// TODO why??
|
80
|
+
QUnit.current_testEnvironment = this.testEnvironment;
|
81
|
+
|
82
|
+
try {
|
83
|
+
if ( !config.pollution ) {
|
84
|
+
saveGlobal();
|
85
|
+
}
|
86
|
+
|
87
|
+
this.testEnvironment.setup.call(this.testEnvironment);
|
88
|
+
} catch(e) {
|
89
|
+
QUnit.ok( false, "Setup failed on " + this.testName + ": " + e.message );
|
90
|
+
}
|
91
|
+
},
|
92
|
+
run: function() {
|
93
|
+
if ( this.async ) {
|
94
|
+
QUnit.stop();
|
95
|
+
}
|
96
|
+
|
97
|
+
if ( config.notrycatch ) {
|
98
|
+
this.callback.call(this.testEnvironment);
|
99
|
+
return;
|
100
|
+
}
|
101
|
+
try {
|
102
|
+
this.callback.call(this.testEnvironment);
|
103
|
+
} catch(e) {
|
104
|
+
fail("Test " + this.testName + " died, exception and test follows", e, this.callback);
|
105
|
+
QUnit.ok( false, "Died on test #" + (this.assertions.length + 1) + ": " + e.message + " - " + QUnit.jsDump.parse(e) );
|
106
|
+
// else next test will carry the responsibility
|
107
|
+
saveGlobal();
|
108
|
+
|
109
|
+
// Restart the tests if they're blocking
|
110
|
+
if ( config.blocking ) {
|
111
|
+
start();
|
112
|
+
}
|
113
|
+
}
|
114
|
+
},
|
115
|
+
teardown: function() {
|
116
|
+
try {
|
117
|
+
checkPollution();
|
118
|
+
this.testEnvironment.teardown.call(this.testEnvironment);
|
119
|
+
} catch(e) {
|
120
|
+
QUnit.ok( false, "Teardown failed on " + this.testName + ": " + e.message );
|
121
|
+
}
|
122
|
+
},
|
123
|
+
finish: function() {
|
124
|
+
if ( this.expected && this.expected != this.assertions.length ) {
|
125
|
+
QUnit.ok( false, "Expected " + this.expected + " assertions, but " + this.assertions.length + " were run" );
|
126
|
+
}
|
127
|
+
|
128
|
+
var good = 0, bad = 0,
|
129
|
+
tests = id("qunit-tests");
|
130
|
+
|
131
|
+
config.stats.all += this.assertions.length;
|
132
|
+
config.moduleStats.all += this.assertions.length;
|
133
|
+
|
134
|
+
if ( tests ) {
|
135
|
+
var ol = document.createElement("ol");
|
136
|
+
|
137
|
+
for ( var i = 0; i < this.assertions.length; i++ ) {
|
138
|
+
var assertion = this.assertions[i];
|
139
|
+
|
140
|
+
var li = document.createElement("li");
|
141
|
+
li.className = assertion.result ? "pass" : "fail";
|
142
|
+
li.innerHTML = assertion.message || (assertion.result ? "okay" : "failed");
|
143
|
+
ol.appendChild( li );
|
144
|
+
|
145
|
+
if ( assertion.result ) {
|
146
|
+
good++;
|
147
|
+
} else {
|
148
|
+
bad++;
|
149
|
+
config.stats.bad++;
|
150
|
+
config.moduleStats.bad++;
|
151
|
+
}
|
152
|
+
}
|
153
|
+
|
154
|
+
// store result when possible
|
155
|
+
if ( QUnit.config.reorder && defined.sessionStorage ) {
|
156
|
+
if (bad) {
|
157
|
+
sessionStorage.setItem("qunit-" + this.module + "-" + this.testName, bad)
|
158
|
+
} else {
|
159
|
+
sessionStorage.removeItem("qunit-" + this.testName);
|
160
|
+
}
|
161
|
+
}
|
162
|
+
|
163
|
+
if (bad == 0) {
|
164
|
+
ol.style.display = "none";
|
165
|
+
}
|
166
|
+
|
167
|
+
var b = document.createElement("strong");
|
168
|
+
b.innerHTML = this.name + " <b class='counts'>(<b class='failed'>" + bad + "</b>, <b class='passed'>" + good + "</b>, " + this.assertions.length + ")</b>";
|
169
|
+
|
170
|
+
var a = document.createElement("a");
|
171
|
+
a.innerHTML = "Rerun";
|
172
|
+
a.href = QUnit.url({ filter: getText([b]).replace(/\([^)]+\)$/, "").replace(/(^\s*|\s*$)/g, "") });
|
173
|
+
|
174
|
+
addEvent(b, "click", function() {
|
175
|
+
var next = b.nextSibling.nextSibling,
|
176
|
+
display = next.style.display;
|
177
|
+
next.style.display = display === "none" ? "block" : "none";
|
178
|
+
});
|
179
|
+
|
180
|
+
addEvent(b, "dblclick", function(e) {
|
181
|
+
var target = e && e.target ? e.target : window.event.srcElement;
|
182
|
+
if ( target.nodeName.toLowerCase() == "span" || target.nodeName.toLowerCase() == "b" ) {
|
183
|
+
target = target.parentNode;
|
184
|
+
}
|
185
|
+
if ( window.location && target.nodeName.toLowerCase() === "strong" ) {
|
186
|
+
window.location = QUnit.url({ filter: getText([target]).replace(/\([^)]+\)$/, "").replace(/(^\s*|\s*$)/g, "") });
|
187
|
+
}
|
188
|
+
});
|
189
|
+
|
190
|
+
var li = id(this.id);
|
191
|
+
li.className = bad ? "fail" : "pass";
|
192
|
+
li.removeChild( li.firstChild );
|
193
|
+
li.appendChild( b );
|
194
|
+
li.appendChild( a );
|
195
|
+
li.appendChild( ol );
|
196
|
+
|
197
|
+
} else {
|
198
|
+
for ( var i = 0; i < this.assertions.length; i++ ) {
|
199
|
+
if ( !this.assertions[i].result ) {
|
200
|
+
bad++;
|
201
|
+
config.stats.bad++;
|
202
|
+
config.moduleStats.bad++;
|
203
|
+
}
|
204
|
+
}
|
205
|
+
}
|
206
|
+
|
207
|
+
try {
|
208
|
+
QUnit.reset();
|
209
|
+
} catch(e) {
|
210
|
+
fail("reset() failed, following Test " + this.testName + ", exception and reset fn follows", e, QUnit.reset);
|
211
|
+
}
|
212
|
+
|
213
|
+
QUnit.testDone( {
|
214
|
+
name: this.testName,
|
215
|
+
failed: bad,
|
216
|
+
passed: this.assertions.length - bad,
|
217
|
+
total: this.assertions.length
|
218
|
+
} );
|
219
|
+
},
|
220
|
+
|
221
|
+
queue: function() {
|
222
|
+
var test = this;
|
223
|
+
synchronize(function() {
|
224
|
+
test.init();
|
225
|
+
});
|
226
|
+
function run() {
|
227
|
+
// each of these can by async
|
228
|
+
synchronize(function() {
|
229
|
+
test.setup();
|
230
|
+
});
|
231
|
+
synchronize(function() {
|
232
|
+
test.run();
|
233
|
+
});
|
234
|
+
synchronize(function() {
|
235
|
+
test.teardown();
|
236
|
+
});
|
237
|
+
synchronize(function() {
|
238
|
+
test.finish();
|
239
|
+
});
|
240
|
+
}
|
241
|
+
// defer when previous test run passed, if storage is available
|
242
|
+
var bad = QUnit.config.reorder && defined.sessionStorage && +sessionStorage.getItem("qunit-" + this.module + "-" + this.testName);
|
243
|
+
if (bad) {
|
244
|
+
run();
|
245
|
+
} else {
|
246
|
+
synchronize(run);
|
247
|
+
};
|
248
|
+
}
|
249
|
+
|
250
|
+
};
|
251
|
+
|
252
|
+
var QUnit = {
|
253
|
+
|
254
|
+
// call on start of module test to prepend name to all tests
|
255
|
+
module: function(name, testEnvironment) {
|
256
|
+
config.currentModule = name;
|
257
|
+
config.currentModuleTestEnviroment = testEnvironment;
|
258
|
+
},
|
259
|
+
|
260
|
+
asyncTest: function(testName, expected, callback) {
|
261
|
+
if ( arguments.length === 2 ) {
|
262
|
+
callback = expected;
|
263
|
+
expected = 0;
|
264
|
+
}
|
265
|
+
|
266
|
+
QUnit.test(testName, expected, callback, true);
|
267
|
+
},
|
268
|
+
|
269
|
+
test: function(testName, expected, callback, async) {
|
270
|
+
var name = '<span class="test-name">' + testName + '</span>', testEnvironmentArg;
|
271
|
+
|
272
|
+
if ( arguments.length === 2 ) {
|
273
|
+
callback = expected;
|
274
|
+
expected = null;
|
275
|
+
}
|
276
|
+
// is 2nd argument a testEnvironment?
|
277
|
+
if ( expected && typeof expected === 'object') {
|
278
|
+
testEnvironmentArg = expected;
|
279
|
+
expected = null;
|
280
|
+
}
|
281
|
+
|
282
|
+
if ( config.currentModule ) {
|
283
|
+
name = '<span class="module-name">' + config.currentModule + "</span>: " + name;
|
284
|
+
}
|
285
|
+
|
286
|
+
if ( !validTest(config.currentModule + ": " + testName) ) {
|
287
|
+
return;
|
288
|
+
}
|
289
|
+
|
290
|
+
var test = new Test(name, testName, expected, testEnvironmentArg, async, callback);
|
291
|
+
test.module = config.currentModule;
|
292
|
+
test.moduleTestEnvironment = config.currentModuleTestEnviroment;
|
293
|
+
test.queue();
|
294
|
+
},
|
295
|
+
|
296
|
+
/**
|
297
|
+
* Specify the number of expected assertions to gurantee that failed test (no assertions are run at all) don't slip through.
|
298
|
+
*/
|
299
|
+
expect: function(asserts) {
|
300
|
+
config.current.expected = asserts;
|
301
|
+
},
|
302
|
+
|
303
|
+
/**
|
304
|
+
* Asserts true.
|
305
|
+
* @example ok( "asdfasdf".length > 5, "There must be at least 5 chars" );
|
306
|
+
*/
|
307
|
+
ok: function(a, msg) {
|
308
|
+
a = !!a;
|
309
|
+
var details = {
|
310
|
+
result: a,
|
311
|
+
message: msg
|
312
|
+
};
|
313
|
+
msg = escapeHtml(msg);
|
314
|
+
QUnit.log(details);
|
315
|
+
config.current.assertions.push({
|
316
|
+
result: a,
|
317
|
+
message: msg
|
318
|
+
});
|
319
|
+
},
|
320
|
+
|
321
|
+
/**
|
322
|
+
* Checks that the first two arguments are equal, with an optional message.
|
323
|
+
* Prints out both actual and expected values.
|
324
|
+
*
|
325
|
+
* Prefered to ok( actual == expected, message )
|
326
|
+
*
|
327
|
+
* @example equal( format("Received {0} bytes.", 2), "Received 2 bytes." );
|
328
|
+
*
|
329
|
+
* @param Object actual
|
330
|
+
* @param Object expected
|
331
|
+
* @param String message (optional)
|
332
|
+
*/
|
333
|
+
equal: function(actual, expected, message) {
|
334
|
+
QUnit.push(expected == actual, actual, expected, message);
|
335
|
+
},
|
336
|
+
|
337
|
+
notEqual: function(actual, expected, message) {
|
338
|
+
QUnit.push(expected != actual, actual, expected, message);
|
339
|
+
},
|
340
|
+
|
341
|
+
deepEqual: function(actual, expected, message) {
|
342
|
+
QUnit.push(QUnit.equiv(actual, expected), actual, expected, message);
|
343
|
+
},
|
344
|
+
|
345
|
+
notDeepEqual: function(actual, expected, message) {
|
346
|
+
QUnit.push(!QUnit.equiv(actual, expected), actual, expected, message);
|
347
|
+
},
|
348
|
+
|
349
|
+
strictEqual: function(actual, expected, message) {
|
350
|
+
QUnit.push(expected === actual, actual, expected, message);
|
351
|
+
},
|
352
|
+
|
353
|
+
notStrictEqual: function(actual, expected, message) {
|
354
|
+
QUnit.push(expected !== actual, actual, expected, message);
|
355
|
+
},
|
356
|
+
|
357
|
+
raises: function(block, expected, message) {
|
358
|
+
var actual, ok = false;
|
359
|
+
|
360
|
+
if (typeof expected === 'string') {
|
361
|
+
message = expected;
|
362
|
+
expected = null;
|
363
|
+
}
|
364
|
+
|
365
|
+
try {
|
366
|
+
block();
|
367
|
+
} catch (e) {
|
368
|
+
actual = e;
|
369
|
+
}
|
370
|
+
|
371
|
+
if (actual) {
|
372
|
+
// we don't want to validate thrown error
|
373
|
+
if (!expected) {
|
374
|
+
ok = true;
|
375
|
+
// expected is a regexp
|
376
|
+
} else if (QUnit.objectType(expected) === "regexp") {
|
377
|
+
ok = expected.test(actual);
|
378
|
+
// expected is a constructor
|
379
|
+
} else if (actual instanceof expected) {
|
380
|
+
ok = true;
|
381
|
+
// expected is a validation function which returns true is validation passed
|
382
|
+
} else if (expected.call({}, actual) === true) {
|
383
|
+
ok = true;
|
384
|
+
}
|
385
|
+
}
|
386
|
+
|
387
|
+
QUnit.ok(ok, message);
|
388
|
+
},
|
389
|
+
|
390
|
+
start: function() {
|
391
|
+
config.semaphore--;
|
392
|
+
if (config.semaphore > 0) {
|
393
|
+
// don't start until equal number of stop-calls
|
394
|
+
return;
|
395
|
+
}
|
396
|
+
if (config.semaphore < 0) {
|
397
|
+
// ignore if start is called more often then stop
|
398
|
+
config.semaphore = 0;
|
399
|
+
}
|
400
|
+
// A slight delay, to avoid any current callbacks
|
401
|
+
if ( defined.setTimeout ) {
|
402
|
+
window.setTimeout(function() {
|
403
|
+
if ( config.timeout ) {
|
404
|
+
clearTimeout(config.timeout);
|
405
|
+
}
|
406
|
+
|
407
|
+
config.blocking = false;
|
408
|
+
process();
|
409
|
+
}, 13);
|
410
|
+
} else {
|
411
|
+
config.blocking = false;
|
412
|
+
process();
|
413
|
+
}
|
414
|
+
},
|
415
|
+
|
416
|
+
stop: function(timeout) {
|
417
|
+
config.semaphore++;
|
418
|
+
config.blocking = true;
|
419
|
+
|
420
|
+
if ( timeout && defined.setTimeout ) {
|
421
|
+
clearTimeout(config.timeout);
|
422
|
+
config.timeout = window.setTimeout(function() {
|
423
|
+
QUnit.ok( false, "Test timed out" );
|
424
|
+
QUnit.start();
|
425
|
+
}, timeout);
|
426
|
+
}
|
427
|
+
}
|
428
|
+
};
|
429
|
+
|
430
|
+
// Backwards compatibility, deprecated
|
431
|
+
QUnit.equals = QUnit.equal;
|
432
|
+
QUnit.same = QUnit.deepEqual;
|
433
|
+
|
434
|
+
// Maintain internal state
|
435
|
+
var config = {
|
436
|
+
// The queue of tests to run
|
437
|
+
queue: [],
|
438
|
+
|
439
|
+
// block until document ready
|
440
|
+
blocking: true,
|
441
|
+
|
442
|
+
// by default, run previously failed tests first
|
443
|
+
// very useful in combination with "Hide passed tests" checked
|
444
|
+
reorder: true,
|
445
|
+
|
446
|
+
noglobals: false,
|
447
|
+
notrycatch: false
|
448
|
+
};
|
449
|
+
|
450
|
+
// Load paramaters
|
451
|
+
(function() {
|
452
|
+
var location = window.location || { search: "", protocol: "file:" },
|
453
|
+
params = location.search.slice( 1 ).split( "&" ),
|
454
|
+
length = params.length,
|
455
|
+
urlParams = {},
|
456
|
+
current;
|
457
|
+
|
458
|
+
if ( params[ 0 ] ) {
|
459
|
+
for ( var i = 0; i < length; i++ ) {
|
460
|
+
current = params[ i ].split( "=" );
|
461
|
+
current[ 0 ] = decodeURIComponent( current[ 0 ] );
|
462
|
+
// allow just a key to turn on a flag, e.g., test.html?noglobals
|
463
|
+
current[ 1 ] = current[ 1 ] ? decodeURIComponent( current[ 1 ] ) : true;
|
464
|
+
urlParams[ current[ 0 ] ] = current[ 1 ];
|
465
|
+
if ( current[ 0 ] in config ) {
|
466
|
+
config[ current[ 0 ] ] = current[ 1 ];
|
467
|
+
}
|
468
|
+
}
|
469
|
+
}
|
470
|
+
|
471
|
+
QUnit.urlParams = urlParams;
|
472
|
+
config.filter = urlParams.filter;
|
473
|
+
|
474
|
+
// Figure out if we're running the tests from a server or not
|
475
|
+
QUnit.isLocal = !!(location.protocol === 'file:');
|
476
|
+
})();
|
477
|
+
|
478
|
+
// Expose the API as global variables, unless an 'exports'
|
479
|
+
// object exists, in that case we assume we're in CommonJS
|
480
|
+
if ( typeof exports === "undefined" || typeof require === "undefined" ) {
|
481
|
+
extend(window, QUnit);
|
482
|
+
window.QUnit = QUnit;
|
483
|
+
} else {
|
484
|
+
extend(exports, QUnit);
|
485
|
+
exports.QUnit = QUnit;
|
486
|
+
}
|
487
|
+
|
488
|
+
// define these after exposing globals to keep them in these QUnit namespace only
|
489
|
+
extend(QUnit, {
|
490
|
+
config: config,
|
491
|
+
|
492
|
+
// Initialize the configuration options
|
493
|
+
init: function() {
|
494
|
+
extend(config, {
|
495
|
+
stats: { all: 0, bad: 0 },
|
496
|
+
moduleStats: { all: 0, bad: 0 },
|
497
|
+
started: +new Date,
|
498
|
+
updateRate: 1000,
|
499
|
+
blocking: false,
|
500
|
+
autostart: true,
|
501
|
+
autorun: false,
|
502
|
+
filter: "",
|
503
|
+
queue: [],
|
504
|
+
semaphore: 0
|
505
|
+
});
|
506
|
+
|
507
|
+
var tests = id( "qunit-tests" ),
|
508
|
+
banner = id( "qunit-banner" ),
|
509
|
+
result = id( "qunit-testresult" );
|
510
|
+
|
511
|
+
if ( tests ) {
|
512
|
+
tests.innerHTML = "";
|
513
|
+
}
|
514
|
+
|
515
|
+
if ( banner ) {
|
516
|
+
banner.className = "";
|
517
|
+
}
|
518
|
+
|
519
|
+
if ( result ) {
|
520
|
+
result.parentNode.removeChild( result );
|
521
|
+
}
|
522
|
+
|
523
|
+
if ( tests ) {
|
524
|
+
result = document.createElement( "p" );
|
525
|
+
result.id = "qunit-testresult";
|
526
|
+
result.className = "result";
|
527
|
+
tests.parentNode.insertBefore( result, tests );
|
528
|
+
result.innerHTML = 'Running...<br/> ';
|
529
|
+
}
|
530
|
+
},
|
531
|
+
|
532
|
+
/**
|
533
|
+
* Resets the test setup. Useful for tests that modify the DOM.
|
534
|
+
*
|
535
|
+
* If jQuery is available, uses jQuery's html(), otherwise just innerHTML.
|
536
|
+
*/
|
537
|
+
reset: function() {
|
538
|
+
if ( window.jQuery ) {
|
539
|
+
jQuery( "#main, #qunit-fixture" ).html( config.fixture );
|
540
|
+
} else {
|
541
|
+
var main = id( 'main' ) || id( 'qunit-fixture' );
|
542
|
+
if ( main ) {
|
543
|
+
main.innerHTML = config.fixture;
|
544
|
+
}
|
545
|
+
}
|
546
|
+
},
|
547
|
+
|
548
|
+
/**
|
549
|
+
* Trigger an event on an element.
|
550
|
+
*
|
551
|
+
* @example triggerEvent( document.body, "click" );
|
552
|
+
*
|
553
|
+
* @param DOMElement elem
|
554
|
+
* @param String type
|
555
|
+
*/
|
556
|
+
triggerEvent: function( elem, type, event ) {
|
557
|
+
if ( document.createEvent ) {
|
558
|
+
event = document.createEvent("MouseEvents");
|
559
|
+
event.initMouseEvent(type, true, true, elem.ownerDocument.defaultView,
|
560
|
+
0, 0, 0, 0, 0, false, false, false, false, 0, null);
|
561
|
+
elem.dispatchEvent( event );
|
562
|
+
|
563
|
+
} else if ( elem.fireEvent ) {
|
564
|
+
elem.fireEvent("on"+type);
|
565
|
+
}
|
566
|
+
},
|
567
|
+
|
568
|
+
// Safe object type checking
|
569
|
+
is: function( type, obj ) {
|
570
|
+
return QUnit.objectType( obj ) == type;
|
571
|
+
},
|
572
|
+
|
573
|
+
objectType: function( obj ) {
|
574
|
+
if (typeof obj === "undefined") {
|
575
|
+
return "undefined";
|
576
|
+
|
577
|
+
// consider: typeof null === object
|
578
|
+
}
|
579
|
+
if (obj === null) {
|
580
|
+
return "null";
|
581
|
+
}
|
582
|
+
|
583
|
+
var type = Object.prototype.toString.call( obj )
|
584
|
+
.match(/^\[object\s(.*)\]$/)[1] || '';
|
585
|
+
|
586
|
+
switch (type) {
|
587
|
+
case 'Number':
|
588
|
+
if (isNaN(obj)) {
|
589
|
+
return "nan";
|
590
|
+
} else {
|
591
|
+
return "number";
|
592
|
+
}
|
593
|
+
case 'String':
|
594
|
+
case 'Boolean':
|
595
|
+
case 'Array':
|
596
|
+
case 'Date':
|
597
|
+
case 'RegExp':
|
598
|
+
case 'Function':
|
599
|
+
return type.toLowerCase();
|
600
|
+
}
|
601
|
+
if (typeof obj === "object") {
|
602
|
+
return "object";
|
603
|
+
}
|
604
|
+
return undefined;
|
605
|
+
},
|
606
|
+
|
607
|
+
push: function(result, actual, expected, message) {
|
608
|
+
var details = {
|
609
|
+
result: result,
|
610
|
+
message: message,
|
611
|
+
actual: actual,
|
612
|
+
expected: expected
|
613
|
+
};
|
614
|
+
|
615
|
+
message = escapeHtml(message) || (result ? "okay" : "failed");
|
616
|
+
message = '<span class="test-message">' + message + "</span>";
|
617
|
+
expected = escapeHtml(QUnit.jsDump.parse(expected));
|
618
|
+
actual = escapeHtml(QUnit.jsDump.parse(actual));
|
619
|
+
var output = message + '<table><tr class="test-expected"><th>Expected: </th><td><pre>' + expected + '</pre></td></tr>';
|
620
|
+
if (actual != expected) {
|
621
|
+
output += '<tr class="test-actual"><th>Result: </th><td><pre>' + actual + '</pre></td></tr>';
|
622
|
+
output += '<tr class="test-diff"><th>Diff: </th><td><pre>' + QUnit.diff(expected, actual) +'</pre></td></tr>';
|
623
|
+
}
|
624
|
+
if (!result) {
|
625
|
+
var source = sourceFromStacktrace();
|
626
|
+
if (source) {
|
627
|
+
details.source = source;
|
628
|
+
output += '<tr class="test-source"><th>Source: </th><td><pre>' + source +'</pre></td></tr>';
|
629
|
+
}
|
630
|
+
}
|
631
|
+
output += "</table>";
|
632
|
+
|
633
|
+
QUnit.log(details);
|
634
|
+
|
635
|
+
config.current.assertions.push({
|
636
|
+
result: !!result,
|
637
|
+
message: output
|
638
|
+
});
|
639
|
+
},
|
640
|
+
|
641
|
+
url: function( params ) {
|
642
|
+
params = extend( extend( {}, QUnit.urlParams ), params );
|
643
|
+
var querystring = "?",
|
644
|
+
key;
|
645
|
+
for ( key in params ) {
|
646
|
+
querystring += encodeURIComponent( key ) + "=" +
|
647
|
+
encodeURIComponent( params[ key ] ) + "&";
|
648
|
+
}
|
649
|
+
return window.location.pathname + querystring.slice( 0, -1 );
|
650
|
+
},
|
651
|
+
|
652
|
+
// Logging callbacks; all receive a single argument with the listed properties
|
653
|
+
// run test/logs.html for any related changes
|
654
|
+
begin: function() {},
|
655
|
+
// done: { failed, passed, total, runtime }
|
656
|
+
done: function() {},
|
657
|
+
// log: { result, actual, expected, message }
|
658
|
+
log: function() {},
|
659
|
+
// testStart: { name }
|
660
|
+
testStart: function() {},
|
661
|
+
// testDone: { name, failed, passed, total }
|
662
|
+
testDone: function() {},
|
663
|
+
// moduleStart: { name }
|
664
|
+
moduleStart: function() {},
|
665
|
+
// moduleDone: { name, failed, passed, total }
|
666
|
+
moduleDone: function() {}
|
667
|
+
});
|
668
|
+
|
669
|
+
if ( typeof document === "undefined" || document.readyState === "complete" ) {
|
670
|
+
config.autorun = true;
|
671
|
+
}
|
672
|
+
|
673
|
+
addEvent(window, "load", function() {
|
674
|
+
QUnit.begin({});
|
675
|
+
|
676
|
+
// Initialize the config, saving the execution queue
|
677
|
+
var oldconfig = extend({}, config);
|
678
|
+
QUnit.init();
|
679
|
+
extend(config, oldconfig);
|
680
|
+
|
681
|
+
config.blocking = false;
|
682
|
+
|
683
|
+
var userAgent = id("qunit-userAgent");
|
684
|
+
if ( userAgent ) {
|
685
|
+
userAgent.innerHTML = navigator.userAgent;
|
686
|
+
}
|
687
|
+
var banner = id("qunit-header");
|
688
|
+
if ( banner ) {
|
689
|
+
banner.innerHTML = '<a href="' + QUnit.url({ filter: undefined }) + '"> ' + banner.innerHTML + '</a> ' +
|
690
|
+
'<label><input name="noglobals" type="checkbox"' + ( config.noglobals ? ' checked="checked"' : '' ) + '>noglobals</label>' +
|
691
|
+
'<label><input name="notrycatch" type="checkbox"' + ( config.notrycatch ? ' checked="checked"' : '' ) + '>notrycatch</label>';
|
692
|
+
addEvent( banner, "change", function( event ) {
|
693
|
+
var params = {};
|
694
|
+
params[ event.target.name ] = event.target.checked ? true : undefined;
|
695
|
+
window.location = QUnit.url( params );
|
696
|
+
});
|
697
|
+
}
|
698
|
+
|
699
|
+
var toolbar = id("qunit-testrunner-toolbar");
|
700
|
+
if ( toolbar ) {
|
701
|
+
var filter = document.createElement("input");
|
702
|
+
filter.type = "checkbox";
|
703
|
+
filter.id = "qunit-filter-pass";
|
704
|
+
addEvent( filter, "click", function() {
|
705
|
+
var ol = document.getElementById("qunit-tests");
|
706
|
+
if ( filter.checked ) {
|
707
|
+
ol.className = ol.className + " hidepass";
|
708
|
+
} else {
|
709
|
+
var tmp = " " + ol.className.replace( /[\n\t\r]/g, " " ) + " ";
|
710
|
+
ol.className = tmp.replace(/ hidepass /, " ");
|
711
|
+
}
|
712
|
+
if ( defined.sessionStorage ) {
|
713
|
+
if (filter.checked) {
|
714
|
+
sessionStorage.setItem("qunit-filter-passed-tests", "true");
|
715
|
+
} else {
|
716
|
+
sessionStorage.removeItem("qunit-filter-passed-tests");
|
717
|
+
}
|
718
|
+
}
|
719
|
+
});
|
720
|
+
if ( defined.sessionStorage && sessionStorage.getItem("qunit-filter-passed-tests") ) {
|
721
|
+
filter.checked = true;
|
722
|
+
var ol = document.getElementById("qunit-tests");
|
723
|
+
ol.className = ol.className + " hidepass";
|
724
|
+
}
|
725
|
+
toolbar.appendChild( filter );
|
726
|
+
|
727
|
+
var label = document.createElement("label");
|
728
|
+
label.setAttribute("for", "qunit-filter-pass");
|
729
|
+
label.innerHTML = "Hide passed tests";
|
730
|
+
toolbar.appendChild( label );
|
731
|
+
}
|
732
|
+
|
733
|
+
var main = id('main') || id('qunit-fixture');
|
734
|
+
if ( main ) {
|
735
|
+
config.fixture = main.innerHTML;
|
736
|
+
}
|
737
|
+
|
738
|
+
if (config.autostart) {
|
739
|
+
QUnit.start();
|
740
|
+
}
|
741
|
+
});
|
742
|
+
|
743
|
+
function done() {
|
744
|
+
config.autorun = true;
|
745
|
+
|
746
|
+
// Log the last module results
|
747
|
+
if ( config.currentModule ) {
|
748
|
+
QUnit.moduleDone( {
|
749
|
+
name: config.currentModule,
|
750
|
+
failed: config.moduleStats.bad,
|
751
|
+
passed: config.moduleStats.all - config.moduleStats.bad,
|
752
|
+
total: config.moduleStats.all
|
753
|
+
} );
|
754
|
+
}
|
755
|
+
|
756
|
+
var banner = id("qunit-banner"),
|
757
|
+
tests = id("qunit-tests"),
|
758
|
+
runtime = +new Date - config.started,
|
759
|
+
passed = config.stats.all - config.stats.bad,
|
760
|
+
html = [
|
761
|
+
'Tests completed in ',
|
762
|
+
runtime,
|
763
|
+
' milliseconds.<br/>',
|
764
|
+
'<span class="passed">',
|
765
|
+
passed,
|
766
|
+
'</span> tests of <span class="total">',
|
767
|
+
config.stats.all,
|
768
|
+
'</span> passed, <span class="failed">',
|
769
|
+
config.stats.bad,
|
770
|
+
'</span> failed.'
|
771
|
+
].join('');
|
772
|
+
|
773
|
+
if ( banner ) {
|
774
|
+
banner.className = (config.stats.bad ? "qunit-fail" : "qunit-pass");
|
775
|
+
}
|
776
|
+
|
777
|
+
if ( tests ) {
|
778
|
+
id( "qunit-testresult" ).innerHTML = html;
|
779
|
+
}
|
780
|
+
|
781
|
+
QUnit.done( {
|
782
|
+
failed: config.stats.bad,
|
783
|
+
passed: passed,
|
784
|
+
total: config.stats.all,
|
785
|
+
runtime: runtime
|
786
|
+
} );
|
787
|
+
}
|
788
|
+
|
789
|
+
function validTest( name ) {
|
790
|
+
var filter = config.filter,
|
791
|
+
run = false;
|
792
|
+
|
793
|
+
if ( !filter ) {
|
794
|
+
return true;
|
795
|
+
}
|
796
|
+
|
797
|
+
not = filter.charAt( 0 ) === "!";
|
798
|
+
if ( not ) {
|
799
|
+
filter = filter.slice( 1 );
|
800
|
+
}
|
801
|
+
|
802
|
+
if ( name.indexOf( filter ) !== -1 ) {
|
803
|
+
return !not;
|
804
|
+
}
|
805
|
+
|
806
|
+
if ( not ) {
|
807
|
+
run = true;
|
808
|
+
}
|
809
|
+
|
810
|
+
return run;
|
811
|
+
}
|
812
|
+
|
813
|
+
// so far supports only Firefox, Chrome and Opera (buggy)
|
814
|
+
// could be extended in the future to use something like https://github.com/csnover/TraceKit
|
815
|
+
function sourceFromStacktrace() {
|
816
|
+
try {
|
817
|
+
throw new Error();
|
818
|
+
} catch ( e ) {
|
819
|
+
if (e.stacktrace) {
|
820
|
+
// Opera
|
821
|
+
return e.stacktrace.split("\n")[6];
|
822
|
+
} else if (e.stack) {
|
823
|
+
// Firefox, Chrome
|
824
|
+
return e.stack.split("\n")[4];
|
825
|
+
}
|
826
|
+
}
|
827
|
+
}
|
828
|
+
|
829
|
+
function escapeHtml(s) {
|
830
|
+
if (!s) {
|
831
|
+
return "";
|
832
|
+
}
|
833
|
+
s = s + "";
|
834
|
+
return s.replace(/[\&"<>\\]/g, function(s) {
|
835
|
+
switch(s) {
|
836
|
+
case "&": return "&";
|
837
|
+
case "\\": return "\\\\";
|
838
|
+
case '"': return '\"';
|
839
|
+
case "<": return "<";
|
840
|
+
case ">": return ">";
|
841
|
+
default: return s;
|
842
|
+
}
|
843
|
+
});
|
844
|
+
}
|
845
|
+
|
846
|
+
function synchronize( callback ) {
|
847
|
+
config.queue.push( callback );
|
848
|
+
|
849
|
+
if ( config.autorun && !config.blocking ) {
|
850
|
+
process();
|
851
|
+
}
|
852
|
+
}
|
853
|
+
|
854
|
+
function process() {
|
855
|
+
var start = (new Date()).getTime();
|
856
|
+
|
857
|
+
while ( config.queue.length && !config.blocking ) {
|
858
|
+
if ( config.updateRate <= 0 || (((new Date()).getTime() - start) < config.updateRate) ) {
|
859
|
+
config.queue.shift()();
|
860
|
+
} else {
|
861
|
+
window.setTimeout( process, 13 );
|
862
|
+
break;
|
863
|
+
}
|
864
|
+
}
|
865
|
+
if (!config.blocking && !config.queue.length) {
|
866
|
+
done();
|
867
|
+
}
|
868
|
+
}
|
869
|
+
|
870
|
+
function saveGlobal() {
|
871
|
+
config.pollution = [];
|
872
|
+
|
873
|
+
if ( config.noglobals ) {
|
874
|
+
for ( var key in window ) {
|
875
|
+
config.pollution.push( key );
|
876
|
+
}
|
877
|
+
}
|
878
|
+
}
|
879
|
+
|
880
|
+
function checkPollution( name ) {
|
881
|
+
var old = config.pollution;
|
882
|
+
saveGlobal();
|
883
|
+
|
884
|
+
var newGlobals = diff( old, config.pollution );
|
885
|
+
if ( newGlobals.length > 0 ) {
|
886
|
+
ok( false, "Introduced global variable(s): " + newGlobals.join(", ") );
|
887
|
+
config.current.expected++;
|
888
|
+
}
|
889
|
+
|
890
|
+
var deletedGlobals = diff( config.pollution, old );
|
891
|
+
if ( deletedGlobals.length > 0 ) {
|
892
|
+
ok( false, "Deleted global variable(s): " + deletedGlobals.join(", ") );
|
893
|
+
config.current.expected++;
|
894
|
+
}
|
895
|
+
}
|
896
|
+
|
897
|
+
// returns a new Array with the elements that are in a but not in b
|
898
|
+
function diff( a, b ) {
|
899
|
+
var result = a.slice();
|
900
|
+
for ( var i = 0; i < result.length; i++ ) {
|
901
|
+
for ( var j = 0; j < b.length; j++ ) {
|
902
|
+
if ( result[i] === b[j] ) {
|
903
|
+
result.splice(i, 1);
|
904
|
+
i--;
|
905
|
+
break;
|
906
|
+
}
|
907
|
+
}
|
908
|
+
}
|
909
|
+
return result;
|
910
|
+
}
|
911
|
+
|
912
|
+
function fail(message, exception, callback) {
|
913
|
+
if ( typeof console !== "undefined" && console.error && console.warn ) {
|
914
|
+
console.error(message);
|
915
|
+
console.error(exception);
|
916
|
+
console.warn(callback.toString());
|
917
|
+
|
918
|
+
} else if ( window.opera && opera.postError ) {
|
919
|
+
opera.postError(message, exception, callback.toString);
|
920
|
+
}
|
921
|
+
}
|
922
|
+
|
923
|
+
function extend(a, b) {
|
924
|
+
for ( var prop in b ) {
|
925
|
+
if ( b[prop] === undefined ) {
|
926
|
+
delete a[prop];
|
927
|
+
} else {
|
928
|
+
a[prop] = b[prop];
|
929
|
+
}
|
930
|
+
}
|
931
|
+
|
932
|
+
return a;
|
933
|
+
}
|
934
|
+
|
935
|
+
function addEvent(elem, type, fn) {
|
936
|
+
if ( elem.addEventListener ) {
|
937
|
+
elem.addEventListener( type, fn, false );
|
938
|
+
} else if ( elem.attachEvent ) {
|
939
|
+
elem.attachEvent( "on" + type, fn );
|
940
|
+
} else {
|
941
|
+
fn();
|
942
|
+
}
|
943
|
+
}
|
944
|
+
|
945
|
+
function id(name) {
|
946
|
+
return !!(typeof document !== "undefined" && document && document.getElementById) &&
|
947
|
+
document.getElementById( name );
|
948
|
+
}
|
949
|
+
|
950
|
+
// Test for equality any JavaScript type.
|
951
|
+
// Discussions and reference: http://philrathe.com/articles/equiv
|
952
|
+
// Test suites: http://philrathe.com/tests/equiv
|
953
|
+
// Author: Philippe Rathé <prathe@gmail.com>
|
954
|
+
QUnit.equiv = function () {
|
955
|
+
|
956
|
+
var innerEquiv; // the real equiv function
|
957
|
+
var callers = []; // stack to decide between skip/abort functions
|
958
|
+
var parents = []; // stack to avoiding loops from circular referencing
|
959
|
+
|
960
|
+
// Call the o related callback with the given arguments.
|
961
|
+
function bindCallbacks(o, callbacks, args) {
|
962
|
+
var prop = QUnit.objectType(o);
|
963
|
+
if (prop) {
|
964
|
+
if (QUnit.objectType(callbacks[prop]) === "function") {
|
965
|
+
return callbacks[prop].apply(callbacks, args);
|
966
|
+
} else {
|
967
|
+
return callbacks[prop]; // or undefined
|
968
|
+
}
|
969
|
+
}
|
970
|
+
}
|
971
|
+
|
972
|
+
var callbacks = function () {
|
973
|
+
|
974
|
+
// for string, boolean, number and null
|
975
|
+
function useStrictEquality(b, a) {
|
976
|
+
if (b instanceof a.constructor || a instanceof b.constructor) {
|
977
|
+
// to catch short annotaion VS 'new' annotation of a declaration
|
978
|
+
// e.g. var i = 1;
|
979
|
+
// var j = new Number(1);
|
980
|
+
return a == b;
|
981
|
+
} else {
|
982
|
+
return a === b;
|
983
|
+
}
|
984
|
+
}
|
985
|
+
|
986
|
+
return {
|
987
|
+
"string": useStrictEquality,
|
988
|
+
"boolean": useStrictEquality,
|
989
|
+
"number": useStrictEquality,
|
990
|
+
"null": useStrictEquality,
|
991
|
+
"undefined": useStrictEquality,
|
992
|
+
|
993
|
+
"nan": function (b) {
|
994
|
+
return isNaN(b);
|
995
|
+
},
|
996
|
+
|
997
|
+
"date": function (b, a) {
|
998
|
+
return QUnit.objectType(b) === "date" && a.valueOf() === b.valueOf();
|
999
|
+
},
|
1000
|
+
|
1001
|
+
"regexp": function (b, a) {
|
1002
|
+
return QUnit.objectType(b) === "regexp" &&
|
1003
|
+
a.source === b.source && // the regex itself
|
1004
|
+
a.global === b.global && // and its modifers (gmi) ...
|
1005
|
+
a.ignoreCase === b.ignoreCase &&
|
1006
|
+
a.multiline === b.multiline;
|
1007
|
+
},
|
1008
|
+
|
1009
|
+
// - skip when the property is a method of an instance (OOP)
|
1010
|
+
// - abort otherwise,
|
1011
|
+
// initial === would have catch identical references anyway
|
1012
|
+
"function": function () {
|
1013
|
+
var caller = callers[callers.length - 1];
|
1014
|
+
return caller !== Object &&
|
1015
|
+
typeof caller !== "undefined";
|
1016
|
+
},
|
1017
|
+
|
1018
|
+
"array": function (b, a) {
|
1019
|
+
var i, j, loop;
|
1020
|
+
var len;
|
1021
|
+
|
1022
|
+
// b could be an object literal here
|
1023
|
+
if ( ! (QUnit.objectType(b) === "array")) {
|
1024
|
+
return false;
|
1025
|
+
}
|
1026
|
+
|
1027
|
+
len = a.length;
|
1028
|
+
if (len !== b.length) { // safe and faster
|
1029
|
+
return false;
|
1030
|
+
}
|
1031
|
+
|
1032
|
+
//track reference to avoid circular references
|
1033
|
+
parents.push(a);
|
1034
|
+
for (i = 0; i < len; i++) {
|
1035
|
+
loop = false;
|
1036
|
+
for(j=0;j<parents.length;j++){
|
1037
|
+
if(parents[j] === a[i]){
|
1038
|
+
loop = true;//dont rewalk array
|
1039
|
+
}
|
1040
|
+
}
|
1041
|
+
if (!loop && ! innerEquiv(a[i], b[i])) {
|
1042
|
+
parents.pop();
|
1043
|
+
return false;
|
1044
|
+
}
|
1045
|
+
}
|
1046
|
+
parents.pop();
|
1047
|
+
return true;
|
1048
|
+
},
|
1049
|
+
|
1050
|
+
"object": function (b, a) {
|
1051
|
+
var i, j, loop;
|
1052
|
+
var eq = true; // unless we can proove it
|
1053
|
+
var aProperties = [], bProperties = []; // collection of strings
|
1054
|
+
|
1055
|
+
// comparing constructors is more strict than using instanceof
|
1056
|
+
if ( a.constructor !== b.constructor) {
|
1057
|
+
return false;
|
1058
|
+
}
|
1059
|
+
|
1060
|
+
// stack constructor before traversing properties
|
1061
|
+
callers.push(a.constructor);
|
1062
|
+
//track reference to avoid circular references
|
1063
|
+
parents.push(a);
|
1064
|
+
|
1065
|
+
for (i in a) { // be strict: don't ensures hasOwnProperty and go deep
|
1066
|
+
loop = false;
|
1067
|
+
for(j=0;j<parents.length;j++){
|
1068
|
+
if(parents[j] === a[i])
|
1069
|
+
loop = true; //don't go down the same path twice
|
1070
|
+
}
|
1071
|
+
aProperties.push(i); // collect a's properties
|
1072
|
+
|
1073
|
+
if (!loop && ! innerEquiv(a[i], b[i])) {
|
1074
|
+
eq = false;
|
1075
|
+
break;
|
1076
|
+
}
|
1077
|
+
}
|
1078
|
+
|
1079
|
+
callers.pop(); // unstack, we are done
|
1080
|
+
parents.pop();
|
1081
|
+
|
1082
|
+
for (i in b) {
|
1083
|
+
bProperties.push(i); // collect b's properties
|
1084
|
+
}
|
1085
|
+
|
1086
|
+
// Ensures identical properties name
|
1087
|
+
return eq && innerEquiv(aProperties.sort(), bProperties.sort());
|
1088
|
+
}
|
1089
|
+
};
|
1090
|
+
}();
|
1091
|
+
|
1092
|
+
innerEquiv = function () { // can take multiple arguments
|
1093
|
+
var args = Array.prototype.slice.apply(arguments);
|
1094
|
+
if (args.length < 2) {
|
1095
|
+
return true; // end transition
|
1096
|
+
}
|
1097
|
+
|
1098
|
+
return (function (a, b) {
|
1099
|
+
if (a === b) {
|
1100
|
+
return true; // catch the most you can
|
1101
|
+
} else if (a === null || b === null || typeof a === "undefined" || typeof b === "undefined" || QUnit.objectType(a) !== QUnit.objectType(b)) {
|
1102
|
+
return false; // don't lose time with error prone cases
|
1103
|
+
} else {
|
1104
|
+
return bindCallbacks(a, callbacks, [b, a]);
|
1105
|
+
}
|
1106
|
+
|
1107
|
+
// apply transition with (1..n) arguments
|
1108
|
+
})(args[0], args[1]) && arguments.callee.apply(this, args.splice(1, args.length -1));
|
1109
|
+
};
|
1110
|
+
|
1111
|
+
return innerEquiv;
|
1112
|
+
|
1113
|
+
}();
|
1114
|
+
|
1115
|
+
/**
|
1116
|
+
* jsDump
|
1117
|
+
* Copyright (c) 2008 Ariel Flesler - aflesler(at)gmail(dot)com | http://flesler.blogspot.com
|
1118
|
+
* Licensed under BSD (http://www.opensource.org/licenses/bsd-license.php)
|
1119
|
+
* Date: 5/15/2008
|
1120
|
+
* @projectDescription Advanced and extensible data dumping for Javascript.
|
1121
|
+
* @version 1.0.0
|
1122
|
+
* @author Ariel Flesler
|
1123
|
+
* @link {http://flesler.blogspot.com/2008/05/jsdump-pretty-dump-of-any-javascript.html}
|
1124
|
+
*/
|
1125
|
+
QUnit.jsDump = (function() {
|
1126
|
+
function quote( str ) {
|
1127
|
+
return '"' + str.toString().replace(/"/g, '\\"') + '"';
|
1128
|
+
};
|
1129
|
+
function literal( o ) {
|
1130
|
+
return o + '';
|
1131
|
+
};
|
1132
|
+
function join( pre, arr, post ) {
|
1133
|
+
var s = jsDump.separator(),
|
1134
|
+
base = jsDump.indent(),
|
1135
|
+
inner = jsDump.indent(1);
|
1136
|
+
if ( arr.join )
|
1137
|
+
arr = arr.join( ',' + s + inner );
|
1138
|
+
if ( !arr )
|
1139
|
+
return pre + post;
|
1140
|
+
return [ pre, inner + arr, base + post ].join(s);
|
1141
|
+
};
|
1142
|
+
function array( arr ) {
|
1143
|
+
var i = arr.length, ret = Array(i);
|
1144
|
+
this.up();
|
1145
|
+
while ( i-- )
|
1146
|
+
ret[i] = this.parse( arr[i] );
|
1147
|
+
this.down();
|
1148
|
+
return join( '[', ret, ']' );
|
1149
|
+
};
|
1150
|
+
|
1151
|
+
var reName = /^function (\w+)/;
|
1152
|
+
|
1153
|
+
var jsDump = {
|
1154
|
+
parse:function( obj, type ) { //type is used mostly internally, you can fix a (custom)type in advance
|
1155
|
+
var parser = this.parsers[ type || this.typeOf(obj) ];
|
1156
|
+
type = typeof parser;
|
1157
|
+
|
1158
|
+
return type == 'function' ? parser.call( this, obj ) :
|
1159
|
+
type == 'string' ? parser :
|
1160
|
+
this.parsers.error;
|
1161
|
+
},
|
1162
|
+
typeOf:function( obj ) {
|
1163
|
+
var type;
|
1164
|
+
if ( obj === null ) {
|
1165
|
+
type = "null";
|
1166
|
+
} else if (typeof obj === "undefined") {
|
1167
|
+
type = "undefined";
|
1168
|
+
} else if (QUnit.is("RegExp", obj)) {
|
1169
|
+
type = "regexp";
|
1170
|
+
} else if (QUnit.is("Date", obj)) {
|
1171
|
+
type = "date";
|
1172
|
+
} else if (QUnit.is("Function", obj)) {
|
1173
|
+
type = "function";
|
1174
|
+
} else if (typeof obj.setInterval !== undefined && typeof obj.document !== "undefined" && typeof obj.nodeType === "undefined") {
|
1175
|
+
type = "window";
|
1176
|
+
} else if (obj.nodeType === 9) {
|
1177
|
+
type = "document";
|
1178
|
+
} else if (obj.nodeType) {
|
1179
|
+
type = "node";
|
1180
|
+
} else if (typeof obj === "object" && typeof obj.length === "number" && obj.length >= 0) {
|
1181
|
+
type = "array";
|
1182
|
+
} else {
|
1183
|
+
type = typeof obj;
|
1184
|
+
}
|
1185
|
+
return type;
|
1186
|
+
},
|
1187
|
+
separator:function() {
|
1188
|
+
return this.multiline ? this.HTML ? '<br />' : '\n' : this.HTML ? ' ' : ' ';
|
1189
|
+
},
|
1190
|
+
indent:function( extra ) {// extra can be a number, shortcut for increasing-calling-decreasing
|
1191
|
+
if ( !this.multiline )
|
1192
|
+
return '';
|
1193
|
+
var chr = this.indentChar;
|
1194
|
+
if ( this.HTML )
|
1195
|
+
chr = chr.replace(/\t/g,' ').replace(/ /g,' ');
|
1196
|
+
return Array( this._depth_ + (extra||0) ).join(chr);
|
1197
|
+
},
|
1198
|
+
up:function( a ) {
|
1199
|
+
this._depth_ += a || 1;
|
1200
|
+
},
|
1201
|
+
down:function( a ) {
|
1202
|
+
this._depth_ -= a || 1;
|
1203
|
+
},
|
1204
|
+
setParser:function( name, parser ) {
|
1205
|
+
this.parsers[name] = parser;
|
1206
|
+
},
|
1207
|
+
// The next 3 are exposed so you can use them
|
1208
|
+
quote:quote,
|
1209
|
+
literal:literal,
|
1210
|
+
join:join,
|
1211
|
+
//
|
1212
|
+
_depth_: 1,
|
1213
|
+
// This is the list of parsers, to modify them, use jsDump.setParser
|
1214
|
+
parsers:{
|
1215
|
+
window: '[Window]',
|
1216
|
+
document: '[Document]',
|
1217
|
+
error:'[ERROR]', //when no parser is found, shouldn't happen
|
1218
|
+
unknown: '[Unknown]',
|
1219
|
+
'null':'null',
|
1220
|
+
'undefined':'undefined',
|
1221
|
+
'function':function( fn ) {
|
1222
|
+
var ret = 'function',
|
1223
|
+
name = 'name' in fn ? fn.name : (reName.exec(fn)||[])[1];//functions never have name in IE
|
1224
|
+
if ( name )
|
1225
|
+
ret += ' ' + name;
|
1226
|
+
ret += '(';
|
1227
|
+
|
1228
|
+
ret = [ ret, QUnit.jsDump.parse( fn, 'functionArgs' ), '){'].join('');
|
1229
|
+
return join( ret, QUnit.jsDump.parse(fn,'functionCode'), '}' );
|
1230
|
+
},
|
1231
|
+
array: array,
|
1232
|
+
nodelist: array,
|
1233
|
+
arguments: array,
|
1234
|
+
object:function( map ) {
|
1235
|
+
var ret = [ ];
|
1236
|
+
QUnit.jsDump.up();
|
1237
|
+
for ( var key in map )
|
1238
|
+
ret.push( QUnit.jsDump.parse(key,'key') + ': ' + QUnit.jsDump.parse(map[key]) );
|
1239
|
+
QUnit.jsDump.down();
|
1240
|
+
return join( '{', ret, '}' );
|
1241
|
+
},
|
1242
|
+
node:function( node ) {
|
1243
|
+
var open = QUnit.jsDump.HTML ? '<' : '<',
|
1244
|
+
close = QUnit.jsDump.HTML ? '>' : '>';
|
1245
|
+
|
1246
|
+
var tag = node.nodeName.toLowerCase(),
|
1247
|
+
ret = open + tag;
|
1248
|
+
|
1249
|
+
for ( var a in QUnit.jsDump.DOMAttrs ) {
|
1250
|
+
var val = node[QUnit.jsDump.DOMAttrs[a]];
|
1251
|
+
if ( val )
|
1252
|
+
ret += ' ' + a + '=' + QUnit.jsDump.parse( val, 'attribute' );
|
1253
|
+
}
|
1254
|
+
return ret + close + open + '/' + tag + close;
|
1255
|
+
},
|
1256
|
+
functionArgs:function( fn ) {//function calls it internally, it's the arguments part of the function
|
1257
|
+
var l = fn.length;
|
1258
|
+
if ( !l ) return '';
|
1259
|
+
|
1260
|
+
var args = Array(l);
|
1261
|
+
while ( l-- )
|
1262
|
+
args[l] = String.fromCharCode(97+l);//97 is 'a'
|
1263
|
+
return ' ' + args.join(', ') + ' ';
|
1264
|
+
},
|
1265
|
+
key:quote, //object calls it internally, the key part of an item in a map
|
1266
|
+
functionCode:'[code]', //function calls it internally, it's the content of the function
|
1267
|
+
attribute:quote, //node calls it internally, it's an html attribute value
|
1268
|
+
string:quote,
|
1269
|
+
date:quote,
|
1270
|
+
regexp:literal, //regex
|
1271
|
+
number:literal,
|
1272
|
+
'boolean':literal
|
1273
|
+
},
|
1274
|
+
DOMAttrs:{//attributes to dump from nodes, name=>realName
|
1275
|
+
id:'id',
|
1276
|
+
name:'name',
|
1277
|
+
'class':'className'
|
1278
|
+
},
|
1279
|
+
HTML:false,//if true, entities are escaped ( <, >, \t, space and \n )
|
1280
|
+
indentChar:' ',//indentation unit
|
1281
|
+
multiline:true //if true, items in a collection, are separated by a \n, else just a space.
|
1282
|
+
};
|
1283
|
+
|
1284
|
+
return jsDump;
|
1285
|
+
})();
|
1286
|
+
|
1287
|
+
// from Sizzle.js
|
1288
|
+
function getText( elems ) {
|
1289
|
+
var ret = "", elem;
|
1290
|
+
|
1291
|
+
for ( var i = 0; elems[i]; i++ ) {
|
1292
|
+
elem = elems[i];
|
1293
|
+
|
1294
|
+
// Get the text from text nodes and CDATA nodes
|
1295
|
+
if ( elem.nodeType === 3 || elem.nodeType === 4 ) {
|
1296
|
+
ret += elem.nodeValue;
|
1297
|
+
|
1298
|
+
// Traverse everything else, except comment nodes
|
1299
|
+
} else if ( elem.nodeType !== 8 ) {
|
1300
|
+
ret += getText( elem.childNodes );
|
1301
|
+
}
|
1302
|
+
}
|
1303
|
+
|
1304
|
+
return ret;
|
1305
|
+
};
|
1306
|
+
|
1307
|
+
/*
|
1308
|
+
* Javascript Diff Algorithm
|
1309
|
+
* By John Resig (http://ejohn.org/)
|
1310
|
+
* Modified by Chu Alan "sprite"
|
1311
|
+
*
|
1312
|
+
* Released under the MIT license.
|
1313
|
+
*
|
1314
|
+
* More Info:
|
1315
|
+
* http://ejohn.org/projects/javascript-diff-algorithm/
|
1316
|
+
*
|
1317
|
+
* Usage: QUnit.diff(expected, actual)
|
1318
|
+
*
|
1319
|
+
* QUnit.diff("the quick brown fox jumped over", "the quick fox jumps over") == "the quick <del>brown </del> fox <del>jumped </del><ins>jumps </ins> over"
|
1320
|
+
*/
|
1321
|
+
QUnit.diff = (function() {
|
1322
|
+
function diff(o, n){
|
1323
|
+
var ns = new Object();
|
1324
|
+
var os = new Object();
|
1325
|
+
|
1326
|
+
for (var i = 0; i < n.length; i++) {
|
1327
|
+
if (ns[n[i]] == null)
|
1328
|
+
ns[n[i]] = {
|
1329
|
+
rows: new Array(),
|
1330
|
+
o: null
|
1331
|
+
};
|
1332
|
+
ns[n[i]].rows.push(i);
|
1333
|
+
}
|
1334
|
+
|
1335
|
+
for (var i = 0; i < o.length; i++) {
|
1336
|
+
if (os[o[i]] == null)
|
1337
|
+
os[o[i]] = {
|
1338
|
+
rows: new Array(),
|
1339
|
+
n: null
|
1340
|
+
};
|
1341
|
+
os[o[i]].rows.push(i);
|
1342
|
+
}
|
1343
|
+
|
1344
|
+
for (var i in ns) {
|
1345
|
+
if (ns[i].rows.length == 1 && typeof(os[i]) != "undefined" && os[i].rows.length == 1) {
|
1346
|
+
n[ns[i].rows[0]] = {
|
1347
|
+
text: n[ns[i].rows[0]],
|
1348
|
+
row: os[i].rows[0]
|
1349
|
+
};
|
1350
|
+
o[os[i].rows[0]] = {
|
1351
|
+
text: o[os[i].rows[0]],
|
1352
|
+
row: ns[i].rows[0]
|
1353
|
+
};
|
1354
|
+
}
|
1355
|
+
}
|
1356
|
+
|
1357
|
+
for (var i = 0; i < n.length - 1; i++) {
|
1358
|
+
if (n[i].text != null && n[i + 1].text == null && n[i].row + 1 < o.length && o[n[i].row + 1].text == null &&
|
1359
|
+
n[i + 1] == o[n[i].row + 1]) {
|
1360
|
+
n[i + 1] = {
|
1361
|
+
text: n[i + 1],
|
1362
|
+
row: n[i].row + 1
|
1363
|
+
};
|
1364
|
+
o[n[i].row + 1] = {
|
1365
|
+
text: o[n[i].row + 1],
|
1366
|
+
row: i + 1
|
1367
|
+
};
|
1368
|
+
}
|
1369
|
+
}
|
1370
|
+
|
1371
|
+
for (var i = n.length - 1; i > 0; i--) {
|
1372
|
+
if (n[i].text != null && n[i - 1].text == null && n[i].row > 0 && o[n[i].row - 1].text == null &&
|
1373
|
+
n[i - 1] == o[n[i].row - 1]) {
|
1374
|
+
n[i - 1] = {
|
1375
|
+
text: n[i - 1],
|
1376
|
+
row: n[i].row - 1
|
1377
|
+
};
|
1378
|
+
o[n[i].row - 1] = {
|
1379
|
+
text: o[n[i].row - 1],
|
1380
|
+
row: i - 1
|
1381
|
+
};
|
1382
|
+
}
|
1383
|
+
}
|
1384
|
+
|
1385
|
+
return {
|
1386
|
+
o: o,
|
1387
|
+
n: n
|
1388
|
+
};
|
1389
|
+
}
|
1390
|
+
|
1391
|
+
return function(o, n){
|
1392
|
+
o = o.replace(/\s+$/, '');
|
1393
|
+
n = n.replace(/\s+$/, '');
|
1394
|
+
var out = diff(o == "" ? [] : o.split(/\s+/), n == "" ? [] : n.split(/\s+/));
|
1395
|
+
|
1396
|
+
var str = "";
|
1397
|
+
|
1398
|
+
var oSpace = o.match(/\s+/g);
|
1399
|
+
if (oSpace == null) {
|
1400
|
+
oSpace = [" "];
|
1401
|
+
}
|
1402
|
+
else {
|
1403
|
+
oSpace.push(" ");
|
1404
|
+
}
|
1405
|
+
var nSpace = n.match(/\s+/g);
|
1406
|
+
if (nSpace == null) {
|
1407
|
+
nSpace = [" "];
|
1408
|
+
}
|
1409
|
+
else {
|
1410
|
+
nSpace.push(" ");
|
1411
|
+
}
|
1412
|
+
|
1413
|
+
if (out.n.length == 0) {
|
1414
|
+
for (var i = 0; i < out.o.length; i++) {
|
1415
|
+
str += '<del>' + out.o[i] + oSpace[i] + "</del>";
|
1416
|
+
}
|
1417
|
+
}
|
1418
|
+
else {
|
1419
|
+
if (out.n[0].text == null) {
|
1420
|
+
for (n = 0; n < out.o.length && out.o[n].text == null; n++) {
|
1421
|
+
str += '<del>' + out.o[n] + oSpace[n] + "</del>";
|
1422
|
+
}
|
1423
|
+
}
|
1424
|
+
|
1425
|
+
for (var i = 0; i < out.n.length; i++) {
|
1426
|
+
if (out.n[i].text == null) {
|
1427
|
+
str += '<ins>' + out.n[i] + nSpace[i] + "</ins>";
|
1428
|
+
}
|
1429
|
+
else {
|
1430
|
+
var pre = "";
|
1431
|
+
|
1432
|
+
for (n = out.n[i].row + 1; n < out.o.length && out.o[n].text == null; n++) {
|
1433
|
+
pre += '<del>' + out.o[n] + oSpace[n] + "</del>";
|
1434
|
+
}
|
1435
|
+
str += " " + out.n[i].text + nSpace[i] + pre;
|
1436
|
+
}
|
1437
|
+
}
|
1438
|
+
}
|
1439
|
+
|
1440
|
+
return str;
|
1441
|
+
};
|
1442
|
+
})();
|
1443
|
+
|
1444
|
+
})(this);
|