html5-now-rails 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (213) hide show
  1. data/.document +5 -0
  2. data/.rspec +1 -0
  3. data/Gemfile +11 -0
  4. data/Gemfile.lock +37 -0
  5. data/LICENSE.txt +20 -0
  6. data/README.md +31 -0
  7. data/Rakefile +49 -0
  8. data/VERSION +1 -0
  9. data/html5-now-rails.gemspec +263 -0
  10. data/lib/html5-now-rails.rb +6 -0
  11. data/spec/html5-now-rails_spec.rb +7 -0
  12. data/spec/spec_helper.rb +12 -0
  13. data/vendor/assets/images/html5-now/themes/aero/7/dropdown.png +0 -0
  14. data/vendor/assets/images/html5-now/themes/aero/7/progressbar-vertical.png +0 -0
  15. data/vendor/assets/images/html5-now/themes/aero/7/progressbar.png +0 -0
  16. data/vendor/assets/images/html5-now/themes/aero/7/slider-vertical.png +0 -0
  17. data/vendor/assets/images/html5-now/themes/aero/7/slider.png +0 -0
  18. data/vendor/assets/images/html5-now/themes/aero/7/spinner.png +0 -0
  19. data/vendor/assets/images/html5-now/themes/aero/dropdown.png +0 -0
  20. data/vendor/assets/images/html5-now/themes/aero/progressbar-vertical.png +0 -0
  21. data/vendor/assets/images/html5-now/themes/aero/progressbar.png +0 -0
  22. data/vendor/assets/images/html5-now/themes/aero/slider-vertical.png +0 -0
  23. data/vendor/assets/images/html5-now/themes/aero/slider.png +0 -0
  24. data/vendor/assets/images/html5-now/themes/aero/spinner.png +0 -0
  25. data/vendor/assets/images/html5-now/themes/aqua/bg-colorpicker-disabled.png +0 -0
  26. data/vendor/assets/images/html5-now/themes/aqua/bg-colorpicker.png +0 -0
  27. data/vendor/assets/images/html5-now/themes/aqua/bg-dropdown-disabled.png +0 -0
  28. data/vendor/assets/images/html5-now/themes/aqua/bg-dropdown.png +0 -0
  29. data/vendor/assets/images/html5-now/themes/aqua/colorpicker-disabled.png +0 -0
  30. data/vendor/assets/images/html5-now/themes/aqua/colorpicker.png +0 -0
  31. data/vendor/assets/images/html5-now/themes/aqua/dropdown-disabled.png +0 -0
  32. data/vendor/assets/images/html5-now/themes/aqua/dropdown.png +0 -0
  33. data/vendor/assets/images/html5-now/themes/aqua/metal.png +0 -0
  34. data/vendor/assets/images/html5-now/themes/aqua/progressbar-vertical.png +0 -0
  35. data/vendor/assets/images/html5-now/themes/aqua/progressbar.png +0 -0
  36. data/vendor/assets/images/html5-now/themes/aqua/slider-vertical.png +0 -0
  37. data/vendor/assets/images/html5-now/themes/aqua/slider.png +0 -0
  38. data/vendor/assets/images/html5-now/themes/aqua/spinner.png +0 -0
  39. data/vendor/assets/images/html5-now/themes/classic/brick/dropdown.png +0 -0
  40. data/vendor/assets/images/html5-now/themes/classic/brick/progressbar-vertical.png +0 -0
  41. data/vendor/assets/images/html5-now/themes/classic/brick/progressbar.png +0 -0
  42. data/vendor/assets/images/html5-now/themes/classic/brick/slider-vertical.png +0 -0
  43. data/vendor/assets/images/html5-now/themes/classic/brick/slider.png +0 -0
  44. data/vendor/assets/images/html5-now/themes/classic/brick/spinner.png +0 -0
  45. data/vendor/assets/images/html5-now/themes/classic/contrast/black/dropdown.png +0 -0
  46. data/vendor/assets/images/html5-now/themes/classic/contrast/black/progressbar-vertical.png +0 -0
  47. data/vendor/assets/images/html5-now/themes/classic/contrast/black/progressbar.png +0 -0
  48. data/vendor/assets/images/html5-now/themes/classic/contrast/black/slider-vertical.png +0 -0
  49. data/vendor/assets/images/html5-now/themes/classic/contrast/black/slider.png +0 -0
  50. data/vendor/assets/images/html5-now/themes/classic/contrast/black/spinner.png +0 -0
  51. data/vendor/assets/images/html5-now/themes/classic/contrast/high1/dropdown.png +0 -0
  52. data/vendor/assets/images/html5-now/themes/classic/contrast/high1/progressbar-vertical.png +0 -0
  53. data/vendor/assets/images/html5-now/themes/classic/contrast/high1/progressbar.png +0 -0
  54. data/vendor/assets/images/html5-now/themes/classic/contrast/high1/slider-vertical.png +0 -0
  55. data/vendor/assets/images/html5-now/themes/classic/contrast/high1/slider.png +0 -0
  56. data/vendor/assets/images/html5-now/themes/classic/contrast/high1/spinner.png +0 -0
  57. data/vendor/assets/images/html5-now/themes/classic/contrast/high2/dropdown.png +0 -0
  58. data/vendor/assets/images/html5-now/themes/classic/contrast/high2/progressbar-vertical.png +0 -0
  59. data/vendor/assets/images/html5-now/themes/classic/contrast/high2/progressbar.png +0 -0
  60. data/vendor/assets/images/html5-now/themes/classic/contrast/high2/slider-vertical.png +0 -0
  61. data/vendor/assets/images/html5-now/themes/classic/contrast/high2/slider.png +0 -0
  62. data/vendor/assets/images/html5-now/themes/classic/contrast/high2/spinner.png +0 -0
  63. data/vendor/assets/images/html5-now/themes/classic/contrast/white/dropdown.png +0 -0
  64. data/vendor/assets/images/html5-now/themes/classic/contrast/white/progressbar-vertical.png +0 -0
  65. data/vendor/assets/images/html5-now/themes/classic/contrast/white/progressbar.png +0 -0
  66. data/vendor/assets/images/html5-now/themes/classic/contrast/white/slider-vertical.png +0 -0
  67. data/vendor/assets/images/html5-now/themes/classic/contrast/white/slider.png +0 -0
  68. data/vendor/assets/images/html5-now/themes/classic/contrast/white/spinner.png +0 -0
  69. data/vendor/assets/images/html5-now/themes/classic/desert/dropdown.png +0 -0
  70. data/vendor/assets/images/html5-now/themes/classic/desert/progressbar-vertical.png +0 -0
  71. data/vendor/assets/images/html5-now/themes/classic/desert/progressbar.png +0 -0
  72. data/vendor/assets/images/html5-now/themes/classic/desert/slider-vertical.png +0 -0
  73. data/vendor/assets/images/html5-now/themes/classic/desert/slider.png +0 -0
  74. data/vendor/assets/images/html5-now/themes/classic/desert/spinner.png +0 -0
  75. data/vendor/assets/images/html5-now/themes/classic/dropdown.png +0 -0
  76. data/vendor/assets/images/html5-now/themes/classic/eggplant/dropdown.png +0 -0
  77. data/vendor/assets/images/html5-now/themes/classic/eggplant/progressbar-vertical.png +0 -0
  78. data/vendor/assets/images/html5-now/themes/classic/eggplant/progressbar.png +0 -0
  79. data/vendor/assets/images/html5-now/themes/classic/eggplant/slider-vertical.png +0 -0
  80. data/vendor/assets/images/html5-now/themes/classic/eggplant/slider.png +0 -0
  81. data/vendor/assets/images/html5-now/themes/classic/eggplant/spinner.png +0 -0
  82. data/vendor/assets/images/html5-now/themes/classic/lilac/dropdown.png +0 -0
  83. data/vendor/assets/images/html5-now/themes/classic/lilac/progressbar-vertical.png +0 -0
  84. data/vendor/assets/images/html5-now/themes/classic/lilac/progressbar.png +0 -0
  85. data/vendor/assets/images/html5-now/themes/classic/lilac/slider-vertical.png +0 -0
  86. data/vendor/assets/images/html5-now/themes/classic/lilac/slider.png +0 -0
  87. data/vendor/assets/images/html5-now/themes/classic/lilac/spinner.png +0 -0
  88. data/vendor/assets/images/html5-now/themes/classic/maple/dropdown.png +0 -0
  89. data/vendor/assets/images/html5-now/themes/classic/maple/progressbar-vertical.png +0 -0
  90. data/vendor/assets/images/html5-now/themes/classic/maple/progressbar.png +0 -0
  91. data/vendor/assets/images/html5-now/themes/classic/maple/slider-vertical.png +0 -0
  92. data/vendor/assets/images/html5-now/themes/classic/maple/slider.png +0 -0
  93. data/vendor/assets/images/html5-now/themes/classic/maple/spinner.png +0 -0
  94. data/vendor/assets/images/html5-now/themes/classic/marine/dropdown.png +0 -0
  95. data/vendor/assets/images/html5-now/themes/classic/marine/progressbar-vertical.png +0 -0
  96. data/vendor/assets/images/html5-now/themes/classic/marine/progressbar.png +0 -0
  97. data/vendor/assets/images/html5-now/themes/classic/marine/slider-vertical.png +0 -0
  98. data/vendor/assets/images/html5-now/themes/classic/marine/slider.png +0 -0
  99. data/vendor/assets/images/html5-now/themes/classic/marine/spinner.png +0 -0
  100. data/vendor/assets/images/html5-now/themes/classic/plum/dropdown.png +0 -0
  101. data/vendor/assets/images/html5-now/themes/classic/plum/progressbar-vertical.png +0 -0
  102. data/vendor/assets/images/html5-now/themes/classic/plum/progressbar.png +0 -0
  103. data/vendor/assets/images/html5-now/themes/classic/plum/slider-vertical.png +0 -0
  104. data/vendor/assets/images/html5-now/themes/classic/plum/slider.png +0 -0
  105. data/vendor/assets/images/html5-now/themes/classic/plum/spinner.png +0 -0
  106. data/vendor/assets/images/html5-now/themes/classic/progressbar-vertical.png +0 -0
  107. data/vendor/assets/images/html5-now/themes/classic/progressbar.png +0 -0
  108. data/vendor/assets/images/html5-now/themes/classic/pumpkin/dropdown.png +0 -0
  109. data/vendor/assets/images/html5-now/themes/classic/pumpkin/progressbar-vertical.png +0 -0
  110. data/vendor/assets/images/html5-now/themes/classic/pumpkin/progressbar.png +0 -0
  111. data/vendor/assets/images/html5-now/themes/classic/pumpkin/slider-vertical.png +0 -0
  112. data/vendor/assets/images/html5-now/themes/classic/pumpkin/slider.png +0 -0
  113. data/vendor/assets/images/html5-now/themes/classic/pumpkin/spinner.png +0 -0
  114. data/vendor/assets/images/html5-now/themes/classic/rainyday/dropdown.png +0 -0
  115. data/vendor/assets/images/html5-now/themes/classic/rainyday/progressbar-vertical.png +0 -0
  116. data/vendor/assets/images/html5-now/themes/classic/rainyday/progressbar.png +0 -0
  117. data/vendor/assets/images/html5-now/themes/classic/rainyday/slider-vertical.png +0 -0
  118. data/vendor/assets/images/html5-now/themes/classic/rainyday/slider.png +0 -0
  119. data/vendor/assets/images/html5-now/themes/classic/rainyday/spinner.png +0 -0
  120. data/vendor/assets/images/html5-now/themes/classic/rose/dropdown.png +0 -0
  121. data/vendor/assets/images/html5-now/themes/classic/rose/progressbar-vertical.png +0 -0
  122. data/vendor/assets/images/html5-now/themes/classic/rose/progressbar.png +0 -0
  123. data/vendor/assets/images/html5-now/themes/classic/rose/slider-vertical.png +0 -0
  124. data/vendor/assets/images/html5-now/themes/classic/rose/slider.png +0 -0
  125. data/vendor/assets/images/html5-now/themes/classic/rose/spinner.png +0 -0
  126. data/vendor/assets/images/html5-now/themes/classic/slate/dropdown.png +0 -0
  127. data/vendor/assets/images/html5-now/themes/classic/slate/progressbar-vertical.png +0 -0
  128. data/vendor/assets/images/html5-now/themes/classic/slate/progressbar.png +0 -0
  129. data/vendor/assets/images/html5-now/themes/classic/slate/slider-vertical.png +0 -0
  130. data/vendor/assets/images/html5-now/themes/classic/slate/slider.png +0 -0
  131. data/vendor/assets/images/html5-now/themes/classic/slate/spinner.png +0 -0
  132. data/vendor/assets/images/html5-now/themes/classic/slider-vertical.png +0 -0
  133. data/vendor/assets/images/html5-now/themes/classic/slider.png +0 -0
  134. data/vendor/assets/images/html5-now/themes/classic/spinner.png +0 -0
  135. data/vendor/assets/images/html5-now/themes/classic/spruce/dropdown.png +0 -0
  136. data/vendor/assets/images/html5-now/themes/classic/spruce/progressbar-vertical.png +0 -0
  137. data/vendor/assets/images/html5-now/themes/classic/spruce/progressbar.png +0 -0
  138. data/vendor/assets/images/html5-now/themes/classic/spruce/slider-vertical.png +0 -0
  139. data/vendor/assets/images/html5-now/themes/classic/spruce/slider.png +0 -0
  140. data/vendor/assets/images/html5-now/themes/classic/spruce/spinner.png +0 -0
  141. data/vendor/assets/images/html5-now/themes/classic/standard/dropdown.png +0 -0
  142. data/vendor/assets/images/html5-now/themes/classic/standard/progressbar-vertical.png +0 -0
  143. data/vendor/assets/images/html5-now/themes/classic/standard/progressbar.png +0 -0
  144. data/vendor/assets/images/html5-now/themes/classic/standard/slider-vertical.png +0 -0
  145. data/vendor/assets/images/html5-now/themes/classic/standard/slider.png +0 -0
  146. data/vendor/assets/images/html5-now/themes/classic/standard/spinner.png +0 -0
  147. data/vendor/assets/images/html5-now/themes/classic/wheat/dropdown.png +0 -0
  148. data/vendor/assets/images/html5-now/themes/classic/wheat/progressbar-vertical.png +0 -0
  149. data/vendor/assets/images/html5-now/themes/classic/wheat/progressbar.png +0 -0
  150. data/vendor/assets/images/html5-now/themes/classic/wheat/slider-vertical.png +0 -0
  151. data/vendor/assets/images/html5-now/themes/classic/wheat/slider.png +0 -0
  152. data/vendor/assets/images/html5-now/themes/classic/wheat/spinner.png +0 -0
  153. data/vendor/assets/images/html5-now/themes/clearlooks/dropdown.png +0 -0
  154. data/vendor/assets/images/html5-now/themes/clearlooks/progressbar-vertical.png +0 -0
  155. data/vendor/assets/images/html5-now/themes/clearlooks/progressbar.png +0 -0
  156. data/vendor/assets/images/html5-now/themes/clearlooks/slider-vertical.png +0 -0
  157. data/vendor/assets/images/html5-now/themes/clearlooks/slider.png +0 -0
  158. data/vendor/assets/images/html5-now/themes/clearlooks/spinner.png +0 -0
  159. data/vendor/assets/images/html5-now/themes/default/dropdown.png +0 -0
  160. data/vendor/assets/images/html5-now/themes/default/progressbar-vertical.png +0 -0
  161. data/vendor/assets/images/html5-now/themes/default/progressbar.png +0 -0
  162. data/vendor/assets/images/html5-now/themes/default/slider-vertical.png +0 -0
  163. data/vendor/assets/images/html5-now/themes/default/slider.png +0 -0
  164. data/vendor/assets/images/html5-now/themes/default/spinner.png +0 -0
  165. data/vendor/assets/images/html5-now/themes/human/dropdown.png +0 -0
  166. data/vendor/assets/images/html5-now/themes/human/progressbar-vertical.png +0 -0
  167. data/vendor/assets/images/html5-now/themes/human/progressbar.png +0 -0
  168. data/vendor/assets/images/html5-now/themes/human/slider-vertical.png +0 -0
  169. data/vendor/assets/images/html5-now/themes/human/slider.png +0 -0
  170. data/vendor/assets/images/html5-now/themes/human/spinner.png +0 -0
  171. data/vendor/assets/images/html5-now/themes/luna/blue/dropdown.png +0 -0
  172. data/vendor/assets/images/html5-now/themes/luna/blue/progressbar-vertical.png +0 -0
  173. data/vendor/assets/images/html5-now/themes/luna/blue/progressbar.png +0 -0
  174. data/vendor/assets/images/html5-now/themes/luna/blue/slider-vertical.png +0 -0
  175. data/vendor/assets/images/html5-now/themes/luna/blue/slider.png +0 -0
  176. data/vendor/assets/images/html5-now/themes/luna/blue/spinner.png +0 -0
  177. data/vendor/assets/images/html5-now/themes/luna/olive/dropdown.png +0 -0
  178. data/vendor/assets/images/html5-now/themes/luna/olive/progressbar-vertical.png +0 -0
  179. data/vendor/assets/images/html5-now/themes/luna/olive/progressbar.png +0 -0
  180. data/vendor/assets/images/html5-now/themes/luna/olive/slider-vertical.png +0 -0
  181. data/vendor/assets/images/html5-now/themes/luna/olive/slider.png +0 -0
  182. data/vendor/assets/images/html5-now/themes/luna/olive/spinner.png +0 -0
  183. data/vendor/assets/images/html5-now/themes/luna/silver/dropdown.png +0 -0
  184. data/vendor/assets/images/html5-now/themes/luna/silver/progressbar-vertical.png +0 -0
  185. data/vendor/assets/images/html5-now/themes/luna/silver/progressbar.png +0 -0
  186. data/vendor/assets/images/html5-now/themes/luna/silver/slider-vertical.png +0 -0
  187. data/vendor/assets/images/html5-now/themes/luna/silver/slider.png +0 -0
  188. data/vendor/assets/images/html5-now/themes/luna/silver/spinner.png +0 -0
  189. data/vendor/assets/images/html5-now/themes/royale/dropdown.png +0 -0
  190. data/vendor/assets/images/html5-now/themes/royale/progressbar-vertical.png +0 -0
  191. data/vendor/assets/images/html5-now/themes/royale/progressbar.png +0 -0
  192. data/vendor/assets/images/html5-now/themes/royale/slider-vertical.png +0 -0
  193. data/vendor/assets/images/html5-now/themes/royale/slider.png +0 -0
  194. data/vendor/assets/images/html5-now/themes/royale/spinner.png +0 -0
  195. data/vendor/assets/images/html5-now/themes/s/progressbar-vertical.png +0 -0
  196. data/vendor/assets/images/html5-now/themes/s/progressbar.png +0 -0
  197. data/vendor/assets/images/html5-now/themes/s/slider-vertical.png +0 -0
  198. data/vendor/assets/images/html5-now/themes/s/slider.png +0 -0
  199. data/vendor/assets/images/html5-now/themes/zune/dropdown.png +0 -0
  200. data/vendor/assets/images/html5-now/themes/zune/progressbar-vertical.png +0 -0
  201. data/vendor/assets/images/html5-now/themes/zune/progressbar.png +0 -0
  202. data/vendor/assets/images/html5-now/themes/zune/slider-vertical.png +0 -0
  203. data/vendor/assets/images/html5-now/themes/zune/slider.png +0 -0
  204. data/vendor/assets/images/html5-now/themes/zune/spinner.png +0 -0
  205. data/vendor/assets/javascripts/html5-now/canvas.js +9 -0
  206. data/vendor/assets/javascripts/html5-now/dimensions.htc +7 -0
  207. data/vendor/assets/javascripts/html5-now/expressInstall.swf +0 -0
  208. data/vendor/assets/javascripts/html5-now/forms.js +9 -0
  209. data/vendor/assets/javascripts/html5-now/html5-now.js +9 -0
  210. data/vendor/assets/javascripts/html5-now/media.js +9 -0
  211. data/vendor/assets/javascripts/html5-now/player.swf +0 -0
  212. data/vendor/assets/javascripts/html5-now/rm.js +9 -0
  213. metadata +342 -0
@@ -0,0 +1,9 @@
1
+ /*
2
+ base2 - copyright 2007-2009, Dean Edwards
3
+ http://code.google.com/p/base2/
4
+ http://www.opensource.org/licenses/mit-license.php
5
+
6
+ Contributors:
7
+ Doeke Zanstra
8
+ */
9
+ new function(_9){var rm=new base2.Package(this,{name:"rm",version:"0.1",imports:"Function2,dom,jsb",exports:"template,add,remove,moveup,movedown",parent:jsb});eval(this.imports);jsb.createStyleSheet({"[repeat=template],.jsb-template":{display:"none!"}});var _5=0,_0=1,_1=2;var _6=/(<\/?):/g,_7=/[\[\u02d1\u00b7\]]/,_4=Math.pow(2,32)-1,_8=/([\/(){}|*+-.,^$?\\])/g;function _2(b,a,c){return template.dispatchEvent(b,a,{element:c})};function _3(b){var a=DocumentEvent.createEvent(document,"Events");a.initEvent("BlocksModified",false,false);this.dispatchEvent(b.parentNode,a)};var element=behavior.extend({"repeat-min":0,"repeat-max":_4,"repeat-start":1,indexes:{},addRepetitionBlock:function(a,c){assertArity(arguments);if(!this.isTemplate(a))return null;var e=0;var d=a;while((d=d.previousSibling)){if(this.getRepetitionTemplate(d)==a){if(this.getRepetitionIndex(d)>=this.getRepetitionIndex(a)){this.setRepetitionIndex(a,this.getRepetitionIndex(d)+1)}e++}}if(e>=this.get(a,"repeat-max")){return null}var d=a.cloneNode(true);var g=_7.test(a.id)?"":a.id;if(g){var l;var i=g.replace(_8,"\\$1");var j=new RegExp("[\\[\\u02d1]"+i+"[\\u00b7\\]]","g");var k=this.getRepetitionIndex(a);var f=document.createElement("div");if(a.nodeName=="TR"){var h=document.createElement("table");h.appendChild(d);f.appendChild(h)}else{f.appendChild(d)}f.innerHTML=f.innerHTML.replace(_6,"$1html:").replace(j,k);d=f.getElementsByTagName(a.nodeName)[0];d.setAttribute("repeat-template",g);d.removeAttribute("id")}d.removeAttribute("repeat-start");d.removeAttribute("repeat-min");d.removeAttribute("repeat-max");d.setAttribute("repeat",String(this.getRepetitionIndex(a)));if(c==null){c=a;while(c.previousSibling&&!this.isBlock(c.previousSibling)){c=c.previousSibling}}else{c=c.nextSibling}d.style.display="";ClassList.remove(d,"jsb-template");ClassList.remove(d,"html5-template");forEach(this.querySelectorAll(d,"input[autofocus],textarea[autofocus],select[autofocus]"),function(b){b.removeAttribute("autofocus")});c.parentNode.insertBefore(d,c);this.setRepetitionIndex(a,this.getRepetitionIndex(a)+1);_2(a,"added",d);return d},moveRepetitionBlock:function(b,a){assertArity(arguments);if(!a||!this.isBlock(b))return;var c=b;var e=this.getRepetitionTemplate(b);if(a<0){while(a<0&&c.previousSibling&&!this.isTemplate(c)){c=c.previousSibling;if(this.isBlock(c)){a++}}}else{while(a>0&&c.nextSibling&&!this.isTemplate(c)){c=c.nextSibling;if(this.isBlock(c)){a--}}c=c.nextSibling}b.parentNode.insertBefore(b,c);if(e){_2(e,"moved",b)}},removeRepetitionBlock:function(b){assertArity(arguments);var a=this.getRepetitionTemplate(b);b.parentNode.removeChild(b);if(a){_2(a,"removed",b);var c=this.get(a,"repeat-min"),e=this.getRepetitionBlocks(a).length;while(e++<c){this.addRepetitionBlock(a,null)}}},isBlock:function(b){return this.getRepetitionType(b)==_1},isTemplate:function(b){return this.getRepetitionType(b)==_0},getRepetitionBlocks:function(b){var a={length:0};var c=b.parentNode.firstChild;while(c){if(this.getRepetitionTemplate(c)==b){a[a.length++]=c}c=c.nextSibling}return a},getRepetitionType:function(b){if(b&&b.nodeType==1){var a=this.get(b,"repeat");if(a=="template"){return _0}if(a!==""&&a!==null&&!isNaN(a)&&a>=0&&a<_4){return _1}}return _5},getRepetitionIndex:function(b){switch(this.getRepetitionType(b)){case _0:return this.indexes[b.uniqueID]||0;case _1:return Number(this.get(b,"repeat"));default:return 0}},setRepetitionIndex:function(b,a){switch(this.getRepetitionType(b)){case _0:this.indexes[b.uniqueID]=a;break;case _1:this.set(b,"repeat",a);break}return a},getRepetitionTemplate:function(b){if(this.isBlock(b)){if(this.hasAttribute(b,"repeat-template")){var a=document.getElementById(this.get(b,"repeat-template"))}else{a=b;while((a=a.nextSibling)&&!this.isTemplate(a)){continue}}if(a&&this.isTemplate(a)){return a}}return null}});var template=element.extend({onattach:function(b){b.style.display="none";var a=this.get(b,"repeat-min"),c=this.get(b,"repeat-start"),e=0;while(e++<c){this.addRepetitionBlock(b,null)}e=this.getRepetitionBlocks(b).length;while(e++<a){this.addRepetitionBlock(b,null)}},onadded:_3,onmoved:_3,onremoved:_3});var button=element.extend({getBlock:function(b){var a=b;while(a&&!this.isBlock(a)){a=a.parentNode}return a}});var add=button.extend({onattach:function(b){if(this.hasAttribute(b,"template")){var a=this.getHtmlTemplate(b)}else{var c=this.getBlock(b);if(c){a=this.getRepetitionTemplate(c)}}if(a){rm.template.attach(a)}b.disabled=!a},onclick:function(b,a){a.preventDefault();if(this.hasAttribute(b,"template")){var c=this.getHtmlTemplate(b);var e=null}else{e=this.getBlock(b);if(e){c=this.getRepetitionTemplate(e)}}if(c){this.addRepetitionBlock(c,e)}},getHtmlTemplate:function(b){var a=document.getElementById(this.get(b,"template"));if(this.isTemplate(a)){return a}return null}});var remove=button.extend({onattach:function(b){b.disabled=!this.getBlock(b)},onclick:function(b,a){a.preventDefault();var c=this.getBlock(b);if(c){this.removeRepetitionBlock(c)}}});var move=button.extend({onattach:function(a){var c=this;function e(){var b=c.getBlock(a);while(b&&(b=b[c.RELATIVE_NODE])&&!c.isBlock(b)){continue}a.disabled=!b};var d=this.getBlock(a);if(d){this.addEventListener(d.parentNode,"BlocksModified",e,false)}e()},onclick:function(b,a){a.preventDefault();var c=this.getBlock(b);if(c){this.moveRepetitionBlock(c,this.DIRECTION)}}});var moveup=move.extend({RELATIVE_NODE:"previousSibling",DIRECTION:-1});var movedown=move.extend({RELATIVE_NODE:"nextSibling",DIRECTION:1});eval(this.exports)};
metadata ADDED
@@ -0,0 +1,342 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: html5-now-rails
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Kristian Mandrup
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2012-08-28 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: rspec
16
+ requirement: !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: 2.8.0
22
+ type: :development
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ! '>='
28
+ - !ruby/object:Gem::Version
29
+ version: 2.8.0
30
+ - !ruby/object:Gem::Dependency
31
+ name: rdoc
32
+ requirement: !ruby/object:Gem::Requirement
33
+ none: false
34
+ requirements:
35
+ - - ! '>='
36
+ - !ruby/object:Gem::Version
37
+ version: '3.12'
38
+ type: :development
39
+ prerelease: false
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
45
+ version: '3.12'
46
+ - !ruby/object:Gem::Dependency
47
+ name: bundler
48
+ requirement: !ruby/object:Gem::Requirement
49
+ none: false
50
+ requirements:
51
+ - - ! '>='
52
+ - !ruby/object:Gem::Version
53
+ version: 1.0.0
54
+ type: :development
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ! '>='
60
+ - !ruby/object:Gem::Version
61
+ version: 1.0.0
62
+ - !ruby/object:Gem::Dependency
63
+ name: jeweler
64
+ requirement: !ruby/object:Gem::Requirement
65
+ none: false
66
+ requirements:
67
+ - - ! '>='
68
+ - !ruby/object:Gem::Version
69
+ version: 1.8.3
70
+ type: :development
71
+ prerelease: false
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ! '>='
76
+ - !ruby/object:Gem::Version
77
+ version: 1.8.3
78
+ - !ruby/object:Gem::Dependency
79
+ name: simplecov
80
+ requirement: !ruby/object:Gem::Requirement
81
+ none: false
82
+ requirements:
83
+ - - ! '>='
84
+ - !ruby/object:Gem::Version
85
+ version: '0.5'
86
+ type: :development
87
+ prerelease: false
88
+ version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
90
+ requirements:
91
+ - - ! '>='
92
+ - !ruby/object:Gem::Version
93
+ version: '0.5'
94
+ description: USe HTML5 in your Rails app. Themes included ;)
95
+ email: kmandrup@gmail.com
96
+ executables: []
97
+ extensions: []
98
+ extra_rdoc_files:
99
+ - LICENSE.txt
100
+ - README.md
101
+ files:
102
+ - .document
103
+ - .rspec
104
+ - Gemfile
105
+ - Gemfile.lock
106
+ - LICENSE.txt
107
+ - README.md
108
+ - Rakefile
109
+ - VERSION
110
+ - html5-now-rails.gemspec
111
+ - lib/html5-now-rails.rb
112
+ - spec/html5-now-rails_spec.rb
113
+ - spec/spec_helper.rb
114
+ - vendor/assets/images/html5-now/themes/aero/7/dropdown.png
115
+ - vendor/assets/images/html5-now/themes/aero/7/progressbar-vertical.png
116
+ - vendor/assets/images/html5-now/themes/aero/7/progressbar.png
117
+ - vendor/assets/images/html5-now/themes/aero/7/slider-vertical.png
118
+ - vendor/assets/images/html5-now/themes/aero/7/slider.png
119
+ - vendor/assets/images/html5-now/themes/aero/7/spinner.png
120
+ - vendor/assets/images/html5-now/themes/aero/dropdown.png
121
+ - vendor/assets/images/html5-now/themes/aero/progressbar-vertical.png
122
+ - vendor/assets/images/html5-now/themes/aero/progressbar.png
123
+ - vendor/assets/images/html5-now/themes/aero/slider-vertical.png
124
+ - vendor/assets/images/html5-now/themes/aero/slider.png
125
+ - vendor/assets/images/html5-now/themes/aero/spinner.png
126
+ - vendor/assets/images/html5-now/themes/aqua/bg-colorpicker-disabled.png
127
+ - vendor/assets/images/html5-now/themes/aqua/bg-colorpicker.png
128
+ - vendor/assets/images/html5-now/themes/aqua/bg-dropdown-disabled.png
129
+ - vendor/assets/images/html5-now/themes/aqua/bg-dropdown.png
130
+ - vendor/assets/images/html5-now/themes/aqua/colorpicker-disabled.png
131
+ - vendor/assets/images/html5-now/themes/aqua/colorpicker.png
132
+ - vendor/assets/images/html5-now/themes/aqua/dropdown-disabled.png
133
+ - vendor/assets/images/html5-now/themes/aqua/dropdown.png
134
+ - vendor/assets/images/html5-now/themes/aqua/metal.png
135
+ - vendor/assets/images/html5-now/themes/aqua/progressbar-vertical.png
136
+ - vendor/assets/images/html5-now/themes/aqua/progressbar.png
137
+ - vendor/assets/images/html5-now/themes/aqua/slider-vertical.png
138
+ - vendor/assets/images/html5-now/themes/aqua/slider.png
139
+ - vendor/assets/images/html5-now/themes/aqua/spinner.png
140
+ - vendor/assets/images/html5-now/themes/classic/brick/dropdown.png
141
+ - vendor/assets/images/html5-now/themes/classic/brick/progressbar-vertical.png
142
+ - vendor/assets/images/html5-now/themes/classic/brick/progressbar.png
143
+ - vendor/assets/images/html5-now/themes/classic/brick/slider-vertical.png
144
+ - vendor/assets/images/html5-now/themes/classic/brick/slider.png
145
+ - vendor/assets/images/html5-now/themes/classic/brick/spinner.png
146
+ - vendor/assets/images/html5-now/themes/classic/contrast/black/dropdown.png
147
+ - vendor/assets/images/html5-now/themes/classic/contrast/black/progressbar-vertical.png
148
+ - vendor/assets/images/html5-now/themes/classic/contrast/black/progressbar.png
149
+ - vendor/assets/images/html5-now/themes/classic/contrast/black/slider-vertical.png
150
+ - vendor/assets/images/html5-now/themes/classic/contrast/black/slider.png
151
+ - vendor/assets/images/html5-now/themes/classic/contrast/black/spinner.png
152
+ - vendor/assets/images/html5-now/themes/classic/contrast/high1/dropdown.png
153
+ - vendor/assets/images/html5-now/themes/classic/contrast/high1/progressbar-vertical.png
154
+ - vendor/assets/images/html5-now/themes/classic/contrast/high1/progressbar.png
155
+ - vendor/assets/images/html5-now/themes/classic/contrast/high1/slider-vertical.png
156
+ - vendor/assets/images/html5-now/themes/classic/contrast/high1/slider.png
157
+ - vendor/assets/images/html5-now/themes/classic/contrast/high1/spinner.png
158
+ - vendor/assets/images/html5-now/themes/classic/contrast/high2/dropdown.png
159
+ - vendor/assets/images/html5-now/themes/classic/contrast/high2/progressbar-vertical.png
160
+ - vendor/assets/images/html5-now/themes/classic/contrast/high2/progressbar.png
161
+ - vendor/assets/images/html5-now/themes/classic/contrast/high2/slider-vertical.png
162
+ - vendor/assets/images/html5-now/themes/classic/contrast/high2/slider.png
163
+ - vendor/assets/images/html5-now/themes/classic/contrast/high2/spinner.png
164
+ - vendor/assets/images/html5-now/themes/classic/contrast/white/dropdown.png
165
+ - vendor/assets/images/html5-now/themes/classic/contrast/white/progressbar-vertical.png
166
+ - vendor/assets/images/html5-now/themes/classic/contrast/white/progressbar.png
167
+ - vendor/assets/images/html5-now/themes/classic/contrast/white/slider-vertical.png
168
+ - vendor/assets/images/html5-now/themes/classic/contrast/white/slider.png
169
+ - vendor/assets/images/html5-now/themes/classic/contrast/white/spinner.png
170
+ - vendor/assets/images/html5-now/themes/classic/desert/dropdown.png
171
+ - vendor/assets/images/html5-now/themes/classic/desert/progressbar-vertical.png
172
+ - vendor/assets/images/html5-now/themes/classic/desert/progressbar.png
173
+ - vendor/assets/images/html5-now/themes/classic/desert/slider-vertical.png
174
+ - vendor/assets/images/html5-now/themes/classic/desert/slider.png
175
+ - vendor/assets/images/html5-now/themes/classic/desert/spinner.png
176
+ - vendor/assets/images/html5-now/themes/classic/dropdown.png
177
+ - vendor/assets/images/html5-now/themes/classic/eggplant/dropdown.png
178
+ - vendor/assets/images/html5-now/themes/classic/eggplant/progressbar-vertical.png
179
+ - vendor/assets/images/html5-now/themes/classic/eggplant/progressbar.png
180
+ - vendor/assets/images/html5-now/themes/classic/eggplant/slider-vertical.png
181
+ - vendor/assets/images/html5-now/themes/classic/eggplant/slider.png
182
+ - vendor/assets/images/html5-now/themes/classic/eggplant/spinner.png
183
+ - vendor/assets/images/html5-now/themes/classic/lilac/dropdown.png
184
+ - vendor/assets/images/html5-now/themes/classic/lilac/progressbar-vertical.png
185
+ - vendor/assets/images/html5-now/themes/classic/lilac/progressbar.png
186
+ - vendor/assets/images/html5-now/themes/classic/lilac/slider-vertical.png
187
+ - vendor/assets/images/html5-now/themes/classic/lilac/slider.png
188
+ - vendor/assets/images/html5-now/themes/classic/lilac/spinner.png
189
+ - vendor/assets/images/html5-now/themes/classic/maple/dropdown.png
190
+ - vendor/assets/images/html5-now/themes/classic/maple/progressbar-vertical.png
191
+ - vendor/assets/images/html5-now/themes/classic/maple/progressbar.png
192
+ - vendor/assets/images/html5-now/themes/classic/maple/slider-vertical.png
193
+ - vendor/assets/images/html5-now/themes/classic/maple/slider.png
194
+ - vendor/assets/images/html5-now/themes/classic/maple/spinner.png
195
+ - vendor/assets/images/html5-now/themes/classic/marine/dropdown.png
196
+ - vendor/assets/images/html5-now/themes/classic/marine/progressbar-vertical.png
197
+ - vendor/assets/images/html5-now/themes/classic/marine/progressbar.png
198
+ - vendor/assets/images/html5-now/themes/classic/marine/slider-vertical.png
199
+ - vendor/assets/images/html5-now/themes/classic/marine/slider.png
200
+ - vendor/assets/images/html5-now/themes/classic/marine/spinner.png
201
+ - vendor/assets/images/html5-now/themes/classic/plum/dropdown.png
202
+ - vendor/assets/images/html5-now/themes/classic/plum/progressbar-vertical.png
203
+ - vendor/assets/images/html5-now/themes/classic/plum/progressbar.png
204
+ - vendor/assets/images/html5-now/themes/classic/plum/slider-vertical.png
205
+ - vendor/assets/images/html5-now/themes/classic/plum/slider.png
206
+ - vendor/assets/images/html5-now/themes/classic/plum/spinner.png
207
+ - vendor/assets/images/html5-now/themes/classic/progressbar-vertical.png
208
+ - vendor/assets/images/html5-now/themes/classic/progressbar.png
209
+ - vendor/assets/images/html5-now/themes/classic/pumpkin/dropdown.png
210
+ - vendor/assets/images/html5-now/themes/classic/pumpkin/progressbar-vertical.png
211
+ - vendor/assets/images/html5-now/themes/classic/pumpkin/progressbar.png
212
+ - vendor/assets/images/html5-now/themes/classic/pumpkin/slider-vertical.png
213
+ - vendor/assets/images/html5-now/themes/classic/pumpkin/slider.png
214
+ - vendor/assets/images/html5-now/themes/classic/pumpkin/spinner.png
215
+ - vendor/assets/images/html5-now/themes/classic/rainyday/dropdown.png
216
+ - vendor/assets/images/html5-now/themes/classic/rainyday/progressbar-vertical.png
217
+ - vendor/assets/images/html5-now/themes/classic/rainyday/progressbar.png
218
+ - vendor/assets/images/html5-now/themes/classic/rainyday/slider-vertical.png
219
+ - vendor/assets/images/html5-now/themes/classic/rainyday/slider.png
220
+ - vendor/assets/images/html5-now/themes/classic/rainyday/spinner.png
221
+ - vendor/assets/images/html5-now/themes/classic/rose/dropdown.png
222
+ - vendor/assets/images/html5-now/themes/classic/rose/progressbar-vertical.png
223
+ - vendor/assets/images/html5-now/themes/classic/rose/progressbar.png
224
+ - vendor/assets/images/html5-now/themes/classic/rose/slider-vertical.png
225
+ - vendor/assets/images/html5-now/themes/classic/rose/slider.png
226
+ - vendor/assets/images/html5-now/themes/classic/rose/spinner.png
227
+ - vendor/assets/images/html5-now/themes/classic/slate/dropdown.png
228
+ - vendor/assets/images/html5-now/themes/classic/slate/progressbar-vertical.png
229
+ - vendor/assets/images/html5-now/themes/classic/slate/progressbar.png
230
+ - vendor/assets/images/html5-now/themes/classic/slate/slider-vertical.png
231
+ - vendor/assets/images/html5-now/themes/classic/slate/slider.png
232
+ - vendor/assets/images/html5-now/themes/classic/slate/spinner.png
233
+ - vendor/assets/images/html5-now/themes/classic/slider-vertical.png
234
+ - vendor/assets/images/html5-now/themes/classic/slider.png
235
+ - vendor/assets/images/html5-now/themes/classic/spinner.png
236
+ - vendor/assets/images/html5-now/themes/classic/spruce/dropdown.png
237
+ - vendor/assets/images/html5-now/themes/classic/spruce/progressbar-vertical.png
238
+ - vendor/assets/images/html5-now/themes/classic/spruce/progressbar.png
239
+ - vendor/assets/images/html5-now/themes/classic/spruce/slider-vertical.png
240
+ - vendor/assets/images/html5-now/themes/classic/spruce/slider.png
241
+ - vendor/assets/images/html5-now/themes/classic/spruce/spinner.png
242
+ - vendor/assets/images/html5-now/themes/classic/standard/dropdown.png
243
+ - vendor/assets/images/html5-now/themes/classic/standard/progressbar-vertical.png
244
+ - vendor/assets/images/html5-now/themes/classic/standard/progressbar.png
245
+ - vendor/assets/images/html5-now/themes/classic/standard/slider-vertical.png
246
+ - vendor/assets/images/html5-now/themes/classic/standard/slider.png
247
+ - vendor/assets/images/html5-now/themes/classic/standard/spinner.png
248
+ - vendor/assets/images/html5-now/themes/classic/wheat/dropdown.png
249
+ - vendor/assets/images/html5-now/themes/classic/wheat/progressbar-vertical.png
250
+ - vendor/assets/images/html5-now/themes/classic/wheat/progressbar.png
251
+ - vendor/assets/images/html5-now/themes/classic/wheat/slider-vertical.png
252
+ - vendor/assets/images/html5-now/themes/classic/wheat/slider.png
253
+ - vendor/assets/images/html5-now/themes/classic/wheat/spinner.png
254
+ - vendor/assets/images/html5-now/themes/clearlooks/dropdown.png
255
+ - vendor/assets/images/html5-now/themes/clearlooks/progressbar-vertical.png
256
+ - vendor/assets/images/html5-now/themes/clearlooks/progressbar.png
257
+ - vendor/assets/images/html5-now/themes/clearlooks/slider-vertical.png
258
+ - vendor/assets/images/html5-now/themes/clearlooks/slider.png
259
+ - vendor/assets/images/html5-now/themes/clearlooks/spinner.png
260
+ - vendor/assets/images/html5-now/themes/default/dropdown.png
261
+ - vendor/assets/images/html5-now/themes/default/progressbar-vertical.png
262
+ - vendor/assets/images/html5-now/themes/default/progressbar.png
263
+ - vendor/assets/images/html5-now/themes/default/slider-vertical.png
264
+ - vendor/assets/images/html5-now/themes/default/slider.png
265
+ - vendor/assets/images/html5-now/themes/default/spinner.png
266
+ - vendor/assets/images/html5-now/themes/human/dropdown.png
267
+ - vendor/assets/images/html5-now/themes/human/progressbar-vertical.png
268
+ - vendor/assets/images/html5-now/themes/human/progressbar.png
269
+ - vendor/assets/images/html5-now/themes/human/slider-vertical.png
270
+ - vendor/assets/images/html5-now/themes/human/slider.png
271
+ - vendor/assets/images/html5-now/themes/human/spinner.png
272
+ - vendor/assets/images/html5-now/themes/luna/blue/dropdown.png
273
+ - vendor/assets/images/html5-now/themes/luna/blue/progressbar-vertical.png
274
+ - vendor/assets/images/html5-now/themes/luna/blue/progressbar.png
275
+ - vendor/assets/images/html5-now/themes/luna/blue/slider-vertical.png
276
+ - vendor/assets/images/html5-now/themes/luna/blue/slider.png
277
+ - vendor/assets/images/html5-now/themes/luna/blue/spinner.png
278
+ - vendor/assets/images/html5-now/themes/luna/olive/dropdown.png
279
+ - vendor/assets/images/html5-now/themes/luna/olive/progressbar-vertical.png
280
+ - vendor/assets/images/html5-now/themes/luna/olive/progressbar.png
281
+ - vendor/assets/images/html5-now/themes/luna/olive/slider-vertical.png
282
+ - vendor/assets/images/html5-now/themes/luna/olive/slider.png
283
+ - vendor/assets/images/html5-now/themes/luna/olive/spinner.png
284
+ - vendor/assets/images/html5-now/themes/luna/silver/dropdown.png
285
+ - vendor/assets/images/html5-now/themes/luna/silver/progressbar-vertical.png
286
+ - vendor/assets/images/html5-now/themes/luna/silver/progressbar.png
287
+ - vendor/assets/images/html5-now/themes/luna/silver/slider-vertical.png
288
+ - vendor/assets/images/html5-now/themes/luna/silver/slider.png
289
+ - vendor/assets/images/html5-now/themes/luna/silver/spinner.png
290
+ - vendor/assets/images/html5-now/themes/royale/dropdown.png
291
+ - vendor/assets/images/html5-now/themes/royale/progressbar-vertical.png
292
+ - vendor/assets/images/html5-now/themes/royale/progressbar.png
293
+ - vendor/assets/images/html5-now/themes/royale/slider-vertical.png
294
+ - vendor/assets/images/html5-now/themes/royale/slider.png
295
+ - vendor/assets/images/html5-now/themes/royale/spinner.png
296
+ - vendor/assets/images/html5-now/themes/s/progressbar-vertical.png
297
+ - vendor/assets/images/html5-now/themes/s/progressbar.png
298
+ - vendor/assets/images/html5-now/themes/s/slider-vertical.png
299
+ - vendor/assets/images/html5-now/themes/s/slider.png
300
+ - vendor/assets/images/html5-now/themes/zune/dropdown.png
301
+ - vendor/assets/images/html5-now/themes/zune/progressbar-vertical.png
302
+ - vendor/assets/images/html5-now/themes/zune/progressbar.png
303
+ - vendor/assets/images/html5-now/themes/zune/slider-vertical.png
304
+ - vendor/assets/images/html5-now/themes/zune/slider.png
305
+ - vendor/assets/images/html5-now/themes/zune/spinner.png
306
+ - vendor/assets/javascripts/html5-now/canvas.js
307
+ - vendor/assets/javascripts/html5-now/dimensions.htc
308
+ - vendor/assets/javascripts/html5-now/expressInstall.swf
309
+ - vendor/assets/javascripts/html5-now/forms.js
310
+ - vendor/assets/javascripts/html5-now/html5-now.js
311
+ - vendor/assets/javascripts/html5-now/media.js
312
+ - vendor/assets/javascripts/html5-now/player.swf
313
+ - vendor/assets/javascripts/html5-now/rm.js
314
+ homepage: http://github.com/kristianmandrup/html5-now-rails
315
+ licenses:
316
+ - MIT
317
+ post_install_message:
318
+ rdoc_options: []
319
+ require_paths:
320
+ - lib
321
+ required_ruby_version: !ruby/object:Gem::Requirement
322
+ none: false
323
+ requirements:
324
+ - - ! '>='
325
+ - !ruby/object:Gem::Version
326
+ version: '0'
327
+ segments:
328
+ - 0
329
+ hash: -3546201075134769818
330
+ required_rubygems_version: !ruby/object:Gem::Requirement
331
+ none: false
332
+ requirements:
333
+ - - ! '>='
334
+ - !ruby/object:Gem::Version
335
+ version: '0'
336
+ requirements: []
337
+ rubyforge_project:
338
+ rubygems_version: 1.8.24
339
+ signing_key:
340
+ specification_version: 3
341
+ summary: HTML5-Now packaged for Rails asset pipeline
342
+ test_files: []