survivalkit 0.3.2 → 0.3.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1261) hide show
  1. data/lib/survivalkit.rb +1 -1
  2. data/templates/drupal/drupal/arrow-asc.png +0 -0
  3. data/templates/drupal/drupal/arrow-desc.png +0 -0
  4. data/templates/drupal/drupal/background.png +0 -0
  5. data/templates/drupal/drupal/close.png +0 -0
  6. data/templates/drupal/drupal/configure.png +0 -0
  7. data/templates/drupal/drupal/draggable.png +0 -0
  8. data/templates/drupal/drupal/druplicon.png +0 -0
  9. data/templates/drupal/drupal/feed.png +0 -0
  10. data/templates/drupal/drupal/forum-icons.png +0 -0
  11. data/templates/drupal/drupal/gear-select.png +0 -0
  12. data/templates/drupal/drupal/grippie.png +0 -0
  13. data/templates/drupal/drupal/help.png +0 -0
  14. data/templates/drupal/drupal/hook.png +0 -0
  15. data/templates/drupal/drupal/lock.png +0 -0
  16. data/templates/drupal/drupal/menu-collapsed-rtl.png +0 -0
  17. data/templates/drupal/drupal/menu-collapsed.png +0 -0
  18. data/templates/drupal/drupal/menu-expanded.png +0 -0
  19. data/templates/drupal/drupal/menu-leaf.png +0 -0
  20. data/templates/drupal/drupal/message-16-error.png +0 -0
  21. data/templates/drupal/drupal/message-16-help.png +0 -0
  22. data/templates/drupal/drupal/message-16-info.png +0 -0
  23. data/templates/drupal/drupal/message-16-ok.png +0 -0
  24. data/templates/drupal/drupal/message-16-warning.png +0 -0
  25. data/templates/drupal/drupal/message-24-error.png +0 -0
  26. data/templates/drupal/drupal/message-24-help.png +0 -0
  27. data/templates/drupal/drupal/message-24-info.png +0 -0
  28. data/templates/drupal/drupal/message-24-ok.png +0 -0
  29. data/templates/drupal/drupal/message-24-warning.png +0 -0
  30. data/templates/drupal/drupal/permissions.png +0 -0
  31. data/templates/drupal/drupal/powered-black-135x42.png +0 -0
  32. data/templates/drupal/drupal/powered-black-80x15.png +0 -0
  33. data/templates/drupal/drupal/powered-black-88x31.png +0 -0
  34. data/templates/drupal/drupal/powered-blue-135x42.png +0 -0
  35. data/templates/drupal/drupal/powered-blue-80x15.png +0 -0
  36. data/templates/drupal/drupal/powered-blue-88x31.png +0 -0
  37. data/templates/drupal/drupal/powered-gray-135x42.png +0 -0
  38. data/templates/drupal/drupal/powered-gray-80x15.png +0 -0
  39. data/templates/drupal/drupal/powered-gray-88x31.png +0 -0
  40. data/templates/drupal/drupal/progress.gif +0 -0
  41. data/templates/drupal/drupal/throbber.gif +0 -0
  42. data/templates/drupal/drupal/tree-bottom.png +0 -0
  43. data/templates/drupal/drupal/tree.png +0 -0
  44. data/templates/drupal/drupal/watchdog-error.png +0 -0
  45. data/templates/drupal/drupal/watchdog-ok.png +0 -0
  46. data/templates/drupal/drupal/watchdog-warning.png +0 -0
  47. data/templates/drupal/ie.sass +3 -0
  48. data/templates/drupal/kit/kit-source.jquery.js +99 -0
  49. data/templates/drupal/libs/320-up/helper.js +146 -0
  50. data/templates/drupal/libs/320-up/imgSizer.js +61 -0
  51. data/templates/drupal/libs/dd_belatedpng.js +13 -0
  52. data/templates/drupal/libs/formalize/README.txt +11 -0
  53. data/templates/drupal/libs/formalize/dojo.formalize.js +174 -0
  54. data/templates/drupal/libs/formalize/extjs.formalize.js +168 -0
  55. data/templates/drupal/libs/formalize/jquery.formalize.js +158 -0
  56. data/templates/drupal/libs/formalize/mootools.formalize.js +163 -0
  57. data/templates/drupal/libs/formalize/prototype.formalize.js +171 -0
  58. data/templates/drupal/libs/formalize/yui.formalize.js +168 -0
  59. data/templates/drupal/libs/jquery-1.6.js +8865 -0
  60. data/templates/drupal/libs/jquery-1.6.min.js +16 -0
  61. data/templates/drupal/libs/modernizr-2.0.min.js +4 -0
  62. data/templates/drupal/libs/mootools-core-1.3.1-full-compat-yc.js +485 -0
  63. data/templates/drupal/libs/plugins.js +58 -0
  64. data/templates/drupal/libs/respond.min.js +7 -0
  65. data/templates/drupal/libs/selectivizr-min.js +5 -0
  66. data/templates/drupal/libs/selectivizr.js +5 -0
  67. data/templates/drupal/manifest.rb +98 -0
  68. data/templates/drupal/partials/01-variables/_all.sass +3 -0
  69. data/templates/drupal/partials/01-variables/_base.sass +150 -0
  70. data/templates/drupal/partials/01-variables/_colors.sass +43 -0
  71. data/templates/drupal/partials/01-variables/_fonts.sass +22 -0
  72. data/templates/drupal/partials/02-reset/_reset.sass +21 -0
  73. data/templates/drupal/partials/03-extend/_all.sass +1 -0
  74. data/templates/drupal/partials/03-extend/_typography.sass +39 -0
  75. data/templates/drupal/partials/04-defaults/_all.sass +9 -0
  76. data/templates/drupal/partials/04-defaults/_common.sass +110 -0
  77. data/templates/drupal/partials/04-defaults/_edits.sass +6 -0
  78. data/templates/drupal/partials/04-defaults/_font-face.sass +3 -0
  79. data/templates/drupal/partials/04-defaults/_headers.sass +33 -0
  80. data/templates/drupal/partials/04-defaults/_images.sass +15 -0
  81. data/templates/drupal/partials/04-defaults/_semantics.sass +92 -0
  82. data/templates/drupal/partials/04-defaults/_tables.sass +48 -0
  83. data/templates/drupal/partials/04-defaults/forms/_form-defaults.sass +59 -0
  84. data/templates/drupal/partials/04-defaults/forms/_formalize.sass +260 -0
  85. data/templates/drupal/partials/05-grids/_grids-susy.sass +29 -0
  86. data/templates/drupal/partials/06-ui-patterns/_common.sass +2 -0
  87. data/templates/drupal/partials/06-ui-patterns/_drupal-patterns.sass +81 -0
  88. data/templates/drupal/partials/07-sprites/_sprites.sass +20 -0
  89. data/templates/drupal/partials/08-your-design-here/_design.sass +2 -0
  90. data/templates/drupal/partials/09-styletile/_tile-design.sass +153 -0
  91. data/templates/drupal/partials/10-media/_print.sass +57 -0
  92. data/templates/drupal/partials/11-browser-adjustments/_ie.sass +26 -0
  93. data/templates/drupal/partials/11-browser-adjustments/_modernizr.sass +8 -0
  94. data/templates/drupal/partials/11-browser-adjustments/_selectivizr.sass +0 -0
  95. data/templates/drupal/partials/readme.markdown +3 -0
  96. data/templates/drupal/readme.markdown +3 -0
  97. data/templates/drupal/script.js +41 -0
  98. data/templates/drupal/selectivizr.sass +8 -0
  99. data/templates/drupal/sources/BigText/README.markdown +128 -0
  100. data/templates/drupal/sources/BigText/artifacts/output.html +32 -0
  101. data/templates/drupal/sources/BigText/bigtext.js +242 -0
  102. data/templates/drupal/sources/BigText/demo/bigtextWizard.css +129 -0
  103. data/templates/drupal/sources/BigText/demo/bigtextWizard.js +373 -0
  104. data/templates/drupal/sources/BigText/demo/css/flexbox.css +105 -0
  105. data/templates/drupal/sources/BigText/demo/css/images/button_bg.png +0 -0
  106. data/templates/drupal/sources/BigText/demo/css/images/datepicker.gif +0 -0
  107. data/templates/drupal/sources/BigText/demo/css/images/icon_sprite.png +0 -0
  108. data/templates/drupal/sources/BigText/demo/css/images/progress_bar.gif +0 -0
  109. data/templates/drupal/sources/BigText/demo/css/images/slider_h_bg.gif +0 -0
  110. data/templates/drupal/sources/BigText/demo/css/images/slider_handles.png +0 -0
  111. data/templates/drupal/sources/BigText/demo/css/images/slider_v_bg.gif +0 -0
  112. data/templates/drupal/sources/BigText/demo/css/images/the_gradient.gif +0 -0
  113. data/templates/drupal/sources/BigText/demo/css/images/ui-bg_flat_10_000000_40x100.png +0 -0
  114. data/templates/drupal/sources/BigText/demo/css/images/ui-bg_glass_100_f6f6f6_1x400.png +0 -0
  115. data/templates/drupal/sources/BigText/demo/css/images/ui-bg_glass_100_fdf5ce_1x400.png +0 -0
  116. data/templates/drupal/sources/BigText/demo/css/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  117. data/templates/drupal/sources/BigText/demo/css/images/ui-icons_222222_256x240.png +0 -0
  118. data/templates/drupal/sources/BigText/demo/css/images/ui-icons_228ef1_256x240.png +0 -0
  119. data/templates/drupal/sources/BigText/demo/css/images/ui-icons_ffffff_256x240.png +0 -0
  120. data/templates/drupal/sources/BigText/demo/css/jquery-ui-1.8rc3.custom.css +519 -0
  121. data/templates/drupal/sources/BigText/demo/css/league-gothic/League_Gothic-webfont.eot +0 -0
  122. data/templates/drupal/sources/BigText/demo/css/league-gothic/League_Gothic-webfont.svg +223 -0
  123. data/templates/drupal/sources/BigText/demo/css/league-gothic/League_Gothic-webfont.ttf +0 -0
  124. data/templates/drupal/sources/BigText/demo/css/league-gothic/League_Gothic-webfont.woff +0 -0
  125. data/templates/drupal/sources/BigText/demo/css/league-gothic/stylesheet.css +12 -0
  126. data/templates/drupal/sources/BigText/demo/index.html +95 -0
  127. data/templates/drupal/sources/BigText/demo/js/jquery.ba-throttle-debounce.js +252 -0
  128. data/templates/drupal/sources/BigText/demo/js/jquery.ba-throttle-debounce.min.js +9 -0
  129. data/templates/drupal/sources/BigText/demo/js/jquery.smartresize.js +41 -0
  130. data/templates/drupal/sources/BigText/demo/js/modernizr-1.6.js +892 -0
  131. data/templates/drupal/sources/BigText/demo/js/modernizr-1.6.min.js +30 -0
  132. data/templates/drupal/sources/BigText/demo/resizeDemoSmartResize.html +37 -0
  133. data/templates/drupal/sources/BigText/demo/resizeDemoThrottle.html +38 -0
  134. data/templates/drupal/sources/BigText/demo/simpleDemo.html +42 -0
  135. data/templates/drupal/sources/BigText/demo/simpleDemoDiv.html +26 -0
  136. data/templates/drupal/sources/BigText/test.bat +4 -0
  137. data/templates/drupal/sources/BigText/test.sh +5 -0
  138. data/templates/drupal/sources/BigText/test/bigtext.conf +6 -0
  139. data/templates/drupal/sources/BigText/test/bigtextTest.js +192 -0
  140. data/templates/drupal/sources/BigText/test/lib/JsTestDriver-1.2.2-custom.jar +0 -0
  141. data/templates/drupal/sources/BigText/test/lib/jquery-1.4.2.js +6240 -0
  142. data/templates/drupal/sources/BigText/test/lib/launch-safari.sh +4 -0
  143. data/templates/drupal/sources/Dynamic-Carousel/demo.html +92 -0
  144. data/templates/drupal/sources/Dynamic-Carousel/plugin.js +191 -0
  145. data/templates/drupal/sources/Dynamic-Carousel/readme.md +10 -0
  146. data/templates/drupal/sources/FitVids/README.md +49 -0
  147. data/templates/drupal/sources/FitVids/jquery.fitvids.js +77 -0
  148. data/templates/drupal/sources/FitVids/tests.html +66 -0
  149. data/templates/drupal/sources/Geared-Scrolling/README.md +31 -0
  150. data/templates/drupal/sources/Geared-Scrolling/css/specific.css +88 -0
  151. data/templates/drupal/sources/Geared-Scrolling/images/col1.png +0 -0
  152. data/templates/drupal/sources/Geared-Scrolling/images/col2.png +0 -0
  153. data/templates/drupal/sources/Geared-Scrolling/images/col3.png +0 -0
  154. data/templates/drupal/sources/Geared-Scrolling/images/header.png +0 -0
  155. data/templates/drupal/sources/Geared-Scrolling/index.html +32 -0
  156. data/templates/drupal/sources/Geared-Scrolling/js/init.js +11 -0
  157. data/templates/drupal/sources/Geared-Scrolling/js/jquery.heyday.gearedscrolling.js +283 -0
  158. data/templates/drupal/sources/Lettering.js/README.md +58 -0
  159. data/templates/drupal/sources/Lettering.js/examples/index.html +135 -0
  160. data/templates/drupal/sources/Lettering.js/examples/style.css +171 -0
  161. data/templates/drupal/sources/Lettering.js/jquery.lettering.js +66 -0
  162. data/templates/drupal/sources/PaintbrushJS/common.js +245 -0
  163. data/templates/drupal/sources/PaintbrushJS/demo/css/playground.css +334 -0
  164. data/templates/drupal/sources/PaintbrushJS/demo/images/500/165.jpg +0 -0
  165. data/templates/drupal/sources/PaintbrushJS/demo/images/500/bee.jpg +0 -0
  166. data/templates/drupal/sources/PaintbrushJS/demo/images/500/bird.jpg +0 -0
  167. data/templates/drupal/sources/PaintbrushJS/demo/images/500/helmets.jpg +0 -0
  168. data/templates/drupal/sources/PaintbrushJS/demo/images/500/jordan.jpg +0 -0
  169. data/templates/drupal/sources/PaintbrushJS/demo/images/500/leaves.jpg +0 -0
  170. data/templates/drupal/sources/PaintbrushJS/demo/images/500/lighthouse.jpg +0 -0
  171. data/templates/drupal/sources/PaintbrushJS/demo/images/500/louvre.jpg +0 -0
  172. data/templates/drupal/sources/PaintbrushJS/demo/images/500/pods.jpg +0 -0
  173. data/templates/drupal/sources/PaintbrushJS/demo/images/500/redbarn.jpg +0 -0
  174. data/templates/drupal/sources/PaintbrushJS/demo/images/500/road.jpg +0 -0
  175. data/templates/drupal/sources/PaintbrushJS/demo/images/500/sign.jpg +0 -0
  176. data/templates/drupal/sources/PaintbrushJS/demo/images/500/staples.jpg +0 -0
  177. data/templates/drupal/sources/PaintbrushJS/demo/images/500/stones.jpg +0 -0
  178. data/templates/drupal/sources/PaintbrushJS/demo/images/500/tear.jpg +0 -0
  179. data/templates/drupal/sources/PaintbrushJS/demo/images/500/window.jpg +0 -0
  180. data/templates/drupal/sources/PaintbrushJS/demo/images/bg.png +0 -0
  181. data/templates/drupal/sources/PaintbrushJS/demo/images/site/bg-highlight.png +0 -0
  182. data/templates/drupal/sources/PaintbrushJS/demo/images/site/bg.jpg +0 -0
  183. data/templates/drupal/sources/PaintbrushJS/demo/images/site/byline.png +0 -0
  184. data/templates/drupal/sources/PaintbrushJS/demo/images/site/current.png +0 -0
  185. data/templates/drupal/sources/PaintbrushJS/demo/images/site/divider.png +0 -0
  186. data/templates/drupal/sources/PaintbrushJS/demo/images/site/forkme.png +0 -0
  187. data/templates/drupal/sources/PaintbrushJS/demo/images/site/heading.png +0 -0
  188. data/templates/drupal/sources/PaintbrushJS/demo/index.html +171 -0
  189. data/templates/drupal/sources/PaintbrushJS/demo/script/common.js +245 -0
  190. data/templates/drupal/sources/PaintbrushJS/demo/script/paintbrush.js +607 -0
  191. data/templates/drupal/sources/PaintbrushJS/demo/script/playground.js +357 -0
  192. data/templates/drupal/sources/PaintbrushJS/demo/script/timing.js +23 -0
  193. data/templates/drupal/sources/PaintbrushJS/demo/usage.html +183 -0
  194. data/templates/drupal/sources/PaintbrushJS/paintbrush.js +595 -0
  195. data/templates/drupal/sources/Respond/README.md +76 -0
  196. data/templates/drupal/sources/Respond/respond.min.js +2 -0
  197. data/templates/drupal/sources/Respond/respond.src.js +286 -0
  198. data/templates/drupal/sources/Respond/test/test.css +61 -0
  199. data/templates/drupal/sources/Respond/test/test.html +20 -0
  200. data/templates/drupal/sources/Respond/test/test2.css +8 -0
  201. data/templates/drupal/sources/Respond/test/unit/index.html +28 -0
  202. data/templates/drupal/sources/Respond/test/unit/test.css +56 -0
  203. data/templates/drupal/sources/Respond/test/unit/test2.css +5 -0
  204. data/templates/drupal/sources/Respond/test/unit/tests.js +97 -0
  205. data/templates/drupal/sources/Sticky-Footer-jQuery-Plugin/README.md +27 -0
  206. data/templates/drupal/sources/Sticky-Footer-jQuery-Plugin/jquery.heyday.stickyfooter.js +154 -0
  207. data/templates/drupal/sources/deorphan/README.md +49 -0
  208. data/templates/drupal/sources/deorphan/jquery.deorphan.js +51 -0
  209. data/templates/drupal/sources/deorphan/jquery.deorphan.min.js +1 -0
  210. data/templates/drupal/sources/flexie/README.md +142 -0
  211. data/templates/drupal/sources/flexie/demo/css/box-flex.css +30 -0
  212. data/templates/drupal/sources/flexie/demo/index.html +108 -0
  213. data/templates/drupal/sources/flexie/dist/flexie.min.js +33 -0
  214. data/templates/drupal/sources/flexie/src/flexie.js +1872 -0
  215. data/templates/drupal/sources/flexie/test/css/demo.css +34 -0
  216. data/templates/drupal/sources/flexie/test/css/test.css +141 -0
  217. data/templates/drupal/sources/flexie/test/index.html +54 -0
  218. data/templates/drupal/sources/flexie/vendor/google-compiler/compiler.jar +0 -0
  219. data/templates/drupal/sources/flexie/vendor/yuicompressor/yuicompressor-2.4.2.jar +0 -0
  220. data/templates/drupal/sources/flickrbomb/css/app.css +41 -0
  221. data/templates/drupal/sources/flickrbomb/css/flickrbomb.css +38 -0
  222. data/templates/drupal/sources/flickrbomb/css/global.css +0 -0
  223. data/templates/drupal/sources/flickrbomb/demo.html +169 -0
  224. data/templates/drupal/sources/flickrbomb/images/bg-clouds.jpg +0 -0
  225. data/templates/drupal/sources/flickrbomb/images/bg-ground.jpg +0 -0
  226. data/templates/drupal/sources/flickrbomb/images/bomb.png +0 -0
  227. data/templates/drupal/sources/flickrbomb/images/bomber.jpg +0 -0
  228. data/templates/drupal/sources/flickrbomb/images/old.gif +0 -0
  229. data/templates/drupal/sources/flickrbomb/images/setupIcon.png +0 -0
  230. data/templates/drupal/sources/flickrbomb/js/app.js +28 -0
  231. data/templates/drupal/sources/flickrbomb/js/backbone-localstorage.js +94 -0
  232. data/templates/drupal/sources/flickrbomb/js/backbone.js +1011 -0
  233. data/templates/drupal/sources/flickrbomb/js/flickrbomb-demo.js +310 -0
  234. data/templates/drupal/sources/flickrbomb/js/flickrbomb.js +307 -0
  235. data/templates/drupal/sources/flickrbomb/js/underscore.js +713 -0
  236. data/templates/drupal/sources/formalize/README.txt +23 -0
  237. data/templates/drupal/sources/formalize/assets/css/_formalize.sass +274 -0
  238. data/templates/drupal/sources/formalize/assets/css/demo.css +47 -0
  239. data/templates/drupal/sources/formalize/assets/css/formalize.css +311 -0
  240. data/templates/drupal/sources/formalize/assets/css/reset.css +171 -0
  241. data/templates/drupal/sources/formalize/assets/css/text.css +81 -0
  242. data/templates/drupal/sources/formalize/assets/images/button.png +0 -0
  243. data/templates/drupal/sources/formalize/assets/images/select_arrow.gif +0 -0
  244. data/templates/drupal/sources/formalize/assets/js/dojo.formalize.js +174 -0
  245. data/templates/drupal/sources/formalize/assets/js/dojo.formalize.min.js +1 -0
  246. data/templates/drupal/sources/formalize/assets/js/extjs.formalize.js +168 -0
  247. data/templates/drupal/sources/formalize/assets/js/extjs.formalize.min.js +1 -0
  248. data/templates/drupal/sources/formalize/assets/js/jquery.formalize.js +158 -0
  249. data/templates/drupal/sources/formalize/assets/js/jquery.formalize.min.js +1 -0
  250. data/templates/drupal/sources/formalize/assets/js/mootools.formalize.js +163 -0
  251. data/templates/drupal/sources/formalize/assets/js/mootools.formalize.min.js +1 -0
  252. data/templates/drupal/sources/formalize/assets/js/prototype.formalize.js +171 -0
  253. data/templates/drupal/sources/formalize/assets/js/prototype.formalize.min.js +1 -0
  254. data/templates/drupal/sources/formalize/assets/js/yui.formalize.js +168 -0
  255. data/templates/drupal/sources/formalize/assets/js/yui.formalize.min.js +1 -0
  256. data/templates/drupal/sources/formalize/demo.html +144 -0
  257. data/templates/drupal/sources/formalize/dojo_demo.html +213 -0
  258. data/templates/drupal/sources/formalize/dojo_disabled.html +213 -0
  259. data/templates/drupal/sources/formalize/dojo_errors.html +213 -0
  260. data/templates/drupal/sources/formalize/extjs_demo.html +213 -0
  261. data/templates/drupal/sources/formalize/extjs_disabled.html +213 -0
  262. data/templates/drupal/sources/formalize/extjs_errors.html +213 -0
  263. data/templates/drupal/sources/formalize/jquery_demo.html +213 -0
  264. data/templates/drupal/sources/formalize/jquery_disabled.html +213 -0
  265. data/templates/drupal/sources/formalize/jquery_errors.html +213 -0
  266. data/templates/drupal/sources/formalize/mootools_demo.html +213 -0
  267. data/templates/drupal/sources/formalize/mootools_disabled.html +213 -0
  268. data/templates/drupal/sources/formalize/mootools_errors.html +213 -0
  269. data/templates/drupal/sources/formalize/prototype_demo.html +213 -0
  270. data/templates/drupal/sources/formalize/prototype_disabled.html +213 -0
  271. data/templates/drupal/sources/formalize/prototype_errors.html +213 -0
  272. data/templates/drupal/sources/formalize/unstyled.html +210 -0
  273. data/templates/drupal/sources/formalize/yui_demo.html +213 -0
  274. data/templates/drupal/sources/formalize/yui_disabled.html +213 -0
  275. data/templates/drupal/sources/formalize/yui_errors.html +213 -0
  276. data/templates/drupal/sources/html5-boilerplate/404.html +38 -0
  277. data/templates/drupal/sources/html5-boilerplate/README.md +228 -0
  278. data/templates/drupal/sources/html5-boilerplate/apple-touch-icon-114x114-precomposed.png +0 -0
  279. data/templates/drupal/sources/html5-boilerplate/apple-touch-icon-57x57-precomposed.png +0 -0
  280. data/templates/drupal/sources/html5-boilerplate/apple-touch-icon-72x72-precomposed.png +0 -0
  281. data/templates/drupal/sources/html5-boilerplate/apple-touch-icon-precomposed.png +0 -0
  282. data/templates/drupal/sources/html5-boilerplate/apple-touch-icon.png +0 -0
  283. data/templates/drupal/sources/html5-boilerplate/build/build.xml +821 -0
  284. data/templates/drupal/sources/html5-boilerplate/build/config/default.properties +80 -0
  285. data/templates/drupal/sources/html5-boilerplate/build/config/project.properties +56 -0
  286. data/templates/drupal/sources/html5-boilerplate/build/createproject.sh +50 -0
  287. data/templates/drupal/sources/html5-boilerplate/build/runbuildscript.bat +5 -0
  288. data/templates/drupal/sources/html5-boilerplate/build/tools/ant-contrib-1.0b3.jar +0 -0
  289. data/templates/drupal/sources/html5-boilerplate/build/tools/htmlcompressor-1.1.jar +0 -0
  290. data/templates/drupal/sources/html5-boilerplate/build/tools/jpegtran.exe +0 -0
  291. data/templates/drupal/sources/html5-boilerplate/build/tools/optipng-0.6.4-exe/LICENSE.txt +21 -0
  292. data/templates/drupal/sources/html5-boilerplate/build/tools/optipng-0.6.4-exe/optipng.exe +0 -0
  293. data/templates/drupal/sources/html5-boilerplate/build/tools/yuicompressor-2.4.5.jar +0 -0
  294. data/templates/drupal/sources/html5-boilerplate/crossdomain.xml +25 -0
  295. data/templates/drupal/sources/html5-boilerplate/css/handheld.css +8 -0
  296. data/templates/drupal/sources/html5-boilerplate/css/style.css +263 -0
  297. data/templates/drupal/sources/html5-boilerplate/demo/elements.html +531 -0
  298. data/templates/drupal/sources/html5-boilerplate/demo/hack.css +85 -0
  299. data/templates/drupal/sources/html5-boilerplate/demo/hack2.css +41 -0
  300. data/templates/drupal/sources/html5-boilerplate/demo/internet_explorer.png +0 -0
  301. data/templates/drupal/sources/html5-boilerplate/demo/test_tubes.png +0 -0
  302. data/templates/drupal/sources/html5-boilerplate/demo/tests.html +313 -0
  303. data/templates/drupal/sources/html5-boilerplate/favicon.ico +0 -0
  304. data/templates/drupal/sources/html5-boilerplate/humans.txt +43 -0
  305. data/templates/drupal/sources/html5-boilerplate/index.html +80 -0
  306. data/templates/drupal/sources/html5-boilerplate/js/libs/dd_belatedpng.js +13 -0
  307. data/templates/drupal/sources/html5-boilerplate/js/libs/jquery-1.5.2.js +8374 -0
  308. data/templates/drupal/sources/html5-boilerplate/js/libs/jquery-1.5.2.min.js +16 -0
  309. data/templates/drupal/sources/html5-boilerplate/js/libs/modernizr-1.7.min.js +2 -0
  310. data/templates/drupal/sources/html5-boilerplate/js/plugins.js +16 -0
  311. data/templates/drupal/sources/html5-boilerplate/js/script.js +26 -0
  312. data/templates/drupal/sources/html5-boilerplate/robots.txt +5 -0
  313. data/templates/drupal/sources/html5-boilerplate/test/index.html +31 -0
  314. data/templates/drupal/sources/html5-boilerplate/test/qunit/qunit.css +148 -0
  315. data/templates/drupal/sources/html5-boilerplate/test/qunit/qunit.js +1265 -0
  316. data/templates/drupal/sources/html5-boilerplate/test/tests.js +27 -0
  317. data/templates/drupal/sources/iOS-Orientationchange-Fix/README.md +17 -0
  318. data/templates/drupal/sources/iOS-Orientationchange-Fix/demo.html +43 -0
  319. data/templates/drupal/sources/iOS-Orientationchange-Fix/ios-orientationchange-fix.js +55 -0
  320. data/templates/drupal/sources/iSwipe-jQuery-Plugin/README.md +26 -0
  321. data/templates/drupal/sources/iSwipe-jQuery-Plugin/jquery.heyday.iswipe.js +126 -0
  322. data/templates/drupal/sources/infinite-scroll/ajax-loader.gif +0 -0
  323. data/templates/drupal/sources/infinite-scroll/jquery.infinitescroll.js +425 -0
  324. data/templates/drupal/sources/infinite-scroll/jquery.infinitescroll.min.js +8 -0
  325. data/templates/drupal/sources/infinite-scroll/site/assets/anivers_regular.otf +0 -0
  326. data/templates/drupal/sources/infinite-scroll/site/assets/buttons.psd +0 -0
  327. data/templates/drupal/sources/infinite-scroll/site/assets/logo.psd +0 -0
  328. data/templates/drupal/sources/infinite-scroll/site/assets/mobius-strip2.ai +2266 -15
  329. data/templates/drupal/sources/infinite-scroll/site/assets/pattern.psd +0 -0
  330. data/templates/drupal/sources/infinite-scroll/site/assets/selector spots.psd +0 -0
  331. data/templates/drupal/sources/infinite-scroll/site/assets/sites.psd +0 -0
  332. data/templates/drupal/sources/infinite-scroll/site/buttons.png +0 -0
  333. data/templates/drupal/sources/infinite-scroll/site/infinite-scroll-pattern.gif +0 -0
  334. data/templates/drupal/sources/infinite-scroll/site/logo.jpg +0 -0
  335. data/templates/drupal/sources/infinite-scroll/site/screens.jpg +0 -0
  336. data/templates/drupal/sources/infinite-scroll/site/selectors.jpg +0 -0
  337. data/templates/drupal/sources/infinite-scroll/test/test-loadingmsg.html +121 -0
  338. data/templates/drupal/sources/infinite-scroll/test/test.html +120 -0
  339. data/templates/drupal/sources/infinite-scroll/test/test2.html +70 -0
  340. data/templates/drupal/sources/infinite-scroll/test/test3.html +68 -0
  341. data/templates/drupal/sources/infinite-scroll/test/trigger.html +140 -0
  342. data/templates/drupal/sources/infinite-scroll/test/trigger2.html +80 -0
  343. data/templates/drupal/sources/infinite-scroll/test/trigger3.html +80 -0
  344. data/templates/drupal/sources/infinite-scroll/wp_infinite_scroll.php +454 -0
  345. data/templates/drupal/sources/jQuery-widowFix/index.html +159 -0
  346. data/templates/drupal/sources/jQuery-widowFix/js/jquery-1.4.3.min.js +166 -0
  347. data/templates/drupal/sources/jQuery-widowFix/js/jquery.widowFix-1.3.2.js +135 -0
  348. data/templates/drupal/sources/jQuery-widowFix/js/jquery.widowFix-1.3.2.min.js +10 -0
  349. data/templates/drupal/sources/jQuery-widowFix/sample.html +84 -0
  350. data/templates/drupal/sources/jquery-lightbox/LICENSE.txt +30 -0
  351. data/templates/drupal/sources/jquery-lightbox/README.markdown +8 -0
  352. data/templates/drupal/sources/jquery-lightbox/css/lightbox.css +129 -0
  353. data/templates/drupal/sources/jquery-lightbox/images/blank.gif +0 -0
  354. data/templates/drupal/sources/jquery-lightbox/images/close.gif +0 -0
  355. data/templates/drupal/sources/jquery-lightbox/images/closelabel.gif +0 -0
  356. data/templates/drupal/sources/jquery-lightbox/images/image-0.jpg +0 -0
  357. data/templates/drupal/sources/jquery-lightbox/images/image-1.jpg +0 -0
  358. data/templates/drupal/sources/jquery-lightbox/images/image-2.jpg +0 -0
  359. data/templates/drupal/sources/jquery-lightbox/images/image-3.jpg +0 -0
  360. data/templates/drupal/sources/jquery-lightbox/images/loading.gif +0 -0
  361. data/templates/drupal/sources/jquery-lightbox/images/next.gif +0 -0
  362. data/templates/drupal/sources/jquery-lightbox/images/nextlabel.gif +0 -0
  363. data/templates/drupal/sources/jquery-lightbox/images/prev.gif +0 -0
  364. data/templates/drupal/sources/jquery-lightbox/images/prevlabel.gif +0 -0
  365. data/templates/drupal/sources/jquery-lightbox/images/thumb-0.jpg +0 -0
  366. data/templates/drupal/sources/jquery-lightbox/images/thumb-1.jpg +0 -0
  367. data/templates/drupal/sources/jquery-lightbox/images/thumb-2.jpg +0 -0
  368. data/templates/drupal/sources/jquery-lightbox/images/thumb-3.jpg +0 -0
  369. data/templates/drupal/sources/jquery-lightbox/index.html +102 -0
  370. data/templates/drupal/sources/jquery-lightbox/jquery.lightbox.js +515 -0
  371. data/templates/drupal/sources/jquery-ui/AUTHORS.txt +30 -0
  372. data/templates/drupal/sources/jquery-ui/GPL-LICENSE.txt +278 -0
  373. data/templates/drupal/sources/jquery-ui/MIT-LICENSE.txt +25 -0
  374. data/templates/drupal/sources/jquery-ui/README.md +9 -0
  375. data/templates/drupal/sources/jquery-ui/build/build.xml +392 -0
  376. data/templates/drupal/sources/jquery-ui/build/build/ant-contrib-0.6.jar +0 -0
  377. data/templates/drupal/sources/jquery-ui/build/build/google-compiler-20110320.jar +0 -0
  378. data/templates/drupal/sources/jquery-ui/build/build/style.xsl +211 -0
  379. data/templates/drupal/sources/jquery-ui/build/build/yuicompressor-2.4.2.jar +0 -0
  380. data/templates/drupal/sources/jquery-ui/demos/accordion/collapsible.html +57 -0
  381. data/templates/drupal/sources/jquery-ui/demos/accordion/custom-icons.html +69 -0
  382. data/templates/drupal/sources/jquery-ui/demos/accordion/default.html +85 -0
  383. data/templates/drupal/sources/jquery-ui/demos/accordion/fillspace.html +77 -0
  384. data/templates/drupal/sources/jquery-ui/demos/accordion/hoverintent.html +134 -0
  385. data/templates/drupal/sources/jquery-ui/demos/accordion/index.html +25 -0
  386. data/templates/drupal/sources/jquery-ui/demos/accordion/mouseover.html +57 -0
  387. data/templates/drupal/sources/jquery-ui/demos/accordion/no-auto-height.html +58 -0
  388. data/templates/drupal/sources/jquery-ui/demos/accordion/sortable.html +83 -0
  389. data/templates/drupal/sources/jquery-ui/demos/addClass/default.html +52 -0
  390. data/templates/drupal/sources/jquery-ui/demos/addClass/index.html +18 -0
  391. data/templates/drupal/sources/jquery-ui/demos/animate/default.html +61 -0
  392. data/templates/drupal/sources/jquery-ui/demos/animate/index.html +18 -0
  393. data/templates/drupal/sources/jquery-ui/demos/autocomplete/categories.html +72 -0
  394. data/templates/drupal/sources/jquery-ui/demos/autocomplete/combobox.html +195 -0
  395. data/templates/drupal/sources/jquery-ui/demos/autocomplete/custom-data.html +96 -0
  396. data/templates/drupal/sources/jquery-ui/demos/autocomplete/default.html +65 -0
  397. data/templates/drupal/sources/jquery-ui/demos/autocomplete/folding.html +63 -0
  398. data/templates/drupal/sources/jquery-ui/demos/autocomplete/images/jquery_32x32.png +0 -0
  399. data/templates/drupal/sources/jquery-ui/demos/autocomplete/images/jqueryui_32x32.png +0 -0
  400. data/templates/drupal/sources/jquery-ui/demos/autocomplete/images/sizzlejs_32x32.png +0 -0
  401. data/templates/drupal/sources/jquery-ui/demos/autocomplete/images/transparent_1x1.png +0 -0
  402. data/templates/drupal/sources/jquery-ui/demos/autocomplete/images/ui-anim_basic_16x16.gif +0 -0
  403. data/templates/drupal/sources/jquery-ui/demos/autocomplete/index.html +27 -0
  404. data/templates/drupal/sources/jquery-ui/demos/autocomplete/london.xml +114 -0
  405. data/templates/drupal/sources/jquery-ui/demos/autocomplete/maxheight.html +79 -0
  406. data/templates/drupal/sources/jquery-ui/demos/autocomplete/multiple-remote.html +85 -0
  407. data/templates/drupal/sources/jquery-ui/demos/autocomplete/multiple.html +100 -0
  408. data/templates/drupal/sources/jquery-ui/demos/autocomplete/remote-jsonp.html +87 -0
  409. data/templates/drupal/sources/jquery-ui/demos/autocomplete/remote-with-cache.html +60 -0
  410. data/templates/drupal/sources/jquery-ui/demos/autocomplete/remote.html +60 -0
  411. data/templates/drupal/sources/jquery-ui/demos/autocomplete/search.php +588 -0
  412. data/templates/drupal/sources/jquery-ui/demos/autocomplete/xml.html +73 -0
  413. data/templates/drupal/sources/jquery-ui/demos/button/checkbox.html +44 -0
  414. data/templates/drupal/sources/jquery-ui/demos/button/default.html +38 -0
  415. data/templates/drupal/sources/jquery-ui/demos/button/icons.html +56 -0
  416. data/templates/drupal/sources/jquery-ui/demos/button/index.html +23 -0
  417. data/templates/drupal/sources/jquery-ui/demos/button/radio.html +39 -0
  418. data/templates/drupal/sources/jquery-ui/demos/button/splitbutton.html +78 -0
  419. data/templates/drupal/sources/jquery-ui/demos/button/toolbar.html +120 -0
  420. data/templates/drupal/sources/jquery-ui/demos/datepicker/alt-field.html +36 -0
  421. data/templates/drupal/sources/jquery-ui/demos/datepicker/animation.html +58 -0
  422. data/templates/drupal/sources/jquery-ui/demos/datepicker/buttonbar.html +35 -0
  423. data/templates/drupal/sources/jquery-ui/demos/datepicker/date-formats.html +47 -0
  424. data/templates/drupal/sources/jquery-ui/demos/datepicker/date-range.html +49 -0
  425. data/templates/drupal/sources/jquery-ui/demos/datepicker/default.html +33 -0
  426. data/templates/drupal/sources/jquery-ui/demos/datepicker/dropdown-month-year.html +36 -0
  427. data/templates/drupal/sources/jquery-ui/demos/datepicker/icon-trigger.html +37 -0
  428. data/templates/drupal/sources/jquery-ui/demos/datepicker/images/calendar.gif +0 -0
  429. data/templates/drupal/sources/jquery-ui/demos/datepicker/index.html +31 -0
  430. data/templates/drupal/sources/jquery-ui/demos/datepicker/inline.html +33 -0
  431. data/templates/drupal/sources/jquery-ui/demos/datepicker/localization.html +162 -0
  432. data/templates/drupal/sources/jquery-ui/demos/datepicker/min-max.html +33 -0
  433. data/templates/drupal/sources/jquery-ui/demos/datepicker/multiple-calendars.html +36 -0
  434. data/templates/drupal/sources/jquery-ui/demos/datepicker/other-months.html +37 -0
  435. data/templates/drupal/sources/jquery-ui/demos/datepicker/show-week.html +39 -0
  436. data/templates/drupal/sources/jquery-ui/demos/demos.css +334 -0
  437. data/templates/drupal/sources/jquery-ui/demos/dialog/animated.html +56 -0
  438. data/templates/drupal/sources/jquery-ui/demos/dialog/default.html +54 -0
  439. data/templates/drupal/sources/jquery-ui/demos/dialog/index.html +23 -0
  440. data/templates/drupal/sources/jquery-ui/demos/dialog/modal-confirmation.html +69 -0
  441. data/templates/drupal/sources/jquery-ui/demos/dialog/modal-form.html +167 -0
  442. data/templates/drupal/sources/jquery-ui/demos/dialog/modal-message.html +71 -0
  443. data/templates/drupal/sources/jquery-ui/demos/dialog/modal.html +60 -0
  444. data/templates/drupal/sources/jquery-ui/demos/draggable/constrain-movement.html +69 -0
  445. data/templates/drupal/sources/jquery-ui/demos/draggable/cursor-style.html +49 -0
  446. data/templates/drupal/sources/jquery-ui/demos/draggable/default.html +39 -0
  447. data/templates/drupal/sources/jquery-ui/demos/draggable/delay-start.html +45 -0
  448. data/templates/drupal/sources/jquery-ui/demos/draggable/events.html +77 -0
  449. data/templates/drupal/sources/jquery-ui/demos/draggable/handle.html +50 -0
  450. data/templates/drupal/sources/jquery-ui/demos/draggable/index.html +28 -0
  451. data/templates/drupal/sources/jquery-ui/demos/draggable/revert.html +44 -0
  452. data/templates/drupal/sources/jquery-ui/demos/draggable/scroll.html +51 -0
  453. data/templates/drupal/sources/jquery-ui/demos/draggable/snap-to.html +68 -0
  454. data/templates/drupal/sources/jquery-ui/demos/draggable/sortable.html +57 -0
  455. data/templates/drupal/sources/jquery-ui/demos/draggable/visual-feedback.html +77 -0
  456. data/templates/drupal/sources/jquery-ui/demos/droppable/accepted-elements.html +60 -0
  457. data/templates/drupal/sources/jquery-ui/demos/droppable/default.html +53 -0
  458. data/templates/drupal/sources/jquery-ui/demos/droppable/images/high_tatras.jpg +0 -0
  459. data/templates/drupal/sources/jquery-ui/demos/droppable/images/high_tatras2.jpg +0 -0
  460. data/templates/drupal/sources/jquery-ui/demos/droppable/images/high_tatras2_min.jpg +0 -0
  461. data/templates/drupal/sources/jquery-ui/demos/droppable/images/high_tatras3.jpg +0 -0
  462. data/templates/drupal/sources/jquery-ui/demos/droppable/images/high_tatras3_min.jpg +0 -0
  463. data/templates/drupal/sources/jquery-ui/demos/droppable/images/high_tatras4.jpg +0 -0
  464. data/templates/drupal/sources/jquery-ui/demos/droppable/images/high_tatras4_min.jpg +0 -0
  465. data/templates/drupal/sources/jquery-ui/demos/droppable/images/high_tatras_min.jpg +0 -0
  466. data/templates/drupal/sources/jquery-ui/demos/droppable/index.html +24 -0
  467. data/templates/drupal/sources/jquery-ui/demos/droppable/photo-manager.html +184 -0
  468. data/templates/drupal/sources/jquery-ui/demos/droppable/propagation.html +80 -0
  469. data/templates/drupal/sources/jquery-ui/demos/droppable/revert.html +61 -0
  470. data/templates/drupal/sources/jquery-ui/demos/droppable/shopping-cart.html +101 -0
  471. data/templates/drupal/sources/jquery-ui/demos/droppable/visual-feedback.html +78 -0
  472. data/templates/drupal/sources/jquery-ui/demos/effect/default.html +109 -0
  473. data/templates/drupal/sources/jquery-ui/demos/effect/easing.html +108 -0
  474. data/templates/drupal/sources/jquery-ui/demos/effect/index.html +19 -0
  475. data/templates/drupal/sources/jquery-ui/demos/hide/default.html +102 -0
  476. data/templates/drupal/sources/jquery-ui/demos/hide/index.html +18 -0
  477. data/templates/drupal/sources/jquery-ui/demos/images/calendar.gif +0 -0
  478. data/templates/drupal/sources/jquery-ui/demos/images/demo-config-on-tile.gif +0 -0
  479. data/templates/drupal/sources/jquery-ui/demos/images/demo-config-on.gif +0 -0
  480. data/templates/drupal/sources/jquery-ui/demos/images/demo-spindown-closed.gif +0 -0
  481. data/templates/drupal/sources/jquery-ui/demos/images/demo-spindown-open.gif +0 -0
  482. data/templates/drupal/sources/jquery-ui/demos/images/icon-docs-info.gif +0 -0
  483. data/templates/drupal/sources/jquery-ui/demos/images/pbar-ani.gif +0 -0
  484. data/templates/drupal/sources/jquery-ui/demos/index.html +329 -0
  485. data/templates/drupal/sources/jquery-ui/demos/menu/contextmenu.html +81 -0
  486. data/templates/drupal/sources/jquery-ui/demos/menu/default.html +54 -0
  487. data/templates/drupal/sources/jquery-ui/demos/menu/index.html +17 -0
  488. data/templates/drupal/sources/jquery-ui/demos/position/cycler.html +120 -0
  489. data/templates/drupal/sources/jquery-ui/demos/position/default.html +153 -0
  490. data/templates/drupal/sources/jquery-ui/demos/position/images/earth.jpg +0 -0
  491. data/templates/drupal/sources/jquery-ui/demos/position/images/flight.jpg +0 -0
  492. data/templates/drupal/sources/jquery-ui/demos/position/images/rocket.jpg +0 -0
  493. data/templates/drupal/sources/jquery-ui/demos/position/index.html +19 -0
  494. data/templates/drupal/sources/jquery-ui/demos/progressbar/animated.html +44 -0
  495. data/templates/drupal/sources/jquery-ui/demos/progressbar/default.html +35 -0
  496. data/templates/drupal/sources/jquery-ui/demos/progressbar/images/pbar-ani.gif +0 -0
  497. data/templates/drupal/sources/jquery-ui/demos/progressbar/index.html +20 -0
  498. data/templates/drupal/sources/jquery-ui/demos/progressbar/resize.html +40 -0
  499. data/templates/drupal/sources/jquery-ui/demos/removeClass/default.html +52 -0
  500. data/templates/drupal/sources/jquery-ui/demos/removeClass/index.html +18 -0
  501. data/templates/drupal/sources/jquery-ui/demos/resizable/animate.html +43 -0
  502. data/templates/drupal/sources/jquery-ui/demos/resizable/aspect-ratio.html +42 -0
  503. data/templates/drupal/sources/jquery-ui/demos/resizable/constrain-area.html +47 -0
  504. data/templates/drupal/sources/jquery-ui/demos/resizable/default.html +40 -0
  505. data/templates/drupal/sources/jquery-ui/demos/resizable/delay-start.html +52 -0
  506. data/templates/drupal/sources/jquery-ui/demos/resizable/helper.html +43 -0
  507. data/templates/drupal/sources/jquery-ui/demos/resizable/index.html +28 -0
  508. data/templates/drupal/sources/jquery-ui/demos/resizable/max-min.html +45 -0
  509. data/templates/drupal/sources/jquery-ui/demos/resizable/snap-to-grid.html +42 -0
  510. data/templates/drupal/sources/jquery-ui/demos/resizable/synchronous-resize.html +49 -0
  511. data/templates/drupal/sources/jquery-ui/demos/resizable/textarea.html +41 -0
  512. data/templates/drupal/sources/jquery-ui/demos/resizable/visual-feedback.html +43 -0
  513. data/templates/drupal/sources/jquery-ui/demos/selectable/default.html +50 -0
  514. data/templates/drupal/sources/jquery-ui/demos/selectable/display-grid.html +55 -0
  515. data/templates/drupal/sources/jquery-ui/demos/selectable/index.html +20 -0
  516. data/templates/drupal/sources/jquery-ui/demos/selectable/serialize.html +61 -0
  517. data/templates/drupal/sources/jquery-ui/demos/show/default.html +104 -0
  518. data/templates/drupal/sources/jquery-ui/demos/show/index.html +18 -0
  519. data/templates/drupal/sources/jquery-ui/demos/slider/colorpicker.html +95 -0
  520. data/templates/drupal/sources/jquery-ui/demos/slider/default.html +37 -0
  521. data/templates/drupal/sources/jquery-ui/demos/slider/hotelrooms.html +59 -0
  522. data/templates/drupal/sources/jquery-ui/demos/slider/index.html +29 -0
  523. data/templates/drupal/sources/jquery-ui/demos/slider/multiple-vertical.html +77 -0
  524. data/templates/drupal/sources/jquery-ui/demos/slider/range-vertical.html +51 -0
  525. data/templates/drupal/sources/jquery-ui/demos/slider/range.html +52 -0
  526. data/templates/drupal/sources/jquery-ui/demos/slider/rangemax.html +50 -0
  527. data/templates/drupal/sources/jquery-ui/demos/slider/rangemin.html +51 -0
  528. data/templates/drupal/sources/jquery-ui/demos/slider/side-scroll.html +140 -0
  529. data/templates/drupal/sources/jquery-ui/demos/slider/slider-vertical.html +52 -0
  530. data/templates/drupal/sources/jquery-ui/demos/slider/steps.html +51 -0
  531. data/templates/drupal/sources/jquery-ui/demos/slider/tabs.html +67 -0
  532. data/templates/drupal/sources/jquery-ui/demos/sortable/connect-lists-through-tabs.html +78 -0
  533. data/templates/drupal/sources/jquery-ui/demos/sortable/connect-lists.html +58 -0
  534. data/templates/drupal/sources/jquery-ui/demos/sortable/default.html +51 -0
  535. data/templates/drupal/sources/jquery-ui/demos/sortable/delay-start.html +67 -0
  536. data/templates/drupal/sources/jquery-ui/demos/sortable/display-grid.html +54 -0
  537. data/templates/drupal/sources/jquery-ui/demos/sortable/empty-lists.html +69 -0
  538. data/templates/drupal/sources/jquery-ui/demos/sortable/index.html +26 -0
  539. data/templates/drupal/sources/jquery-ui/demos/sortable/items.html +70 -0
  540. data/templates/drupal/sources/jquery-ui/demos/sortable/placeholder.html +56 -0
  541. data/templates/drupal/sources/jquery-ui/demos/sortable/portlets.html +96 -0
  542. data/templates/drupal/sources/jquery-ui/demos/spinner/currency.html +61 -0
  543. data/templates/drupal/sources/jquery-ui/demos/spinner/decimal.html +59 -0
  544. data/templates/drupal/sources/jquery-ui/demos/spinner/default.html +65 -0
  545. data/templates/drupal/sources/jquery-ui/demos/spinner/index.html +20 -0
  546. data/templates/drupal/sources/jquery-ui/demos/spinner/latlong.html +60 -0
  547. data/templates/drupal/sources/jquery-ui/demos/spinner/overflow.html +47 -0
  548. data/templates/drupal/sources/jquery-ui/demos/spinner/time.html +71 -0
  549. data/templates/drupal/sources/jquery-ui/demos/switchClass/default.html +47 -0
  550. data/templates/drupal/sources/jquery-ui/demos/switchClass/index.html +18 -0
  551. data/templates/drupal/sources/jquery-ui/demos/tabs/ajax.html +53 -0
  552. data/templates/drupal/sources/jquery-ui/demos/tabs/ajax/content1.html +4 -0
  553. data/templates/drupal/sources/jquery-ui/demos/tabs/ajax/content2.html +4 -0
  554. data/templates/drupal/sources/jquery-ui/demos/tabs/ajax/content3-slow.php +7 -0
  555. data/templates/drupal/sources/jquery-ui/demos/tabs/ajax/content4-broken.php +3 -0
  556. data/templates/drupal/sources/jquery-ui/demos/tabs/bottom.html +59 -0
  557. data/templates/drupal/sources/jquery-ui/demos/tabs/collapsible.html +55 -0
  558. data/templates/drupal/sources/jquery-ui/demos/tabs/cookie.html +57 -0
  559. data/templates/drupal/sources/jquery-ui/demos/tabs/default.html +49 -0
  560. data/templates/drupal/sources/jquery-ui/demos/tabs/index.html +25 -0
  561. data/templates/drupal/sources/jquery-ui/demos/tabs/manipulation.html +124 -0
  562. data/templates/drupal/sources/jquery-ui/demos/tabs/mouseover.html +53 -0
  563. data/templates/drupal/sources/jquery-ui/demos/tabs/sortable.html +58 -0
  564. data/templates/drupal/sources/jquery-ui/demos/tabs/vertical.html +61 -0
  565. data/templates/drupal/sources/jquery-ui/demos/toggle/default.html +94 -0
  566. data/templates/drupal/sources/jquery-ui/demos/toggle/index.html +18 -0
  567. data/templates/drupal/sources/jquery-ui/demos/toggleClass/default.html +46 -0
  568. data/templates/drupal/sources/jquery-ui/demos/toggleClass/index.html +18 -0
  569. data/templates/drupal/sources/jquery-ui/demos/tooltip/ajax/content1.html +1 -0
  570. data/templates/drupal/sources/jquery-ui/demos/tooltip/ajax/content2.html +1 -0
  571. data/templates/drupal/sources/jquery-ui/demos/tooltip/custom-animation.html +58 -0
  572. data/templates/drupal/sources/jquery-ui/demos/tooltip/default.html +48 -0
  573. data/templates/drupal/sources/jquery-ui/demos/tooltip/delegation-mixbag.html +73 -0
  574. data/templates/drupal/sources/jquery-ui/demos/tooltip/forms.html +71 -0
  575. data/templates/drupal/sources/jquery-ui/demos/tooltip/index.html +22 -0
  576. data/templates/drupal/sources/jquery-ui/demos/tooltip/tracking.html +64 -0
  577. data/templates/drupal/sources/jquery-ui/external/jquery.bgiframe-2.1.2.js +39 -0
  578. data/templates/drupal/sources/jquery-ui/external/jquery.cookie.js +89 -0
  579. data/templates/drupal/sources/jquery-ui/external/jquery.global.de-DE.js +55 -0
  580. data/templates/drupal/sources/jquery-ui/external/jquery.global.ja-JP.js +74 -0
  581. data/templates/drupal/sources/jquery-ui/external/jquery.global.js +1341 -0
  582. data/templates/drupal/sources/jquery-ui/external/jquery.metadata.js +122 -0
  583. data/templates/drupal/sources/jquery-ui/external/jquery.mousewheel-3.0.4.js +78 -0
  584. data/templates/drupal/sources/jquery-ui/external/qunit.css +215 -0
  585. data/templates/drupal/sources/jquery-ui/external/qunit.js +1444 -0
  586. data/templates/drupal/sources/jquery-ui/jquery-1.5.1.js +8316 -0
  587. data/templates/drupal/sources/jquery-ui/tests/index.html +22 -0
  588. data/templates/drupal/sources/jquery-ui/tests/jquery.simulate.js +151 -0
  589. data/templates/drupal/sources/jquery-ui/tests/static/button/default.html +161 -0
  590. data/templates/drupal/sources/jquery-ui/tests/static/datepicker/datepicker.html +1367 -0
  591. data/templates/drupal/sources/jquery-ui/tests/static/datepicker/default.html +86 -0
  592. data/templates/drupal/sources/jquery-ui/tests/static/icons.html +246 -0
  593. data/templates/drupal/sources/jquery-ui/tests/static/menu/all-menus-icons.html +172 -0
  594. data/templates/drupal/sources/jquery-ui/tests/static/menu/default.html +39 -0
  595. data/templates/drupal/sources/jquery-ui/tests/static/slider/default.html +17 -0
  596. data/templates/drupal/sources/jquery-ui/tests/static/slider/default_vertical.html +17 -0
  597. data/templates/drupal/sources/jquery-ui/tests/static/slider/slider_horizontal.html +17 -0
  598. data/templates/drupal/sources/jquery-ui/tests/static/slider/slider_horizontal_range.html +17 -0
  599. data/templates/drupal/sources/jquery-ui/tests/static/slider/slider_horizontal_range_max.html +17 -0
  600. data/templates/drupal/sources/jquery-ui/tests/static/slider/slider_horizontal_range_min.html +17 -0
  601. data/templates/drupal/sources/jquery-ui/tests/static/slider/slider_vertical.html +17 -0
  602. data/templates/drupal/sources/jquery-ui/tests/static/slider/slider_vertical_range.html +17 -0
  603. data/templates/drupal/sources/jquery-ui/tests/static/slider/slider_vertical_range_max.html +17 -0
  604. data/templates/drupal/sources/jquery-ui/tests/static/slider/slider_vertical_range_min.html +17 -0
  605. data/templates/drupal/sources/jquery-ui/tests/static/static.css +1 -0
  606. data/templates/drupal/sources/jquery-ui/tests/static/static.js +9 -0
  607. data/templates/drupal/sources/jquery-ui/tests/unit/accordion/accordion.html +163 -0
  608. data/templates/drupal/sources/jquery-ui/tests/unit/accordion/accordion_core.js +53 -0
  609. data/templates/drupal/sources/jquery-ui/tests/unit/accordion/accordion_defaults.js +15 -0
  610. data/templates/drupal/sources/jquery-ui/tests/unit/accordion/accordion_defaults_deprecated.js +21 -0
  611. data/templates/drupal/sources/jquery-ui/tests/unit/accordion/accordion_deprecated.html +161 -0
  612. data/templates/drupal/sources/jquery-ui/tests/unit/accordion/accordion_deprecated.js +320 -0
  613. data/templates/drupal/sources/jquery-ui/tests/unit/accordion/accordion_events.js +122 -0
  614. data/templates/drupal/sources/jquery-ui/tests/unit/accordion/accordion_methods.js +37 -0
  615. data/templates/drupal/sources/jquery-ui/tests/unit/accordion/accordion_options.js +266 -0
  616. data/templates/drupal/sources/jquery-ui/tests/unit/autocomplete/autocomplete.html +46 -0
  617. data/templates/drupal/sources/jquery-ui/tests/unit/autocomplete/autocomplete_core.js +73 -0
  618. data/templates/drupal/sources/jquery-ui/tests/unit/autocomplete/autocomplete_defaults.js +19 -0
  619. data/templates/drupal/sources/jquery-ui/tests/unit/autocomplete/autocomplete_events.js +206 -0
  620. data/templates/drupal/sources/jquery-ui/tests/unit/autocomplete/autocomplete_methods.js +39 -0
  621. data/templates/drupal/sources/jquery-ui/tests/unit/autocomplete/autocomplete_options.js +247 -0
  622. data/templates/drupal/sources/jquery-ui/tests/unit/autocomplete/remote_object_array_labels.txt +1 -0
  623. data/templates/drupal/sources/jquery-ui/tests/unit/autocomplete/remote_object_array_values.txt +1 -0
  624. data/templates/drupal/sources/jquery-ui/tests/unit/autocomplete/remote_string_array.txt +1 -0
  625. data/templates/drupal/sources/jquery-ui/tests/unit/button/button.html +68 -0
  626. data/templates/drupal/sources/jquery-ui/tests/unit/button/button_core.js +70 -0
  627. data/templates/drupal/sources/jquery-ui/tests/unit/button/button_defaults.js +15 -0
  628. data/templates/drupal/sources/jquery-ui/tests/unit/button/button_events.js +8 -0
  629. data/templates/drupal/sources/jquery-ui/tests/unit/button/button_methods.js +19 -0
  630. data/templates/drupal/sources/jquery-ui/tests/unit/button/button_options.js +93 -0
  631. data/templates/drupal/sources/jquery-ui/tests/unit/button/button_tickets.js +45 -0
  632. data/templates/drupal/sources/jquery-ui/tests/unit/core/core.html +134 -0
  633. data/templates/drupal/sources/jquery-ui/tests/unit/core/core.js +157 -0
  634. data/templates/drupal/sources/jquery-ui/tests/unit/core/selector.js +253 -0
  635. data/templates/drupal/sources/jquery-ui/tests/unit/datepicker/datepicker.html +54 -0
  636. data/templates/drupal/sources/jquery-ui/tests/unit/datepicker/datepicker_core.js +441 -0
  637. data/templates/drupal/sources/jquery-ui/tests/unit/datepicker/datepicker_defaults.js +9 -0
  638. data/templates/drupal/sources/jquery-ui/tests/unit/datepicker/datepicker_events.js +117 -0
  639. data/templates/drupal/sources/jquery-ui/tests/unit/datepicker/datepicker_methods.js +118 -0
  640. data/templates/drupal/sources/jquery-ui/tests/unit/datepicker/datepicker_options.js +924 -0
  641. data/templates/drupal/sources/jquery-ui/tests/unit/datepicker/datepicker_tickets.js +27 -0
  642. data/templates/drupal/sources/jquery-ui/tests/unit/dialog/dialog.html +57 -0
  643. data/templates/drupal/sources/jquery-ui/tests/unit/dialog/dialog_core.js +138 -0
  644. data/templates/drupal/sources/jquery-ui/tests/unit/dialog/dialog_defaults.js +35 -0
  645. data/templates/drupal/sources/jquery-ui/tests/unit/dialog/dialog_events.js +254 -0
  646. data/templates/drupal/sources/jquery-ui/tests/unit/dialog/dialog_methods.js +127 -0
  647. data/templates/drupal/sources/jquery-ui/tests/unit/dialog/dialog_options.js +444 -0
  648. data/templates/drupal/sources/jquery-ui/tests/unit/dialog/dialog_tickets.js +116 -0
  649. data/templates/drupal/sources/jquery-ui/tests/unit/draggable/draggable.html +53 -0
  650. data/templates/drupal/sources/jquery-ui/tests/unit/draggable/draggable_core.js +67 -0
  651. data/templates/drupal/sources/jquery-ui/tests/unit/draggable/draggable_defaults.js +36 -0
  652. data/templates/drupal/sources/jquery-ui/tests/unit/draggable/draggable_events.js +81 -0
  653. data/templates/drupal/sources/jquery-ui/tests/unit/draggable/draggable_methods.js +99 -0
  654. data/templates/drupal/sources/jquery-ui/tests/unit/draggable/draggable_options.js +753 -0
  655. data/templates/drupal/sources/jquery-ui/tests/unit/droppable/droppable.html +53 -0
  656. data/templates/drupal/sources/jquery-ui/tests/unit/droppable/droppable_core.js +36 -0
  657. data/templates/drupal/sources/jquery-ui/tests/unit/droppable/droppable_defaults.js +16 -0
  658. data/templates/drupal/sources/jquery-ui/tests/unit/droppable/droppable_events.js +28 -0
  659. data/templates/drupal/sources/jquery-ui/tests/unit/droppable/droppable_methods.js +86 -0
  660. data/templates/drupal/sources/jquery-ui/tests/unit/droppable/droppable_options.js +68 -0
  661. data/templates/drupal/sources/jquery-ui/tests/unit/images/jqueryui_32x32.png +0 -0
  662. data/templates/drupal/sources/jquery-ui/tests/unit/index.html +64 -0
  663. data/templates/drupal/sources/jquery-ui/tests/unit/menu/menu.html +74 -0
  664. data/templates/drupal/sources/jquery-ui/tests/unit/menu/menu_core.js +38 -0
  665. data/templates/drupal/sources/jquery-ui/tests/unit/menu/menu_defaults.js +13 -0
  666. data/templates/drupal/sources/jquery-ui/tests/unit/menu/menu_events.js +24 -0
  667. data/templates/drupal/sources/jquery-ui/tests/unit/menu/menu_methods.js +15 -0
  668. data/templates/drupal/sources/jquery-ui/tests/unit/menu/menu_options.js +10 -0
  669. data/templates/drupal/sources/jquery-ui/tests/unit/position/position.html +62 -0
  670. data/templates/drupal/sources/jquery-ui/tests/unit/position/position_core.js +438 -0
  671. data/templates/drupal/sources/jquery-ui/tests/unit/position/position_deprecated.html +60 -0
  672. data/templates/drupal/sources/jquery-ui/tests/unit/position/position_deprecated.js +32 -0
  673. data/templates/drupal/sources/jquery-ui/tests/unit/progressbar/progressbar.html +41 -0
  674. data/templates/drupal/sources/jquery-ui/tests/unit/progressbar/progressbar_core.js +28 -0
  675. data/templates/drupal/sources/jquery-ui/tests/unit/progressbar/progressbar_defaults.js +11 -0
  676. data/templates/drupal/sources/jquery-ui/tests/unit/progressbar/progressbar_events.js +51 -0
  677. data/templates/drupal/sources/jquery-ui/tests/unit/progressbar/progressbar_methods.js +36 -0
  678. data/templates/drupal/sources/jquery-ui/tests/unit/progressbar/progressbar_options.js +59 -0
  679. data/templates/drupal/sources/jquery-ui/tests/unit/resizable/images/test.jpg +0 -0
  680. data/templates/drupal/sources/jquery-ui/tests/unit/resizable/resizable.html +53 -0
  681. data/templates/drupal/sources/jquery-ui/tests/unit/resizable/resizable_core.js +148 -0
  682. data/templates/drupal/sources/jquery-ui/tests/unit/resizable/resizable_defaults.js +28 -0
  683. data/templates/drupal/sources/jquery-ui/tests/unit/resizable/resizable_events.js +20 -0
  684. data/templates/drupal/sources/jquery-ui/tests/unit/resizable/resizable_methods.js +64 -0
  685. data/templates/drupal/sources/jquery-ui/tests/unit/resizable/resizable_options.js +190 -0
  686. data/templates/drupal/sources/jquery-ui/tests/unit/selectable/selectable.html +56 -0
  687. data/templates/drupal/sources/jquery-ui/tests/unit/selectable/selectable_core.js +16 -0
  688. data/templates/drupal/sources/jquery-ui/tests/unit/selectable/selectable_defaults.js +16 -0
  689. data/templates/drupal/sources/jquery-ui/tests/unit/selectable/selectable_events.js +32 -0
  690. data/templates/drupal/sources/jquery-ui/tests/unit/selectable/selectable_methods.js +93 -0
  691. data/templates/drupal/sources/jquery-ui/tests/unit/selectable/selectable_options.js +46 -0
  692. data/templates/drupal/sources/jquery-ui/tests/unit/slider/slider.html +55 -0
  693. data/templates/drupal/sources/jquery-ui/tests/unit/slider/slider_core.js +292 -0
  694. data/templates/drupal/sources/jquery-ui/tests/unit/slider/slider_defaults.js +20 -0
  695. data/templates/drupal/sources/jquery-ui/tests/unit/slider/slider_events.js +109 -0
  696. data/templates/drupal/sources/jquery-ui/tests/unit/slider/slider_methods.js +102 -0
  697. data/templates/drupal/sources/jquery-ui/tests/unit/slider/slider_options.js +146 -0
  698. data/templates/drupal/sources/jquery-ui/tests/unit/sortable/sortable.html +57 -0
  699. data/templates/drupal/sources/jquery-ui/tests/unit/sortable/sortable_core.js +9 -0
  700. data/templates/drupal/sources/jquery-ui/tests/unit/sortable/sortable_defaults.js +34 -0
  701. data/templates/drupal/sources/jquery-ui/tests/unit/sortable/sortable_events.js +147 -0
  702. data/templates/drupal/sources/jquery-ui/tests/unit/sortable/sortable_methods.js +108 -0
  703. data/templates/drupal/sources/jquery-ui/tests/unit/sortable/sortable_options.js +256 -0
  704. data/templates/drupal/sources/jquery-ui/tests/unit/sortable/sortable_tickets.js +83 -0
  705. data/templates/drupal/sources/jquery-ui/tests/unit/spinner/spinner.html +46 -0
  706. data/templates/drupal/sources/jquery-ui/tests/unit/spinner/spinner_core.js +171 -0
  707. data/templates/drupal/sources/jquery-ui/tests/unit/spinner/spinner_defaults.js +16 -0
  708. data/templates/drupal/sources/jquery-ui/tests/unit/spinner/spinner_events.js +64 -0
  709. data/templates/drupal/sources/jquery-ui/tests/unit/spinner/spinner_methods.js +155 -0
  710. data/templates/drupal/sources/jquery-ui/tests/unit/spinner/spinner_options.js +154 -0
  711. data/templates/drupal/sources/jquery-ui/tests/unit/swarminject.js +9 -0
  712. data/templates/drupal/sources/jquery-ui/tests/unit/tabs/data/test.html +1 -0
  713. data/templates/drupal/sources/jquery-ui/tests/unit/tabs/spinner.gif +0 -0
  714. data/templates/drupal/sources/jquery-ui/tests/unit/tabs/tabs.html +139 -0
  715. data/templates/drupal/sources/jquery-ui/tests/unit/tabs/tabs_core.js +50 -0
  716. data/templates/drupal/sources/jquery-ui/tests/unit/tabs/tabs_defaults.js +13 -0
  717. data/templates/drupal/sources/jquery-ui/tests/unit/tabs/tabs_defaults_deprecated.js +26 -0
  718. data/templates/drupal/sources/jquery-ui/tests/unit/tabs/tabs_deprecated.html +138 -0
  719. data/templates/drupal/sources/jquery-ui/tests/unit/tabs/tabs_deprecated.js +350 -0
  720. data/templates/drupal/sources/jquery-ui/tests/unit/tabs/tabs_events.js +198 -0
  721. data/templates/drupal/sources/jquery-ui/tests/unit/tabs/tabs_methods.js +165 -0
  722. data/templates/drupal/sources/jquery-ui/tests/unit/tabs/tabs_options.js +146 -0
  723. data/templates/drupal/sources/jquery-ui/tests/unit/tabs/tabs_tickets.js +99 -0
  724. data/templates/drupal/sources/jquery-ui/tests/unit/testsuite.js +101 -0
  725. data/templates/drupal/sources/jquery-ui/tests/unit/tooltip/tooltip.html +47 -0
  726. data/templates/drupal/sources/jquery-ui/tests/unit/tooltip/tooltip_core.js +11 -0
  727. data/templates/drupal/sources/jquery-ui/tests/unit/tooltip/tooltip_defaults.js +16 -0
  728. data/templates/drupal/sources/jquery-ui/tests/unit/tooltip/tooltip_events.js +54 -0
  729. data/templates/drupal/sources/jquery-ui/tests/unit/tooltip/tooltip_methods.js +30 -0
  730. data/templates/drupal/sources/jquery-ui/tests/unit/tooltip/tooltip_options.js +62 -0
  731. data/templates/drupal/sources/jquery-ui/tests/unit/widget/widget.html +40 -0
  732. data/templates/drupal/sources/jquery-ui/tests/unit/widget/widget_core.js +992 -0
  733. data/templates/drupal/sources/jquery-ui/tests/visual/addClass/addClass_queue.html +50 -0
  734. data/templates/drupal/sources/jquery-ui/tests/visual/all.css +84 -0
  735. data/templates/drupal/sources/jquery-ui/tests/visual/all.html +190 -0
  736. data/templates/drupal/sources/jquery-ui/tests/visual/animate/animate_backgroundColor_hex.html +44 -0
  737. data/templates/drupal/sources/jquery-ui/tests/visual/animate/animate_backgroundColor_rgb.html +35 -0
  738. data/templates/drupal/sources/jquery-ui/tests/visual/animate/animate_color_hex.html +44 -0
  739. data/templates/drupal/sources/jquery-ui/tests/visual/animate/animate_color_rgb.html +35 -0
  740. data/templates/drupal/sources/jquery-ui/tests/visual/button/button.html +140 -0
  741. data/templates/drupal/sources/jquery-ui/tests/visual/button/button_disabled_true.html +84 -0
  742. data/templates/drupal/sources/jquery-ui/tests/visual/button/button_input_type_checkbox.html +25 -0
  743. data/templates/drupal/sources/jquery-ui/tests/visual/button/button_option_disabled_true.html +84 -0
  744. data/templates/drupal/sources/jquery-ui/tests/visual/button/button_performance.html +555 -0
  745. data/templates/drupal/sources/jquery-ui/tests/visual/button/button_ticket_5254.html +55 -0
  746. data/templates/drupal/sources/jquery-ui/tests/visual/button/button_ticket_5261.html +42 -0
  747. data/templates/drupal/sources/jquery-ui/tests/visual/button/button_ticket_5278.html +58 -0
  748. data/templates/drupal/sources/jquery-ui/tests/visual/compound/accordion_dialog.html +202 -0
  749. data/templates/drupal/sources/jquery-ui/tests/visual/compound/accordion_tabs.html +86 -0
  750. data/templates/drupal/sources/jquery-ui/tests/visual/compound/datepicker_dialog.html +157 -0
  751. data/templates/drupal/sources/jquery-ui/tests/visual/compound/draggable_accordion.html +65 -0
  752. data/templates/drupal/sources/jquery-ui/tests/visual/compound/draggable_accordion_accordion_tabs_draggable.html +109 -0
  753. data/templates/drupal/sources/jquery-ui/tests/visual/compound/sortable_accordion_sortable_tabs.html +108 -0
  754. data/templates/drupal/sources/jquery-ui/tests/visual/compound/tabs_tabs.html +73 -0
  755. data/templates/drupal/sources/jquery-ui/tests/visual/compound/tabs_tooltips.html +37 -0
  756. data/templates/drupal/sources/jquery-ui/tests/visual/compound/widgets_in_dialog.html +229 -0
  757. data/templates/drupal/sources/jquery-ui/tests/visual/datepicker/calendar.gif +0 -0
  758. data/templates/drupal/sources/jquery-ui/tests/visual/datepicker/datepicker.html +23 -0
  759. data/templates/drupal/sources/jquery-ui/tests/visual/datepicker/datepicker_multi_inline.html +113 -0
  760. data/templates/drupal/sources/jquery-ui/tests/visual/datepicker/datepicker_ticket_4071.html +96 -0
  761. data/templates/drupal/sources/jquery-ui/tests/visual/datepicker/datepicker_ticket_4240.html +55 -0
  762. data/templates/drupal/sources/jquery-ui/tests/visual/datepicker/datepicker_ticket_4443.html +38 -0
  763. data/templates/drupal/sources/jquery-ui/tests/visual/datepicker/datepicker_ticket_5676.html +30 -0
  764. data/templates/drupal/sources/jquery-ui/tests/visual/datepicker/multimonth.html +23 -0
  765. data/templates/drupal/sources/jquery-ui/tests/visual/datepicker/viewport.html +278 -0
  766. data/templates/drupal/sources/jquery-ui/tests/visual/dialog/dialog_on_page_with_large_dom.html +2963 -0
  767. data/templates/drupal/sources/jquery-ui/tests/visual/draggable/draggable.html +24 -0
  768. data/templates/drupal/sources/jquery-ui/tests/visual/draggable/draggable.scroll.html +152 -0
  769. data/templates/drupal/sources/jquery-ui/tests/visual/draggable/draggable_option_containment_array.html +26 -0
  770. data/templates/drupal/sources/jquery-ui/tests/visual/draggable/draggable_option_cursorAt_object.html +26 -0
  771. data/templates/drupal/sources/jquery-ui/tests/visual/draggable/draggable_option_handle_selector.html +28 -0
  772. data/templates/drupal/sources/jquery-ui/tests/visual/draggable/draggable_option_iframeFix_false.html +30 -0
  773. data/templates/drupal/sources/jquery-ui/tests/visual/draggable/draggable_option_iframeFix_selector.html +30 -0
  774. data/templates/drupal/sources/jquery-ui/tests/visual/draggable/draggable_option_iframeFix_true.html +30 -0
  775. data/templates/drupal/sources/jquery-ui/tests/visual/droppable/droppable.css +3 -0
  776. data/templates/drupal/sources/jquery-ui/tests/visual/droppable/droppable.html +33 -0
  777. data/templates/drupal/sources/jquery-ui/tests/visual/droppable/droppable_option_accept_default.html +40 -0
  778. data/templates/drupal/sources/jquery-ui/tests/visual/droppable/droppable_option_accept_function.html +43 -0
  779. data/templates/drupal/sources/jquery-ui/tests/visual/droppable/droppable_option_accept_selector.html +41 -0
  780. data/templates/drupal/sources/jquery-ui/tests/visual/droppable/droppable_ticket_4087.html +51 -0
  781. data/templates/drupal/sources/jquery-ui/tests/visual/droppable/droppable_ticket_4088.html +69 -0
  782. data/templates/drupal/sources/jquery-ui/tests/visual/effects.all.css +54 -0
  783. data/templates/drupal/sources/jquery-ui/tests/visual/effects.all.html +193 -0
  784. data/templates/drupal/sources/jquery-ui/tests/visual/effects.all.js +92 -0
  785. data/templates/drupal/sources/jquery-ui/tests/visual/menu/contextmenu.html +191 -0
  786. data/templates/drupal/sources/jquery-ui/tests/visual/menu/drilldown.html +266 -0
  787. data/templates/drupal/sources/jquery-ui/tests/visual/menu/menu.html +147 -0
  788. data/templates/drupal/sources/jquery-ui/tests/visual/menu/menubar.html +208 -0
  789. data/templates/drupal/sources/jquery-ui/tests/visual/menu/menubar.js +189 -0
  790. data/templates/drupal/sources/jquery-ui/tests/visual/menu/popup.html +159 -0
  791. data/templates/drupal/sources/jquery-ui/tests/visual/menu/popup.js +113 -0
  792. data/templates/drupal/sources/jquery-ui/tests/visual/menu/tablemenu.html +67 -0
  793. data/templates/drupal/sources/jquery-ui/tests/visual/mouse/mouse_ticket_6946.html +67 -0
  794. data/templates/drupal/sources/jquery-ui/tests/visual/position/position.html +67 -0
  795. data/templates/drupal/sources/jquery-ui/tests/visual/position/position_margin.html +43 -0
  796. data/templates/drupal/sources/jquery-ui/tests/visual/resizable/images/test.png +0 -0
  797. data/templates/drupal/sources/jquery-ui/tests/visual/resizable/resizable.html +24 -0
  798. data/templates/drupal/sources/jquery-ui/tests/visual/resizable/resizable_option_alsoResize_child.html +48 -0
  799. data/templates/drupal/sources/jquery-ui/tests/visual/resizable/resizable_option_aspectRatio_0.5.html +29 -0
  800. data/templates/drupal/sources/jquery-ui/tests/visual/resizable/resizable_option_aspectRatio_1.0.html +29 -0
  801. data/templates/drupal/sources/jquery-ui/tests/visual/resizable/resizable_option_aspectRatio_1.5.html +29 -0
  802. data/templates/drupal/sources/jquery-ui/tests/visual/resizable/resizable_option_aspectRatio_preserve_maxHeight_150.html +30 -0
  803. data/templates/drupal/sources/jquery-ui/tests/visual/resizable/resizable_option_aspectRatio_preserve_maxWidth_150.html +30 -0
  804. data/templates/drupal/sources/jquery-ui/tests/visual/resizable/resizable_option_aspectRatio_preserve_minHeight_50.html +30 -0
  805. data/templates/drupal/sources/jquery-ui/tests/visual/resizable/resizable_option_aspectRatio_preserve_minWidth_50.html +30 -0
  806. data/templates/drupal/sources/jquery-ui/tests/visual/resizable/resizable_option_aspectRatio_preserve_w100xh100.html +29 -0
  807. data/templates/drupal/sources/jquery-ui/tests/visual/resizable/resizable_option_aspectRatio_preserve_w100xh50.html +29 -0
  808. data/templates/drupal/sources/jquery-ui/tests/visual/resizable/resizable_option_aspectRatio_preserve_w50xh100.html +29 -0
  809. data/templates/drupal/sources/jquery-ui/tests/visual/resizable/resizable_ticket_3053.html +37 -0
  810. data/templates/drupal/sources/jquery-ui/tests/visual/resizable/resizable_ticket_4199.html +37 -0
  811. data/templates/drupal/sources/jquery-ui/tests/visual/resizable/resizable_ticket_4217.html +46 -0
  812. data/templates/drupal/sources/jquery-ui/tests/visual/resizable/resizable_ticket_4940.html +32 -0
  813. data/templates/drupal/sources/jquery-ui/tests/visual/resizable/resizable_ticket_5335.html +52 -0
  814. data/templates/drupal/sources/jquery-ui/tests/visual/selectable/selectable.html +40 -0
  815. data/templates/drupal/sources/jquery-ui/tests/visual/selectable/selectable_ticket_4341.html +46 -0
  816. data/templates/drupal/sources/jquery-ui/tests/visual/slider/slider.html +24 -0
  817. data/templates/drupal/sources/jquery-ui/tests/visual/slider/slider_horizontal.html +27 -0
  818. data/templates/drupal/sources/jquery-ui/tests/visual/slider/slider_horizontal_range.html +28 -0
  819. data/templates/drupal/sources/jquery-ui/tests/visual/slider/slider_horizontal_range_max.html +28 -0
  820. data/templates/drupal/sources/jquery-ui/tests/visual/slider/slider_horizontal_range_min.html +28 -0
  821. data/templates/drupal/sources/jquery-ui/tests/visual/slider/slider_in_container_with_scrollbars.html +43 -0
  822. data/templates/drupal/sources/jquery-ui/tests/visual/slider/slider_method_destroy.html +28 -0
  823. data/templates/drupal/sources/jquery-ui/tests/visual/slider/slider_method_disable.html +47 -0
  824. data/templates/drupal/sources/jquery-ui/tests/visual/slider/slider_option_animate_false.html +26 -0
  825. data/templates/drupal/sources/jquery-ui/tests/visual/slider/slider_option_animate_true.html +65 -0
  826. data/templates/drupal/sources/jquery-ui/tests/visual/slider/slider_option_max_3.html +26 -0
  827. data/templates/drupal/sources/jquery-ui/tests/visual/slider/slider_option_max_30.html +26 -0
  828. data/templates/drupal/sources/jquery-ui/tests/visual/slider/slider_option_max_300.html +26 -0
  829. data/templates/drupal/sources/jquery-ui/tests/visual/slider/slider_option_min_-3.html +27 -0
  830. data/templates/drupal/sources/jquery-ui/tests/visual/slider/slider_option_min_-30.html +27 -0
  831. data/templates/drupal/sources/jquery-ui/tests/visual/slider/slider_option_min_-300.html +27 -0
  832. data/templates/drupal/sources/jquery-ui/tests/visual/slider/slider_option_orientation_horizontal.html +26 -0
  833. data/templates/drupal/sources/jquery-ui/tests/visual/slider/slider_option_orientation_vertical.html +26 -0
  834. data/templates/drupal/sources/jquery-ui/tests/visual/slider/slider_option_range_false.html +27 -0
  835. data/templates/drupal/sources/jquery-ui/tests/visual/slider/slider_option_range_max.html +27 -0
  836. data/templates/drupal/sources/jquery-ui/tests/visual/slider/slider_option_range_min.html +27 -0
  837. data/templates/drupal/sources/jquery-ui/tests/visual/slider/slider_option_range_true.html +27 -0
  838. data/templates/drupal/sources/jquery-ui/tests/visual/slider/slider_option_step_25.html +26 -0
  839. data/templates/drupal/sources/jquery-ui/tests/visual/slider/slider_option_step_5.html +26 -0
  840. data/templates/drupal/sources/jquery-ui/tests/visual/slider/slider_option_value_3.html +26 -0
  841. data/templates/drupal/sources/jquery-ui/tests/visual/slider/slider_option_value_30.html +26 -0
  842. data/templates/drupal/sources/jquery-ui/tests/visual/slider/slider_option_values_25_50_75.html +26 -0
  843. data/templates/drupal/sources/jquery-ui/tests/visual/slider/slider_option_values_25_75.html +26 -0
  844. data/templates/drupal/sources/jquery-ui/tests/visual/slider/slider_option_values_50.html +26 -0
  845. data/templates/drupal/sources/jquery-ui/tests/visual/slider/slider_ticket_3736.html +36 -0
  846. data/templates/drupal/sources/jquery-ui/tests/visual/slider/slider_ticket_3762.html +44 -0
  847. data/templates/drupal/sources/jquery-ui/tests/visual/slider/slider_ticket_4385.html +42 -0
  848. data/templates/drupal/sources/jquery-ui/tests/visual/slider/slider_ticket_4467.html +34 -0
  849. data/templates/drupal/sources/jquery-ui/tests/visual/slider/slider_vertical.html +27 -0
  850. data/templates/drupal/sources/jquery-ui/tests/visual/slider/slider_vertical_range.html +28 -0
  851. data/templates/drupal/sources/jquery-ui/tests/visual/slider/slider_vertical_range_max.html +28 -0
  852. data/templates/drupal/sources/jquery-ui/tests/visual/slider/slider_vertical_range_min.html +28 -0
  853. data/templates/drupal/sources/jquery-ui/tests/visual/sortable/sortable.html +40 -0
  854. data/templates/drupal/sources/jquery-ui/tests/visual/sortable/sortable_massive_scale.html +757 -0
  855. data/templates/drupal/sources/jquery-ui/tests/visual/sortable/sortable_option_revert_false.html +31 -0
  856. data/templates/drupal/sources/jquery-ui/tests/visual/sortable/sortable_option_revert_true.html +31 -0
  857. data/templates/drupal/sources/jquery-ui/tests/visual/sortable/sortable_ticket_4231.html +78 -0
  858. data/templates/drupal/sources/jquery-ui/tests/visual/sortable/sortable_ticket_5355.html +58 -0
  859. data/templates/drupal/sources/jquery-ui/tests/visual/spinner/spinner.html +43 -0
  860. data/templates/drupal/sources/jquery-ui/tests/visual/theme.html +532 -0
  861. data/templates/drupal/sources/jquery-ui/tests/visual/tooltip/ajaxcontent.php +2 -0
  862. data/templates/drupal/sources/jquery-ui/tests/visual/tooltip/callout.html +213 -0
  863. data/templates/drupal/sources/jquery-ui/tests/visual/tooltip/tooltip.html +186 -0
  864. data/templates/drupal/sources/jquery-ui/tests/visual/visual.css +3 -0
  865. data/templates/drupal/sources/jquery-ui/themes/base/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  866. data/templates/drupal/sources/jquery-ui/themes/base/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  867. data/templates/drupal/sources/jquery-ui/themes/base/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  868. data/templates/drupal/sources/jquery-ui/themes/base/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  869. data/templates/drupal/sources/jquery-ui/themes/base/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  870. data/templates/drupal/sources/jquery-ui/themes/base/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  871. data/templates/drupal/sources/jquery-ui/themes/base/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  872. data/templates/drupal/sources/jquery-ui/themes/base/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  873. data/templates/drupal/sources/jquery-ui/themes/base/images/ui-icons_222222_256x240.png +0 -0
  874. data/templates/drupal/sources/jquery-ui/themes/base/images/ui-icons_2e83ff_256x240.png +0 -0
  875. data/templates/drupal/sources/jquery-ui/themes/base/images/ui-icons_454545_256x240.png +0 -0
  876. data/templates/drupal/sources/jquery-ui/themes/base/images/ui-icons_888888_256x240.png +0 -0
  877. data/templates/drupal/sources/jquery-ui/themes/base/images/ui-icons_cd0a0a_256x240.png +0 -0
  878. data/templates/drupal/sources/jquery-ui/themes/base/jquery.ui.accordion.css +18 -0
  879. data/templates/drupal/sources/jquery-ui/themes/base/jquery.ui.all.css +11 -0
  880. data/templates/drupal/sources/jquery-ui/themes/base/jquery.ui.autocomplete.css +13 -0
  881. data/templates/drupal/sources/jquery-ui/themes/base/jquery.ui.base.css +24 -0
  882. data/templates/drupal/sources/jquery-ui/themes/base/jquery.ui.button.css +38 -0
  883. data/templates/drupal/sources/jquery-ui/themes/base/jquery.ui.core.css +41 -0
  884. data/templates/drupal/sources/jquery-ui/themes/base/jquery.ui.datepicker.css +68 -0
  885. data/templates/drupal/sources/jquery-ui/themes/base/jquery.ui.dialog.css +21 -0
  886. data/templates/drupal/sources/jquery-ui/themes/base/jquery.ui.menu.css +44 -0
  887. data/templates/drupal/sources/jquery-ui/themes/base/jquery.ui.progressbar.css +11 -0
  888. data/templates/drupal/sources/jquery-ui/themes/base/jquery.ui.resizable.css +25 -0
  889. data/templates/drupal/sources/jquery-ui/themes/base/jquery.ui.selectable.css +10 -0
  890. data/templates/drupal/sources/jquery-ui/themes/base/jquery.ui.slider.css +24 -0
  891. data/templates/drupal/sources/jquery-ui/themes/base/jquery.ui.spinner.css +23 -0
  892. data/templates/drupal/sources/jquery-ui/themes/base/jquery.ui.tabs.css +17 -0
  893. data/templates/drupal/sources/jquery-ui/themes/base/jquery.ui.theme.css +252 -0
  894. data/templates/drupal/sources/jquery-ui/themes/base/jquery.ui.tooltip.css +23 -0
  895. data/templates/drupal/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-af.js +23 -0
  896. data/templates/drupal/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-ar-DZ.js +23 -0
  897. data/templates/drupal/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-ar.js +23 -0
  898. data/templates/drupal/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-az.js +23 -0
  899. data/templates/drupal/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-bg.js +24 -0
  900. data/templates/drupal/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-bs.js +23 -0
  901. data/templates/drupal/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-ca.js +23 -0
  902. data/templates/drupal/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-cs.js +23 -0
  903. data/templates/drupal/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-da.js +23 -0
  904. data/templates/drupal/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-de.js +23 -0
  905. data/templates/drupal/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-el.js +23 -0
  906. data/templates/drupal/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-en-AU.js +23 -0
  907. data/templates/drupal/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-en-GB.js +23 -0
  908. data/templates/drupal/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-en-NZ.js +23 -0
  909. data/templates/drupal/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-eo.js +23 -0
  910. data/templates/drupal/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-es.js +23 -0
  911. data/templates/drupal/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-et.js +23 -0
  912. data/templates/drupal/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-eu.js +23 -0
  913. data/templates/drupal/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-fa.js +23 -0
  914. data/templates/drupal/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-fi.js +23 -0
  915. data/templates/drupal/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-fo.js +23 -0
  916. data/templates/drupal/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-fr-CH.js +23 -0
  917. data/templates/drupal/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-fr.js +25 -0
  918. data/templates/drupal/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-gl.js +23 -0
  919. data/templates/drupal/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-he.js +23 -0
  920. data/templates/drupal/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-hr.js +23 -0
  921. data/templates/drupal/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-hu.js +23 -0
  922. data/templates/drupal/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-hy.js +23 -0
  923. data/templates/drupal/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-id.js +23 -0
  924. data/templates/drupal/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-is.js +23 -0
  925. data/templates/drupal/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-it.js +23 -0
  926. data/templates/drupal/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-ja.js +23 -0
  927. data/templates/drupal/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-ko.js +23 -0
  928. data/templates/drupal/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-kz.js +23 -0
  929. data/templates/drupal/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-lt.js +23 -0
  930. data/templates/drupal/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-lv.js +23 -0
  931. data/templates/drupal/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-ml.js +23 -0
  932. data/templates/drupal/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-ms.js +23 -0
  933. data/templates/drupal/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-nl.js +23 -0
  934. data/templates/drupal/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-no.js +23 -0
  935. data/templates/drupal/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-pl.js +23 -0
  936. data/templates/drupal/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-pt-BR.js +23 -0
  937. data/templates/drupal/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-pt.js +22 -0
  938. data/templates/drupal/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-rm.js +21 -0
  939. data/templates/drupal/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-ro.js +26 -0
  940. data/templates/drupal/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-ru.js +23 -0
  941. data/templates/drupal/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-sk.js +23 -0
  942. data/templates/drupal/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-sl.js +24 -0
  943. data/templates/drupal/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-sq.js +23 -0
  944. data/templates/drupal/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-sr-SR.js +23 -0
  945. data/templates/drupal/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-sr.js +23 -0
  946. data/templates/drupal/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-sv.js +23 -0
  947. data/templates/drupal/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-ta.js +23 -0
  948. data/templates/drupal/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-th.js +23 -0
  949. data/templates/drupal/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-tj.js +23 -0
  950. data/templates/drupal/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-tr.js +23 -0
  951. data/templates/drupal/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-uk.js +23 -0
  952. data/templates/drupal/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-vi.js +23 -0
  953. data/templates/drupal/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-zh-CN.js +23 -0
  954. data/templates/drupal/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-zh-HK.js +23 -0
  955. data/templates/drupal/sources/jquery-ui/ui/i18n/jquery.ui.datepicker-zh-TW.js +23 -0
  956. data/templates/drupal/sources/jquery-ui/ui/jquery.effects.blind.js +52 -0
  957. data/templates/drupal/sources/jquery-ui/ui/jquery.effects.bounce.js +102 -0
  958. data/templates/drupal/sources/jquery-ui/ui/jquery.effects.clip.js +69 -0
  959. data/templates/drupal/sources/jquery-ui/ui/jquery.effects.core.js +825 -0
  960. data/templates/drupal/sources/jquery-ui/ui/jquery.effects.drop.js +64 -0
  961. data/templates/drupal/sources/jquery-ui/ui/jquery.effects.explode.js +103 -0
  962. data/templates/drupal/sources/jquery-ui/ui/jquery.effects.fade.js +34 -0
  963. data/templates/drupal/sources/jquery-ui/ui/jquery.effects.fold.js +73 -0
  964. data/templates/drupal/sources/jquery-ui/ui/jquery.effects.highlight.js +51 -0
  965. data/templates/drupal/sources/jquery-ui/ui/jquery.effects.pulsate.js +52 -0
  966. data/templates/drupal/sources/jquery-ui/ui/jquery.effects.scale.js +250 -0
  967. data/templates/drupal/sources/jquery-ui/ui/jquery.effects.shake.js +64 -0
  968. data/templates/drupal/sources/jquery-ui/ui/jquery.effects.slide.js +69 -0
  969. data/templates/drupal/sources/jquery-ui/ui/jquery.effects.transfer.js +46 -0
  970. data/templates/drupal/sources/jquery-ui/ui/jquery.ui.accordion.js +669 -0
  971. data/templates/drupal/sources/jquery-ui/ui/jquery.ui.autocomplete.js +439 -0
  972. data/templates/drupal/sources/jquery-ui/ui/jquery.ui.button.js +384 -0
  973. data/templates/drupal/sources/jquery-ui/ui/jquery.ui.core.js +303 -0
  974. data/templates/drupal/sources/jquery-ui/ui/jquery.ui.datepicker.js +1779 -0
  975. data/templates/drupal/sources/jquery-ui/ui/jquery.ui.dialog.js +829 -0
  976. data/templates/drupal/sources/jquery-ui/ui/jquery.ui.draggable.js +799 -0
  977. data/templates/drupal/sources/jquery-ui/ui/jquery.ui.droppable.js +285 -0
  978. data/templates/drupal/sources/jquery-ui/ui/jquery.ui.menu.js +402 -0
  979. data/templates/drupal/sources/jquery-ui/ui/jquery.ui.mouse.js +156 -0
  980. data/templates/drupal/sources/jquery-ui/ui/jquery.ui.position.js +283 -0
  981. data/templates/drupal/sources/jquery-ui/ui/jquery.ui.progressbar.js +107 -0
  982. data/templates/drupal/sources/jquery-ui/ui/jquery.ui.resizable.js +812 -0
  983. data/templates/drupal/sources/jquery-ui/ui/jquery.ui.selectable.js +266 -0
  984. data/templates/drupal/sources/jquery-ui/ui/jquery.ui.slider.js +684 -0
  985. data/templates/drupal/sources/jquery-ui/ui/jquery.ui.sortable.js +1076 -0
  986. data/templates/drupal/sources/jquery-ui/ui/jquery.ui.spinner.js +362 -0
  987. data/templates/drupal/sources/jquery-ui/ui/jquery.ui.tabs.js +1039 -0
  988. data/templates/drupal/sources/jquery-ui/ui/jquery.ui.tooltip.js +146 -0
  989. data/templates/drupal/sources/jquery-ui/ui/jquery.ui.widget.js +363 -0
  990. data/templates/drupal/sources/jquery-ui/version.txt +1 -0
  991. data/templates/drupal/sources/pie/LICENSE-APACHE2.txt +13 -0
  992. data/templates/drupal/sources/pie/LICENSE-GPL2.txt +278 -0
  993. data/templates/drupal/sources/pie/build.xml +118 -0
  994. data/templates/drupal/sources/pie/demos/basic.html +321 -0
  995. data/templates/drupal/sources/pie/demos/farbtastic/CHANGELOG.html +26 -0
  996. data/templates/drupal/sources/pie/demos/farbtastic/LICENSE.txt +341 -0
  997. data/templates/drupal/sources/pie/demos/farbtastic/README.html +71 -0
  998. data/templates/drupal/sources/pie/demos/farbtastic/demo1.html +28 -0
  999. data/templates/drupal/sources/pie/demos/farbtastic/demo2.html +57 -0
  1000. data/templates/drupal/sources/pie/demos/farbtastic/farbtastic.css +51 -0
  1001. data/templates/drupal/sources/pie/demos/farbtastic/farbtastic.js +345 -0
  1002. data/templates/drupal/sources/pie/demos/farbtastic/farbtastic.min.js +1 -0
  1003. data/templates/drupal/sources/pie/demos/farbtastic/marker.png +0 -0
  1004. data/templates/drupal/sources/pie/demos/farbtastic/mask.png +0 -0
  1005. data/templates/drupal/sources/pie/demos/farbtastic/wheel.png +0 -0
  1006. data/templates/drupal/sources/pie/demos/tabs-control.png +0 -0
  1007. data/templates/drupal/sources/pie/demos/tabs.html +296 -0
  1008. data/templates/drupal/sources/pie/documentation/about.html +63 -0
  1009. data/templates/drupal/sources/pie/documentation/build.html +72 -0
  1010. data/templates/drupal/sources/pie/documentation/getting-started.html +66 -0
  1011. data/templates/drupal/sources/pie/documentation/known-issues.html +205 -0
  1012. data/templates/drupal/sources/pie/documentation/pie-js.html +89 -0
  1013. data/templates/drupal/sources/pie/documentation/product-comparison.html +89 -0
  1014. data/templates/drupal/sources/pie/documentation/q-and-a.html +152 -0
  1015. data/templates/drupal/sources/pie/documentation/supported-css3-features.html +402 -0
  1016. data/templates/drupal/sources/pie/site/pie-wp-theme/404.php +24 -0
  1017. data/templates/drupal/sources/pie/site/pie-wp-theme/archive.php +24 -0
  1018. data/templates/drupal/sources/pie/site/pie-wp-theme/attachment.php +25 -0
  1019. data/templates/drupal/sources/pie/site/pie-wp-theme/attachment/attachment-default.php +61 -0
  1020. data/templates/drupal/sources/pie/site/pie-wp-theme/carrington-core/CHANGELOG.txt +72 -0
  1021. data/templates/drupal/sources/pie/site/pie-wp-theme/carrington-core/README.txt +15 -0
  1022. data/templates/drupal/sources/pie/site/pie-wp-theme/carrington-core/admin.php +330 -0
  1023. data/templates/drupal/sources/pie/site/pie-wp-theme/carrington-core/ajax-load.php +115 -0
  1024. data/templates/drupal/sources/pie/site/pie-wp-theme/carrington-core/attachment.php +126 -0
  1025. data/templates/drupal/sources/pie/site/pie-wp-theme/carrington-core/carrington.php +106 -0
  1026. data/templates/drupal/sources/pie/site/pie-wp-theme/carrington-core/compatibility.php +234 -0
  1027. data/templates/drupal/sources/pie/site/pie-wp-theme/carrington-core/css/colorpicker.css +161 -0
  1028. data/templates/drupal/sources/pie/site/pie-wp-theme/carrington-core/images/colorpicker/blank.gif +0 -0
  1029. data/templates/drupal/sources/pie/site/pie-wp-theme/carrington-core/images/colorpicker/colorpicker_background.png +0 -0
  1030. data/templates/drupal/sources/pie/site/pie-wp-theme/carrington-core/images/colorpicker/colorpicker_hex.png +0 -0
  1031. data/templates/drupal/sources/pie/site/pie-wp-theme/carrington-core/images/colorpicker/colorpicker_hsb_b.png +0 -0
  1032. data/templates/drupal/sources/pie/site/pie-wp-theme/carrington-core/images/colorpicker/colorpicker_hsb_h.png +0 -0
  1033. data/templates/drupal/sources/pie/site/pie-wp-theme/carrington-core/images/colorpicker/colorpicker_hsb_s.png +0 -0
  1034. data/templates/drupal/sources/pie/site/pie-wp-theme/carrington-core/images/colorpicker/colorpicker_indic.gif +0 -0
  1035. data/templates/drupal/sources/pie/site/pie-wp-theme/carrington-core/images/colorpicker/colorpicker_overlay.png +0 -0
  1036. data/templates/drupal/sources/pie/site/pie-wp-theme/carrington-core/images/colorpicker/colorpicker_rgb_b.png +0 -0
  1037. data/templates/drupal/sources/pie/site/pie-wp-theme/carrington-core/images/colorpicker/colorpicker_rgb_g.png +0 -0
  1038. data/templates/drupal/sources/pie/site/pie-wp-theme/carrington-core/images/colorpicker/colorpicker_rgb_r.png +0 -0
  1039. data/templates/drupal/sources/pie/site/pie-wp-theme/carrington-core/images/colorpicker/colorpicker_select.gif +0 -0
  1040. data/templates/drupal/sources/pie/site/pie-wp-theme/carrington-core/images/colorpicker/colorpicker_submit.png +0 -0
  1041. data/templates/drupal/sources/pie/site/pie-wp-theme/carrington-core/images/colorpicker/custom_background.png +0 -0
  1042. data/templates/drupal/sources/pie/site/pie-wp-theme/carrington-core/images/colorpicker/custom_hex.png +0 -0
  1043. data/templates/drupal/sources/pie/site/pie-wp-theme/carrington-core/images/colorpicker/custom_hsb_b.png +0 -0
  1044. data/templates/drupal/sources/pie/site/pie-wp-theme/carrington-core/images/colorpicker/custom_hsb_h.png +0 -0
  1045. data/templates/drupal/sources/pie/site/pie-wp-theme/carrington-core/images/colorpicker/custom_hsb_s.png +0 -0
  1046. data/templates/drupal/sources/pie/site/pie-wp-theme/carrington-core/images/colorpicker/custom_indic.gif +0 -0
  1047. data/templates/drupal/sources/pie/site/pie-wp-theme/carrington-core/images/colorpicker/custom_rgb_b.png +0 -0
  1048. data/templates/drupal/sources/pie/site/pie-wp-theme/carrington-core/images/colorpicker/custom_rgb_g.png +0 -0
  1049. data/templates/drupal/sources/pie/site/pie-wp-theme/carrington-core/images/colorpicker/custom_rgb_r.png +0 -0
  1050. data/templates/drupal/sources/pie/site/pie-wp-theme/carrington-core/images/colorpicker/custom_submit.png +0 -0
  1051. data/templates/drupal/sources/pie/site/pie-wp-theme/carrington-core/images/colorpicker/select.png +0 -0
  1052. data/templates/drupal/sources/pie/site/pie-wp-theme/carrington-core/images/colorpicker/select2.png +0 -0
  1053. data/templates/drupal/sources/pie/site/pie-wp-theme/carrington-core/images/colorpicker/slider.png +0 -0
  1054. data/templates/drupal/sources/pie/site/pie-wp-theme/carrington-core/js/colorpicker.js +490 -0
  1055. data/templates/drupal/sources/pie/site/pie-wp-theme/carrington-core/lightbox/LICENSE.txt +30 -0
  1056. data/templates/drupal/sources/pie/site/pie-wp-theme/carrington-core/lightbox/css/thickbox.css +157 -0
  1057. data/templates/drupal/sources/pie/site/pie-wp-theme/carrington-core/lightbox/img/blank.gif +0 -0
  1058. data/templates/drupal/sources/pie/site/pie-wp-theme/carrington-core/lightbox/img/loadingAnimation.gif +0 -0
  1059. data/templates/drupal/sources/pie/site/pie-wp-theme/carrington-core/lightbox/img/macFFBgHack.png +0 -0
  1060. data/templates/drupal/sources/pie/site/pie-wp-theme/carrington-core/lightbox/thickbox.js +332 -0
  1061. data/templates/drupal/sources/pie/site/pie-wp-theme/carrington-core/templates.php +105 -0
  1062. data/templates/drupal/sources/pie/site/pie-wp-theme/carrington-core/utility.php +821 -0
  1063. data/templates/drupal/sources/pie/site/pie-wp-theme/comment/comment-default.php +53 -0
  1064. data/templates/drupal/sources/pie/site/pie-wp-theme/comment/ping.php +33 -0
  1065. data/templates/drupal/sources/pie/site/pie-wp-theme/comments.php +24 -0
  1066. data/templates/drupal/sources/pie/site/pie-wp-theme/comments/comments-default.php +66 -0
  1067. data/templates/drupal/sources/pie/site/pie-wp-theme/comments/comments-loop.php +49 -0
  1068. data/templates/drupal/sources/pie/site/pie-wp-theme/comments/pings-loop.php +38 -0
  1069. data/templates/drupal/sources/pie/site/pie-wp-theme/comments/threaded.php +31 -0
  1070. data/templates/drupal/sources/pie/site/pie-wp-theme/content/content-default.php +56 -0
  1071. data/templates/drupal/sources/pie/site/pie-wp-theme/content/page.php +44 -0
  1072. data/templates/drupal/sources/pie/site/pie-wp-theme/css/common.css +442 -0
  1073. data/templates/drupal/sources/pie/site/pie-wp-theme/css/fonts/museosans_500-webfont.eot +0 -0
  1074. data/templates/drupal/sources/pie/site/pie-wp-theme/css/fonts/museosans_500-webfont.svg +240 -0
  1075. data/templates/drupal/sources/pie/site/pie-wp-theme/css/fonts/museosans_500-webfont.ttf +0 -0
  1076. data/templates/drupal/sources/pie/site/pie-wp-theme/css/fonts/museosans_500-webfont.woff +0 -0
  1077. data/templates/drupal/sources/pie/site/pie-wp-theme/error/404.php +31 -0
  1078. data/templates/drupal/sources/pie/site/pie-wp-theme/error/exit.php +24 -0
  1079. data/templates/drupal/sources/pie/site/pie-wp-theme/excerpt/excerpt-default.php +41 -0
  1080. data/templates/drupal/sources/pie/site/pie-wp-theme/footer.php +24 -0
  1081. data/templates/drupal/sources/pie/site/pie-wp-theme/footer/footer-default.php +53 -0
  1082. data/templates/drupal/sources/pie/site/pie-wp-theme/forms/comment.php +94 -0
  1083. data/templates/drupal/sources/pie/site/pie-wp-theme/forms/search.php +33 -0
  1084. data/templates/drupal/sources/pie/site/pie-wp-theme/functions.php +28 -0
  1085. data/templates/drupal/sources/pie/site/pie-wp-theme/functions/sidebars.php +42 -0
  1086. data/templates/drupal/sources/pie/site/pie-wp-theme/header.php +24 -0
  1087. data/templates/drupal/sources/pie/site/pie-wp-theme/header/header-default.php +99 -0
  1088. data/templates/drupal/sources/pie/site/pie-wp-theme/img/divider.png +0 -0
  1089. data/templates/drupal/sources/pie/site/pie-wp-theme/img/favicon.ico +0 -0
  1090. data/templates/drupal/sources/pie/site/pie-wp-theme/img/icons.png +0 -0
  1091. data/templates/drupal/sources/pie/site/pie-wp-theme/img/logo.png +0 -0
  1092. data/templates/drupal/sources/pie/site/pie-wp-theme/index.php +24 -0
  1093. data/templates/drupal/sources/pie/site/pie-wp-theme/js/farbtastic/CHANGELOG.html +26 -0
  1094. data/templates/drupal/sources/pie/site/pie-wp-theme/js/farbtastic/LICENSE.txt +341 -0
  1095. data/templates/drupal/sources/pie/site/pie-wp-theme/js/farbtastic/README.html +71 -0
  1096. data/templates/drupal/sources/pie/site/pie-wp-theme/js/farbtastic/demo1.html +28 -0
  1097. data/templates/drupal/sources/pie/site/pie-wp-theme/js/farbtastic/demo2.html +57 -0
  1098. data/templates/drupal/sources/pie/site/pie-wp-theme/js/farbtastic/farbtastic.css +51 -0
  1099. data/templates/drupal/sources/pie/site/pie-wp-theme/js/farbtastic/farbtastic.js +345 -0
  1100. data/templates/drupal/sources/pie/site/pie-wp-theme/js/farbtastic/farbtastic.min.js +1 -0
  1101. data/templates/drupal/sources/pie/site/pie-wp-theme/js/farbtastic/marker.png +0 -0
  1102. data/templates/drupal/sources/pie/site/pie-wp-theme/js/farbtastic/mask.png +0 -0
  1103. data/templates/drupal/sources/pie/site/pie-wp-theme/js/farbtastic/wheel.png +0 -0
  1104. data/templates/drupal/sources/pie/site/pie-wp-theme/loop/archive.php +28 -0
  1105. data/templates/drupal/sources/pie/site/pie-wp-theme/loop/loop-default.php +33 -0
  1106. data/templates/drupal/sources/pie/site/pie-wp-theme/loop/search.php +30 -0
  1107. data/templates/drupal/sources/pie/site/pie-wp-theme/misc/banner.php +21 -0
  1108. data/templates/drupal/sources/pie/site/pie-wp-theme/misc/nav-posts.php +22 -0
  1109. data/templates/drupal/sources/pie/site/pie-wp-theme/misc/no-results.php +23 -0
  1110. data/templates/drupal/sources/pie/site/pie-wp-theme/page.php +24 -0
  1111. data/templates/drupal/sources/pie/site/pie-wp-theme/pages/pages-default.php +30 -0
  1112. data/templates/drupal/sources/pie/site/pie-wp-theme/posts/author.php +52 -0
  1113. data/templates/drupal/sources/pie/site/pie-wp-theme/posts/category.php +40 -0
  1114. data/templates/drupal/sources/pie/site/pie-wp-theme/posts/home.php +30 -0
  1115. data/templates/drupal/sources/pie/site/pie-wp-theme/posts/posts-default.php +30 -0
  1116. data/templates/drupal/sources/pie/site/pie-wp-theme/posts/search.php +44 -0
  1117. data/templates/drupal/sources/pie/site/pie-wp-theme/posts/tag.php +38 -0
  1118. data/templates/drupal/sources/pie/site/pie-wp-theme/screenshot.png +0 -0
  1119. data/templates/drupal/sources/pie/site/pie-wp-theme/search.php +24 -0
  1120. data/templates/drupal/sources/pie/site/pie-wp-theme/sidebar.php +24 -0
  1121. data/templates/drupal/sources/pie/site/pie-wp-theme/sidebar/sidebar-default.php +68 -0
  1122. data/templates/drupal/sources/pie/site/pie-wp-theme/single.php +24 -0
  1123. data/templates/drupal/sources/pie/site/pie-wp-theme/single/single-default.php +40 -0
  1124. data/templates/drupal/sources/pie/site/pie-wp-theme/style.css +73 -0
  1125. data/templates/drupal/sources/pie/sources/Angle.js +36 -0
  1126. data/templates/drupal/sources/pie/sources/BackgroundRenderer.js +381 -0
  1127. data/templates/drupal/sources/pie/sources/BackgroundStyleInfo.js +295 -0
  1128. data/templates/drupal/sources/pie/sources/BgPosition.js +104 -0
  1129. data/templates/drupal/sources/pie/sources/BorderImageRenderer.js +124 -0
  1130. data/templates/drupal/sources/pie/sources/BorderImageStyleInfo.js +146 -0
  1131. data/templates/drupal/sources/pie/sources/BorderRadiusStyleInfo.js +68 -0
  1132. data/templates/drupal/sources/pie/sources/BorderRenderer.js +328 -0
  1133. data/templates/drupal/sources/pie/sources/BorderStyleInfo.js +101 -0
  1134. data/templates/drupal/sources/pie/sources/BoundsInfo.js +56 -0
  1135. data/templates/drupal/sources/pie/sources/BoxShadowInsetRenderer.js +31 -0
  1136. data/templates/drupal/sources/pie/sources/BoxShadowOutsetRenderer.js +136 -0
  1137. data/templates/drupal/sources/pie/sources/BoxShadowStyleInfo.js +67 -0
  1138. data/templates/drupal/sources/pie/sources/Color.js +127 -0
  1139. data/templates/drupal/sources/pie/sources/Element.js +416 -0
  1140. data/templates/drupal/sources/pie/sources/Heartbeat.js +16 -0
  1141. data/templates/drupal/sources/pie/sources/ImgRenderer.js +66 -0
  1142. data/templates/drupal/sources/pie/sources/Length.js +134 -0
  1143. data/templates/drupal/sources/pie/sources/Observable.js +44 -0
  1144. data/templates/drupal/sources/pie/sources/OnBeforeUnload.js +15 -0
  1145. data/templates/drupal/sources/pie/sources/OnPrint.js +25 -0
  1146. data/templates/drupal/sources/pie/sources/OnResize.js +12 -0
  1147. data/templates/drupal/sources/pie/sources/OnScroll.js +15 -0
  1148. data/templates/drupal/sources/pie/sources/PIE_API.js +35 -0
  1149. data/templates/drupal/sources/pie/sources/PIE_close.js +2 -0
  1150. data/templates/drupal/sources/pie/sources/PIE_open.js +47 -0
  1151. data/templates/drupal/sources/pie/sources/RendererBase.js +299 -0
  1152. data/templates/drupal/sources/pie/sources/RootRenderer.js +112 -0
  1153. data/templates/drupal/sources/pie/sources/StyleInfoBase.js +93 -0
  1154. data/templates/drupal/sources/pie/sources/Tokenizer.js +274 -0
  1155. data/templates/drupal/sources/pie/sources/Util.js +94 -0
  1156. data/templates/drupal/sources/pie/sources/VisibilityStyleInfo.js +38 -0
  1157. data/templates/drupal/sources/pie/sources/closure_externs.js +4 -0
  1158. data/templates/drupal/sources/pie/sources/closure_preservefunctions.js +4 -0
  1159. data/templates/drupal/sources/pie/sources/htc_close.txt +2 -0
  1160. data/templates/drupal/sources/pie/sources/htc_init.js +19 -0
  1161. data/templates/drupal/sources/pie/sources/htc_open.txt +13 -0
  1162. data/templates/drupal/sources/pie/sources/js_close.js +1 -0
  1163. data/templates/drupal/sources/pie/sources/js_open.js +8 -0
  1164. data/templates/drupal/sources/pie/sources/wrappers/PIE.php +19 -0
  1165. data/templates/drupal/sources/pie/tests/IE9 border-radius tests/border-radius-applies-to-001.htm +27 -0
  1166. data/templates/drupal/sources/pie/tests/IE9 border-radius tests/border-radius-applies-to-002.htm +31 -0
  1167. data/templates/drupal/sources/pie/tests/IE9 border-radius tests/border-radius-applies-to-003.htm +29 -0
  1168. data/templates/drupal/sources/pie/tests/IE9 border-radius tests/border-radius-applies-to-004.htm +29 -0
  1169. data/templates/drupal/sources/pie/tests/IE9 border-radius tests/border-radius-applies-to-005.htm +29 -0
  1170. data/templates/drupal/sources/pie/tests/IE9 border-radius tests/border-radius-applies-to-006.htm +41 -0
  1171. data/templates/drupal/sources/pie/tests/IE9 border-radius tests/border-radius-applies-to-007.htm +46 -0
  1172. data/templates/drupal/sources/pie/tests/IE9 border-radius tests/border-radius-applies-to-008.htm +41 -0
  1173. data/templates/drupal/sources/pie/tests/IE9 border-radius tests/border-radius-applies-to-009.htm +45 -0
  1174. data/templates/drupal/sources/pie/tests/IE9 border-radius tests/border-radius-applies-to-010.htm +31 -0
  1175. data/templates/drupal/sources/pie/tests/IE9 border-radius tests/border-radius-applies-to-011.htm +41 -0
  1176. data/templates/drupal/sources/pie/tests/IE9 border-radius tests/border-radius-applies-to-012.htm +49 -0
  1177. data/templates/drupal/sources/pie/tests/IE9 border-radius tests/border-radius-applies-to-013.htm +51 -0
  1178. data/templates/drupal/sources/pie/tests/IE9 border-radius tests/border-radius-applies-to-014.htm +51 -0
  1179. data/templates/drupal/sources/pie/tests/IE9 border-radius tests/border-radius-applies-to-015.htm +51 -0
  1180. data/templates/drupal/sources/pie/tests/IE9 border-radius tests/border-radius-applies-to-016.htm +50 -0
  1181. data/templates/drupal/sources/pie/tests/IE9 border-radius tests/border-radius-applies-to-017.htm +35 -0
  1182. data/templates/drupal/sources/pie/tests/IE9 border-radius tests/border-radius-different-width-001.htm +77 -0
  1183. data/templates/drupal/sources/pie/tests/IE9 border-radius tests/border-radius-initial-value-001.htm +35 -0
  1184. data/templates/drupal/sources/pie/tests/IE9 border-radius tests/border-radius-not-inherited-001.htm +44 -0
  1185. data/templates/drupal/sources/pie/tests/IE9 border-radius tests/border-radius-shorthand-001.htm +69 -0
  1186. data/templates/drupal/sources/pie/tests/IE9 border-radius tests/border-radius-style-001.htm +33 -0
  1187. data/templates/drupal/sources/pie/tests/IE9 border-radius tests/border-radius-style-002.htm +28 -0
  1188. data/templates/drupal/sources/pie/tests/IE9 border-radius tests/border-radius-style-003.htm +28 -0
  1189. data/templates/drupal/sources/pie/tests/IE9 border-radius tests/border-radius-style-004.htm +28 -0
  1190. data/templates/drupal/sources/pie/tests/IE9 border-radius tests/border-radius-style-005.htm +29 -0
  1191. data/templates/drupal/sources/pie/tests/IE9 border-radius tests/border-radius-sum-of-radii-001.htm +158 -0
  1192. data/templates/drupal/sources/pie/tests/IE9 border-radius tests/border-radius-sum-of-radii-002.htm +92 -0
  1193. data/templates/drupal/sources/pie/tests/IE9 border-radius tests/border-radius-with-three-values-001.htm +43 -0
  1194. data/templates/drupal/sources/pie/tests/IE9 border-radius tests/border-radius-with-two-values-001.htm +43 -0
  1195. data/templates/drupal/sources/pie/tests/IE9 border-radius tests/border-top-left-radius-values-001.htm +45 -0
  1196. data/templates/drupal/sources/pie/tests/IE9 border-radius tests/border-top-left-radius-values-002.htm +40 -0
  1197. data/templates/drupal/sources/pie/tests/IE9 border-radius tests/border-top-left-radius-values-003.htm +51 -0
  1198. data/templates/drupal/sources/pie/tests/background1.gif +0 -0
  1199. data/templates/drupal/sources/pie/tests/background2.gif +0 -0
  1200. data/templates/drupal/sources/pie/tests/basic.html +188 -0
  1201. data/templates/drupal/sources/pie/tests/border-image-test.html +52 -0
  1202. data/templates/drupal/sources/pie/tests/border.png +0 -0
  1203. data/templates/drupal/sources/pie/tests/border2.png +0 -0
  1204. data/templates/drupal/sources/pie/tests/box-shadow-tests.html +166 -0
  1205. data/templates/drupal/sources/pie/tests/buttons.html +735 -0
  1206. data/templates/drupal/sources/pie/tests/color-names.html +32 -0
  1207. data/templates/drupal/sources/pie/tests/gradient-tests.html +237 -0
  1208. data/templates/drupal/sources/pie/tests/hiding-tests.html +92 -0
  1209. data/templates/drupal/sources/pie/tests/hover-tests.html +107 -0
  1210. data/templates/drupal/sources/pie/tests/iPhoneBackButton.png +0 -0
  1211. data/templates/drupal/sources/pie/tests/icon-chrome.png +0 -0
  1212. data/templates/drupal/sources/pie/tests/icon-firefox.png +0 -0
  1213. data/templates/drupal/sources/pie/tests/icon-ie.png +0 -0
  1214. data/templates/drupal/sources/pie/tests/icon-opera.png +0 -0
  1215. data/templates/drupal/sources/pie/tests/icon-safari.png +0 -0
  1216. data/templates/drupal/sources/pie/tests/img.html +63 -0
  1217. data/templates/drupal/sources/pie/tests/margin-auto-tests.html +57 -0
  1218. data/templates/drupal/sources/pie/tests/margin-collapsing-tests.html +77 -0
  1219. data/templates/drupal/sources/pie/tests/misc-tests.html +257 -0
  1220. data/templates/drupal/sources/pie/tests/multiple-bg-tests.html +100 -0
  1221. data/templates/drupal/sources/pie/tests/peculiar-icons/Peculiar.html +372 -0
  1222. data/templates/drupal/sources/pie/tests/peculiar-icons/pictograms.css +1934 -0
  1223. data/templates/drupal/sources/pie/tests/peculiar-icons/style.css +106 -0
  1224. data/templates/drupal/sources/pie/tests/photo.jpg +0 -0
  1225. data/templates/drupal/sources/pie/tests/png-fix.html +50 -0
  1226. data/templates/drupal/sources/pie/tests/position-fixed.html +70 -0
  1227. data/templates/drupal/sources/pie/tests/rtl.html +190 -0
  1228. data/templates/drupal/sources/pie/tests/sizing-tests.html +55 -0
  1229. data/templates/drupal/sources/pie/tests/solar-system/asteroids_meteorids.png +0 -0
  1230. data/templates/drupal/sources/pie/tests/solar-system/bg.jpg +0 -0
  1231. data/templates/drupal/sources/pie/tests/solar-system/solar-system.html +148 -0
  1232. data/templates/drupal/sources/pie/tests/solar-system/styles.css +447 -0
  1233. data/templates/drupal/sources/pie/tests/stress-test.html +187 -0
  1234. data/templates/drupal/sources/pie/tests/submitted/block.png +0 -0
  1235. data/templates/drupal/sources/pie/tests/submitted/forum-f3-t19.html +31 -0
  1236. data/templates/drupal/sources/pie/tests/submitted/forum-f3-t25.gif +0 -0
  1237. data/templates/drupal/sources/pie/tests/submitted/forum-f3-t25.html +24 -0
  1238. data/templates/drupal/sources/pie/tests/submitted/forum-f3-t70.html +136 -0
  1239. data/templates/drupal/sources/pie/tests/submitted/issue23.html +124 -0
  1240. data/templates/drupal/sources/pie/tests/submitted/issue41.html +164 -0
  1241. data/templates/drupal/sources/pie/tests/submitted/issue47.html +136 -0
  1242. data/templates/drupal/sources/pie/tests/submitted/issue75.html +94 -0
  1243. data/templates/drupal/sources/pie/tests/submitted/tab.png +0 -0
  1244. data/templates/drupal/sources/pie/tests/tables.html +87 -0
  1245. data/templates/drupal/sources/pie/tests/tokenizer-tests.html +158 -0
  1246. data/templates/drupal/sources/pie/tests/z-index-tests.html +145 -0
  1247. data/templates/drupal/sources/pie/tools/compiler.jar +0 -0
  1248. data/templates/drupal/sources/scrollability/README.md +38 -0
  1249. data/templates/drupal/sources/scrollability/scrollability-min.js +1 -0
  1250. data/templates/drupal/sources/scrollability/scrollability.js +661 -0
  1251. data/templates/drupal/sources/scrollorama/README.md +21 -0
  1252. data/templates/drupal/sources/scrollorama/css/normalize.css +439 -0
  1253. data/templates/drupal/sources/scrollorama/css/style.css +257 -0
  1254. data/templates/drupal/sources/scrollorama/index.html +167 -0
  1255. data/templates/drupal/sources/scrollorama/js/jquery-1.7.1.min.js +4 -0
  1256. data/templates/drupal/sources/scrollorama/js/jquery.lettering-0.6.1.min.js +2 -0
  1257. data/templates/drupal/sources/scrollorama/js/jquery.scrollorama.js +299 -0
  1258. data/templates/drupal/style.sass +125 -0
  1259. data/templates/drupal/survival-kit-logo.png +0 -0
  1260. data/templates/drupal/your-design-here/_design.sass +4 -0
  1261. metadata +1261 -2
@@ -0,0 +1 @@
1
+ (function($){$.fn.deOrphan=function(){function _deOrphan(node){$(node).contents().each(function(){if(this.nodeType==3){this.textContent=this.textContent.replace(/ (\S*)$/,'\u00A0$1');}else{_deOrphan(this);}});}return this.each(function(i,el){_deOrphan(el);});};})(jQuery);
@@ -0,0 +1,142 @@
1
+ Cross-browser support for the [CSS3 Flexible Box Model](http://www.w3.org/TR/css3-flexbox/). Check out [The Playground](http://flexiejs.com/playground/) to see it in action.
2
+ # Flexie v1.0 [![](http://stillmaintained.com/doctyper/flexie.png)](http://stillmaintained.com/doctyper/flexie)
3
+
4
+ ## Browser Support
5
+ * IE 6-9
6
+ * Opera 10.0+
7
+
8
+ The Flexible Box Model is [supported natively](http://www.caniuse.com/#feat=flexbox) by these browsers:
9
+
10
+ * Firefox 3.0+
11
+ * Safari 3.2+
12
+ * Chrome 5.0+
13
+
14
+ In addition, Flexie attempts to normailze browser inconsistencies with the flexible box model.
15
+
16
+ ### Currently Supported Properties
17
+ * box-orient
18
+ * box-align
19
+ * box-direction
20
+ * box-pack
21
+ * box-flex
22
+ * box-flex-group
23
+ * box-ordinal-group
24
+
25
+ ## Why?
26
+ I *really* wanted to use the CSS3 Flexible Box Model.
27
+
28
+ ## How?
29
+ It works like [Selectivizr](http://selectivizr.com). In fact, it uses Selectivizr's engine to traverse your style sheets and looks for `display: box` elements. After that, it looks for any of the currently supported properties.
30
+
31
+ Note: Flexie looks for non-vendor-prefixed properties. For example, it will ignore `-moz-box-pack`, but not `box-pack`. For best results, make sure to use a non-vendor-prefixed property _in addition to_ your prefixed properties. But you were already doing that to future-proof your code, weren't you?
32
+
33
+ No setup on your end, just stick Flexie in your markup after your [selector engine of choice](http://selectivizr.com/#things).
34
+
35
+ ## Requirements
36
+ See the [things you need to know](http://selectivizr.com/#things)
37
+
38
+ ## Caveats
39
+ * For older browsers (IE < 8), please remember that some advanced selectors (child, adjacent, pseudo-selectors) will fail. Flexie does not attempt to bridge this gap, so if you must support legacy browsers, class names and ID selectors are your best bets.
40
+
41
+ * As of FF 4.0 / Chrome 7 / Safari 5, Gecko and Webkit differ slightly in their flexbox implementations. <strike>Of note is their default values. Webkit will default to `box-align: start`, while Gecko defaults to the spec-defined `box-align: stretch`. Make sure your flexbox CSS works on both these browsers before adding Flexie.</strike>
42
+ * As of version 0.7, Flexie normalizes the `box-align` property across Webkit browsers.
43
+ * As of version 0.8, Flexie normalizes the `box-pack` property in Gecko.
44
+
45
+ * Be careful of pseudo-selectors (i.e., `:nth-child`, `:first-child`). While native flexbox does not modify the DOM, Flexie must. Thus, your CSS properties might not apply as intended. For example, if you use a combination of `box-direction: reverse` and a `:first-child` selector, that selector will target the wrong element. And if you followed all of that, congratulations.
46
+
47
+ * There may be cases where the floats used to mimic the flexbox layout drop in Internet Explorer browsers. If possible, you can try the [overflow fix](http://css-tricks.com/all-about-floats/) to snap these into place _(Flexie assumes it cannot use this as a workaround due to the impact this may have in your layouts)_.
48
+
49
+ * As of YUI 2.8.2r1, YUI's selector engine does not recognize dashed attributes (i.e. [data-name="foo"]). Flexie uses several [data- attributes](http://ejohn.org/blog/html-5-data-attributes/) as element flags. A bug report [has been filed](http://yuilibrary.com/projects/yui2/ticket/2529254) about this issue, but in the meantime YUI remains incompatible with Flexie.
50
+
51
+ ## Asynchronous API
52
+ You can run Flexie asynchronously in case you cannot purely on style sheets. All parameters are optional, unless otherwise stated:
53
+
54
+ ### Creating a new Flexie Object
55
+ var box = new Flexie.box({
56
+ target : document.getElementById("foo"),
57
+ orient : "horizontal",
58
+ align : "stretch",
59
+ direction : "normal",
60
+ pack : "start",
61
+ flexMatrix : [1, 1, 1, 1],
62
+ ordinalMatrix : [0, 0, 0, 0]
63
+ });
64
+
65
+ * **target**
66
+ (required) The flexbox parent element. This must be a DOM node.
67
+ * **orient**
68
+ (optional) Possible values: `horizontal`, `vertical`
69
+ * **align**
70
+ (optional) Possible values: `stretch`, `start`, `end`, `center`
71
+ * **direction**
72
+ (optional) Possible values: `normal`, `reverse`
73
+ * **pack**
74
+ (optional) Possible values: `start`, `end`, `center`, `justify`
75
+ * **flexMatrix**
76
+ (optional) An array of values to apply to the parent's children. e.g.:
77
+ flexMatrix : [1, 0, 0] // Three child nodes contained, the parent's first child has a box-flex value of 1
78
+ flexMatrix : [1, 0, 1] // Three child nodes contained, the parent's first and last child have a box-flex value of 1
79
+ flexMatrix : [1, 1, 1] // Three child nodes contained, all children have a box-flex value of 1
80
+ * **ordinalMatrix**
81
+ (optional) An array of values to apply to the parent's children. See `flexMatrix` for an example.
82
+
83
+ ### Flexie.updateInstance(target, params)
84
+ Used to redraw currently active Flexie objects (i.e., after dynamically updating a flexbox element). All parameters optional.
85
+
86
+ _Note: Calling this method without parameters will update all instances._
87
+
88
+ * **target**
89
+ (optional) The flexbox element to update.
90
+ * **params**
91
+ (optional) An object of flexbox properties to update. See Creating a new Flexie Object for accepted parameters.
92
+
93
+ ### Flexie.getInstance(target)
94
+ Returns the target instance
95
+
96
+ * **target**
97
+ (optional) The flexbox instance to retrieve.
98
+
99
+ ### Flexie.destroyInstance(target)
100
+ Destroys the target instance.
101
+
102
+ _Note: Calling this method without parameters will destroy all instances._
103
+
104
+ * **target**
105
+ (optional) The flexbox instance to retrieve.
106
+
107
+ ### Flexie.flexboxSupported
108
+ An exposed object detailing the level of flexbox support. Returns false for no support.
109
+
110
+ ## Acknowledgements
111
+ Selectivizr, for their fantastic CSS parsing engine.
112
+
113
+ ## Copyright and Software License
114
+ The MIT License
115
+
116
+ Copyright (c) 2010 Richard Herrera
117
+
118
+ Permission is hereby granted, free of charge, to any person obtaining a copy
119
+ of this software and associated documentation files (the "Software"), to deal
120
+ in the Software without restriction, including without limitation the rights
121
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
122
+ copies of the Software, and to permit persons to whom the Software is
123
+ furnished to do so, subject to the following conditions:
124
+
125
+ The above copyright notice and this permission notice shall be included in
126
+ all copies or substantial portions of the Software.
127
+
128
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
129
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
130
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
131
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
132
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
133
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
134
+ THE SOFTWARE.
135
+
136
+ ## Contact
137
+ * rich {at} doctyper {dot} com
138
+ * [@doctyper](http://twitter.com/doctyper) on Twitter
139
+ * <http://doctyper.com>
140
+
141
+ ## Links
142
+ * Flexie on GitHub: <http://github.com/doctyper/flexie>
@@ -0,0 +1,30 @@
1
+ #box-parent {
2
+ width: 100%; /* Firefox needs this */
3
+ height: 100%;
4
+ }
5
+
6
+ #box-parent, #box-child-2, #nested-child-2 {
7
+ display: -webkit-box;
8
+ display: -moz-box;
9
+ display: box;
10
+
11
+ -webkit-box-orient: vertical;
12
+ -moz-box-orient: vertical;
13
+ box-orient: vertical;
14
+
15
+ -webkit-box-direction: reverse;
16
+ -moz-box-direction: reverse;
17
+ box-direction: reverse;
18
+ }
19
+
20
+ #box-parent div {
21
+ -webkit-box-flex: 1;
22
+ -moz-box-flex: 1;
23
+ box-flex: 1;
24
+ }
25
+
26
+ #box-child-2 {
27
+ -webkit-box-ordinal-group: 2;
28
+ -moz-box-ordinal-group: 2;
29
+ box-ordinal-group: 2;
30
+ }
@@ -0,0 +1,108 @@
1
+ <!doctype html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
5
+ <title>Flexie Demo</title>
6
+
7
+ <!-- Flexie -->
8
+ <style type="text/css" media="screen">
9
+ * {
10
+ margin: 0;
11
+ padding: 0;
12
+ border: 0;
13
+ }
14
+
15
+ html, body {
16
+ width: 100%;
17
+ height: 100%;
18
+ }
19
+
20
+ body {
21
+ background: #444;
22
+ text-align: center;
23
+ color: #ddd;
24
+ font: bold 14px "Helvetica Neue", Helvetica, Arial, sans-serif;
25
+ }
26
+
27
+ #box-child-1 {
28
+ background: #111;
29
+ }
30
+
31
+ #box-child-2 {
32
+ background: #222;
33
+ }
34
+
35
+ #box-child-3 {
36
+ background: #333;
37
+ }
38
+
39
+ #nested-child-1 {
40
+ background: #444;
41
+ }
42
+
43
+ #nested-child-2 {
44
+ background: #555;
45
+ }
46
+
47
+ #nested-child-3 {
48
+ background: #666;
49
+ }
50
+
51
+ #deep-child-1 {
52
+ background: #777;
53
+ }
54
+
55
+ #deep-child-2 {
56
+ background: #888;
57
+ }
58
+
59
+ #deep-child-3 {
60
+ background: #999;
61
+ }
62
+ </style>
63
+ <link rel="stylesheet" href="css/box-flex.css" type="text/css" />
64
+ </head>
65
+ <body>
66
+ <div id="box-parent">
67
+ <div id="box-child-1"><span>Box Child 1</span></div>
68
+ <div id="box-child-2">
69
+ <div id="nested-child-1"><span>Nested Child 1</span></div>
70
+ <div id="nested-child-2">
71
+ <div id="deep-child-1"><span>Deep Child 1</span></div>
72
+ <div id="deep-child-2"><span>Deep Child 2</span></div>
73
+ <div id="deep-child-3"><span>Deep Child 3</span></div>
74
+ </div>
75
+ <div id="nested-child-3"><span>Nested Child 3</span></div>
76
+ </div>
77
+ <div id="box-child-3"><span>Box Child 3</span></div>
78
+ </div>
79
+
80
+ <!-- DOMAssistant -->
81
+ <!-- <script src="http://domassistant.googlecode.com/svn/branches/2.8/DOMAssistantCompressed.js" type="text/javascript"></script> -->
82
+
83
+ <!-- NWMatcher -->
84
+ <!-- <script src="http://nwevents.googlecode.com/svn/trunk/nwmatcher.js" type="text/javascript"></script> -->
85
+
86
+ <!-- jQuery -->
87
+ <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js" type="text/javascript"></script>
88
+
89
+ <!-- Sizzle -->
90
+ <!-- <script src="http://github.com/jeresig/sizzle/raw/master/sizzle.js" type="text/javascript"></script> -->
91
+
92
+ <!-- MooTools -->
93
+ <!-- <script src="https://ajax.googleapis.com/ajax/libs/mootools/1.3.0/mootools-yui-compressed.js" type="text/javascript"></script> -->
94
+
95
+ <!-- YUI -->
96
+ <!-- <script src="http://yui.yahooapis.com/2.8.1/build/yahoo/yahoo-min.js"></script> -->
97
+ <!-- <script src="http://yui.yahooapis.com/2.8.1/build/selector/selector-min.js"></script> -->
98
+
99
+ <!-- Prototype -->
100
+ <!-- <script src="https://ajax.googleapis.com/ajax/libs/prototype/1.6.1.0/prototype.js" type="text/javascript"></script> -->
101
+
102
+ <!-- Dojo -->
103
+ <!-- <script src="https://ajax.googleapis.com/ajax/libs/dojo/1.5/dojo/dojo.xd.js" type="text/javascript"></script> -->
104
+
105
+ <!-- Flexie -->
106
+ <script src="/src/flexie.js" type="text/javascript"></script>
107
+ </body>
108
+ </html>
@@ -0,0 +1,33 @@
1
+ var Flexie=function(x,E){function F(a){if(a)a=a.replace(wa,v).replace(xa,v);return a}function h(a,d){var c,b=0,e=a?a.length:W;if(e===W)for(c in a){if(a.hasOwnProperty(c))if(d.call(a[c],c,a[c])===I)break}else for(c=a[0];b<e&&d.call(c,b,c)!==I;c=a[++b]);}function ya(){var a;h(X,function(d,c){if(x[d]&&!a)if(a=eval(c.s.replace("*",d))){Y=d;return false}});return a}function Z(a,d){a="on"+a;var c=x[a];x[a]=typeof x[a]!=="function"?d:function(){c&&c();d()}}function $(a){var d=a.nodeName.toLowerCase();if(a.id)d+=
2
+ "#"+a.id;else if(a.FLX_DOM_ID)d+="["+aa+"='"+a.FLX_DOM_ID+"']";return d}function S(a){if(!a.FLX_DOM_ID){T+=1;a.FLX_DOM_ID=T;a.setAttribute(aa,a.FLX_DOM_ID)}}function za(a){var d=[],c,b,e,f,g,i;a=a.replace(Aa,v);a=a.replace(/\s?(\{|\:|\})\s?/g,P);a=a.split(ba);h(a,function(j,l){if(l){c=[l,ba].join(v);if((b=/(.*)\{(.*)\}/.exec(c))&&b[2]){e=b[1];f=b[2].split(";");i=[];h(f,function(m,r){g=r.split(":");g.length&&g[1]&&i.push({property:g[0],value:g[1]})});e&&i.length&&d.push({selector:e,properties:i})}}});
3
+ return d}function Ba(a){var d,c,b,e,f,g=/\s?,\s?/,i,j,l={},m={};i=function(r,n,o,k){var p={selector:F(r),properties:[]};h(n.properties,function(s,w){p.properties.push({property:F(w.property),value:F(w.value)})});if(o&&k)p[o]=k;return p};j=function(r,n,o,k){var p=o&&k?l[r]:m[r],s;if(p){h(n.properties,function(w,B){h(p.properties,function(M,A){if(B.property===A.property){s=M;return false}});if(s)p.properties[s]=B;else p.properties.push(B)});if(o&&k)p[o]=k}else if(o&&k)l[r]=i(r,n,o,k);else m[r]=i(r,
4
+ n,t,t)};h(a,function(r,n){d=F(n.selector).replace(g,",").split(g);h(d,function(o,k){k=F(k);c=n.properties;h(c,function(p,s){b=F(s.property);e=F(s.value);if(b){f=b.replace("box-",v);switch(f){case "display":e==="box"&&j(k,n,t,t);break;case "orient":case "align":case "direction":case "pack":j(k,n,t,t);break;case "flex":case "flex-group":case "ordinal-group":j(k,n,f,e)}}})})});h(m,function(r,n){y.push(n)});h(l,function(r,n){ca.push(n)});return{boxes:y,children:ca}}function da(a,d,c){var b,e,f=[];h(c,
5
+ function(g,i){if(i.selector){b=d(i.selector);b=b[0]?b:[b];b[0]&&h(b,function(j,l){switch(l.nodeName.toLowerCase()){case "script":case "style":case "link":break;default:if(l.parentNode===a){S(l);e={};h(i,function(m){e[m]=i[m]});e.match=l;f.push(e)}}})}else{S(i);f.push({match:i,selector:$(i)})}});return f}function Ca(a){h(a,function(d,c){a[d]=c||Da[d]});return a}function Ea(a){var d,c,b,e,f,g,i,j,l,m,r,n,o,k,p={},s,w,B,M="["+Q+"]";if(a){h(a.boxes,function(A,C){C.selector=F(C.selector);d=C.selector;
6
+ c=C.properties;g=i=j=l=m=t;h(c,function(Fa,G){b=F(G.property);e=F(G.value);if(b){f=b.replace("box-",v);switch(f){case "display":if(e==="box")g=e;break;case "orient":i=e;break;case "align":j=e;break;case "direction":l=e;break;case "pack":m=e}}});r=J;n=r(C.selector);n=n[0]?n:[n];h(n,function(Fa,G){if(G.nodeType){S(G);o=da(G,r,a.children);B=d+" "+M;k={target:G,selector:d,properties:c,children:o,display:g,orient:i,align:j,direction:l,pack:m,nested:B};if(s=p[G.FLX_DOM_ID])h(k,function(K,N){switch(K){case "selector":if(N&&
7
+ !RegExp(N).test(s[K]))s[K]+=", "+N;break;case "children":h(k[K],function(Xa,ea){w=I;h(s[K],function(Ya,Ga){if(ea.match.FLX_DOM_ID===Ga.match.FLX_DOM_ID)w=q});w||s[K].push(ea)});break;default:if(N)s[K]=N}});else{p[G.FLX_DOM_ID]=Ca(k);p[G.FLX_DOM_ID].target.setAttribute(Q,q)}}})});fa=J(M);y={};h(fa,function(A,C){y[C.FLX_DOM_ID]=p[C.FLX_DOM_ID]});h(y,function(A,C){C.display==="box"&&new z.box(C)})}}function ga(a,d,c){c=c.replace(c.charAt(0),c.charAt(0).toUpperCase());var b=a["offset"+c]||0;b&&h(d,function(e,
8
+ f){f=parseFloat(a.currentStyle[f]);isNaN(f)||(b-=f)});return b}function ha(a,d){var c,b,e=a.currentStyle&&a.currentStyle[d],f=a.style;if(!ia.test(e)&&Ha.test(e)){c=f.left;b=a.runtimeStyle.left;a.runtimeStyle.left=a.currentStyle.left;f.left=e||0;e=f.pixelLeft+"px";f.left=c||0;a.runtimeStyle.left=b}return e}function u(a,d,c){if(x.getComputedStyle)a=x.getComputedStyle(a,t)[d];else if(Ia.test(d)){var b=a&&a.currentStyle?a.currentStyle[d]:0;if(!ia.test(b)){if(b==="auto"||b==="medium"){switch(d){case "width":b=
9
+ [ja,ka,la,ma];b=ga(a,b,d);break;case "height":b=[U,na,oa,pa];b=ga(a,b,d);break;default:b=ha(a,d)}a=b}else a=ha(a,d);b=a}a=b}else a=a.currentStyle[d];if(c){a=parseInt(a,10);if(isNaN(a))a=0}return a}function Ja(a){return a.innerWidth||a.clientWidth}function Ka(a){return a.innerHeight||a.clientHeight}function V(a,d,c,b){var e=[];h(La,function(f,g){e.push((b?g:v)+d+":"+(!b?g:v)+c)});a.style.cssText+=e.join(";");return a}function D(a,d,c){h(a&&a[0]?a:[a],function(b,e){if(e&&e.style)e.style[d]=c?c+"px":
10
+ v})}function Ma(a){var d,c;a=a.replace(Na,function(b,e){return"%"+e}).replace(/\s|\>|\+|\~/g,"%").split(/%/g);d={_id:100,_class:10,_tag:1};c=0;h(a,function(b,e){if(/#/.test(e))c+=d._id;else if(/\.|\[|\:/.test(e))c+=d._class;else if(/[a-zA-Z]+/.test(e))c+=d._tag});return c}function Oa(a,d,c){var b=[],e,f=(c?"ordinal":"flex")+"Specificity";h(a,function(g,i){if(!c&&i.flex||c&&i["ordinal-group"]){i[f]=i[f]||Ma(i.selector);e=I;h(b,function(j,l){if(l.match===i.match){if(l[f]<i[f])b[j]=i;e=q;return I}});
11
+ e||b.push(i)}});return b}function R(a,d,c){var b={},e=[],f=0,g;a=Oa(a,d,c);h(d,function(i,j){h(a,function(l,m){if(c){g=m["ordinal-group"]||"1";if(m.match===j){m.match.setAttribute("data-ordinal-group",g);b[g]=b[g]||[];b[g].push(m)}}else{g=m.flex||"0";if(m.match===j&&(!m[g]||m[g]&&parseInt(m[g],10)<=1)){f+=parseInt(g,10);b[g]=b[g]||[];b[g].push(m)}}});if(c&&!j.getAttribute("data-ordinal-group")){g="1";j.setAttribute("data-ordinal-group",g);b[g]=b[g]||[];b[g].push({match:j})}});h(b,function(i){e.push(i)});
12
+ e.sort(function(i,j){return j-i});return{keys:e,groups:b,total:f}}function qa(a,d,c){a=d.nodes;var b,e=true;for(b=function(f){return f.offsetTop-u(f,c.anti.pos,q)};e&&b(a[0])!==b(a[a.length-1]);)h(a,function(f,g){if(!d.hasFlex||g.getAttribute("data-flex")){e=Math.max(0,u(g,c.props.dim,q)-1);g.style[c.props.dim]=e}})}function Pa(){if(!ra){var a,d,c,b,e=E.body,f=E.documentElement;Z("resize",function(){c=x.innerWidth||f.innerWidth||f.clientWidth||e.clientWidth;b=x.innerHeight||f.innerHeight||f.clientHeight||
13
+ e.clientHeight;if(a!==c||d!==b){z.updateInstance(t,t);a=c;d=b}});ra=q}}function sa(a){var d,c;h(a,function(b,e){d=e.style.width;c=e.style.height;e.style.cssText=v;e.style.width=d;e.style.height=c})}function O(a,d){var c=[],b,e,f;e=0;for(f=d.length;e<f;e++)if(b=d[e])switch(b.nodeName.toLowerCase()){case "script":case "style":case "link":break;default:if(b.nodeType===1)c.push(b);else if(b.nodeType===3&&(b.isElementContentWhitespace||Qa.test(b.data))){a.removeChild(b);e--}}return c}function ta(a){var d=
14
+ 0;a=a.parentNode;for(var c;a.FLX_DOM_ID;){c=y[a.FLX_DOM_ID];c=R(c.children,O(a,a.childNodes),t);d+=c.total;c=q;a=a.parentNode}return{nested:c,flex:d}}function Ra(a,d){var c=a.parentNode,b;if(c.FLX_DOM_ID){c=y[c.FLX_DOM_ID];h(c.properties,function(e,f){if(RegExp(d).test(f.property)){b=q;return I}})}return b}function Sa(a){a.flexMatrix&&h(a.children,function(d,c){c.flex=a.flexMatrix[d]});a.ordinalMatrix&&h(a.children,function(d,c){c["ordinal-group"]=a.ordinalMatrix[d]});return a}function Ta(a,d){var c=
15
+ a.target;if(!c.FLX_DOM_ID)c.FLX_DOM_ID=c.FLX_DOM_ID||++T;if(!a.nodes)a.nodes=O(c,c.childNodes);if(!a.selector){a.selector=$(c);c.setAttribute(Q,q)}if(!a.properties)a.properties=[];if(!a.children)a.children=da(c,J,O(c,c.childNodes));if(!a.nested)a.nested=a.selector+" ["+Q+"]";a.target=c;a._instance=d;return a}var z={},T=0,aa="data-flexie-id",Q="data-flexie-parent",H,Y,X={NW:{s:"*.Dom.select"},DOMAssistant:{s:"*.$",m:"*.DOMReady"},Prototype:{s:"$$",m:"document.observe",p:"dom:loaded",c:"document"},
16
+ YAHOO:{s:"*.util.Selector.query",m:"*.util.Event.onDOMReady",c:"*.util.Event"},MooTools:{s:"$$",m:"window.addEvent",p:"domready"},Sizzle:{s:"*"},jQuery:{s:"*",m:"*(document).ready"},dojo:{s:"*.query",m:"*.addOnLoad"}},J,ia=/^-?\d+(?:px)?$/i,Ha=/^-?\d/,Ia=/width|height|margin|padding|border/,Ua=/(msie) ([\w.]+)/,Aa=/\t|\n|\r/g,Va=/^max\-([a-z]+)/,Wa=/^https?:\/\//i,wa=/^\s\s*/,xa=/\s\s*$/,Qa=/^\s*$/,Na=/\s?(\#|\.|\[|\:(\:)?[^first\-(line|letter)|before|after]+)/g,v="",ua=" ",P="$1",ka="paddingRight",
17
+ na="paddingBottom",ja="paddingLeft",U="paddingTop",ma="borderRightWidth",pa="borderBottomWidth",la="borderLeftWidth",oa="borderTopWidth",ba="}",La=" -o- -moz- -ms- -webkit- -khtml- ".split(ua),Da={orient:"horizontal",align:"stretch",direction:"inherit",pack:"start"},y=[],ca=[],fa,ra,q=true,I=false,t=null,W,L={IE:function(){var a,d=Ua.exec(x.navigator.userAgent.toLowerCase());if(d)a=parseInt(d[2],10);return a}()},va;va=function(){function a(o){return o.replace(j,function(k,p,s){k=s.split(",");h(k,
18
+ function(w,B){B.replace(l,P).replace(m,P).replace(n,P).replace(r,ua)});return p+k.join(",")})}function d(){if(x.XMLHttpRequest)return new x.XMLHttpRequest;try{return new x.ActiveXObject("Microsoft.XMLHTTP")}catch(o){return t}}function c(o){var k=d();k.open("GET",o,I);k.send();return k.status===200?k.responseText:v}function b(o,k){if(o){if(Wa.test(o))return k.substring(0,k.indexOf("/",8))===o.substring(0,o.indexOf("/",8))?o:t;if(o.charAt(0)==="/")return k.substring(0,k.indexOf("/",8))+o;var p=k.split("?")[0];
19
+ if(o.charAt(0)!=="?"&&p.charAt(p.length-1)!=="/")p=p.substring(0,p.lastIndexOf("/")+1);return p+o}}function e(o){if(o)return c(o).replace(f,v).replace(g,function(k,p,s){return e(b(s,o))}).replace(i,function(k,p,s){p=p||v;return" url("+p+b(s,o)+p+") "});return v}var f=/(\/\*[^*]*\*+([^\/][^*]*\*+)*\/)\s*/g,g=/@import\s*(?:url\(\s*?)?(["'])?(.*?)\1\s*\)?[\w\W]*?;/g,i=/\surl\((["'])?([^"')]+)\1\)/g,j=/(^|\})\s*([^\{]*?[\[:][^\{]+)/g,l=/([(\[+~])\s+/g,m=/\s+([)\]+~])/g,r=/\s+/g,n=/^\s*((?:[\S\s]*\S)?)\s*$/;
20
+ return function(){var o,k,p;k=E.getElementsByTagName("BASE");var s=k.length>0?k[0].href:E.location.href,w;k=0;for(p=E.styleSheets.length;k<p;k++)if((o=E.styleSheets[k])&&o.href!==t)if(o=b(o.href,s)){w=a(e(o));w=za(w);w=Ba(w)}Ea(w)}}();z.box=function(a){return this.renderModel(a)};z.box.prototype={properties:{boxModel:function(a,d,c){var b,e;a.style.display="block";if(L.IE===8)a.style.overflow="hidden";if(!c.cleared){selectors=c.selector.split(/\s?,\s?/);b=E.styleSheets;b=b[b.length-1];e="padding-top:"+
21
+ (u(a,U,t)||"0.1px;");h(selectors,function(f,g){if(b.addRule)if(L.IE<8){a.style.zoom="1";if(L.IE===6)b.addRule(g.replace(/\>|\+|\~/g,""),e+"zoom:1;",0);else L.IE===7&&b.addRule(g,e+"display:inline-block;",0)}else{b.addRule(g,e,0);b.addRule(g+":before","content: '.';display: block;height: 0;overflow: hidden",0);b.addRule(g+":after","content: '.';display: block;height: 0;overflow: hidden;clear:both;",0)}else if(b.insertRule){b.insertRule(g+"{"+e+"}",0);b.insertRule(g+":after{content: '.';display: block;height: 0;overflow: hidden;clear:both;}",
22
+ 0)}});c.cleared=q}},boxDirection:function(a,d,c){var b;if(c.direction==="reverse"&&!c.reversed||c.direction==="normal"&&c.reversed){d=d.reverse();h(d,function(e,f){a.appendChild(f)});d=J(c.nested);h(d,function(e,f){if((b=y[f.FLX_DOM_ID])&&b.direction==="inherit")b.direction=c.direction});c.reversed=!c.reversed}},boxOrient:function(a,d,c){var b;a={pos:"marginLeft",opp:"marginRight",dim:"width",out:"offsetWidth",func:Ja,pad:[ja,ka,la,ma]};b={pos:"marginTop",opp:"marginBottom",dim:"height",out:"offsetHeight",
23
+ func:Ka,pad:[U,na,oa,pa]};H||h(d,function(e,f){f.style[L.IE>=9?"cssFloat":"styleFloat"]="left";if(c.orient==="vertical"||c.orient==="block-axis")f.style.clear="left";if(L.IE===6)f.style.display="inline"});switch(c.orient){case "vertical":case "block-axis":this.props=b;this.anti=a;break;default:this.props=a;this.anti=b}},boxOrdinalGroup:function(a,d,c){var b,e;if(d.length){b=function(f){f=f.keys;h(c.reversed?f:f.reverse(),function(g,i){h(d,function(j,l){i===l.getAttribute("data-ordinal-group")&&a.appendChild(l)})})};
24
+ e=R(c.children,d,q);e.keys.length>1&&b(e)}},boxFlex:function(a,d,c){var b=this,e,f,g,i;if(d.length){e=function(j){var l=j.groups,m;h(j.keys,function(r,n){h(l[n],function(o,k){m=t;h(k.properties,function(p,s){if(Va.test(s.property))m=parseFloat(s.value)});if(!m||k.match[b.props.out]>m)D(k.match,b.props.pos,t)})})};f=function(j){var l=0,m;h(d,function(r,n){l+=u(n,b.props.dim,q);h(b.props.pad,function(o,k){l+=u(n,k,q)});l+=u(n,b.props.pos,q);l+=u(n,b.props.opp,q)});m=a[b.props.out]-l;h(b.props.pad,function(r,
25
+ n){m-=u(a,n,q)});return{whitespace:m,ration:m/j.total}};g=function(j,l){var m=j.groups,r,n,o=l.ration,k,p,s;h(j.keys,function(w,B){k=o*B;h(m[B],function(M,A){if(A.match){r=A.match.getAttribute("data-flex");n=A.match.getAttribute("data-specificity");if(!r||n<=A.flexSpecificity){A.match.setAttribute("data-flex",B);A.match.setAttribute("data-specificity",A.flexSpecificity);p=u(A.match,b.props.dim,q);s=Math.max(0,p+k);D(A.match,b.props.dim,s)}}})});if(c.orient==="horizontal"||c.orient==="inline-axis")qa(a,
26
+ c,b)};i=R(c.children,d,t);if(i.total){c.hasFlex=q;e(i);e=f(i);g(i,e)}}},boxAlign:function(a,d,c){var b=this,e,f,g=ta(a);if(!H&&!g.flex&&(c.orient==="vertical"||c.orient==="block-axis")){Ra(a,b.anti.dim)||D(a,b.anti.dim,t);D(d,b.anti.dim,t)}e=a[b.anti.out];h(b.anti.pad,function(i,j){e-=u(a,j,q)});switch(c.align){case "start":break;case "end":h(d,function(i,j){f=e-j[b.anti.out];f-=u(j,b.anti.opp,q);D(j,b.anti.pos,f)});break;case "center":h(d,function(i,j){f=(e-j[b.anti.out])/2;D(j,b.anti.pos,f)});break;
27
+ default:h(d,function(i,j){switch(j.nodeName.toLowerCase()){case "button":case "input":case "select":break;default:var l=0;h(b.anti.pad,function(m,r){l+=u(j,r,q);l+=u(a,r,q)});j.style[b.anti.dim]="100%";f=j[b.anti.out]-l;D(j,b.anti.dim,t);f=e;f-=u(j,b.anti.pos,q);h(b.anti.pad,function(m,r){f-=u(j,r,q)});f-=u(j,b.anti.opp,q);f=Math.max(0,f);D(j,b.anti.dim,f)}})}},boxPack:function(a,d,c){var b=this,e=0,f=0,g=0,i,j,l;l=d.length-1;h(d,function(r,n){e+=n[b.props.out];e+=u(n,b.props.pos,q);e+=u(n,b.props.opp,
28
+ q)});f=u(d[0],b.props.pos,q);i=a[b.props.out]-e;h(b.props.pad,function(r,n){i-=u(a,n,q)});if(i<0)i=Math.max(0,i);switch(c.pack){case "end":D(d[0],b.props.pos,g+f+i);break;case "center":if(g)g/=2;D(d[0],b.props.pos,g+f+i/2);break;case "justify":f=Math.floor((g+i)/l);l=f*l-i;for(var m=d.length-1;m;){g=d[m];j=f;if(l){j++;l++}j=u(g,b.props.pos,q)+j;D(g,b.props.pos,j);m--}}if((c.pack==="end"||c.pack==="justify")&&(c.orient==="horizontal"||c.orient==="inline-axis"))qa(a,c,b);a.style.overflow=""}},setup:function(a,
29
+ d,c){var b=this,e,f;if(!(!a||!d||!c))if(H&&H.partialSupport){e=R(c.children,d,t);f=ta(a);d=O(a,a.childNodes);b.properties.boxOrient.call(b,a,d,c);if(!e.total||!J(c.nested).length){if(c.align==="stretch"&&!H.boxAlignStretch&&(!f.nested||!f.flex))b.properties.boxAlign.call(b,a,d,c);c.pack==="justify"&&!H.boxPackJustify&&!e.total&&b.properties.boxPack.call(b,a,d,c)}}else H||h(b.properties,function(g,i){i.call(b,a,O(a,a.childNodes),c)})},trackDOM:function(a){Pa(this,a)},updateModel:function(a){var d=
30
+ a.target,c=a.nodes;sa(c);if(a.flexMatrix||a.ordinalMatrix)a=Sa(a);this.setup(d,c,a);this.bubbleUp(d,a)},renderModel:function(a){var d=this,c=a.target,b=c.childNodes;if(!c.length&&!b)return false;a=Ta(a,this);d.updateModel(a);x.setTimeout(function(){d.trackDOM(a)},0);return d},bubbleUp:function(a,d){for(var c,b=d.target.parentNode;b;){if(c=y[b.FLX_DOM_ID]){sa(c.nodes);this.setup(c.target,c.nodes,c)}b=b.parentNode}}};z.updateInstance=function(a,d){var c;if(a)if(c=y[a.FLX_DOM_ID])c._instance.updateModel(c);
31
+ else c=new z.box(d);else h(y,function(b,e){e._instance.updateModel(e)})};z.getInstance=function(a){return y[a.FLX_DOM_ID]};z.destroyInstance=function(a){var d;d=function(c){c.target.FLX_DOM_ID=t;c.target.style.cssText=v;h(c.children,function(b,e){e.match.style.cssText=v})};if(a)(a=y[a.FLX_DOM_ID])&&d(a);else{h(y,function(c,b){d(b)});y=[]}};z.flexboxSupport=function(){var a={},d,c=E.createElement("flxbox"),b;c.style.width=c.style.height="100px";c.innerHTML='<b style="margin: 0; padding: 0; display:block; width: 10px; height:50px"></b><b style="margin: 0; padding: 0; display:block; width: 10px; height:50px"></b><b style="margin: 0; padding: 0; display:block; width: 10px; height:50px"></b>';
32
+ V(c,"display","box",t);V(c,"box-align","stretch",q);V(c,"box-pack","justify",q);E.body.appendChild(c);d=c.firstChild.offsetHeight;h({boxAlignStretch:function(){return d===100},boxPackJustify:function(){var e=0;h(c.childNodes,function(f,g){e+=g.offsetLeft});return e===135}},function(e,f){b=f();if(!b)a.partialSupport=q;a[e]=b});E.body.removeChild(c);return~c.style.display.indexOf("box")?a:I};z.init=function(){z.flexboxSupported=H=z.flexboxSupport();if((!H||H.partialSupport)&&J)va()};z.version=1;(function(a){Y||
33
+ (J=ya());var d,c,b;h(X,function(e,f){if(x[e]&&!d&&f.m){d=eval(f.m.replace("*",e));c=f.c?eval(f.c.replace("*",e)):x;b=[];if(d&&c){f.p&&b.push(f.p);b.push(a);d.apply(c,b);return false}}});d||Z("load",a)})(z.init);return z}(this,document);
@@ -0,0 +1,1872 @@
1
+ /*
2
+ File: flexie.js
3
+
4
+ About: Version
5
+ 1.0
6
+
7
+ Project: Flexie
8
+
9
+ Description:
10
+ Legacy support for the CSS3 Flexible Box Model
11
+
12
+ License:
13
+ The MIT License
14
+
15
+ Copyright (c) 2010 Richard Herrera
16
+
17
+ Permission is hereby granted, free of charge, to any person obtaining a copy
18
+ of this software and associated documentation files (the "Software"), to deal
19
+ in the Software without restriction, including without limitation the rights
20
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
21
+ copies of the Software, and to permit persons to whom the Software is
22
+ furnished to do so, subject to the following conditions:
23
+
24
+ The above copyright notice and this permission notice shall be included in
25
+ all copies or substantial portions of the Software.
26
+
27
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
28
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
29
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
30
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
31
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
32
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
33
+ THE SOFTWARE.
34
+ */
35
+
36
+ /*
37
+ Class: Flexie
38
+ Scoped to the Flexie Global Namespace
39
+ */
40
+
41
+ /*jslint evil: true, regexp: false, plusplus: false */
42
+ /*global window, document */
43
+
44
+ var Flexie = (function (win, doc) {
45
+
46
+ // Scope public properties
47
+ var FLX = {},
48
+
49
+ // Each Flexie-modified DOM node gets a unique identifier
50
+ FLX_DOM_ID = 0,
51
+ FLX_DOM_ATTR = "data-flexie-id",
52
+ FLX_PARENT_ATTR = "data-flexie-parent",
53
+
54
+ // Store support for flexbox
55
+ SUPPORT,
56
+
57
+ // Store reference to engine
58
+ ENGINE,
59
+
60
+ ENGINES = {
61
+ "NW" : {
62
+ s : "*.Dom.select"
63
+ },
64
+ "DOMAssistant" : {
65
+ s : "*.$",
66
+ m : "*.DOMReady"
67
+ },
68
+ "Prototype" : {
69
+ s : "$$",
70
+ m : "document.observe",
71
+ p : "dom:loaded",
72
+ c : "document"
73
+ },
74
+ "YAHOO" : {
75
+ s : "*.util.Selector.query",
76
+ m : "*.util.Event.onDOMReady",
77
+ c : "*.util.Event"
78
+ },
79
+ "MooTools" : {
80
+ s : "$$",
81
+ m : "window.addEvent",
82
+ p : "domready"
83
+ },
84
+ "Sizzle" : {
85
+ s : "*"
86
+ },
87
+ "jQuery" : {
88
+ s : "*",
89
+ m : "*(document).ready"
90
+ },
91
+ "dojo" : {
92
+ s : "*.query",
93
+ m : "*.addOnLoad"
94
+ }
95
+ },
96
+
97
+ // Store reference to library
98
+ LIBRARY,
99
+
100
+ // Regular Expressions
101
+ PIXEL = /^-?\d+(?:px)?$/i,
102
+ NUMBER = /^-?\d/,
103
+ SIZES = /width|height|margin|padding|border/,
104
+ MSIE = /(msie) ([\w.]+)/,
105
+ WHITESPACE_CHARACTERS = /\t|\n|\r/g,
106
+ RESTRICTIVE_PROPERTIES = /^max\-([a-z]+)/,
107
+ PROTOCOL = /^https?:\/\//i,
108
+ LEADINGTRIM = /^\s\s*/,
109
+ TRAILINGTRIM = /\s\s*$/,
110
+ ONLY_WHITESPACE = /^\s*$/,
111
+ CSS_SELECTOR = /\s?(\#|\.|\[|\:(\:)?[^first\-(line|letter)|before|after]+)/g,
112
+
113
+ // String constants
114
+ EMPTY_STRING = "",
115
+ SPACE_STRING = " ",
116
+ PLACEHOLDER_STRING = "$1",
117
+ PADDING_RIGHT = "paddingRight",
118
+ PADDING_BOTTOM = "paddingBottom",
119
+ PADDING_LEFT = "paddingLeft",
120
+ PADDING_TOP = "paddingTop",
121
+ BORDER_RIGHT = "borderRightWidth",
122
+ BORDER_BOTTOM = "borderBottomWidth",
123
+ BORDER_LEFT = "borderLeftWidth",
124
+ BORDER_TOP = "borderTopWidth",
125
+ HORIZONTAL = "horizontal",
126
+ VERTICAL = "vertical",
127
+ INLINE_AXIS = "inline-axis",
128
+ BLOCK_AXIS = "block-axis",
129
+ INHERIT = "inherit",
130
+ LEFT = "left",
131
+
132
+ END_MUSTACHE = "}",
133
+
134
+ PREFIXES = " -o- -moz- -ms- -webkit- -khtml- ".split(SPACE_STRING),
135
+
136
+ DEFAULTS = {
137
+ orient : HORIZONTAL,
138
+ align : "stretch",
139
+ direction : INHERIT,
140
+ pack : "start"
141
+ },
142
+
143
+ // Global reference objects
144
+ FLEX_BOXES = [],
145
+ POSSIBLE_FLEX_CHILDREN = [],
146
+ DOM_ORDERED,
147
+
148
+ RESIZE_LISTENER,
149
+
150
+ // Minification optimizations
151
+ TRUE = true,
152
+ FALSE = false,
153
+ NULL = null,
154
+ UNDEFINED,
155
+
156
+ // If IE, which version?
157
+ BROWSER = {
158
+ IE : (function () {
159
+ var ie, ua = win.navigator.userAgent,
160
+ match = (MSIE).exec(ua.toLowerCase());
161
+
162
+ if (match) {
163
+ ie = parseInt(match[2], 10);
164
+ }
165
+
166
+ return ie;
167
+ }())
168
+ },
169
+
170
+ /*
171
+ selectivizr v1.0.0 - (c) Keith Clark, freely distributable under the terms
172
+ of the MIT license.
173
+
174
+ selectivizr.com
175
+ */
176
+ selectivizrEngine;
177
+
178
+ function trim (string) {
179
+ if (string) {
180
+ string = string.replace(LEADINGTRIM, EMPTY_STRING).replace(TRAILINGTRIM, EMPTY_STRING);
181
+ }
182
+
183
+ return string;
184
+ }
185
+
186
+ // Via jQuery 1.4.3
187
+ // http://github.com/jquery/jquery/blob/master/src/core.js#L593
188
+ function forEach(object, callback) {
189
+ var name, i = 0, value,
190
+ length = object ? object.length : UNDEFINED,
191
+ isObj = length === UNDEFINED;
192
+
193
+ if (isObj) {
194
+ for (name in object) {
195
+ if (object.hasOwnProperty(name)) {
196
+ if (callback.call(object[name], name, object[name]) === FALSE) {
197
+ break;
198
+ }
199
+ }
200
+ }
201
+ } else {
202
+ for (value = object[0]; i < length && callback.call(value, i, value) !== FALSE; value = object[++i]) {
203
+ continue;
204
+ }
205
+ }
206
+ }
207
+
208
+ // --[ determineSelectorMethod() ]--------------------------------------
209
+ // walks through the engines object testing for an suitable
210
+ // selector engine.
211
+
212
+ // Moving outside Selectivizr scope because detection is needed before running selectivizrEngine
213
+ function determineSelectorMethod() {
214
+ // compatiable selector engines in order of CSS3 support
215
+ var engines = ENGINES, method;
216
+
217
+ forEach(engines, function (engine, obj) {
218
+ if (win[engine] && !method) {
219
+ method = eval(obj.s.replace("*", engine));
220
+
221
+ if (method) {
222
+ ENGINE = engine;
223
+ return false;
224
+ }
225
+ }
226
+ });
227
+
228
+ return method;
229
+ }
230
+
231
+ // Event handler for onload/onresize events
232
+ function addEvent(type, func) {
233
+ type = "on" + type;
234
+ var oldevent = win[type];
235
+
236
+ if (typeof win[type] !== "function") {
237
+ win[type] = func;
238
+ } else {
239
+ win[type] = function () {
240
+ if (oldevent) {
241
+ oldevent();
242
+ }
243
+ func();
244
+ };
245
+ }
246
+ }
247
+
248
+ function attachLoadMethod(handler) {
249
+ if (!ENGINE) {
250
+ LIBRARY = determineSelectorMethod();
251
+ }
252
+
253
+ // compatiable selector engines in order of CSS3 support
254
+ var engines = ENGINES,
255
+ method, caller, args;
256
+
257
+ forEach(engines, function (engine, obj) {
258
+ if (win[engine] && !method && obj.m) {
259
+ method = eval(obj.m.replace("*", engine));
260
+ caller = obj.c ? eval(obj.c.replace("*", engine)) : win;
261
+ args = [];
262
+
263
+ if (method && caller) {
264
+ if (obj.p) {
265
+ args.push(obj.p);
266
+ }
267
+ args.push(handler);
268
+ method.apply(caller, args);
269
+ return false;
270
+ }
271
+ }
272
+ });
273
+
274
+ if (!method) {
275
+ addEvent("load", handler);
276
+ }
277
+ }
278
+
279
+ function buildSelector (node) {
280
+ var selector = node.nodeName.toLowerCase();
281
+
282
+ if (node.id) {
283
+ selector += "#" + node.id;
284
+ } else if (node.FLX_DOM_ID) {
285
+ selector += "[" + FLX_DOM_ATTR + "='" + node.FLX_DOM_ID + "']";
286
+ }
287
+
288
+ return selector;
289
+ }
290
+
291
+ function setFlexieId (node) {
292
+ if (!node.FLX_DOM_ID) {
293
+ FLX_DOM_ID = (FLX_DOM_ID + 1);
294
+
295
+ node.FLX_DOM_ID = FLX_DOM_ID;
296
+ node.setAttribute(FLX_DOM_ATTR, node.FLX_DOM_ID);
297
+ }
298
+ }
299
+
300
+ function buildSelectorTree(text) {
301
+ var rules = [], ruletext, rule,
302
+ match, selector, proptext, splitprop, properties;
303
+
304
+ // Tabs, Returns
305
+ text = text.replace(WHITESPACE_CHARACTERS, EMPTY_STRING);
306
+
307
+ // Leading / Trailing Whitespace
308
+ text = text.replace(/\s?(\{|\:|\})\s?/g, PLACEHOLDER_STRING);
309
+
310
+ ruletext = text.split(END_MUSTACHE);
311
+
312
+ forEach(ruletext, function (i, text) {
313
+ if (text) {
314
+ rule = [text, END_MUSTACHE].join(EMPTY_STRING);
315
+
316
+ match = (/(.*)\{(.*)\}/).exec(rule);
317
+
318
+ if (match && match[2]) {
319
+ selector = match[1];
320
+ proptext = match[2].split(";");
321
+ properties = [];
322
+
323
+ forEach(proptext, function (i, x) {
324
+ splitprop = x.split(":");
325
+
326
+ if (splitprop.length && splitprop[1]) {
327
+ properties.push({
328
+ property : splitprop[0],
329
+ value : splitprop[1]
330
+ });
331
+ }
332
+ });
333
+
334
+ if (selector && properties.length) {
335
+ rules.push({
336
+ selector : selector,
337
+ properties : properties
338
+ });
339
+ }
340
+ }
341
+ }
342
+ });
343
+
344
+ return rules;
345
+ }
346
+
347
+ function findFlexboxElements(rules) {
348
+ var selectors, properties,
349
+ property, value, shortProp,
350
+ selectorSplit = /\s?,\s?/,
351
+ createUniqueObject, addRules,
352
+ uniqueChildren = {}, uniqueBoxes = {};
353
+
354
+ createUniqueObject = function (selector, rules, prop, value) {
355
+ var unique = {
356
+ selector : trim(selector),
357
+ properties : []
358
+ };
359
+
360
+ forEach(rules.properties, function (i, prop) {
361
+ unique.properties.push({
362
+ property : trim(prop.property),
363
+ value : trim(prop.value)
364
+ });
365
+ });
366
+
367
+ if (prop && value) {
368
+ unique[prop] = value;
369
+ }
370
+
371
+ return unique;
372
+ };
373
+
374
+ addRules = function (selector, rules, prop, value) {
375
+ var box = (prop && value) ? uniqueChildren[selector] : uniqueBoxes[selector],
376
+ exists;
377
+
378
+ if (box) {
379
+ forEach(rules.properties, function (i, rule) {
380
+ forEach(box.properties, function (j, x) {
381
+ if (rule.property === x.property) {
382
+ exists = j;
383
+ return false;
384
+ }
385
+ });
386
+
387
+ if (exists) {
388
+ box.properties[exists] = rule;
389
+ } else {
390
+ box.properties.push(rule);
391
+ }
392
+ });
393
+
394
+ if (prop && value) {
395
+ box[prop] = value;
396
+ }
397
+ } else {
398
+ if (prop && value) {
399
+ uniqueChildren[selector] = createUniqueObject(selector, rules, prop, value);
400
+ } else {
401
+ uniqueBoxes[selector] = createUniqueObject(selector, rules, NULL, NULL);
402
+ }
403
+ }
404
+ };
405
+
406
+ forEach(rules, function (i, rule) {
407
+ selectors = trim(rule.selector).replace(selectorSplit, ",").split(selectorSplit);
408
+
409
+ forEach(selectors, function (i, selector) {
410
+ selector = trim(selector);
411
+ properties = rule.properties;
412
+
413
+ forEach(properties, function (i, prop) {
414
+ property = trim(prop.property);
415
+ value = trim(prop.value);
416
+
417
+ if (property) {
418
+ shortProp = property.replace("box-", EMPTY_STRING);
419
+
420
+ switch (shortProp) {
421
+ case "display" :
422
+ if (value === "box") {
423
+ addRules(selector, rule, NULL, NULL);
424
+ }
425
+ break;
426
+
427
+ case "orient" :
428
+ case "align" :
429
+ case "direction" :
430
+ case "pack" :
431
+ addRules(selector, rule, NULL, NULL);
432
+ break;
433
+
434
+ case "flex" :
435
+ case "flex-group" :
436
+ case "ordinal-group" :
437
+ addRules(selector, rule, shortProp, value);
438
+ break;
439
+ }
440
+ }
441
+ });
442
+ });
443
+ });
444
+
445
+ forEach(uniqueBoxes, function (key, box) {
446
+ FLEX_BOXES.push(box);
447
+ });
448
+
449
+ forEach(uniqueChildren, function (key, child) {
450
+ POSSIBLE_FLEX_CHILDREN.push(child);
451
+ });
452
+
453
+ return {
454
+ boxes : FLEX_BOXES,
455
+ children : POSSIBLE_FLEX_CHILDREN
456
+ };
457
+ }
458
+
459
+ function matchFlexChildren(parent, lib, possibleChildren) {
460
+ var caller, unique, matches = [];
461
+
462
+ forEach(possibleChildren, function (i, child) {
463
+ if (child.selector) {
464
+ caller = lib(child.selector);
465
+ caller = caller[0] ? caller : [caller];
466
+
467
+ if (caller[0]) {
468
+ forEach(caller, function (i, node) {
469
+ switch (node.nodeName.toLowerCase()) {
470
+ case "script" :
471
+ case "style" :
472
+ case "link" :
473
+ break;
474
+
475
+ default :
476
+ if (node.parentNode === parent) {
477
+ // Flag each unique node with FLX_DOM_ID
478
+ setFlexieId(node);
479
+
480
+ unique = {};
481
+
482
+ forEach(child, function (key) {
483
+ unique[key] = child[key];
484
+ });
485
+
486
+ unique.match = node;
487
+ matches.push(unique);
488
+ }
489
+ break;
490
+ }
491
+ });
492
+ }
493
+ } else {
494
+ // Flag each unique node with FLX_DOM_ID
495
+ setFlexieId(child);
496
+
497
+ matches.push({
498
+ match : child,
499
+ selector : buildSelector(child)
500
+ });
501
+ }
502
+ });
503
+
504
+ return matches;
505
+ }
506
+
507
+ function getParams(params) {
508
+ forEach(params, function (key, value) {
509
+ params[key] = value || DEFAULTS[key];
510
+ });
511
+
512
+ return params;
513
+ }
514
+
515
+ function buildFlexieCall(flexers) {
516
+ var selector, properties, property, value, shortProp,
517
+ display, orient, align, direction, pack,
518
+ lib, caller, children,
519
+ box, params, flexboxes = {},
520
+ match, childMatch, nestedFlexboxes,
521
+ flexieParentSelector = "[" + FLX_PARENT_ATTR + "]";
522
+
523
+ // No boxflex? No dice.
524
+ if (!flexers) {
525
+ return;
526
+ }
527
+
528
+ forEach(flexers.boxes, function (i, flex) {
529
+ flex.selector = trim(flex.selector);
530
+
531
+ selector = flex.selector;
532
+ properties = flex.properties;
533
+
534
+ display = orient = align = direction = pack = NULL;
535
+
536
+ forEach(properties, function (i, prop) {
537
+
538
+ property = trim(prop.property);
539
+ value = trim(prop.value);
540
+
541
+ if (property) {
542
+ shortProp = property.replace("box-", EMPTY_STRING);
543
+
544
+ switch (shortProp) {
545
+ case "display" :
546
+ if (value === "box") {
547
+ display = value;
548
+ }
549
+ break;
550
+
551
+ case "orient" :
552
+ orient = value;
553
+ break;
554
+
555
+ case "align" :
556
+ align = value;
557
+ break;
558
+
559
+ case "direction" :
560
+ direction = value;
561
+ break;
562
+
563
+ case "pack" :
564
+ pack = value;
565
+ break;
566
+ }
567
+ }
568
+ });
569
+
570
+ // Determine library
571
+ lib = LIBRARY;
572
+
573
+ // Call it.
574
+ caller = lib(flex.selector);
575
+
576
+ // In an array?
577
+ caller = caller[0] ? caller : [caller];
578
+
579
+ forEach(caller, function (i, target) {
580
+ // If is DOM object
581
+ if (target.nodeType) {
582
+ // Flag each unique node with FLX_DOM_ID
583
+ setFlexieId(target);
584
+
585
+ // Find possible child node matches
586
+ children = matchFlexChildren(target, lib, flexers.children);
587
+
588
+ // Find any nested flexbox elements
589
+ nestedFlexboxes = selector + " " + flexieParentSelector;
590
+
591
+ // Make sure there is some value associated with box properties
592
+ params = {
593
+ target : target,
594
+ selector : selector,
595
+ properties : properties,
596
+ children : children,
597
+ display : display,
598
+ orient : orient,
599
+ align : align,
600
+ direction: direction,
601
+ pack : pack,
602
+ nested : nestedFlexboxes
603
+ };
604
+
605
+ match = flexboxes[target.FLX_DOM_ID];
606
+
607
+ if (match) {
608
+ forEach(params, function (key, value) {
609
+ switch (key) {
610
+ case "selector" :
611
+ if (value && !(new RegExp(value).test(match[key]))) {
612
+ match[key] += ", " + value;
613
+ }
614
+ break;
615
+
616
+ case "children" :
617
+ forEach(params[key], function (k, child) {
618
+ childMatch = FALSE;
619
+
620
+ forEach(match[key], function (key, existing) {
621
+ if (child.match.FLX_DOM_ID === existing.match.FLX_DOM_ID) {
622
+ childMatch = TRUE;
623
+ }
624
+ });
625
+
626
+ if (!childMatch) {
627
+ match[key].push(child);
628
+ }
629
+ });
630
+ break;
631
+
632
+ default :
633
+ if (value) {
634
+ match[key] = value;
635
+ }
636
+ break;
637
+ }
638
+ });
639
+ } else {
640
+ flexboxes[target.FLX_DOM_ID] = getParams(params);
641
+ flexboxes[target.FLX_DOM_ID].target.setAttribute(FLX_PARENT_ATTR, TRUE);
642
+ }
643
+ }
644
+ });
645
+ });
646
+
647
+ DOM_ORDERED = LIBRARY(flexieParentSelector);
648
+ FLEX_BOXES = {};
649
+
650
+ forEach(DOM_ORDERED, function (i, target) {
651
+ FLEX_BOXES[target.FLX_DOM_ID] = flexboxes[target.FLX_DOM_ID];
652
+ });
653
+
654
+ // Loop through each match, initialize constructor
655
+ forEach(FLEX_BOXES, function (key, flex) {
656
+ // One final check to ensure each flexbox has a display property
657
+ if (flex.display === "box") {
658
+ // Constructor
659
+ box = new FLX.box(flex);
660
+ }
661
+ });
662
+ }
663
+
664
+ function calcPx(element, props, dir) {
665
+ var dim = dir.replace(dir.charAt(0), dir.charAt(0).toUpperCase()),
666
+ value = element["offset" + dim] || 0;
667
+
668
+ if (value) {
669
+ forEach(props, function (i, prop) {
670
+ prop = parseFloat(element.currentStyle[prop]);
671
+ if (!isNaN(prop)) {
672
+ value -= prop;
673
+ }
674
+ });
675
+ }
676
+
677
+ return value;
678
+ }
679
+
680
+ function getTrueValue(element, name) {
681
+ var left, rsLeft,
682
+ ret = element.currentStyle && element.currentStyle[name],
683
+ style = element.style;
684
+
685
+ if (!PIXEL.test(ret) && NUMBER.test(ret)) {
686
+
687
+ // Remember the original values
688
+ left = style.left;
689
+ rsLeft = element.runtimeStyle.left;
690
+
691
+ // Put in the new values to get a computed value out
692
+ element.runtimeStyle.left = element.currentStyle.left;
693
+ style.left = ret || 0;
694
+ ret = style.pixelLeft + "px";
695
+
696
+ // Revert the changed values
697
+ style.left = left || 0;
698
+ element.runtimeStyle.left = rsLeft;
699
+ }
700
+
701
+ return ret;
702
+ }
703
+
704
+ function unAuto(element, prop, name) {
705
+ var props;
706
+
707
+ switch (name) {
708
+ case "width" :
709
+ props = [PADDING_LEFT, PADDING_RIGHT, BORDER_LEFT, BORDER_RIGHT];
710
+ prop = calcPx(element, props, name);
711
+ break;
712
+
713
+ case "height" :
714
+ props = [PADDING_TOP, PADDING_BOTTOM, BORDER_TOP, BORDER_BOTTOM];
715
+ prop = calcPx(element, props, name);
716
+ break;
717
+
718
+ default :
719
+ prop = getTrueValue(element, name);
720
+ break;
721
+ }
722
+
723
+ return prop;
724
+ }
725
+
726
+ function getPixelValue(element, prop, name) {
727
+ if (PIXEL.test(prop)) {
728
+ return prop;
729
+ }
730
+
731
+ // if property is auto, do some messy appending
732
+ if (prop === "auto" || prop === "medium") {
733
+ prop = unAuto(element, prop, name);
734
+ } else {
735
+ prop = getTrueValue(element, name);
736
+ }
737
+
738
+ return prop;
739
+ }
740
+
741
+ function getComputedStyle(element, property, returnAsInt) {
742
+ var value;
743
+
744
+ if (win.getComputedStyle) {
745
+ value = win.getComputedStyle(element, NULL)[property];
746
+ } else {
747
+ if (SIZES.test(property)) {
748
+ value = getPixelValue(element, (element && element.currentStyle) ? element.currentStyle[property] : 0, property);
749
+ } else {
750
+ value = element.currentStyle[property];
751
+ }
752
+ }
753
+
754
+ if (returnAsInt) {
755
+ value = parseInt(value, 10);
756
+
757
+ if (isNaN(value)) {
758
+ value = 0;
759
+ }
760
+ }
761
+
762
+ return value;
763
+ }
764
+
765
+ function clientWidth(element) {
766
+ return element.innerWidth || element.clientWidth;
767
+ }
768
+
769
+ function clientHeight(element) {
770
+ return element.innerHeight || element.clientHeight;
771
+ }
772
+
773
+ function appendProperty(target, prop, value, prefixName) {
774
+ var cssText = [];
775
+
776
+ forEach(PREFIXES, function (i, prefix) {
777
+ cssText.push((prefixName ? prefix : EMPTY_STRING) + prop + ":" + (!prefixName ? prefix : EMPTY_STRING) + value);
778
+ });
779
+
780
+ target.style.cssText += cssText.join(";");
781
+ return target;
782
+ }
783
+
784
+ function appendPixelValue(target, prop, value) {
785
+ var targets = target && target[0] ? target : [target];
786
+
787
+ forEach(targets, function (i, target) {
788
+ if (target && target.style) {
789
+ target.style[prop] = (value ? (value + "px") : EMPTY_STRING);
790
+ }
791
+ });
792
+ }
793
+
794
+ function calculateSpecificity (selector) {
795
+ var selectorGrid, matrix, total;
796
+
797
+ selectorGrid = selector.replace(CSS_SELECTOR, function (e, f) {
798
+ return "%" + f;
799
+ }).replace(/\s|\>|\+|\~/g, "%").split(/%/g);
800
+
801
+ matrix = {
802
+ _id : 100,
803
+ _class : 10,
804
+ _tag : 1
805
+ };
806
+
807
+ // Start with rule index position
808
+ total = 0;
809
+
810
+ // Add each selector value to total.
811
+ forEach(selectorGrid, function (i, chunk) {
812
+ if ((/#/).test(chunk)) {
813
+ total += matrix._id;
814
+ } else if ((/\.|\[|\:/).test(chunk)) {
815
+ total += matrix._class;
816
+ } else if ((/[a-zA-Z]+/).test(chunk)) {
817
+ total += matrix._tag;
818
+ }
819
+ });
820
+
821
+ return total;
822
+ }
823
+
824
+ function filterDuplicates (matches, children, type) {
825
+ var filteredMatches = [], exists,
826
+ spec = (type ? "ordinal" : "flex") + "Specificity";
827
+
828
+ forEach(matches, function (i, x) {
829
+ if ((!type && x.flex) || (type && x["ordinal-group"])) {
830
+ x[spec] = x[spec] || calculateSpecificity(x.selector);
831
+
832
+ exists = FALSE;
833
+
834
+ forEach(filteredMatches, function (j, f) {
835
+ if (f.match === x.match) {
836
+ if (f[spec] < x[spec]) {
837
+ filteredMatches[j] = x;
838
+ }
839
+
840
+ exists = TRUE;
841
+ return FALSE;
842
+ }
843
+ });
844
+
845
+ if (!exists) {
846
+ filteredMatches.push(x);
847
+ }
848
+ }
849
+ });
850
+
851
+ return filteredMatches;
852
+ }
853
+
854
+ function createMatchMatrix(matches, children, type) {
855
+ var groups = {}, keys = [], totalRatio = 0,
856
+ group, order = "ordinal-group",
857
+ BoxOrdinalAttr = "data-" + order;
858
+
859
+ // Filter dupes
860
+ matches = filterDuplicates(matches, children, type);
861
+
862
+ forEach(children, function (i, kid) {
863
+ forEach(matches, function (j, x) {
864
+ if (type) {
865
+ // If no value declared, it's the default.
866
+ group = x[order] || "1";
867
+
868
+ if (x.match === kid) {
869
+ x.match.setAttribute(BoxOrdinalAttr, group);
870
+
871
+ groups[group] = groups[group] || [];
872
+ groups[group].push(x);
873
+ }
874
+ } else {
875
+ // If no value declared, it's the default.
876
+ group = x.flex || "0";
877
+
878
+ if (x.match === kid && (!x[group] || (x[group] && parseInt(x[group], 10) <= 1))) {
879
+ totalRatio += parseInt(group, 10);
880
+
881
+ groups[group] = groups[group] || [];
882
+ groups[group].push(x);
883
+ }
884
+ }
885
+ });
886
+
887
+ if (type && !kid.getAttribute(BoxOrdinalAttr)) {
888
+ group = "1";
889
+ kid.setAttribute(BoxOrdinalAttr, group);
890
+
891
+ groups[group] = groups[group] || [];
892
+ groups[group].push({
893
+ match : kid
894
+ });
895
+ }
896
+ });
897
+
898
+ forEach(groups, function (key) {
899
+ keys.push(key);
900
+ });
901
+
902
+ keys.sort(function (a, b) {
903
+ return b - a;
904
+ });
905
+
906
+ return {
907
+ keys : keys,
908
+ groups : groups,
909
+ total : totalRatio
910
+ };
911
+ }
912
+
913
+ function floatDropFix(target, params, instance) {
914
+ // Float drop fix
915
+ // Test offset values. If different, let's bring the widow back
916
+ var offsetProp = "offsetTop",
917
+ children = params.nodes,
918
+ calcOffset, val = true;
919
+
920
+ calcOffset = function (kid) {
921
+ return kid[offsetProp] - getComputedStyle(kid, instance.anti.pos, TRUE);
922
+ };
923
+
924
+ while (val && calcOffset(children[0]) !== calcOffset(children[children.length - 1])) {
925
+ forEach(children, function (i, kid) {
926
+ if (!params.hasFlex || kid.getAttribute("data-flex")) {
927
+ val = Math.max(0, getComputedStyle(kid, instance.props.dim, TRUE) - 1);
928
+ kid.style[instance.props.dim] = val;
929
+ }
930
+ });
931
+ }
932
+ }
933
+
934
+ function attachResizeListener(construct, params) {
935
+ if (!RESIZE_LISTENER) {
936
+ var storedWidth, storedHeight,
937
+ currentWidth, currentHeight,
938
+ docBody = doc.body,
939
+ docEl = doc.documentElement,
940
+ innerWidth = "innerWidth", innerHeight = "innerHeight",
941
+ clientWidth = "clientWidth", clientHeight = "clientHeight";
942
+
943
+ addEvent("resize", function () {
944
+ currentWidth = win[innerWidth] || docEl[innerWidth] || docEl[clientWidth] || docBody[clientWidth];
945
+ currentHeight = win[innerHeight] || docEl[innerHeight] || docEl[clientHeight] || docBody[clientHeight];
946
+
947
+ if (storedWidth !== currentWidth || storedHeight !== currentHeight) {
948
+ FLX.updateInstance(NULL, NULL);
949
+
950
+ storedWidth = currentWidth;
951
+ storedHeight = currentHeight;
952
+ }
953
+ });
954
+
955
+ RESIZE_LISTENER = TRUE;
956
+ }
957
+ }
958
+
959
+ function cleanPositioningProperties (children) {
960
+ var w, h;
961
+
962
+ forEach(children, function (i, kid) {
963
+ w = kid.style.width;
964
+ h = kid.style.height;
965
+
966
+ kid.style.cssText = EMPTY_STRING;
967
+
968
+ kid.style.width = w;
969
+ kid.style.height = h;
970
+ });
971
+ }
972
+
973
+ function sanitizeChildren (target, nodes) {
974
+ var children = [], node, i, j;
975
+
976
+ for (i = 0, j = nodes.length; i < j; i++) {
977
+ node = nodes[i];
978
+
979
+ if (node) {
980
+ switch (node.nodeName.toLowerCase()) {
981
+ case "script" :
982
+ case "style" :
983
+ case "link" :
984
+ break;
985
+
986
+ default :
987
+ if (node.nodeType === 1) {
988
+ children.push(node);
989
+ } else if ((node.nodeType === 3) && (node.isElementContentWhitespace || (ONLY_WHITESPACE).test(node.data))) {
990
+ target.removeChild(node);
991
+ i--;
992
+ }
993
+ break;
994
+ }
995
+ }
996
+ }
997
+
998
+ return children;
999
+ }
1000
+
1001
+ function parentFlex (target) {
1002
+ var totalFlex = 0,
1003
+ parent = target.parentNode,
1004
+ obj,
1005
+ matrix,
1006
+ isNested;
1007
+
1008
+ while (parent.FLX_DOM_ID) {
1009
+ obj = FLEX_BOXES[parent.FLX_DOM_ID];
1010
+ matrix = createMatchMatrix(obj.children, sanitizeChildren(parent, parent.childNodes), NULL);
1011
+
1012
+ totalFlex += matrix.total;
1013
+ isNested = TRUE;
1014
+
1015
+ parent = parent.parentNode;
1016
+ }
1017
+
1018
+ return {
1019
+ nested : isNested,
1020
+ flex : totalFlex
1021
+ };
1022
+ }
1023
+
1024
+ function dimensionValues (target, prop) {
1025
+ var parent = target.parentNode,
1026
+ obj,
1027
+ dimension;
1028
+
1029
+ if (parent.FLX_DOM_ID) {
1030
+ obj = FLEX_BOXES[parent.FLX_DOM_ID];
1031
+
1032
+ forEach(obj.properties, function (i, rule) {
1033
+ if ((new RegExp(prop)).test(rule.property)) {
1034
+ dimension = TRUE;
1035
+ return FALSE;
1036
+ }
1037
+ });
1038
+ }
1039
+
1040
+ return dimension;
1041
+ }
1042
+
1043
+ function updateChildValues (params) {
1044
+ if (params.flexMatrix) {
1045
+ forEach(params.children, function (i, x) {
1046
+ x.flex = params.flexMatrix[i];
1047
+ });
1048
+ }
1049
+
1050
+ if (params.ordinalMatrix) {
1051
+ forEach(params.children, function (i, x) {
1052
+ x["ordinal-group"] = params.ordinalMatrix[i];
1053
+ });
1054
+ }
1055
+
1056
+ return params;
1057
+ }
1058
+
1059
+ function ensureStructuralIntegrity (params, instance) {
1060
+ var target = params.target;
1061
+
1062
+ if (!target.FLX_DOM_ID) {
1063
+ target.FLX_DOM_ID = target.FLX_DOM_ID || (++FLX_DOM_ID);
1064
+ }
1065
+
1066
+ if (!params.nodes) {
1067
+ params.nodes = sanitizeChildren(target, target.childNodes);
1068
+ }
1069
+
1070
+ if (!params.selector) {
1071
+ params.selector = buildSelector(target);
1072
+ target.setAttribute(FLX_PARENT_ATTR, TRUE);
1073
+ }
1074
+
1075
+ if (!params.properties) {
1076
+ params.properties = [];
1077
+ }
1078
+
1079
+ if (!params.children) {
1080
+ params.children = matchFlexChildren(target, LIBRARY, sanitizeChildren(target, target.childNodes));
1081
+ }
1082
+
1083
+ if (!params.nested) {
1084
+ params.nested = params.selector + " [" + FLX_PARENT_ATTR + "]";
1085
+ }
1086
+
1087
+ params.target = target;
1088
+ params._instance = instance;
1089
+
1090
+ return params;
1091
+ }
1092
+
1093
+ selectivizrEngine = (function () {
1094
+ var RE_COMMENT = /(\/\*[^*]*\*+([^\/][^*]*\*+)*\/)\s*/g,
1095
+ RE_IMPORT = /@import\s*(?:url\(\s*?)?(["'])?(.*?)\1\s*\)?[\w\W]*?;/g,
1096
+ RE_ASSET_URL = /\surl\((["'])?([^"')]+)\1\)/g,
1097
+ RE_SELECTOR_GROUP = /(^|\})\s*([^\{]*?[\[:][^\{]+)/g,
1098
+
1099
+ // Whitespace normalization regexp's
1100
+ RE_TIDY_TRAILING_WHITESPACE = /([(\[+~])\s+/g,
1101
+ RE_TIDY_LEADING_WHITESPACE = /\s+([)\]+~])/g,
1102
+ RE_TIDY_CONSECUTIVE_WHITESPACE = /\s+/g,
1103
+ RE_TIDY_TRIM_WHITESPACE = /^\s*((?:[\S\s]*\S)?)\s*$/;
1104
+
1105
+ // --[ trim() ]---------------------------------------------------------
1106
+ // removes leading, trailing whitespace from a string
1107
+ function trim(text) {
1108
+ return text.replace(RE_TIDY_TRIM_WHITESPACE, PLACEHOLDER_STRING);
1109
+ }
1110
+
1111
+ // --[ normalizeWhitespace() ]------------------------------------------
1112
+ // removes leading, trailing and consecutive whitespace from a string
1113
+ function normalizeWhitespace(text) {
1114
+ return trim(text).replace(RE_TIDY_CONSECUTIVE_WHITESPACE, SPACE_STRING);
1115
+ }
1116
+
1117
+ // --[ normalizeSelectorWhitespace() ]----------------------------------
1118
+ // tidys whitespace around selector brackets and combinators
1119
+ function normalizeSelectorWhitespace(selectorText) {
1120
+ return normalizeWhitespace(selectorText.replace(RE_TIDY_TRAILING_WHITESPACE, PLACEHOLDER_STRING).replace(RE_TIDY_LEADING_WHITESPACE, PLACEHOLDER_STRING));
1121
+ }
1122
+
1123
+ // --[ patchStyleSheet() ]----------------------------------------------
1124
+ // Scans the passed cssText for selectors that require emulation and
1125
+ // creates one or more patches for each matched selector.
1126
+ function patchStyleSheet(cssText) {
1127
+ return cssText.replace(RE_SELECTOR_GROUP, function (m, prefix, selectorText) {
1128
+ var selectorGroups, selector;
1129
+
1130
+ selectorGroups = selectorText.split(",");
1131
+
1132
+ forEach(selectorGroups, function (i, group) {
1133
+ selector = normalizeSelectorWhitespace(group) + SPACE_STRING;
1134
+ });
1135
+
1136
+ return prefix + selectorGroups.join(",");
1137
+ });
1138
+ }
1139
+
1140
+ // --[ getXHRObject() ]-------------------------------------------------
1141
+ function getXHRObject() {
1142
+ if (win.XMLHttpRequest) {
1143
+ return new win.XMLHttpRequest();
1144
+ }
1145
+
1146
+ try {
1147
+ return new win.ActiveXObject("Microsoft.XMLHTTP");
1148
+ } catch (e) {
1149
+ return NULL;
1150
+ }
1151
+ }
1152
+
1153
+ // --[ loadStyleSheet() ]-----------------------------------------------
1154
+ function loadStyleSheet(url) {
1155
+ var xhr = getXHRObject();
1156
+
1157
+ xhr.open("GET", url, FALSE);
1158
+ xhr.send();
1159
+ return (xhr.status === 200) ? xhr.responseText : EMPTY_STRING;
1160
+ }
1161
+
1162
+ // --[ resolveUrl() ]---------------------------------------------------
1163
+ // Converts a URL fragment to a fully qualified URL using the specified
1164
+ // context URL. Returns null if same-origin policy is broken
1165
+ function resolveUrl(url, contextUrl) {
1166
+
1167
+ // IE9 returns a false positive sometimes(?)
1168
+ if (!url) {
1169
+ return;
1170
+ }
1171
+
1172
+ function getProtocolAndHost(url) {
1173
+ return url.substring(0, url.indexOf("/", 8));
1174
+ }
1175
+
1176
+ // absolute path
1177
+ if (PROTOCOL.test(url)) {
1178
+ return getProtocolAndHost(contextUrl) === getProtocolAndHost(url) ? url : NULL;
1179
+ }
1180
+
1181
+ // root-relative path
1182
+ if (url.charAt(0) === "/") {
1183
+ return getProtocolAndHost(contextUrl) + url;
1184
+ }
1185
+
1186
+ // relative path
1187
+ var contextUrlPath = contextUrl.split("?")[0]; // ignore query string in the contextUrl
1188
+ if (url.charAt(0) !== "?" && contextUrlPath.charAt(contextUrlPath.length - 1) !== "/") {
1189
+ contextUrlPath = contextUrlPath.substring(0, contextUrlPath.lastIndexOf("/") + 1);
1190
+ }
1191
+
1192
+ return contextUrlPath + url;
1193
+ }
1194
+
1195
+ // --[ parseStyleSheet() ]----------------------------------------------
1196
+ // Downloads the stylesheet specified by the URL, removes it's comments
1197
+ // and recursivly replaces @import rules with their contents, ultimately
1198
+ // returning the full cssText.
1199
+ function parseStyleSheet(url) {
1200
+ if (url) {
1201
+ return loadStyleSheet(url).replace(RE_COMMENT, EMPTY_STRING).replace(RE_IMPORT, function( match, quoteChar, importUrl ) {
1202
+ return parseStyleSheet(resolveUrl(importUrl, url));
1203
+ }).replace(RE_ASSET_URL, function( match, quoteChar, assetUrl ) {
1204
+ quoteChar = quoteChar || EMPTY_STRING;
1205
+ return " url(" + quoteChar + resolveUrl(assetUrl, url) + quoteChar + ") ";
1206
+ });
1207
+ }
1208
+ return EMPTY_STRING;
1209
+ }
1210
+
1211
+ // --[ init() ]---------------------------------------------------------
1212
+ return function () {
1213
+ // honour the <base> tag
1214
+ var url, stylesheet, i, j,
1215
+ baseTags = doc.getElementsByTagName("BASE"),
1216
+ baseUrl = (baseTags.length > 0) ? baseTags[0].href : doc.location.href,
1217
+ cssText, tree, flexers;
1218
+
1219
+ for (i = 0, j = doc.styleSheets.length; i < j; i++) {
1220
+ stylesheet = doc.styleSheets[i];
1221
+
1222
+ if (stylesheet && stylesheet.href !== NULL) {
1223
+ url = resolveUrl(stylesheet.href, baseUrl);
1224
+
1225
+ if (url) {
1226
+ cssText = patchStyleSheet(parseStyleSheet(url));
1227
+ tree = buildSelectorTree(cssText);
1228
+ flexers = findFlexboxElements(tree);
1229
+ }
1230
+ }
1231
+ }
1232
+
1233
+ buildFlexieCall(flexers);
1234
+ };
1235
+ }());
1236
+
1237
+ // Flexie box constructor
1238
+ FLX.box = function (params) {
1239
+ return this.renderModel(params);
1240
+ };
1241
+
1242
+ FLX.box.prototype = {
1243
+ properties : {
1244
+ boxModel : function (target, children, params) {
1245
+ var selector, stylesheet, paddingFix, generatedRules;
1246
+
1247
+ target.style.display = "block";
1248
+
1249
+ if (BROWSER.IE === 8) {
1250
+ target.style.overflow = "hidden";
1251
+ }
1252
+
1253
+ // We'll be using floats, so the easiest way to retain layout
1254
+ // is the dreaded clear fix:
1255
+ if (!params.cleared) {
1256
+ selectors = params.selector.split(/\s?,\s?/);
1257
+ stylesheet = doc.styleSheets;
1258
+ stylesheet = stylesheet[stylesheet.length - 1];
1259
+ paddingFix = "padding-top:" + (getComputedStyle(target, PADDING_TOP, NULL) || "0.1px;");
1260
+
1261
+ generatedRules = [
1262
+ "content: '.'",
1263
+ "display: block",
1264
+ "height: 0",
1265
+ "overflow: hidden"
1266
+ ].join(";");
1267
+
1268
+ forEach(selectors, function (i, selector) {
1269
+ if (stylesheet.addRule) {
1270
+ if (BROWSER.IE < 8) {
1271
+ target.style.zoom = "1";
1272
+
1273
+ if (BROWSER.IE === 6) {
1274
+ stylesheet.addRule(selector.replace(/\>|\+|\~/g, ""), paddingFix + "zoom:1;", 0);
1275
+ } else if (BROWSER.IE === 7) {
1276
+ stylesheet.addRule(selector, paddingFix + "display:inline-block;", 0);
1277
+ }
1278
+ } else {
1279
+ stylesheet.addRule(selector, paddingFix, 0);
1280
+ stylesheet.addRule(selector + ":before", generatedRules, 0);
1281
+ stylesheet.addRule(selector + ":after", generatedRules + ";clear:both;", 0);
1282
+ }
1283
+ } else if (stylesheet.insertRule) {
1284
+ stylesheet.insertRule(selector + "{" + paddingFix + "}", 0);
1285
+ stylesheet.insertRule(selector + ":after{" + generatedRules + ";clear:both;}", 0);
1286
+ }
1287
+ });
1288
+
1289
+ params.cleared = TRUE;
1290
+ }
1291
+ },
1292
+
1293
+ boxDirection : function (target, children, params) {
1294
+ var nestedSelector, nested;
1295
+
1296
+ if ((params.direction === "reverse" && !params.reversed) || (params.direction === "normal" && params.reversed)) {
1297
+ children = children.reverse();
1298
+
1299
+ forEach(children, function (i, kid) {
1300
+ target.appendChild(kid);
1301
+ });
1302
+
1303
+ // box-direction is inheritable.
1304
+ // We need to see if there are any nested flexbox elements
1305
+ nestedSelector = LIBRARY(params.nested);
1306
+
1307
+ forEach(nestedSelector, function (i, node) {
1308
+ nested = FLEX_BOXES[node.FLX_DOM_ID];
1309
+
1310
+ if (nested && nested.direction === INHERIT) {
1311
+ nested.direction = params.direction;
1312
+ }
1313
+ });
1314
+
1315
+ params.reversed = !params.reversed;
1316
+ }
1317
+ },
1318
+
1319
+ boxOrient : function (target, children, params) {
1320
+ var self = this, wide, high;
1321
+
1322
+ wide = {
1323
+ pos : "marginLeft",
1324
+ opp : "marginRight",
1325
+ dim : "width",
1326
+ out : "offsetWidth",
1327
+ func : clientWidth,
1328
+ pad : [PADDING_LEFT, PADDING_RIGHT, BORDER_LEFT, BORDER_RIGHT]
1329
+ };
1330
+
1331
+ high = {
1332
+ pos : "marginTop",
1333
+ opp : "marginBottom",
1334
+ dim : "height",
1335
+ out : "offsetHeight",
1336
+ func : clientHeight,
1337
+ pad : [PADDING_TOP, PADDING_BOTTOM, BORDER_TOP, BORDER_BOTTOM]
1338
+ };
1339
+
1340
+ if (!SUPPORT) {
1341
+ forEach(children, function (i, kid) {
1342
+ kid.style[(BROWSER.IE >= 9) ? "cssFloat" : "styleFloat"] = LEFT;
1343
+
1344
+ if (params.orient === VERTICAL || params.orient === BLOCK_AXIS) {
1345
+ kid.style.clear = LEFT;
1346
+ }
1347
+
1348
+ if (BROWSER.IE === 6) {
1349
+ kid.style.display = "inline";
1350
+ }
1351
+ });
1352
+ }
1353
+
1354
+ switch (params.orient) {
1355
+ case VERTICAL :
1356
+ case BLOCK_AXIS:
1357
+ self.props = high;
1358
+ self.anti = wide;
1359
+ break;
1360
+
1361
+ default :
1362
+ self.props = wide;
1363
+ self.anti = high;
1364
+ break;
1365
+ }
1366
+ },
1367
+
1368
+ boxOrdinalGroup : function (target, children, params) {
1369
+ var organizeChildren,
1370
+ matrix;
1371
+
1372
+ if (!children.length) {
1373
+ return;
1374
+ }
1375
+
1376
+ organizeChildren = function (matrix) {
1377
+ var keys = matrix.keys;
1378
+
1379
+ forEach(params.reversed ? keys : keys.reverse(), function (i, key) {
1380
+ forEach(children, function (i, kid) {
1381
+ if (key === kid.getAttribute("data-ordinal-group")) {
1382
+ target.appendChild(kid);
1383
+ }
1384
+ });
1385
+ });
1386
+ };
1387
+
1388
+ matrix = createMatchMatrix(params.children, children, TRUE);
1389
+
1390
+ if (matrix.keys.length > 1) {
1391
+ organizeChildren(matrix);
1392
+ }
1393
+ },
1394
+
1395
+ boxFlex : function (target, children, params) {
1396
+ var self = this,
1397
+ testForRestrictiveProperties,
1398
+ findTotalWhitespace,
1399
+ distributeRatio,
1400
+ matrix,
1401
+ restrict,
1402
+ whitespace,
1403
+ distro;
1404
+
1405
+ if (!children.length) {
1406
+ return;
1407
+ }
1408
+
1409
+ testForRestrictiveProperties = function (matrix) {
1410
+ var flexers = matrix.groups,
1411
+ keys = matrix.keys,
1412
+ max;
1413
+
1414
+ forEach(keys, function (i, key) {
1415
+ forEach(flexers[key], function (i, x) {
1416
+ max = NULL;
1417
+
1418
+ forEach(x.properties, function (i, rule) {
1419
+ if ((RESTRICTIVE_PROPERTIES).test(rule.property)) {
1420
+ max = parseFloat(rule.value);
1421
+ }
1422
+ });
1423
+
1424
+ if (!max || x.match[self.props.out] > max) {
1425
+ appendPixelValue(x.match, self.props.pos, NULL);
1426
+ }
1427
+
1428
+ });
1429
+ });
1430
+ };
1431
+
1432
+ findTotalWhitespace = function (matrix) {
1433
+ var groupDimension = 0,
1434
+ whitespace,
1435
+ ration;
1436
+
1437
+ forEach(children, function (i, kid) {
1438
+ groupDimension += getComputedStyle(kid, self.props.dim, TRUE);
1439
+
1440
+ forEach(self.props.pad, function (i, pad) {
1441
+ groupDimension += getComputedStyle(kid, pad, TRUE);
1442
+ });
1443
+
1444
+ groupDimension += getComputedStyle(kid, self.props.pos, TRUE);
1445
+ groupDimension += getComputedStyle(kid, self.props.opp, TRUE);
1446
+ });
1447
+
1448
+ whitespace = target[self.props.out] - groupDimension;
1449
+
1450
+ forEach(self.props.pad, function (i, pad) {
1451
+ whitespace -= getComputedStyle(target, pad, TRUE);
1452
+ });
1453
+
1454
+ ration = (whitespace / matrix.total);
1455
+
1456
+ return {
1457
+ whitespace : whitespace,
1458
+ ration : ration
1459
+ };
1460
+ };
1461
+
1462
+ distributeRatio = function (matrix, whitespace) {
1463
+ var flexers = matrix.groups,
1464
+ keys = matrix.keys,
1465
+ flex,
1466
+ specificity,
1467
+ ration = whitespace.ration,
1468
+ widthRation,
1469
+ trueDim,
1470
+ newDimension;
1471
+
1472
+ forEach(keys, function (i, key) {
1473
+ widthRation = (ration * key);
1474
+
1475
+ forEach(flexers[key], function (i, x) {
1476
+ if (x.match) {
1477
+ flex = x.match.getAttribute("data-flex");
1478
+ specificity = x.match.getAttribute("data-specificity");
1479
+
1480
+ if (!flex || (specificity <= x.flexSpecificity)) {
1481
+ x.match.setAttribute("data-flex", key);
1482
+ x.match.setAttribute("data-specificity", x.flexSpecificity);
1483
+
1484
+ trueDim = getComputedStyle(x.match, self.props.dim, TRUE);
1485
+ newDimension = Math.max(0, (trueDim + widthRation));
1486
+ appendPixelValue(x.match, self.props.dim, newDimension);
1487
+ }
1488
+ }
1489
+ });
1490
+ });
1491
+
1492
+ // Float drop fix
1493
+ // Test offset values. If different, let's bring the widow back
1494
+ if (params.orient === HORIZONTAL || params.orient === INLINE_AXIS) {
1495
+ floatDropFix(target, params, self);
1496
+ }
1497
+ };
1498
+
1499
+ matrix = createMatchMatrix(params.children, children, NULL);
1500
+
1501
+ if (matrix.total) {
1502
+ params.hasFlex = TRUE;
1503
+
1504
+ restrict = testForRestrictiveProperties(matrix);
1505
+ whitespace = findTotalWhitespace(matrix);
1506
+
1507
+ // Distribute the calculated ratios among the children
1508
+ distro = distributeRatio(matrix, whitespace);
1509
+ }
1510
+ },
1511
+
1512
+ boxAlign : function (target, children, params) {
1513
+ var self = this,
1514
+ targetDimension,
1515
+ kidDimension,
1516
+ flexCheck = parentFlex(target);
1517
+
1518
+ if (!SUPPORT && !flexCheck.flex && (params.orient === VERTICAL || params.orient === BLOCK_AXIS)) {
1519
+ if (!dimensionValues(target, self.anti.dim)) {
1520
+ appendPixelValue(target, self.anti.dim, NULL);
1521
+ }
1522
+ appendPixelValue(children, self.anti.dim, NULL);
1523
+ }
1524
+
1525
+ // Remove padding / border from target dimension
1526
+ targetDimension = target[self.anti.out];
1527
+ forEach(self.anti.pad, function (i, pad) {
1528
+ targetDimension -= getComputedStyle(target, pad, TRUE);
1529
+ });
1530
+
1531
+ switch (params.align) {
1532
+ case "start" :
1533
+ break;
1534
+
1535
+ case "end" :
1536
+ forEach(children, function (i, kid) {
1537
+ kidDimension = targetDimension - kid[self.anti.out];
1538
+ kidDimension -= getComputedStyle(kid, self.anti.opp, TRUE);
1539
+ appendPixelValue(kid, self.anti.pos, kidDimension);
1540
+ });
1541
+ break;
1542
+
1543
+ case "center" :
1544
+ forEach(children, function (i, kid) {
1545
+ kidDimension = (targetDimension - kid[self.anti.out]) / 2;
1546
+ appendPixelValue(kid, self.anti.pos, kidDimension);
1547
+ });
1548
+ break;
1549
+
1550
+ default :
1551
+ forEach(children, function (i, kid) {
1552
+ switch (kid.nodeName.toLowerCase()) {
1553
+ case "button" :
1554
+ case "input" :
1555
+ case "select" :
1556
+ break;
1557
+
1558
+ default :
1559
+ var subtract = 0;
1560
+
1561
+ forEach(self.anti.pad, function (i, pad) {
1562
+ subtract += getComputedStyle(kid, pad, TRUE);
1563
+ subtract += getComputedStyle(target, pad, TRUE);
1564
+ });
1565
+
1566
+ kid.style[self.anti.dim] = "100%";
1567
+ kidDimension = kid[self.anti.out] - subtract;
1568
+ appendPixelValue(kid, self.anti.dim, NULL);
1569
+
1570
+ kidDimension = targetDimension;
1571
+ kidDimension -= getComputedStyle(kid, self.anti.pos, TRUE);
1572
+
1573
+ forEach(self.anti.pad, function (i, pad) {
1574
+ kidDimension -= getComputedStyle(kid, pad, TRUE);
1575
+ });
1576
+
1577
+ kidDimension -= getComputedStyle(kid, self.anti.opp, TRUE);
1578
+ kidDimension = Math.max(0, kidDimension);
1579
+
1580
+ appendPixelValue(kid, self.anti.dim, kidDimension);
1581
+ break;
1582
+ }
1583
+ });
1584
+ break;
1585
+ }
1586
+ },
1587
+
1588
+ boxPack : function (target, children, params) {
1589
+ var self = this,
1590
+ groupDimension = 0,
1591
+ firstComputedMargin = 0,
1592
+ targetPadding = 0,
1593
+ totalDimension,
1594
+ fractionedDimension,
1595
+ currentDimension,
1596
+ remainder,
1597
+ length = children.length - 1,
1598
+ kid;
1599
+
1600
+ forEach(children, function (i, kid) {
1601
+ groupDimension += kid[self.props.out];
1602
+ groupDimension += getComputedStyle(kid, self.props.pos, TRUE);
1603
+ groupDimension += getComputedStyle(kid, self.props.opp, TRUE);
1604
+ });
1605
+
1606
+ firstComputedMargin = getComputedStyle(children[0], self.props.pos, TRUE);
1607
+ totalDimension = target[self.props.out] - groupDimension;
1608
+
1609
+ // Remove padding / border from target dimension
1610
+ forEach(self.props.pad, function (i, pad) {
1611
+ totalDimension -= getComputedStyle(target, pad, TRUE);
1612
+ });
1613
+
1614
+ // If totalDimension is less than 0, we have a problem...
1615
+ if (totalDimension < 0) {
1616
+ totalDimension = Math.max(0, totalDimension);
1617
+ }
1618
+
1619
+ switch (params.pack) {
1620
+ case "end" :
1621
+ appendPixelValue(children[0], self.props.pos, targetPadding + firstComputedMargin + totalDimension);
1622
+ break;
1623
+
1624
+ case "center" :
1625
+ if (targetPadding) {
1626
+ targetPadding /= 2;
1627
+ }
1628
+
1629
+ appendPixelValue(children[0], self.props.pos, targetPadding + firstComputedMargin + (totalDimension / 2));
1630
+ break;
1631
+
1632
+ case "justify" :
1633
+ fractionedDimension = Math.floor((targetPadding + totalDimension) / length);
1634
+ remainder = (fractionedDimension * length) - totalDimension;
1635
+
1636
+ var i = children.length - 1,
1637
+ value;
1638
+
1639
+ while (i) {
1640
+ kid = children[i];
1641
+ currentDimension = fractionedDimension;
1642
+
1643
+ if (remainder) {
1644
+ currentDimension++;
1645
+ remainder++;
1646
+ }
1647
+
1648
+ value = getComputedStyle(kid, self.props.pos, TRUE) + currentDimension;
1649
+ appendPixelValue(kid, self.props.pos, value);
1650
+
1651
+ i--;
1652
+ }
1653
+
1654
+ break;
1655
+ }
1656
+
1657
+ // Float drop fix
1658
+ // Test offset values. If different, let's bring the widow back
1659
+ if ((params.pack === "end" || params.pack === "justify") && (params.orient === HORIZONTAL || params.orient === INLINE_AXIS)) {
1660
+ floatDropFix(target, params, self);
1661
+ }
1662
+
1663
+ target.style.overflow = "";
1664
+ }
1665
+ },
1666
+
1667
+ setup : function (target, children, params) {
1668
+ var self = this, matrix, flexCheck;
1669
+
1670
+ if (!target || !children || !params) {
1671
+ return;
1672
+ }
1673
+
1674
+ if (SUPPORT && SUPPORT.partialSupport) {
1675
+ matrix = createMatchMatrix(params.children, children, NULL);
1676
+ flexCheck = parentFlex(target);
1677
+ children = sanitizeChildren(target, target.childNodes);
1678
+
1679
+ self.properties.boxOrient.call(self, target, children, params);
1680
+
1681
+ if (!matrix.total || !LIBRARY(params.nested).length) {
1682
+ if ((params.align === "stretch") && !SUPPORT.boxAlignStretch && (!flexCheck.nested || !flexCheck.flex)) {
1683
+ self.properties.boxAlign.call(self, target, children, params);
1684
+ }
1685
+
1686
+ if ((params.pack === "justify") && !SUPPORT.boxPackJustify && !matrix.total) {
1687
+ self.properties.boxPack.call(self, target, children, params);
1688
+ }
1689
+ }
1690
+ } else if (!SUPPORT) {
1691
+ forEach(self.properties, function (key, func) {
1692
+ func.call(self, target, sanitizeChildren(target, target.childNodes), params);
1693
+ });
1694
+ }
1695
+ },
1696
+
1697
+ trackDOM : function (params) {
1698
+ attachResizeListener(this, params);
1699
+ },
1700
+
1701
+ updateModel : function (params) {
1702
+ var self = this,
1703
+ target = params.target,
1704
+ children = params.nodes;
1705
+
1706
+ // Null properties
1707
+ cleanPositioningProperties(children);
1708
+
1709
+ if (params.flexMatrix || params.ordinalMatrix) {
1710
+ params = updateChildValues(params);
1711
+ }
1712
+
1713
+ self.setup(target, children, params);
1714
+ self.bubbleUp(target, params);
1715
+ },
1716
+
1717
+ renderModel : function (params) {
1718
+ var self = this,
1719
+ target = params.target,
1720
+ nodes = target.childNodes;
1721
+
1722
+ // Sanity check.
1723
+ if (!target.length && !nodes) {
1724
+ return false;
1725
+ }
1726
+
1727
+ params = ensureStructuralIntegrity(params, this);
1728
+
1729
+ // Setup properties
1730
+ self.updateModel(params);
1731
+
1732
+ // Resize / DOM Polling Events
1733
+ // Delay for an instant because IE6 is insane.
1734
+ win.setTimeout(function () {
1735
+ self.trackDOM(params);
1736
+ }, 0);
1737
+
1738
+ return self;
1739
+ },
1740
+
1741
+ bubbleUp : function (target, params) {
1742
+ var self = this, flex,
1743
+ parent = params.target.parentNode;
1744
+
1745
+ while (parent) {
1746
+ flex = FLEX_BOXES[parent.FLX_DOM_ID];
1747
+
1748
+ if (flex) {
1749
+ cleanPositioningProperties(flex.nodes);
1750
+ self.setup(flex.target, flex.nodes, flex);
1751
+ }
1752
+
1753
+ parent = parent.parentNode;
1754
+ }
1755
+ }
1756
+ };
1757
+
1758
+ FLX.updateInstance = function (target, params) {
1759
+ var box;
1760
+
1761
+ if (target) {
1762
+ box = FLEX_BOXES[target.FLX_DOM_ID];
1763
+
1764
+ if (box) {
1765
+ box._instance.updateModel(box);
1766
+ } else {
1767
+ box = new FLX.box(params);
1768
+ }
1769
+ } else {
1770
+ forEach(FLEX_BOXES, function (i, box) {
1771
+ box._instance.updateModel(box);
1772
+ });
1773
+ }
1774
+ };
1775
+
1776
+ FLX.getInstance = function (target) {
1777
+ return FLEX_BOXES[target.FLX_DOM_ID];
1778
+ };
1779
+
1780
+ FLX.destroyInstance = function (target) {
1781
+ var box,
1782
+ destroy;
1783
+
1784
+ destroy = function (box) {
1785
+ box.target.FLX_DOM_ID = NULL;
1786
+ box.target.style.cssText = EMPTY_STRING;
1787
+
1788
+ forEach(box.children, function (i, x) {
1789
+ x.match.style.cssText = EMPTY_STRING;
1790
+ });
1791
+ };
1792
+
1793
+ if (target) {
1794
+ box = FLEX_BOXES[target.FLX_DOM_ID];
1795
+
1796
+ if (box) {
1797
+ destroy(box);
1798
+ }
1799
+ } else {
1800
+ forEach(FLEX_BOXES, function (i, box) {
1801
+ destroy(box);
1802
+ });
1803
+
1804
+ FLEX_BOXES = [];
1805
+ }
1806
+ };
1807
+
1808
+ FLX.flexboxSupport = function () {
1809
+ var partialSupportGrid = {},
1810
+ height = 100,
1811
+ childHeight,
1812
+ dummy = doc.createElement("flxbox"),
1813
+ child = '<b style="margin: 0; padding: 0; display:block; width: 10px; height:' + (height / 2) + 'px"></b>',
1814
+ tests,
1815
+ result;
1816
+
1817
+ dummy.style.width = dummy.style.height = height + "px";
1818
+ dummy.innerHTML = (child + child + child);
1819
+
1820
+ appendProperty(dummy, "display", "box", NULL);
1821
+ appendProperty(dummy, "box-align", "stretch", TRUE);
1822
+ appendProperty(dummy, "box-pack", "justify", TRUE);
1823
+
1824
+ doc.body.appendChild(dummy);
1825
+ childHeight = dummy.firstChild.offsetHeight;
1826
+
1827
+ tests = {
1828
+ boxAlignStretch : function () {
1829
+ return (childHeight === 100);
1830
+ },
1831
+
1832
+ boxPackJustify : function () {
1833
+ var totalOffset = 0;
1834
+
1835
+ forEach(dummy.childNodes, function (i, child) {
1836
+ totalOffset += child.offsetLeft;
1837
+ });
1838
+
1839
+ return (totalOffset === 135);
1840
+ }
1841
+ };
1842
+
1843
+ forEach(tests, function (key, value) {
1844
+ result = value();
1845
+
1846
+ if (!result) {
1847
+ partialSupportGrid.partialSupport = TRUE;
1848
+ }
1849
+
1850
+ partialSupportGrid[key] = result;
1851
+ });
1852
+
1853
+ doc.body.removeChild(dummy);
1854
+ return ~ (dummy.style.display).indexOf("box") ? partialSupportGrid : FALSE;
1855
+ };
1856
+
1857
+ FLX.init = function () {
1858
+ FLX.flexboxSupported = SUPPORT = FLX.flexboxSupport();
1859
+
1860
+ if ((!SUPPORT || SUPPORT.partialSupport) && LIBRARY) {
1861
+ selectivizrEngine();
1862
+ }
1863
+ };
1864
+
1865
+ // Flexie Version
1866
+ FLX.version = 1.0;
1867
+
1868
+ // Load when the DOM is ready
1869
+ attachLoadMethod(FLX.init);
1870
+
1871
+ return FLX;
1872
+ }(this, document));