survivalkit 0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1368) hide show
  1. data/CHANGELOG.markdown +4 -0
  2. data/README.markdown +81 -0
  3. data/VERSION +1 -0
  4. data/lib/survivalkit.rb +9 -0
  5. data/stylesheets/survivalkit/extend/_all.sass +1 -0
  6. data/stylesheets/survivalkit/extend/_helpers.sass +20 -0
  7. data/stylesheets/survivalkit/functions/_all.sass +3 -0
  8. data/stylesheets/survivalkit/functions/_calculations.sass +19 -0
  9. data/stylesheets/survivalkit/functions/_color.sass +7 -0
  10. data/stylesheets/survivalkit/functions/_modular-scale.sass +142 -0
  11. data/stylesheets/survivalkit/mixins/_all.sass +5 -0
  12. data/stylesheets/survivalkit/mixins/_helpers.sass +29 -0
  13. data/stylesheets/survivalkit/mixins/_layout.sass +19 -0
  14. data/stylesheets/survivalkit/mixins/_sfx.sass +199 -0
  15. data/stylesheets/survivalkit/mixins/_typography.sass +77 -0
  16. data/stylesheets/survivalkit/mixins/_ui.sass +49 -0
  17. data/stylesheets/survivalkit/readme.markdown +1 -0
  18. data/stylesheets/survivalkit/reset/_meyer-reset.sass +33 -0
  19. data/stylesheets/survivalkit/reset/_normalize.sass +345 -0
  20. data/stylesheets/survivalkit/reset/_reset.sass +18 -0
  21. data/stylesheets/survivalkit/survival_kit/_survival-kit.sass +52 -0
  22. data/stylesheets/survivalkit/variables/_all.sass +2 -0
  23. data/stylesheets/survivalkit/variables/_color_names.sass +149 -0
  24. data/stylesheets/survivalkit/variables/_color_schemes.sass +54 -0
  25. data/templates/project/files/apple-touch-icon.png +0 -0
  26. data/templates/project/files/crossdomain.xml +25 -0
  27. data/templates/project/files/favicon.ico +0 -0
  28. data/templates/project/files/google.yml +22 -0
  29. data/templates/project/files/htaccess.htaccess +478 -0
  30. data/templates/project/files/html/404.html +22 -0
  31. data/templates/project/files/html/formalize_jquery_demo.html +288 -0
  32. data/templates/project/files/html/formalize_jquery_disabled.html +288 -0
  33. data/templates/project/files/html/formalize_jquery_errors.html +288 -0
  34. data/templates/project/files/html/index.html +63 -0
  35. data/templates/project/files/html/survivalkit/elements-common.html +549 -0
  36. data/templates/project/files/html/survivalkit/elements-html5.html +2959 -0
  37. data/templates/project/files/html/survivalkit/elements-typography.html +196 -0
  38. data/templates/project/files/html/survivalkit/elements-ui-patterns-drupal.html +625 -0
  39. data/templates/project/files/html/survivalkit/elements-ui-patterns.html +151 -0
  40. data/templates/project/files/html/survivalkit/index.html +94 -0
  41. data/templates/project/files/html/survivalkit/styletile/index.html +1 -0
  42. data/templates/project/files/html/survivalkit/styletile/styletile.html +168 -0
  43. data/templates/project/files/humans.txt +43 -0
  44. data/templates/project/files/robots.txt +5 -0
  45. data/templates/project/ie.sass +3 -0
  46. data/templates/project/kit/kit-source.jquery.js +21 -0
  47. data/templates/project/libs/dd_belatedpng.js +13 -0
  48. data/templates/project/libs/formalize/README.txt +11 -0
  49. data/templates/project/libs/formalize/dojo.formalize.js +174 -0
  50. data/templates/project/libs/formalize/extjs.formalize.js +168 -0
  51. data/templates/project/libs/formalize/jquery.formalize.js +158 -0
  52. data/templates/project/libs/formalize/mootools.formalize.js +163 -0
  53. data/templates/project/libs/formalize/prototype.formalize.js +171 -0
  54. data/templates/project/libs/formalize/yui.formalize.js +168 -0
  55. data/templates/project/libs/jquery-1.6.js +8865 -0
  56. data/templates/project/libs/jquery-1.6.min.js +16 -0
  57. data/templates/project/libs/modernizr-2.0.min.js +4 -0
  58. data/templates/project/libs/mootools-core-1.3.1-full-compat-yc.js +485 -0
  59. data/templates/project/libs/plugins.js +16 -0
  60. data/templates/project/libs/respond.min.js +7 -0
  61. data/templates/project/libs/selectivizr.js +5 -0
  62. data/templates/project/manifest.rb +78 -0
  63. data/templates/project/partials/01-variables/_all.sass +6 -0
  64. data/templates/project/partials/01-variables/_base.sass +29 -0
  65. data/templates/project/partials/01-variables/_colors.sass +21 -0
  66. data/templates/project/partials/01-variables/_fonts.sass +22 -0
  67. data/templates/project/partials/01-variables/_grids-all.sass +10 -0
  68. data/templates/project/partials/02-extend/_all.sass +1 -0
  69. data/templates/project/partials/02-extend/_typography.sass +39 -0
  70. data/templates/project/partials/03-defaults/_all.sass +10 -0
  71. data/templates/project/partials/03-defaults/_common.sass +40 -0
  72. data/templates/project/partials/03-defaults/_font-face.sass +3 -0
  73. data/templates/project/partials/03-defaults/markup/_edits.sass +6 -0
  74. data/templates/project/partials/03-defaults/markup/_grouping.sass +52 -0
  75. data/templates/project/partials/03-defaults/markup/_headers.sass +33 -0
  76. data/templates/project/partials/03-defaults/markup/_images.sass +14 -0
  77. data/templates/project/partials/03-defaults/markup/_semantics.sass +104 -0
  78. data/templates/project/partials/03-defaults/markup/_tables.sass +48 -0
  79. data/templates/project/partials/03-defaults/markup/forms/_form-defaults.sass +67 -0
  80. data/templates/project/partials/03-defaults/markup/forms/_formalize.sass +261 -0
  81. data/templates/project/partials/04-grids/_grids-blueprint.sass +20 -0
  82. data/templates/project/partials/04-grids/_grids-susy.sass +38 -0
  83. data/templates/project/partials/05-ui-patterns/_common.sass +26 -0
  84. data/templates/project/partials/05-ui-patterns/drupal/_ui-patterns.sass +83 -0
  85. data/templates/project/partials/06-sprites/_sprites.sass +20 -0
  86. data/templates/project/partials/07-layout-design/_design.sass +6 -0
  87. data/templates/project/partials/07-layout-design/_layout.sass +8 -0
  88. data/templates/project/partials/08-styletile/_tile-design.sass +139 -0
  89. data/templates/project/partials/08-styletile/_tile-layout.sass +81 -0
  90. data/templates/project/partials/09-responsive/_responsive-blueprint.sass +139 -0
  91. data/templates/project/partials/09-responsive/_responsive-susy.sass +106 -0
  92. data/templates/project/partials/10-media/_print.sass +57 -0
  93. data/templates/project/partials/11-browser-adjustments/_ie.sass +26 -0
  94. data/templates/project/partials/11-browser-adjustments/_modernizr.sass +8 -0
  95. data/templates/project/partials/11-browser-adjustments/_selectivizr.sass +0 -0
  96. data/templates/project/partials/readme.markdown +3 -0
  97. data/templates/project/readme.markdown +3 -0
  98. data/templates/project/script.js +26 -0
  99. data/templates/project/selectivizr.sass +8 -0
  100. data/templates/project/sources/BigText/README.markdown +128 -0
  101. data/templates/project/sources/BigText/artifacts/output.html +32 -0
  102. data/templates/project/sources/BigText/bigtext.js +242 -0
  103. data/templates/project/sources/BigText/demo/bigtextWizard.css +129 -0
  104. data/templates/project/sources/BigText/demo/bigtextWizard.js +373 -0
  105. data/templates/project/sources/BigText/demo/css/flexbox.css +105 -0
  106. data/templates/project/sources/BigText/demo/css/images/button_bg.png +0 -0
  107. data/templates/project/sources/BigText/demo/css/images/datepicker.gif +0 -0
  108. data/templates/project/sources/BigText/demo/css/images/icon_sprite.png +0 -0
  109. data/templates/project/sources/BigText/demo/css/images/progress_bar.gif +0 -0
  110. data/templates/project/sources/BigText/demo/css/images/slider_h_bg.gif +0 -0
  111. data/templates/project/sources/BigText/demo/css/images/slider_handles.png +0 -0
  112. data/templates/project/sources/BigText/demo/css/images/slider_v_bg.gif +0 -0
  113. data/templates/project/sources/BigText/demo/css/images/the_gradient.gif +0 -0
  114. data/templates/project/sources/BigText/demo/css/images/ui-bg_flat_10_000000_40x100.png +0 -0
  115. data/templates/project/sources/BigText/demo/css/images/ui-bg_glass_100_f6f6f6_1x400.png +0 -0
  116. data/templates/project/sources/BigText/demo/css/images/ui-bg_glass_100_fdf5ce_1x400.png +0 -0
  117. data/templates/project/sources/BigText/demo/css/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  118. data/templates/project/sources/BigText/demo/css/images/ui-icons_222222_256x240.png +0 -0
  119. data/templates/project/sources/BigText/demo/css/images/ui-icons_228ef1_256x240.png +0 -0
  120. data/templates/project/sources/BigText/demo/css/images/ui-icons_ffffff_256x240.png +0 -0
  121. data/templates/project/sources/BigText/demo/css/jquery-ui-1.8rc3.custom.css +519 -0
  122. data/templates/project/sources/BigText/demo/css/league-gothic/League_Gothic-webfont.eot +0 -0
  123. data/templates/project/sources/BigText/demo/css/league-gothic/League_Gothic-webfont.svg +223 -0
  124. data/templates/project/sources/BigText/demo/css/league-gothic/League_Gothic-webfont.ttf +0 -0
  125. data/templates/project/sources/BigText/demo/css/league-gothic/League_Gothic-webfont.woff +0 -0
  126. data/templates/project/sources/BigText/demo/css/league-gothic/stylesheet.css +12 -0
  127. data/templates/project/sources/BigText/demo/index.html +95 -0
  128. data/templates/project/sources/BigText/demo/js/jquery.ba-throttle-debounce.js +252 -0
  129. data/templates/project/sources/BigText/demo/js/jquery.ba-throttle-debounce.min.js +9 -0
  130. data/templates/project/sources/BigText/demo/js/jquery.smartresize.js +41 -0
  131. data/templates/project/sources/BigText/demo/js/modernizr-1.6.js +892 -0
  132. data/templates/project/sources/BigText/demo/js/modernizr-1.6.min.js +30 -0
  133. data/templates/project/sources/BigText/demo/resizeDemoSmartResize.html +37 -0
  134. data/templates/project/sources/BigText/demo/resizeDemoThrottle.html +38 -0
  135. data/templates/project/sources/BigText/demo/simpleDemo.html +42 -0
  136. data/templates/project/sources/BigText/demo/simpleDemoDiv.html +26 -0
  137. data/templates/project/sources/BigText/test.bat +4 -0
  138. data/templates/project/sources/BigText/test.sh +5 -0
  139. data/templates/project/sources/BigText/test/bigtext.conf +6 -0
  140. data/templates/project/sources/BigText/test/bigtextTest.js +192 -0
  141. data/templates/project/sources/BigText/test/lib/JsTestDriver-1.2.2-custom.jar +0 -0
  142. data/templates/project/sources/BigText/test/lib/jquery-1.4.2.js +6240 -0
  143. data/templates/project/sources/BigText/test/lib/launch-safari.sh +4 -0
  144. data/templates/project/sources/Dynamic-Carousel/demo.html +92 -0
  145. data/templates/project/sources/Dynamic-Carousel/plugin.js +191 -0
  146. data/templates/project/sources/Dynamic-Carousel/readme.md +10 -0
  147. data/templates/project/sources/Geared-Scrolling/README.md +31 -0
  148. data/templates/project/sources/Geared-Scrolling/css/specific.css +88 -0
  149. data/templates/project/sources/Geared-Scrolling/images/col1.png +0 -0
  150. data/templates/project/sources/Geared-Scrolling/images/col2.png +0 -0
  151. data/templates/project/sources/Geared-Scrolling/images/col3.png +0 -0
  152. data/templates/project/sources/Geared-Scrolling/images/header.png +0 -0
  153. data/templates/project/sources/Geared-Scrolling/index.html +32 -0
  154. data/templates/project/sources/Geared-Scrolling/js/init.js +11 -0
  155. data/templates/project/sources/Geared-Scrolling/js/jquery.heyday.gearedscrolling.js +283 -0
  156. data/templates/project/sources/Lettering.js/README.md +58 -0
  157. data/templates/project/sources/Lettering.js/examples/index.html +135 -0
  158. data/templates/project/sources/Lettering.js/examples/style.css +171 -0
  159. data/templates/project/sources/Lettering.js/jquery.lettering.js +66 -0
  160. data/templates/project/sources/PaintbrushJS/common.js +245 -0
  161. data/templates/project/sources/PaintbrushJS/demo/css/playground.css +334 -0
  162. data/templates/project/sources/PaintbrushJS/demo/images/500/165.jpg +0 -0
  163. data/templates/project/sources/PaintbrushJS/demo/images/500/bee.jpg +0 -0
  164. data/templates/project/sources/PaintbrushJS/demo/images/500/bird.jpg +0 -0
  165. data/templates/project/sources/PaintbrushJS/demo/images/500/helmets.jpg +0 -0
  166. data/templates/project/sources/PaintbrushJS/demo/images/500/jordan.jpg +0 -0
  167. data/templates/project/sources/PaintbrushJS/demo/images/500/leaves.jpg +0 -0
  168. data/templates/project/sources/PaintbrushJS/demo/images/500/lighthouse.jpg +0 -0
  169. data/templates/project/sources/PaintbrushJS/demo/images/500/louvre.jpg +0 -0
  170. data/templates/project/sources/PaintbrushJS/demo/images/500/pods.jpg +0 -0
  171. data/templates/project/sources/PaintbrushJS/demo/images/500/redbarn.jpg +0 -0
  172. data/templates/project/sources/PaintbrushJS/demo/images/500/road.jpg +0 -0
  173. data/templates/project/sources/PaintbrushJS/demo/images/500/sign.jpg +0 -0
  174. data/templates/project/sources/PaintbrushJS/demo/images/500/staples.jpg +0 -0
  175. data/templates/project/sources/PaintbrushJS/demo/images/500/stones.jpg +0 -0
  176. data/templates/project/sources/PaintbrushJS/demo/images/500/tear.jpg +0 -0
  177. data/templates/project/sources/PaintbrushJS/demo/images/500/window.jpg +0 -0
  178. data/templates/project/sources/PaintbrushJS/demo/images/bg.png +0 -0
  179. data/templates/project/sources/PaintbrushJS/demo/images/site/bg-highlight.png +0 -0
  180. data/templates/project/sources/PaintbrushJS/demo/images/site/bg.jpg +0 -0
  181. data/templates/project/sources/PaintbrushJS/demo/images/site/byline.png +0 -0
  182. data/templates/project/sources/PaintbrushJS/demo/images/site/current.png +0 -0
  183. data/templates/project/sources/PaintbrushJS/demo/images/site/divider.png +0 -0
  184. data/templates/project/sources/PaintbrushJS/demo/images/site/forkme.png +0 -0
  185. data/templates/project/sources/PaintbrushJS/demo/images/site/heading.png +0 -0
  186. data/templates/project/sources/PaintbrushJS/demo/index.html +171 -0
  187. data/templates/project/sources/PaintbrushJS/demo/script/common.js +245 -0
  188. data/templates/project/sources/PaintbrushJS/demo/script/paintbrush.js +607 -0
  189. data/templates/project/sources/PaintbrushJS/demo/script/playground.js +357 -0
  190. data/templates/project/sources/PaintbrushJS/demo/script/timing.js +23 -0
  191. data/templates/project/sources/PaintbrushJS/demo/usage.html +183 -0
  192. data/templates/project/sources/PaintbrushJS/paintbrush.js +595 -0
  193. data/templates/project/sources/Respond/README.md +76 -0
  194. data/templates/project/sources/Respond/respond.min.js +2 -0
  195. data/templates/project/sources/Respond/respond.src.js +286 -0
  196. data/templates/project/sources/Respond/test/test.css +61 -0
  197. data/templates/project/sources/Respond/test/test.html +20 -0
  198. data/templates/project/sources/Respond/test/test2.css +8 -0
  199. data/templates/project/sources/Respond/test/unit/index.html +28 -0
  200. data/templates/project/sources/Respond/test/unit/test.css +56 -0
  201. data/templates/project/sources/Respond/test/unit/test2.css +5 -0
  202. data/templates/project/sources/Respond/test/unit/tests.js +97 -0
  203. data/templates/project/sources/Sticky-Footer-jQuery-Plugin/README.md +27 -0
  204. data/templates/project/sources/Sticky-Footer-jQuery-Plugin/jquery.heyday.stickyfooter.js +154 -0
  205. data/templates/project/sources/flexie/README.md +142 -0
  206. data/templates/project/sources/flexie/demo/css/box-flex.css +30 -0
  207. data/templates/project/sources/flexie/demo/index.html +108 -0
  208. data/templates/project/sources/flexie/dist/flexie.min.js +33 -0
  209. data/templates/project/sources/flexie/src/flexie.js +1872 -0
  210. data/templates/project/sources/flexie/test/css/demo.css +34 -0
  211. data/templates/project/sources/flexie/test/css/test.css +141 -0
  212. data/templates/project/sources/flexie/test/index.html +54 -0
  213. data/templates/project/sources/flexie/vendor/google-compiler/compiler.jar +0 -0
  214. data/templates/project/sources/flexie/vendor/yuicompressor/yuicompressor-2.4.2.jar +0 -0
  215. data/templates/project/sources/flickrbomb/css/app.css +41 -0
  216. data/templates/project/sources/flickrbomb/css/flickrbomb.css +38 -0
  217. data/templates/project/sources/flickrbomb/css/global.css +0 -0
  218. data/templates/project/sources/flickrbomb/demo.html +169 -0
  219. data/templates/project/sources/flickrbomb/images/bg-clouds.jpg +0 -0
  220. data/templates/project/sources/flickrbomb/images/bg-ground.jpg +0 -0
  221. data/templates/project/sources/flickrbomb/images/bomb.png +0 -0
  222. data/templates/project/sources/flickrbomb/images/bomber.jpg +0 -0
  223. data/templates/project/sources/flickrbomb/images/old.gif +0 -0
  224. data/templates/project/sources/flickrbomb/images/setupIcon.png +0 -0
  225. data/templates/project/sources/flickrbomb/js/app.js +28 -0
  226. data/templates/project/sources/flickrbomb/js/backbone-localstorage.js +94 -0
  227. data/templates/project/sources/flickrbomb/js/backbone.js +1011 -0
  228. data/templates/project/sources/flickrbomb/js/flickrbomb-demo.js +310 -0
  229. data/templates/project/sources/flickrbomb/js/flickrbomb.js +307 -0
  230. data/templates/project/sources/flickrbomb/js/underscore.js +713 -0
  231. data/templates/project/sources/formalize/README.txt +23 -0
  232. data/templates/project/sources/formalize/assets/css/_formalize.sass +274 -0
  233. data/templates/project/sources/formalize/assets/css/demo.css +47 -0
  234. data/templates/project/sources/formalize/assets/css/formalize.css +311 -0
  235. data/templates/project/sources/formalize/assets/css/reset.css +171 -0
  236. data/templates/project/sources/formalize/assets/css/text.css +81 -0
  237. data/templates/project/sources/formalize/assets/images/button.png +0 -0
  238. data/templates/project/sources/formalize/assets/images/select_arrow.gif +0 -0
  239. data/templates/project/sources/formalize/assets/js/dojo.formalize.js +174 -0
  240. data/templates/project/sources/formalize/assets/js/dojo.formalize.min.js +1 -0
  241. data/templates/project/sources/formalize/assets/js/extjs.formalize.js +168 -0
  242. data/templates/project/sources/formalize/assets/js/extjs.formalize.min.js +1 -0
  243. data/templates/project/sources/formalize/assets/js/jquery.formalize.js +158 -0
  244. data/templates/project/sources/formalize/assets/js/jquery.formalize.min.js +1 -0
  245. data/templates/project/sources/formalize/assets/js/mootools.formalize.js +163 -0
  246. data/templates/project/sources/formalize/assets/js/mootools.formalize.min.js +1 -0
  247. data/templates/project/sources/formalize/assets/js/prototype.formalize.js +171 -0
  248. data/templates/project/sources/formalize/assets/js/prototype.formalize.min.js +1 -0
  249. data/templates/project/sources/formalize/assets/js/yui.formalize.js +168 -0
  250. data/templates/project/sources/formalize/assets/js/yui.formalize.min.js +1 -0
  251. data/templates/project/sources/formalize/demo.html +144 -0
  252. data/templates/project/sources/formalize/dojo_demo.html +213 -0
  253. data/templates/project/sources/formalize/dojo_disabled.html +213 -0
  254. data/templates/project/sources/formalize/dojo_errors.html +213 -0
  255. data/templates/project/sources/formalize/extjs_demo.html +213 -0
  256. data/templates/project/sources/formalize/extjs_disabled.html +213 -0
  257. data/templates/project/sources/formalize/extjs_errors.html +213 -0
  258. data/templates/project/sources/formalize/jquery_demo.html +213 -0
  259. data/templates/project/sources/formalize/jquery_disabled.html +213 -0
  260. data/templates/project/sources/formalize/jquery_errors.html +213 -0
  261. data/templates/project/sources/formalize/mootools_demo.html +213 -0
  262. data/templates/project/sources/formalize/mootools_disabled.html +213 -0
  263. data/templates/project/sources/formalize/mootools_errors.html +213 -0
  264. data/templates/project/sources/formalize/prototype_demo.html +213 -0
  265. data/templates/project/sources/formalize/prototype_disabled.html +213 -0
  266. data/templates/project/sources/formalize/prototype_errors.html +213 -0
  267. data/templates/project/sources/formalize/unstyled.html +210 -0
  268. data/templates/project/sources/formalize/yui_demo.html +213 -0
  269. data/templates/project/sources/formalize/yui_disabled.html +213 -0
  270. data/templates/project/sources/formalize/yui_errors.html +213 -0
  271. data/templates/project/sources/html5-boilerplate/404.html +38 -0
  272. data/templates/project/sources/html5-boilerplate/README.md +228 -0
  273. data/templates/project/sources/html5-boilerplate/apple-touch-icon-114x114-precomposed.png +0 -0
  274. data/templates/project/sources/html5-boilerplate/apple-touch-icon-57x57-precomposed.png +0 -0
  275. data/templates/project/sources/html5-boilerplate/apple-touch-icon-72x72-precomposed.png +0 -0
  276. data/templates/project/sources/html5-boilerplate/apple-touch-icon-precomposed.png +0 -0
  277. data/templates/project/sources/html5-boilerplate/apple-touch-icon.png +0 -0
  278. data/templates/project/sources/html5-boilerplate/build/build.xml +821 -0
  279. data/templates/project/sources/html5-boilerplate/build/config/default.properties +80 -0
  280. data/templates/project/sources/html5-boilerplate/build/config/project.properties +56 -0
  281. data/templates/project/sources/html5-boilerplate/build/createproject.sh +50 -0
  282. data/templates/project/sources/html5-boilerplate/build/runbuildscript.bat +5 -0
  283. data/templates/project/sources/html5-boilerplate/build/tools/ant-contrib-1.0b3.jar +0 -0
  284. data/templates/project/sources/html5-boilerplate/build/tools/htmlcompressor-1.1.jar +0 -0
  285. data/templates/project/sources/html5-boilerplate/build/tools/jpegtran.exe +0 -0
  286. data/templates/project/sources/html5-boilerplate/build/tools/optipng-0.6.4-exe/LICENSE.txt +21 -0
  287. data/templates/project/sources/html5-boilerplate/build/tools/optipng-0.6.4-exe/optipng.exe +0 -0
  288. data/templates/project/sources/html5-boilerplate/build/tools/yuicompressor-2.4.5.jar +0 -0
  289. data/templates/project/sources/html5-boilerplate/crossdomain.xml +25 -0
  290. data/templates/project/sources/html5-boilerplate/css/handheld.css +8 -0
  291. data/templates/project/sources/html5-boilerplate/css/style.css +263 -0
  292. data/templates/project/sources/html5-boilerplate/demo/elements.html +531 -0
  293. data/templates/project/sources/html5-boilerplate/demo/hack.css +85 -0
  294. data/templates/project/sources/html5-boilerplate/demo/hack2.css +41 -0
  295. data/templates/project/sources/html5-boilerplate/demo/internet_explorer.png +0 -0
  296. data/templates/project/sources/html5-boilerplate/demo/test_tubes.png +0 -0
  297. data/templates/project/sources/html5-boilerplate/demo/tests.html +313 -0
  298. data/templates/project/sources/html5-boilerplate/favicon.ico +0 -0
  299. data/templates/project/sources/html5-boilerplate/humans.txt +43 -0
  300. data/templates/project/sources/html5-boilerplate/index.html +80 -0
  301. data/templates/project/sources/html5-boilerplate/js/libs/dd_belatedpng.js +13 -0
  302. data/templates/project/sources/html5-boilerplate/js/libs/jquery-1.5.2.js +8374 -0
  303. data/templates/project/sources/html5-boilerplate/js/libs/jquery-1.5.2.min.js +16 -0
  304. data/templates/project/sources/html5-boilerplate/js/libs/modernizr-1.7.min.js +2 -0
  305. data/templates/project/sources/html5-boilerplate/js/plugins.js +16 -0
  306. data/templates/project/sources/html5-boilerplate/js/script.js +26 -0
  307. data/templates/project/sources/html5-boilerplate/robots.txt +5 -0
  308. data/templates/project/sources/html5-boilerplate/test/index.html +31 -0
  309. data/templates/project/sources/html5-boilerplate/test/qunit/qunit.css +148 -0
  310. data/templates/project/sources/html5-boilerplate/test/qunit/qunit.js +1265 -0
  311. data/templates/project/sources/html5-boilerplate/test/tests.js +27 -0
  312. data/templates/project/sources/iSwipe-jQuery-Plugin/README.md +26 -0
  313. data/templates/project/sources/iSwipe-jQuery-Plugin/jquery.heyday.iswipe.js +126 -0
  314. data/templates/project/sources/infinite-scroll/ajax-loader.gif +0 -0
  315. data/templates/project/sources/infinite-scroll/jquery.infinitescroll.js +425 -0
  316. data/templates/project/sources/infinite-scroll/jquery.infinitescroll.min.js +8 -0
  317. data/templates/project/sources/infinite-scroll/site/assets/anivers_regular.otf +0 -0
  318. data/templates/project/sources/infinite-scroll/site/assets/buttons.psd +0 -0
  319. data/templates/project/sources/infinite-scroll/site/assets/logo.psd +0 -0
  320. data/templates/project/sources/infinite-scroll/site/assets/mobius-strip2.ai +2266 -15
  321. data/templates/project/sources/infinite-scroll/site/assets/pattern.psd +0 -0
  322. data/templates/project/sources/infinite-scroll/site/assets/selector spots.psd +0 -0
  323. data/templates/project/sources/infinite-scroll/site/assets/sites.psd +0 -0
  324. data/templates/project/sources/infinite-scroll/site/buttons.png +0 -0
  325. data/templates/project/sources/infinite-scroll/site/infinite-scroll-pattern.gif +0 -0
  326. data/templates/project/sources/infinite-scroll/site/logo.jpg +0 -0
  327. data/templates/project/sources/infinite-scroll/site/screens.jpg +0 -0
  328. data/templates/project/sources/infinite-scroll/site/selectors.jpg +0 -0
  329. data/templates/project/sources/infinite-scroll/test/test-loadingmsg.html +121 -0
  330. data/templates/project/sources/infinite-scroll/test/test.html +120 -0
  331. data/templates/project/sources/infinite-scroll/test/test2.html +70 -0
  332. data/templates/project/sources/infinite-scroll/test/test3.html +68 -0
  333. data/templates/project/sources/infinite-scroll/test/trigger.html +140 -0
  334. data/templates/project/sources/infinite-scroll/test/trigger2.html +80 -0
  335. data/templates/project/sources/infinite-scroll/test/trigger3.html +80 -0
  336. data/templates/project/sources/infinite-scroll/wp_infinite_scroll.php +454 -0
  337. data/templates/project/sources/jquery-lightbox/LICENSE.txt +30 -0
  338. data/templates/project/sources/jquery-lightbox/README.markdown +8 -0
  339. data/templates/project/sources/jquery-lightbox/css/lightbox.css +129 -0
  340. data/templates/project/sources/jquery-lightbox/images/blank.gif +0 -0
  341. data/templates/project/sources/jquery-lightbox/images/close.gif +0 -0
  342. data/templates/project/sources/jquery-lightbox/images/closelabel.gif +0 -0
  343. data/templates/project/sources/jquery-lightbox/images/image-0.jpg +0 -0
  344. data/templates/project/sources/jquery-lightbox/images/image-1.jpg +0 -0
  345. data/templates/project/sources/jquery-lightbox/images/image-2.jpg +0 -0
  346. data/templates/project/sources/jquery-lightbox/images/image-3.jpg +0 -0
  347. data/templates/project/sources/jquery-lightbox/images/loading.gif +0 -0
  348. data/templates/project/sources/jquery-lightbox/images/next.gif +0 -0
  349. data/templates/project/sources/jquery-lightbox/images/nextlabel.gif +0 -0
  350. data/templates/project/sources/jquery-lightbox/images/prev.gif +0 -0
  351. data/templates/project/sources/jquery-lightbox/images/prevlabel.gif +0 -0
  352. data/templates/project/sources/jquery-lightbox/images/thumb-0.jpg +0 -0
  353. data/templates/project/sources/jquery-lightbox/images/thumb-1.jpg +0 -0
  354. data/templates/project/sources/jquery-lightbox/images/thumb-2.jpg +0 -0
  355. data/templates/project/sources/jquery-lightbox/images/thumb-3.jpg +0 -0
  356. data/templates/project/sources/jquery-lightbox/index.html +102 -0
  357. data/templates/project/sources/jquery-lightbox/jquery.lightbox.js +515 -0
  358. data/templates/project/sources/jquery-ui/AUTHORS.txt +30 -0
  359. data/templates/project/sources/jquery-ui/GPL-LICENSE.txt +278 -0
  360. data/templates/project/sources/jquery-ui/MIT-LICENSE.txt +25 -0
  361. data/templates/project/sources/jquery-ui/README.md +9 -0
  362. data/templates/project/sources/jquery-ui/build/build.xml +392 -0
  363. data/templates/project/sources/jquery-ui/build/build/ant-contrib-0.6.jar +0 -0
  364. data/templates/project/sources/jquery-ui/build/build/google-compiler-20110320.jar +0 -0
  365. data/templates/project/sources/jquery-ui/build/build/style.xsl +211 -0
  366. data/templates/project/sources/jquery-ui/build/build/yuicompressor-2.4.2.jar +0 -0
  367. data/templates/project/sources/jquery-ui/demos/accordion/collapsible.html +57 -0
  368. data/templates/project/sources/jquery-ui/demos/accordion/custom-icons.html +69 -0
  369. data/templates/project/sources/jquery-ui/demos/accordion/default.html +85 -0
  370. data/templates/project/sources/jquery-ui/demos/accordion/fillspace.html +77 -0
  371. data/templates/project/sources/jquery-ui/demos/accordion/hoverintent.html +134 -0
  372. data/templates/project/sources/jquery-ui/demos/accordion/index.html +25 -0
  373. data/templates/project/sources/jquery-ui/demos/accordion/mouseover.html +57 -0
  374. data/templates/project/sources/jquery-ui/demos/accordion/no-auto-height.html +58 -0
  375. data/templates/project/sources/jquery-ui/demos/accordion/sortable.html +83 -0
  376. data/templates/project/sources/jquery-ui/demos/addClass/default.html +52 -0
  377. data/templates/project/sources/jquery-ui/demos/addClass/index.html +18 -0
  378. data/templates/project/sources/jquery-ui/demos/animate/default.html +61 -0
  379. data/templates/project/sources/jquery-ui/demos/animate/index.html +18 -0
  380. data/templates/project/sources/jquery-ui/demos/autocomplete/categories.html +72 -0
  381. data/templates/project/sources/jquery-ui/demos/autocomplete/combobox.html +195 -0
  382. data/templates/project/sources/jquery-ui/demos/autocomplete/custom-data.html +96 -0
  383. data/templates/project/sources/jquery-ui/demos/autocomplete/default.html +65 -0
  384. data/templates/project/sources/jquery-ui/demos/autocomplete/folding.html +63 -0
  385. data/templates/project/sources/jquery-ui/demos/autocomplete/images/jquery_32x32.png +0 -0
  386. data/templates/project/sources/jquery-ui/demos/autocomplete/images/jqueryui_32x32.png +0 -0
  387. data/templates/project/sources/jquery-ui/demos/autocomplete/images/sizzlejs_32x32.png +0 -0
  388. data/templates/project/sources/jquery-ui/demos/autocomplete/images/transparent_1x1.png +0 -0
  389. data/templates/project/sources/jquery-ui/demos/autocomplete/images/ui-anim_basic_16x16.gif +0 -0
  390. data/templates/project/sources/jquery-ui/demos/autocomplete/index.html +27 -0
  391. data/templates/project/sources/jquery-ui/demos/autocomplete/london.xml +114 -0
  392. data/templates/project/sources/jquery-ui/demos/autocomplete/maxheight.html +79 -0
  393. data/templates/project/sources/jquery-ui/demos/autocomplete/multiple-remote.html +85 -0
  394. data/templates/project/sources/jquery-ui/demos/autocomplete/multiple.html +100 -0
  395. data/templates/project/sources/jquery-ui/demos/autocomplete/remote-jsonp.html +87 -0
  396. data/templates/project/sources/jquery-ui/demos/autocomplete/remote-with-cache.html +60 -0
  397. data/templates/project/sources/jquery-ui/demos/autocomplete/remote.html +60 -0
  398. data/templates/project/sources/jquery-ui/demos/autocomplete/search.php +588 -0
  399. data/templates/project/sources/jquery-ui/demos/autocomplete/xml.html +73 -0
  400. data/templates/project/sources/jquery-ui/demos/button/checkbox.html +44 -0
  401. data/templates/project/sources/jquery-ui/demos/button/default.html +38 -0
  402. data/templates/project/sources/jquery-ui/demos/button/icons.html +56 -0
  403. data/templates/project/sources/jquery-ui/demos/button/index.html +23 -0
  404. data/templates/project/sources/jquery-ui/demos/button/radio.html +39 -0
  405. data/templates/project/sources/jquery-ui/demos/button/splitbutton.html +78 -0
  406. data/templates/project/sources/jquery-ui/demos/button/toolbar.html +120 -0
  407. data/templates/project/sources/jquery-ui/demos/datepicker/alt-field.html +36 -0
  408. data/templates/project/sources/jquery-ui/demos/datepicker/animation.html +58 -0
  409. data/templates/project/sources/jquery-ui/demos/datepicker/buttonbar.html +35 -0
  410. data/templates/project/sources/jquery-ui/demos/datepicker/date-formats.html +47 -0
  411. data/templates/project/sources/jquery-ui/demos/datepicker/date-range.html +49 -0
  412. data/templates/project/sources/jquery-ui/demos/datepicker/default.html +33 -0
  413. data/templates/project/sources/jquery-ui/demos/datepicker/dropdown-month-year.html +36 -0
  414. data/templates/project/sources/jquery-ui/demos/datepicker/icon-trigger.html +37 -0
  415. data/templates/project/sources/jquery-ui/demos/datepicker/images/calendar.gif +0 -0
  416. data/templates/project/sources/jquery-ui/demos/datepicker/index.html +31 -0
  417. data/templates/project/sources/jquery-ui/demos/datepicker/inline.html +33 -0
  418. data/templates/project/sources/jquery-ui/demos/datepicker/localization.html +162 -0
  419. data/templates/project/sources/jquery-ui/demos/datepicker/min-max.html +33 -0
  420. data/templates/project/sources/jquery-ui/demos/datepicker/multiple-calendars.html +36 -0
  421. data/templates/project/sources/jquery-ui/demos/datepicker/other-months.html +37 -0
  422. data/templates/project/sources/jquery-ui/demos/datepicker/show-week.html +39 -0
  423. data/templates/project/sources/jquery-ui/demos/demos.css +334 -0
  424. data/templates/project/sources/jquery-ui/demos/dialog/animated.html +56 -0
  425. data/templates/project/sources/jquery-ui/demos/dialog/default.html +54 -0
  426. data/templates/project/sources/jquery-ui/demos/dialog/index.html +23 -0
  427. data/templates/project/sources/jquery-ui/demos/dialog/modal-confirmation.html +69 -0
  428. data/templates/project/sources/jquery-ui/demos/dialog/modal-form.html +167 -0
  429. data/templates/project/sources/jquery-ui/demos/dialog/modal-message.html +71 -0
  430. data/templates/project/sources/jquery-ui/demos/dialog/modal.html +60 -0
  431. data/templates/project/sources/jquery-ui/demos/draggable/constrain-movement.html +69 -0
  432. data/templates/project/sources/jquery-ui/demos/draggable/cursor-style.html +49 -0
  433. data/templates/project/sources/jquery-ui/demos/draggable/default.html +39 -0
  434. data/templates/project/sources/jquery-ui/demos/draggable/delay-start.html +45 -0
  435. data/templates/project/sources/jquery-ui/demos/draggable/events.html +77 -0
  436. data/templates/project/sources/jquery-ui/demos/draggable/handle.html +50 -0
  437. data/templates/project/sources/jquery-ui/demos/draggable/index.html +28 -0
  438. data/templates/project/sources/jquery-ui/demos/draggable/revert.html +44 -0
  439. data/templates/project/sources/jquery-ui/demos/draggable/scroll.html +51 -0
  440. data/templates/project/sources/jquery-ui/demos/draggable/snap-to.html +68 -0
  441. data/templates/project/sources/jquery-ui/demos/draggable/sortable.html +57 -0
  442. data/templates/project/sources/jquery-ui/demos/draggable/visual-feedback.html +77 -0
  443. data/templates/project/sources/jquery-ui/demos/droppable/accepted-elements.html +60 -0
  444. data/templates/project/sources/jquery-ui/demos/droppable/default.html +53 -0
  445. data/templates/project/sources/jquery-ui/demos/droppable/images/high_tatras.jpg +0 -0
  446. data/templates/project/sources/jquery-ui/demos/droppable/images/high_tatras2.jpg +0 -0
  447. data/templates/project/sources/jquery-ui/demos/droppable/images/high_tatras2_min.jpg +0 -0
  448. data/templates/project/sources/jquery-ui/demos/droppable/images/high_tatras3.jpg +0 -0
  449. data/templates/project/sources/jquery-ui/demos/droppable/images/high_tatras3_min.jpg +0 -0
  450. data/templates/project/sources/jquery-ui/demos/droppable/images/high_tatras4.jpg +0 -0
  451. data/templates/project/sources/jquery-ui/demos/droppable/images/high_tatras4_min.jpg +0 -0
  452. data/templates/project/sources/jquery-ui/demos/droppable/images/high_tatras_min.jpg +0 -0
  453. data/templates/project/sources/jquery-ui/demos/droppable/index.html +24 -0
  454. data/templates/project/sources/jquery-ui/demos/droppable/photo-manager.html +184 -0
  455. data/templates/project/sources/jquery-ui/demos/droppable/propagation.html +80 -0
  456. data/templates/project/sources/jquery-ui/demos/droppable/revert.html +61 -0
  457. data/templates/project/sources/jquery-ui/demos/droppable/shopping-cart.html +101 -0
  458. data/templates/project/sources/jquery-ui/demos/droppable/visual-feedback.html +78 -0
  459. data/templates/project/sources/jquery-ui/demos/effect/default.html +109 -0
  460. data/templates/project/sources/jquery-ui/demos/effect/easing.html +108 -0
  461. data/templates/project/sources/jquery-ui/demos/effect/index.html +19 -0
  462. data/templates/project/sources/jquery-ui/demos/hide/default.html +102 -0
  463. data/templates/project/sources/jquery-ui/demos/hide/index.html +18 -0
  464. data/templates/project/sources/jquery-ui/demos/images/calendar.gif +0 -0
  465. data/templates/project/sources/jquery-ui/demos/images/demo-config-on-tile.gif +0 -0
  466. data/templates/project/sources/jquery-ui/demos/images/demo-config-on.gif +0 -0
  467. data/templates/project/sources/jquery-ui/demos/images/demo-spindown-closed.gif +0 -0
  468. data/templates/project/sources/jquery-ui/demos/images/demo-spindown-open.gif +0 -0
  469. data/templates/project/sources/jquery-ui/demos/images/icon-docs-info.gif +0 -0
  470. data/templates/project/sources/jquery-ui/demos/images/pbar-ani.gif +0 -0
  471. data/templates/project/sources/jquery-ui/demos/index.html +329 -0
  472. data/templates/project/sources/jquery-ui/demos/menu/contextmenu.html +81 -0
  473. data/templates/project/sources/jquery-ui/demos/menu/default.html +54 -0
  474. data/templates/project/sources/jquery-ui/demos/menu/index.html +17 -0
  475. data/templates/project/sources/jquery-ui/demos/position/cycler.html +120 -0
  476. data/templates/project/sources/jquery-ui/demos/position/default.html +153 -0
  477. data/templates/project/sources/jquery-ui/demos/position/images/earth.jpg +0 -0
  478. data/templates/project/sources/jquery-ui/demos/position/images/flight.jpg +0 -0
  479. data/templates/project/sources/jquery-ui/demos/position/images/rocket.jpg +0 -0
  480. data/templates/project/sources/jquery-ui/demos/position/index.html +19 -0
  481. data/templates/project/sources/jquery-ui/demos/progressbar/animated.html +44 -0
  482. data/templates/project/sources/jquery-ui/demos/progressbar/default.html +35 -0
  483. data/templates/project/sources/jquery-ui/demos/progressbar/images/pbar-ani.gif +0 -0
  484. data/templates/project/sources/jquery-ui/demos/progressbar/index.html +20 -0
  485. data/templates/project/sources/jquery-ui/demos/progressbar/resize.html +40 -0
  486. data/templates/project/sources/jquery-ui/demos/removeClass/default.html +52 -0
  487. data/templates/project/sources/jquery-ui/demos/removeClass/index.html +18 -0
  488. data/templates/project/sources/jquery-ui/demos/resizable/animate.html +43 -0
  489. data/templates/project/sources/jquery-ui/demos/resizable/aspect-ratio.html +42 -0
  490. data/templates/project/sources/jquery-ui/demos/resizable/constrain-area.html +47 -0
  491. data/templates/project/sources/jquery-ui/demos/resizable/default.html +40 -0
  492. data/templates/project/sources/jquery-ui/demos/resizable/delay-start.html +52 -0
  493. data/templates/project/sources/jquery-ui/demos/resizable/helper.html +43 -0
  494. data/templates/project/sources/jquery-ui/demos/resizable/index.html +28 -0
  495. data/templates/project/sources/jquery-ui/demos/resizable/max-min.html +45 -0
  496. data/templates/project/sources/jquery-ui/demos/resizable/snap-to-grid.html +42 -0
  497. data/templates/project/sources/jquery-ui/demos/resizable/synchronous-resize.html +49 -0
  498. data/templates/project/sources/jquery-ui/demos/resizable/textarea.html +41 -0
  499. data/templates/project/sources/jquery-ui/demos/resizable/visual-feedback.html +43 -0
  500. data/templates/project/sources/jquery-ui/demos/selectable/default.html +50 -0
  501. data/templates/project/sources/jquery-ui/demos/selectable/display-grid.html +55 -0
  502. data/templates/project/sources/jquery-ui/demos/selectable/index.html +20 -0
  503. data/templates/project/sources/jquery-ui/demos/selectable/serialize.html +61 -0
  504. data/templates/project/sources/jquery-ui/demos/show/default.html +104 -0
  505. data/templates/project/sources/jquery-ui/demos/show/index.html +18 -0
  506. data/templates/project/sources/jquery-ui/demos/slider/colorpicker.html +95 -0
  507. data/templates/project/sources/jquery-ui/demos/slider/default.html +37 -0
  508. data/templates/project/sources/jquery-ui/demos/slider/hotelrooms.html +59 -0
  509. data/templates/project/sources/jquery-ui/demos/slider/index.html +29 -0
  510. data/templates/project/sources/jquery-ui/demos/slider/multiple-vertical.html +77 -0
  511. data/templates/project/sources/jquery-ui/demos/slider/range-vertical.html +51 -0
  512. data/templates/project/sources/jquery-ui/demos/slider/range.html +52 -0
  513. data/templates/project/sources/jquery-ui/demos/slider/rangemax.html +50 -0
  514. data/templates/project/sources/jquery-ui/demos/slider/rangemin.html +51 -0
  515. data/templates/project/sources/jquery-ui/demos/slider/side-scroll.html +140 -0
  516. data/templates/project/sources/jquery-ui/demos/slider/slider-vertical.html +52 -0
  517. data/templates/project/sources/jquery-ui/demos/slider/steps.html +51 -0
  518. data/templates/project/sources/jquery-ui/demos/slider/tabs.html +67 -0
  519. data/templates/project/sources/jquery-ui/demos/sortable/connect-lists-through-tabs.html +78 -0
  520. data/templates/project/sources/jquery-ui/demos/sortable/connect-lists.html +58 -0
  521. data/templates/project/sources/jquery-ui/demos/sortable/default.html +51 -0
  522. data/templates/project/sources/jquery-ui/demos/sortable/delay-start.html +67 -0
  523. data/templates/project/sources/jquery-ui/demos/sortable/display-grid.html +54 -0
  524. data/templates/project/sources/jquery-ui/demos/sortable/empty-lists.html +69 -0
  525. data/templates/project/sources/jquery-ui/demos/sortable/index.html +26 -0
  526. data/templates/project/sources/jquery-ui/demos/sortable/items.html +70 -0
  527. data/templates/project/sources/jquery-ui/demos/sortable/placeholder.html +56 -0
  528. data/templates/project/sources/jquery-ui/demos/sortable/portlets.html +96 -0
  529. data/templates/project/sources/jquery-ui/demos/spinner/currency.html +61 -0
  530. data/templates/project/sources/jquery-ui/demos/spinner/decimal.html +59 -0
  531. data/templates/project/sources/jquery-ui/demos/spinner/default.html +65 -0
  532. data/templates/project/sources/jquery-ui/demos/spinner/index.html +20 -0
  533. data/templates/project/sources/jquery-ui/demos/spinner/latlong.html +60 -0
  534. data/templates/project/sources/jquery-ui/demos/spinner/overflow.html +47 -0
  535. data/templates/project/sources/jquery-ui/demos/spinner/time.html +71 -0
  536. data/templates/project/sources/jquery-ui/demos/switchClass/default.html +47 -0
  537. data/templates/project/sources/jquery-ui/demos/switchClass/index.html +18 -0
  538. data/templates/project/sources/jquery-ui/demos/tabs/ajax.html +53 -0
  539. data/templates/project/sources/jquery-ui/demos/tabs/ajax/content1.html +4 -0
  540. data/templates/project/sources/jquery-ui/demos/tabs/ajax/content2.html +4 -0
  541. data/templates/project/sources/jquery-ui/demos/tabs/ajax/content3-slow.php +7 -0
  542. data/templates/project/sources/jquery-ui/demos/tabs/ajax/content4-broken.php +3 -0
  543. data/templates/project/sources/jquery-ui/demos/tabs/bottom.html +59 -0
  544. data/templates/project/sources/jquery-ui/demos/tabs/collapsible.html +55 -0
  545. data/templates/project/sources/jquery-ui/demos/tabs/cookie.html +57 -0
  546. data/templates/project/sources/jquery-ui/demos/tabs/default.html +49 -0
  547. data/templates/project/sources/jquery-ui/demos/tabs/index.html +25 -0
  548. data/templates/project/sources/jquery-ui/demos/tabs/manipulation.html +124 -0
  549. data/templates/project/sources/jquery-ui/demos/tabs/mouseover.html +53 -0
  550. data/templates/project/sources/jquery-ui/demos/tabs/sortable.html +58 -0
  551. data/templates/project/sources/jquery-ui/demos/tabs/vertical.html +61 -0
  552. data/templates/project/sources/jquery-ui/demos/toggle/default.html +94 -0
  553. data/templates/project/sources/jquery-ui/demos/toggle/index.html +18 -0
  554. data/templates/project/sources/jquery-ui/demos/toggleClass/default.html +46 -0
  555. data/templates/project/sources/jquery-ui/demos/toggleClass/index.html +18 -0
  556. data/templates/project/sources/jquery-ui/demos/tooltip/ajax/content1.html +1 -0
  557. data/templates/project/sources/jquery-ui/demos/tooltip/ajax/content2.html +1 -0
  558. data/templates/project/sources/jquery-ui/demos/tooltip/custom-animation.html +58 -0
  559. data/templates/project/sources/jquery-ui/demos/tooltip/default.html +48 -0
  560. data/templates/project/sources/jquery-ui/demos/tooltip/delegation-mixbag.html +73 -0
  561. data/templates/project/sources/jquery-ui/demos/tooltip/forms.html +71 -0
  562. data/templates/project/sources/jquery-ui/demos/tooltip/index.html +22 -0
  563. data/templates/project/sources/jquery-ui/demos/tooltip/tracking.html +64 -0
  564. data/templates/project/sources/jquery-ui/external/jquery.bgiframe-2.1.2.js +39 -0
  565. data/templates/project/sources/jquery-ui/external/jquery.cookie.js +89 -0
  566. data/templates/project/sources/jquery-ui/external/jquery.global.de-DE.js +55 -0
  567. data/templates/project/sources/jquery-ui/external/jquery.global.ja-JP.js +74 -0
  568. data/templates/project/sources/jquery-ui/external/jquery.global.js +1341 -0
  569. data/templates/project/sources/jquery-ui/external/jquery.metadata.js +122 -0
  570. data/templates/project/sources/jquery-ui/external/jquery.mousewheel-3.0.4.js +78 -0
  571. data/templates/project/sources/jquery-ui/external/qunit.css +215 -0
  572. data/templates/project/sources/jquery-ui/external/qunit.js +1444 -0
  573. data/templates/project/sources/jquery-ui/jquery-1.5.1.js +8316 -0
  574. data/templates/project/sources/jquery-ui/tests/index.html +22 -0
  575. data/templates/project/sources/jquery-ui/tests/jquery.simulate.js +151 -0
  576. data/templates/project/sources/jquery-ui/tests/static/button/default.html +161 -0
  577. data/templates/project/sources/jquery-ui/tests/static/datepicker/datepicker.html +1367 -0
  578. data/templates/project/sources/jquery-ui/tests/static/datepicker/default.html +86 -0
  579. data/templates/project/sources/jquery-ui/tests/static/icons.html +246 -0
  580. data/templates/project/sources/jquery-ui/tests/static/menu/all-menus-icons.html +172 -0
  581. data/templates/project/sources/jquery-ui/tests/static/menu/default.html +39 -0
  582. data/templates/project/sources/jquery-ui/tests/static/slider/default.html +17 -0
  583. data/templates/project/sources/jquery-ui/tests/static/slider/default_vertical.html +17 -0
  584. data/templates/project/sources/jquery-ui/tests/static/slider/slider_horizontal.html +17 -0
  585. data/templates/project/sources/jquery-ui/tests/static/slider/slider_horizontal_range.html +17 -0
  586. data/templates/project/sources/jquery-ui/tests/static/slider/slider_horizontal_range_max.html +17 -0
  587. data/templates/project/sources/jquery-ui/tests/static/slider/slider_horizontal_range_min.html +17 -0
  588. data/templates/project/sources/jquery-ui/tests/static/slider/slider_vertical.html +17 -0
  589. data/templates/project/sources/jquery-ui/tests/static/slider/slider_vertical_range.html +17 -0
  590. data/templates/project/sources/jquery-ui/tests/static/slider/slider_vertical_range_max.html +17 -0
  591. data/templates/project/sources/jquery-ui/tests/static/slider/slider_vertical_range_min.html +17 -0
  592. data/templates/project/sources/jquery-ui/tests/static/static.css +1 -0
  593. data/templates/project/sources/jquery-ui/tests/static/static.js +9 -0
  594. data/templates/project/sources/jquery-ui/tests/unit/accordion/accordion.html +163 -0
  595. data/templates/project/sources/jquery-ui/tests/unit/accordion/accordion_core.js +53 -0
  596. data/templates/project/sources/jquery-ui/tests/unit/accordion/accordion_defaults.js +15 -0
  597. data/templates/project/sources/jquery-ui/tests/unit/accordion/accordion_defaults_deprecated.js +21 -0
  598. data/templates/project/sources/jquery-ui/tests/unit/accordion/accordion_deprecated.html +161 -0
  599. data/templates/project/sources/jquery-ui/tests/unit/accordion/accordion_deprecated.js +320 -0
  600. data/templates/project/sources/jquery-ui/tests/unit/accordion/accordion_events.js +122 -0
  601. data/templates/project/sources/jquery-ui/tests/unit/accordion/accordion_methods.js +37 -0
  602. data/templates/project/sources/jquery-ui/tests/unit/accordion/accordion_options.js +266 -0
  603. data/templates/project/sources/jquery-ui/tests/unit/autocomplete/autocomplete.html +46 -0
  604. data/templates/project/sources/jquery-ui/tests/unit/autocomplete/autocomplete_core.js +73 -0
  605. data/templates/project/sources/jquery-ui/tests/unit/autocomplete/autocomplete_defaults.js +19 -0
  606. data/templates/project/sources/jquery-ui/tests/unit/autocomplete/autocomplete_events.js +206 -0
  607. data/templates/project/sources/jquery-ui/tests/unit/autocomplete/autocomplete_methods.js +39 -0
  608. data/templates/project/sources/jquery-ui/tests/unit/autocomplete/autocomplete_options.js +247 -0
  609. data/templates/project/sources/jquery-ui/tests/unit/autocomplete/remote_object_array_labels.txt +1 -0
  610. data/templates/project/sources/jquery-ui/tests/unit/autocomplete/remote_object_array_values.txt +1 -0
  611. data/templates/project/sources/jquery-ui/tests/unit/autocomplete/remote_string_array.txt +1 -0
  612. data/templates/project/sources/jquery-ui/tests/unit/button/button.html +68 -0
  613. data/templates/project/sources/jquery-ui/tests/unit/button/button_core.js +70 -0
  614. data/templates/project/sources/jquery-ui/tests/unit/button/button_defaults.js +15 -0
  615. data/templates/project/sources/jquery-ui/tests/unit/button/button_events.js +8 -0
  616. data/templates/project/sources/jquery-ui/tests/unit/button/button_methods.js +19 -0
  617. data/templates/project/sources/jquery-ui/tests/unit/button/button_options.js +93 -0
  618. data/templates/project/sources/jquery-ui/tests/unit/button/button_tickets.js +45 -0
  619. data/templates/project/sources/jquery-ui/tests/unit/core/core.html +134 -0
  620. data/templates/project/sources/jquery-ui/tests/unit/core/core.js +157 -0
  621. data/templates/project/sources/jquery-ui/tests/unit/core/selector.js +253 -0
  622. data/templates/project/sources/jquery-ui/tests/unit/datepicker/datepicker.html +54 -0
  623. data/templates/project/sources/jquery-ui/tests/unit/datepicker/datepicker_core.js +441 -0
  624. data/templates/project/sources/jquery-ui/tests/unit/datepicker/datepicker_defaults.js +9 -0
  625. data/templates/project/sources/jquery-ui/tests/unit/datepicker/datepicker_events.js +117 -0
  626. data/templates/project/sources/jquery-ui/tests/unit/datepicker/datepicker_methods.js +118 -0
  627. data/templates/project/sources/jquery-ui/tests/unit/datepicker/datepicker_options.js +924 -0
  628. data/templates/project/sources/jquery-ui/tests/unit/datepicker/datepicker_tickets.js +27 -0
  629. data/templates/project/sources/jquery-ui/tests/unit/dialog/dialog.html +57 -0
  630. data/templates/project/sources/jquery-ui/tests/unit/dialog/dialog_core.js +138 -0
  631. data/templates/project/sources/jquery-ui/tests/unit/dialog/dialog_defaults.js +35 -0
  632. data/templates/project/sources/jquery-ui/tests/unit/dialog/dialog_events.js +254 -0
  633. data/templates/project/sources/jquery-ui/tests/unit/dialog/dialog_methods.js +127 -0
  634. data/templates/project/sources/jquery-ui/tests/unit/dialog/dialog_options.js +444 -0
  635. data/templates/project/sources/jquery-ui/tests/unit/dialog/dialog_tickets.js +116 -0
  636. data/templates/project/sources/jquery-ui/tests/unit/draggable/draggable.html +53 -0
  637. data/templates/project/sources/jquery-ui/tests/unit/draggable/draggable_core.js +67 -0
  638. data/templates/project/sources/jquery-ui/tests/unit/draggable/draggable_defaults.js +36 -0
  639. data/templates/project/sources/jquery-ui/tests/unit/draggable/draggable_events.js +81 -0
  640. data/templates/project/sources/jquery-ui/tests/unit/draggable/draggable_methods.js +99 -0
  641. data/templates/project/sources/jquery-ui/tests/unit/draggable/draggable_options.js +753 -0
  642. data/templates/project/sources/jquery-ui/tests/unit/droppable/droppable.html +53 -0
  643. data/templates/project/sources/jquery-ui/tests/unit/droppable/droppable_core.js +36 -0
  644. data/templates/project/sources/jquery-ui/tests/unit/droppable/droppable_defaults.js +16 -0
  645. data/templates/project/sources/jquery-ui/tests/unit/droppable/droppable_events.js +28 -0
  646. data/templates/project/sources/jquery-ui/tests/unit/droppable/droppable_methods.js +86 -0
  647. data/templates/project/sources/jquery-ui/tests/unit/droppable/droppable_options.js +68 -0
  648. data/templates/project/sources/jquery-ui/tests/unit/images/jqueryui_32x32.png +0 -0
  649. data/templates/project/sources/jquery-ui/tests/unit/index.html +64 -0
  650. data/templates/project/sources/jquery-ui/tests/unit/menu/menu.html +74 -0
  651. data/templates/project/sources/jquery-ui/tests/unit/menu/menu_core.js +38 -0
  652. data/templates/project/sources/jquery-ui/tests/unit/menu/menu_defaults.js +13 -0
  653. data/templates/project/sources/jquery-ui/tests/unit/menu/menu_events.js +24 -0
  654. data/templates/project/sources/jquery-ui/tests/unit/menu/menu_methods.js +15 -0
  655. data/templates/project/sources/jquery-ui/tests/unit/menu/menu_options.js +10 -0
  656. data/templates/project/sources/jquery-ui/tests/unit/position/position.html +62 -0
  657. data/templates/project/sources/jquery-ui/tests/unit/position/position_core.js +438 -0
  658. data/templates/project/sources/jquery-ui/tests/unit/position/position_deprecated.html +60 -0
  659. data/templates/project/sources/jquery-ui/tests/unit/position/position_deprecated.js +32 -0
  660. data/templates/project/sources/jquery-ui/tests/unit/progressbar/progressbar.html +41 -0
  661. data/templates/project/sources/jquery-ui/tests/unit/progressbar/progressbar_core.js +28 -0
  662. data/templates/project/sources/jquery-ui/tests/unit/progressbar/progressbar_defaults.js +11 -0
  663. data/templates/project/sources/jquery-ui/tests/unit/progressbar/progressbar_events.js +51 -0
  664. data/templates/project/sources/jquery-ui/tests/unit/progressbar/progressbar_methods.js +36 -0
  665. data/templates/project/sources/jquery-ui/tests/unit/progressbar/progressbar_options.js +59 -0
  666. data/templates/project/sources/jquery-ui/tests/unit/resizable/images/test.jpg +0 -0
  667. data/templates/project/sources/jquery-ui/tests/unit/resizable/resizable.html +53 -0
  668. data/templates/project/sources/jquery-ui/tests/unit/resizable/resizable_core.js +148 -0
  669. data/templates/project/sources/jquery-ui/tests/unit/resizable/resizable_defaults.js +28 -0
  670. data/templates/project/sources/jquery-ui/tests/unit/resizable/resizable_events.js +20 -0
  671. data/templates/project/sources/jquery-ui/tests/unit/resizable/resizable_methods.js +64 -0
  672. data/templates/project/sources/jquery-ui/tests/unit/resizable/resizable_options.js +190 -0
  673. data/templates/project/sources/jquery-ui/tests/unit/selectable/selectable.html +56 -0
  674. data/templates/project/sources/jquery-ui/tests/unit/selectable/selectable_core.js +16 -0
  675. data/templates/project/sources/jquery-ui/tests/unit/selectable/selectable_defaults.js +16 -0
  676. data/templates/project/sources/jquery-ui/tests/unit/selectable/selectable_events.js +32 -0
  677. data/templates/project/sources/jquery-ui/tests/unit/selectable/selectable_methods.js +93 -0
  678. data/templates/project/sources/jquery-ui/tests/unit/selectable/selectable_options.js +46 -0
  679. data/templates/project/sources/jquery-ui/tests/unit/slider/slider.html +55 -0
  680. data/templates/project/sources/jquery-ui/tests/unit/slider/slider_core.js +292 -0
  681. data/templates/project/sources/jquery-ui/tests/unit/slider/slider_defaults.js +20 -0
  682. data/templates/project/sources/jquery-ui/tests/unit/slider/slider_events.js +109 -0
  683. data/templates/project/sources/jquery-ui/tests/unit/slider/slider_methods.js +102 -0
  684. data/templates/project/sources/jquery-ui/tests/unit/slider/slider_options.js +146 -0
  685. data/templates/project/sources/jquery-ui/tests/unit/sortable/sortable.html +57 -0
  686. data/templates/project/sources/jquery-ui/tests/unit/sortable/sortable_core.js +9 -0
  687. data/templates/project/sources/jquery-ui/tests/unit/sortable/sortable_defaults.js +34 -0
  688. data/templates/project/sources/jquery-ui/tests/unit/sortable/sortable_events.js +147 -0
  689. data/templates/project/sources/jquery-ui/tests/unit/sortable/sortable_methods.js +108 -0
  690. data/templates/project/sources/jquery-ui/tests/unit/sortable/sortable_options.js +256 -0
  691. data/templates/project/sources/jquery-ui/tests/unit/sortable/sortable_tickets.js +83 -0
  692. data/templates/project/sources/jquery-ui/tests/unit/spinner/spinner.html +46 -0
  693. data/templates/project/sources/jquery-ui/tests/unit/spinner/spinner_core.js +171 -0
  694. data/templates/project/sources/jquery-ui/tests/unit/spinner/spinner_defaults.js +16 -0
  695. data/templates/project/sources/jquery-ui/tests/unit/spinner/spinner_events.js +64 -0
  696. data/templates/project/sources/jquery-ui/tests/unit/spinner/spinner_methods.js +155 -0
  697. data/templates/project/sources/jquery-ui/tests/unit/spinner/spinner_options.js +154 -0
  698. data/templates/project/sources/jquery-ui/tests/unit/swarminject.js +9 -0
  699. data/templates/project/sources/jquery-ui/tests/unit/tabs/data/test.html +1 -0
  700. data/templates/project/sources/jquery-ui/tests/unit/tabs/spinner.gif +0 -0
  701. data/templates/project/sources/jquery-ui/tests/unit/tabs/tabs.html +139 -0
  702. data/templates/project/sources/jquery-ui/tests/unit/tabs/tabs_core.js +50 -0
  703. data/templates/project/sources/jquery-ui/tests/unit/tabs/tabs_defaults.js +13 -0
  704. data/templates/project/sources/jquery-ui/tests/unit/tabs/tabs_defaults_deprecated.js +26 -0
  705. data/templates/project/sources/jquery-ui/tests/unit/tabs/tabs_deprecated.html +138 -0
  706. data/templates/project/sources/jquery-ui/tests/unit/tabs/tabs_deprecated.js +350 -0
  707. data/templates/project/sources/jquery-ui/tests/unit/tabs/tabs_events.js +198 -0
  708. data/templates/project/sources/jquery-ui/tests/unit/tabs/tabs_methods.js +165 -0
  709. data/templates/project/sources/jquery-ui/tests/unit/tabs/tabs_options.js +146 -0
  710. data/templates/project/sources/jquery-ui/tests/unit/tabs/tabs_tickets.js +99 -0
  711. data/templates/project/sources/jquery-ui/tests/unit/testsuite.js +101 -0
  712. data/templates/project/sources/jquery-ui/tests/unit/tooltip/tooltip.html +47 -0
  713. data/templates/project/sources/jquery-ui/tests/unit/tooltip/tooltip_core.js +11 -0
  714. data/templates/project/sources/jquery-ui/tests/unit/tooltip/tooltip_defaults.js +16 -0
  715. data/templates/project/sources/jquery-ui/tests/unit/tooltip/tooltip_events.js +54 -0
  716. data/templates/project/sources/jquery-ui/tests/unit/tooltip/tooltip_methods.js +30 -0
  717. data/templates/project/sources/jquery-ui/tests/unit/tooltip/tooltip_options.js +62 -0
  718. data/templates/project/sources/jquery-ui/tests/unit/widget/widget.html +40 -0
  719. data/templates/project/sources/jquery-ui/tests/unit/widget/widget_core.js +992 -0
  720. data/templates/project/sources/jquery-ui/tests/visual/addClass/addClass_queue.html +50 -0
  721. data/templates/project/sources/jquery-ui/tests/visual/all.css +84 -0
  722. data/templates/project/sources/jquery-ui/tests/visual/all.html +190 -0
  723. data/templates/project/sources/jquery-ui/tests/visual/animate/animate_backgroundColor_hex.html +44 -0
  724. data/templates/project/sources/jquery-ui/tests/visual/animate/animate_backgroundColor_rgb.html +35 -0
  725. data/templates/project/sources/jquery-ui/tests/visual/animate/animate_color_hex.html +44 -0
  726. data/templates/project/sources/jquery-ui/tests/visual/animate/animate_color_rgb.html +35 -0
  727. data/templates/project/sources/jquery-ui/tests/visual/button/button.html +140 -0
  728. data/templates/project/sources/jquery-ui/tests/visual/button/button_disabled_true.html +84 -0
  729. data/templates/project/sources/jquery-ui/tests/visual/button/button_input_type_checkbox.html +25 -0
  730. data/templates/project/sources/jquery-ui/tests/visual/button/button_option_disabled_true.html +84 -0
  731. data/templates/project/sources/jquery-ui/tests/visual/button/button_performance.html +555 -0
  732. data/templates/project/sources/jquery-ui/tests/visual/button/button_ticket_5254.html +55 -0
  733. data/templates/project/sources/jquery-ui/tests/visual/button/button_ticket_5261.html +42 -0
  734. data/templates/project/sources/jquery-ui/tests/visual/button/button_ticket_5278.html +58 -0
  735. data/templates/project/sources/jquery-ui/tests/visual/compound/accordion_dialog.html +202 -0
  736. data/templates/project/sources/jquery-ui/tests/visual/compound/accordion_tabs.html +86 -0
  737. data/templates/project/sources/jquery-ui/tests/visual/compound/datepicker_dialog.html +157 -0
  738. data/templates/project/sources/jquery-ui/tests/visual/compound/draggable_accordion.html +65 -0
  739. data/templates/project/sources/jquery-ui/tests/visual/compound/draggable_accordion_accordion_tabs_draggable.html +109 -0
  740. data/templates/project/sources/jquery-ui/tests/visual/compound/sortable_accordion_sortable_tabs.html +108 -0
  741. data/templates/project/sources/jquery-ui/tests/visual/compound/tabs_tabs.html +73 -0
  742. data/templates/project/sources/jquery-ui/tests/visual/compound/tabs_tooltips.html +37 -0
  743. data/templates/project/sources/jquery-ui/tests/visual/compound/widgets_in_dialog.html +229 -0
  744. data/templates/project/sources/jquery-ui/tests/visual/datepicker/calendar.gif +0 -0
  745. data/templates/project/sources/jquery-ui/tests/visual/datepicker/datepicker.html +23 -0
  746. data/templates/project/sources/jquery-ui/tests/visual/datepicker/datepicker_multi_inline.html +113 -0
  747. data/templates/project/sources/jquery-ui/tests/visual/datepicker/datepicker_ticket_4071.html +96 -0
  748. data/templates/project/sources/jquery-ui/tests/visual/datepicker/datepicker_ticket_4240.html +55 -0
  749. data/templates/project/sources/jquery-ui/tests/visual/datepicker/datepicker_ticket_4443.html +38 -0
  750. data/templates/project/sources/jquery-ui/tests/visual/datepicker/datepicker_ticket_5676.html +30 -0
  751. data/templates/project/sources/jquery-ui/tests/visual/datepicker/multimonth.html +23 -0
  752. data/templates/project/sources/jquery-ui/tests/visual/datepicker/viewport.html +278 -0
  753. data/templates/project/sources/jquery-ui/tests/visual/dialog/dialog_on_page_with_large_dom.html +2963 -0
  754. data/templates/project/sources/jquery-ui/tests/visual/draggable/draggable.html +24 -0
  755. data/templates/project/sources/jquery-ui/tests/visual/draggable/draggable.scroll.html +152 -0
  756. data/templates/project/sources/jquery-ui/tests/visual/draggable/draggable_option_containment_array.html +26 -0
  757. data/templates/project/sources/jquery-ui/tests/visual/draggable/draggable_option_cursorAt_object.html +26 -0
  758. data/templates/project/sources/jquery-ui/tests/visual/draggable/draggable_option_handle_selector.html +28 -0
  759. data/templates/project/sources/jquery-ui/tests/visual/draggable/draggable_option_iframeFix_false.html +30 -0
  760. data/templates/project/sources/jquery-ui/tests/visual/draggable/draggable_option_iframeFix_selector.html +30 -0
  761. data/templates/project/sources/jquery-ui/tests/visual/draggable/draggable_option_iframeFix_true.html +30 -0
  762. data/templates/project/sources/jquery-ui/tests/visual/droppable/droppable.css +3 -0
  763. data/templates/project/sources/jquery-ui/tests/visual/droppable/droppable.html +33 -0
  764. data/templates/project/sources/jquery-ui/tests/visual/droppable/droppable_option_accept_default.html +40 -0
  765. data/templates/project/sources/jquery-ui/tests/visual/droppable/droppable_option_accept_function.html +43 -0
  766. data/templates/project/sources/jquery-ui/tests/visual/droppable/droppable_option_accept_selector.html +41 -0
  767. data/templates/project/sources/jquery-ui/tests/visual/droppable/droppable_ticket_4087.html +51 -0
  768. data/templates/project/sources/jquery-ui/tests/visual/droppable/droppable_ticket_4088.html +69 -0
  769. data/templates/project/sources/jquery-ui/tests/visual/effects.all.css +54 -0
  770. data/templates/project/sources/jquery-ui/tests/visual/effects.all.html +193 -0
  771. data/templates/project/sources/jquery-ui/tests/visual/effects.all.js +92 -0
  772. data/templates/project/sources/jquery-ui/tests/visual/menu/contextmenu.html +191 -0
  773. data/templates/project/sources/jquery-ui/tests/visual/menu/drilldown.html +266 -0
  774. data/templates/project/sources/jquery-ui/tests/visual/menu/menu.html +147 -0
  775. data/templates/project/sources/jquery-ui/tests/visual/menu/menubar.html +208 -0
  776. data/templates/project/sources/jquery-ui/tests/visual/menu/menubar.js +189 -0
  777. data/templates/project/sources/jquery-ui/tests/visual/menu/popup.html +159 -0
  778. data/templates/project/sources/jquery-ui/tests/visual/menu/popup.js +113 -0
  779. data/templates/project/sources/jquery-ui/tests/visual/menu/tablemenu.html +67 -0
  780. data/templates/project/sources/jquery-ui/tests/visual/mouse/mouse_ticket_6946.html +67 -0
  781. data/templates/project/sources/jquery-ui/tests/visual/position/position.html +67 -0
  782. data/templates/project/sources/jquery-ui/tests/visual/position/position_margin.html +43 -0
  783. data/templates/project/sources/jquery-ui/tests/visual/resizable/images/test.png +0 -0
  784. data/templates/project/sources/jquery-ui/tests/visual/resizable/resizable.html +24 -0
  785. data/templates/project/sources/jquery-ui/tests/visual/resizable/resizable_option_alsoResize_child.html +48 -0
  786. data/templates/project/sources/jquery-ui/tests/visual/resizable/resizable_option_aspectRatio_0.5.html +29 -0
  787. data/templates/project/sources/jquery-ui/tests/visual/resizable/resizable_option_aspectRatio_1.0.html +29 -0
  788. data/templates/project/sources/jquery-ui/tests/visual/resizable/resizable_option_aspectRatio_1.5.html +29 -0
  789. data/templates/project/sources/jquery-ui/tests/visual/resizable/resizable_option_aspectRatio_preserve_maxHeight_150.html +30 -0
  790. data/templates/project/sources/jquery-ui/tests/visual/resizable/resizable_option_aspectRatio_preserve_maxWidth_150.html +30 -0
  791. data/templates/project/sources/jquery-ui/tests/visual/resizable/resizable_option_aspectRatio_preserve_minHeight_50.html +30 -0
  792. data/templates/project/sources/jquery-ui/tests/visual/resizable/resizable_option_aspectRatio_preserve_minWidth_50.html +30 -0
  793. data/templates/project/sources/jquery-ui/tests/visual/resizable/resizable_option_aspectRatio_preserve_w100xh100.html +29 -0
  794. data/templates/project/sources/jquery-ui/tests/visual/resizable/resizable_option_aspectRatio_preserve_w100xh50.html +29 -0
  795. data/templates/project/sources/jquery-ui/tests/visual/resizable/resizable_option_aspectRatio_preserve_w50xh100.html +29 -0
  796. data/templates/project/sources/jquery-ui/tests/visual/resizable/resizable_ticket_3053.html +37 -0
  797. data/templates/project/sources/jquery-ui/tests/visual/resizable/resizable_ticket_4199.html +37 -0
  798. data/templates/project/sources/jquery-ui/tests/visual/resizable/resizable_ticket_4217.html +46 -0
  799. data/templates/project/sources/jquery-ui/tests/visual/resizable/resizable_ticket_4940.html +32 -0
  800. data/templates/project/sources/jquery-ui/tests/visual/resizable/resizable_ticket_5335.html +52 -0
  801. data/templates/project/sources/jquery-ui/tests/visual/selectable/selectable.html +40 -0
  802. data/templates/project/sources/jquery-ui/tests/visual/selectable/selectable_ticket_4341.html +46 -0
  803. data/templates/project/sources/jquery-ui/tests/visual/slider/slider.html +24 -0
  804. data/templates/project/sources/jquery-ui/tests/visual/slider/slider_horizontal.html +27 -0
  805. data/templates/project/sources/jquery-ui/tests/visual/slider/slider_horizontal_range.html +28 -0
  806. data/templates/project/sources/jquery-ui/tests/visual/slider/slider_horizontal_range_max.html +28 -0
  807. data/templates/project/sources/jquery-ui/tests/visual/slider/slider_horizontal_range_min.html +28 -0
  808. data/templates/project/sources/jquery-ui/tests/visual/slider/slider_in_container_with_scrollbars.html +43 -0
  809. data/templates/project/sources/jquery-ui/tests/visual/slider/slider_method_destroy.html +28 -0
  810. data/templates/project/sources/jquery-ui/tests/visual/slider/slider_method_disable.html +47 -0
  811. data/templates/project/sources/jquery-ui/tests/visual/slider/slider_option_animate_false.html +26 -0
  812. data/templates/project/sources/jquery-ui/tests/visual/slider/slider_option_animate_true.html +65 -0
  813. data/templates/project/sources/jquery-ui/tests/visual/slider/slider_option_max_3.html +26 -0
  814. data/templates/project/sources/jquery-ui/tests/visual/slider/slider_option_max_30.html +26 -0
  815. data/templates/project/sources/jquery-ui/tests/visual/slider/slider_option_max_300.html +26 -0
  816. data/templates/project/sources/jquery-ui/tests/visual/slider/slider_option_min_-3.html +27 -0
  817. data/templates/project/sources/jquery-ui/tests/visual/slider/slider_option_min_-30.html +27 -0
  818. data/templates/project/sources/jquery-ui/tests/visual/slider/slider_option_min_-300.html +27 -0
  819. data/templates/project/sources/jquery-ui/tests/visual/slider/slider_option_orientation_horizontal.html +26 -0
  820. data/templates/project/sources/jquery-ui/tests/visual/slider/slider_option_orientation_vertical.html +26 -0
  821. data/templates/project/sources/jquery-ui/tests/visual/slider/slider_option_range_false.html +27 -0
  822. data/templates/project/sources/jquery-ui/tests/visual/slider/slider_option_range_max.html +27 -0
  823. data/templates/project/sources/jquery-ui/tests/visual/slider/slider_option_range_min.html +27 -0
  824. data/templates/project/sources/jquery-ui/tests/visual/slider/slider_option_range_true.html +27 -0
  825. data/templates/project/sources/jquery-ui/tests/visual/slider/slider_option_step_25.html +26 -0
  826. data/templates/project/sources/jquery-ui/tests/visual/slider/slider_option_step_5.html +26 -0
  827. data/templates/project/sources/jquery-ui/tests/visual/slider/slider_option_value_3.html +26 -0
  828. data/templates/project/sources/jquery-ui/tests/visual/slider/slider_option_value_30.html +26 -0
  829. data/templates/project/sources/jquery-ui/tests/visual/slider/slider_option_values_25_50_75.html +26 -0
  830. data/templates/project/sources/jquery-ui/tests/visual/slider/slider_option_values_25_75.html +26 -0
  831. data/templates/project/sources/jquery-ui/tests/visual/slider/slider_option_values_50.html +26 -0
  832. data/templates/project/sources/jquery-ui/tests/visual/slider/slider_ticket_3736.html +36 -0
  833. data/templates/project/sources/jquery-ui/tests/visual/slider/slider_ticket_3762.html +44 -0
  834. data/templates/project/sources/jquery-ui/tests/visual/slider/slider_ticket_4385.html +42 -0
  835. data/templates/project/sources/jquery-ui/tests/visual/slider/slider_ticket_4467.html +34 -0
  836. data/templates/project/sources/jquery-ui/tests/visual/slider/slider_vertical.html +27 -0
  837. data/templates/project/sources/jquery-ui/tests/visual/slider/slider_vertical_range.html +28 -0
  838. data/templates/project/sources/jquery-ui/tests/visual/slider/slider_vertical_range_max.html +28 -0
  839. data/templates/project/sources/jquery-ui/tests/visual/slider/slider_vertical_range_min.html +28 -0
  840. data/templates/project/sources/jquery-ui/tests/visual/sortable/sortable.html +40 -0
  841. data/templates/project/sources/jquery-ui/tests/visual/sortable/sortable_massive_scale.html +757 -0
  842. data/templates/project/sources/jquery-ui/tests/visual/sortable/sortable_option_revert_false.html +31 -0
  843. data/templates/project/sources/jquery-ui/tests/visual/sortable/sortable_option_revert_true.html +31 -0
  844. data/templates/project/sources/jquery-ui/tests/visual/sortable/sortable_ticket_4231.html +78 -0
  845. data/templates/project/sources/jquery-ui/tests/visual/sortable/sortable_ticket_5355.html +58 -0
  846. data/templates/project/sources/jquery-ui/tests/visual/spinner/spinner.html +43 -0
  847. data/templates/project/sources/jquery-ui/tests/visual/theme.html +532 -0
  848. data/templates/project/sources/jquery-ui/tests/visual/tooltip/ajaxcontent.php +2 -0
  849. data/templates/project/sources/jquery-ui/tests/visual/tooltip/callout.html +213 -0
  850. data/templates/project/sources/jquery-ui/tests/visual/tooltip/tooltip.html +186 -0
  851. data/templates/project/sources/jquery-ui/tests/visual/visual.css +3 -0
  852. data/templates/project/sources/jquery-ui/themes/base/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  853. data/templates/project/sources/jquery-ui/themes/base/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  854. data/templates/project/sources/jquery-ui/themes/base/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  855. data/templates/project/sources/jquery-ui/themes/base/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  856. data/templates/project/sources/jquery-ui/themes/base/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  857. data/templates/project/sources/jquery-ui/themes/base/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  858. data/templates/project/sources/jquery-ui/themes/base/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  859. data/templates/project/sources/jquery-ui/themes/base/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  860. data/templates/project/sources/jquery-ui/themes/base/images/ui-icons_222222_256x240.png +0 -0
  861. data/templates/project/sources/jquery-ui/themes/base/images/ui-icons_2e83ff_256x240.png +0 -0
  862. data/templates/project/sources/jquery-ui/themes/base/images/ui-icons_454545_256x240.png +0 -0
  863. data/templates/project/sources/jquery-ui/themes/base/images/ui-icons_888888_256x240.png +0 -0
  864. data/templates/project/sources/jquery-ui/themes/base/images/ui-icons_cd0a0a_256x240.png +0 -0
  865. data/templates/project/sources/jquery-ui/themes/base/jquery.ui.accordion.css +18 -0
  866. data/templates/project/sources/jquery-ui/themes/base/jquery.ui.all.css +11 -0
  867. data/templates/project/sources/jquery-ui/themes/base/jquery.ui.autocomplete.css +13 -0
  868. data/templates/project/sources/jquery-ui/themes/base/jquery.ui.base.css +24 -0
  869. data/templates/project/sources/jquery-ui/themes/base/jquery.ui.button.css +38 -0
  870. data/templates/project/sources/jquery-ui/themes/base/jquery.ui.core.css +41 -0
  871. data/templates/project/sources/jquery-ui/themes/base/jquery.ui.datepicker.css +68 -0
  872. data/templates/project/sources/jquery-ui/themes/base/jquery.ui.dialog.css +21 -0
  873. data/templates/project/sources/jquery-ui/themes/base/jquery.ui.menu.css +44 -0
  874. data/templates/project/sources/jquery-ui/themes/base/jquery.ui.progressbar.css +11 -0
  875. data/templates/project/sources/jquery-ui/themes/base/jquery.ui.resizable.css +25 -0
  876. data/templates/project/sources/jquery-ui/themes/base/jquery.ui.selectable.css +10 -0
  877. data/templates/project/sources/jquery-ui/themes/base/jquery.ui.slider.css +24 -0
  878. data/templates/project/sources/jquery-ui/themes/base/jquery.ui.spinner.css +23 -0
  879. data/templates/project/sources/jquery-ui/themes/base/jquery.ui.tabs.css +17 -0
  880. data/templates/project/sources/jquery-ui/themes/base/jquery.ui.theme.css +252 -0
  881. data/templates/project/sources/jquery-ui/themes/base/jquery.ui.tooltip.css +23 -0
  882. data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-af.js +23 -0
  883. data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-ar-DZ.js +23 -0
  884. data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-ar.js +23 -0
  885. data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-az.js +23 -0
  886. data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-bg.js +24 -0
  887. data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-bs.js +23 -0
  888. data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-ca.js +23 -0
  889. data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-cs.js +23 -0
  890. data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-da.js +23 -0
  891. data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-de.js +23 -0
  892. data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-el.js +23 -0
  893. data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-en-AU.js +23 -0
  894. data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-en-GB.js +23 -0
  895. data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-en-NZ.js +23 -0
  896. data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-eo.js +23 -0
  897. data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-es.js +23 -0
  898. data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-et.js +23 -0
  899. data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-eu.js +23 -0
  900. data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-fa.js +23 -0
  901. data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-fi.js +23 -0
  902. data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-fo.js +23 -0
  903. data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-fr-CH.js +23 -0
  904. data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-fr.js +25 -0
  905. data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-gl.js +23 -0
  906. data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-he.js +23 -0
  907. data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-hr.js +23 -0
  908. data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-hu.js +23 -0
  909. data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-hy.js +23 -0
  910. data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-id.js +23 -0
  911. data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-is.js +23 -0
  912. data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-it.js +23 -0
  913. data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-ja.js +23 -0
  914. data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-ko.js +23 -0
  915. data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-kz.js +23 -0
  916. data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-lt.js +23 -0
  917. data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-lv.js +23 -0
  918. data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-ml.js +23 -0
  919. data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-ms.js +23 -0
  920. data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-nl.js +23 -0
  921. data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-no.js +23 -0
  922. data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-pl.js +23 -0
  923. data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-pt-BR.js +23 -0
  924. data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-pt.js +22 -0
  925. data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-rm.js +21 -0
  926. data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-ro.js +26 -0
  927. data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-ru.js +23 -0
  928. data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-sk.js +23 -0
  929. data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-sl.js +24 -0
  930. data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-sq.js +23 -0
  931. data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-sr-SR.js +23 -0
  932. data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-sr.js +23 -0
  933. data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-sv.js +23 -0
  934. data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-ta.js +23 -0
  935. data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-th.js +23 -0
  936. data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-tj.js +23 -0
  937. data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-tr.js +23 -0
  938. data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-uk.js +23 -0
  939. data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-vi.js +23 -0
  940. data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-zh-CN.js +23 -0
  941. data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-zh-HK.js +23 -0
  942. data/templates/project/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-zh-TW.js +23 -0
  943. data/templates/project/sources/jquery-ui/ui/jquery.effects.blind.js +52 -0
  944. data/templates/project/sources/jquery-ui/ui/jquery.effects.bounce.js +102 -0
  945. data/templates/project/sources/jquery-ui/ui/jquery.effects.clip.js +69 -0
  946. data/templates/project/sources/jquery-ui/ui/jquery.effects.core.js +825 -0
  947. data/templates/project/sources/jquery-ui/ui/jquery.effects.drop.js +64 -0
  948. data/templates/project/sources/jquery-ui/ui/jquery.effects.explode.js +103 -0
  949. data/templates/project/sources/jquery-ui/ui/jquery.effects.fade.js +34 -0
  950. data/templates/project/sources/jquery-ui/ui/jquery.effects.fold.js +73 -0
  951. data/templates/project/sources/jquery-ui/ui/jquery.effects.highlight.js +51 -0
  952. data/templates/project/sources/jquery-ui/ui/jquery.effects.pulsate.js +52 -0
  953. data/templates/project/sources/jquery-ui/ui/jquery.effects.scale.js +250 -0
  954. data/templates/project/sources/jquery-ui/ui/jquery.effects.shake.js +64 -0
  955. data/templates/project/sources/jquery-ui/ui/jquery.effects.slide.js +69 -0
  956. data/templates/project/sources/jquery-ui/ui/jquery.effects.transfer.js +46 -0
  957. data/templates/project/sources/jquery-ui/ui/jquery.ui.accordion.js +669 -0
  958. data/templates/project/sources/jquery-ui/ui/jquery.ui.autocomplete.js +439 -0
  959. data/templates/project/sources/jquery-ui/ui/jquery.ui.button.js +384 -0
  960. data/templates/project/sources/jquery-ui/ui/jquery.ui.core.js +303 -0
  961. data/templates/project/sources/jquery-ui/ui/jquery.ui.datepicker.js +1779 -0
  962. data/templates/project/sources/jquery-ui/ui/jquery.ui.dialog.js +829 -0
  963. data/templates/project/sources/jquery-ui/ui/jquery.ui.draggable.js +799 -0
  964. data/templates/project/sources/jquery-ui/ui/jquery.ui.droppable.js +285 -0
  965. data/templates/project/sources/jquery-ui/ui/jquery.ui.menu.js +402 -0
  966. data/templates/project/sources/jquery-ui/ui/jquery.ui.mouse.js +156 -0
  967. data/templates/project/sources/jquery-ui/ui/jquery.ui.position.js +283 -0
  968. data/templates/project/sources/jquery-ui/ui/jquery.ui.progressbar.js +107 -0
  969. data/templates/project/sources/jquery-ui/ui/jquery.ui.resizable.js +812 -0
  970. data/templates/project/sources/jquery-ui/ui/jquery.ui.selectable.js +266 -0
  971. data/templates/project/sources/jquery-ui/ui/jquery.ui.slider.js +684 -0
  972. data/templates/project/sources/jquery-ui/ui/jquery.ui.sortable.js +1076 -0
  973. data/templates/project/sources/jquery-ui/ui/jquery.ui.spinner.js +362 -0
  974. data/templates/project/sources/jquery-ui/ui/jquery.ui.tabs.js +1039 -0
  975. data/templates/project/sources/jquery-ui/ui/jquery.ui.tooltip.js +146 -0
  976. data/templates/project/sources/jquery-ui/ui/jquery.ui.widget.js +363 -0
  977. data/templates/project/sources/jquery-ui/version.txt +1 -0
  978. data/templates/project/sources/pie/LICENSE-APACHE2.txt +13 -0
  979. data/templates/project/sources/pie/LICENSE-GPL2.txt +278 -0
  980. data/templates/project/sources/pie/build.xml +118 -0
  981. data/templates/project/sources/pie/demos/basic.html +321 -0
  982. data/templates/project/sources/pie/demos/farbtastic/CHANGELOG.html +26 -0
  983. data/templates/project/sources/pie/demos/farbtastic/LICENSE.txt +341 -0
  984. data/templates/project/sources/pie/demos/farbtastic/README.html +71 -0
  985. data/templates/project/sources/pie/demos/farbtastic/demo1.html +28 -0
  986. data/templates/project/sources/pie/demos/farbtastic/demo2.html +57 -0
  987. data/templates/project/sources/pie/demos/farbtastic/farbtastic.css +51 -0
  988. data/templates/project/sources/pie/demos/farbtastic/farbtastic.js +345 -0
  989. data/templates/project/sources/pie/demos/farbtastic/farbtastic.min.js +1 -0
  990. data/templates/project/sources/pie/demos/farbtastic/marker.png +0 -0
  991. data/templates/project/sources/pie/demos/farbtastic/mask.png +0 -0
  992. data/templates/project/sources/pie/demos/farbtastic/wheel.png +0 -0
  993. data/templates/project/sources/pie/demos/tabs-control.png +0 -0
  994. data/templates/project/sources/pie/demos/tabs.html +296 -0
  995. data/templates/project/sources/pie/documentation/about.html +63 -0
  996. data/templates/project/sources/pie/documentation/build.html +72 -0
  997. data/templates/project/sources/pie/documentation/getting-started.html +66 -0
  998. data/templates/project/sources/pie/documentation/known-issues.html +205 -0
  999. data/templates/project/sources/pie/documentation/pie-js.html +89 -0
  1000. data/templates/project/sources/pie/documentation/product-comparison.html +89 -0
  1001. data/templates/project/sources/pie/documentation/q-and-a.html +152 -0
  1002. data/templates/project/sources/pie/documentation/supported-css3-features.html +402 -0
  1003. data/templates/project/sources/pie/site/pie-wp-theme/404.php +24 -0
  1004. data/templates/project/sources/pie/site/pie-wp-theme/archive.php +24 -0
  1005. data/templates/project/sources/pie/site/pie-wp-theme/attachment.php +25 -0
  1006. data/templates/project/sources/pie/site/pie-wp-theme/attachment/attachment-default.php +61 -0
  1007. data/templates/project/sources/pie/site/pie-wp-theme/carrington-core/CHANGELOG.txt +72 -0
  1008. data/templates/project/sources/pie/site/pie-wp-theme/carrington-core/README.txt +15 -0
  1009. data/templates/project/sources/pie/site/pie-wp-theme/carrington-core/admin.php +330 -0
  1010. data/templates/project/sources/pie/site/pie-wp-theme/carrington-core/ajax-load.php +115 -0
  1011. data/templates/project/sources/pie/site/pie-wp-theme/carrington-core/attachment.php +126 -0
  1012. data/templates/project/sources/pie/site/pie-wp-theme/carrington-core/carrington.php +106 -0
  1013. data/templates/project/sources/pie/site/pie-wp-theme/carrington-core/compatibility.php +234 -0
  1014. data/templates/project/sources/pie/site/pie-wp-theme/carrington-core/css/colorpicker.css +161 -0
  1015. data/templates/project/sources/pie/site/pie-wp-theme/carrington-core/images/colorpicker/blank.gif +0 -0
  1016. data/templates/project/sources/pie/site/pie-wp-theme/carrington-core/images/colorpicker/colorpicker_background.png +0 -0
  1017. data/templates/project/sources/pie/site/pie-wp-theme/carrington-core/images/colorpicker/colorpicker_hex.png +0 -0
  1018. data/templates/project/sources/pie/site/pie-wp-theme/carrington-core/images/colorpicker/colorpicker_hsb_b.png +0 -0
  1019. data/templates/project/sources/pie/site/pie-wp-theme/carrington-core/images/colorpicker/colorpicker_hsb_h.png +0 -0
  1020. data/templates/project/sources/pie/site/pie-wp-theme/carrington-core/images/colorpicker/colorpicker_hsb_s.png +0 -0
  1021. data/templates/project/sources/pie/site/pie-wp-theme/carrington-core/images/colorpicker/colorpicker_indic.gif +0 -0
  1022. data/templates/project/sources/pie/site/pie-wp-theme/carrington-core/images/colorpicker/colorpicker_overlay.png +0 -0
  1023. data/templates/project/sources/pie/site/pie-wp-theme/carrington-core/images/colorpicker/colorpicker_rgb_b.png +0 -0
  1024. data/templates/project/sources/pie/site/pie-wp-theme/carrington-core/images/colorpicker/colorpicker_rgb_g.png +0 -0
  1025. data/templates/project/sources/pie/site/pie-wp-theme/carrington-core/images/colorpicker/colorpicker_rgb_r.png +0 -0
  1026. data/templates/project/sources/pie/site/pie-wp-theme/carrington-core/images/colorpicker/colorpicker_select.gif +0 -0
  1027. data/templates/project/sources/pie/site/pie-wp-theme/carrington-core/images/colorpicker/colorpicker_submit.png +0 -0
  1028. data/templates/project/sources/pie/site/pie-wp-theme/carrington-core/images/colorpicker/custom_background.png +0 -0
  1029. data/templates/project/sources/pie/site/pie-wp-theme/carrington-core/images/colorpicker/custom_hex.png +0 -0
  1030. data/templates/project/sources/pie/site/pie-wp-theme/carrington-core/images/colorpicker/custom_hsb_b.png +0 -0
  1031. data/templates/project/sources/pie/site/pie-wp-theme/carrington-core/images/colorpicker/custom_hsb_h.png +0 -0
  1032. data/templates/project/sources/pie/site/pie-wp-theme/carrington-core/images/colorpicker/custom_hsb_s.png +0 -0
  1033. data/templates/project/sources/pie/site/pie-wp-theme/carrington-core/images/colorpicker/custom_indic.gif +0 -0
  1034. data/templates/project/sources/pie/site/pie-wp-theme/carrington-core/images/colorpicker/custom_rgb_b.png +0 -0
  1035. data/templates/project/sources/pie/site/pie-wp-theme/carrington-core/images/colorpicker/custom_rgb_g.png +0 -0
  1036. data/templates/project/sources/pie/site/pie-wp-theme/carrington-core/images/colorpicker/custom_rgb_r.png +0 -0
  1037. data/templates/project/sources/pie/site/pie-wp-theme/carrington-core/images/colorpicker/custom_submit.png +0 -0
  1038. data/templates/project/sources/pie/site/pie-wp-theme/carrington-core/images/colorpicker/select.png +0 -0
  1039. data/templates/project/sources/pie/site/pie-wp-theme/carrington-core/images/colorpicker/select2.png +0 -0
  1040. data/templates/project/sources/pie/site/pie-wp-theme/carrington-core/images/colorpicker/slider.png +0 -0
  1041. data/templates/project/sources/pie/site/pie-wp-theme/carrington-core/js/colorpicker.js +490 -0
  1042. data/templates/project/sources/pie/site/pie-wp-theme/carrington-core/lightbox/LICENSE.txt +30 -0
  1043. data/templates/project/sources/pie/site/pie-wp-theme/carrington-core/lightbox/css/thickbox.css +157 -0
  1044. data/templates/project/sources/pie/site/pie-wp-theme/carrington-core/lightbox/img/blank.gif +0 -0
  1045. data/templates/project/sources/pie/site/pie-wp-theme/carrington-core/lightbox/img/loadingAnimation.gif +0 -0
  1046. data/templates/project/sources/pie/site/pie-wp-theme/carrington-core/lightbox/img/macFFBgHack.png +0 -0
  1047. data/templates/project/sources/pie/site/pie-wp-theme/carrington-core/lightbox/thickbox.js +332 -0
  1048. data/templates/project/sources/pie/site/pie-wp-theme/carrington-core/templates.php +105 -0
  1049. data/templates/project/sources/pie/site/pie-wp-theme/carrington-core/utility.php +821 -0
  1050. data/templates/project/sources/pie/site/pie-wp-theme/comment/comment-default.php +53 -0
  1051. data/templates/project/sources/pie/site/pie-wp-theme/comment/ping.php +33 -0
  1052. data/templates/project/sources/pie/site/pie-wp-theme/comments.php +24 -0
  1053. data/templates/project/sources/pie/site/pie-wp-theme/comments/comments-default.php +66 -0
  1054. data/templates/project/sources/pie/site/pie-wp-theme/comments/comments-loop.php +49 -0
  1055. data/templates/project/sources/pie/site/pie-wp-theme/comments/pings-loop.php +38 -0
  1056. data/templates/project/sources/pie/site/pie-wp-theme/comments/threaded.php +31 -0
  1057. data/templates/project/sources/pie/site/pie-wp-theme/content/content-default.php +56 -0
  1058. data/templates/project/sources/pie/site/pie-wp-theme/content/page.php +44 -0
  1059. data/templates/project/sources/pie/site/pie-wp-theme/css/common.css +442 -0
  1060. data/templates/project/sources/pie/site/pie-wp-theme/css/fonts/museosans_500-webfont.eot +0 -0
  1061. data/templates/project/sources/pie/site/pie-wp-theme/css/fonts/museosans_500-webfont.svg +240 -0
  1062. data/templates/project/sources/pie/site/pie-wp-theme/css/fonts/museosans_500-webfont.ttf +0 -0
  1063. data/templates/project/sources/pie/site/pie-wp-theme/css/fonts/museosans_500-webfont.woff +0 -0
  1064. data/templates/project/sources/pie/site/pie-wp-theme/error/404.php +31 -0
  1065. data/templates/project/sources/pie/site/pie-wp-theme/error/exit.php +24 -0
  1066. data/templates/project/sources/pie/site/pie-wp-theme/excerpt/excerpt-default.php +41 -0
  1067. data/templates/project/sources/pie/site/pie-wp-theme/footer.php +24 -0
  1068. data/templates/project/sources/pie/site/pie-wp-theme/footer/footer-default.php +53 -0
  1069. data/templates/project/sources/pie/site/pie-wp-theme/forms/comment.php +94 -0
  1070. data/templates/project/sources/pie/site/pie-wp-theme/forms/search.php +33 -0
  1071. data/templates/project/sources/pie/site/pie-wp-theme/functions.php +28 -0
  1072. data/templates/project/sources/pie/site/pie-wp-theme/functions/sidebars.php +42 -0
  1073. data/templates/project/sources/pie/site/pie-wp-theme/header.php +24 -0
  1074. data/templates/project/sources/pie/site/pie-wp-theme/header/header-default.php +99 -0
  1075. data/templates/project/sources/pie/site/pie-wp-theme/img/divider.png +0 -0
  1076. data/templates/project/sources/pie/site/pie-wp-theme/img/favicon.ico +0 -0
  1077. data/templates/project/sources/pie/site/pie-wp-theme/img/icons.png +0 -0
  1078. data/templates/project/sources/pie/site/pie-wp-theme/img/logo.png +0 -0
  1079. data/templates/project/sources/pie/site/pie-wp-theme/index.php +24 -0
  1080. data/templates/project/sources/pie/site/pie-wp-theme/js/farbtastic/CHANGELOG.html +26 -0
  1081. data/templates/project/sources/pie/site/pie-wp-theme/js/farbtastic/LICENSE.txt +341 -0
  1082. data/templates/project/sources/pie/site/pie-wp-theme/js/farbtastic/README.html +71 -0
  1083. data/templates/project/sources/pie/site/pie-wp-theme/js/farbtastic/demo1.html +28 -0
  1084. data/templates/project/sources/pie/site/pie-wp-theme/js/farbtastic/demo2.html +57 -0
  1085. data/templates/project/sources/pie/site/pie-wp-theme/js/farbtastic/farbtastic.css +51 -0
  1086. data/templates/project/sources/pie/site/pie-wp-theme/js/farbtastic/farbtastic.js +345 -0
  1087. data/templates/project/sources/pie/site/pie-wp-theme/js/farbtastic/farbtastic.min.js +1 -0
  1088. data/templates/project/sources/pie/site/pie-wp-theme/js/farbtastic/marker.png +0 -0
  1089. data/templates/project/sources/pie/site/pie-wp-theme/js/farbtastic/mask.png +0 -0
  1090. data/templates/project/sources/pie/site/pie-wp-theme/js/farbtastic/wheel.png +0 -0
  1091. data/templates/project/sources/pie/site/pie-wp-theme/loop/archive.php +28 -0
  1092. data/templates/project/sources/pie/site/pie-wp-theme/loop/loop-default.php +33 -0
  1093. data/templates/project/sources/pie/site/pie-wp-theme/loop/search.php +30 -0
  1094. data/templates/project/sources/pie/site/pie-wp-theme/misc/banner.php +21 -0
  1095. data/templates/project/sources/pie/site/pie-wp-theme/misc/nav-posts.php +22 -0
  1096. data/templates/project/sources/pie/site/pie-wp-theme/misc/no-results.php +23 -0
  1097. data/templates/project/sources/pie/site/pie-wp-theme/page.php +24 -0
  1098. data/templates/project/sources/pie/site/pie-wp-theme/pages/pages-default.php +30 -0
  1099. data/templates/project/sources/pie/site/pie-wp-theme/posts/author.php +52 -0
  1100. data/templates/project/sources/pie/site/pie-wp-theme/posts/category.php +40 -0
  1101. data/templates/project/sources/pie/site/pie-wp-theme/posts/home.php +30 -0
  1102. data/templates/project/sources/pie/site/pie-wp-theme/posts/posts-default.php +30 -0
  1103. data/templates/project/sources/pie/site/pie-wp-theme/posts/search.php +44 -0
  1104. data/templates/project/sources/pie/site/pie-wp-theme/posts/tag.php +38 -0
  1105. data/templates/project/sources/pie/site/pie-wp-theme/screenshot.png +0 -0
  1106. data/templates/project/sources/pie/site/pie-wp-theme/search.php +24 -0
  1107. data/templates/project/sources/pie/site/pie-wp-theme/sidebar.php +24 -0
  1108. data/templates/project/sources/pie/site/pie-wp-theme/sidebar/sidebar-default.php +68 -0
  1109. data/templates/project/sources/pie/site/pie-wp-theme/single.php +24 -0
  1110. data/templates/project/sources/pie/site/pie-wp-theme/single/single-default.php +40 -0
  1111. data/templates/project/sources/pie/site/pie-wp-theme/style.css +73 -0
  1112. data/templates/project/sources/pie/sources/Angle.js +36 -0
  1113. data/templates/project/sources/pie/sources/BackgroundRenderer.js +381 -0
  1114. data/templates/project/sources/pie/sources/BackgroundStyleInfo.js +295 -0
  1115. data/templates/project/sources/pie/sources/BgPosition.js +104 -0
  1116. data/templates/project/sources/pie/sources/BorderImageRenderer.js +124 -0
  1117. data/templates/project/sources/pie/sources/BorderImageStyleInfo.js +146 -0
  1118. data/templates/project/sources/pie/sources/BorderRadiusStyleInfo.js +68 -0
  1119. data/templates/project/sources/pie/sources/BorderRenderer.js +328 -0
  1120. data/templates/project/sources/pie/sources/BorderStyleInfo.js +101 -0
  1121. data/templates/project/sources/pie/sources/BoundsInfo.js +56 -0
  1122. data/templates/project/sources/pie/sources/BoxShadowInsetRenderer.js +31 -0
  1123. data/templates/project/sources/pie/sources/BoxShadowOutsetRenderer.js +136 -0
  1124. data/templates/project/sources/pie/sources/BoxShadowStyleInfo.js +67 -0
  1125. data/templates/project/sources/pie/sources/Color.js +127 -0
  1126. data/templates/project/sources/pie/sources/Element.js +416 -0
  1127. data/templates/project/sources/pie/sources/Heartbeat.js +16 -0
  1128. data/templates/project/sources/pie/sources/ImgRenderer.js +66 -0
  1129. data/templates/project/sources/pie/sources/Length.js +134 -0
  1130. data/templates/project/sources/pie/sources/Observable.js +44 -0
  1131. data/templates/project/sources/pie/sources/OnBeforeUnload.js +15 -0
  1132. data/templates/project/sources/pie/sources/OnPrint.js +25 -0
  1133. data/templates/project/sources/pie/sources/OnResize.js +12 -0
  1134. data/templates/project/sources/pie/sources/OnScroll.js +15 -0
  1135. data/templates/project/sources/pie/sources/PIE_API.js +35 -0
  1136. data/templates/project/sources/pie/sources/PIE_close.js +2 -0
  1137. data/templates/project/sources/pie/sources/PIE_open.js +47 -0
  1138. data/templates/project/sources/pie/sources/RendererBase.js +299 -0
  1139. data/templates/project/sources/pie/sources/RootRenderer.js +112 -0
  1140. data/templates/project/sources/pie/sources/StyleInfoBase.js +93 -0
  1141. data/templates/project/sources/pie/sources/Tokenizer.js +274 -0
  1142. data/templates/project/sources/pie/sources/Util.js +94 -0
  1143. data/templates/project/sources/pie/sources/VisibilityStyleInfo.js +38 -0
  1144. data/templates/project/sources/pie/sources/closure_externs.js +4 -0
  1145. data/templates/project/sources/pie/sources/closure_preservefunctions.js +4 -0
  1146. data/templates/project/sources/pie/sources/htc_close.txt +2 -0
  1147. data/templates/project/sources/pie/sources/htc_init.js +19 -0
  1148. data/templates/project/sources/pie/sources/htc_open.txt +13 -0
  1149. data/templates/project/sources/pie/sources/js_close.js +1 -0
  1150. data/templates/project/sources/pie/sources/js_open.js +8 -0
  1151. data/templates/project/sources/pie/sources/wrappers/PIE.php +19 -0
  1152. data/templates/project/sources/pie/tests/IE9 border-radius tests/border-radius-applies-to-001.htm +27 -0
  1153. data/templates/project/sources/pie/tests/IE9 border-radius tests/border-radius-applies-to-002.htm +31 -0
  1154. data/templates/project/sources/pie/tests/IE9 border-radius tests/border-radius-applies-to-003.htm +29 -0
  1155. data/templates/project/sources/pie/tests/IE9 border-radius tests/border-radius-applies-to-004.htm +29 -0
  1156. data/templates/project/sources/pie/tests/IE9 border-radius tests/border-radius-applies-to-005.htm +29 -0
  1157. data/templates/project/sources/pie/tests/IE9 border-radius tests/border-radius-applies-to-006.htm +41 -0
  1158. data/templates/project/sources/pie/tests/IE9 border-radius tests/border-radius-applies-to-007.htm +46 -0
  1159. data/templates/project/sources/pie/tests/IE9 border-radius tests/border-radius-applies-to-008.htm +41 -0
  1160. data/templates/project/sources/pie/tests/IE9 border-radius tests/border-radius-applies-to-009.htm +45 -0
  1161. data/templates/project/sources/pie/tests/IE9 border-radius tests/border-radius-applies-to-010.htm +31 -0
  1162. data/templates/project/sources/pie/tests/IE9 border-radius tests/border-radius-applies-to-011.htm +41 -0
  1163. data/templates/project/sources/pie/tests/IE9 border-radius tests/border-radius-applies-to-012.htm +49 -0
  1164. data/templates/project/sources/pie/tests/IE9 border-radius tests/border-radius-applies-to-013.htm +51 -0
  1165. data/templates/project/sources/pie/tests/IE9 border-radius tests/border-radius-applies-to-014.htm +51 -0
  1166. data/templates/project/sources/pie/tests/IE9 border-radius tests/border-radius-applies-to-015.htm +51 -0
  1167. data/templates/project/sources/pie/tests/IE9 border-radius tests/border-radius-applies-to-016.htm +50 -0
  1168. data/templates/project/sources/pie/tests/IE9 border-radius tests/border-radius-applies-to-017.htm +35 -0
  1169. data/templates/project/sources/pie/tests/IE9 border-radius tests/border-radius-different-width-001.htm +77 -0
  1170. data/templates/project/sources/pie/tests/IE9 border-radius tests/border-radius-initial-value-001.htm +35 -0
  1171. data/templates/project/sources/pie/tests/IE9 border-radius tests/border-radius-not-inherited-001.htm +44 -0
  1172. data/templates/project/sources/pie/tests/IE9 border-radius tests/border-radius-shorthand-001.htm +69 -0
  1173. data/templates/project/sources/pie/tests/IE9 border-radius tests/border-radius-style-001.htm +33 -0
  1174. data/templates/project/sources/pie/tests/IE9 border-radius tests/border-radius-style-002.htm +28 -0
  1175. data/templates/project/sources/pie/tests/IE9 border-radius tests/border-radius-style-003.htm +28 -0
  1176. data/templates/project/sources/pie/tests/IE9 border-radius tests/border-radius-style-004.htm +28 -0
  1177. data/templates/project/sources/pie/tests/IE9 border-radius tests/border-radius-style-005.htm +29 -0
  1178. data/templates/project/sources/pie/tests/IE9 border-radius tests/border-radius-sum-of-radii-001.htm +158 -0
  1179. data/templates/project/sources/pie/tests/IE9 border-radius tests/border-radius-sum-of-radii-002.htm +92 -0
  1180. data/templates/project/sources/pie/tests/IE9 border-radius tests/border-radius-with-three-values-001.htm +43 -0
  1181. data/templates/project/sources/pie/tests/IE9 border-radius tests/border-radius-with-two-values-001.htm +43 -0
  1182. data/templates/project/sources/pie/tests/IE9 border-radius tests/border-top-left-radius-values-001.htm +45 -0
  1183. data/templates/project/sources/pie/tests/IE9 border-radius tests/border-top-left-radius-values-002.htm +40 -0
  1184. data/templates/project/sources/pie/tests/IE9 border-radius tests/border-top-left-radius-values-003.htm +51 -0
  1185. data/templates/project/sources/pie/tests/background1.gif +0 -0
  1186. data/templates/project/sources/pie/tests/background2.gif +0 -0
  1187. data/templates/project/sources/pie/tests/basic.html +188 -0
  1188. data/templates/project/sources/pie/tests/border-image-test.html +52 -0
  1189. data/templates/project/sources/pie/tests/border.png +0 -0
  1190. data/templates/project/sources/pie/tests/border2.png +0 -0
  1191. data/templates/project/sources/pie/tests/box-shadow-tests.html +166 -0
  1192. data/templates/project/sources/pie/tests/buttons.html +735 -0
  1193. data/templates/project/sources/pie/tests/color-names.html +32 -0
  1194. data/templates/project/sources/pie/tests/gradient-tests.html +237 -0
  1195. data/templates/project/sources/pie/tests/hiding-tests.html +92 -0
  1196. data/templates/project/sources/pie/tests/hover-tests.html +107 -0
  1197. data/templates/project/sources/pie/tests/iPhoneBackButton.png +0 -0
  1198. data/templates/project/sources/pie/tests/icon-chrome.png +0 -0
  1199. data/templates/project/sources/pie/tests/icon-firefox.png +0 -0
  1200. data/templates/project/sources/pie/tests/icon-ie.png +0 -0
  1201. data/templates/project/sources/pie/tests/icon-opera.png +0 -0
  1202. data/templates/project/sources/pie/tests/icon-safari.png +0 -0
  1203. data/templates/project/sources/pie/tests/img.html +63 -0
  1204. data/templates/project/sources/pie/tests/margin-auto-tests.html +57 -0
  1205. data/templates/project/sources/pie/tests/margin-collapsing-tests.html +77 -0
  1206. data/templates/project/sources/pie/tests/misc-tests.html +257 -0
  1207. data/templates/project/sources/pie/tests/multiple-bg-tests.html +100 -0
  1208. data/templates/project/sources/pie/tests/peculiar-icons/Peculiar.html +372 -0
  1209. data/templates/project/sources/pie/tests/peculiar-icons/pictograms.css +1934 -0
  1210. data/templates/project/sources/pie/tests/peculiar-icons/style.css +106 -0
  1211. data/templates/project/sources/pie/tests/photo.jpg +0 -0
  1212. data/templates/project/sources/pie/tests/png-fix.html +50 -0
  1213. data/templates/project/sources/pie/tests/position-fixed.html +70 -0
  1214. data/templates/project/sources/pie/tests/rtl.html +190 -0
  1215. data/templates/project/sources/pie/tests/sizing-tests.html +55 -0
  1216. data/templates/project/sources/pie/tests/solar-system/asteroids_meteorids.png +0 -0
  1217. data/templates/project/sources/pie/tests/solar-system/bg.jpg +0 -0
  1218. data/templates/project/sources/pie/tests/solar-system/solar-system.html +148 -0
  1219. data/templates/project/sources/pie/tests/solar-system/styles.css +447 -0
  1220. data/templates/project/sources/pie/tests/stress-test.html +187 -0
  1221. data/templates/project/sources/pie/tests/submitted/block.png +0 -0
  1222. data/templates/project/sources/pie/tests/submitted/forum-f3-t19.html +31 -0
  1223. data/templates/project/sources/pie/tests/submitted/forum-f3-t25.gif +0 -0
  1224. data/templates/project/sources/pie/tests/submitted/forum-f3-t25.html +24 -0
  1225. data/templates/project/sources/pie/tests/submitted/forum-f3-t70.html +136 -0
  1226. data/templates/project/sources/pie/tests/submitted/issue23.html +124 -0
  1227. data/templates/project/sources/pie/tests/submitted/issue41.html +164 -0
  1228. data/templates/project/sources/pie/tests/submitted/issue47.html +136 -0
  1229. data/templates/project/sources/pie/tests/submitted/issue75.html +94 -0
  1230. data/templates/project/sources/pie/tests/submitted/tab.png +0 -0
  1231. data/templates/project/sources/pie/tests/tables.html +87 -0
  1232. data/templates/project/sources/pie/tests/tokenizer-tests.html +158 -0
  1233. data/templates/project/sources/pie/tests/z-index-tests.html +145 -0
  1234. data/templates/project/sources/pie/tools/compiler.jar +0 -0
  1235. data/templates/project/sources/scrollability/README.md +38 -0
  1236. data/templates/project/sources/scrollability/scrollability-min.js +1 -0
  1237. data/templates/project/sources/scrollability/scrollability.js +661 -0
  1238. data/templates/project/style.sass +136 -0
  1239. data/templates/project/templates/_flashes.html.haml +4 -0
  1240. data/templates/project/templates/_footer.html.haml +2 -0
  1241. data/templates/project/templates/_head.html.haml +26 -0
  1242. data/templates/project/templates/_header.html.haml +1 -0
  1243. data/templates/project/templates/_javascripts.html.haml +27 -0
  1244. data/templates/project/templates/_stylesheets.html.haml +5 -0
  1245. data/templates/project/templates/application.html.haml +28 -0
  1246. data/templates/project/templates/old/_layout.haml +1 -0
  1247. data/templates/project/templates/old/home.html.haml +14 -0
  1248. data/templates/project/templates/old/layouts/default.haml +62 -0
  1249. data/templates/project/templates/old/layouts/survivalkit/default.haml +64 -0
  1250. data/templates/project/templates/old/layouts/survivalkit/styletile.haml +64 -0
  1251. data/templates/project/templates/old/survivalkit/_layout.haml +1 -0
  1252. data/templates/project/templates/old/survivalkit/elements-common.haml +33 -0
  1253. data/templates/project/templates/old/survivalkit/elements-html5.haml +71 -0
  1254. data/templates/project/templates/old/survivalkit/elements-typography.haml +100 -0
  1255. data/templates/project/templates/old/survivalkit/elements-ui-patterns-drupal.haml +38 -0
  1256. data/templates/project/templates/old/survivalkit/elements-ui-patterns.haml +23 -0
  1257. data/templates/project/templates/old/survivalkit/index.haml +2 -0
  1258. data/templates/project/templates/old/survivalkit/partials/common/abbr.haml +8 -0
  1259. data/templates/project/templates/old/survivalkit/partials/common/acronym.haml +8 -0
  1260. data/templates/project/templates/old/survivalkit/partials/common/characters.haml +11 -0
  1261. data/templates/project/templates/old/survivalkit/partials/common/cite.haml +12 -0
  1262. data/templates/project/templates/old/survivalkit/partials/common/code.haml +8 -0
  1263. data/templates/project/templates/old/survivalkit/partials/common/dfn.haml +8 -0
  1264. data/templates/project/templates/old/survivalkit/partials/common/em.haml +10 -0
  1265. data/templates/project/templates/old/survivalkit/partials/common/forms.haml +27 -0
  1266. data/templates/project/templates/old/survivalkit/partials/common/headers.haml +23 -0
  1267. data/templates/project/templates/old/survivalkit/partials/common/inline-images.haml +9 -0
  1268. data/templates/project/templates/old/survivalkit/partials/common/kbd.haml +10 -0
  1269. data/templates/project/templates/old/survivalkit/partials/common/links.haml +10 -0
  1270. data/templates/project/templates/old/survivalkit/partials/common/lists.haml +55 -0
  1271. data/templates/project/templates/old/survivalkit/partials/common/others.haml +35 -0
  1272. data/templates/project/templates/old/survivalkit/partials/common/paragraphs.haml +15 -0
  1273. data/templates/project/templates/old/survivalkit/partials/common/pre.haml +27 -0
  1274. data/templates/project/templates/old/survivalkit/partials/common/q.haml +8 -0
  1275. data/templates/project/templates/old/survivalkit/partials/common/samp.haml +8 -0
  1276. data/templates/project/templates/old/survivalkit/partials/common/strong.haml +8 -0
  1277. data/templates/project/templates/old/survivalkit/partials/common/tables.haml +43 -0
  1278. data/templates/project/templates/old/survivalkit/partials/common/var.haml +8 -0
  1279. data/templates/project/templates/old/survivalkit/partials/header-styletile.haml +9 -0
  1280. data/templates/project/templates/old/survivalkit/partials/header.haml +6 -0
  1281. data/templates/project/templates/old/survivalkit/partials/html5/a.haml +36 -0
  1282. data/templates/project/templates/old/survivalkit/partials/html5/abbr.haml +26 -0
  1283. data/templates/project/templates/old/survivalkit/partials/html5/address.haml +27 -0
  1284. data/templates/project/templates/old/survivalkit/partials/html5/all-headings.haml +31 -0
  1285. data/templates/project/templates/old/survivalkit/partials/html5/article.haml +22 -0
  1286. data/templates/project/templates/old/survivalkit/partials/html5/aside.haml +20 -0
  1287. data/templates/project/templates/old/survivalkit/partials/html5/b.haml +21 -0
  1288. data/templates/project/templates/old/survivalkit/partials/html5/bdi.haml +30 -0
  1289. data/templates/project/templates/old/survivalkit/partials/html5/blockquote.haml +32 -0
  1290. data/templates/project/templates/old/survivalkit/partials/html5/cite.haml +46 -0
  1291. data/templates/project/templates/old/survivalkit/partials/html5/code.haml +70 -0
  1292. data/templates/project/templates/old/survivalkit/partials/html5/details.haml +42 -0
  1293. data/templates/project/templates/old/survivalkit/partials/html5/dfn.haml +52 -0
  1294. data/templates/project/templates/old/survivalkit/partials/html5/dl.haml +69 -0
  1295. data/templates/project/templates/old/survivalkit/partials/html5/em.haml +15 -0
  1296. data/templates/project/templates/old/survivalkit/partials/html5/fieldset.haml +49 -0
  1297. data/templates/project/templates/old/survivalkit/partials/html5/figure.haml +48 -0
  1298. data/templates/project/templates/old/survivalkit/partials/html5/footer.haml +37 -0
  1299. data/templates/project/templates/old/survivalkit/partials/html5/header.haml +44 -0
  1300. data/templates/project/templates/old/survivalkit/partials/html5/hgroup.haml +20 -0
  1301. data/templates/project/templates/old/survivalkit/partials/html5/hr.haml +52 -0
  1302. data/templates/project/templates/old/survivalkit/partials/html5/i.haml +28 -0
  1303. data/templates/project/templates/old/survivalkit/partials/html5/kbd.haml +19 -0
  1304. data/templates/project/templates/old/survivalkit/partials/html5/label.haml +18 -0
  1305. data/templates/project/templates/old/survivalkit/partials/html5/li.haml +91 -0
  1306. data/templates/project/templates/old/survivalkit/partials/html5/mark.haml +30 -0
  1307. data/templates/project/templates/old/survivalkit/partials/html5/menu.haml +39 -0
  1308. data/templates/project/templates/old/survivalkit/partials/html5/nav.haml +68 -0
  1309. data/templates/project/templates/old/survivalkit/partials/html5/ol.haml +23 -0
  1310. data/templates/project/templates/old/survivalkit/partials/html5/p.haml +41 -0
  1311. data/templates/project/templates/old/survivalkit/partials/html5/pre.haml +48 -0
  1312. data/templates/project/templates/old/survivalkit/partials/html5/q.haml +34 -0
  1313. data/templates/project/templates/old/survivalkit/partials/html5/ruby.haml +55 -0
  1314. data/templates/project/templates/old/survivalkit/partials/html5/s.haml +17 -0
  1315. data/templates/project/templates/old/survivalkit/partials/html5/samp.haml +27 -0
  1316. data/templates/project/templates/old/survivalkit/partials/html5/sample-forms.haml +52 -0
  1317. data/templates/project/templates/old/survivalkit/partials/html5/sample-tables.haml +152 -0
  1318. data/templates/project/templates/old/survivalkit/partials/html5/section.haml +21 -0
  1319. data/templates/project/templates/old/survivalkit/partials/html5/small.haml +33 -0
  1320. data/templates/project/templates/old/survivalkit/partials/html5/strong.haml +25 -0
  1321. data/templates/project/templates/old/survivalkit/partials/html5/sub-sup.haml +58 -0
  1322. data/templates/project/templates/old/survivalkit/partials/html5/table.haml +196 -0
  1323. data/templates/project/templates/old/survivalkit/partials/html5/text-summary.haml +305 -0
  1324. data/templates/project/templates/old/survivalkit/partials/html5/thead.haml +67 -0
  1325. data/templates/project/templates/old/survivalkit/partials/html5/time.haml +31 -0
  1326. data/templates/project/templates/old/survivalkit/partials/html5/ul.haml +21 -0
  1327. data/templates/project/templates/old/survivalkit/partials/menu.haml +14 -0
  1328. data/templates/project/templates/old/survivalkit/partials/patterns-drupal/block.haml +7 -0
  1329. data/templates/project/templates/old/survivalkit/partials/patterns-drupal/breadcrumbs.haml +7 -0
  1330. data/templates/project/templates/old/survivalkit/partials/patterns-drupal/comments.haml +69 -0
  1331. data/templates/project/templates/old/survivalkit/partials/patterns-drupal/field-image.haml +7 -0
  1332. data/templates/project/templates/old/survivalkit/partials/patterns-drupal/form-comment.haml +54 -0
  1333. data/templates/project/templates/old/survivalkit/partials/patterns-drupal/form-login.haml +23 -0
  1334. data/templates/project/templates/old/survivalkit/partials/patterns-drupal/form-new-account.haml +24 -0
  1335. data/templates/project/templates/old/survivalkit/partials/patterns-drupal/form-new-password.haml +16 -0
  1336. data/templates/project/templates/old/survivalkit/partials/patterns-drupal/links.haml +6 -0
  1337. data/templates/project/templates/old/survivalkit/partials/patterns-drupal/menu.haml +10 -0
  1338. data/templates/project/templates/old/survivalkit/partials/patterns-drupal/messages.haml +21 -0
  1339. data/templates/project/templates/old/survivalkit/partials/patterns-drupal/node.haml +28 -0
  1340. data/templates/project/templates/old/survivalkit/partials/patterns-drupal/pager.haml +17 -0
  1341. data/templates/project/templates/old/survivalkit/partials/patterns-drupal/rss-link.haml +5 -0
  1342. data/templates/project/templates/old/survivalkit/partials/patterns-drupal/search.haml +14 -0
  1343. data/templates/project/templates/old/survivalkit/partials/patterns-drupal/site-name.haml +6 -0
  1344. data/templates/project/templates/old/survivalkit/partials/patterns-drupal/tabs.haml +14 -0
  1345. data/templates/project/templates/old/survivalkit/partials/patterns-drupal/taxonomy.haml +10 -0
  1346. data/templates/project/templates/old/survivalkit/partials/patterns-general/block.haml +7 -0
  1347. data/templates/project/templates/old/survivalkit/partials/patterns-general/breadcrumbs.haml +7 -0
  1348. data/templates/project/templates/old/survivalkit/partials/patterns-general/comments.haml +69 -0
  1349. data/templates/project/templates/old/survivalkit/partials/patterns-general/field-image.haml +7 -0
  1350. data/templates/project/templates/old/survivalkit/partials/patterns-general/form-comment.haml +54 -0
  1351. data/templates/project/templates/old/survivalkit/partials/patterns-general/form-login.haml +23 -0
  1352. data/templates/project/templates/old/survivalkit/partials/patterns-general/form-new-account.haml +24 -0
  1353. data/templates/project/templates/old/survivalkit/partials/patterns-general/form-new-password.haml +16 -0
  1354. data/templates/project/templates/old/survivalkit/partials/patterns-general/links.haml +6 -0
  1355. data/templates/project/templates/old/survivalkit/partials/patterns-general/menu.haml +10 -0
  1356. data/templates/project/templates/old/survivalkit/partials/patterns-general/messages.haml +21 -0
  1357. data/templates/project/templates/old/survivalkit/partials/patterns-general/node.haml +28 -0
  1358. data/templates/project/templates/old/survivalkit/partials/patterns-general/pager.haml +17 -0
  1359. data/templates/project/templates/old/survivalkit/partials/patterns-general/rss-link.haml +5 -0
  1360. data/templates/project/templates/old/survivalkit/partials/patterns-general/search.haml +14 -0
  1361. data/templates/project/templates/old/survivalkit/partials/patterns-general/site-name.haml +6 -0
  1362. data/templates/project/templates/old/survivalkit/partials/patterns-general/tabs.haml +14 -0
  1363. data/templates/project/templates/old/survivalkit/partials/patterns-general/taxonomy.haml +10 -0
  1364. data/templates/project/templates/old/survivalkit/styletile/_layout.haml +1 -0
  1365. data/templates/project/templates/old/survivalkit/styletile/index.redirect +1 -0
  1366. data/templates/project/templates/old/survivalkit/styletile/styletile.haml +60 -0
  1367. data/templates/project/templates/old/view_helpers.rb +25 -0
  1368. metadata +1448 -0
@@ -0,0 +1,28 @@
1
+ (function($){
2
+ function demoLoad (){
3
+ var currentValue = false,
4
+ el = $('#demo-content span');
5
+ el.focus(function(){
6
+ currentValue = $(this).text();
7
+ });
8
+ el.keypress(function (e) {
9
+ if (e.which == 13) {
10
+ e.preventDefault();
11
+ updateIMG($(this));
12
+ }
13
+ })
14
+ el.focusout(function() {
15
+ updateIMG($(this));
16
+ });
17
+ function updateIMG(argu) {
18
+ if (argu.text() !== currentValue) {
19
+ var keywords = $('#keywords').text();
20
+ $('#demo-splash').html('<img src="flickr://' + keywords + '" width="940px" height="250px" style="display:none"><span>Loading New Demo Content</span>');
21
+ startFlickrBomb();
22
+ } else {
23
+ return false;
24
+ }
25
+ }
26
+ }
27
+ demoLoad();
28
+ })(jQuery);
@@ -0,0 +1,94 @@
1
+
2
+
3
+ function supports_local_storage() { try { return 'localStorage' in window && window['localStorage'] !== null; } catch(e){ return false; } }
4
+
5
+ if (supports_local_storage()) {
6
+
7
+ // A simple module to replace `Backbone.sync` with *localStorage*-based
8
+ // persistence. Models are given GUIDS, and saved into a JSON object. Simple
9
+ // as that.
10
+
11
+ // Generate four random hex digits.
12
+ function S4() {
13
+ return (((1+Math.random())*0x10000)|0).toString(16).substring(1);
14
+ };
15
+
16
+ // Generate a pseudo-GUID by concatenating random hexadecimal.
17
+ function guid() {
18
+ return (S4()+S4()+"-"+S4()+"-"+S4()+"-"+S4()+"-"+S4()+S4()+S4());
19
+ };
20
+
21
+ // Our Store is represented by a single JS object in *localStorage*. Create it
22
+ // with a meaningful name, like the name you'd give a table.
23
+ var Store = function(name) {
24
+ this.name = name;
25
+ var store = localStorage.getItem(this.name);
26
+ this.data = (store && JSON.parse(store)) || {};
27
+ };
28
+
29
+ _.extend(Store.prototype, {
30
+
31
+ // Save the current state of the **Store** to *localStorage*.
32
+ save: function() {
33
+ localStorage.setItem(this.name, JSON.stringify(this.data));
34
+ },
35
+
36
+ // Add a model, giving it a (hopefully)-unique GUID, if it doesn't already
37
+ // have an id of it's own.
38
+ create: function(model) {
39
+ if (!model.id) model.id = model.attributes.id = guid();
40
+ this.data[model.id] = model;
41
+ this.save();
42
+ return model;
43
+ },
44
+
45
+ // Update a model by replacing its copy in `this.data`.
46
+ update: function(model) {
47
+ this.data[model.id] = model;
48
+ this.save();
49
+ return model;
50
+ },
51
+
52
+ // Retrieve a model from `this.data` by id.
53
+ find: function(model) {
54
+ return this.data[model.id];
55
+ },
56
+
57
+ // Return the array of all models currently in storage.
58
+ findAll: function() {
59
+ return _.values(this.data);
60
+ },
61
+
62
+ // Delete a model from `this.data`, returning it.
63
+ destroy: function(model) {
64
+ delete this.data[model.id];
65
+ this.save();
66
+ return model;
67
+ }
68
+
69
+ });
70
+ // Override `Backbone.sync` to use delegate to the model or collection's
71
+ // *localStorage* property, which should be an instance of `Store`.
72
+ Backbone.sync = function(method, model, success, error) {
73
+
74
+ var resp;
75
+ var store = model.localStorage || model.collection.localStorage;
76
+
77
+ switch (method) {
78
+ case "read": resp = model.id ? store.find(model) : store.findAll(); break;
79
+ case "create": resp = store.create(model); break;
80
+ case "update": resp = store.update(model); break;
81
+ case "delete": resp = store.destroy(model); break;
82
+ }
83
+
84
+ if (resp) {
85
+ success(resp);
86
+ } else {
87
+ // Swallow errors for now
88
+ // error("Record not found");
89
+ }
90
+ };
91
+ } else {
92
+ Backbone.sync = $.noop;
93
+ }
94
+
@@ -0,0 +1,1011 @@
1
+ // Backbone.js 0.3.3
2
+ // (c) 2010 Jeremy Ashkenas, DocumentCloud Inc.
3
+ // Backbone may be freely distributed under the MIT license.
4
+ // For all details and documentation:
5
+ // http://documentcloud.github.com/backbone
6
+
7
+ (function(){
8
+
9
+ // Initial Setup
10
+ // -------------
11
+
12
+ // The top-level namespace. All public Backbone classes and modules will
13
+ // be attached to this. Exported for both CommonJS and the browser.
14
+ var Backbone;
15
+ if (typeof exports !== 'undefined') {
16
+ Backbone = exports;
17
+ } else {
18
+ Backbone = this.Backbone = {};
19
+ }
20
+
21
+ // Current version of the library. Keep in sync with `package.json`.
22
+ Backbone.VERSION = '0.3.3';
23
+
24
+ // Require Underscore, if we're on the server, and it's not already present.
25
+ var _ = this._;
26
+ if (!_ && (typeof require !== 'undefined')) _ = require("underscore")._;
27
+
28
+ // For Backbone's purposes, either jQuery or Zepto owns the `$` variable.
29
+ var $ = this.jQuery || this.Zepto;
30
+
31
+ // Turn on `emulateHTTP` to use support legacy HTTP servers. Setting this option will
32
+ // fake `"PUT"` and `"DELETE"` requests via the `_method` parameter and set a
33
+ // `X-Http-Method-Override` header.
34
+ Backbone.emulateHTTP = false;
35
+
36
+ // Turn on `emulateJSON` to support legacy servers that can't deal with direct
37
+ // `application/json` requests ... will encode the body as
38
+ // `application/x-www-form-urlencoded` instead and will send the model in a
39
+ // form param named `model`.
40
+ Backbone.emulateJSON = false;
41
+
42
+ // Backbone.Events
43
+ // -----------------
44
+
45
+ // A module that can be mixed in to *any object* in order to provide it with
46
+ // custom events. You may `bind` or `unbind` a callback function to an event;
47
+ // `trigger`-ing an event fires all callbacks in succession.
48
+ //
49
+ // var object = {};
50
+ // _.extend(object, Backbone.Events);
51
+ // object.bind('expand', function(){ alert('expanded'); });
52
+ // object.trigger('expand');
53
+ //
54
+ Backbone.Events = {
55
+
56
+ // Bind an event, specified by a string name, `ev`, to a `callback` function.
57
+ // Passing `"all"` will bind the callback to all events fired.
58
+ bind : function(ev, callback) {
59
+ var calls = this._callbacks || (this._callbacks = {});
60
+ var list = this._callbacks[ev] || (this._callbacks[ev] = []);
61
+ list.push(callback);
62
+ return this;
63
+ },
64
+
65
+ // Remove one or many callbacks. If `callback` is null, removes all
66
+ // callbacks for the event. If `ev` is null, removes all bound callbacks
67
+ // for all events.
68
+ unbind : function(ev, callback) {
69
+ var calls;
70
+ if (!ev) {
71
+ this._callbacks = {};
72
+ } else if (calls = this._callbacks) {
73
+ if (!callback) {
74
+ calls[ev] = [];
75
+ } else {
76
+ var list = calls[ev];
77
+ if (!list) return this;
78
+ for (var i = 0, l = list.length; i < l; i++) {
79
+ if (callback === list[i]) {
80
+ list.splice(i, 1);
81
+ break;
82
+ }
83
+ }
84
+ }
85
+ }
86
+ return this;
87
+ },
88
+
89
+ // Trigger an event, firing all bound callbacks. Callbacks are passed the
90
+ // same arguments as `trigger` is, apart from the event name.
91
+ // Listening for `"all"` passes the true event name as the first argument.
92
+ trigger : function(ev) {
93
+ var list, calls, i, l;
94
+ if (!(calls = this._callbacks)) return this;
95
+ if (list = calls[ev]) {
96
+ for (i = 0, l = list.length; i < l; i++) {
97
+ list[i].apply(this, Array.prototype.slice.call(arguments, 1));
98
+ }
99
+ }
100
+ if (list = calls['all']) {
101
+ for (i = 0, l = list.length; i < l; i++) {
102
+ list[i].apply(this, arguments);
103
+ }
104
+ }
105
+ return this;
106
+ }
107
+
108
+ };
109
+
110
+ // Backbone.Model
111
+ // --------------
112
+
113
+ // Create a new model, with defined attributes. A client id (`cid`)
114
+ // is automatically generated and assigned for you.
115
+ Backbone.Model = function(attributes, options) {
116
+ attributes || (attributes = {});
117
+ if (this.defaults) attributes = _.extend({}, this.defaults, attributes);
118
+ this.attributes = {};
119
+ this._escapedAttributes = {};
120
+ this.cid = _.uniqueId('c');
121
+ this.set(attributes, {silent : true});
122
+ this._previousAttributes = _.clone(this.attributes);
123
+ if (options && options.collection) this.collection = options.collection;
124
+ this.initialize(attributes, options);
125
+ };
126
+
127
+ // Attach all inheritable methods to the Model prototype.
128
+ _.extend(Backbone.Model.prototype, Backbone.Events, {
129
+
130
+ // A snapshot of the model's previous attributes, taken immediately
131
+ // after the last `"change"` event was fired.
132
+ _previousAttributes : null,
133
+
134
+ // Has the item been changed since the last `"change"` event?
135
+ _changed : false,
136
+
137
+ // Initialize is an empty function by default. Override it with your own
138
+ // initialization logic.
139
+ initialize : function(){},
140
+
141
+ // Return a copy of the model's `attributes` object.
142
+ toJSON : function() {
143
+ return _.clone(this.attributes);
144
+ },
145
+
146
+ // Get the value of an attribute.
147
+ get : function(attr) {
148
+ return this.attributes[attr];
149
+ },
150
+
151
+ // Get the HTML-escaped value of an attribute.
152
+ escape : function(attr) {
153
+ var html;
154
+ if (html = this._escapedAttributes[attr]) return html;
155
+ var val = this.attributes[attr];
156
+ return this._escapedAttributes[attr] = escapeHTML(val == null ? '' : val);
157
+ },
158
+
159
+ // Set a hash of model attributes on the object, firing `"change"` unless you
160
+ // choose to silence it.
161
+ set : function(attrs, options) {
162
+
163
+ // Extract attributes and options.
164
+ options || (options = {});
165
+ if (!attrs) return this;
166
+ if (attrs.attributes) attrs = attrs.attributes;
167
+ var now = this.attributes, escaped = this._escapedAttributes;
168
+
169
+ // Run validation.
170
+ if (!options.silent && this.validate && !this._performValidation(attrs, options)) return false;
171
+
172
+ // Check for changes of `id`.
173
+ if ('id' in attrs) this.id = attrs.id;
174
+
175
+ // Update attributes.
176
+ for (var attr in attrs) {
177
+ var val = attrs[attr];
178
+ if (!_.isEqual(now[attr], val)) {
179
+ now[attr] = val;
180
+ delete escaped[attr];
181
+ if (!options.silent) {
182
+ this._changed = true;
183
+ this.trigger('change:' + attr, this, val, options);
184
+ }
185
+ }
186
+ }
187
+
188
+ // Fire the `"change"` event, if the model has been changed.
189
+ if (!options.silent && this._changed) this.change(options);
190
+ return this;
191
+ },
192
+
193
+ // Remove an attribute from the model, firing `"change"` unless you choose
194
+ // to silence it.
195
+ unset : function(attr, options) {
196
+ options || (options = {});
197
+ var value = this.attributes[attr];
198
+
199
+ // Run validation.
200
+ var validObj = {};
201
+ validObj[attr] = void 0;
202
+ if (!options.silent && this.validate && !this._performValidation(validObj, options)) return false;
203
+
204
+ // Remove the attribute.
205
+ delete this.attributes[attr];
206
+ delete this._escapedAttributes[attr];
207
+ if (!options.silent) {
208
+ this._changed = true;
209
+ this.trigger('change:' + attr, this, void 0, options);
210
+ this.change(options);
211
+ }
212
+ return this;
213
+ },
214
+
215
+ // Clear all attributes on the model, firing `"change"` unless you choose
216
+ // to silence it.
217
+ clear : function(options) {
218
+ options || (options = {});
219
+ var old = this.attributes;
220
+
221
+ // Run validation.
222
+ var validObj = {};
223
+ for (attr in old) validObj[attr] = void 0;
224
+ if (!options.silent && this.validate && !this._performValidation(validObj, options)) return false;
225
+
226
+ this.attributes = {};
227
+ this._escapedAttributes = {};
228
+ if (!options.silent) {
229
+ this._changed = true;
230
+ for (attr in old) {
231
+ this.trigger('change:' + attr, this, void 0, options);
232
+ }
233
+ this.change(options);
234
+ }
235
+ return this;
236
+ },
237
+
238
+ // Fetch the model from the server. If the server's representation of the
239
+ // model differs from its current attributes, they will be overriden,
240
+ // triggering a `"change"` event.
241
+ fetch : function(options) {
242
+ options || (options = {});
243
+ var model = this;
244
+ var success = function(resp) {
245
+ if (!model.set(model.parse(resp), options)) return false;
246
+ if (options.success) options.success(model, resp);
247
+ };
248
+ var error = wrapError(options.error, model, options);
249
+ (this.sync || Backbone.sync)('read', this, success, error);
250
+ return this;
251
+ },
252
+
253
+ // Set a hash of model attributes, and sync the model to the server.
254
+ // If the server returns an attributes hash that differs, the model's
255
+ // state will be `set` again.
256
+ save : function(attrs, options) {
257
+ options || (options = {});
258
+ if (attrs && !this.set(attrs, options)) return false;
259
+ var model = this;
260
+ var success = function(resp) {
261
+ if (!model.set(model.parse(resp), options)) return false;
262
+ if (options.success) options.success(model, resp);
263
+ };
264
+ var error = wrapError(options.error, model, options);
265
+ var method = this.isNew() ? 'create' : 'update';
266
+ (this.sync || Backbone.sync)(method, this, success, error);
267
+ return this;
268
+ },
269
+
270
+ // Destroy this model on the server. Upon success, the model is removed
271
+ // from its collection, if it has one.
272
+ destroy : function(options) {
273
+ options || (options = {});
274
+ var model = this;
275
+ var success = function(resp) {
276
+ if (model.collection) model.collection.remove(model);
277
+ if (options.success) options.success(model, resp);
278
+ };
279
+ var error = wrapError(options.error, model, options);
280
+ (this.sync || Backbone.sync)('delete', this, success, error);
281
+ return this;
282
+ },
283
+
284
+ // Default URL for the model's representation on the server -- if you're
285
+ // using Backbone's restful methods, override this to change the endpoint
286
+ // that will be called.
287
+ url : function() {
288
+ var base = getUrl(this.collection);
289
+ if (this.isNew()) return base;
290
+ return base + (base.charAt(base.length - 1) == '/' ? '' : '/') + this.id;
291
+ },
292
+
293
+ // **parse** converts a response into the hash of attributes to be `set` on
294
+ // the model. The default implementation is just to pass the response along.
295
+ parse : function(resp) {
296
+ return resp;
297
+ },
298
+
299
+ // Create a new model with identical attributes to this one.
300
+ clone : function() {
301
+ return new this.constructor(this);
302
+ },
303
+
304
+ // A model is new if it has never been saved to the server, and has a negative
305
+ // ID.
306
+ isNew : function() {
307
+ return !this.id;
308
+ },
309
+
310
+ // Call this method to manually fire a `change` event for this model.
311
+ // Calling this will cause all objects observing the model to update.
312
+ change : function(options) {
313
+ this.trigger('change', this, options);
314
+ this._previousAttributes = _.clone(this.attributes);
315
+ this._changed = false;
316
+ },
317
+
318
+ // Determine if the model has changed since the last `"change"` event.
319
+ // If you specify an attribute name, determine if that attribute has changed.
320
+ hasChanged : function(attr) {
321
+ if (attr) return this._previousAttributes[attr] != this.attributes[attr];
322
+ return this._changed;
323
+ },
324
+
325
+ // Return an object containing all the attributes that have changed, or false
326
+ // if there are no changed attributes. Useful for determining what parts of a
327
+ // view need to be updated and/or what attributes need to be persisted to
328
+ // the server.
329
+ changedAttributes : function(now) {
330
+ now || (now = this.attributes);
331
+ var old = this._previousAttributes;
332
+ var changed = false;
333
+ for (var attr in now) {
334
+ if (!_.isEqual(old[attr], now[attr])) {
335
+ changed = changed || {};
336
+ changed[attr] = now[attr];
337
+ }
338
+ }
339
+ return changed;
340
+ },
341
+
342
+ // Get the previous value of an attribute, recorded at the time the last
343
+ // `"change"` event was fired.
344
+ previous : function(attr) {
345
+ if (!attr || !this._previousAttributes) return null;
346
+ return this._previousAttributes[attr];
347
+ },
348
+
349
+ // Get all of the attributes of the model at the time of the previous
350
+ // `"change"` event.
351
+ previousAttributes : function() {
352
+ return _.clone(this._previousAttributes);
353
+ },
354
+
355
+ // Run validation against a set of incoming attributes, returning `true`
356
+ // if all is well. If a specific `error` callback has been passed,
357
+ // call that instead of firing the general `"error"` event.
358
+ _performValidation : function(attrs, options) {
359
+ var error = this.validate(attrs);
360
+ if (error) {
361
+ if (options.error) {
362
+ options.error(this, error);
363
+ } else {
364
+ this.trigger('error', this, error, options);
365
+ }
366
+ return false;
367
+ }
368
+ return true;
369
+ }
370
+
371
+ });
372
+
373
+ // Backbone.Collection
374
+ // -------------------
375
+
376
+ // Provides a standard collection class for our sets of models, ordered
377
+ // or unordered. If a `comparator` is specified, the Collection will maintain
378
+ // its models in sort order, as they're added and removed.
379
+ Backbone.Collection = function(models, options) {
380
+ options || (options = {});
381
+ if (options.comparator) {
382
+ this.comparator = options.comparator;
383
+ delete options.comparator;
384
+ }
385
+ this._boundOnModelEvent = _.bind(this._onModelEvent, this);
386
+ this._reset();
387
+ if (models) this.refresh(models, {silent: true});
388
+ this.initialize(models, options);
389
+ };
390
+
391
+ // Define the Collection's inheritable methods.
392
+ _.extend(Backbone.Collection.prototype, Backbone.Events, {
393
+
394
+ // The default model for a collection is just a **Backbone.Model**.
395
+ // This should be overridden in most cases.
396
+ model : Backbone.Model,
397
+
398
+ // Initialize is an empty function by default. Override it with your own
399
+ // initialization logic.
400
+ initialize : function(){},
401
+
402
+ // The JSON representation of a Collection is an array of the
403
+ // models' attributes.
404
+ toJSON : function() {
405
+ return this.map(function(model){ return model.toJSON(); });
406
+ },
407
+
408
+ // Add a model, or list of models to the set. Pass **silent** to avoid
409
+ // firing the `added` event for every new model.
410
+ add : function(models, options) {
411
+ if (_.isArray(models)) {
412
+ for (var i = 0, l = models.length; i < l; i++) {
413
+ this._add(models[i], options);
414
+ }
415
+ } else {
416
+ this._add(models, options);
417
+ }
418
+ return this;
419
+ },
420
+
421
+ // Remove a model, or a list of models from the set. Pass silent to avoid
422
+ // firing the `removed` event for every model removed.
423
+ remove : function(models, options) {
424
+ if (_.isArray(models)) {
425
+ for (var i = 0, l = models.length; i < l; i++) {
426
+ this._remove(models[i], options);
427
+ }
428
+ } else {
429
+ this._remove(models, options);
430
+ }
431
+ return this;
432
+ },
433
+
434
+ // Get a model from the set by id.
435
+ get : function(id) {
436
+ if (id == null) return null;
437
+ return this._byId[id.id != null ? id.id : id];
438
+ },
439
+
440
+ // Get a model from the set by client id.
441
+ getByCid : function(cid) {
442
+ return cid && this._byCid[cid.cid || cid];
443
+ },
444
+
445
+ // Get the model at the given index.
446
+ at: function(index) {
447
+ return this.models[index];
448
+ },
449
+
450
+ // Force the collection to re-sort itself. You don't need to call this under normal
451
+ // circumstances, as the set will maintain sort order as each item is added.
452
+ sort : function(options) {
453
+ options || (options = {});
454
+ if (!this.comparator) throw new Error('Cannot sort a set without a comparator');
455
+ this.models = this.sortBy(this.comparator);
456
+ if (!options.silent) this.trigger('refresh', this, options);
457
+ return this;
458
+ },
459
+
460
+ // Pluck an attribute from each model in the collection.
461
+ pluck : function(attr) {
462
+ return _.map(this.models, function(model){ return model.get(attr); });
463
+ },
464
+
465
+ // When you have more items than you want to add or remove individually,
466
+ // you can refresh the entire set with a new list of models, without firing
467
+ // any `added` or `removed` events. Fires `refresh` when finished.
468
+ refresh : function(models, options) {
469
+ models || (models = []);
470
+ options || (options = {});
471
+ this._reset();
472
+ this.add(models, {silent: true});
473
+ if (!options.silent) this.trigger('refresh', this, options);
474
+ return this;
475
+ },
476
+
477
+ // Fetch the default set of models for this collection, refreshing the
478
+ // collection when they arrive.
479
+ fetch : function(options) {
480
+ options || (options = {});
481
+ var collection = this;
482
+ var success = function(resp) {
483
+ collection.refresh(collection.parse(resp));
484
+ if (options.success) options.success(collection, resp);
485
+ };
486
+ var error = wrapError(options.error, collection, options);
487
+ (this.sync || Backbone.sync)('read', this, success, error);
488
+ return this;
489
+ },
490
+
491
+ // Create a new instance of a model in this collection. After the model
492
+ // has been created on the server, it will be added to the collection.
493
+ create : function(model, options) {
494
+ var coll = this;
495
+ options || (options = {});
496
+ if (!(model instanceof Backbone.Model)) {
497
+ model = new this.model(model, {collection: coll});
498
+ } else {
499
+ model.collection = coll;
500
+ }
501
+ var success = function(nextModel, resp) {
502
+ coll.add(nextModel);
503
+ if (options.success) options.success(nextModel, resp);
504
+ };
505
+ return model.save(null, {success : success, error : options.error});
506
+ },
507
+
508
+ // **parse** converts a response into a list of models to be added to the
509
+ // collection. The default implementation is just to pass it through.
510
+ parse : function(resp) {
511
+ return resp;
512
+ },
513
+
514
+ // Proxy to _'s chain. Can't be proxied the same way the rest of the
515
+ // underscore methods are proxied because it relies on the underscore
516
+ // constructor.
517
+ chain: function () {
518
+ return _(this.models).chain();
519
+ },
520
+
521
+ // Reset all internal state. Called when the collection is refreshed.
522
+ _reset : function(options) {
523
+ this.length = 0;
524
+ this.models = [];
525
+ this._byId = {};
526
+ this._byCid = {};
527
+ },
528
+
529
+ // Internal implementation of adding a single model to the set, updating
530
+ // hash indexes for `id` and `cid` lookups.
531
+ _add : function(model, options) {
532
+ options || (options = {});
533
+ if (!(model instanceof Backbone.Model)) {
534
+ model = new this.model(model, {collection: this});
535
+ }
536
+ var already = this.getByCid(model);
537
+ if (already) throw new Error(["Can't add the same model to a set twice", already.id]);
538
+ this._byId[model.id] = model;
539
+ this._byCid[model.cid] = model;
540
+ model.collection = this;
541
+ var index = this.comparator ? this.sortedIndex(model, this.comparator) : this.length;
542
+ this.models.splice(index, 0, model);
543
+ model.bind('all', this._boundOnModelEvent);
544
+ this.length++;
545
+ if (!options.silent) model.trigger('add', model, this, options);
546
+ return model;
547
+ },
548
+
549
+ // Internal implementation of removing a single model from the set, updating
550
+ // hash indexes for `id` and `cid` lookups.
551
+ _remove : function(model, options) {
552
+ options || (options = {});
553
+ model = this.getByCid(model) || this.get(model);
554
+ if (!model) return null;
555
+ delete this._byId[model.id];
556
+ delete this._byCid[model.cid];
557
+ delete model.collection;
558
+ this.models.splice(this.indexOf(model), 1);
559
+ this.length--;
560
+ if (!options.silent) model.trigger('remove', model, this, options);
561
+ model.unbind('all', this._boundOnModelEvent);
562
+ return model;
563
+ },
564
+
565
+ // Internal method called every time a model in the set fires an event.
566
+ // Sets need to update their indexes when models change ids. All other
567
+ // events simply proxy through.
568
+ _onModelEvent : function(ev, model) {
569
+ if (ev === 'change:id') {
570
+ delete this._byId[model.previous('id')];
571
+ this._byId[model.id] = model;
572
+ }
573
+ this.trigger.apply(this, arguments);
574
+ }
575
+
576
+ });
577
+
578
+ // Underscore methods that we want to implement on the Collection.
579
+ var methods = ['forEach', 'each', 'map', 'reduce', 'reduceRight', 'find', 'detect',
580
+ 'filter', 'select', 'reject', 'every', 'all', 'some', 'any', 'include',
581
+ 'invoke', 'max', 'min', 'sortBy', 'sortedIndex', 'toArray', 'size',
582
+ 'first', 'rest', 'last', 'without', 'indexOf', 'lastIndexOf', 'isEmpty'];
583
+
584
+ // Mix in each Underscore method as a proxy to `Collection#models`.
585
+ _.each(methods, function(method) {
586
+ Backbone.Collection.prototype[method] = function() {
587
+ return _[method].apply(_, [this.models].concat(_.toArray(arguments)));
588
+ };
589
+ });
590
+
591
+ // Backbone.Controller
592
+ // -------------------
593
+
594
+ // Controllers map faux-URLs to actions, and fire events when routes are
595
+ // matched. Creating a new one sets its `routes` hash, if not set statically.
596
+ Backbone.Controller = function(options) {
597
+ options || (options = {});
598
+ if (options.routes) this.routes = options.routes;
599
+ this._bindRoutes();
600
+ this.initialize(options);
601
+ };
602
+
603
+ // Cached regular expressions for matching named param parts and splatted
604
+ // parts of route strings.
605
+ var namedParam = /:([\w\d]+)/g;
606
+ var splatParam = /\*([\w\d]+)/g;
607
+
608
+ // Set up all inheritable **Backbone.Controller** properties and methods.
609
+ _.extend(Backbone.Controller.prototype, Backbone.Events, {
610
+
611
+ // Initialize is an empty function by default. Override it with your own
612
+ // initialization logic.
613
+ initialize : function(){},
614
+
615
+ // Manually bind a single named route to a callback. For example:
616
+ //
617
+ // this.route('search/:query/p:num', 'search', function(query, num) {
618
+ // ...
619
+ // });
620
+ //
621
+ route : function(route, name, callback) {
622
+ Backbone.history || (Backbone.history = new Backbone.History);
623
+ if (!_.isRegExp(route)) route = this._routeToRegExp(route);
624
+ Backbone.history.route(route, _.bind(function(fragment) {
625
+ var args = this._extractParameters(route, fragment);
626
+ callback.apply(this, args);
627
+ this.trigger.apply(this, ['route:' + name].concat(args));
628
+ }, this));
629
+ },
630
+
631
+ // Simple proxy to `Backbone.history` to save a fragment into the history,
632
+ // without triggering routes.
633
+ saveLocation : function(fragment) {
634
+ Backbone.history.saveLocation(fragment);
635
+ },
636
+
637
+ // Bind all defined routes to `Backbone.history`.
638
+ _bindRoutes : function() {
639
+ if (!this.routes) return;
640
+ for (var route in this.routes) {
641
+ var name = this.routes[route];
642
+ this.route(route, name, this[name]);
643
+ }
644
+ },
645
+
646
+ // Convert a route string into a regular expression, suitable for matching
647
+ // against the current location fragment.
648
+ _routeToRegExp : function(route) {
649
+ route = route.replace(namedParam, "([^\/]*)").replace(splatParam, "(.*?)");
650
+ return new RegExp('^' + route + '$');
651
+ },
652
+
653
+ // Given a route, and a URL fragment that it matches, return the array of
654
+ // extracted parameters.
655
+ _extractParameters : function(route, fragment) {
656
+ return route.exec(fragment).slice(1);
657
+ }
658
+
659
+ });
660
+
661
+ // Backbone.History
662
+ // ----------------
663
+
664
+ // Handles cross-browser history management, based on URL hashes. If the
665
+ // browser does not support `onhashchange`, falls back to polling.
666
+ Backbone.History = function() {
667
+ this.handlers = [];
668
+ this.fragment = this.getFragment();
669
+ _.bindAll(this, 'checkUrl');
670
+ };
671
+
672
+ // Cached regex for cleaning hashes.
673
+ var hashStrip = /^#*/;
674
+
675
+ // Set up all inheritable **Backbone.History** properties and methods.
676
+ _.extend(Backbone.History.prototype, {
677
+
678
+ // The default interval to poll for hash changes, if necessary, is
679
+ // twenty times a second.
680
+ interval: 50,
681
+
682
+ // Get the cross-browser normalized URL fragment.
683
+ getFragment : function(loc) {
684
+ return (loc || window.location).hash.replace(hashStrip, '');
685
+ },
686
+
687
+ // Start the hash change handling, returning `true` if the current URL matches
688
+ // an existing route, and `false` otherwise.
689
+ start : function() {
690
+ var docMode = document.documentMode;
691
+ var oldIE = ($.browser.msie && (!docMode || docMode <= 7));
692
+ if (oldIE) {
693
+ this.iframe = $('<iframe src="javascript:0" tabindex="-1" />').hide().appendTo('body')[0].contentWindow;
694
+ }
695
+ if ('onhashchange' in window && !oldIE) {
696
+ $(window).bind('hashchange', this.checkUrl);
697
+ } else {
698
+ setInterval(this.checkUrl, this.interval);
699
+ }
700
+ return this.loadUrl();
701
+ },
702
+
703
+ // Add a route to be tested when the hash changes. Routes are matched in the
704
+ // order they are added.
705
+ route : function(route, callback) {
706
+ this.handlers.push({route : route, callback : callback});
707
+ },
708
+
709
+ // Checks the current URL to see if it has changed, and if it has,
710
+ // calls `loadUrl`, normalizing across the hidden iframe.
711
+ checkUrl : function() {
712
+ var current = this.getFragment();
713
+ if (current == this.fragment && this.iframe) {
714
+ current = this.getFragment(this.iframe.location);
715
+ }
716
+ if (current == this.fragment ||
717
+ current == decodeURIComponent(this.fragment)) return false;
718
+ if (this.iframe) {
719
+ window.location.hash = this.iframe.location.hash = current;
720
+ }
721
+ this.loadUrl();
722
+ },
723
+
724
+ // Attempt to load the current URL fragment. If a route succeeds with a
725
+ // match, returns `true`. If no defined routes matches the fragment,
726
+ // returns `false`.
727
+ loadUrl : function() {
728
+ var fragment = this.fragment = this.getFragment();
729
+ var matched = _.any(this.handlers, function(handler) {
730
+ if (handler.route.test(fragment)) {
731
+ handler.callback(fragment);
732
+ return true;
733
+ }
734
+ });
735
+ return matched;
736
+ },
737
+
738
+ // Save a fragment into the hash history. You are responsible for properly
739
+ // URL-encoding the fragment in advance. This does not trigger
740
+ // a `hashchange` event.
741
+ saveLocation : function(fragment) {
742
+ fragment = (fragment || '').replace(hashStrip, '');
743
+ if (this.fragment == fragment) return;
744
+ window.location.hash = this.fragment = fragment;
745
+ if (this.iframe && (fragment != this.getFragment(this.iframe.location))) {
746
+ this.iframe.document.open().close();
747
+ this.iframe.location.hash = fragment;
748
+ }
749
+ }
750
+
751
+ });
752
+
753
+ // Backbone.View
754
+ // -------------
755
+
756
+ // Creating a Backbone.View creates its initial element outside of the DOM,
757
+ // if an existing element is not provided...
758
+ Backbone.View = function(options) {
759
+ this._configure(options || {});
760
+ this._ensureElement();
761
+ this.delegateEvents();
762
+ this.initialize(options);
763
+ };
764
+
765
+ // Element lookup, scoped to DOM elements within the current view.
766
+ // This should be prefered to global lookups, if you're dealing with
767
+ // a specific view.
768
+ var selectorDelegate = function(selector) {
769
+ return $(selector, this.el);
770
+ };
771
+
772
+ // Cached regex to split keys for `delegate`.
773
+ var eventSplitter = /^(\w+)\s*(.*)$/;
774
+
775
+ // Set up all inheritable **Backbone.View** properties and methods.
776
+ _.extend(Backbone.View.prototype, Backbone.Events, {
777
+
778
+ // The default `tagName` of a View's element is `"div"`.
779
+ tagName : 'div',
780
+
781
+ // Attach the `selectorDelegate` function as the `$` property.
782
+ $ : selectorDelegate,
783
+
784
+ // Initialize is an empty function by default. Override it with your own
785
+ // initialization logic.
786
+ initialize : function(){},
787
+
788
+ // **render** is the core function that your view should override, in order
789
+ // to populate its element (`this.el`), with the appropriate HTML. The
790
+ // convention is for **render** to always return `this`.
791
+ render : function() {
792
+ return this;
793
+ },
794
+
795
+ // Remove this view from the DOM. Note that the view isn't present in the
796
+ // DOM by default, so calling this method may be a no-op.
797
+ remove : function() {
798
+ $(this.el).remove();
799
+ return this;
800
+ },
801
+
802
+ // For small amounts of DOM Elements, where a full-blown template isn't
803
+ // needed, use **make** to manufacture elements, one at a time.
804
+ //
805
+ // var el = this.make('li', {'class': 'row'}, this.model.escape('title'));
806
+ //
807
+ make : function(tagName, attributes, content) {
808
+ var el = document.createElement(tagName);
809
+ if (attributes) $(el).attr(attributes);
810
+ if (content) $(el).html(content);
811
+ return el;
812
+ },
813
+
814
+ // Set callbacks, where `this.callbacks` is a hash of
815
+ //
816
+ // *{"event selector": "callback"}*
817
+ //
818
+ // {
819
+ // 'mousedown .title': 'edit',
820
+ // 'click .button': 'save'
821
+ // }
822
+ //
823
+ // pairs. Callbacks will be bound to the view, with `this` set properly.
824
+ // Uses event delegation for efficiency.
825
+ // Omitting the selector binds the event to `this.el`.
826
+ // This only works for delegate-able events: not `focus`, `blur`, and
827
+ // not `change`, `submit`, and `reset` in Internet Explorer.
828
+ delegateEvents : function(events) {
829
+ if (!(events || (events = this.events))) return;
830
+ $(this.el).unbind();
831
+ for (var key in events) {
832
+ var methodName = events[key];
833
+ var match = key.match(eventSplitter);
834
+ var eventName = match[1], selector = match[2];
835
+ var method = _.bind(this[methodName], this);
836
+ if (selector === '') {
837
+ $(this.el).bind(eventName, method);
838
+ } else {
839
+ $(this.el).delegate(selector, eventName, method);
840
+ }
841
+ }
842
+ },
843
+
844
+ // Performs the initial configuration of a View with a set of options.
845
+ // Keys with special meaning *(model, collection, id, className)*, are
846
+ // attached directly to the view.
847
+ _configure : function(options) {
848
+ if (this.options) options = _.extend({}, this.options, options);
849
+ if (options.model) this.model = options.model;
850
+ if (options.collection) this.collection = options.collection;
851
+ if (options.el) this.el = options.el;
852
+ if (options.id) this.id = options.id;
853
+ if (options.className) this.className = options.className;
854
+ if (options.tagName) this.tagName = options.tagName;
855
+ this.options = options;
856
+ },
857
+
858
+ // Ensure that the View has a DOM element to render into.
859
+ _ensureElement : function() {
860
+ if (this.el) return;
861
+ var attrs = {};
862
+ if (this.id) attrs.id = this.id;
863
+ if (this.className) attrs["class"] = this.className;
864
+ this.el = this.make(this.tagName, attrs);
865
+ }
866
+
867
+ });
868
+
869
+ // The self-propagating extend function that Backbone classes use.
870
+ var extend = function (protoProps, classProps) {
871
+ var child = inherits(this, protoProps, classProps);
872
+ child.extend = extend;
873
+ return child;
874
+ };
875
+
876
+ // Set up inheritance for the model, collection, and view.
877
+ Backbone.Model.extend = Backbone.Collection.extend =
878
+ Backbone.Controller.extend = Backbone.View.extend = extend;
879
+
880
+ // Map from CRUD to HTTP for our default `Backbone.sync` implementation.
881
+ var methodMap = {
882
+ 'create': 'POST',
883
+ 'update': 'PUT',
884
+ 'delete': 'DELETE',
885
+ 'read' : 'GET'
886
+ };
887
+
888
+ // Backbone.sync
889
+ // -------------
890
+
891
+ // Override this function to change the manner in which Backbone persists
892
+ // models to the server. You will be passed the type of request, and the
893
+ // model in question. By default, uses makes a RESTful Ajax request
894
+ // to the model's `url()`. Some possible customizations could be:
895
+ //
896
+ // * Use `setTimeout` to batch rapid-fire updates into a single request.
897
+ // * Send up the models as XML instead of JSON.
898
+ // * Persist models via WebSockets instead of Ajax.
899
+ //
900
+ // Turn on `Backbone.emulateHTTP` in order to send `PUT` and `DELETE` requests
901
+ // as `POST`, with a `_method` parameter containing the true HTTP method,
902
+ // as well as all requests with the body as `application/x-www-form-urlencoded` instead of
903
+ // `application/json` with the model in a param named `model`.
904
+ // Useful when interfacing with server-side languages like **PHP** that make
905
+ // it difficult to read the body of `PUT` requests.
906
+ Backbone.sync = function(method, model, success, error) {
907
+ var type = methodMap[method];
908
+ var modelJSON = (method === 'create' || method === 'update') ?
909
+ JSON.stringify(model.toJSON()) : null;
910
+
911
+ // Default JSON-request options.
912
+ var params = {
913
+ url: getUrl(model),
914
+ type: type,
915
+ contentType: 'application/json',
916
+ data: modelJSON,
917
+ dataType: 'json',
918
+ processData: false,
919
+ success: success,
920
+ error: error
921
+ };
922
+
923
+ // For older servers, emulate JSON by encoding the request into an HTML-form.
924
+ if (Backbone.emulateJSON) {
925
+ params.contentType = 'application/x-www-form-urlencoded';
926
+ params.processData = true;
927
+ params.data = modelJSON ? {model : modelJSON} : {};
928
+ }
929
+
930
+ // For older servers, emulate HTTP by mimicking the HTTP method with `_method`
931
+ // And an `X-HTTP-Method-Override` header.
932
+ if (Backbone.emulateHTTP) {
933
+ if (type === 'PUT' || type === 'DELETE') {
934
+ if (Backbone.emulateJSON) params.data._method = type;
935
+ params.type = 'POST';
936
+ params.beforeSend = function(xhr) {
937
+ xhr.setRequestHeader("X-HTTP-Method-Override", type);
938
+ };
939
+ }
940
+ }
941
+
942
+ // Make the request.
943
+ $.ajax(params);
944
+ };
945
+
946
+ // Helpers
947
+ // -------
948
+
949
+ // Shared empty constructor function to aid in prototype-chain creation.
950
+ var ctor = function(){};
951
+
952
+ // Helper function to correctly set up the prototype chain, for subclasses.
953
+ // Similar to `goog.inherits`, but uses a hash of prototype properties and
954
+ // class properties to be extended.
955
+ var inherits = function(parent, protoProps, staticProps) {
956
+ var child;
957
+
958
+ // The constructor function for the new subclass is either defined by you
959
+ // (the "constructor" property in your `extend` definition), or defaulted
960
+ // by us to simply call `super()`.
961
+ if (protoProps && protoProps.hasOwnProperty('constructor')) {
962
+ child = protoProps.constructor;
963
+ } else {
964
+ child = function(){ return parent.apply(this, arguments); };
965
+ }
966
+
967
+ // Set the prototype chain to inherit from `parent`, without calling
968
+ // `parent`'s constructor function.
969
+ ctor.prototype = parent.prototype;
970
+ child.prototype = new ctor();
971
+
972
+ // Add prototype properties (instance properties) to the subclass,
973
+ // if supplied.
974
+ if (protoProps) _.extend(child.prototype, protoProps);
975
+
976
+ // Add static properties to the constructor function, if supplied.
977
+ if (staticProps) _.extend(child, staticProps);
978
+
979
+ // Correctly set child's `prototype.constructor`, for `instanceof`.
980
+ child.prototype.constructor = child;
981
+
982
+ // Set a convenience property in case the parent's prototype is needed later.
983
+ child.__super__ = parent.prototype;
984
+
985
+ return child;
986
+ };
987
+
988
+ // Helper function to get a URL from a Model or Collection as a property
989
+ // or as a function.
990
+ var getUrl = function(object) {
991
+ if (!(object && object.url)) throw new Error("A 'url' property or function must be specified");
992
+ return _.isFunction(object.url) ? object.url() : object.url;
993
+ };
994
+
995
+ // Wrap an optional error callback with a fallback error event.
996
+ var wrapError = function(onError, model, options) {
997
+ return function(resp) {
998
+ if (onError) {
999
+ onError(model, resp);
1000
+ } else {
1001
+ model.trigger('error', model, resp, options);
1002
+ }
1003
+ };
1004
+ };
1005
+
1006
+ // Helper function to escape a string for HTML rendering.
1007
+ var escapeHTML = function(string) {
1008
+ return string.replace(/&(?!\w+;)/g, '&amp;').replace(/</g, '&lt;').replace(/>/g, '&gt;').replace(/"/g, '&quot;');
1009
+ };
1010
+
1011
+ })();