survivalkit 0.3.4 → 1.0.beta.1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.markdown +11 -1
- data/lib/survivalkit.rb +3 -2
- data/stylesheets/survivalkit/extend/_all.scss +2 -0
- data/stylesheets/survivalkit/extend/_helpers.scss +37 -0
- data/stylesheets/survivalkit/extend/{_sticky-footer.sass → _sticky-footer.scss} +19 -12
- data/stylesheets/survivalkit/functions/_all.scss +3 -0
- data/stylesheets/survivalkit/functions/_calculations.scss +24 -0
- data/stylesheets/survivalkit/functions/_color-schemer.sass +19 -21
- data/stylesheets/survivalkit/mixins/_all.scss +5 -0
- data/stylesheets/survivalkit/mixins/_helpers.scss +76 -0
- data/stylesheets/survivalkit/mixins/_layout.scss +24 -0
- data/stylesheets/survivalkit/mixins/_pseudo.scss +18 -0
- data/stylesheets/survivalkit/mixins/_typography.scss +97 -0
- data/stylesheets/survivalkit/mixins/_ui.scss +100 -0
- data/stylesheets/survivalkit/reset/_formalize.scss +293 -0
- data/stylesheets/survivalkit/reset/{_meyer-reset.sass → _meyer-reset.scss} +32 -31
- data/stylesheets/survivalkit/reset/_reset.scss +26 -0
- data/stylesheets/survivalkit/style-tile/_all.scss +1 -0
- data/stylesheets/survivalkit/style-tile/_tile-layout.scss +201 -0
- data/stylesheets/survivalkit/survival_kit/_survival-kit.scss +145 -0
- data/stylesheets/survivalkit/variables/_all.scss +2 -0
- data/stylesheets/survivalkit/variables/_color_names.scss +154 -0
- data/stylesheets/survivalkit/variables/{_helpers.sass → _helpers.scss} +1 -1
- data/templates/drupal/manifest.rb +77 -78
- data/templates/project/manifest.rb +75 -78
- metadata +29 -1356
- data/stylesheets/survivalkit/extend/_all.sass +0 -2
- data/stylesheets/survivalkit/extend/_helpers.sass +0 -32
- data/stylesheets/survivalkit/functions/_all.sass +0 -3
- data/stylesheets/survivalkit/functions/_calculations.sass +0 -19
- data/stylesheets/survivalkit/functions/_modular-scale.sass +0 -313
- data/stylesheets/survivalkit/mixins/_all.sass +0 -5
- data/stylesheets/survivalkit/mixins/_breakpoint.sass +0 -68
- data/stylesheets/survivalkit/mixins/_helpers.sass +0 -59
- data/stylesheets/survivalkit/mixins/_layout.sass +0 -19
- data/stylesheets/survivalkit/mixins/_pseudo.sass +0 -13
- data/stylesheets/survivalkit/mixins/_typography.sass +0 -81
- data/stylesheets/survivalkit/mixins/_ui.sass +0 -80
- data/stylesheets/survivalkit/readme.markdown +0 -1
- data/stylesheets/survivalkit/style-tile/_all.sass +0 -1
- data/stylesheets/survivalkit/style-tile/_tile-layout.sass +0 -143
- data/stylesheets/survivalkit/survival_kit/_survival-kit.sass +0 -116
- data/stylesheets/survivalkit/variables/_all.sass +0 -2
- data/stylesheets/survivalkit/variables/_color_names.sass +0 -154
- data/templates/drupal/drupal/arrow-asc.png +0 -0
- data/templates/drupal/drupal/arrow-desc.png +0 -0
- data/templates/drupal/drupal/background.png +0 -0
- data/templates/drupal/drupal/close.png +0 -0
- data/templates/drupal/drupal/configure.png +0 -0
- data/templates/drupal/drupal/draggable.png +0 -0
- data/templates/drupal/drupal/druplicon.png +0 -0
- data/templates/drupal/drupal/feed.png +0 -0
- data/templates/drupal/drupal/forum-icons.png +0 -0
- data/templates/drupal/drupal/gear-select.png +0 -0
- data/templates/drupal/drupal/grippie.png +0 -0
- data/templates/drupal/drupal/help.png +0 -0
- data/templates/drupal/drupal/hook.png +0 -0
- data/templates/drupal/drupal/lock.png +0 -0
- data/templates/drupal/drupal/menu-collapsed-rtl.png +0 -0
- data/templates/drupal/drupal/menu-collapsed.png +0 -0
- data/templates/drupal/drupal/menu-expanded.png +0 -0
- data/templates/drupal/drupal/menu-leaf.png +0 -0
- data/templates/drupal/drupal/message-16-error.png +0 -0
- data/templates/drupal/drupal/message-16-help.png +0 -0
- data/templates/drupal/drupal/message-16-info.png +0 -0
- data/templates/drupal/drupal/message-16-ok.png +0 -0
- data/templates/drupal/drupal/message-16-warning.png +0 -0
- data/templates/drupal/drupal/message-24-error.png +0 -0
- data/templates/drupal/drupal/message-24-help.png +0 -0
- data/templates/drupal/drupal/message-24-info.png +0 -0
- data/templates/drupal/drupal/message-24-ok.png +0 -0
- data/templates/drupal/drupal/message-24-warning.png +0 -0
- data/templates/drupal/drupal/permissions.png +0 -0
- data/templates/drupal/drupal/powered-black-135x42.png +0 -0
- data/templates/drupal/drupal/powered-black-80x15.png +0 -0
- data/templates/drupal/drupal/powered-black-88x31.png +0 -0
- data/templates/drupal/drupal/powered-blue-135x42.png +0 -0
- data/templates/drupal/drupal/powered-blue-80x15.png +0 -0
- data/templates/drupal/drupal/powered-blue-88x31.png +0 -0
- data/templates/drupal/drupal/powered-gray-135x42.png +0 -0
- data/templates/drupal/drupal/powered-gray-80x15.png +0 -0
- data/templates/drupal/drupal/powered-gray-88x31.png +0 -0
- data/templates/drupal/drupal/progress.gif +0 -0
- data/templates/drupal/drupal/throbber.gif +0 -0
- data/templates/drupal/drupal/tree-bottom.png +0 -0
- data/templates/drupal/drupal/tree.png +0 -0
- data/templates/drupal/drupal/watchdog-error.png +0 -0
- data/templates/drupal/drupal/watchdog-ok.png +0 -0
- data/templates/drupal/drupal/watchdog-warning.png +0 -0
- data/templates/drupal/ie.sass +0 -3
- data/templates/drupal/partials/01-variables/_all.sass +0 -3
- data/templates/drupal/partials/01-variables/_base.sass +0 -150
- data/templates/drupal/partials/01-variables/_colors.sass +0 -43
- data/templates/drupal/partials/01-variables/_fonts.sass +0 -22
- data/templates/drupal/partials/02-reset/_reset.sass +0 -21
- data/templates/drupal/partials/03-extend/_all.sass +0 -1
- data/templates/drupal/partials/03-extend/_typography.sass +0 -39
- data/templates/drupal/partials/04-defaults/_all.sass +0 -9
- data/templates/drupal/partials/04-defaults/_common.sass +0 -110
- data/templates/drupal/partials/04-defaults/_edits.sass +0 -6
- data/templates/drupal/partials/04-defaults/_font-face.sass +0 -3
- data/templates/drupal/partials/04-defaults/_headers.sass +0 -33
- data/templates/drupal/partials/04-defaults/_images.sass +0 -15
- data/templates/drupal/partials/04-defaults/_semantics.sass +0 -92
- data/templates/drupal/partials/04-defaults/_tables.sass +0 -48
- data/templates/drupal/partials/04-defaults/forms/_form-defaults.sass +0 -59
- data/templates/drupal/partials/04-defaults/forms/_formalize.sass +0 -260
- data/templates/drupal/partials/05-grids/_grids-susy.sass +0 -28
- data/templates/drupal/partials/06-ui-patterns/_common.sass +0 -2
- data/templates/drupal/partials/06-ui-patterns/_drupal-patterns.sass +0 -81
- data/templates/drupal/partials/07-sprites/_sprites.sass +0 -20
- data/templates/drupal/partials/08-your-design-here/_design.sass +0 -2
- data/templates/drupal/partials/09-styletile/_tile-design.sass +0 -153
- data/templates/drupal/partials/10-media/_print.sass +0 -57
- data/templates/drupal/partials/11-browser-adjustments/_ie.sass +0 -26
- data/templates/drupal/partials/11-browser-adjustments/_modernizr.sass +0 -8
- data/templates/drupal/partials/11-browser-adjustments/_selectivizr.sass +0 -0
- data/templates/drupal/partials/readme.markdown +0 -3
- data/templates/drupal/readme.markdown +0 -3
- data/templates/drupal/selectivizr.sass +0 -8
- data/templates/drupal/style.sass +0 -127
- data/templates/drupal/survival-kit-logo.png +0 -0
- data/templates/drupal/your-design-here/_design.sass +0 -4
- data/templates/project/drupal/arrow-asc.png +0 -0
- data/templates/project/drupal/arrow-desc.png +0 -0
- data/templates/project/drupal/background.png +0 -0
- data/templates/project/drupal/close.png +0 -0
- data/templates/project/drupal/configure.png +0 -0
- data/templates/project/drupal/draggable.png +0 -0
- data/templates/project/drupal/druplicon.png +0 -0
- data/templates/project/drupal/feed.png +0 -0
- data/templates/project/drupal/forum-icons.png +0 -0
- data/templates/project/drupal/gear-select.png +0 -0
- data/templates/project/drupal/grippie.png +0 -0
- data/templates/project/drupal/help.png +0 -0
- data/templates/project/drupal/hook.png +0 -0
- data/templates/project/drupal/lock.png +0 -0
- data/templates/project/drupal/menu-collapsed-rtl.png +0 -0
- data/templates/project/drupal/menu-collapsed.png +0 -0
- data/templates/project/drupal/menu-expanded.png +0 -0
- data/templates/project/drupal/menu-leaf.png +0 -0
- data/templates/project/drupal/message-16-error.png +0 -0
- data/templates/project/drupal/message-16-help.png +0 -0
- data/templates/project/drupal/message-16-info.png +0 -0
- data/templates/project/drupal/message-16-ok.png +0 -0
- data/templates/project/drupal/message-16-warning.png +0 -0
- data/templates/project/drupal/message-24-error.png +0 -0
- data/templates/project/drupal/message-24-help.png +0 -0
- data/templates/project/drupal/message-24-info.png +0 -0
- data/templates/project/drupal/message-24-ok.png +0 -0
- data/templates/project/drupal/message-24-warning.png +0 -0
- data/templates/project/drupal/permissions.png +0 -0
- data/templates/project/drupal/powered-black-135x42.png +0 -0
- data/templates/project/drupal/powered-black-80x15.png +0 -0
- data/templates/project/drupal/powered-black-88x31.png +0 -0
- data/templates/project/drupal/powered-blue-135x42.png +0 -0
- data/templates/project/drupal/powered-blue-80x15.png +0 -0
- data/templates/project/drupal/powered-blue-88x31.png +0 -0
- data/templates/project/drupal/powered-gray-135x42.png +0 -0
- data/templates/project/drupal/powered-gray-80x15.png +0 -0
- data/templates/project/drupal/powered-gray-88x31.png +0 -0
- data/templates/project/drupal/progress.gif +0 -0
- data/templates/project/drupal/throbber.gif +0 -0
- data/templates/project/drupal/tree-bottom.png +0 -0
- data/templates/project/drupal/tree.png +0 -0
- data/templates/project/drupal/watchdog-error.png +0 -0
- data/templates/project/drupal/watchdog-ok.png +0 -0
- data/templates/project/drupal/watchdog-warning.png +0 -0
- data/templates/project/ie.sass +0 -3
- data/templates/project/partials/01-variables/_all.sass +0 -3
- data/templates/project/partials/01-variables/_base.sass +0 -150
- data/templates/project/partials/01-variables/_colors.sass +0 -43
- data/templates/project/partials/01-variables/_fonts.sass +0 -22
- data/templates/project/partials/02-reset/_reset.sass +0 -21
- data/templates/project/partials/03-extend/_all.sass +0 -1
- data/templates/project/partials/03-extend/_typography.sass +0 -39
- data/templates/project/partials/04-defaults/_all.sass +0 -9
- data/templates/project/partials/04-defaults/_common.sass +0 -110
- data/templates/project/partials/04-defaults/_edits.sass +0 -6
- data/templates/project/partials/04-defaults/_font-face.sass +0 -3
- data/templates/project/partials/04-defaults/_headers.sass +0 -33
- data/templates/project/partials/04-defaults/_images.sass +0 -15
- data/templates/project/partials/04-defaults/_semantics.sass +0 -92
- data/templates/project/partials/04-defaults/_tables.sass +0 -48
- data/templates/project/partials/04-defaults/forms/_form-defaults.sass +0 -59
- data/templates/project/partials/04-defaults/forms/_formalize.sass +0 -260
- data/templates/project/partials/05-grids/_grids-susy.sass +0 -28
- data/templates/project/partials/06-ui-patterns/_common.sass +0 -2
- data/templates/project/partials/06-ui-patterns/_drupal-patterns.sass +0 -81
- data/templates/project/partials/07-sprites/_sprites.sass +0 -20
- data/templates/project/partials/08-your-design-here/_design.sass +0 -2
- data/templates/project/partials/09-styletile/_tile-design.sass +0 -153
- data/templates/project/partials/10-media/_print.sass +0 -57
- data/templates/project/partials/11-browser-adjustments/_ie.sass +0 -26
- data/templates/project/partials/11-browser-adjustments/_modernizr.sass +0 -8
- data/templates/project/partials/11-browser-adjustments/_selectivizr.sass +0 -0
- data/templates/project/partials/readme.markdown +0 -3
- data/templates/project/readme.markdown +0 -3
- data/templates/project/selectivizr.sass +0 -8
- data/templates/project/sources/BigText/README.markdown +0 -128
- data/templates/project/sources/BigText/artifacts/output.html +0 -32
- data/templates/project/sources/BigText/bigtext.js +0 -242
- data/templates/project/sources/BigText/demo/bigtextWizard.css +0 -129
- data/templates/project/sources/BigText/demo/bigtextWizard.js +0 -373
- data/templates/project/sources/BigText/demo/css/flexbox.css +0 -105
- 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 +0 -519
- 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 +0 -223
- 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 +0 -12
- data/templates/project/sources/BigText/demo/index.html +0 -95
- data/templates/project/sources/BigText/demo/js/jquery.ba-throttle-debounce.js +0 -252
- data/templates/project/sources/BigText/demo/js/jquery.ba-throttle-debounce.min.js +0 -9
- data/templates/project/sources/BigText/demo/js/jquery.smartresize.js +0 -41
- data/templates/project/sources/BigText/demo/js/modernizr-1.6.js +0 -892
- data/templates/project/sources/BigText/demo/js/modernizr-1.6.min.js +0 -30
- data/templates/project/sources/BigText/demo/resizeDemoSmartResize.html +0 -37
- data/templates/project/sources/BigText/demo/resizeDemoThrottle.html +0 -38
- data/templates/project/sources/BigText/demo/simpleDemo.html +0 -42
- data/templates/project/sources/BigText/demo/simpleDemoDiv.html +0 -26
- data/templates/project/sources/BigText/test/bigtext.conf +0 -6
- data/templates/project/sources/BigText/test/bigtextTest.js +0 -192
- 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 +0 -6240
- data/templates/project/sources/BigText/test/lib/launch-safari.sh +0 -4
- data/templates/project/sources/BigText/test.bat +0 -4
- data/templates/project/sources/BigText/test.sh +0 -5
- data/templates/project/sources/Dynamic-Carousel/demo.html +0 -92
- data/templates/project/sources/Dynamic-Carousel/plugin.js +0 -191
- data/templates/project/sources/Dynamic-Carousel/readme.md +0 -10
- data/templates/project/sources/FitVids/README.md +0 -49
- data/templates/project/sources/FitVids/jquery.fitvids.js +0 -77
- data/templates/project/sources/FitVids/tests.html +0 -66
- data/templates/project/sources/Geared-Scrolling/README.md +0 -31
- data/templates/project/sources/Geared-Scrolling/css/specific.css +0 -88
- 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 +0 -32
- data/templates/project/sources/Geared-Scrolling/js/init.js +0 -11
- data/templates/project/sources/Geared-Scrolling/js/jquery.heyday.gearedscrolling.js +0 -283
- data/templates/project/sources/Lettering.js/README.md +0 -58
- data/templates/project/sources/Lettering.js/examples/index.html +0 -135
- data/templates/project/sources/Lettering.js/examples/style.css +0 -171
- data/templates/project/sources/Lettering.js/jquery.lettering.js +0 -66
- data/templates/project/sources/PaintbrushJS/common.js +0 -245
- data/templates/project/sources/PaintbrushJS/demo/css/playground.css +0 -334
- 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 +0 -171
- data/templates/project/sources/PaintbrushJS/demo/script/common.js +0 -245
- data/templates/project/sources/PaintbrushJS/demo/script/paintbrush.js +0 -607
- data/templates/project/sources/PaintbrushJS/demo/script/playground.js +0 -357
- data/templates/project/sources/PaintbrushJS/demo/script/timing.js +0 -23
- data/templates/project/sources/PaintbrushJS/demo/usage.html +0 -183
- data/templates/project/sources/PaintbrushJS/paintbrush.js +0 -595
- data/templates/project/sources/Respond/README.md +0 -76
- data/templates/project/sources/Respond/respond.min.js +0 -2
- data/templates/project/sources/Respond/respond.src.js +0 -286
- data/templates/project/sources/Respond/test/test.css +0 -61
- data/templates/project/sources/Respond/test/test.html +0 -20
- data/templates/project/sources/Respond/test/test2.css +0 -8
- data/templates/project/sources/Respond/test/unit/index.html +0 -28
- data/templates/project/sources/Respond/test/unit/test.css +0 -56
- data/templates/project/sources/Respond/test/unit/test2.css +0 -5
- data/templates/project/sources/Respond/test/unit/tests.js +0 -97
- data/templates/project/sources/Sticky-Footer-jQuery-Plugin/README.md +0 -27
- data/templates/project/sources/Sticky-Footer-jQuery-Plugin/jquery.heyday.stickyfooter.js +0 -154
- data/templates/project/sources/deorphan/README.md +0 -49
- data/templates/project/sources/deorphan/jquery.deorphan.js +0 -51
- data/templates/project/sources/deorphan/jquery.deorphan.min.js +0 -1
- data/templates/project/sources/flexie/README.md +0 -142
- data/templates/project/sources/flexie/demo/css/box-flex.css +0 -30
- data/templates/project/sources/flexie/demo/index.html +0 -108
- data/templates/project/sources/flexie/dist/flexie.min.js +0 -33
- data/templates/project/sources/flexie/src/flexie.js +0 -1872
- data/templates/project/sources/flexie/test/css/demo.css +0 -34
- data/templates/project/sources/flexie/test/css/test.css +0 -141
- data/templates/project/sources/flexie/test/index.html +0 -54
- 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 +0 -41
- data/templates/project/sources/flickrbomb/css/flickrbomb.css +0 -38
- data/templates/project/sources/flickrbomb/css/global.css +0 -0
- data/templates/project/sources/flickrbomb/demo.html +0 -169
- 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 +0 -28
- data/templates/project/sources/flickrbomb/js/backbone-localstorage.js +0 -94
- data/templates/project/sources/flickrbomb/js/backbone.js +0 -1011
- data/templates/project/sources/flickrbomb/js/flickrbomb-demo.js +0 -310
- data/templates/project/sources/flickrbomb/js/flickrbomb.js +0 -307
- data/templates/project/sources/flickrbomb/js/underscore.js +0 -713
- data/templates/project/sources/formalize/README.txt +0 -23
- data/templates/project/sources/formalize/assets/css/_formalize.sass +0 -274
- data/templates/project/sources/formalize/assets/css/demo.css +0 -47
- data/templates/project/sources/formalize/assets/css/formalize.css +0 -311
- data/templates/project/sources/formalize/assets/css/reset.css +0 -171
- data/templates/project/sources/formalize/assets/css/text.css +0 -81
- 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 +0 -174
- data/templates/project/sources/formalize/assets/js/dojo.formalize.min.js +0 -1
- data/templates/project/sources/formalize/assets/js/extjs.formalize.js +0 -168
- data/templates/project/sources/formalize/assets/js/extjs.formalize.min.js +0 -1
- data/templates/project/sources/formalize/assets/js/jquery.formalize.js +0 -158
- data/templates/project/sources/formalize/assets/js/jquery.formalize.min.js +0 -1
- data/templates/project/sources/formalize/assets/js/mootools.formalize.js +0 -163
- data/templates/project/sources/formalize/assets/js/mootools.formalize.min.js +0 -1
- data/templates/project/sources/formalize/assets/js/prototype.formalize.js +0 -171
- data/templates/project/sources/formalize/assets/js/prototype.formalize.min.js +0 -1
- data/templates/project/sources/formalize/assets/js/yui.formalize.js +0 -168
- data/templates/project/sources/formalize/assets/js/yui.formalize.min.js +0 -1
- data/templates/project/sources/formalize/demo.html +0 -144
- data/templates/project/sources/formalize/dojo_demo.html +0 -213
- data/templates/project/sources/formalize/dojo_disabled.html +0 -213
- data/templates/project/sources/formalize/dojo_errors.html +0 -213
- data/templates/project/sources/formalize/extjs_demo.html +0 -213
- data/templates/project/sources/formalize/extjs_disabled.html +0 -213
- data/templates/project/sources/formalize/extjs_errors.html +0 -213
- data/templates/project/sources/formalize/jquery_demo.html +0 -213
- data/templates/project/sources/formalize/jquery_disabled.html +0 -213
- data/templates/project/sources/formalize/jquery_errors.html +0 -213
- data/templates/project/sources/formalize/mootools_demo.html +0 -213
- data/templates/project/sources/formalize/mootools_disabled.html +0 -213
- data/templates/project/sources/formalize/mootools_errors.html +0 -213
- data/templates/project/sources/formalize/prototype_demo.html +0 -213
- data/templates/project/sources/formalize/prototype_disabled.html +0 -213
- data/templates/project/sources/formalize/prototype_errors.html +0 -213
- data/templates/project/sources/formalize/unstyled.html +0 -210
- data/templates/project/sources/formalize/yui_demo.html +0 -213
- data/templates/project/sources/formalize/yui_disabled.html +0 -213
- data/templates/project/sources/formalize/yui_errors.html +0 -213
- data/templates/project/sources/html5-boilerplate/404.html +0 -38
- data/templates/project/sources/html5-boilerplate/README.md +0 -228
- 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 +0 -821
- data/templates/project/sources/html5-boilerplate/build/config/default.properties +0 -80
- data/templates/project/sources/html5-boilerplate/build/config/project.properties +0 -56
- data/templates/project/sources/html5-boilerplate/build/createproject.sh +0 -50
- data/templates/project/sources/html5-boilerplate/build/runbuildscript.bat +0 -5
- 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 +0 -21
- 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 +0 -25
- data/templates/project/sources/html5-boilerplate/css/handheld.css +0 -8
- data/templates/project/sources/html5-boilerplate/css/style.css +0 -263
- data/templates/project/sources/html5-boilerplate/demo/elements.html +0 -531
- data/templates/project/sources/html5-boilerplate/demo/hack.css +0 -85
- data/templates/project/sources/html5-boilerplate/demo/hack2.css +0 -41
- 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 +0 -313
- data/templates/project/sources/html5-boilerplate/favicon.ico +0 -0
- data/templates/project/sources/html5-boilerplate/humans.txt +0 -43
- data/templates/project/sources/html5-boilerplate/index.html +0 -80
- data/templates/project/sources/html5-boilerplate/js/libs/dd_belatedpng.js +0 -13
- data/templates/project/sources/html5-boilerplate/js/libs/jquery-1.5.2.js +0 -8374
- data/templates/project/sources/html5-boilerplate/js/libs/jquery-1.5.2.min.js +0 -16
- data/templates/project/sources/html5-boilerplate/js/libs/modernizr-1.7.min.js +0 -2
- data/templates/project/sources/html5-boilerplate/js/plugins.js +0 -16
- data/templates/project/sources/html5-boilerplate/js/script.js +0 -26
- data/templates/project/sources/html5-boilerplate/robots.txt +0 -5
- data/templates/project/sources/html5-boilerplate/test/index.html +0 -31
- data/templates/project/sources/html5-boilerplate/test/qunit/qunit.css +0 -148
- data/templates/project/sources/html5-boilerplate/test/qunit/qunit.js +0 -1265
- data/templates/project/sources/html5-boilerplate/test/tests.js +0 -27
- data/templates/project/sources/iOS-Orientationchange-Fix/README.md +0 -17
- data/templates/project/sources/iOS-Orientationchange-Fix/demo.html +0 -43
- data/templates/project/sources/iOS-Orientationchange-Fix/ios-orientationchange-fix.js +0 -55
- data/templates/project/sources/iSwipe-jQuery-Plugin/README.md +0 -26
- data/templates/project/sources/iSwipe-jQuery-Plugin/jquery.heyday.iswipe.js +0 -126
- data/templates/project/sources/infinite-scroll/ajax-loader.gif +0 -0
- data/templates/project/sources/infinite-scroll/jquery.infinitescroll.js +0 -425
- data/templates/project/sources/infinite-scroll/jquery.infinitescroll.min.js +0 -8
- 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 +3 -2278
- 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 +0 -121
- data/templates/project/sources/infinite-scroll/test/test.html +0 -120
- data/templates/project/sources/infinite-scroll/test/test2.html +0 -70
- data/templates/project/sources/infinite-scroll/test/test3.html +0 -68
- data/templates/project/sources/infinite-scroll/test/trigger.html +0 -140
- data/templates/project/sources/infinite-scroll/test/trigger2.html +0 -80
- data/templates/project/sources/infinite-scroll/test/trigger3.html +0 -80
- data/templates/project/sources/infinite-scroll/wp_infinite_scroll.php +0 -454
- data/templates/project/sources/jQuery-widowFix/index.html +0 -159
- data/templates/project/sources/jQuery-widowFix/js/jquery-1.4.3.min.js +0 -166
- data/templates/project/sources/jQuery-widowFix/js/jquery.widowFix-1.3.2.js +0 -135
- data/templates/project/sources/jQuery-widowFix/js/jquery.widowFix-1.3.2.min.js +0 -10
- data/templates/project/sources/jQuery-widowFix/sample.html +0 -84
- data/templates/project/sources/jquery-lightbox/LICENSE.txt +0 -30
- data/templates/project/sources/jquery-lightbox/README.markdown +0 -8
- data/templates/project/sources/jquery-lightbox/css/lightbox.css +0 -129
- 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 +0 -102
- data/templates/project/sources/jquery-lightbox/jquery.lightbox.js +0 -515
- data/templates/project/sources/jquery-ui/AUTHORS.txt +0 -30
- data/templates/project/sources/jquery-ui/GPL-LICENSE.txt +0 -278
- data/templates/project/sources/jquery-ui/MIT-LICENSE.txt +0 -25
- data/templates/project/sources/jquery-ui/README.md +0 -9
- 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 +0 -211
- data/templates/project/sources/jquery-ui/build/build/yuicompressor-2.4.2.jar +0 -0
- data/templates/project/sources/jquery-ui/build/build.xml +0 -392
- data/templates/project/sources/jquery-ui/demos/accordion/collapsible.html +0 -57
- data/templates/project/sources/jquery-ui/demos/accordion/custom-icons.html +0 -69
- data/templates/project/sources/jquery-ui/demos/accordion/default.html +0 -85
- data/templates/project/sources/jquery-ui/demos/accordion/fillspace.html +0 -77
- data/templates/project/sources/jquery-ui/demos/accordion/hoverintent.html +0 -134
- data/templates/project/sources/jquery-ui/demos/accordion/index.html +0 -25
- data/templates/project/sources/jquery-ui/demos/accordion/mouseover.html +0 -57
- data/templates/project/sources/jquery-ui/demos/accordion/no-auto-height.html +0 -58
- data/templates/project/sources/jquery-ui/demos/accordion/sortable.html +0 -83
- data/templates/project/sources/jquery-ui/demos/addClass/default.html +0 -52
- data/templates/project/sources/jquery-ui/demos/addClass/index.html +0 -18
- data/templates/project/sources/jquery-ui/demos/animate/default.html +0 -61
- data/templates/project/sources/jquery-ui/demos/animate/index.html +0 -18
- data/templates/project/sources/jquery-ui/demos/autocomplete/categories.html +0 -72
- data/templates/project/sources/jquery-ui/demos/autocomplete/combobox.html +0 -195
- data/templates/project/sources/jquery-ui/demos/autocomplete/custom-data.html +0 -96
- data/templates/project/sources/jquery-ui/demos/autocomplete/default.html +0 -65
- data/templates/project/sources/jquery-ui/demos/autocomplete/folding.html +0 -63
- 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 +0 -27
- data/templates/project/sources/jquery-ui/demos/autocomplete/london.xml +0 -114
- data/templates/project/sources/jquery-ui/demos/autocomplete/maxheight.html +0 -79
- data/templates/project/sources/jquery-ui/demos/autocomplete/multiple-remote.html +0 -85
- data/templates/project/sources/jquery-ui/demos/autocomplete/multiple.html +0 -100
- data/templates/project/sources/jquery-ui/demos/autocomplete/remote-jsonp.html +0 -87
- data/templates/project/sources/jquery-ui/demos/autocomplete/remote-with-cache.html +0 -60
- data/templates/project/sources/jquery-ui/demos/autocomplete/remote.html +0 -60
- data/templates/project/sources/jquery-ui/demos/autocomplete/search.php +0 -588
- data/templates/project/sources/jquery-ui/demos/autocomplete/xml.html +0 -73
- data/templates/project/sources/jquery-ui/demos/button/checkbox.html +0 -44
- data/templates/project/sources/jquery-ui/demos/button/default.html +0 -38
- data/templates/project/sources/jquery-ui/demos/button/icons.html +0 -56
- data/templates/project/sources/jquery-ui/demos/button/index.html +0 -23
- data/templates/project/sources/jquery-ui/demos/button/radio.html +0 -39
- data/templates/project/sources/jquery-ui/demos/button/splitbutton.html +0 -78
- data/templates/project/sources/jquery-ui/demos/button/toolbar.html +0 -120
- data/templates/project/sources/jquery-ui/demos/datepicker/alt-field.html +0 -36
- data/templates/project/sources/jquery-ui/demos/datepicker/animation.html +0 -58
- data/templates/project/sources/jquery-ui/demos/datepicker/buttonbar.html +0 -35
- data/templates/project/sources/jquery-ui/demos/datepicker/date-formats.html +0 -47
- data/templates/project/sources/jquery-ui/demos/datepicker/date-range.html +0 -49
- data/templates/project/sources/jquery-ui/demos/datepicker/default.html +0 -33
- data/templates/project/sources/jquery-ui/demos/datepicker/dropdown-month-year.html +0 -36
- data/templates/project/sources/jquery-ui/demos/datepicker/icon-trigger.html +0 -37
- data/templates/project/sources/jquery-ui/demos/datepicker/images/calendar.gif +0 -0
- data/templates/project/sources/jquery-ui/demos/datepicker/index.html +0 -31
- data/templates/project/sources/jquery-ui/demos/datepicker/inline.html +0 -33
- data/templates/project/sources/jquery-ui/demos/datepicker/localization.html +0 -162
- data/templates/project/sources/jquery-ui/demos/datepicker/min-max.html +0 -33
- data/templates/project/sources/jquery-ui/demos/datepicker/multiple-calendars.html +0 -36
- data/templates/project/sources/jquery-ui/demos/datepicker/other-months.html +0 -37
- data/templates/project/sources/jquery-ui/demos/datepicker/show-week.html +0 -39
- data/templates/project/sources/jquery-ui/demos/demos.css +0 -334
- data/templates/project/sources/jquery-ui/demos/dialog/animated.html +0 -56
- data/templates/project/sources/jquery-ui/demos/dialog/default.html +0 -54
- data/templates/project/sources/jquery-ui/demos/dialog/index.html +0 -23
- data/templates/project/sources/jquery-ui/demos/dialog/modal-confirmation.html +0 -69
- data/templates/project/sources/jquery-ui/demos/dialog/modal-form.html +0 -167
- data/templates/project/sources/jquery-ui/demos/dialog/modal-message.html +0 -71
- data/templates/project/sources/jquery-ui/demos/dialog/modal.html +0 -60
- data/templates/project/sources/jquery-ui/demos/draggable/constrain-movement.html +0 -69
- data/templates/project/sources/jquery-ui/demos/draggable/cursor-style.html +0 -49
- data/templates/project/sources/jquery-ui/demos/draggable/default.html +0 -39
- data/templates/project/sources/jquery-ui/demos/draggable/delay-start.html +0 -45
- data/templates/project/sources/jquery-ui/demos/draggable/events.html +0 -77
- data/templates/project/sources/jquery-ui/demos/draggable/handle.html +0 -50
- data/templates/project/sources/jquery-ui/demos/draggable/index.html +0 -28
- data/templates/project/sources/jquery-ui/demos/draggable/revert.html +0 -44
- data/templates/project/sources/jquery-ui/demos/draggable/scroll.html +0 -51
- data/templates/project/sources/jquery-ui/demos/draggable/snap-to.html +0 -68
- data/templates/project/sources/jquery-ui/demos/draggable/sortable.html +0 -57
- data/templates/project/sources/jquery-ui/demos/draggable/visual-feedback.html +0 -77
- data/templates/project/sources/jquery-ui/demos/droppable/accepted-elements.html +0 -60
- data/templates/project/sources/jquery-ui/demos/droppable/default.html +0 -53
- 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 +0 -24
- data/templates/project/sources/jquery-ui/demos/droppable/photo-manager.html +0 -184
- data/templates/project/sources/jquery-ui/demos/droppable/propagation.html +0 -80
- data/templates/project/sources/jquery-ui/demos/droppable/revert.html +0 -61
- data/templates/project/sources/jquery-ui/demos/droppable/shopping-cart.html +0 -101
- data/templates/project/sources/jquery-ui/demos/droppable/visual-feedback.html +0 -78
- data/templates/project/sources/jquery-ui/demos/effect/default.html +0 -109
- data/templates/project/sources/jquery-ui/demos/effect/easing.html +0 -108
- data/templates/project/sources/jquery-ui/demos/effect/index.html +0 -19
- data/templates/project/sources/jquery-ui/demos/hide/default.html +0 -102
- data/templates/project/sources/jquery-ui/demos/hide/index.html +0 -18
- 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 +0 -329
- data/templates/project/sources/jquery-ui/demos/menu/contextmenu.html +0 -81
- data/templates/project/sources/jquery-ui/demos/menu/default.html +0 -54
- data/templates/project/sources/jquery-ui/demos/menu/index.html +0 -17
- data/templates/project/sources/jquery-ui/demos/position/cycler.html +0 -120
- data/templates/project/sources/jquery-ui/demos/position/default.html +0 -153
- 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 +0 -19
- data/templates/project/sources/jquery-ui/demos/progressbar/animated.html +0 -44
- data/templates/project/sources/jquery-ui/demos/progressbar/default.html +0 -35
- data/templates/project/sources/jquery-ui/demos/progressbar/images/pbar-ani.gif +0 -0
- data/templates/project/sources/jquery-ui/demos/progressbar/index.html +0 -20
- data/templates/project/sources/jquery-ui/demos/progressbar/resize.html +0 -40
- data/templates/project/sources/jquery-ui/demos/removeClass/default.html +0 -52
- data/templates/project/sources/jquery-ui/demos/removeClass/index.html +0 -18
- data/templates/project/sources/jquery-ui/demos/resizable/animate.html +0 -43
- data/templates/project/sources/jquery-ui/demos/resizable/aspect-ratio.html +0 -42
- data/templates/project/sources/jquery-ui/demos/resizable/constrain-area.html +0 -47
- data/templates/project/sources/jquery-ui/demos/resizable/default.html +0 -40
- data/templates/project/sources/jquery-ui/demos/resizable/delay-start.html +0 -52
- data/templates/project/sources/jquery-ui/demos/resizable/helper.html +0 -43
- data/templates/project/sources/jquery-ui/demos/resizable/index.html +0 -28
- data/templates/project/sources/jquery-ui/demos/resizable/max-min.html +0 -45
- data/templates/project/sources/jquery-ui/demos/resizable/snap-to-grid.html +0 -42
- data/templates/project/sources/jquery-ui/demos/resizable/synchronous-resize.html +0 -49
- data/templates/project/sources/jquery-ui/demos/resizable/textarea.html +0 -41
- data/templates/project/sources/jquery-ui/demos/resizable/visual-feedback.html +0 -43
- data/templates/project/sources/jquery-ui/demos/selectable/default.html +0 -50
- data/templates/project/sources/jquery-ui/demos/selectable/display-grid.html +0 -55
- data/templates/project/sources/jquery-ui/demos/selectable/index.html +0 -20
- data/templates/project/sources/jquery-ui/demos/selectable/serialize.html +0 -61
- data/templates/project/sources/jquery-ui/demos/show/default.html +0 -104
- data/templates/project/sources/jquery-ui/demos/show/index.html +0 -18
- data/templates/project/sources/jquery-ui/demos/slider/colorpicker.html +0 -95
- data/templates/project/sources/jquery-ui/demos/slider/default.html +0 -37
- data/templates/project/sources/jquery-ui/demos/slider/hotelrooms.html +0 -59
- data/templates/project/sources/jquery-ui/demos/slider/index.html +0 -29
- data/templates/project/sources/jquery-ui/demos/slider/multiple-vertical.html +0 -77
- data/templates/project/sources/jquery-ui/demos/slider/range-vertical.html +0 -51
- data/templates/project/sources/jquery-ui/demos/slider/range.html +0 -52
- data/templates/project/sources/jquery-ui/demos/slider/rangemax.html +0 -50
- data/templates/project/sources/jquery-ui/demos/slider/rangemin.html +0 -51
- data/templates/project/sources/jquery-ui/demos/slider/side-scroll.html +0 -140
- data/templates/project/sources/jquery-ui/demos/slider/slider-vertical.html +0 -52
- data/templates/project/sources/jquery-ui/demos/slider/steps.html +0 -51
- data/templates/project/sources/jquery-ui/demos/slider/tabs.html +0 -67
- data/templates/project/sources/jquery-ui/demos/sortable/connect-lists-through-tabs.html +0 -78
- data/templates/project/sources/jquery-ui/demos/sortable/connect-lists.html +0 -58
- data/templates/project/sources/jquery-ui/demos/sortable/default.html +0 -51
- data/templates/project/sources/jquery-ui/demos/sortable/delay-start.html +0 -67
- data/templates/project/sources/jquery-ui/demos/sortable/display-grid.html +0 -54
- data/templates/project/sources/jquery-ui/demos/sortable/empty-lists.html +0 -69
- data/templates/project/sources/jquery-ui/demos/sortable/index.html +0 -26
- data/templates/project/sources/jquery-ui/demos/sortable/items.html +0 -70
- data/templates/project/sources/jquery-ui/demos/sortable/placeholder.html +0 -56
- data/templates/project/sources/jquery-ui/demos/sortable/portlets.html +0 -96
- data/templates/project/sources/jquery-ui/demos/spinner/currency.html +0 -61
- data/templates/project/sources/jquery-ui/demos/spinner/decimal.html +0 -59
- data/templates/project/sources/jquery-ui/demos/spinner/default.html +0 -65
- data/templates/project/sources/jquery-ui/demos/spinner/index.html +0 -20
- data/templates/project/sources/jquery-ui/demos/spinner/latlong.html +0 -60
- data/templates/project/sources/jquery-ui/demos/spinner/overflow.html +0 -47
- data/templates/project/sources/jquery-ui/demos/spinner/time.html +0 -71
- data/templates/project/sources/jquery-ui/demos/switchClass/default.html +0 -47
- data/templates/project/sources/jquery-ui/demos/switchClass/index.html +0 -18
- data/templates/project/sources/jquery-ui/demos/tabs/ajax/content1.html +0 -4
- data/templates/project/sources/jquery-ui/demos/tabs/ajax/content2.html +0 -4
- data/templates/project/sources/jquery-ui/demos/tabs/ajax/content3-slow.php +0 -7
- data/templates/project/sources/jquery-ui/demos/tabs/ajax/content4-broken.php +0 -3
- data/templates/project/sources/jquery-ui/demos/tabs/ajax.html +0 -53
- data/templates/project/sources/jquery-ui/demos/tabs/bottom.html +0 -59
- data/templates/project/sources/jquery-ui/demos/tabs/collapsible.html +0 -55
- data/templates/project/sources/jquery-ui/demos/tabs/cookie.html +0 -57
- data/templates/project/sources/jquery-ui/demos/tabs/default.html +0 -49
- data/templates/project/sources/jquery-ui/demos/tabs/index.html +0 -25
- data/templates/project/sources/jquery-ui/demos/tabs/manipulation.html +0 -124
- data/templates/project/sources/jquery-ui/demos/tabs/mouseover.html +0 -53
- data/templates/project/sources/jquery-ui/demos/tabs/sortable.html +0 -58
- data/templates/project/sources/jquery-ui/demos/tabs/vertical.html +0 -61
- data/templates/project/sources/jquery-ui/demos/toggle/default.html +0 -94
- data/templates/project/sources/jquery-ui/demos/toggle/index.html +0 -18
- data/templates/project/sources/jquery-ui/demos/toggleClass/default.html +0 -46
- data/templates/project/sources/jquery-ui/demos/toggleClass/index.html +0 -18
- data/templates/project/sources/jquery-ui/demos/tooltip/ajax/content1.html +0 -1
- data/templates/project/sources/jquery-ui/demos/tooltip/ajax/content2.html +0 -1
- data/templates/project/sources/jquery-ui/demos/tooltip/custom-animation.html +0 -58
- data/templates/project/sources/jquery-ui/demos/tooltip/default.html +0 -48
- data/templates/project/sources/jquery-ui/demos/tooltip/delegation-mixbag.html +0 -73
- data/templates/project/sources/jquery-ui/demos/tooltip/forms.html +0 -71
- data/templates/project/sources/jquery-ui/demos/tooltip/index.html +0 -22
- data/templates/project/sources/jquery-ui/demos/tooltip/tracking.html +0 -64
- data/templates/project/sources/jquery-ui/external/jquery.bgiframe-2.1.2.js +0 -39
- data/templates/project/sources/jquery-ui/external/jquery.cookie.js +0 -89
- data/templates/project/sources/jquery-ui/external/jquery.global.de-DE.js +0 -55
- data/templates/project/sources/jquery-ui/external/jquery.global.ja-JP.js +0 -74
- data/templates/project/sources/jquery-ui/external/jquery.global.js +0 -1341
- data/templates/project/sources/jquery-ui/external/jquery.metadata.js +0 -122
- data/templates/project/sources/jquery-ui/external/jquery.mousewheel-3.0.4.js +0 -78
- data/templates/project/sources/jquery-ui/external/qunit.css +0 -215
- data/templates/project/sources/jquery-ui/external/qunit.js +0 -1444
- data/templates/project/sources/jquery-ui/jquery-1.5.1.js +0 -8316
- data/templates/project/sources/jquery-ui/tests/index.html +0 -22
- data/templates/project/sources/jquery-ui/tests/jquery.simulate.js +0 -151
- data/templates/project/sources/jquery-ui/tests/static/button/default.html +0 -161
- data/templates/project/sources/jquery-ui/tests/static/datepicker/datepicker.html +0 -1367
- data/templates/project/sources/jquery-ui/tests/static/datepicker/default.html +0 -86
- data/templates/project/sources/jquery-ui/tests/static/icons.html +0 -246
- data/templates/project/sources/jquery-ui/tests/static/menu/all-menus-icons.html +0 -172
- data/templates/project/sources/jquery-ui/tests/static/menu/default.html +0 -39
- data/templates/project/sources/jquery-ui/tests/static/slider/default.html +0 -17
- data/templates/project/sources/jquery-ui/tests/static/slider/default_vertical.html +0 -17
- data/templates/project/sources/jquery-ui/tests/static/slider/slider_horizontal.html +0 -17
- data/templates/project/sources/jquery-ui/tests/static/slider/slider_horizontal_range.html +0 -17
- data/templates/project/sources/jquery-ui/tests/static/slider/slider_horizontal_range_max.html +0 -17
- data/templates/project/sources/jquery-ui/tests/static/slider/slider_horizontal_range_min.html +0 -17
- data/templates/project/sources/jquery-ui/tests/static/slider/slider_vertical.html +0 -17
- data/templates/project/sources/jquery-ui/tests/static/slider/slider_vertical_range.html +0 -17
- data/templates/project/sources/jquery-ui/tests/static/slider/slider_vertical_range_max.html +0 -17
- data/templates/project/sources/jquery-ui/tests/static/slider/slider_vertical_range_min.html +0 -17
- data/templates/project/sources/jquery-ui/tests/static/static.css +0 -1
- data/templates/project/sources/jquery-ui/tests/static/static.js +0 -9
- data/templates/project/sources/jquery-ui/tests/unit/accordion/accordion.html +0 -163
- data/templates/project/sources/jquery-ui/tests/unit/accordion/accordion_core.js +0 -53
- data/templates/project/sources/jquery-ui/tests/unit/accordion/accordion_defaults.js +0 -15
- data/templates/project/sources/jquery-ui/tests/unit/accordion/accordion_defaults_deprecated.js +0 -21
- data/templates/project/sources/jquery-ui/tests/unit/accordion/accordion_deprecated.html +0 -161
- data/templates/project/sources/jquery-ui/tests/unit/accordion/accordion_deprecated.js +0 -320
- data/templates/project/sources/jquery-ui/tests/unit/accordion/accordion_events.js +0 -122
- data/templates/project/sources/jquery-ui/tests/unit/accordion/accordion_methods.js +0 -37
- data/templates/project/sources/jquery-ui/tests/unit/accordion/accordion_options.js +0 -266
- data/templates/project/sources/jquery-ui/tests/unit/autocomplete/autocomplete.html +0 -46
- data/templates/project/sources/jquery-ui/tests/unit/autocomplete/autocomplete_core.js +0 -73
- data/templates/project/sources/jquery-ui/tests/unit/autocomplete/autocomplete_defaults.js +0 -19
- data/templates/project/sources/jquery-ui/tests/unit/autocomplete/autocomplete_events.js +0 -206
- data/templates/project/sources/jquery-ui/tests/unit/autocomplete/autocomplete_methods.js +0 -39
- data/templates/project/sources/jquery-ui/tests/unit/autocomplete/autocomplete_options.js +0 -247
- data/templates/project/sources/jquery-ui/tests/unit/autocomplete/remote_object_array_labels.txt +0 -1
- data/templates/project/sources/jquery-ui/tests/unit/autocomplete/remote_object_array_values.txt +0 -1
- data/templates/project/sources/jquery-ui/tests/unit/autocomplete/remote_string_array.txt +0 -1
- data/templates/project/sources/jquery-ui/tests/unit/button/button.html +0 -68
- data/templates/project/sources/jquery-ui/tests/unit/button/button_core.js +0 -70
- data/templates/project/sources/jquery-ui/tests/unit/button/button_defaults.js +0 -15
- data/templates/project/sources/jquery-ui/tests/unit/button/button_events.js +0 -8
- data/templates/project/sources/jquery-ui/tests/unit/button/button_methods.js +0 -19
- data/templates/project/sources/jquery-ui/tests/unit/button/button_options.js +0 -93
- data/templates/project/sources/jquery-ui/tests/unit/button/button_tickets.js +0 -45
- data/templates/project/sources/jquery-ui/tests/unit/core/core.html +0 -134
- data/templates/project/sources/jquery-ui/tests/unit/core/core.js +0 -157
- data/templates/project/sources/jquery-ui/tests/unit/core/selector.js +0 -253
- data/templates/project/sources/jquery-ui/tests/unit/datepicker/datepicker.html +0 -54
- data/templates/project/sources/jquery-ui/tests/unit/datepicker/datepicker_core.js +0 -441
- data/templates/project/sources/jquery-ui/tests/unit/datepicker/datepicker_defaults.js +0 -9
- data/templates/project/sources/jquery-ui/tests/unit/datepicker/datepicker_events.js +0 -117
- data/templates/project/sources/jquery-ui/tests/unit/datepicker/datepicker_methods.js +0 -118
- data/templates/project/sources/jquery-ui/tests/unit/datepicker/datepicker_options.js +0 -924
- data/templates/project/sources/jquery-ui/tests/unit/datepicker/datepicker_tickets.js +0 -27
- data/templates/project/sources/jquery-ui/tests/unit/dialog/dialog.html +0 -57
- data/templates/project/sources/jquery-ui/tests/unit/dialog/dialog_core.js +0 -138
- data/templates/project/sources/jquery-ui/tests/unit/dialog/dialog_defaults.js +0 -35
- data/templates/project/sources/jquery-ui/tests/unit/dialog/dialog_events.js +0 -254
- data/templates/project/sources/jquery-ui/tests/unit/dialog/dialog_methods.js +0 -127
- data/templates/project/sources/jquery-ui/tests/unit/dialog/dialog_options.js +0 -444
- data/templates/project/sources/jquery-ui/tests/unit/dialog/dialog_tickets.js +0 -116
- data/templates/project/sources/jquery-ui/tests/unit/draggable/draggable.html +0 -53
- data/templates/project/sources/jquery-ui/tests/unit/draggable/draggable_core.js +0 -67
- data/templates/project/sources/jquery-ui/tests/unit/draggable/draggable_defaults.js +0 -36
- data/templates/project/sources/jquery-ui/tests/unit/draggable/draggable_events.js +0 -81
- data/templates/project/sources/jquery-ui/tests/unit/draggable/draggable_methods.js +0 -99
- data/templates/project/sources/jquery-ui/tests/unit/draggable/draggable_options.js +0 -753
- data/templates/project/sources/jquery-ui/tests/unit/droppable/droppable.html +0 -53
- data/templates/project/sources/jquery-ui/tests/unit/droppable/droppable_core.js +0 -36
- data/templates/project/sources/jquery-ui/tests/unit/droppable/droppable_defaults.js +0 -16
- data/templates/project/sources/jquery-ui/tests/unit/droppable/droppable_events.js +0 -28
- data/templates/project/sources/jquery-ui/tests/unit/droppable/droppable_methods.js +0 -86
- data/templates/project/sources/jquery-ui/tests/unit/droppable/droppable_options.js +0 -68
- data/templates/project/sources/jquery-ui/tests/unit/images/jqueryui_32x32.png +0 -0
- data/templates/project/sources/jquery-ui/tests/unit/index.html +0 -64
- data/templates/project/sources/jquery-ui/tests/unit/menu/menu.html +0 -74
- data/templates/project/sources/jquery-ui/tests/unit/menu/menu_core.js +0 -38
- data/templates/project/sources/jquery-ui/tests/unit/menu/menu_defaults.js +0 -13
- data/templates/project/sources/jquery-ui/tests/unit/menu/menu_events.js +0 -24
- data/templates/project/sources/jquery-ui/tests/unit/menu/menu_methods.js +0 -15
- data/templates/project/sources/jquery-ui/tests/unit/menu/menu_options.js +0 -10
- data/templates/project/sources/jquery-ui/tests/unit/position/position.html +0 -62
- data/templates/project/sources/jquery-ui/tests/unit/position/position_core.js +0 -438
- data/templates/project/sources/jquery-ui/tests/unit/position/position_deprecated.html +0 -60
- data/templates/project/sources/jquery-ui/tests/unit/position/position_deprecated.js +0 -32
- data/templates/project/sources/jquery-ui/tests/unit/progressbar/progressbar.html +0 -41
- data/templates/project/sources/jquery-ui/tests/unit/progressbar/progressbar_core.js +0 -28
- data/templates/project/sources/jquery-ui/tests/unit/progressbar/progressbar_defaults.js +0 -11
- data/templates/project/sources/jquery-ui/tests/unit/progressbar/progressbar_events.js +0 -51
- data/templates/project/sources/jquery-ui/tests/unit/progressbar/progressbar_methods.js +0 -36
- data/templates/project/sources/jquery-ui/tests/unit/progressbar/progressbar_options.js +0 -59
- 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 +0 -53
- data/templates/project/sources/jquery-ui/tests/unit/resizable/resizable_core.js +0 -148
- data/templates/project/sources/jquery-ui/tests/unit/resizable/resizable_defaults.js +0 -28
- data/templates/project/sources/jquery-ui/tests/unit/resizable/resizable_events.js +0 -20
- data/templates/project/sources/jquery-ui/tests/unit/resizable/resizable_methods.js +0 -64
- data/templates/project/sources/jquery-ui/tests/unit/resizable/resizable_options.js +0 -190
- data/templates/project/sources/jquery-ui/tests/unit/selectable/selectable.html +0 -56
- data/templates/project/sources/jquery-ui/tests/unit/selectable/selectable_core.js +0 -16
- data/templates/project/sources/jquery-ui/tests/unit/selectable/selectable_defaults.js +0 -16
- data/templates/project/sources/jquery-ui/tests/unit/selectable/selectable_events.js +0 -32
- data/templates/project/sources/jquery-ui/tests/unit/selectable/selectable_methods.js +0 -93
- data/templates/project/sources/jquery-ui/tests/unit/selectable/selectable_options.js +0 -46
- data/templates/project/sources/jquery-ui/tests/unit/slider/slider.html +0 -55
- data/templates/project/sources/jquery-ui/tests/unit/slider/slider_core.js +0 -292
- data/templates/project/sources/jquery-ui/tests/unit/slider/slider_defaults.js +0 -20
- data/templates/project/sources/jquery-ui/tests/unit/slider/slider_events.js +0 -109
- data/templates/project/sources/jquery-ui/tests/unit/slider/slider_methods.js +0 -102
- data/templates/project/sources/jquery-ui/tests/unit/slider/slider_options.js +0 -146
- data/templates/project/sources/jquery-ui/tests/unit/sortable/sortable.html +0 -57
- data/templates/project/sources/jquery-ui/tests/unit/sortable/sortable_core.js +0 -9
- data/templates/project/sources/jquery-ui/tests/unit/sortable/sortable_defaults.js +0 -34
- data/templates/project/sources/jquery-ui/tests/unit/sortable/sortable_events.js +0 -147
- data/templates/project/sources/jquery-ui/tests/unit/sortable/sortable_methods.js +0 -108
- data/templates/project/sources/jquery-ui/tests/unit/sortable/sortable_options.js +0 -256
- data/templates/project/sources/jquery-ui/tests/unit/sortable/sortable_tickets.js +0 -83
- data/templates/project/sources/jquery-ui/tests/unit/spinner/spinner.html +0 -46
- data/templates/project/sources/jquery-ui/tests/unit/spinner/spinner_core.js +0 -171
- data/templates/project/sources/jquery-ui/tests/unit/spinner/spinner_defaults.js +0 -16
- data/templates/project/sources/jquery-ui/tests/unit/spinner/spinner_events.js +0 -64
- data/templates/project/sources/jquery-ui/tests/unit/spinner/spinner_methods.js +0 -155
- data/templates/project/sources/jquery-ui/tests/unit/spinner/spinner_options.js +0 -154
- data/templates/project/sources/jquery-ui/tests/unit/swarminject.js +0 -9
- data/templates/project/sources/jquery-ui/tests/unit/tabs/data/test.html +0 -1
- data/templates/project/sources/jquery-ui/tests/unit/tabs/spinner.gif +0 -0
- data/templates/project/sources/jquery-ui/tests/unit/tabs/tabs.html +0 -139
- data/templates/project/sources/jquery-ui/tests/unit/tabs/tabs_core.js +0 -50
- data/templates/project/sources/jquery-ui/tests/unit/tabs/tabs_defaults.js +0 -13
- data/templates/project/sources/jquery-ui/tests/unit/tabs/tabs_defaults_deprecated.js +0 -26
- data/templates/project/sources/jquery-ui/tests/unit/tabs/tabs_deprecated.html +0 -138
- data/templates/project/sources/jquery-ui/tests/unit/tabs/tabs_deprecated.js +0 -350
- data/templates/project/sources/jquery-ui/tests/unit/tabs/tabs_events.js +0 -198
- data/templates/project/sources/jquery-ui/tests/unit/tabs/tabs_methods.js +0 -165
- data/templates/project/sources/jquery-ui/tests/unit/tabs/tabs_options.js +0 -146
- data/templates/project/sources/jquery-ui/tests/unit/tabs/tabs_tickets.js +0 -99
- data/templates/project/sources/jquery-ui/tests/unit/testsuite.js +0 -101
- data/templates/project/sources/jquery-ui/tests/unit/tooltip/tooltip.html +0 -47
- data/templates/project/sources/jquery-ui/tests/unit/tooltip/tooltip_core.js +0 -11
- data/templates/project/sources/jquery-ui/tests/unit/tooltip/tooltip_defaults.js +0 -16
- data/templates/project/sources/jquery-ui/tests/unit/tooltip/tooltip_events.js +0 -54
- data/templates/project/sources/jquery-ui/tests/unit/tooltip/tooltip_methods.js +0 -30
- data/templates/project/sources/jquery-ui/tests/unit/tooltip/tooltip_options.js +0 -62
- data/templates/project/sources/jquery-ui/tests/unit/widget/widget.html +0 -40
- data/templates/project/sources/jquery-ui/tests/unit/widget/widget_core.js +0 -992
- data/templates/project/sources/jquery-ui/tests/visual/addClass/addClass_queue.html +0 -50
- data/templates/project/sources/jquery-ui/tests/visual/all.css +0 -84
- data/templates/project/sources/jquery-ui/tests/visual/all.html +0 -190
- data/templates/project/sources/jquery-ui/tests/visual/animate/animate_backgroundColor_hex.html +0 -44
- data/templates/project/sources/jquery-ui/tests/visual/animate/animate_backgroundColor_rgb.html +0 -35
- data/templates/project/sources/jquery-ui/tests/visual/animate/animate_color_hex.html +0 -44
- data/templates/project/sources/jquery-ui/tests/visual/animate/animate_color_rgb.html +0 -35
- data/templates/project/sources/jquery-ui/tests/visual/button/button.html +0 -140
- data/templates/project/sources/jquery-ui/tests/visual/button/button_disabled_true.html +0 -84
- data/templates/project/sources/jquery-ui/tests/visual/button/button_input_type_checkbox.html +0 -25
- data/templates/project/sources/jquery-ui/tests/visual/button/button_option_disabled_true.html +0 -84
- data/templates/project/sources/jquery-ui/tests/visual/button/button_performance.html +0 -555
- data/templates/project/sources/jquery-ui/tests/visual/button/button_ticket_5254.html +0 -55
- data/templates/project/sources/jquery-ui/tests/visual/button/button_ticket_5261.html +0 -42
- data/templates/project/sources/jquery-ui/tests/visual/button/button_ticket_5278.html +0 -58
- data/templates/project/sources/jquery-ui/tests/visual/compound/accordion_dialog.html +0 -202
- data/templates/project/sources/jquery-ui/tests/visual/compound/accordion_tabs.html +0 -86
- data/templates/project/sources/jquery-ui/tests/visual/compound/datepicker_dialog.html +0 -157
- data/templates/project/sources/jquery-ui/tests/visual/compound/draggable_accordion.html +0 -65
- data/templates/project/sources/jquery-ui/tests/visual/compound/draggable_accordion_accordion_tabs_draggable.html +0 -109
- data/templates/project/sources/jquery-ui/tests/visual/compound/sortable_accordion_sortable_tabs.html +0 -108
- data/templates/project/sources/jquery-ui/tests/visual/compound/tabs_tabs.html +0 -73
- data/templates/project/sources/jquery-ui/tests/visual/compound/tabs_tooltips.html +0 -37
- data/templates/project/sources/jquery-ui/tests/visual/compound/widgets_in_dialog.html +0 -229
- data/templates/project/sources/jquery-ui/tests/visual/datepicker/calendar.gif +0 -0
- data/templates/project/sources/jquery-ui/tests/visual/datepicker/datepicker.html +0 -23
- data/templates/project/sources/jquery-ui/tests/visual/datepicker/datepicker_multi_inline.html +0 -113
- data/templates/project/sources/jquery-ui/tests/visual/datepicker/datepicker_ticket_4071.html +0 -96
- data/templates/project/sources/jquery-ui/tests/visual/datepicker/datepicker_ticket_4240.html +0 -55
- data/templates/project/sources/jquery-ui/tests/visual/datepicker/datepicker_ticket_4443.html +0 -38
- data/templates/project/sources/jquery-ui/tests/visual/datepicker/datepicker_ticket_5676.html +0 -30
- data/templates/project/sources/jquery-ui/tests/visual/datepicker/multimonth.html +0 -23
- data/templates/project/sources/jquery-ui/tests/visual/datepicker/viewport.html +0 -278
- data/templates/project/sources/jquery-ui/tests/visual/dialog/dialog_on_page_with_large_dom.html +0 -2963
- data/templates/project/sources/jquery-ui/tests/visual/draggable/draggable.html +0 -24
- data/templates/project/sources/jquery-ui/tests/visual/draggable/draggable.scroll.html +0 -152
- data/templates/project/sources/jquery-ui/tests/visual/draggable/draggable_option_containment_array.html +0 -26
- data/templates/project/sources/jquery-ui/tests/visual/draggable/draggable_option_cursorAt_object.html +0 -26
- data/templates/project/sources/jquery-ui/tests/visual/draggable/draggable_option_handle_selector.html +0 -28
- data/templates/project/sources/jquery-ui/tests/visual/draggable/draggable_option_iframeFix_false.html +0 -30
- data/templates/project/sources/jquery-ui/tests/visual/draggable/draggable_option_iframeFix_selector.html +0 -30
- data/templates/project/sources/jquery-ui/tests/visual/draggable/draggable_option_iframeFix_true.html +0 -30
- data/templates/project/sources/jquery-ui/tests/visual/droppable/droppable.css +0 -3
- data/templates/project/sources/jquery-ui/tests/visual/droppable/droppable.html +0 -33
- data/templates/project/sources/jquery-ui/tests/visual/droppable/droppable_option_accept_default.html +0 -40
- data/templates/project/sources/jquery-ui/tests/visual/droppable/droppable_option_accept_function.html +0 -43
- data/templates/project/sources/jquery-ui/tests/visual/droppable/droppable_option_accept_selector.html +0 -41
- data/templates/project/sources/jquery-ui/tests/visual/droppable/droppable_ticket_4087.html +0 -51
- data/templates/project/sources/jquery-ui/tests/visual/droppable/droppable_ticket_4088.html +0 -69
- data/templates/project/sources/jquery-ui/tests/visual/effects.all.css +0 -54
- data/templates/project/sources/jquery-ui/tests/visual/effects.all.html +0 -193
- data/templates/project/sources/jquery-ui/tests/visual/effects.all.js +0 -92
- data/templates/project/sources/jquery-ui/tests/visual/menu/contextmenu.html +0 -191
- data/templates/project/sources/jquery-ui/tests/visual/menu/drilldown.html +0 -266
- data/templates/project/sources/jquery-ui/tests/visual/menu/menu.html +0 -147
- data/templates/project/sources/jquery-ui/tests/visual/menu/menubar.html +0 -208
- data/templates/project/sources/jquery-ui/tests/visual/menu/menubar.js +0 -189
- data/templates/project/sources/jquery-ui/tests/visual/menu/popup.html +0 -159
- data/templates/project/sources/jquery-ui/tests/visual/menu/popup.js +0 -113
- data/templates/project/sources/jquery-ui/tests/visual/menu/tablemenu.html +0 -67
- data/templates/project/sources/jquery-ui/tests/visual/mouse/mouse_ticket_6946.html +0 -67
- data/templates/project/sources/jquery-ui/tests/visual/position/position.html +0 -67
- data/templates/project/sources/jquery-ui/tests/visual/position/position_margin.html +0 -43
- 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 +0 -24
- data/templates/project/sources/jquery-ui/tests/visual/resizable/resizable_option_alsoResize_child.html +0 -48
- data/templates/project/sources/jquery-ui/tests/visual/resizable/resizable_option_aspectRatio_0.5.html +0 -29
- data/templates/project/sources/jquery-ui/tests/visual/resizable/resizable_option_aspectRatio_1.0.html +0 -29
- data/templates/project/sources/jquery-ui/tests/visual/resizable/resizable_option_aspectRatio_1.5.html +0 -29
- data/templates/project/sources/jquery-ui/tests/visual/resizable/resizable_option_aspectRatio_preserve_maxHeight_150.html +0 -30
- data/templates/project/sources/jquery-ui/tests/visual/resizable/resizable_option_aspectRatio_preserve_maxWidth_150.html +0 -30
- data/templates/project/sources/jquery-ui/tests/visual/resizable/resizable_option_aspectRatio_preserve_minHeight_50.html +0 -30
- data/templates/project/sources/jquery-ui/tests/visual/resizable/resizable_option_aspectRatio_preserve_minWidth_50.html +0 -30
- data/templates/project/sources/jquery-ui/tests/visual/resizable/resizable_option_aspectRatio_preserve_w100xh100.html +0 -29
- data/templates/project/sources/jquery-ui/tests/visual/resizable/resizable_option_aspectRatio_preserve_w100xh50.html +0 -29
- data/templates/project/sources/jquery-ui/tests/visual/resizable/resizable_option_aspectRatio_preserve_w50xh100.html +0 -29
- data/templates/project/sources/jquery-ui/tests/visual/resizable/resizable_ticket_3053.html +0 -37
- data/templates/project/sources/jquery-ui/tests/visual/resizable/resizable_ticket_4199.html +0 -37
- data/templates/project/sources/jquery-ui/tests/visual/resizable/resizable_ticket_4217.html +0 -46
- data/templates/project/sources/jquery-ui/tests/visual/resizable/resizable_ticket_4940.html +0 -32
- data/templates/project/sources/jquery-ui/tests/visual/resizable/resizable_ticket_5335.html +0 -52
- data/templates/project/sources/jquery-ui/tests/visual/selectable/selectable.html +0 -40
- data/templates/project/sources/jquery-ui/tests/visual/selectable/selectable_ticket_4341.html +0 -46
- data/templates/project/sources/jquery-ui/tests/visual/slider/slider.html +0 -24
- data/templates/project/sources/jquery-ui/tests/visual/slider/slider_horizontal.html +0 -27
- data/templates/project/sources/jquery-ui/tests/visual/slider/slider_horizontal_range.html +0 -28
- data/templates/project/sources/jquery-ui/tests/visual/slider/slider_horizontal_range_max.html +0 -28
- data/templates/project/sources/jquery-ui/tests/visual/slider/slider_horizontal_range_min.html +0 -28
- data/templates/project/sources/jquery-ui/tests/visual/slider/slider_in_container_with_scrollbars.html +0 -43
- data/templates/project/sources/jquery-ui/tests/visual/slider/slider_method_destroy.html +0 -28
- data/templates/project/sources/jquery-ui/tests/visual/slider/slider_method_disable.html +0 -47
- data/templates/project/sources/jquery-ui/tests/visual/slider/slider_option_animate_false.html +0 -26
- data/templates/project/sources/jquery-ui/tests/visual/slider/slider_option_animate_true.html +0 -65
- data/templates/project/sources/jquery-ui/tests/visual/slider/slider_option_max_3.html +0 -26
- data/templates/project/sources/jquery-ui/tests/visual/slider/slider_option_max_30.html +0 -26
- data/templates/project/sources/jquery-ui/tests/visual/slider/slider_option_max_300.html +0 -26
- data/templates/project/sources/jquery-ui/tests/visual/slider/slider_option_min_-3.html +0 -27
- data/templates/project/sources/jquery-ui/tests/visual/slider/slider_option_min_-30.html +0 -27
- data/templates/project/sources/jquery-ui/tests/visual/slider/slider_option_min_-300.html +0 -27
- data/templates/project/sources/jquery-ui/tests/visual/slider/slider_option_orientation_horizontal.html +0 -26
- data/templates/project/sources/jquery-ui/tests/visual/slider/slider_option_orientation_vertical.html +0 -26
- data/templates/project/sources/jquery-ui/tests/visual/slider/slider_option_range_false.html +0 -27
- data/templates/project/sources/jquery-ui/tests/visual/slider/slider_option_range_max.html +0 -27
- data/templates/project/sources/jquery-ui/tests/visual/slider/slider_option_range_min.html +0 -27
- data/templates/project/sources/jquery-ui/tests/visual/slider/slider_option_range_true.html +0 -27
- data/templates/project/sources/jquery-ui/tests/visual/slider/slider_option_step_25.html +0 -26
- data/templates/project/sources/jquery-ui/tests/visual/slider/slider_option_step_5.html +0 -26
- data/templates/project/sources/jquery-ui/tests/visual/slider/slider_option_value_3.html +0 -26
- data/templates/project/sources/jquery-ui/tests/visual/slider/slider_option_value_30.html +0 -26
- data/templates/project/sources/jquery-ui/tests/visual/slider/slider_option_values_25_50_75.html +0 -26
- data/templates/project/sources/jquery-ui/tests/visual/slider/slider_option_values_25_75.html +0 -26
- data/templates/project/sources/jquery-ui/tests/visual/slider/slider_option_values_50.html +0 -26
- data/templates/project/sources/jquery-ui/tests/visual/slider/slider_ticket_3736.html +0 -36
- data/templates/project/sources/jquery-ui/tests/visual/slider/slider_ticket_3762.html +0 -44
- data/templates/project/sources/jquery-ui/tests/visual/slider/slider_ticket_4385.html +0 -42
- data/templates/project/sources/jquery-ui/tests/visual/slider/slider_ticket_4467.html +0 -34
- data/templates/project/sources/jquery-ui/tests/visual/slider/slider_vertical.html +0 -27
- data/templates/project/sources/jquery-ui/tests/visual/slider/slider_vertical_range.html +0 -28
- data/templates/project/sources/jquery-ui/tests/visual/slider/slider_vertical_range_max.html +0 -28
- data/templates/project/sources/jquery-ui/tests/visual/slider/slider_vertical_range_min.html +0 -28
- data/templates/project/sources/jquery-ui/tests/visual/sortable/sortable.html +0 -40
- data/templates/project/sources/jquery-ui/tests/visual/sortable/sortable_massive_scale.html +0 -757
- data/templates/project/sources/jquery-ui/tests/visual/sortable/sortable_option_revert_false.html +0 -31
- data/templates/project/sources/jquery-ui/tests/visual/sortable/sortable_option_revert_true.html +0 -31
- data/templates/project/sources/jquery-ui/tests/visual/sortable/sortable_ticket_4231.html +0 -78
- data/templates/project/sources/jquery-ui/tests/visual/sortable/sortable_ticket_5355.html +0 -58
- data/templates/project/sources/jquery-ui/tests/visual/spinner/spinner.html +0 -43
- data/templates/project/sources/jquery-ui/tests/visual/theme.html +0 -532
- data/templates/project/sources/jquery-ui/tests/visual/tooltip/ajaxcontent.php +0 -2
- data/templates/project/sources/jquery-ui/tests/visual/tooltip/callout.html +0 -213
- data/templates/project/sources/jquery-ui/tests/visual/tooltip/tooltip.html +0 -186
- data/templates/project/sources/jquery-ui/tests/visual/visual.css +0 -3
- 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 +0 -18
- data/templates/project/sources/jquery-ui/themes/base/jquery.ui.all.css +0 -11
- data/templates/project/sources/jquery-ui/themes/base/jquery.ui.autocomplete.css +0 -13
- data/templates/project/sources/jquery-ui/themes/base/jquery.ui.base.css +0 -24
- data/templates/project/sources/jquery-ui/themes/base/jquery.ui.button.css +0 -38
- data/templates/project/sources/jquery-ui/themes/base/jquery.ui.core.css +0 -41
- data/templates/project/sources/jquery-ui/themes/base/jquery.ui.datepicker.css +0 -68
- data/templates/project/sources/jquery-ui/themes/base/jquery.ui.dialog.css +0 -21
- data/templates/project/sources/jquery-ui/themes/base/jquery.ui.menu.css +0 -44
- data/templates/project/sources/jquery-ui/themes/base/jquery.ui.progressbar.css +0 -11
- data/templates/project/sources/jquery-ui/themes/base/jquery.ui.resizable.css +0 -25
- data/templates/project/sources/jquery-ui/themes/base/jquery.ui.selectable.css +0 -10
- data/templates/project/sources/jquery-ui/themes/base/jquery.ui.slider.css +0 -24
- data/templates/project/sources/jquery-ui/themes/base/jquery.ui.spinner.css +0 -23
- data/templates/project/sources/jquery-ui/themes/base/jquery.ui.tabs.css +0 -17
- data/templates/project/sources/jquery-ui/themes/base/jquery.ui.theme.css +0 -252
- data/templates/project/sources/jquery-ui/themes/base/jquery.ui.tooltip.css +0 -23
- data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-af.js +0 -23
- data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-ar-DZ.js +0 -23
- data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-ar.js +0 -23
- data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-az.js +0 -23
- data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-bg.js +0 -24
- data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-bs.js +0 -23
- data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-ca.js +0 -23
- data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-cs.js +0 -23
- data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-da.js +0 -23
- data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-de.js +0 -23
- data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-el.js +0 -23
- data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-en-AU.js +0 -23
- data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-en-GB.js +0 -23
- data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-en-NZ.js +0 -23
- data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-eo.js +0 -23
- data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-es.js +0 -23
- data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-et.js +0 -23
- data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-eu.js +0 -23
- data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-fa.js +0 -23
- data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-fi.js +0 -23
- data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-fo.js +0 -23
- data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-fr-CH.js +0 -23
- data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-fr.js +0 -25
- data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-gl.js +0 -23
- data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-he.js +0 -23
- data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-hr.js +0 -23
- data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-hu.js +0 -23
- data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-hy.js +0 -23
- data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-id.js +0 -23
- data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-is.js +0 -23
- data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-it.js +0 -23
- data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-ja.js +0 -23
- data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-ko.js +0 -23
- data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-kz.js +0 -23
- data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-lt.js +0 -23
- data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-lv.js +0 -23
- data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-ml.js +0 -23
- data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-ms.js +0 -23
- data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-nl.js +0 -23
- data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-no.js +0 -23
- data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-pl.js +0 -23
- data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-pt-BR.js +0 -23
- data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-pt.js +0 -22
- data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-rm.js +0 -21
- data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-ro.js +0 -26
- data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-ru.js +0 -23
- data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-sk.js +0 -23
- data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-sl.js +0 -24
- data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-sq.js +0 -23
- data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-sr-SR.js +0 -23
- data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-sr.js +0 -23
- data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-sv.js +0 -23
- data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-ta.js +0 -23
- data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-th.js +0 -23
- data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-tj.js +0 -23
- data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-tr.js +0 -23
- data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-uk.js +0 -23
- data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-vi.js +0 -23
- data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-zh-CN.js +0 -23
- data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-zh-HK.js +0 -23
- data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-zh-TW.js +0 -23
- data/templates/project/sources/jquery-ui/ui/jquery.effects.blind.js +0 -52
- data/templates/project/sources/jquery-ui/ui/jquery.effects.bounce.js +0 -102
- data/templates/project/sources/jquery-ui/ui/jquery.effects.clip.js +0 -69
- data/templates/project/sources/jquery-ui/ui/jquery.effects.core.js +0 -825
- data/templates/project/sources/jquery-ui/ui/jquery.effects.drop.js +0 -64
- data/templates/project/sources/jquery-ui/ui/jquery.effects.explode.js +0 -103
- data/templates/project/sources/jquery-ui/ui/jquery.effects.fade.js +0 -34
- data/templates/project/sources/jquery-ui/ui/jquery.effects.fold.js +0 -73
- data/templates/project/sources/jquery-ui/ui/jquery.effects.highlight.js +0 -51
- data/templates/project/sources/jquery-ui/ui/jquery.effects.pulsate.js +0 -52
- data/templates/project/sources/jquery-ui/ui/jquery.effects.scale.js +0 -250
- data/templates/project/sources/jquery-ui/ui/jquery.effects.shake.js +0 -64
- data/templates/project/sources/jquery-ui/ui/jquery.effects.slide.js +0 -69
- data/templates/project/sources/jquery-ui/ui/jquery.effects.transfer.js +0 -46
- data/templates/project/sources/jquery-ui/ui/jquery.ui.accordion.js +0 -669
- data/templates/project/sources/jquery-ui/ui/jquery.ui.autocomplete.js +0 -439
- data/templates/project/sources/jquery-ui/ui/jquery.ui.button.js +0 -384
- data/templates/project/sources/jquery-ui/ui/jquery.ui.core.js +0 -303
- data/templates/project/sources/jquery-ui/ui/jquery.ui.datepicker.js +0 -1779
- data/templates/project/sources/jquery-ui/ui/jquery.ui.dialog.js +0 -829
- data/templates/project/sources/jquery-ui/ui/jquery.ui.draggable.js +0 -799
- data/templates/project/sources/jquery-ui/ui/jquery.ui.droppable.js +0 -285
- data/templates/project/sources/jquery-ui/ui/jquery.ui.menu.js +0 -402
- data/templates/project/sources/jquery-ui/ui/jquery.ui.mouse.js +0 -156
- data/templates/project/sources/jquery-ui/ui/jquery.ui.position.js +0 -283
- data/templates/project/sources/jquery-ui/ui/jquery.ui.progressbar.js +0 -107
- data/templates/project/sources/jquery-ui/ui/jquery.ui.resizable.js +0 -812
- data/templates/project/sources/jquery-ui/ui/jquery.ui.selectable.js +0 -266
- data/templates/project/sources/jquery-ui/ui/jquery.ui.slider.js +0 -684
- data/templates/project/sources/jquery-ui/ui/jquery.ui.sortable.js +0 -1076
- data/templates/project/sources/jquery-ui/ui/jquery.ui.spinner.js +0 -362
- data/templates/project/sources/jquery-ui/ui/jquery.ui.tabs.js +0 -1039
- data/templates/project/sources/jquery-ui/ui/jquery.ui.tooltip.js +0 -146
- data/templates/project/sources/jquery-ui/ui/jquery.ui.widget.js +0 -363
- data/templates/project/sources/jquery-ui/version.txt +0 -1
- data/templates/project/sources/pie/LICENSE-APACHE2.txt +0 -13
- data/templates/project/sources/pie/LICENSE-GPL2.txt +0 -278
- data/templates/project/sources/pie/build.xml +0 -118
- data/templates/project/sources/pie/demos/basic.html +0 -321
- data/templates/project/sources/pie/demos/farbtastic/CHANGELOG.html +0 -26
- data/templates/project/sources/pie/demos/farbtastic/LICENSE.txt +0 -341
- data/templates/project/sources/pie/demos/farbtastic/README.html +0 -71
- data/templates/project/sources/pie/demos/farbtastic/demo1.html +0 -28
- data/templates/project/sources/pie/demos/farbtastic/demo2.html +0 -57
- data/templates/project/sources/pie/demos/farbtastic/farbtastic.css +0 -51
- data/templates/project/sources/pie/demos/farbtastic/farbtastic.js +0 -345
- data/templates/project/sources/pie/demos/farbtastic/farbtastic.min.js +0 -1
- 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 +0 -296
- data/templates/project/sources/pie/documentation/about.html +0 -63
- data/templates/project/sources/pie/documentation/build.html +0 -72
- data/templates/project/sources/pie/documentation/getting-started.html +0 -66
- data/templates/project/sources/pie/documentation/known-issues.html +0 -205
- data/templates/project/sources/pie/documentation/pie-js.html +0 -89
- data/templates/project/sources/pie/documentation/product-comparison.html +0 -89
- data/templates/project/sources/pie/documentation/q-and-a.html +0 -152
- data/templates/project/sources/pie/documentation/supported-css3-features.html +0 -402
- data/templates/project/sources/pie/site/pie-wp-theme/404.php +0 -24
- data/templates/project/sources/pie/site/pie-wp-theme/archive.php +0 -24
- data/templates/project/sources/pie/site/pie-wp-theme/attachment/attachment-default.php +0 -61
- data/templates/project/sources/pie/site/pie-wp-theme/attachment.php +0 -25
- data/templates/project/sources/pie/site/pie-wp-theme/carrington-core/CHANGELOG.txt +0 -72
- data/templates/project/sources/pie/site/pie-wp-theme/carrington-core/README.txt +0 -15
- data/templates/project/sources/pie/site/pie-wp-theme/carrington-core/admin.php +0 -330
- data/templates/project/sources/pie/site/pie-wp-theme/carrington-core/ajax-load.php +0 -115
- data/templates/project/sources/pie/site/pie-wp-theme/carrington-core/attachment.php +0 -126
- data/templates/project/sources/pie/site/pie-wp-theme/carrington-core/carrington.php +0 -106
- data/templates/project/sources/pie/site/pie-wp-theme/carrington-core/compatibility.php +0 -234
- data/templates/project/sources/pie/site/pie-wp-theme/carrington-core/css/colorpicker.css +0 -161
- 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 +0 -490
- data/templates/project/sources/pie/site/pie-wp-theme/carrington-core/lightbox/LICENSE.txt +0 -30
- data/templates/project/sources/pie/site/pie-wp-theme/carrington-core/lightbox/css/thickbox.css +0 -157
- 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 +0 -332
- data/templates/project/sources/pie/site/pie-wp-theme/carrington-core/templates.php +0 -105
- data/templates/project/sources/pie/site/pie-wp-theme/carrington-core/utility.php +0 -821
- data/templates/project/sources/pie/site/pie-wp-theme/comment/comment-default.php +0 -53
- data/templates/project/sources/pie/site/pie-wp-theme/comment/ping.php +0 -33
- data/templates/project/sources/pie/site/pie-wp-theme/comments/comments-default.php +0 -66
- data/templates/project/sources/pie/site/pie-wp-theme/comments/comments-loop.php +0 -49
- data/templates/project/sources/pie/site/pie-wp-theme/comments/pings-loop.php +0 -38
- data/templates/project/sources/pie/site/pie-wp-theme/comments/threaded.php +0 -31
- data/templates/project/sources/pie/site/pie-wp-theme/comments.php +0 -24
- data/templates/project/sources/pie/site/pie-wp-theme/content/content-default.php +0 -56
- data/templates/project/sources/pie/site/pie-wp-theme/content/page.php +0 -44
- data/templates/project/sources/pie/site/pie-wp-theme/css/common.css +0 -442
- 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 +0 -240
- 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 +0 -31
- data/templates/project/sources/pie/site/pie-wp-theme/error/exit.php +0 -24
- data/templates/project/sources/pie/site/pie-wp-theme/excerpt/excerpt-default.php +0 -41
- data/templates/project/sources/pie/site/pie-wp-theme/footer/footer-default.php +0 -53
- data/templates/project/sources/pie/site/pie-wp-theme/footer.php +0 -24
- data/templates/project/sources/pie/site/pie-wp-theme/forms/comment.php +0 -94
- data/templates/project/sources/pie/site/pie-wp-theme/forms/search.php +0 -33
- data/templates/project/sources/pie/site/pie-wp-theme/functions/sidebars.php +0 -42
- data/templates/project/sources/pie/site/pie-wp-theme/functions.php +0 -28
- data/templates/project/sources/pie/site/pie-wp-theme/header/header-default.php +0 -99
- data/templates/project/sources/pie/site/pie-wp-theme/header.php +0 -24
- 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 +0 -24
- data/templates/project/sources/pie/site/pie-wp-theme/js/farbtastic/CHANGELOG.html +0 -26
- data/templates/project/sources/pie/site/pie-wp-theme/js/farbtastic/LICENSE.txt +0 -341
- data/templates/project/sources/pie/site/pie-wp-theme/js/farbtastic/README.html +0 -71
- data/templates/project/sources/pie/site/pie-wp-theme/js/farbtastic/demo1.html +0 -28
- data/templates/project/sources/pie/site/pie-wp-theme/js/farbtastic/demo2.html +0 -57
- data/templates/project/sources/pie/site/pie-wp-theme/js/farbtastic/farbtastic.css +0 -51
- data/templates/project/sources/pie/site/pie-wp-theme/js/farbtastic/farbtastic.js +0 -345
- data/templates/project/sources/pie/site/pie-wp-theme/js/farbtastic/farbtastic.min.js +0 -1
- 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 +0 -28
- data/templates/project/sources/pie/site/pie-wp-theme/loop/loop-default.php +0 -33
- data/templates/project/sources/pie/site/pie-wp-theme/loop/search.php +0 -30
- data/templates/project/sources/pie/site/pie-wp-theme/misc/banner.php +0 -21
- data/templates/project/sources/pie/site/pie-wp-theme/misc/nav-posts.php +0 -22
- data/templates/project/sources/pie/site/pie-wp-theme/misc/no-results.php +0 -23
- data/templates/project/sources/pie/site/pie-wp-theme/page.php +0 -24
- data/templates/project/sources/pie/site/pie-wp-theme/pages/pages-default.php +0 -30
- data/templates/project/sources/pie/site/pie-wp-theme/posts/author.php +0 -52
- data/templates/project/sources/pie/site/pie-wp-theme/posts/category.php +0 -40
- data/templates/project/sources/pie/site/pie-wp-theme/posts/home.php +0 -30
- data/templates/project/sources/pie/site/pie-wp-theme/posts/posts-default.php +0 -30
- data/templates/project/sources/pie/site/pie-wp-theme/posts/search.php +0 -44
- data/templates/project/sources/pie/site/pie-wp-theme/posts/tag.php +0 -38
- data/templates/project/sources/pie/site/pie-wp-theme/screenshot.png +0 -0
- data/templates/project/sources/pie/site/pie-wp-theme/search.php +0 -24
- data/templates/project/sources/pie/site/pie-wp-theme/sidebar/sidebar-default.php +0 -68
- data/templates/project/sources/pie/site/pie-wp-theme/sidebar.php +0 -24
- data/templates/project/sources/pie/site/pie-wp-theme/single/single-default.php +0 -40
- data/templates/project/sources/pie/site/pie-wp-theme/single.php +0 -24
- data/templates/project/sources/pie/site/pie-wp-theme/style.css +0 -73
- data/templates/project/sources/pie/sources/Angle.js +0 -36
- data/templates/project/sources/pie/sources/BackgroundRenderer.js +0 -381
- data/templates/project/sources/pie/sources/BackgroundStyleInfo.js +0 -295
- data/templates/project/sources/pie/sources/BgPosition.js +0 -104
- data/templates/project/sources/pie/sources/BorderImageRenderer.js +0 -124
- data/templates/project/sources/pie/sources/BorderImageStyleInfo.js +0 -146
- data/templates/project/sources/pie/sources/BorderRadiusStyleInfo.js +0 -68
- data/templates/project/sources/pie/sources/BorderRenderer.js +0 -328
- data/templates/project/sources/pie/sources/BorderStyleInfo.js +0 -101
- data/templates/project/sources/pie/sources/BoundsInfo.js +0 -56
- data/templates/project/sources/pie/sources/BoxShadowInsetRenderer.js +0 -31
- data/templates/project/sources/pie/sources/BoxShadowOutsetRenderer.js +0 -136
- data/templates/project/sources/pie/sources/BoxShadowStyleInfo.js +0 -67
- data/templates/project/sources/pie/sources/Color.js +0 -127
- data/templates/project/sources/pie/sources/Element.js +0 -416
- data/templates/project/sources/pie/sources/Heartbeat.js +0 -16
- data/templates/project/sources/pie/sources/ImgRenderer.js +0 -66
- data/templates/project/sources/pie/sources/Length.js +0 -134
- data/templates/project/sources/pie/sources/Observable.js +0 -44
- data/templates/project/sources/pie/sources/OnBeforeUnload.js +0 -15
- data/templates/project/sources/pie/sources/OnPrint.js +0 -25
- data/templates/project/sources/pie/sources/OnResize.js +0 -12
- data/templates/project/sources/pie/sources/OnScroll.js +0 -15
- data/templates/project/sources/pie/sources/PIE_API.js +0 -35
- data/templates/project/sources/pie/sources/PIE_close.js +0 -2
- data/templates/project/sources/pie/sources/PIE_open.js +0 -47
- data/templates/project/sources/pie/sources/RendererBase.js +0 -299
- data/templates/project/sources/pie/sources/RootRenderer.js +0 -112
- data/templates/project/sources/pie/sources/StyleInfoBase.js +0 -93
- data/templates/project/sources/pie/sources/Tokenizer.js +0 -274
- data/templates/project/sources/pie/sources/Util.js +0 -94
- data/templates/project/sources/pie/sources/VisibilityStyleInfo.js +0 -38
- data/templates/project/sources/pie/sources/closure_externs.js +0 -4
- data/templates/project/sources/pie/sources/closure_preservefunctions.js +0 -4
- data/templates/project/sources/pie/sources/htc_close.txt +0 -2
- data/templates/project/sources/pie/sources/htc_init.js +0 -19
- data/templates/project/sources/pie/sources/htc_open.txt +0 -13
- data/templates/project/sources/pie/sources/js_close.js +0 -1
- data/templates/project/sources/pie/sources/js_open.js +0 -8
- data/templates/project/sources/pie/sources/wrappers/PIE.php +0 -19
- data/templates/project/sources/pie/tests/IE9 border-radius tests/border-radius-applies-to-001.htm +0 -27
- data/templates/project/sources/pie/tests/IE9 border-radius tests/border-radius-applies-to-002.htm +0 -31
- data/templates/project/sources/pie/tests/IE9 border-radius tests/border-radius-applies-to-003.htm +0 -29
- data/templates/project/sources/pie/tests/IE9 border-radius tests/border-radius-applies-to-004.htm +0 -29
- data/templates/project/sources/pie/tests/IE9 border-radius tests/border-radius-applies-to-005.htm +0 -29
- data/templates/project/sources/pie/tests/IE9 border-radius tests/border-radius-applies-to-006.htm +0 -41
- data/templates/project/sources/pie/tests/IE9 border-radius tests/border-radius-applies-to-007.htm +0 -46
- data/templates/project/sources/pie/tests/IE9 border-radius tests/border-radius-applies-to-008.htm +0 -41
- data/templates/project/sources/pie/tests/IE9 border-radius tests/border-radius-applies-to-009.htm +0 -45
- data/templates/project/sources/pie/tests/IE9 border-radius tests/border-radius-applies-to-010.htm +0 -31
- data/templates/project/sources/pie/tests/IE9 border-radius tests/border-radius-applies-to-011.htm +0 -41
- data/templates/project/sources/pie/tests/IE9 border-radius tests/border-radius-applies-to-012.htm +0 -49
- data/templates/project/sources/pie/tests/IE9 border-radius tests/border-radius-applies-to-013.htm +0 -51
- data/templates/project/sources/pie/tests/IE9 border-radius tests/border-radius-applies-to-014.htm +0 -51
- data/templates/project/sources/pie/tests/IE9 border-radius tests/border-radius-applies-to-015.htm +0 -51
- data/templates/project/sources/pie/tests/IE9 border-radius tests/border-radius-applies-to-016.htm +0 -50
- data/templates/project/sources/pie/tests/IE9 border-radius tests/border-radius-applies-to-017.htm +0 -35
- data/templates/project/sources/pie/tests/IE9 border-radius tests/border-radius-different-width-001.htm +0 -77
- data/templates/project/sources/pie/tests/IE9 border-radius tests/border-radius-initial-value-001.htm +0 -35
- data/templates/project/sources/pie/tests/IE9 border-radius tests/border-radius-not-inherited-001.htm +0 -44
- data/templates/project/sources/pie/tests/IE9 border-radius tests/border-radius-shorthand-001.htm +0 -69
- data/templates/project/sources/pie/tests/IE9 border-radius tests/border-radius-style-001.htm +0 -33
- data/templates/project/sources/pie/tests/IE9 border-radius tests/border-radius-style-002.htm +0 -28
- data/templates/project/sources/pie/tests/IE9 border-radius tests/border-radius-style-003.htm +0 -28
- data/templates/project/sources/pie/tests/IE9 border-radius tests/border-radius-style-004.htm +0 -28
- data/templates/project/sources/pie/tests/IE9 border-radius tests/border-radius-style-005.htm +0 -29
- data/templates/project/sources/pie/tests/IE9 border-radius tests/border-radius-sum-of-radii-001.htm +0 -158
- data/templates/project/sources/pie/tests/IE9 border-radius tests/border-radius-sum-of-radii-002.htm +0 -92
- data/templates/project/sources/pie/tests/IE9 border-radius tests/border-radius-with-three-values-001.htm +0 -43
- data/templates/project/sources/pie/tests/IE9 border-radius tests/border-radius-with-two-values-001.htm +0 -43
- data/templates/project/sources/pie/tests/IE9 border-radius tests/border-top-left-radius-values-001.htm +0 -45
- data/templates/project/sources/pie/tests/IE9 border-radius tests/border-top-left-radius-values-002.htm +0 -40
- data/templates/project/sources/pie/tests/IE9 border-radius tests/border-top-left-radius-values-003.htm +0 -51
- 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 +0 -188
- data/templates/project/sources/pie/tests/border-image-test.html +0 -52
- 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 +0 -166
- data/templates/project/sources/pie/tests/buttons.html +0 -735
- data/templates/project/sources/pie/tests/color-names.html +0 -32
- data/templates/project/sources/pie/tests/gradient-tests.html +0 -237
- data/templates/project/sources/pie/tests/hiding-tests.html +0 -92
- data/templates/project/sources/pie/tests/hover-tests.html +0 -107
- 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 +0 -63
- data/templates/project/sources/pie/tests/margin-auto-tests.html +0 -57
- data/templates/project/sources/pie/tests/margin-collapsing-tests.html +0 -77
- data/templates/project/sources/pie/tests/misc-tests.html +0 -257
- data/templates/project/sources/pie/tests/multiple-bg-tests.html +0 -100
- data/templates/project/sources/pie/tests/peculiar-icons/Peculiar.html +0 -372
- data/templates/project/sources/pie/tests/peculiar-icons/pictograms.css +0 -1934
- data/templates/project/sources/pie/tests/peculiar-icons/style.css +0 -106
- data/templates/project/sources/pie/tests/photo.jpg +0 -0
- data/templates/project/sources/pie/tests/png-fix.html +0 -50
- data/templates/project/sources/pie/tests/position-fixed.html +0 -70
- data/templates/project/sources/pie/tests/rtl.html +0 -190
- data/templates/project/sources/pie/tests/sizing-tests.html +0 -55
- 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 +0 -148
- data/templates/project/sources/pie/tests/solar-system/styles.css +0 -447
- data/templates/project/sources/pie/tests/stress-test.html +0 -187
- data/templates/project/sources/pie/tests/submitted/block.png +0 -0
- data/templates/project/sources/pie/tests/submitted/forum-f3-t19.html +0 -31
- data/templates/project/sources/pie/tests/submitted/forum-f3-t25.gif +0 -0
- data/templates/project/sources/pie/tests/submitted/forum-f3-t25.html +0 -24
- data/templates/project/sources/pie/tests/submitted/forum-f3-t70.html +0 -136
- data/templates/project/sources/pie/tests/submitted/issue23.html +0 -124
- data/templates/project/sources/pie/tests/submitted/issue41.html +0 -164
- data/templates/project/sources/pie/tests/submitted/issue47.html +0 -136
- data/templates/project/sources/pie/tests/submitted/issue75.html +0 -94
- data/templates/project/sources/pie/tests/submitted/tab.png +0 -0
- data/templates/project/sources/pie/tests/tables.html +0 -87
- data/templates/project/sources/pie/tests/tokenizer-tests.html +0 -158
- data/templates/project/sources/pie/tests/z-index-tests.html +0 -145
- data/templates/project/sources/pie/tools/compiler.jar +0 -0
- data/templates/project/sources/scrollability/README.md +0 -38
- data/templates/project/sources/scrollability/scrollability-min.js +0 -1
- data/templates/project/sources/scrollability/scrollability.js +0 -661
- data/templates/project/sources/scrollorama/README.md +0 -21
- data/templates/project/sources/scrollorama/css/normalize.css +0 -439
- data/templates/project/sources/scrollorama/css/style.css +0 -257
- data/templates/project/sources/scrollorama/index.html +0 -167
- data/templates/project/sources/scrollorama/js/jquery-1.7.1.min.js +0 -4
- data/templates/project/sources/scrollorama/js/jquery.lettering-0.6.1.min.js +0 -2
- data/templates/project/sources/scrollorama/js/jquery.scrollorama.js +0 -299
- data/templates/project/style.sass +0 -127
- data/templates/project/survival-kit-logo.png +0 -0
- data/templates/project/survivalkit/drupal7.sass +0 -2563
- data/templates/project/survivalkit/survivalkit.sass +0 -137
@@ -1,1341 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* jQuery Globalization Plugin
|
3
|
-
* http://github.com/jquery/jquery-global
|
4
|
-
*
|
5
|
-
* Copyright Software Freedom Conservancy, Inc.
|
6
|
-
* Dual licensed under the MIT or GPL Version 2 licenses.
|
7
|
-
* http://jquery.org/license
|
8
|
-
*/
|
9
|
-
(function() {
|
10
|
-
|
11
|
-
var Globalization = {}, localized = { en: {} };
|
12
|
-
localized["default"] = localized.en;
|
13
|
-
|
14
|
-
Globalization.extend = function( deep ) {
|
15
|
-
var target = arguments[ 1 ] || {};
|
16
|
-
for ( var i = 2, l = arguments.length; i < l; i++ ) {
|
17
|
-
var source = arguments[ i ];
|
18
|
-
if ( source ) {
|
19
|
-
for ( var field in source ) {
|
20
|
-
var sourceVal = source[ field ];
|
21
|
-
if ( typeof sourceVal !== "undefined" ) {
|
22
|
-
if ( deep && (isObject( sourceVal ) || isArray( sourceVal )) ) {
|
23
|
-
var targetVal = target[ field ];
|
24
|
-
// extend onto the existing value, or create a new one
|
25
|
-
targetVal = targetVal && (isObject( targetVal ) || isArray( targetVal ))
|
26
|
-
? targetVal
|
27
|
-
: (isArray( sourceVal ) ? [] : {});
|
28
|
-
target[ field ] = this.extend( true, targetVal, sourceVal );
|
29
|
-
}
|
30
|
-
else {
|
31
|
-
target[ field ] = sourceVal;
|
32
|
-
}
|
33
|
-
}
|
34
|
-
}
|
35
|
-
}
|
36
|
-
}
|
37
|
-
return target;
|
38
|
-
}
|
39
|
-
|
40
|
-
Globalization.findClosestCulture = function(name) {
|
41
|
-
var match;
|
42
|
-
if ( !name ) {
|
43
|
-
return this.culture || this.cultures["default"];
|
44
|
-
}
|
45
|
-
if ( isString( name ) ) {
|
46
|
-
name = name.split( ',' );
|
47
|
-
}
|
48
|
-
if ( isArray( name ) ) {
|
49
|
-
var lang,
|
50
|
-
cultures = this.cultures,
|
51
|
-
list = name,
|
52
|
-
i, l = list.length,
|
53
|
-
prioritized = [];
|
54
|
-
for ( i = 0; i < l; i++ ) {
|
55
|
-
name = trim( list[ i ] );
|
56
|
-
var pri, parts = name.split( ';' );
|
57
|
-
lang = trim( parts[ 0 ] );
|
58
|
-
if ( parts.length === 1 ) {
|
59
|
-
pri = 1;
|
60
|
-
}
|
61
|
-
else {
|
62
|
-
name = trim( parts[ 1 ] );
|
63
|
-
if ( name.indexOf("q=") === 0 ) {
|
64
|
-
name = name.substr( 2 );
|
65
|
-
pri = parseFloat( name, 10 );
|
66
|
-
pri = isNaN( pri ) ? 0 : pri;
|
67
|
-
}
|
68
|
-
else {
|
69
|
-
pri = 1;
|
70
|
-
}
|
71
|
-
}
|
72
|
-
prioritized.push( { lang: lang, pri: pri } );
|
73
|
-
}
|
74
|
-
prioritized.sort(function(a, b) {
|
75
|
-
return a.pri < b.pri ? 1 : -1;
|
76
|
-
});
|
77
|
-
for ( i = 0; i < l; i++ ) {
|
78
|
-
lang = prioritized[ i ].lang;
|
79
|
-
match = cultures[ lang ];
|
80
|
-
// exact match?
|
81
|
-
if ( match ) {
|
82
|
-
return match;
|
83
|
-
}
|
84
|
-
}
|
85
|
-
for ( i = 0; i < l; i++ ) {
|
86
|
-
lang = prioritized[ i ].lang;
|
87
|
-
// for each entry try its neutral language
|
88
|
-
do {
|
89
|
-
var index = lang.lastIndexOf( "-" );
|
90
|
-
if ( index === -1 ) {
|
91
|
-
break;
|
92
|
-
}
|
93
|
-
// strip off the last part. e.g. en-US => en
|
94
|
-
lang = lang.substr( 0, index );
|
95
|
-
match = cultures[ lang ];
|
96
|
-
if ( match ) {
|
97
|
-
return match;
|
98
|
-
}
|
99
|
-
}
|
100
|
-
while ( 1 );
|
101
|
-
}
|
102
|
-
}
|
103
|
-
else if ( typeof name === 'object' ) {
|
104
|
-
return name;
|
105
|
-
}
|
106
|
-
return match || null;
|
107
|
-
}
|
108
|
-
Globalization.preferCulture = function(name) {
|
109
|
-
this.culture = this.findClosestCulture( name ) || this.cultures["default"];
|
110
|
-
}
|
111
|
-
Globalization.localize = function(key, culture, value) {
|
112
|
-
// usign default culture in case culture is not provided
|
113
|
-
if (typeof culture !== 'string') {
|
114
|
-
culture = this.culture.name || this.culture || "default";
|
115
|
-
}
|
116
|
-
culture = this.cultures[ culture ] || { name: culture };
|
117
|
-
|
118
|
-
var local = localized[ culture.name ];
|
119
|
-
if ( arguments.length === 3 ) {
|
120
|
-
if ( !local) {
|
121
|
-
local = localized[ culture.name ] = {};
|
122
|
-
}
|
123
|
-
local[ key ] = value;
|
124
|
-
}
|
125
|
-
else {
|
126
|
-
if ( local ) {
|
127
|
-
value = local[ key ];
|
128
|
-
}
|
129
|
-
if ( typeof value === 'undefined' ) {
|
130
|
-
var language = localized[ culture.language ];
|
131
|
-
if ( language ) {
|
132
|
-
value = language[ key ];
|
133
|
-
}
|
134
|
-
if ( typeof value === 'undefined' ) {
|
135
|
-
value = localized["default"][ key ];
|
136
|
-
}
|
137
|
-
}
|
138
|
-
}
|
139
|
-
return typeof value === "undefined" ? null : value;
|
140
|
-
}
|
141
|
-
Globalization.format = function(value, format, culture) {
|
142
|
-
culture = this.findClosestCulture( culture );
|
143
|
-
if ( typeof value === "number" ) {
|
144
|
-
value = formatNumber( value, format, culture );
|
145
|
-
}
|
146
|
-
else if ( value instanceof Date ) {
|
147
|
-
value = formatDate( value, format, culture );
|
148
|
-
}
|
149
|
-
return value;
|
150
|
-
}
|
151
|
-
Globalization.parseInt = function(value, radix, culture) {
|
152
|
-
return Math.floor( this.parseFloat( value, radix, culture ) );
|
153
|
-
}
|
154
|
-
Globalization.parseFloat = function(value, radix, culture) {
|
155
|
-
// make radix optional
|
156
|
-
if (typeof radix === "string") {
|
157
|
-
culture = radix;
|
158
|
-
radix = 10;
|
159
|
-
}
|
160
|
-
|
161
|
-
culture = this.findClosestCulture( culture );
|
162
|
-
var ret = NaN,
|
163
|
-
nf = culture.numberFormat;
|
164
|
-
|
165
|
-
if (value.indexOf(culture.numberFormat.currency.symbol) > -1) {
|
166
|
-
// remove currency symbol
|
167
|
-
value = value.replace(culture.numberFormat.currency.symbol, "");
|
168
|
-
// replace decimal seperator
|
169
|
-
value = value.replace(culture.numberFormat.currency["."], culture.numberFormat["."]);
|
170
|
-
}
|
171
|
-
|
172
|
-
// trim leading and trailing whitespace
|
173
|
-
value = trim( value );
|
174
|
-
|
175
|
-
// allow infinity or hexidecimal
|
176
|
-
if (regexInfinity.test(value)) {
|
177
|
-
ret = parseFloat(value, radix);
|
178
|
-
}
|
179
|
-
else if (!radix && regexHex.test(value)) {
|
180
|
-
ret = parseInt(value, 16);
|
181
|
-
}
|
182
|
-
else {
|
183
|
-
var signInfo = parseNegativePattern( value, nf, nf.pattern[0] ),
|
184
|
-
sign = signInfo[0],
|
185
|
-
num = signInfo[1];
|
186
|
-
// determine sign and number
|
187
|
-
if ( sign === "" && nf.pattern[0] !== "-n" ) {
|
188
|
-
signInfo = parseNegativePattern( value, nf, "-n" );
|
189
|
-
sign = signInfo[0];
|
190
|
-
num = signInfo[1];
|
191
|
-
}
|
192
|
-
sign = sign || "+";
|
193
|
-
// determine exponent and number
|
194
|
-
var exponent,
|
195
|
-
intAndFraction,
|
196
|
-
exponentPos = num.indexOf( 'e' );
|
197
|
-
if ( exponentPos < 0 ) exponentPos = num.indexOf( 'E' );
|
198
|
-
if ( exponentPos < 0 ) {
|
199
|
-
intAndFraction = num;
|
200
|
-
exponent = null;
|
201
|
-
}
|
202
|
-
else {
|
203
|
-
intAndFraction = num.substr( 0, exponentPos );
|
204
|
-
exponent = num.substr( exponentPos + 1 );
|
205
|
-
}
|
206
|
-
// determine decimal position
|
207
|
-
var integer,
|
208
|
-
fraction,
|
209
|
-
decSep = nf['.'],
|
210
|
-
decimalPos = intAndFraction.indexOf( decSep );
|
211
|
-
if ( decimalPos < 0 ) {
|
212
|
-
integer = intAndFraction;
|
213
|
-
fraction = null;
|
214
|
-
}
|
215
|
-
else {
|
216
|
-
integer = intAndFraction.substr( 0, decimalPos );
|
217
|
-
fraction = intAndFraction.substr( decimalPos + decSep.length );
|
218
|
-
}
|
219
|
-
// handle groups (e.g. 1,000,000)
|
220
|
-
var groupSep = nf[","];
|
221
|
-
integer = integer.split(groupSep).join('');
|
222
|
-
var altGroupSep = groupSep.replace(/\u00A0/g, " ");
|
223
|
-
if ( groupSep !== altGroupSep ) {
|
224
|
-
integer = integer.split(altGroupSep).join('');
|
225
|
-
}
|
226
|
-
// build a natively parsable number string
|
227
|
-
var p = sign + integer;
|
228
|
-
if ( fraction !== null ) {
|
229
|
-
p += '.' + fraction;
|
230
|
-
}
|
231
|
-
if ( exponent !== null ) {
|
232
|
-
// exponent itself may have a number patternd
|
233
|
-
var expSignInfo = parseNegativePattern( exponent, nf, "-n" );
|
234
|
-
p += 'e' + (expSignInfo[0] || "+") + expSignInfo[1];
|
235
|
-
}
|
236
|
-
if ( regexParseFloat.test( p ) ) {
|
237
|
-
ret = parseFloat( p );
|
238
|
-
}
|
239
|
-
}
|
240
|
-
return ret;
|
241
|
-
}
|
242
|
-
Globalization.parseDate = function(value, formats, culture) {
|
243
|
-
culture = this.findClosestCulture( culture );
|
244
|
-
|
245
|
-
var date, prop, patterns;
|
246
|
-
if ( formats ) {
|
247
|
-
if ( typeof formats === "string" ) {
|
248
|
-
formats = [ formats ];
|
249
|
-
}
|
250
|
-
if ( formats.length ) {
|
251
|
-
for ( var i = 0, l = formats.length; i < l; i++ ) {
|
252
|
-
var format = formats[ i ];
|
253
|
-
if ( format ) {
|
254
|
-
date = parseExact( value, format, culture );
|
255
|
-
if ( date ) {
|
256
|
-
break;
|
257
|
-
}
|
258
|
-
}
|
259
|
-
}
|
260
|
-
}
|
261
|
-
}
|
262
|
-
else {
|
263
|
-
patterns = culture.calendar.patterns;
|
264
|
-
for ( prop in patterns ) {
|
265
|
-
date = parseExact( value, patterns[prop], culture );
|
266
|
-
if ( date ) {
|
267
|
-
break;
|
268
|
-
}
|
269
|
-
}
|
270
|
-
}
|
271
|
-
return date || null;
|
272
|
-
}
|
273
|
-
|
274
|
-
// 1. When defining a culture, all fields are required except the ones stated as optional.
|
275
|
-
// 2. You can use Globalization.extend to copy an existing culture and provide only the differing values,
|
276
|
-
// a good practice since most cultures do not differ too much from the 'default' culture.
|
277
|
-
// DO use the 'default' culture if you do this, as it is the only one that definitely
|
278
|
-
// exists.
|
279
|
-
// 3. Other plugins may add to the culture information provided by extending it. However,
|
280
|
-
// that plugin may extend it prior to the culture being defined, or after. Therefore,
|
281
|
-
// do not overwrite values that already exist when defining the baseline for a culture,
|
282
|
-
// by extending your culture object with the existing one.
|
283
|
-
// 4. Each culture should have a ".calendars" object with at least one calendar named "standard"
|
284
|
-
// which serves as the default calendar in use by that culture.
|
285
|
-
// 5. Each culture should have a ".calendar" object which is the current calendar being used,
|
286
|
-
// it may be dynamically changed at any time to one of the calendars in ".calendars".
|
287
|
-
|
288
|
-
// To define a culture, use the following pattern, which handles defining the culture based
|
289
|
-
// on the 'default culture, extending it with the existing culture if it exists, and defining
|
290
|
-
// it if it does not exist.
|
291
|
-
// Globalization.cultures.foo = Globalization.extend(true, Globalization.extend(true, {}, Globalization.cultures['default'], fooCulture), Globalization.cultures.foo)
|
292
|
-
|
293
|
-
var cultures = Globalization.cultures = Globalization.cultures || {};
|
294
|
-
var en = cultures["default"] = cultures.en = Globalization.extend(true, {
|
295
|
-
// A unique name for the culture in the form <language code>-<country/region code>
|
296
|
-
name: "en",
|
297
|
-
// the name of the culture in the english language
|
298
|
-
englishName: "English",
|
299
|
-
// the name of the culture in its own language
|
300
|
-
nativeName: "English",
|
301
|
-
// whether the culture uses right-to-left text
|
302
|
-
isRTL: false,
|
303
|
-
// 'language' is used for so-called "specific" cultures.
|
304
|
-
// For example, the culture "es-CL" means "Spanish, in Chili".
|
305
|
-
// It represents the Spanish-speaking culture as it is in Chili,
|
306
|
-
// which might have different formatting rules or even translations
|
307
|
-
// than Spanish in Spain. A "neutral" culture is one that is not
|
308
|
-
// specific to a region. For example, the culture "es" is the generic
|
309
|
-
// Spanish culture, which may be a more generalized version of the language
|
310
|
-
// that may or may not be what a specific culture expects.
|
311
|
-
// For a specific culture like "es-CL", the 'language' field refers to the
|
312
|
-
// neutral, generic culture information for the language it is using.
|
313
|
-
// This is not always a simple matter of the string before the dash.
|
314
|
-
// For example, the "zh-Hans" culture is netural (Simplified Chinese).
|
315
|
-
// And the 'zh-SG' culture is Simplified Chinese in Singapore, whose lanugage
|
316
|
-
// field is "zh-CHS", not "zh".
|
317
|
-
// This field should be used to navigate from a specific culture to it's
|
318
|
-
// more general, neutral culture. If a culture is already as general as it
|
319
|
-
// can get, the language may refer to itself.
|
320
|
-
language: "en",
|
321
|
-
// numberFormat defines general number formatting rules, like the digits in
|
322
|
-
// each grouping, the group separator, and how negative numbers are displayed.
|
323
|
-
numberFormat: {
|
324
|
-
// [negativePattern]
|
325
|
-
// Note, numberFormat.pattern has no 'positivePattern' unlike percent and currency,
|
326
|
-
// but is still defined as an array for consistency with them.
|
327
|
-
// negativePattern: one of "(n)|-n|- n|n-|n -"
|
328
|
-
pattern: ["-n"],
|
329
|
-
// number of decimal places normally shown
|
330
|
-
decimals: 2,
|
331
|
-
// string that separates number groups, as in 1,000,000
|
332
|
-
',': ",",
|
333
|
-
// string that separates a number from the fractional portion, as in 1.99
|
334
|
-
'.': ".",
|
335
|
-
// array of numbers indicating the size of each number group.
|
336
|
-
// TODO: more detailed description and example
|
337
|
-
groupSizes: [3],
|
338
|
-
// symbol used for positive numbers
|
339
|
-
'+': "+",
|
340
|
-
// symbol used for negative numbers
|
341
|
-
'-': "-",
|
342
|
-
percent: {
|
343
|
-
// [negativePattern, positivePattern]
|
344
|
-
// negativePattern: one of "-n %|-n%|-%n|%-n|%n-|n-%|n%-|-% n|n %-|% n-|% -n|n- %"
|
345
|
-
// positivePattern: one of "n %|n%|%n|% n"
|
346
|
-
pattern: ["-n %","n %"],
|
347
|
-
// number of decimal places normally shown
|
348
|
-
decimals: 2,
|
349
|
-
// array of numbers indicating the size of each number group.
|
350
|
-
// TODO: more detailed description and example
|
351
|
-
groupSizes: [3],
|
352
|
-
// string that separates number groups, as in 1,000,000
|
353
|
-
',': ",",
|
354
|
-
// string that separates a number from the fractional portion, as in 1.99
|
355
|
-
'.': ".",
|
356
|
-
// symbol used to represent a percentage
|
357
|
-
symbol: "%"
|
358
|
-
},
|
359
|
-
currency: {
|
360
|
-
// [negativePattern, positivePattern]
|
361
|
-
// negativePattern: one of "($n)|-$n|$-n|$n-|(n$)|-n$|n-$|n$-|-n $|-$ n|n $-|$ n-|$ -n|n- $|($ n)|(n $)"
|
362
|
-
// positivePattern: one of "$n|n$|$ n|n $"
|
363
|
-
pattern: ["($n)","$n"],
|
364
|
-
// number of decimal places normally shown
|
365
|
-
decimals: 2,
|
366
|
-
// array of numbers indicating the size of each number group.
|
367
|
-
// TODO: more detailed description and example
|
368
|
-
groupSizes: [3],
|
369
|
-
// string that separates number groups, as in 1,000,000
|
370
|
-
',': ",",
|
371
|
-
// string that separates a number from the fractional portion, as in 1.99
|
372
|
-
'.': ".",
|
373
|
-
// symbol used to represent currency
|
374
|
-
symbol: "$"
|
375
|
-
}
|
376
|
-
},
|
377
|
-
// calendars defines all the possible calendars used by this culture.
|
378
|
-
// There should be at least one defined with name 'standard', and is the default
|
379
|
-
// calendar used by the culture.
|
380
|
-
// A calendar contains information about how dates are formatted, information about
|
381
|
-
// the calendar's eras, a standard set of the date formats,
|
382
|
-
// translations for day and month names, and if the calendar is not based on the Gregorian
|
383
|
-
// calendar, conversion functions to and from the Gregorian calendar.
|
384
|
-
calendars: {
|
385
|
-
standard: {
|
386
|
-
// name that identifies the type of calendar this is
|
387
|
-
name: "Gregorian_USEnglish",
|
388
|
-
// separator of parts of a date (e.g. '/' in 11/05/1955)
|
389
|
-
'/': "/",
|
390
|
-
// separator of parts of a time (e.g. ':' in 05:44 PM)
|
391
|
-
':': ":",
|
392
|
-
// the first day of the week (0 = Sunday, 1 = Monday, etc)
|
393
|
-
firstDay: 0,
|
394
|
-
days: {
|
395
|
-
// full day names
|
396
|
-
names: ["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],
|
397
|
-
// abbreviated day names
|
398
|
-
namesAbbr: ["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],
|
399
|
-
// shortest day names
|
400
|
-
namesShort: ["Su","Mo","Tu","We","Th","Fr","Sa"]
|
401
|
-
},
|
402
|
-
months: {
|
403
|
-
// full month names (13 months for lunar calendards -- 13th month should be "" if not lunar)
|
404
|
-
names: ["January","February","March","April","May","June","July","August","September","October","November","December",""],
|
405
|
-
// abbreviated month names
|
406
|
-
namesAbbr: ["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec",""]
|
407
|
-
},
|
408
|
-
// AM and PM designators in one of these forms:
|
409
|
-
// The usual view, and the upper and lower case versions
|
410
|
-
// [standard,lowercase,uppercase]
|
411
|
-
// The culture does not use AM or PM (likely all standard date formats use 24 hour time)
|
412
|
-
// null
|
413
|
-
AM: ["AM", "am", "AM"],
|
414
|
-
PM: ["PM", "pm", "PM"],
|
415
|
-
eras: [
|
416
|
-
// eras in reverse chronological order.
|
417
|
-
// name: the name of the era in this culture (e.g. A.D., C.E.)
|
418
|
-
// start: when the era starts in ticks (gregorian, gmt), null if it is the earliest supported era.
|
419
|
-
// offset: offset in years from gregorian calendar
|
420
|
-
{ "name": "A.D.", "start": null, "offset": 0 }
|
421
|
-
],
|
422
|
-
// when a two digit year is given, it will never be parsed as a four digit
|
423
|
-
// year greater than this year (in the appropriate era for the culture)
|
424
|
-
// Set it as a full year (e.g. 2029) or use an offset format starting from
|
425
|
-
// the current year: "+19" would correspond to 2029 if the current year 2010.
|
426
|
-
twoDigitYearMax: 2029,
|
427
|
-
// set of predefined date and time patterns used by the culture
|
428
|
-
// these represent the format someone in this culture would expect
|
429
|
-
// to see given the portions of the date that are shown.
|
430
|
-
patterns: {
|
431
|
-
// short date pattern
|
432
|
-
d: "M/d/yyyy",
|
433
|
-
// long date pattern
|
434
|
-
D: "dddd, MMMM dd, yyyy",
|
435
|
-
// short time pattern
|
436
|
-
t: "h:mm tt",
|
437
|
-
// long time pattern
|
438
|
-
T: "h:mm:ss tt",
|
439
|
-
// long date, short time pattern
|
440
|
-
f: "dddd, MMMM dd, yyyy h:mm tt",
|
441
|
-
// long date, long time pattern
|
442
|
-
F: "dddd, MMMM dd, yyyy h:mm:ss tt",
|
443
|
-
// month/day pattern
|
444
|
-
M: "MMMM dd",
|
445
|
-
// month/year pattern
|
446
|
-
Y: "yyyy MMMM",
|
447
|
-
// S is a sortable format that does not vary by culture
|
448
|
-
S: "yyyy\u0027-\u0027MM\u0027-\u0027dd\u0027T\u0027HH\u0027:\u0027mm\u0027:\u0027ss"
|
449
|
-
}
|
450
|
-
// optional fields for each calendar:
|
451
|
-
/*
|
452
|
-
monthsGenitive:
|
453
|
-
Same as months but used when the day preceeds the month.
|
454
|
-
Omit if the culture has no genitive distinction in month names.
|
455
|
-
For an explaination of genitive months, see http://blogs.msdn.com/michkap/archive/2004/12/25/332259.aspx
|
456
|
-
convert:
|
457
|
-
Allows for the support of non-gregorian based calendars. This convert object is used to
|
458
|
-
to convert a date to and from a gregorian calendar date to handle parsing and formatting.
|
459
|
-
The two functions:
|
460
|
-
fromGregorian(date)
|
461
|
-
Given the date as a parameter, return an array with parts [year, month, day]
|
462
|
-
corresponding to the non-gregorian based year, month, and day for the calendar.
|
463
|
-
toGregorian(year, month, day)
|
464
|
-
Given the non-gregorian year, month, and day, return a new Date() object
|
465
|
-
set to the corresponding date in the gregorian calendar.
|
466
|
-
*/
|
467
|
-
}
|
468
|
-
}
|
469
|
-
}, cultures.en);
|
470
|
-
en.calendar = en.calendar || en.calendars.standard;
|
471
|
-
|
472
|
-
var regexTrim = /^\s+|\s+$/g,
|
473
|
-
regexInfinity = /^[+-]?infinity$/i,
|
474
|
-
regexHex = /^0x[a-f0-9]+$/i,
|
475
|
-
regexParseFloat = /^[+-]?\d*\.?\d*(e[+-]?\d+)?$/,
|
476
|
-
toString = Object.prototype.toString;
|
477
|
-
|
478
|
-
function startsWith(value, pattern) {
|
479
|
-
return value.indexOf( pattern ) === 0;
|
480
|
-
}
|
481
|
-
|
482
|
-
function endsWith(value, pattern) {
|
483
|
-
return value.substr( value.length - pattern.length ) === pattern;
|
484
|
-
}
|
485
|
-
|
486
|
-
function trim(value) {
|
487
|
-
return (value+"").replace( regexTrim, "" );
|
488
|
-
}
|
489
|
-
|
490
|
-
function zeroPad(str, count, left) {
|
491
|
-
for (var l=str.length; l < count; l++) {
|
492
|
-
str = (left ? ('0' + str) : (str + '0'));
|
493
|
-
}
|
494
|
-
return str;
|
495
|
-
}
|
496
|
-
|
497
|
-
function isArray(obj) {
|
498
|
-
return toString.call(obj) === "[object Array]";
|
499
|
-
}
|
500
|
-
|
501
|
-
function isString(obj) {
|
502
|
-
return toString.call(obj) === "[object String]";
|
503
|
-
}
|
504
|
-
|
505
|
-
function isObject(obj) {
|
506
|
-
return toString.call(obj) === "[object Object]";
|
507
|
-
}
|
508
|
-
|
509
|
-
function arrayIndexOf( array, item ) {
|
510
|
-
if ( array.indexOf ) {
|
511
|
-
return array.indexOf( item );
|
512
|
-
}
|
513
|
-
for ( var i = 0, length = array.length; i < length; i++ ) {
|
514
|
-
if ( array[ i ] === item ) {
|
515
|
-
return i;
|
516
|
-
}
|
517
|
-
}
|
518
|
-
return -1;
|
519
|
-
}
|
520
|
-
|
521
|
-
// *************************************** Numbers ***************************************
|
522
|
-
|
523
|
-
function expandNumber(number, precision, formatInfo) {
|
524
|
-
var groupSizes = formatInfo.groupSizes,
|
525
|
-
curSize = groupSizes[ 0 ],
|
526
|
-
curGroupIndex = 1,
|
527
|
-
factor = Math.pow( 10, precision ),
|
528
|
-
rounded = Math.round( number * factor ) / factor;
|
529
|
-
if ( !isFinite(rounded) ) {
|
530
|
-
rounded = number;
|
531
|
-
}
|
532
|
-
number = rounded;
|
533
|
-
|
534
|
-
var numberString = number+"",
|
535
|
-
right = "",
|
536
|
-
split = numberString.split(/e/i),
|
537
|
-
exponent = split.length > 1 ? parseInt( split[ 1 ], 10 ) : 0;
|
538
|
-
numberString = split[ 0 ];
|
539
|
-
split = numberString.split( "." );
|
540
|
-
numberString = split[ 0 ];
|
541
|
-
right = split.length > 1 ? split[ 1 ] : "";
|
542
|
-
|
543
|
-
var l;
|
544
|
-
if ( exponent > 0 ) {
|
545
|
-
right = zeroPad( right, exponent, false );
|
546
|
-
numberString += right.slice( 0, exponent );
|
547
|
-
right = right.substr( exponent );
|
548
|
-
}
|
549
|
-
else if ( exponent < 0 ) {
|
550
|
-
exponent = -exponent;
|
551
|
-
numberString = zeroPad( numberString, exponent + 1 );
|
552
|
-
right = numberString.slice( -exponent, numberString.length ) + right;
|
553
|
-
numberString = numberString.slice( 0, -exponent );
|
554
|
-
}
|
555
|
-
|
556
|
-
if ( precision > 0 ) {
|
557
|
-
right = formatInfo['.'] +
|
558
|
-
((right.length > precision) ? right.slice( 0, precision ) : zeroPad( right, precision ));
|
559
|
-
}
|
560
|
-
else {
|
561
|
-
right = "";
|
562
|
-
}
|
563
|
-
|
564
|
-
var stringIndex = numberString.length - 1,
|
565
|
-
sep = formatInfo[","],
|
566
|
-
ret = "";
|
567
|
-
|
568
|
-
while ( stringIndex >= 0 ) {
|
569
|
-
if ( curSize === 0 || curSize > stringIndex ) {
|
570
|
-
return numberString.slice( 0, stringIndex + 1 ) + ( ret.length ? ( sep + ret + right ) : right );
|
571
|
-
}
|
572
|
-
ret = numberString.slice( stringIndex - curSize + 1, stringIndex + 1 ) + ( ret.length ? ( sep + ret ) : "" );
|
573
|
-
|
574
|
-
stringIndex -= curSize;
|
575
|
-
|
576
|
-
if ( curGroupIndex < groupSizes.length ) {
|
577
|
-
curSize = groupSizes[ curGroupIndex ];
|
578
|
-
curGroupIndex++;
|
579
|
-
}
|
580
|
-
}
|
581
|
-
return numberString.slice( 0, stringIndex + 1 ) + sep + ret + right;
|
582
|
-
}
|
583
|
-
|
584
|
-
|
585
|
-
function parseNegativePattern(value, nf, negativePattern) {
|
586
|
-
var neg = nf["-"],
|
587
|
-
pos = nf["+"],
|
588
|
-
ret;
|
589
|
-
switch (negativePattern) {
|
590
|
-
case "n -":
|
591
|
-
neg = ' ' + neg;
|
592
|
-
pos = ' ' + pos;
|
593
|
-
// fall through
|
594
|
-
case "n-":
|
595
|
-
if ( endsWith( value, neg ) ) {
|
596
|
-
ret = [ '-', value.substr( 0, value.length - neg.length ) ];
|
597
|
-
}
|
598
|
-
else if ( endsWith( value, pos ) ) {
|
599
|
-
ret = [ '+', value.substr( 0, value.length - pos.length ) ];
|
600
|
-
}
|
601
|
-
break;
|
602
|
-
case "- n":
|
603
|
-
neg += ' ';
|
604
|
-
pos += ' ';
|
605
|
-
// fall through
|
606
|
-
case "-n":
|
607
|
-
if ( startsWith( value, neg ) ) {
|
608
|
-
ret = [ '-', value.substr( neg.length ) ];
|
609
|
-
}
|
610
|
-
else if ( startsWith(value, pos) ) {
|
611
|
-
ret = [ '+', value.substr( pos.length ) ];
|
612
|
-
}
|
613
|
-
break;
|
614
|
-
case "(n)":
|
615
|
-
if ( startsWith( value, '(' ) && endsWith( value, ')' ) ) {
|
616
|
-
ret = [ '-', value.substr( 1, value.length - 2 ) ];
|
617
|
-
}
|
618
|
-
break;
|
619
|
-
}
|
620
|
-
return ret || [ '', value ];
|
621
|
-
}
|
622
|
-
|
623
|
-
function formatNumber(value, format, culture) {
|
624
|
-
if ( !format || format === 'i' ) {
|
625
|
-
return culture.name.length ? value.toLocaleString() : value.toString();
|
626
|
-
}
|
627
|
-
format = format || "D";
|
628
|
-
|
629
|
-
var nf = culture.numberFormat,
|
630
|
-
number = Math.abs(value),
|
631
|
-
precision = -1,
|
632
|
-
pattern;
|
633
|
-
if (format.length > 1) precision = parseInt( format.slice( 1 ), 10 );
|
634
|
-
|
635
|
-
var current = format.charAt( 0 ).toUpperCase(),
|
636
|
-
formatInfo;
|
637
|
-
|
638
|
-
switch (current) {
|
639
|
-
case "D":
|
640
|
-
pattern = 'n';
|
641
|
-
if (precision !== -1) {
|
642
|
-
number = zeroPad( ""+number, precision, true );
|
643
|
-
}
|
644
|
-
if (value < 0) number = -number;
|
645
|
-
break;
|
646
|
-
case "N":
|
647
|
-
formatInfo = nf;
|
648
|
-
// fall through
|
649
|
-
case "C":
|
650
|
-
formatInfo = formatInfo || nf.currency;
|
651
|
-
// fall through
|
652
|
-
case "P":
|
653
|
-
formatInfo = formatInfo || nf.percent;
|
654
|
-
pattern = value < 0 ? formatInfo.pattern[0] : (formatInfo.pattern[1] || "n");
|
655
|
-
if (precision === -1) precision = formatInfo.decimals;
|
656
|
-
number = expandNumber( number * (current === "P" ? 100 : 1), precision, formatInfo );
|
657
|
-
break;
|
658
|
-
default:
|
659
|
-
throw "Bad number format specifier: " + current;
|
660
|
-
}
|
661
|
-
|
662
|
-
var patternParts = /n|\$|-|%/g,
|
663
|
-
ret = "";
|
664
|
-
for (;;) {
|
665
|
-
var index = patternParts.lastIndex,
|
666
|
-
ar = patternParts.exec(pattern);
|
667
|
-
|
668
|
-
ret += pattern.slice( index, ar ? ar.index : pattern.length );
|
669
|
-
|
670
|
-
if (!ar) {
|
671
|
-
break;
|
672
|
-
}
|
673
|
-
|
674
|
-
switch (ar[0]) {
|
675
|
-
case "n":
|
676
|
-
ret += number;
|
677
|
-
break;
|
678
|
-
case "$":
|
679
|
-
ret += nf.currency.symbol;
|
680
|
-
break;
|
681
|
-
case "-":
|
682
|
-
// don't make 0 negative
|
683
|
-
if ( /[1-9]/.test( number ) ) {
|
684
|
-
ret += nf["-"];
|
685
|
-
}
|
686
|
-
break;
|
687
|
-
case "%":
|
688
|
-
ret += nf.percent.symbol;
|
689
|
-
break;
|
690
|
-
}
|
691
|
-
}
|
692
|
-
|
693
|
-
return ret;
|
694
|
-
}
|
695
|
-
|
696
|
-
// *************************************** Dates ***************************************
|
697
|
-
|
698
|
-
function outOfRange(value, low, high) {
|
699
|
-
return value < low || value > high;
|
700
|
-
}
|
701
|
-
|
702
|
-
function expandYear(cal, year) {
|
703
|
-
// expands 2-digit year into 4 digits.
|
704
|
-
var now = new Date(),
|
705
|
-
era = getEra(now);
|
706
|
-
if ( year < 100 ) {
|
707
|
-
var twoDigitYearMax = cal.twoDigitYearMax;
|
708
|
-
twoDigitYearMax = typeof twoDigitYearMax === 'string' ? new Date().getFullYear() % 100 + parseInt( twoDigitYearMax, 10 ) : twoDigitYearMax;
|
709
|
-
var curr = getEraYear( now, cal, era );
|
710
|
-
year += curr - ( curr % 100 );
|
711
|
-
if ( year > twoDigitYearMax ) {
|
712
|
-
year -= 100;
|
713
|
-
}
|
714
|
-
}
|
715
|
-
return year;
|
716
|
-
}
|
717
|
-
|
718
|
-
function getEra(date, eras) {
|
719
|
-
if ( !eras ) return 0;
|
720
|
-
var start, ticks = date.getTime();
|
721
|
-
for ( var i = 0, l = eras.length; i < l; i++ ) {
|
722
|
-
start = eras[ i ].start;
|
723
|
-
if ( start === null || ticks >= start ) {
|
724
|
-
return i;
|
725
|
-
}
|
726
|
-
}
|
727
|
-
return 0;
|
728
|
-
}
|
729
|
-
|
730
|
-
function toUpper(value) {
|
731
|
-
// 'he-IL' has non-breaking space in weekday names.
|
732
|
-
return value.split( "\u00A0" ).join(' ').toUpperCase();
|
733
|
-
}
|
734
|
-
|
735
|
-
function toUpperArray(arr) {
|
736
|
-
var results = [];
|
737
|
-
for ( var i = 0, l = arr.length; i < l; i++ ) {
|
738
|
-
results[i] = toUpper(arr[i]);
|
739
|
-
}
|
740
|
-
return results;
|
741
|
-
}
|
742
|
-
|
743
|
-
function getEraYear(date, cal, era, sortable) {
|
744
|
-
var year = date.getFullYear();
|
745
|
-
if ( !sortable && cal.eras ) {
|
746
|
-
// convert normal gregorian year to era-shifted gregorian
|
747
|
-
// year by subtracting the era offset
|
748
|
-
year -= cal.eras[ era ].offset;
|
749
|
-
}
|
750
|
-
return year;
|
751
|
-
}
|
752
|
-
|
753
|
-
function getDayIndex(cal, value, abbr) {
|
754
|
-
var ret,
|
755
|
-
days = cal.days,
|
756
|
-
upperDays = cal._upperDays;
|
757
|
-
if ( !upperDays ) {
|
758
|
-
cal._upperDays = upperDays = [
|
759
|
-
toUpperArray( days.names ),
|
760
|
-
toUpperArray( days.namesAbbr ),
|
761
|
-
toUpperArray( days.namesShort )
|
762
|
-
];
|
763
|
-
}
|
764
|
-
value = toUpper( value );
|
765
|
-
if ( abbr ) {
|
766
|
-
ret = arrayIndexOf( upperDays[ 1 ], value );
|
767
|
-
if ( ret === -1 ) {
|
768
|
-
ret = arrayIndexOf( upperDays[ 2 ], value );
|
769
|
-
}
|
770
|
-
}
|
771
|
-
else {
|
772
|
-
ret = arrayIndexOf( upperDays[ 0 ], value );
|
773
|
-
}
|
774
|
-
return ret;
|
775
|
-
}
|
776
|
-
|
777
|
-
function getMonthIndex(cal, value, abbr) {
|
778
|
-
var months = cal.months,
|
779
|
-
monthsGen = cal.monthsGenitive || cal.months,
|
780
|
-
upperMonths = cal._upperMonths,
|
781
|
-
upperMonthsGen = cal._upperMonthsGen;
|
782
|
-
if ( !upperMonths ) {
|
783
|
-
cal._upperMonths = upperMonths = [
|
784
|
-
toUpperArray( months.names ),
|
785
|
-
toUpperArray( months.namesAbbr )
|
786
|
-
];
|
787
|
-
cal._upperMonthsGen = upperMonthsGen = [
|
788
|
-
toUpperArray( monthsGen.names ),
|
789
|
-
toUpperArray( monthsGen.namesAbbr )
|
790
|
-
];
|
791
|
-
}
|
792
|
-
value = toUpper( value );
|
793
|
-
var i = arrayIndexOf( abbr ? upperMonths[ 1 ] : upperMonths[ 0 ], value );
|
794
|
-
if ( i < 0 ) {
|
795
|
-
i = arrayIndexOf( abbr ? upperMonthsGen[ 1 ] : upperMonthsGen[ 0 ], value );
|
796
|
-
}
|
797
|
-
return i;
|
798
|
-
}
|
799
|
-
|
800
|
-
function appendPreOrPostMatch(preMatch, strings) {
|
801
|
-
// appends pre- and post- token match strings while removing escaped characters.
|
802
|
-
// Returns a single quote count which is used to determine if the token occurs
|
803
|
-
// in a string literal.
|
804
|
-
var quoteCount = 0,
|
805
|
-
escaped = false;
|
806
|
-
for ( var i = 0, il = preMatch.length; i < il; i++ ) {
|
807
|
-
var c = preMatch.charAt( i );
|
808
|
-
switch ( c ) {
|
809
|
-
case '\'':
|
810
|
-
if ( escaped ) {
|
811
|
-
strings.push( "'" );
|
812
|
-
}
|
813
|
-
else {
|
814
|
-
quoteCount++;
|
815
|
-
}
|
816
|
-
escaped = false;
|
817
|
-
break;
|
818
|
-
case '\\':
|
819
|
-
if ( escaped ) {
|
820
|
-
strings.push( "\\" );
|
821
|
-
}
|
822
|
-
escaped = !escaped;
|
823
|
-
break;
|
824
|
-
default:
|
825
|
-
strings.push( c );
|
826
|
-
escaped = false;
|
827
|
-
break;
|
828
|
-
}
|
829
|
-
}
|
830
|
-
return quoteCount;
|
831
|
-
}
|
832
|
-
|
833
|
-
function expandFormat(cal, format) {
|
834
|
-
// expands unspecified or single character date formats into the full pattern.
|
835
|
-
format = format || "F";
|
836
|
-
var pattern,
|
837
|
-
patterns = cal.patterns,
|
838
|
-
len = format.length;
|
839
|
-
if ( len === 1 ) {
|
840
|
-
pattern = patterns[ format ];
|
841
|
-
if ( !pattern ) {
|
842
|
-
throw "Invalid date format string '" + format + "'.";
|
843
|
-
}
|
844
|
-
format = pattern;
|
845
|
-
}
|
846
|
-
else if ( len === 2 && format.charAt(0) === "%" ) {
|
847
|
-
// %X escape format -- intended as a custom format string that is only one character, not a built-in format.
|
848
|
-
format = format.charAt( 1 );
|
849
|
-
}
|
850
|
-
return format;
|
851
|
-
}
|
852
|
-
|
853
|
-
function getParseRegExp(cal, format) {
|
854
|
-
// converts a format string into a regular expression with groups that
|
855
|
-
// can be used to extract date fields from a date string.
|
856
|
-
// check for a cached parse regex.
|
857
|
-
var re = cal._parseRegExp;
|
858
|
-
if ( !re ) {
|
859
|
-
cal._parseRegExp = re = {};
|
860
|
-
}
|
861
|
-
else {
|
862
|
-
var reFormat = re[ format ];
|
863
|
-
if ( reFormat ) {
|
864
|
-
return reFormat;
|
865
|
-
}
|
866
|
-
}
|
867
|
-
|
868
|
-
// expand single digit formats, then escape regular expression characters.
|
869
|
-
var expFormat = expandFormat( cal, format ).replace( /([\^\$\.\*\+\?\|\[\]\(\)\{\}])/g, "\\\\$1" ),
|
870
|
-
regexp = ["^"],
|
871
|
-
groups = [],
|
872
|
-
index = 0,
|
873
|
-
quoteCount = 0,
|
874
|
-
tokenRegExp = getTokenRegExp(),
|
875
|
-
match;
|
876
|
-
|
877
|
-
// iterate through each date token found.
|
878
|
-
while ( (match = tokenRegExp.exec( expFormat )) !== null ) {
|
879
|
-
var preMatch = expFormat.slice( index, match.index );
|
880
|
-
index = tokenRegExp.lastIndex;
|
881
|
-
|
882
|
-
// don't replace any matches that occur inside a string literal.
|
883
|
-
quoteCount += appendPreOrPostMatch( preMatch, regexp );
|
884
|
-
if ( quoteCount % 2 ) {
|
885
|
-
regexp.push( match[ 0 ] );
|
886
|
-
continue;
|
887
|
-
}
|
888
|
-
|
889
|
-
// add a regex group for the token.
|
890
|
-
var m = match[ 0 ],
|
891
|
-
len = m.length,
|
892
|
-
add;
|
893
|
-
switch ( m ) {
|
894
|
-
case 'dddd': case 'ddd':
|
895
|
-
case 'MMMM': case 'MMM':
|
896
|
-
case 'gg': case 'g':
|
897
|
-
add = "(\\D+)";
|
898
|
-
break;
|
899
|
-
case 'tt': case 't':
|
900
|
-
add = "(\\D*)";
|
901
|
-
break;
|
902
|
-
case 'yyyy':
|
903
|
-
case 'fff':
|
904
|
-
case 'ff':
|
905
|
-
case 'f':
|
906
|
-
add = "(\\d{" + len + "})";
|
907
|
-
break;
|
908
|
-
case 'dd': case 'd':
|
909
|
-
case 'MM': case 'M':
|
910
|
-
case 'yy': case 'y':
|
911
|
-
case 'HH': case 'H':
|
912
|
-
case 'hh': case 'h':
|
913
|
-
case 'mm': case 'm':
|
914
|
-
case 'ss': case 's':
|
915
|
-
add = "(\\d\\d?)";
|
916
|
-
break;
|
917
|
-
case 'zzz':
|
918
|
-
add = "([+-]?\\d\\d?:\\d{2})";
|
919
|
-
break;
|
920
|
-
case 'zz': case 'z':
|
921
|
-
add = "([+-]?\\d\\d?)";
|
922
|
-
break;
|
923
|
-
case '/':
|
924
|
-
add = "(\\" + cal["/"] + ")";
|
925
|
-
break;
|
926
|
-
default:
|
927
|
-
throw "Invalid date format pattern '" + m + "'.";
|
928
|
-
break;
|
929
|
-
}
|
930
|
-
if ( add ) {
|
931
|
-
regexp.push( add );
|
932
|
-
}
|
933
|
-
groups.push( match[ 0 ] );
|
934
|
-
}
|
935
|
-
appendPreOrPostMatch( expFormat.slice( index ), regexp );
|
936
|
-
regexp.push( "$" );
|
937
|
-
|
938
|
-
// allow whitespace to differ when matching formats.
|
939
|
-
var regexpStr = regexp.join( '' ).replace( /\s+/g, "\\s+" ),
|
940
|
-
parseRegExp = {'regExp': regexpStr, 'groups': groups};
|
941
|
-
|
942
|
-
// cache the regex for this format.
|
943
|
-
return re[ format ] = parseRegExp;
|
944
|
-
}
|
945
|
-
|
946
|
-
function getTokenRegExp() {
|
947
|
-
// regular expression for matching date and time tokens in format strings.
|
948
|
-
return /\/|dddd|ddd|dd|d|MMMM|MMM|MM|M|yyyy|yy|y|hh|h|HH|H|mm|m|ss|s|tt|t|fff|ff|f|zzz|zz|z|gg|g/g;
|
949
|
-
}
|
950
|
-
|
951
|
-
function parseExact(value, format, culture) {
|
952
|
-
// try to parse the date string by matching against the format string
|
953
|
-
// while using the specified culture for date field names.
|
954
|
-
value = trim( value );
|
955
|
-
var cal = culture.calendar,
|
956
|
-
// convert date formats into regular expressions with groupings.
|
957
|
-
// use the regexp to determine the input format and extract the date fields.
|
958
|
-
parseInfo = getParseRegExp(cal, format),
|
959
|
-
match = new RegExp(parseInfo.regExp).exec(value);
|
960
|
-
if (match === null) {
|
961
|
-
return null;
|
962
|
-
}
|
963
|
-
// found a date format that matches the input.
|
964
|
-
var groups = parseInfo.groups,
|
965
|
-
era = null, year = null, month = null, date = null, weekDay = null,
|
966
|
-
hour = 0, hourOffset, min = 0, sec = 0, msec = 0, tzMinOffset = null,
|
967
|
-
pmHour = false;
|
968
|
-
// iterate the format groups to extract and set the date fields.
|
969
|
-
for ( var j = 0, jl = groups.length; j < jl; j++ ) {
|
970
|
-
var matchGroup = match[ j + 1 ];
|
971
|
-
if ( matchGroup ) {
|
972
|
-
var current = groups[ j ],
|
973
|
-
clength = current.length,
|
974
|
-
matchInt = parseInt( matchGroup, 10 );
|
975
|
-
switch ( current ) {
|
976
|
-
case 'dd': case 'd':
|
977
|
-
// Day of month.
|
978
|
-
date = matchInt;
|
979
|
-
// check that date is generally in valid range, also checking overflow below.
|
980
|
-
if ( outOfRange( date, 1, 31 ) ) return null;
|
981
|
-
break;
|
982
|
-
case 'MMM':
|
983
|
-
case 'MMMM':
|
984
|
-
month = getMonthIndex( cal, matchGroup, clength === 3 );
|
985
|
-
if ( outOfRange( month, 0, 11 ) ) return null;
|
986
|
-
break;
|
987
|
-
case 'M': case 'MM':
|
988
|
-
// Month.
|
989
|
-
month = matchInt - 1;
|
990
|
-
if ( outOfRange( month, 0, 11 ) ) return null;
|
991
|
-
break;
|
992
|
-
case 'y': case 'yy':
|
993
|
-
case 'yyyy':
|
994
|
-
year = clength < 4 ? expandYear( cal, matchInt ) : matchInt;
|
995
|
-
if ( outOfRange( year, 0, 9999 ) ) return null;
|
996
|
-
break;
|
997
|
-
case 'h': case 'hh':
|
998
|
-
// Hours (12-hour clock).
|
999
|
-
hour = matchInt;
|
1000
|
-
if ( hour === 12 ) hour = 0;
|
1001
|
-
if ( outOfRange( hour, 0, 11 ) ) return null;
|
1002
|
-
break;
|
1003
|
-
case 'H': case 'HH':
|
1004
|
-
// Hours (24-hour clock).
|
1005
|
-
hour = matchInt;
|
1006
|
-
if ( outOfRange( hour, 0, 23 ) ) return null;
|
1007
|
-
break;
|
1008
|
-
case 'm': case 'mm':
|
1009
|
-
// Minutes.
|
1010
|
-
min = matchInt;
|
1011
|
-
if ( outOfRange( min, 0, 59 ) ) return null;
|
1012
|
-
break;
|
1013
|
-
case 's': case 'ss':
|
1014
|
-
// Seconds.
|
1015
|
-
sec = matchInt;
|
1016
|
-
if ( outOfRange( sec, 0, 59 ) ) return null;
|
1017
|
-
break;
|
1018
|
-
case 'tt': case 't':
|
1019
|
-
// AM/PM designator.
|
1020
|
-
// see if it is standard, upper, or lower case PM. If not, ensure it is at least one of
|
1021
|
-
// the AM tokens. If not, fail the parse for this format.
|
1022
|
-
pmHour = cal.PM && ( matchGroup === cal.PM[0] || matchGroup === cal.PM[1] || matchGroup === cal.PM[2] );
|
1023
|
-
if ( !pmHour && ( !cal.AM || (matchGroup !== cal.AM[0] && matchGroup !== cal.AM[1] && matchGroup !== cal.AM[2]) ) ) return null;
|
1024
|
-
break;
|
1025
|
-
case 'f':
|
1026
|
-
// Deciseconds.
|
1027
|
-
case 'ff':
|
1028
|
-
// Centiseconds.
|
1029
|
-
case 'fff':
|
1030
|
-
// Milliseconds.
|
1031
|
-
msec = matchInt * Math.pow( 10, 3-clength );
|
1032
|
-
if ( outOfRange( msec, 0, 999 ) ) return null;
|
1033
|
-
break;
|
1034
|
-
case 'ddd':
|
1035
|
-
// Day of week.
|
1036
|
-
case 'dddd':
|
1037
|
-
// Day of week.
|
1038
|
-
weekDay = getDayIndex( cal, matchGroup, clength === 3 );
|
1039
|
-
if ( outOfRange( weekDay, 0, 6 ) ) return null;
|
1040
|
-
break;
|
1041
|
-
case 'zzz':
|
1042
|
-
// Time zone offset in +/- hours:min.
|
1043
|
-
var offsets = matchGroup.split( /:/ );
|
1044
|
-
if ( offsets.length !== 2 ) return null;
|
1045
|
-
hourOffset = parseInt( offsets[ 0 ], 10 );
|
1046
|
-
if ( outOfRange( hourOffset, -12, 13 ) ) return null;
|
1047
|
-
var minOffset = parseInt( offsets[ 1 ], 10 );
|
1048
|
-
if ( outOfRange( minOffset, 0, 59 ) ) return null;
|
1049
|
-
tzMinOffset = (hourOffset * 60) + (startsWith( matchGroup, '-' ) ? -minOffset : minOffset);
|
1050
|
-
break;
|
1051
|
-
case 'z': case 'zz':
|
1052
|
-
// Time zone offset in +/- hours.
|
1053
|
-
hourOffset = matchInt;
|
1054
|
-
if ( outOfRange( hourOffset, -12, 13 ) ) return null;
|
1055
|
-
tzMinOffset = hourOffset * 60;
|
1056
|
-
break;
|
1057
|
-
case 'g': case 'gg':
|
1058
|
-
var eraName = matchGroup;
|
1059
|
-
if ( !eraName || !cal.eras ) return null;
|
1060
|
-
eraName = trim( eraName.toLowerCase() );
|
1061
|
-
for ( var i = 0, l = cal.eras.length; i < l; i++ ) {
|
1062
|
-
if ( eraName === cal.eras[ i ].name.toLowerCase() ) {
|
1063
|
-
era = i;
|
1064
|
-
break;
|
1065
|
-
}
|
1066
|
-
}
|
1067
|
-
// could not find an era with that name
|
1068
|
-
if ( era === null ) return null;
|
1069
|
-
break;
|
1070
|
-
}
|
1071
|
-
}
|
1072
|
-
}
|
1073
|
-
var result = new Date(), defaultYear, convert = cal.convert;
|
1074
|
-
defaultYear = convert ? convert.fromGregorian( result )[ 0 ] : result.getFullYear();
|
1075
|
-
if ( year === null ) {
|
1076
|
-
year = defaultYear;
|
1077
|
-
}
|
1078
|
-
else if ( cal.eras ) {
|
1079
|
-
// year must be shifted to normal gregorian year
|
1080
|
-
// but not if year was not specified, its already normal gregorian
|
1081
|
-
// per the main if clause above.
|
1082
|
-
year += cal.eras[ (era || 0) ].offset;
|
1083
|
-
}
|
1084
|
-
// set default day and month to 1 and January, so if unspecified, these are the defaults
|
1085
|
-
// instead of the current day/month.
|
1086
|
-
if ( month === null ) {
|
1087
|
-
month = 0;
|
1088
|
-
}
|
1089
|
-
if ( date === null ) {
|
1090
|
-
date = 1;
|
1091
|
-
}
|
1092
|
-
// now have year, month, and date, but in the culture's calendar.
|
1093
|
-
// convert to gregorian if necessary
|
1094
|
-
if ( convert ) {
|
1095
|
-
result = convert.toGregorian( year, month, date );
|
1096
|
-
// conversion failed, must be an invalid match
|
1097
|
-
if ( result === null ) return null;
|
1098
|
-
}
|
1099
|
-
else {
|
1100
|
-
// have to set year, month and date together to avoid overflow based on current date.
|
1101
|
-
result.setFullYear( year, month, date );
|
1102
|
-
// check to see if date overflowed for specified month (only checked 1-31 above).
|
1103
|
-
if ( result.getDate() !== date ) return null;
|
1104
|
-
// invalid day of week.
|
1105
|
-
if ( weekDay !== null && result.getDay() !== weekDay ) {
|
1106
|
-
return null;
|
1107
|
-
}
|
1108
|
-
}
|
1109
|
-
// if pm designator token was found make sure the hours fit the 24-hour clock.
|
1110
|
-
if ( pmHour && hour < 12 ) {
|
1111
|
-
hour += 12;
|
1112
|
-
}
|
1113
|
-
result.setHours( hour, min, sec, msec );
|
1114
|
-
if ( tzMinOffset !== null ) {
|
1115
|
-
// adjust timezone to utc before applying local offset.
|
1116
|
-
var adjustedMin = result.getMinutes() - ( tzMinOffset + result.getTimezoneOffset() );
|
1117
|
-
// Safari limits hours and minutes to the range of -127 to 127. We need to use setHours
|
1118
|
-
// to ensure both these fields will not exceed this range. adjustedMin will range
|
1119
|
-
// somewhere between -1440 and 1500, so we only need to split this into hours.
|
1120
|
-
result.setHours( result.getHours() + parseInt( adjustedMin / 60, 10 ), adjustedMin % 60 );
|
1121
|
-
}
|
1122
|
-
return result;
|
1123
|
-
}
|
1124
|
-
|
1125
|
-
function formatDate(value, format, culture) {
|
1126
|
-
var cal = culture.calendar,
|
1127
|
-
convert = cal.convert;
|
1128
|
-
if ( !format || !format.length || format === 'i' ) {
|
1129
|
-
var ret;
|
1130
|
-
if ( culture && culture.name.length ) {
|
1131
|
-
if ( convert ) {
|
1132
|
-
// non-gregorian calendar, so we cannot use built-in toLocaleString()
|
1133
|
-
ret = formatDate( value, cal.patterns.F, culture );
|
1134
|
-
}
|
1135
|
-
else {
|
1136
|
-
var eraDate = new Date( value.getTime() ),
|
1137
|
-
era = getEra( value, cal.eras );
|
1138
|
-
eraDate.setFullYear( getEraYear( value, cal, era ) );
|
1139
|
-
ret = eraDate.toLocaleString();
|
1140
|
-
}
|
1141
|
-
}
|
1142
|
-
else {
|
1143
|
-
ret = value.toString();
|
1144
|
-
}
|
1145
|
-
return ret;
|
1146
|
-
}
|
1147
|
-
|
1148
|
-
var eras = cal.eras,
|
1149
|
-
sortable = format === "s";
|
1150
|
-
format = expandFormat( cal, format );
|
1151
|
-
|
1152
|
-
// Start with an empty string
|
1153
|
-
ret = [];
|
1154
|
-
var hour,
|
1155
|
-
zeros = ['0','00','000'],
|
1156
|
-
foundDay,
|
1157
|
-
checkedDay,
|
1158
|
-
dayPartRegExp = /([^d]|^)(d|dd)([^d]|$)/g,
|
1159
|
-
quoteCount = 0,
|
1160
|
-
tokenRegExp = getTokenRegExp(),
|
1161
|
-
converted;
|
1162
|
-
|
1163
|
-
function padZeros(num, c) {
|
1164
|
-
var r, s = num+'';
|
1165
|
-
if ( c > 1 && s.length < c ) {
|
1166
|
-
r = ( zeros[ c - 2 ] + s);
|
1167
|
-
return r.substr( r.length - c, c );
|
1168
|
-
}
|
1169
|
-
else {
|
1170
|
-
r = s;
|
1171
|
-
}
|
1172
|
-
return r;
|
1173
|
-
}
|
1174
|
-
|
1175
|
-
function hasDay() {
|
1176
|
-
if ( foundDay || checkedDay ) {
|
1177
|
-
return foundDay;
|
1178
|
-
}
|
1179
|
-
foundDay = dayPartRegExp.test( format );
|
1180
|
-
checkedDay = true;
|
1181
|
-
return foundDay;
|
1182
|
-
}
|
1183
|
-
|
1184
|
-
function getPart( date, part ) {
|
1185
|
-
if ( converted ) {
|
1186
|
-
return converted[ part ];
|
1187
|
-
}
|
1188
|
-
switch ( part ) {
|
1189
|
-
case 0: return date.getFullYear();
|
1190
|
-
case 1: return date.getMonth();
|
1191
|
-
case 2: return date.getDate();
|
1192
|
-
}
|
1193
|
-
}
|
1194
|
-
|
1195
|
-
if ( !sortable && convert ) {
|
1196
|
-
converted = convert.fromGregorian( value );
|
1197
|
-
}
|
1198
|
-
|
1199
|
-
for (;;) {
|
1200
|
-
// Save the current index
|
1201
|
-
var index = tokenRegExp.lastIndex,
|
1202
|
-
// Look for the next pattern
|
1203
|
-
ar = tokenRegExp.exec( format );
|
1204
|
-
|
1205
|
-
// Append the text before the pattern (or the end of the string if not found)
|
1206
|
-
var preMatch = format.slice( index, ar ? ar.index : format.length );
|
1207
|
-
quoteCount += appendPreOrPostMatch( preMatch, ret );
|
1208
|
-
|
1209
|
-
if ( !ar ) {
|
1210
|
-
break;
|
1211
|
-
}
|
1212
|
-
|
1213
|
-
// do not replace any matches that occur inside a string literal.
|
1214
|
-
if ( quoteCount % 2 ) {
|
1215
|
-
ret.push( ar[ 0 ] );
|
1216
|
-
continue;
|
1217
|
-
}
|
1218
|
-
|
1219
|
-
var current = ar[ 0 ],
|
1220
|
-
clength = current.length;
|
1221
|
-
|
1222
|
-
switch ( current ) {
|
1223
|
-
case "ddd":
|
1224
|
-
//Day of the week, as a three-letter abbreviation
|
1225
|
-
case "dddd":
|
1226
|
-
// Day of the week, using the full name
|
1227
|
-
names = (clength === 3) ? cal.days.namesAbbr : cal.days.names;
|
1228
|
-
ret.push( names[ value.getDay() ] );
|
1229
|
-
break;
|
1230
|
-
case "d":
|
1231
|
-
// Day of month, without leading zero for single-digit days
|
1232
|
-
case "dd":
|
1233
|
-
// Day of month, with leading zero for single-digit days
|
1234
|
-
foundDay = true;
|
1235
|
-
ret.push( padZeros( getPart( value, 2 ), clength ) );
|
1236
|
-
break;
|
1237
|
-
case "MMM":
|
1238
|
-
// Month, as a three-letter abbreviation
|
1239
|
-
case "MMMM":
|
1240
|
-
// Month, using the full name
|
1241
|
-
var part = getPart( value, 1 );
|
1242
|
-
ret.push( (cal.monthsGenitive && hasDay())
|
1243
|
-
? cal.monthsGenitive[ clength === 3 ? "namesAbbr" : "names" ][ part ]
|
1244
|
-
: cal.months[ clength === 3 ? "namesAbbr" : "names" ][ part ] );
|
1245
|
-
break;
|
1246
|
-
case "M":
|
1247
|
-
// Month, as digits, with no leading zero for single-digit months
|
1248
|
-
case "MM":
|
1249
|
-
// Month, as digits, with leading zero for single-digit months
|
1250
|
-
ret.push( padZeros( getPart( value, 1 ) + 1, clength ) );
|
1251
|
-
break;
|
1252
|
-
case "y":
|
1253
|
-
// Year, as two digits, but with no leading zero for years less than 10
|
1254
|
-
case "yy":
|
1255
|
-
// Year, as two digits, with leading zero for years less than 10
|
1256
|
-
case "yyyy":
|
1257
|
-
// Year represented by four full digits
|
1258
|
-
part = converted ? converted[ 0 ] : getEraYear( value, cal, getEra( value, eras ), sortable );
|
1259
|
-
if ( clength < 4 ) {
|
1260
|
-
part = part % 100;
|
1261
|
-
}
|
1262
|
-
ret.push( padZeros( part, clength ) );
|
1263
|
-
break;
|
1264
|
-
case "h":
|
1265
|
-
// Hours with no leading zero for single-digit hours, using 12-hour clock
|
1266
|
-
case "hh":
|
1267
|
-
// Hours with leading zero for single-digit hours, using 12-hour clock
|
1268
|
-
hour = value.getHours() % 12;
|
1269
|
-
if ( hour === 0 ) hour = 12;
|
1270
|
-
ret.push( padZeros( hour, clength ) );
|
1271
|
-
break;
|
1272
|
-
case "H":
|
1273
|
-
// Hours with no leading zero for single-digit hours, using 24-hour clock
|
1274
|
-
case "HH":
|
1275
|
-
// Hours with leading zero for single-digit hours, using 24-hour clock
|
1276
|
-
ret.push( padZeros( value.getHours(), clength ) );
|
1277
|
-
break;
|
1278
|
-
case "m":
|
1279
|
-
// Minutes with no leading zero for single-digit minutes
|
1280
|
-
case "mm":
|
1281
|
-
// Minutes with leading zero for single-digit minutes
|
1282
|
-
ret.push( padZeros( value.getMinutes(), clength ) );
|
1283
|
-
break;
|
1284
|
-
case "s":
|
1285
|
-
// Seconds with no leading zero for single-digit seconds
|
1286
|
-
case "ss":
|
1287
|
-
// Seconds with leading zero for single-digit seconds
|
1288
|
-
ret.push( padZeros(value .getSeconds(), clength ) );
|
1289
|
-
break;
|
1290
|
-
case "t":
|
1291
|
-
// One character am/pm indicator ("a" or "p")
|
1292
|
-
case "tt":
|
1293
|
-
// Multicharacter am/pm indicator
|
1294
|
-
part = value.getHours() < 12 ? (cal.AM ? cal.AM[0] : " ") : (cal.PM ? cal.PM[0] : " ");
|
1295
|
-
ret.push( clength === 1 ? part.charAt( 0 ) : part );
|
1296
|
-
break;
|
1297
|
-
case "f":
|
1298
|
-
// Deciseconds
|
1299
|
-
case "ff":
|
1300
|
-
// Centiseconds
|
1301
|
-
case "fff":
|
1302
|
-
// Milliseconds
|
1303
|
-
ret.push( padZeros( value.getMilliseconds(), 3 ).substr( 0, clength ) );
|
1304
|
-
break;
|
1305
|
-
case "z":
|
1306
|
-
// Time zone offset, no leading zero
|
1307
|
-
case "zz":
|
1308
|
-
// Time zone offset with leading zero
|
1309
|
-
hour = value.getTimezoneOffset() / 60;
|
1310
|
-
ret.push( (hour <= 0 ? '+' : '-') + padZeros( Math.floor( Math.abs( hour ) ), clength ) );
|
1311
|
-
break;
|
1312
|
-
case "zzz":
|
1313
|
-
// Time zone offset with leading zero
|
1314
|
-
hour = value.getTimezoneOffset() / 60;
|
1315
|
-
ret.push( (hour <= 0 ? '+' : '-') + padZeros( Math.floor( Math.abs( hour ) ), 2 ) +
|
1316
|
-
// Hard coded ":" separator, rather than using cal.TimeSeparator
|
1317
|
-
// Repeated here for consistency, plus ":" was already assumed in date parsing.
|
1318
|
-
":" + padZeros( Math.abs( value.getTimezoneOffset() % 60 ), 2 ) );
|
1319
|
-
break;
|
1320
|
-
case "g":
|
1321
|
-
case "gg":
|
1322
|
-
if ( cal.eras ) {
|
1323
|
-
ret.push( cal.eras[ getEra(value, eras) ].name );
|
1324
|
-
}
|
1325
|
-
break;
|
1326
|
-
case "/":
|
1327
|
-
ret.push( cal["/"] );
|
1328
|
-
break;
|
1329
|
-
default:
|
1330
|
-
throw "Invalid date format pattern '" + current + "'.";
|
1331
|
-
break;
|
1332
|
-
}
|
1333
|
-
}
|
1334
|
-
return ret.join( '' );
|
1335
|
-
}
|
1336
|
-
|
1337
|
-
// EXPORTS
|
1338
|
-
jQuery.global = Globalization;
|
1339
|
-
|
1340
|
-
})();
|
1341
|
-
|