dojo-rails 0.9.8 → 0.9.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (611) hide show
  1. data/.gitignore +18 -0
  2. data/Gemfile +4 -0
  3. data/LICENSE +22 -0
  4. data/Rakefile +3 -0
  5. data/dojo-rails.gemspec +20 -0
  6. data/lib/dojo-rails.rb +1 -0
  7. data/lib/dojo/rails.rb +2 -0
  8. data/lib/dojo/rails/engine.rb +6 -0
  9. data/lib/dojo/rails/version.rb +9 -0
  10. data/lib/dojo/version.rb +7 -0
  11. data/vendor/assets/javascripts/dojo.js +15 -0
  12. data/vendor/assets/javascripts/dojo/AdapterRegistry.js +38 -0
  13. data/vendor/assets/javascripts/dojo/AdapterRegistry.js.uncompressed.js +113 -0
  14. data/vendor/assets/javascripts/dojo/DeferredList.js +57 -0
  15. data/vendor/assets/javascripts/dojo/DeferredList.js.uncompressed.js +86 -0
  16. data/vendor/assets/javascripts/dojo/Evented.js +23 -0
  17. data/vendor/assets/javascripts/dojo/Evented.js.uncompressed.js +32 -0
  18. data/vendor/assets/javascripts/dojo/LICENSE +195 -0
  19. data/vendor/assets/javascripts/dojo/NodeList-data.js +59 -0
  20. data/vendor/assets/javascripts/dojo/NodeList-data.js.uncompressed.js +181 -0
  21. data/vendor/assets/javascripts/dojo/NodeList-dom.js +122 -0
  22. data/vendor/assets/javascripts/dojo/NodeList-dom.js.uncompressed.js +454 -0
  23. data/vendor/assets/javascripts/dojo/NodeList-fx.js +39 -0
  24. data/vendor/assets/javascripts/dojo/NodeList-fx.js.uncompressed.js +222 -0
  25. data/vendor/assets/javascripts/dojo/NodeList-html.js +20 -0
  26. data/vendor/assets/javascripts/dojo/NodeList-html.js.uncompressed.js +55 -0
  27. data/vendor/assets/javascripts/dojo/NodeList-manipulate.js +210 -0
  28. data/vendor/assets/javascripts/dojo/NodeList-manipulate.js.uncompressed.js +730 -0
  29. data/vendor/assets/javascripts/dojo/NodeList-traverse.js +124 -0
  30. data/vendor/assets/javascripts/dojo/NodeList-traverse.js.uncompressed.js +508 -0
  31. data/vendor/assets/javascripts/dojo/OpenAjax.js +194 -0
  32. data/vendor/assets/javascripts/dojo/Stateful.js +67 -0
  33. data/vendor/assets/javascripts/dojo/Stateful.js.uncompressed.js +139 -0
  34. data/vendor/assets/javascripts/dojo/_base/Color.js +96 -0
  35. data/vendor/assets/javascripts/dojo/_base/Color.js.uncompressed.js +220 -0
  36. data/vendor/assets/javascripts/dojo/_base/Deferred.js +129 -0
  37. data/vendor/assets/javascripts/dojo/_base/Deferred.js.uncompressed.js +366 -0
  38. data/vendor/assets/javascripts/dojo/_base/NodeList.js +24 -0
  39. data/vendor/assets/javascripts/dojo/_base/NodeList.js.uncompressed.js +100 -0
  40. data/vendor/assets/javascripts/dojo/_base/array.js +142 -0
  41. data/vendor/assets/javascripts/dojo/_base/array.js.uncompressed.js +343 -0
  42. data/vendor/assets/javascripts/dojo/_base/browser.js +13 -0
  43. data/vendor/assets/javascripts/dojo/_base/browser.js.uncompressed.js +21 -0
  44. data/vendor/assets/javascripts/dojo/_base/config.js +26 -0
  45. data/vendor/assets/javascripts/dojo/_base/config.js.uncompressed.js +174 -0
  46. data/vendor/assets/javascripts/dojo/_base/configFirefoxExtension.js +334 -0
  47. data/vendor/assets/javascripts/dojo/_base/configNode.js +87 -0
  48. data/vendor/assets/javascripts/dojo/_base/configRhino.js +121 -0
  49. data/vendor/assets/javascripts/dojo/_base/configSpidermonkey.js +84 -0
  50. data/vendor/assets/javascripts/dojo/_base/connect.js +163 -0
  51. data/vendor/assets/javascripts/dojo/_base/connect.js.uncompressed.js +400 -0
  52. data/vendor/assets/javascripts/dojo/_base/declare.js +430 -0
  53. data/vendor/assets/javascripts/dojo/_base/declare.js.uncompressed.js +1050 -0
  54. data/vendor/assets/javascripts/dojo/_base/event.js +36 -0
  55. data/vendor/assets/javascripts/dojo/_base/event.js.uncompressed.js +51 -0
  56. data/vendor/assets/javascripts/dojo/_base/fx.js +295 -0
  57. data/vendor/assets/javascripts/dojo/_base/fx.js.uncompressed.js +666 -0
  58. data/vendor/assets/javascripts/dojo/_base/html.js +88 -0
  59. data/vendor/assets/javascripts/dojo/_base/html.js.uncompressed.js +389 -0
  60. data/vendor/assets/javascripts/dojo/_base/json.js +26 -0
  61. data/vendor/assets/javascripts/dojo/_base/json.js.uncompressed.js +85 -0
  62. data/vendor/assets/javascripts/dojo/_base/kernel.js +114 -0
  63. data/vendor/assets/javascripts/dojo/_base/kernel.js.uncompressed.js +302 -0
  64. data/vendor/assets/javascripts/dojo/_base/lang.js +178 -0
  65. data/vendor/assets/javascripts/dojo/_base/lang.js.uncompressed.js +707 -0
  66. data/vendor/assets/javascripts/dojo/_base/loader.js +258 -0
  67. data/vendor/assets/javascripts/dojo/_base/loader.js.uncompressed.js +718 -0
  68. data/vendor/assets/javascripts/dojo/_base/query.js +10 -0
  69. data/vendor/assets/javascripts/dojo/_base/query.js.uncompressed.js +3 -0
  70. data/vendor/assets/javascripts/dojo/_base/sniff.js +68 -0
  71. data/vendor/assets/javascripts/dojo/_base/sniff.js.uncompressed.js +187 -0
  72. data/vendor/assets/javascripts/dojo/_base/unload.js +21 -0
  73. data/vendor/assets/javascripts/dojo/_base/unload.js.uncompressed.js +81 -0
  74. data/vendor/assets/javascripts/dojo/_base/url.js +88 -0
  75. data/vendor/assets/javascripts/dojo/_base/url.js.uncompressed.js +111 -0
  76. data/vendor/assets/javascripts/dojo/_base/window.js +55 -0
  77. data/vendor/assets/javascripts/dojo/_base/window.js.uncompressed.js +126 -0
  78. data/vendor/assets/javascripts/dojo/_base/xhr.js +381 -0
  79. data/vendor/assets/javascripts/dojo/_base/xhr.js.uncompressed.js +830 -0
  80. data/vendor/assets/javascripts/dojo/_firebug/LICENSE +37 -0
  81. data/vendor/assets/javascripts/dojo/_firebug/errorIcon.png +0 -0
  82. data/vendor/assets/javascripts/dojo/_firebug/firebug.css +208 -0
  83. data/vendor/assets/javascripts/dojo/_firebug/firebug.js +897 -0
  84. data/vendor/assets/javascripts/dojo/_firebug/firebug.js.uncompressed.js +1183 -0
  85. data/vendor/assets/javascripts/dojo/_firebug/infoIcon.png +0 -0
  86. data/vendor/assets/javascripts/dojo/_firebug/tab_lft_norm.png +0 -0
  87. data/vendor/assets/javascripts/dojo/_firebug/tab_lft_over.png +0 -0
  88. data/vendor/assets/javascripts/dojo/_firebug/tab_rgt_norm.png +0 -0
  89. data/vendor/assets/javascripts/dojo/_firebug/tab_rgt_over.png +0 -0
  90. data/vendor/assets/javascripts/dojo/_firebug/warningIcon.png +0 -0
  91. data/vendor/assets/javascripts/dojo/aspect.js +98 -0
  92. data/vendor/assets/javascripts/dojo/aspect.js.uncompressed.js +207 -0
  93. data/vendor/assets/javascripts/dojo/back.js +238 -0
  94. data/vendor/assets/javascripts/dojo/back.js.uncompressed.js +397 -0
  95. data/vendor/assets/javascripts/dojo/behavior.js +92 -0
  96. data/vendor/assets/javascripts/dojo/behavior.js.uncompressed.js +248 -0
  97. data/vendor/assets/javascripts/dojo/cache.js +10 -0
  98. data/vendor/assets/javascripts/dojo/cache.js.uncompressed.js +9 -0
  99. data/vendor/assets/javascripts/dojo/cldr/LICENSE +29 -0
  100. data/vendor/assets/javascripts/dojo/cldr/README +18 -0
  101. data/vendor/assets/javascripts/dojo/cldr/monetary.js +23 -0
  102. data/vendor/assets/javascripts/dojo/cldr/monetary.js.uncompressed.js +35 -0
  103. data/vendor/assets/javascripts/dojo/cldr/nls/ar/buddhist.js +8 -0
  104. data/vendor/assets/javascripts/dojo/cldr/nls/ar/buddhist.js.uncompressed.js +115 -0
  105. data/vendor/assets/javascripts/dojo/cldr/nls/ar/currency.js +8 -0
  106. data/vendor/assets/javascripts/dojo/cldr/nls/ar/currency.js.uncompressed.js +16 -0
  107. data/vendor/assets/javascripts/dojo/cldr/nls/ar/gregorian.js +8 -0
  108. data/vendor/assets/javascripts/dojo/cldr/nls/ar/gregorian.js.uncompressed.js +240 -0
  109. data/vendor/assets/javascripts/dojo/cldr/nls/ar/hebrew.js +8 -0
  110. data/vendor/assets/javascripts/dojo/cldr/nls/ar/hebrew.js.uncompressed.js +124 -0
  111. data/vendor/assets/javascripts/dojo/cldr/nls/ar/islamic.js +8 -0
  112. data/vendor/assets/javascripts/dojo/cldr/nls/ar/islamic.js.uncompressed.js +156 -0
  113. data/vendor/assets/javascripts/dojo/cldr/nls/ar/number.js +8 -0
  114. data/vendor/assets/javascripts/dojo/cldr/nls/ar/number.js.uncompressed.js +18 -0
  115. data/vendor/assets/javascripts/dojo/cldr/nls/buddhist.js +8 -0
  116. data/vendor/assets/javascripts/dojo/cldr/nls/buddhist.js.uncompressed.js +267 -0
  117. data/vendor/assets/javascripts/dojo/cldr/nls/ca/currency.js +8 -0
  118. data/vendor/assets/javascripts/dojo/cldr/nls/ca/currency.js.uncompressed.js +15 -0
  119. data/vendor/assets/javascripts/dojo/cldr/nls/ca/gregorian.js +8 -0
  120. data/vendor/assets/javascripts/dojo/cldr/nls/ca/gregorian.js.uncompressed.js +235 -0
  121. data/vendor/assets/javascripts/dojo/cldr/nls/ca/number.js +8 -0
  122. data/vendor/assets/javascripts/dojo/cldr/nls/ca/number.js.uncompressed.js +22 -0
  123. data/vendor/assets/javascripts/dojo/cldr/nls/cs/currency.js +8 -0
  124. data/vendor/assets/javascripts/dojo/cldr/nls/cs/currency.js.uncompressed.js +15 -0
  125. data/vendor/assets/javascripts/dojo/cldr/nls/cs/gregorian.js +8 -0
  126. data/vendor/assets/javascripts/dojo/cldr/nls/cs/gregorian.js.uncompressed.js +215 -0
  127. data/vendor/assets/javascripts/dojo/cldr/nls/cs/number.js +8 -0
  128. data/vendor/assets/javascripts/dojo/cldr/nls/cs/number.js.uncompressed.js +22 -0
  129. data/vendor/assets/javascripts/dojo/cldr/nls/currency.js +8 -0
  130. data/vendor/assets/javascripts/dojo/cldr/nls/currency.js.uncompressed.js +48 -0
  131. data/vendor/assets/javascripts/dojo/cldr/nls/da/buddhist.js +8 -0
  132. data/vendor/assets/javascripts/dojo/cldr/nls/da/buddhist.js.uncompressed.js +141 -0
  133. data/vendor/assets/javascripts/dojo/cldr/nls/da/currency.js +8 -0
  134. data/vendor/assets/javascripts/dojo/cldr/nls/da/currency.js.uncompressed.js +16 -0
  135. data/vendor/assets/javascripts/dojo/cldr/nls/da/gregorian.js +8 -0
  136. data/vendor/assets/javascripts/dojo/cldr/nls/da/gregorian.js.uncompressed.js +237 -0
  137. data/vendor/assets/javascripts/dojo/cldr/nls/da/islamic.js +8 -0
  138. data/vendor/assets/javascripts/dojo/cldr/nls/da/islamic.js.uncompressed.js +87 -0
  139. data/vendor/assets/javascripts/dojo/cldr/nls/da/number.js +8 -0
  140. data/vendor/assets/javascripts/dojo/cldr/nls/da/number.js.uncompressed.js +22 -0
  141. data/vendor/assets/javascripts/dojo/cldr/nls/de/buddhist.js +8 -0
  142. data/vendor/assets/javascripts/dojo/cldr/nls/de/buddhist.js.uncompressed.js +130 -0
  143. data/vendor/assets/javascripts/dojo/cldr/nls/de/currency.js +8 -0
  144. data/vendor/assets/javascripts/dojo/cldr/nls/de/currency.js.uncompressed.js +17 -0
  145. data/vendor/assets/javascripts/dojo/cldr/nls/de/gregorian.js +8 -0
  146. data/vendor/assets/javascripts/dojo/cldr/nls/de/gregorian.js.uncompressed.js +237 -0
  147. data/vendor/assets/javascripts/dojo/cldr/nls/de/islamic.js +8 -0
  148. data/vendor/assets/javascripts/dojo/cldr/nls/de/islamic.js.uncompressed.js +172 -0
  149. data/vendor/assets/javascripts/dojo/cldr/nls/de/number.js +8 -0
  150. data/vendor/assets/javascripts/dojo/cldr/nls/de/number.js.uncompressed.js +22 -0
  151. data/vendor/assets/javascripts/dojo/cldr/nls/el/buddhist.js +8 -0
  152. data/vendor/assets/javascripts/dojo/cldr/nls/el/buddhist.js.uncompressed.js +120 -0
  153. data/vendor/assets/javascripts/dojo/cldr/nls/el/currency.js +8 -0
  154. data/vendor/assets/javascripts/dojo/cldr/nls/el/currency.js.uncompressed.js +15 -0
  155. data/vendor/assets/javascripts/dojo/cldr/nls/el/gregorian.js +8 -0
  156. data/vendor/assets/javascripts/dojo/cldr/nls/el/gregorian.js.uncompressed.js +241 -0
  157. data/vendor/assets/javascripts/dojo/cldr/nls/el/hebrew.js +8 -0
  158. data/vendor/assets/javascripts/dojo/cldr/nls/el/hebrew.js.uncompressed.js +73 -0
  159. data/vendor/assets/javascripts/dojo/cldr/nls/el/number.js +8 -0
  160. data/vendor/assets/javascripts/dojo/cldr/nls/el/number.js.uncompressed.js +20 -0
  161. data/vendor/assets/javascripts/dojo/cldr/nls/en-au/currency.js +8 -0
  162. data/vendor/assets/javascripts/dojo/cldr/nls/en-au/currency.js.uncompressed.js +8 -0
  163. data/vendor/assets/javascripts/dojo/cldr/nls/en-au/gregorian.js +8 -0
  164. data/vendor/assets/javascripts/dojo/cldr/nls/en-au/gregorian.js.uncompressed.js +17 -0
  165. data/vendor/assets/javascripts/dojo/cldr/nls/en-au/number.js +8 -0
  166. data/vendor/assets/javascripts/dojo/cldr/nls/en-au/number.js.uncompressed.js +7 -0
  167. data/vendor/assets/javascripts/dojo/cldr/nls/en-ca/currency.js +8 -0
  168. data/vendor/assets/javascripts/dojo/cldr/nls/en-ca/currency.js.uncompressed.js +8 -0
  169. data/vendor/assets/javascripts/dojo/cldr/nls/en-ca/gregorian.js +8 -0
  170. data/vendor/assets/javascripts/dojo/cldr/nls/en-ca/gregorian.js.uncompressed.js +20 -0
  171. data/vendor/assets/javascripts/dojo/cldr/nls/en-gb/buddhist.js +8 -0
  172. data/vendor/assets/javascripts/dojo/cldr/nls/en-gb/buddhist.js.uncompressed.js +101 -0
  173. data/vendor/assets/javascripts/dojo/cldr/nls/en-gb/gregorian.js +8 -0
  174. data/vendor/assets/javascripts/dojo/cldr/nls/en-gb/gregorian.js.uncompressed.js +23 -0
  175. data/vendor/assets/javascripts/dojo/cldr/nls/en-gb/islamic.js +8 -0
  176. data/vendor/assets/javascripts/dojo/cldr/nls/en-gb/islamic.js.uncompressed.js +153 -0
  177. data/vendor/assets/javascripts/dojo/cldr/nls/en-gb/number.js +8 -0
  178. data/vendor/assets/javascripts/dojo/cldr/nls/en-gb/number.js.uncompressed.js +7 -0
  179. data/vendor/assets/javascripts/dojo/cldr/nls/en/buddhist.js +8 -0
  180. data/vendor/assets/javascripts/dojo/cldr/nls/en/buddhist.js.uncompressed.js +109 -0
  181. data/vendor/assets/javascripts/dojo/cldr/nls/en/currency.js +8 -0
  182. data/vendor/assets/javascripts/dojo/cldr/nls/en/currency.js.uncompressed.js +17 -0
  183. data/vendor/assets/javascripts/dojo/cldr/nls/en/gregorian.js +8 -0
  184. data/vendor/assets/javascripts/dojo/cldr/nls/en/gregorian.js.uncompressed.js +229 -0
  185. data/vendor/assets/javascripts/dojo/cldr/nls/en/islamic.js +8 -0
  186. data/vendor/assets/javascripts/dojo/cldr/nls/en/islamic.js.uncompressed.js +166 -0
  187. data/vendor/assets/javascripts/dojo/cldr/nls/en/number.js +8 -0
  188. data/vendor/assets/javascripts/dojo/cldr/nls/en/number.js.uncompressed.js +23 -0
  189. data/vendor/assets/javascripts/dojo/cldr/nls/es/buddhist.js +8 -0
  190. data/vendor/assets/javascripts/dojo/cldr/nls/es/buddhist.js.uncompressed.js +125 -0
  191. data/vendor/assets/javascripts/dojo/cldr/nls/es/currency.js +8 -0
  192. data/vendor/assets/javascripts/dojo/cldr/nls/es/currency.js.uncompressed.js +15 -0
  193. data/vendor/assets/javascripts/dojo/cldr/nls/es/gregorian.js +8 -0
  194. data/vendor/assets/javascripts/dojo/cldr/nls/es/gregorian.js.uncompressed.js +238 -0
  195. data/vendor/assets/javascripts/dojo/cldr/nls/es/islamic.js +8 -0
  196. data/vendor/assets/javascripts/dojo/cldr/nls/es/islamic.js.uncompressed.js +179 -0
  197. data/vendor/assets/javascripts/dojo/cldr/nls/es/number.js +8 -0
  198. data/vendor/assets/javascripts/dojo/cldr/nls/es/number.js.uncompressed.js +21 -0
  199. data/vendor/assets/javascripts/dojo/cldr/nls/fi/buddhist.js +8 -0
  200. data/vendor/assets/javascripts/dojo/cldr/nls/fi/buddhist.js.uncompressed.js +166 -0
  201. data/vendor/assets/javascripts/dojo/cldr/nls/fi/currency.js +8 -0
  202. data/vendor/assets/javascripts/dojo/cldr/nls/fi/currency.js.uncompressed.js +22 -0
  203. data/vendor/assets/javascripts/dojo/cldr/nls/fi/gregorian.js +8 -0
  204. data/vendor/assets/javascripts/dojo/cldr/nls/fi/gregorian.js.uncompressed.js +239 -0
  205. data/vendor/assets/javascripts/dojo/cldr/nls/fi/hebrew.js +8 -0
  206. data/vendor/assets/javascripts/dojo/cldr/nls/fi/hebrew.js.uncompressed.js +176 -0
  207. data/vendor/assets/javascripts/dojo/cldr/nls/fi/islamic.js +8 -0
  208. data/vendor/assets/javascripts/dojo/cldr/nls/fi/islamic.js.uncompressed.js +155 -0
  209. data/vendor/assets/javascripts/dojo/cldr/nls/fi/number.js +8 -0
  210. data/vendor/assets/javascripts/dojo/cldr/nls/fi/number.js.uncompressed.js +22 -0
  211. data/vendor/assets/javascripts/dojo/cldr/nls/fr-ch/gregorian.js +8 -0
  212. data/vendor/assets/javascripts/dojo/cldr/nls/fr-ch/gregorian.js.uncompressed.js +9 -0
  213. data/vendor/assets/javascripts/dojo/cldr/nls/fr-ch/number.js +8 -0
  214. data/vendor/assets/javascripts/dojo/cldr/nls/fr-ch/number.js.uncompressed.js +9 -0
  215. data/vendor/assets/javascripts/dojo/cldr/nls/fr/currency.js +8 -0
  216. data/vendor/assets/javascripts/dojo/cldr/nls/fr/currency.js.uncompressed.js +23 -0
  217. data/vendor/assets/javascripts/dojo/cldr/nls/fr/gregorian.js +8 -0
  218. data/vendor/assets/javascripts/dojo/cldr/nls/fr/gregorian.js.uncompressed.js +247 -0
  219. data/vendor/assets/javascripts/dojo/cldr/nls/fr/number.js +8 -0
  220. data/vendor/assets/javascripts/dojo/cldr/nls/fr/number.js.uncompressed.js +22 -0
  221. data/vendor/assets/javascripts/dojo/cldr/nls/gregorian.js +8 -0
  222. data/vendor/assets/javascripts/dojo/cldr/nls/gregorian.js.uncompressed.js +294 -0
  223. data/vendor/assets/javascripts/dojo/cldr/nls/he/currency.js +8 -0
  224. data/vendor/assets/javascripts/dojo/cldr/nls/he/currency.js.uncompressed.js +15 -0
  225. data/vendor/assets/javascripts/dojo/cldr/nls/he/gregorian.js +8 -0
  226. data/vendor/assets/javascripts/dojo/cldr/nls/he/gregorian.js.uncompressed.js +213 -0
  227. data/vendor/assets/javascripts/dojo/cldr/nls/he/hebrew.js +8 -0
  228. data/vendor/assets/javascripts/dojo/cldr/nls/he/hebrew.js.uncompressed.js +125 -0
  229. data/vendor/assets/javascripts/dojo/cldr/nls/he/islamic.js +8 -0
  230. data/vendor/assets/javascripts/dojo/cldr/nls/he/islamic.js.uncompressed.js +119 -0
  231. data/vendor/assets/javascripts/dojo/cldr/nls/he/number.js +8 -0
  232. data/vendor/assets/javascripts/dojo/cldr/nls/he/number.js.uncompressed.js +22 -0
  233. data/vendor/assets/javascripts/dojo/cldr/nls/hebrew.js +8 -0
  234. data/vendor/assets/javascripts/dojo/cldr/nls/hebrew.js.uncompressed.js +265 -0
  235. data/vendor/assets/javascripts/dojo/cldr/nls/hu/currency.js +8 -0
  236. data/vendor/assets/javascripts/dojo/cldr/nls/hu/currency.js.uncompressed.js +17 -0
  237. data/vendor/assets/javascripts/dojo/cldr/nls/hu/gregorian.js +8 -0
  238. data/vendor/assets/javascripts/dojo/cldr/nls/hu/gregorian.js.uncompressed.js +227 -0
  239. data/vendor/assets/javascripts/dojo/cldr/nls/hu/number.js +8 -0
  240. data/vendor/assets/javascripts/dojo/cldr/nls/hu/number.js.uncompressed.js +21 -0
  241. data/vendor/assets/javascripts/dojo/cldr/nls/islamic.js +8 -0
  242. data/vendor/assets/javascripts/dojo/cldr/nls/islamic.js.uncompressed.js +264 -0
  243. data/vendor/assets/javascripts/dojo/cldr/nls/it/currency.js +8 -0
  244. data/vendor/assets/javascripts/dojo/cldr/nls/it/currency.js.uncompressed.js +15 -0
  245. data/vendor/assets/javascripts/dojo/cldr/nls/it/gregorian.js +8 -0
  246. data/vendor/assets/javascripts/dojo/cldr/nls/it/gregorian.js.uncompressed.js +235 -0
  247. data/vendor/assets/javascripts/dojo/cldr/nls/it/number.js +8 -0
  248. data/vendor/assets/javascripts/dojo/cldr/nls/it/number.js.uncompressed.js +12 -0
  249. data/vendor/assets/javascripts/dojo/cldr/nls/ja/currency.js +8 -0
  250. data/vendor/assets/javascripts/dojo/cldr/nls/ja/currency.js.uncompressed.js +18 -0
  251. data/vendor/assets/javascripts/dojo/cldr/nls/ja/gregorian.js +8 -0
  252. data/vendor/assets/javascripts/dojo/cldr/nls/ja/gregorian.js.uncompressed.js +222 -0
  253. data/vendor/assets/javascripts/dojo/cldr/nls/ja/number.js +8 -0
  254. data/vendor/assets/javascripts/dojo/cldr/nls/ja/number.js.uncompressed.js +12 -0
  255. data/vendor/assets/javascripts/dojo/cldr/nls/ko/currency.js +8 -0
  256. data/vendor/assets/javascripts/dojo/cldr/nls/ko/currency.js.uncompressed.js +15 -0
  257. data/vendor/assets/javascripts/dojo/cldr/nls/ko/gregorian.js +8 -0
  258. data/vendor/assets/javascripts/dojo/cldr/nls/ko/gregorian.js.uncompressed.js +243 -0
  259. data/vendor/assets/javascripts/dojo/cldr/nls/ko/number.js +8 -0
  260. data/vendor/assets/javascripts/dojo/cldr/nls/ko/number.js.uncompressed.js +22 -0
  261. data/vendor/assets/javascripts/dojo/cldr/nls/nb/currency.js +8 -0
  262. data/vendor/assets/javascripts/dojo/cldr/nls/nb/currency.js.uncompressed.js +23 -0
  263. data/vendor/assets/javascripts/dojo/cldr/nls/nb/gregorian.js +8 -0
  264. data/vendor/assets/javascripts/dojo/cldr/nls/nb/gregorian.js.uncompressed.js +234 -0
  265. data/vendor/assets/javascripts/dojo/cldr/nls/nb/number.js +8 -0
  266. data/vendor/assets/javascripts/dojo/cldr/nls/nb/number.js.uncompressed.js +22 -0
  267. data/vendor/assets/javascripts/dojo/cldr/nls/nl/currency.js +8 -0
  268. data/vendor/assets/javascripts/dojo/cldr/nls/nl/currency.js.uncompressed.js +15 -0
  269. data/vendor/assets/javascripts/dojo/cldr/nls/nl/gregorian.js +8 -0
  270. data/vendor/assets/javascripts/dojo/cldr/nls/nl/gregorian.js.uncompressed.js +233 -0
  271. data/vendor/assets/javascripts/dojo/cldr/nls/nl/number.js +8 -0
  272. data/vendor/assets/javascripts/dojo/cldr/nls/nl/number.js.uncompressed.js +22 -0
  273. data/vendor/assets/javascripts/dojo/cldr/nls/number.js +8 -0
  274. data/vendor/assets/javascripts/dojo/cldr/nls/number.js.uncompressed.js +64 -0
  275. data/vendor/assets/javascripts/dojo/cldr/nls/pl/currency.js +8 -0
  276. data/vendor/assets/javascripts/dojo/cldr/nls/pl/currency.js.uncompressed.js +15 -0
  277. data/vendor/assets/javascripts/dojo/cldr/nls/pl/gregorian.js +8 -0
  278. data/vendor/assets/javascripts/dojo/cldr/nls/pl/gregorian.js.uncompressed.js +242 -0
  279. data/vendor/assets/javascripts/dojo/cldr/nls/pl/number.js +8 -0
  280. data/vendor/assets/javascripts/dojo/cldr/nls/pl/number.js.uncompressed.js +22 -0
  281. data/vendor/assets/javascripts/dojo/cldr/nls/pt-pt/gregorian.js +8 -0
  282. data/vendor/assets/javascripts/dojo/cldr/nls/pt-pt/gregorian.js.uncompressed.js +141 -0
  283. data/vendor/assets/javascripts/dojo/cldr/nls/pt-pt/number.js +8 -0
  284. data/vendor/assets/javascripts/dojo/cldr/nls/pt-pt/number.js.uncompressed.js +8 -0
  285. data/vendor/assets/javascripts/dojo/cldr/nls/pt/currency.js +8 -0
  286. data/vendor/assets/javascripts/dojo/cldr/nls/pt/currency.js.uncompressed.js +15 -0
  287. data/vendor/assets/javascripts/dojo/cldr/nls/pt/gregorian.js +8 -0
  288. data/vendor/assets/javascripts/dojo/cldr/nls/pt/gregorian.js.uncompressed.js +237 -0
  289. data/vendor/assets/javascripts/dojo/cldr/nls/pt/number.js +8 -0
  290. data/vendor/assets/javascripts/dojo/cldr/nls/pt/number.js.uncompressed.js +22 -0
  291. data/vendor/assets/javascripts/dojo/cldr/nls/ro/buddhist.js +8 -0
  292. data/vendor/assets/javascripts/dojo/cldr/nls/ro/buddhist.js.uncompressed.js +121 -0
  293. data/vendor/assets/javascripts/dojo/cldr/nls/ro/currency.js +8 -0
  294. data/vendor/assets/javascripts/dojo/cldr/nls/ro/currency.js.uncompressed.js +15 -0
  295. data/vendor/assets/javascripts/dojo/cldr/nls/ro/gregorian.js +8 -0
  296. data/vendor/assets/javascripts/dojo/cldr/nls/ro/gregorian.js.uncompressed.js +251 -0
  297. data/vendor/assets/javascripts/dojo/cldr/nls/ro/number.js +8 -0
  298. data/vendor/assets/javascripts/dojo/cldr/nls/ro/number.js.uncompressed.js +22 -0
  299. data/vendor/assets/javascripts/dojo/cldr/nls/ru/currency.js +8 -0
  300. data/vendor/assets/javascripts/dojo/cldr/nls/ru/currency.js.uncompressed.js +16 -0
  301. data/vendor/assets/javascripts/dojo/cldr/nls/ru/gregorian.js +8 -0
  302. data/vendor/assets/javascripts/dojo/cldr/nls/ru/gregorian.js.uncompressed.js +232 -0
  303. data/vendor/assets/javascripts/dojo/cldr/nls/ru/number.js +8 -0
  304. data/vendor/assets/javascripts/dojo/cldr/nls/ru/number.js.uncompressed.js +21 -0
  305. data/vendor/assets/javascripts/dojo/cldr/nls/sk/currency.js +8 -0
  306. data/vendor/assets/javascripts/dojo/cldr/nls/sk/currency.js.uncompressed.js +15 -0
  307. data/vendor/assets/javascripts/dojo/cldr/nls/sk/gregorian.js +8 -0
  308. data/vendor/assets/javascripts/dojo/cldr/nls/sk/gregorian.js.uncompressed.js +225 -0
  309. data/vendor/assets/javascripts/dojo/cldr/nls/sk/number.js +8 -0
  310. data/vendor/assets/javascripts/dojo/cldr/nls/sk/number.js.uncompressed.js +9 -0
  311. data/vendor/assets/javascripts/dojo/cldr/nls/sl/currency.js +8 -0
  312. data/vendor/assets/javascripts/dojo/cldr/nls/sl/currency.js.uncompressed.js +17 -0
  313. data/vendor/assets/javascripts/dojo/cldr/nls/sl/gregorian.js +8 -0
  314. data/vendor/assets/javascripts/dojo/cldr/nls/sl/gregorian.js.uncompressed.js +218 -0
  315. data/vendor/assets/javascripts/dojo/cldr/nls/sl/number.js +8 -0
  316. data/vendor/assets/javascripts/dojo/cldr/nls/sl/number.js.uncompressed.js +22 -0
  317. data/vendor/assets/javascripts/dojo/cldr/nls/sv/currency.js +8 -0
  318. data/vendor/assets/javascripts/dojo/cldr/nls/sv/currency.js.uncompressed.js +18 -0
  319. data/vendor/assets/javascripts/dojo/cldr/nls/sv/gregorian.js +8 -0
  320. data/vendor/assets/javascripts/dojo/cldr/nls/sv/gregorian.js.uncompressed.js +245 -0
  321. data/vendor/assets/javascripts/dojo/cldr/nls/sv/number.js +8 -0
  322. data/vendor/assets/javascripts/dojo/cldr/nls/sv/number.js.uncompressed.js +22 -0
  323. data/vendor/assets/javascripts/dojo/cldr/nls/th/buddhist.js +8 -0
  324. data/vendor/assets/javascripts/dojo/cldr/nls/th/buddhist.js.uncompressed.js +118 -0
  325. data/vendor/assets/javascripts/dojo/cldr/nls/th/currency.js +8 -0
  326. data/vendor/assets/javascripts/dojo/cldr/nls/th/currency.js.uncompressed.js +16 -0
  327. data/vendor/assets/javascripts/dojo/cldr/nls/th/gregorian.js +8 -0
  328. data/vendor/assets/javascripts/dojo/cldr/nls/th/gregorian.js.uncompressed.js +232 -0
  329. data/vendor/assets/javascripts/dojo/cldr/nls/th/number.js +8 -0
  330. data/vendor/assets/javascripts/dojo/cldr/nls/th/number.js.uncompressed.js +22 -0
  331. data/vendor/assets/javascripts/dojo/cldr/nls/tr/currency.js +8 -0
  332. data/vendor/assets/javascripts/dojo/cldr/nls/tr/currency.js.uncompressed.js +17 -0
  333. data/vendor/assets/javascripts/dojo/cldr/nls/tr/gregorian.js +8 -0
  334. data/vendor/assets/javascripts/dojo/cldr/nls/tr/gregorian.js.uncompressed.js +239 -0
  335. data/vendor/assets/javascripts/dojo/cldr/nls/tr/number.js +8 -0
  336. data/vendor/assets/javascripts/dojo/cldr/nls/tr/number.js.uncompressed.js +22 -0
  337. data/vendor/assets/javascripts/dojo/cldr/nls/zh-hant/buddhist.js +8 -0
  338. data/vendor/assets/javascripts/dojo/cldr/nls/zh-hant/buddhist.js.uncompressed.js +146 -0
  339. data/vendor/assets/javascripts/dojo/cldr/nls/zh-hant/currency.js +8 -0
  340. data/vendor/assets/javascripts/dojo/cldr/nls/zh-hant/currency.js.uncompressed.js +16 -0
  341. data/vendor/assets/javascripts/dojo/cldr/nls/zh-hant/gregorian.js +8 -0
  342. data/vendor/assets/javascripts/dojo/cldr/nls/zh-hant/gregorian.js.uncompressed.js +228 -0
  343. data/vendor/assets/javascripts/dojo/cldr/nls/zh-hant/islamic.js +8 -0
  344. data/vendor/assets/javascripts/dojo/cldr/nls/zh-hant/islamic.js.uncompressed.js +87 -0
  345. data/vendor/assets/javascripts/dojo/cldr/nls/zh-hant/number.js +8 -0
  346. data/vendor/assets/javascripts/dojo/cldr/nls/zh-hant/number.js.uncompressed.js +7 -0
  347. data/vendor/assets/javascripts/dojo/cldr/nls/zh-hk/currency.js +8 -0
  348. data/vendor/assets/javascripts/dojo/cldr/nls/zh-hk/currency.js.uncompressed.js +15 -0
  349. data/vendor/assets/javascripts/dojo/cldr/nls/zh-hk/gregorian.js +8 -0
  350. data/vendor/assets/javascripts/dojo/cldr/nls/zh-hk/gregorian.js.uncompressed.js +85 -0
  351. data/vendor/assets/javascripts/dojo/cldr/nls/zh-hk/number.js +8 -0
  352. data/vendor/assets/javascripts/dojo/cldr/nls/zh-hk/number.js.uncompressed.js +7 -0
  353. data/vendor/assets/javascripts/dojo/cldr/nls/zh-tw/currency.js +8 -0
  354. data/vendor/assets/javascripts/dojo/cldr/nls/zh-tw/currency.js.uncompressed.js +14 -0
  355. data/vendor/assets/javascripts/dojo/cldr/nls/zh-tw/gregorian.js +8 -0
  356. data/vendor/assets/javascripts/dojo/cldr/nls/zh-tw/gregorian.js.uncompressed.js +80 -0
  357. data/vendor/assets/javascripts/dojo/cldr/nls/zh/currency.js +8 -0
  358. data/vendor/assets/javascripts/dojo/cldr/nls/zh/currency.js.uncompressed.js +16 -0
  359. data/vendor/assets/javascripts/dojo/cldr/nls/zh/gregorian.js +8 -0
  360. data/vendor/assets/javascripts/dojo/cldr/nls/zh/gregorian.js.uncompressed.js +247 -0
  361. data/vendor/assets/javascripts/dojo/cldr/nls/zh/number.js +8 -0
  362. data/vendor/assets/javascripts/dojo/cldr/nls/zh/number.js.uncompressed.js +12 -0
  363. data/vendor/assets/javascripts/dojo/cldr/supplemental.js +44 -0
  364. data/vendor/assets/javascripts/dojo/cldr/supplemental.js.uncompressed.js +77 -0
  365. data/vendor/assets/javascripts/dojo/colors.js +74 -0
  366. data/vendor/assets/javascripts/dojo/colors.js.uncompressed.js +232 -0
  367. data/vendor/assets/javascripts/dojo/cookie.js +49 -0
  368. data/vendor/assets/javascripts/dojo/cookie.js.uncompressed.js +98 -0
  369. data/vendor/assets/javascripts/dojo/currency.js +32 -0
  370. data/vendor/assets/javascripts/dojo/currency.js.uncompressed.js +132 -0
  371. data/vendor/assets/javascripts/dojo/data/ItemFileReadStore.js +561 -0
  372. data/vendor/assets/javascripts/dojo/data/ItemFileReadStore.js.uncompressed.js +945 -0
  373. data/vendor/assets/javascripts/dojo/data/ItemFileWriteStore.js +499 -0
  374. data/vendor/assets/javascripts/dojo/data/ItemFileWriteStore.js.uncompressed.js +805 -0
  375. data/vendor/assets/javascripts/dojo/data/ObjectStore.js +285 -0
  376. data/vendor/assets/javascripts/dojo/data/ObjectStore.js.uncompressed.js +505 -0
  377. data/vendor/assets/javascripts/dojo/data/api/Identity.js +21 -0
  378. data/vendor/assets/javascripts/dojo/data/api/Identity.js.uncompressed.js +107 -0
  379. data/vendor/assets/javascripts/dojo/data/api/Notification.js +19 -0
  380. data/vendor/assets/javascripts/dojo/data/api/Notification.js.uncompressed.js +122 -0
  381. data/vendor/assets/javascripts/dojo/data/api/Read.js +39 -0
  382. data/vendor/assets/javascripts/dojo/data/api/Read.js.uncompressed.js +485 -0
  383. data/vendor/assets/javascripts/dojo/data/api/Request.js +13 -0
  384. data/vendor/assets/javascripts/dojo/data/api/Request.js.uncompressed.js +36 -0
  385. data/vendor/assets/javascripts/dojo/data/api/Write.js +29 -0
  386. data/vendor/assets/javascripts/dojo/data/api/Write.js.uncompressed.js +221 -0
  387. data/vendor/assets/javascripts/dojo/data/util/filter.js +52 -0
  388. data/vendor/assets/javascripts/dojo/data/util/filter.js.uncompressed.js +74 -0
  389. data/vendor/assets/javascripts/dojo/data/util/simpleFetch.js +63 -0
  390. data/vendor/assets/javascripts/dojo/data/util/simpleFetch.js.uncompressed.js +95 -0
  391. data/vendor/assets/javascripts/dojo/data/util/sorter.js +66 -0
  392. data/vendor/assets/javascripts/dojo/data/util/sorter.js.uncompressed.js +99 -0
  393. data/vendor/assets/javascripts/dojo/date.js +213 -0
  394. data/vendor/assets/javascripts/dojo/date.js.uncompressed.js +347 -0
  395. data/vendor/assets/javascripts/dojo/date/locale.js +452 -0
  396. data/vendor/assets/javascripts/dojo/date/locale.js.uncompressed.js +670 -0
  397. data/vendor/assets/javascripts/dojo/date/stamp.js +82 -0
  398. data/vendor/assets/javascripts/dojo/date/stamp.js.uncompressed.js +146 -0
  399. data/vendor/assets/javascripts/dojo/dnd/AutoSource.js +12 -0
  400. data/vendor/assets/javascripts/dojo/dnd/AutoSource.js.uncompressed.js +13 -0
  401. data/vendor/assets/javascripts/dojo/dnd/Avatar.js +62 -0
  402. data/vendor/assets/javascripts/dojo/dnd/Avatar.js.uncompressed.js +111 -0
  403. data/vendor/assets/javascripts/dojo/dnd/Container.js +231 -0
  404. data/vendor/assets/javascripts/dojo/dnd/Container.js.uncompressed.js +432 -0
  405. data/vendor/assets/javascripts/dojo/dnd/Manager.js +122 -0
  406. data/vendor/assets/javascripts/dojo/dnd/Manager.js.uncompressed.js +213 -0
  407. data/vendor/assets/javascripts/dojo/dnd/Moveable.js +75 -0
  408. data/vendor/assets/javascripts/dojo/dnd/Moveable.js.uncompressed.js +173 -0
  409. data/vendor/assets/javascripts/dojo/dnd/Mover.js +62 -0
  410. data/vendor/assets/javascripts/dojo/dnd/Mover.js.uncompressed.js +119 -0
  411. data/vendor/assets/javascripts/dojo/dnd/Selector.js +233 -0
  412. data/vendor/assets/javascripts/dojo/dnd/Selector.js.uncompressed.js +324 -0
  413. data/vendor/assets/javascripts/dojo/dnd/Source.js +284 -0
  414. data/vendor/assets/javascripts/dojo/dnd/Source.js.uncompressed.js +513 -0
  415. data/vendor/assets/javascripts/dojo/dnd/Target.js +13 -0
  416. data/vendor/assets/javascripts/dojo/dnd/Target.js.uncompressed.js +13 -0
  417. data/vendor/assets/javascripts/dojo/dnd/TimedMoveable.js +34 -0
  418. data/vendor/assets/javascripts/dojo/dnd/TimedMoveable.js.uncompressed.js +69 -0
  419. data/vendor/assets/javascripts/dojo/dnd/autoscroll.js +96 -0
  420. data/vendor/assets/javascripts/dojo/dnd/autoscroll.js.uncompressed.js +118 -0
  421. data/vendor/assets/javascripts/dojo/dnd/common.js +28 -0
  422. data/vendor/assets/javascripts/dojo/dnd/common.js.uncompressed.js +35 -0
  423. data/vendor/assets/javascripts/dojo/dnd/move.js +66 -0
  424. data/vendor/assets/javascripts/dojo/dnd/move.js.uncompressed.js +143 -0
  425. data/vendor/assets/javascripts/dojo/dojo.js +1872 -0
  426. data/vendor/assets/javascripts/dojo/dojo.js.uncompressed.js +16408 -0
  427. data/vendor/assets/javascripts/dojo/dojo.profile.js +40 -0
  428. data/vendor/assets/javascripts/dojo/dom-attr.js +62 -0
  429. data/vendor/assets/javascripts/dojo/dom-attr.js.uncompressed.js +238 -0
  430. data/vendor/assets/javascripts/dojo/dom-class.js +89 -0
  431. data/vendor/assets/javascripts/dojo/dom-class.js.uncompressed.js +320 -0
  432. data/vendor/assets/javascripts/dojo/dom-construct.js +141 -0
  433. data/vendor/assets/javascripts/dojo/dom-construct.js.uncompressed.js +376 -0
  434. data/vendor/assets/javascripts/dojo/dom-form.js +81 -0
  435. data/vendor/assets/javascripts/dojo/dom-form.js.uncompressed.js +166 -0
  436. data/vendor/assets/javascripts/dojo/dom-geometry.js +214 -0
  437. data/vendor/assets/javascripts/dojo/dom-geometry.js.uncompressed.js +751 -0
  438. data/vendor/assets/javascripts/dojo/dom-prop.js +69 -0
  439. data/vendor/assets/javascripts/dojo/dom-prop.js.uncompressed.js +190 -0
  440. data/vendor/assets/javascripts/dojo/dom-style.js +158 -0
  441. data/vendor/assets/javascripts/dojo/dom-style.js.uncompressed.js +321 -0
  442. data/vendor/assets/javascripts/dojo/dom.js +74 -0
  443. data/vendor/assets/javascripts/dojo/dom.js.uncompressed.js +156 -0
  444. data/vendor/assets/javascripts/dojo/domReady.js +95 -0
  445. data/vendor/assets/javascripts/dojo/domReady.js.uncompressed.js +95 -0
  446. data/vendor/assets/javascripts/dojo/fx.js +260 -0
  447. data/vendor/assets/javascripts/dojo/fx.js.uncompressed.js +426 -0
  448. data/vendor/assets/javascripts/dojo/fx/Toggler.js +28 -0
  449. data/vendor/assets/javascripts/dojo/fx/Toggler.js.uncompressed.js +103 -0
  450. data/vendor/assets/javascripts/dojo/fx/easing.js +166 -0
  451. data/vendor/assets/javascripts/dojo/fx/easing.js.uncompressed.js +284 -0
  452. data/vendor/assets/javascripts/dojo/gears.js +44 -0
  453. data/vendor/assets/javascripts/dojo/gears.js.uncompressed.js +61 -0
  454. data/vendor/assets/javascripts/dojo/has.js +66 -0
  455. data/vendor/assets/javascripts/dojo/has.js.uncompressed.js +178 -0
  456. data/vendor/assets/javascripts/dojo/hash.js +137 -0
  457. data/vendor/assets/javascripts/dojo/hash.js.uncompressed.js +243 -0
  458. data/vendor/assets/javascripts/dojo/html.js +148 -0
  459. data/vendor/assets/javascripts/dojo/html.js.uncompressed.js +342 -0
  460. data/vendor/assets/javascripts/dojo/i18n.js +211 -0
  461. data/vendor/assets/javascripts/dojo/i18n.js.uncompressed.js +514 -0
  462. data/vendor/assets/javascripts/dojo/io-query.js +53 -0
  463. data/vendor/assets/javascripts/dojo/io-query.js.uncompressed.js +98 -0
  464. data/vendor/assets/javascripts/dojo/io/iframe.js +230 -0
  465. data/vendor/assets/javascripts/dojo/io/iframe.js.uncompressed.js +376 -0
  466. data/vendor/assets/javascripts/dojo/io/script.js +114 -0
  467. data/vendor/assets/javascripts/dojo/io/script.js.uncompressed.js +256 -0
  468. data/vendor/assets/javascripts/dojo/jaxer.js +18 -0
  469. data/vendor/assets/javascripts/dojo/jaxer.js.uncompressed.js +19 -0
  470. data/vendor/assets/javascripts/dojo/json.js +102 -0
  471. data/vendor/assets/javascripts/dojo/json.js.uncompressed.js +149 -0
  472. data/vendor/assets/javascripts/dojo/keys.js +10 -0
  473. data/vendor/assets/javascripts/dojo/keys.js.uncompressed.js +80 -0
  474. data/vendor/assets/javascripts/dojo/loadInit.js +12 -0
  475. data/vendor/assets/javascripts/dojo/loadInit.js.uncompressed.js +7 -0
  476. data/vendor/assets/javascripts/dojo/main.js +29 -0
  477. data/vendor/assets/javascripts/dojo/main.js.uncompressed.js +50 -0
  478. data/vendor/assets/javascripts/dojo/mouse.js +48 -0
  479. data/vendor/assets/javascripts/dojo/mouse.js.uncompressed.js +127 -0
  480. data/vendor/assets/javascripts/dojo/nls/ar/colors.js +8 -0
  481. data/vendor/assets/javascripts/dojo/nls/ar/colors.js.uncompressed.js +156 -0
  482. data/vendor/assets/javascripts/dojo/nls/az/colors.js +8 -0
  483. data/vendor/assets/javascripts/dojo/nls/az/colors.js.uncompressed.js +153 -0
  484. data/vendor/assets/javascripts/dojo/nls/ca/colors.js +8 -0
  485. data/vendor/assets/javascripts/dojo/nls/ca/colors.js.uncompressed.js +156 -0
  486. data/vendor/assets/javascripts/dojo/nls/colors.js +8 -0
  487. data/vendor/assets/javascripts/dojo/nls/colors.js.uncompressed.js +191 -0
  488. data/vendor/assets/javascripts/dojo/nls/cs/colors.js +8 -0
  489. data/vendor/assets/javascripts/dojo/nls/cs/colors.js.uncompressed.js +156 -0
  490. data/vendor/assets/javascripts/dojo/nls/da/colors.js +8 -0
  491. data/vendor/assets/javascripts/dojo/nls/da/colors.js.uncompressed.js +156 -0
  492. data/vendor/assets/javascripts/dojo/nls/de/colors.js +8 -0
  493. data/vendor/assets/javascripts/dojo/nls/de/colors.js.uncompressed.js +156 -0
  494. data/vendor/assets/javascripts/dojo/nls/el/colors.js +8 -0
  495. data/vendor/assets/javascripts/dojo/nls/el/colors.js.uncompressed.js +156 -0
  496. data/vendor/assets/javascripts/dojo/nls/es/colors.js +8 -0
  497. data/vendor/assets/javascripts/dojo/nls/es/colors.js.uncompressed.js +156 -0
  498. data/vendor/assets/javascripts/dojo/nls/fi/colors.js +8 -0
  499. data/vendor/assets/javascripts/dojo/nls/fi/colors.js.uncompressed.js +156 -0
  500. data/vendor/assets/javascripts/dojo/nls/fr/colors.js +8 -0
  501. data/vendor/assets/javascripts/dojo/nls/fr/colors.js.uncompressed.js +156 -0
  502. data/vendor/assets/javascripts/dojo/nls/he/colors.js +8 -0
  503. data/vendor/assets/javascripts/dojo/nls/he/colors.js.uncompressed.js +158 -0
  504. data/vendor/assets/javascripts/dojo/nls/hr/colors.js +8 -0
  505. data/vendor/assets/javascripts/dojo/nls/hr/colors.js.uncompressed.js +156 -0
  506. data/vendor/assets/javascripts/dojo/nls/hu/colors.js +8 -0
  507. data/vendor/assets/javascripts/dojo/nls/hu/colors.js.uncompressed.js +156 -0
  508. data/vendor/assets/javascripts/dojo/nls/it/colors.js +8 -0
  509. data/vendor/assets/javascripts/dojo/nls/it/colors.js.uncompressed.js +156 -0
  510. data/vendor/assets/javascripts/dojo/nls/ja/colors.js +8 -0
  511. data/vendor/assets/javascripts/dojo/nls/ja/colors.js.uncompressed.js +156 -0
  512. data/vendor/assets/javascripts/dojo/nls/kk/colors.js +8 -0
  513. data/vendor/assets/javascripts/dojo/nls/kk/colors.js.uncompressed.js +156 -0
  514. data/vendor/assets/javascripts/dojo/nls/ko/colors.js +8 -0
  515. data/vendor/assets/javascripts/dojo/nls/ko/colors.js.uncompressed.js +156 -0
  516. data/vendor/assets/javascripts/dojo/nls/nb/colors.js +8 -0
  517. data/vendor/assets/javascripts/dojo/nls/nb/colors.js.uncompressed.js +156 -0
  518. data/vendor/assets/javascripts/dojo/nls/nl/colors.js +8 -0
  519. data/vendor/assets/javascripts/dojo/nls/nl/colors.js.uncompressed.js +156 -0
  520. data/vendor/assets/javascripts/dojo/nls/pl/colors.js +8 -0
  521. data/vendor/assets/javascripts/dojo/nls/pl/colors.js.uncompressed.js +156 -0
  522. data/vendor/assets/javascripts/dojo/nls/pt-pt/colors.js +8 -0
  523. data/vendor/assets/javascripts/dojo/nls/pt-pt/colors.js.uncompressed.js +156 -0
  524. data/vendor/assets/javascripts/dojo/nls/pt/colors.js +8 -0
  525. data/vendor/assets/javascripts/dojo/nls/pt/colors.js.uncompressed.js +156 -0
  526. data/vendor/assets/javascripts/dojo/nls/ro/colors.js +8 -0
  527. data/vendor/assets/javascripts/dojo/nls/ro/colors.js.uncompressed.js +156 -0
  528. data/vendor/assets/javascripts/dojo/nls/ru/colors.js +8 -0
  529. data/vendor/assets/javascripts/dojo/nls/ru/colors.js.uncompressed.js +156 -0
  530. data/vendor/assets/javascripts/dojo/nls/sk/colors.js +8 -0
  531. data/vendor/assets/javascripts/dojo/nls/sk/colors.js.uncompressed.js +156 -0
  532. data/vendor/assets/javascripts/dojo/nls/sl/colors.js +8 -0
  533. data/vendor/assets/javascripts/dojo/nls/sl/colors.js.uncompressed.js +156 -0
  534. data/vendor/assets/javascripts/dojo/nls/sv/colors.js +8 -0
  535. data/vendor/assets/javascripts/dojo/nls/sv/colors.js.uncompressed.js +156 -0
  536. data/vendor/assets/javascripts/dojo/nls/th/colors.js +8 -0
  537. data/vendor/assets/javascripts/dojo/nls/th/colors.js.uncompressed.js +156 -0
  538. data/vendor/assets/javascripts/dojo/nls/tr/colors.js +8 -0
  539. data/vendor/assets/javascripts/dojo/nls/tr/colors.js.uncompressed.js +156 -0
  540. data/vendor/assets/javascripts/dojo/nls/zh-tw/colors.js +8 -0
  541. data/vendor/assets/javascripts/dojo/nls/zh-tw/colors.js.uncompressed.js +156 -0
  542. data/vendor/assets/javascripts/dojo/nls/zh/colors.js +8 -0
  543. data/vendor/assets/javascripts/dojo/nls/zh/colors.js.uncompressed.js +156 -0
  544. data/vendor/assets/javascripts/dojo/number.js +305 -0
  545. data/vendor/assets/javascripts/dojo/number.js.uncompressed.js +576 -0
  546. data/vendor/assets/javascripts/dojo/on.js +311 -0
  547. data/vendor/assets/javascripts/dojo/on.js.uncompressed.js +474 -0
  548. data/vendor/assets/javascripts/dojo/package.json +23 -0
  549. data/vendor/assets/javascripts/dojo/parser.js +299 -0
  550. data/vendor/assets/javascripts/dojo/parser.js.uncompressed.js +594 -0
  551. data/vendor/assets/javascripts/dojo/query.js +195 -0
  552. data/vendor/assets/javascripts/dojo/query.js.uncompressed.js +713 -0
  553. data/vendor/assets/javascripts/dojo/ready.js +82 -0
  554. data/vendor/assets/javascripts/dojo/ready.js.uncompressed.js +138 -0
  555. data/vendor/assets/javascripts/dojo/regexp.js +32 -0
  556. data/vendor/assets/javascripts/dojo/regexp.js.uncompressed.js +73 -0
  557. data/vendor/assets/javascripts/dojo/require.js +12 -0
  558. data/vendor/assets/javascripts/dojo/require.js.uncompressed.js +7 -0
  559. data/vendor/assets/javascripts/dojo/resources/LICENSE +30 -0
  560. data/vendor/assets/javascripts/dojo/resources/_modules.js +36 -0
  561. data/vendor/assets/javascripts/dojo/resources/blank.gif +0 -0
  562. data/vendor/assets/javascripts/dojo/resources/blank.html +1 -0
  563. data/vendor/assets/javascripts/dojo/resources/dnd.css +14 -0
  564. data/vendor/assets/javascripts/dojo/resources/dojo.css +98 -0
  565. data/vendor/assets/javascripts/dojo/resources/iframe_history.html +44 -0
  566. data/vendor/assets/javascripts/dojo/resources/images/dndCopy.png +0 -0
  567. data/vendor/assets/javascripts/dojo/resources/images/dndMove.png +0 -0
  568. data/vendor/assets/javascripts/dojo/resources/images/dndNoCopy.png +0 -0
  569. data/vendor/assets/javascripts/dojo/resources/images/dndNoMove.png +0 -0
  570. data/vendor/assets/javascripts/dojo/rpc/JsonService.js +34 -0
  571. data/vendor/assets/javascripts/dojo/rpc/JsonService.js.uncompressed.js +85 -0
  572. data/vendor/assets/javascripts/dojo/rpc/JsonpService.js +29 -0
  573. data/vendor/assets/javascripts/dojo/rpc/JsonpService.js.uncompressed.js +67 -0
  574. data/vendor/assets/javascripts/dojo/rpc/RpcService.js +87 -0
  575. data/vendor/assets/javascripts/dojo/rpc/RpcService.js.uncompressed.js +175 -0
  576. data/vendor/assets/javascripts/dojo/selector/_loader.js +40 -0
  577. data/vendor/assets/javascripts/dojo/selector/_loader.js.uncompressed.js +45 -0
  578. data/vendor/assets/javascripts/dojo/selector/acme.js +765 -0
  579. data/vendor/assets/javascripts/dojo/selector/acme.js.uncompressed.js +1480 -0
  580. data/vendor/assets/javascripts/dojo/selector/lite.js +213 -0
  581. data/vendor/assets/javascripts/dojo/selector/lite.js.uncompressed.js +264 -0
  582. data/vendor/assets/javascripts/dojo/store/Cache.js +47 -0
  583. data/vendor/assets/javascripts/dojo/store/Cache.js.uncompressed.js +148 -0
  584. data/vendor/assets/javascripts/dojo/store/DataStore.js +103 -0
  585. data/vendor/assets/javascripts/dojo/store/DataStore.js.uncompressed.js +170 -0
  586. data/vendor/assets/javascripts/dojo/store/JsonRest.js +56 -0
  587. data/vendor/assets/javascripts/dojo/store/JsonRest.js.uncompressed.js +155 -0
  588. data/vendor/assets/javascripts/dojo/store/Memory.js +55 -0
  589. data/vendor/assets/javascripts/dojo/store/Memory.js.uncompressed.js +161 -0
  590. data/vendor/assets/javascripts/dojo/store/Observable.js +125 -0
  591. data/vendor/assets/javascripts/dojo/store/Observable.js.uncompressed.js +175 -0
  592. data/vendor/assets/javascripts/dojo/store/README +10 -0
  593. data/vendor/assets/javascripts/dojo/store/api/Store.js +52 -0
  594. data/vendor/assets/javascripts/dojo/store/api/Store.js.uncompressed.js +297 -0
  595. data/vendor/assets/javascripts/dojo/store/util/QueryResults.js +39 -0
  596. data/vendor/assets/javascripts/dojo/store/util/QueryResults.js.uncompressed.js +64 -0
  597. data/vendor/assets/javascripts/dojo/store/util/SimpleQueryEngine.js +63 -0
  598. data/vendor/assets/javascripts/dojo/store/util/SimpleQueryEngine.js.uncompressed.js +108 -0
  599. data/vendor/assets/javascripts/dojo/string.js +57 -0
  600. data/vendor/assets/javascripts/dojo/string.js.uncompressed.js +162 -0
  601. data/vendor/assets/javascripts/dojo/text.js +99 -0
  602. data/vendor/assets/javascripts/dojo/text.js.uncompressed.js +212 -0
  603. data/vendor/assets/javascripts/dojo/topic.js +15 -0
  604. data/vendor/assets/javascripts/dojo/topic.js.uncompressed.js +33 -0
  605. data/vendor/assets/javascripts/dojo/touch.js +17 -0
  606. data/vendor/assets/javascripts/dojo/touch.js.uncompressed.js +89 -0
  607. data/vendor/assets/javascripts/dojo/uacss.js +25 -0
  608. data/vendor/assets/javascripts/dojo/uacss.js.uncompressed.js +66 -0
  609. data/vendor/assets/javascripts/dojo/window.js +119 -0
  610. data/vendor/assets/javascripts/dojo/window.js.uncompressed.js +169 -0
  611. metadata +613 -3
@@ -0,0 +1,730 @@
1
+ define("dojo/NodeList-manipulate", ["./query", "./_base/lang", "./_base/array", "./dom-construct", "./NodeList-dom"], function(dquery, lang, array, construct) {
2
+ // module:
3
+ // dojo/NodeList-manipulate
4
+ // summary:
5
+ // TODOC
6
+
7
+ var NodeList = dquery.NodeList;
8
+
9
+ /*=====
10
+ dojo["NodeList-manipulate"] = {
11
+ // summary: Adds a chainable methods to dojo.query() / Nodelist instances for manipulating HTML
12
+ // and DOM nodes and their properties.
13
+ };
14
+
15
+ // doc alias helpers:
16
+ NodeList = dojo.NodeList;
17
+ =====*/
18
+
19
+ //TODO: add a way to parse for widgets in the injected markup?
20
+
21
+ function getText(/*DOMNode*/node){
22
+ // summary:
23
+ // recursion method for text() to use. Gets text value for a node.
24
+ // description:
25
+ // Juse uses nodedValue so things like <br/> tags do not end up in
26
+ // the text as any sort of line return.
27
+ var text = "", ch = node.childNodes;
28
+ for(var i = 0, n; n = ch[i]; i++){
29
+ //Skip comments.
30
+ if(n.nodeType != 8){
31
+ if(n.nodeType == 1){
32
+ text += getText(n);
33
+ }else{
34
+ text += n.nodeValue;
35
+ }
36
+ }
37
+ }
38
+ return text;
39
+ }
40
+
41
+ function getWrapInsertion(/*DOMNode*/node){
42
+ // summary:
43
+ // finds the innermost element to use for wrap insertion.
44
+
45
+ //Make it easy, assume single nesting, no siblings.
46
+ while(node.childNodes[0] && node.childNodes[0].nodeType == 1){
47
+ node = node.childNodes[0];
48
+ }
49
+ return node; //DOMNode
50
+ }
51
+
52
+ function makeWrapNode(/*DOMNode||String*/html, /*DOMNode*/refNode){
53
+ // summary:
54
+ // convert HTML into nodes if it is not already a node.
55
+ if(typeof html == "string"){
56
+ html = construct.toDom(html, (refNode && refNode.ownerDocument));
57
+ if(html.nodeType == 11){
58
+ //DocumentFragment cannot handle cloneNode, so choose first child.
59
+ html = html.childNodes[0];
60
+ }
61
+ }else if(html.nodeType == 1 && html.parentNode){
62
+ //This element is already in the DOM clone it, but not its children.
63
+ html = html.cloneNode(false);
64
+ }
65
+ return html; /*DOMNode*/
66
+ }
67
+
68
+ lang.extend(NodeList, {
69
+ _placeMultiple: function(/*String||Node||NodeList*/query, /*String*/position){
70
+ // summary:
71
+ // private method for inserting queried nodes into all nodes in this NodeList
72
+ // at different positions. Differs from NodeList.place because it will clone
73
+ // the nodes in this NodeList if the query matches more than one element.
74
+ var nl2 = typeof query == "string" || query.nodeType ? dquery(query) : query;
75
+ var toAdd = [];
76
+ for(var i = 0; i < nl2.length; i++){
77
+ //Go backwards in DOM to make dom insertions easier via insertBefore
78
+ var refNode = nl2[i];
79
+ var length = this.length;
80
+ for(var j = length - 1, item; item = this[j]; j--){
81
+ if(i > 0){
82
+ //Need to clone the item. This also means
83
+ //it needs to be added to the current NodeList
84
+ //so it can also be the target of other chaining operations.
85
+ item = this._cloneNode(item);
86
+ toAdd.unshift(item);
87
+ }
88
+ if(j == length - 1){
89
+ construct.place(item, refNode, position);
90
+ }else{
91
+ refNode.parentNode.insertBefore(item, refNode);
92
+ }
93
+ refNode = item;
94
+ }
95
+ }
96
+
97
+ if(toAdd.length){
98
+ //Add the toAdd items to the current NodeList. Build up list of args
99
+ //to pass to splice.
100
+ toAdd.unshift(0);
101
+ toAdd.unshift(this.length - 1);
102
+ Array.prototype.splice.apply(this, toAdd);
103
+ }
104
+
105
+ return this; //dojo.NodeList
106
+ },
107
+
108
+ innerHTML: function(/*String?||DOMNode?|NodeList?*/value){
109
+ // summary:
110
+ // allows setting the innerHTML of each node in the NodeList,
111
+ // if there is a value passed in, otherwise, reads the innerHTML value of the first node.
112
+ // description:
113
+ // This method is simpler than the dojo.NodeList.html() method provided by
114
+ // `dojo.NodeList-html`. This method just does proper innerHTML insertion of HTML fragments,
115
+ // and it allows for the innerHTML to be read for the first node in the node list.
116
+ // Since dojo.NodeList-html already took the "html" name, this method is called
117
+ // "innerHTML". However, if dojo.NodeList-html has not been loaded yet, this
118
+ // module will define an "html" method that can be used instead. Be careful if you
119
+ // are working in an environment where it is possible that dojo.NodeList-html could
120
+ // have been loaded, since its definition of "html" will take precedence.
121
+ // The nodes represented by the value argument will be cloned if more than one
122
+ // node is in this NodeList. The nodes in this NodeList are returned in the "set"
123
+ // usage of this method, not the HTML that was inserted.
124
+ // returns:
125
+ // if no value is passed, the result is String, the innerHTML of the first node.
126
+ // If a value is passed, the return is this dojo.NodeList
127
+ // example:
128
+ // assume a DOM created by this markup:
129
+ // | <div id="foo"></div>
130
+ // | <div id="bar"></div>
131
+ // This code inserts <p>Hello World</p> into both divs:
132
+ // | dojo.query("div").innerHTML("<p>Hello World</p>");
133
+ // example:
134
+ // assume a DOM created by this markup:
135
+ // | <div id="foo"><p>Hello Mars</p></div>
136
+ // | <div id="bar"><p>Hello World</p></div>
137
+ // This code returns "<p>Hello Mars</p>":
138
+ // | var message = dojo.query("div").innerHTML();
139
+ if(arguments.length){
140
+ return this.addContent(value, "only"); //dojo.NodeList
141
+ }else{
142
+ return this[0].innerHTML; //String
143
+ }
144
+ },
145
+
146
+ /*=====
147
+ html: function(value){
148
+ // summary:
149
+ // see the information for "innerHTML". "html" is an alias for "innerHTML", but is
150
+ // only defined if dojo.NodeList-html has not been loaded.
151
+ // description:
152
+ // An alias for the "innerHTML" method, but only defined if there is not an existing
153
+ // "html" method on dojo.NodeList. Be careful if you are working in an environment
154
+ // where it is possible that dojo.NodeList-html could have been loaded, since its
155
+ // definition of "html" will take precedence. If you are not sure if dojo.NodeList-html
156
+ // could be loaded, use the "innerHTML" method.
157
+ // value: String?||DOMNode?||NodeList?
158
+ // optional. The HTML fragment to use as innerHTML. If value is not passed, then the innerHTML
159
+ // of the first element in this NodeList is returned.
160
+ // returns:
161
+ // if no value is passed, the result is String, the innerHTML of the first node.
162
+ // If a value is passed, the return is this dojo.NodeList
163
+ return; // dojo.NodeList
164
+ return; // String
165
+ },
166
+ =====*/
167
+
168
+ text: function(/*String*/value){
169
+ // summary:
170
+ // allows setting the text value of each node in the NodeList,
171
+ // if there is a value passed in, otherwise, returns the text value for all the
172
+ // nodes in the NodeList in one string.
173
+ // example:
174
+ // assume a DOM created by this markup:
175
+ // | <div id="foo"></div>
176
+ // | <div id="bar"></div>
177
+ // This code inserts "Hello World" into both divs:
178
+ // | dojo.query("div").text("Hello World");
179
+ // example:
180
+ // assume a DOM created by this markup:
181
+ // | <div id="foo"><p>Hello Mars <span>today</span></p></div>
182
+ // | <div id="bar"><p>Hello World</p></div>
183
+ // This code returns "Hello Mars today":
184
+ // | var message = dojo.query("div").text();
185
+ // returns:
186
+ // if no value is passed, the result is String, the text value of the first node.
187
+ // If a value is passed, the return is this dojo.NodeList
188
+ if(arguments.length){
189
+ for(var i = 0, node; node = this[i]; i++){
190
+ if(node.nodeType == 1){
191
+ construct.empty(node);
192
+ node.appendChild(node.ownerDocument.createTextNode(value));
193
+ }
194
+ }
195
+ return this; //dojo.NodeList
196
+ }else{
197
+ var result = "";
198
+ for(i = 0; node = this[i]; i++){
199
+ result += getText(node);
200
+ }
201
+ return result; //String
202
+ }
203
+ },
204
+
205
+ val: function(/*String||Array*/value){
206
+ // summary:
207
+ // If a value is passed, allows seting the value property of form elements in this
208
+ // NodeList, or properly selecting/checking the right value for radio/checkbox/select
209
+ // elements. If no value is passed, the value of the first node in this NodeList
210
+ // is returned.
211
+ // returns:
212
+ // if no value is passed, the result is String or an Array, for the value of the
213
+ // first node.
214
+ // If a value is passed, the return is this dojo.NodeList
215
+ // example:
216
+ // assume a DOM created by this markup:
217
+ // | <input type="text" value="foo">
218
+ // | <select multiple>
219
+ // | <option value="red" selected>Red</option>
220
+ // | <option value="blue">Blue</option>
221
+ // | <option value="yellow" selected>Yellow</option>
222
+ // | </select>
223
+ // This code gets and sets the values for the form fields above:
224
+ // | dojo.query('[type="text"]').val(); //gets value foo
225
+ // | dojo.query('[type="text"]').val("bar"); //sets the input's value to "bar"
226
+ // | dojo.query("select").val() //gets array value ["red", "yellow"]
227
+ // | dojo.query("select").val(["blue", "yellow"]) //Sets the blue and yellow options to selected.
228
+
229
+ //Special work for input elements.
230
+ if(arguments.length){
231
+ var isArray = lang.isArray(value);
232
+ for(var index = 0, node; node = this[index]; index++){
233
+ var name = node.nodeName.toUpperCase();
234
+ var type = node.type;
235
+ var newValue = isArray ? value[index] : value;
236
+
237
+ if(name == "SELECT"){
238
+ var opts = node.options;
239
+ for(var i = 0; i < opts.length; i++){
240
+ var opt = opts[i];
241
+ if(node.multiple){
242
+ opt.selected = (array.indexOf(value, opt.value) != -1);
243
+ }else{
244
+ opt.selected = (opt.value == newValue);
245
+ }
246
+ }
247
+ }else if(type == "checkbox" || type == "radio"){
248
+ node.checked = (node.value == newValue);
249
+ }else{
250
+ node.value = newValue;
251
+ }
252
+ }
253
+ return this; //dojo.NodeList
254
+ }else{
255
+ //node already declared above.
256
+ node = this[0];
257
+ if(!node || node.nodeType != 1){
258
+ return undefined;
259
+ }
260
+ value = node.value || "";
261
+ if(node.nodeName.toUpperCase() == "SELECT" && node.multiple){
262
+ //A multivalued selectbox. Do the pain.
263
+ value = [];
264
+ //opts declared above in if block.
265
+ opts = node.options;
266
+ //i declared above in if block;
267
+ for(i = 0; i < opts.length; i++){
268
+ //opt declared above in if block
269
+ opt = opts[i];
270
+ if(opt.selected){
271
+ value.push(opt.value);
272
+ }
273
+ }
274
+ if(!value.length){
275
+ value = null;
276
+ }
277
+ }
278
+ return value; //String||Array
279
+ }
280
+ },
281
+
282
+ append: function(/*String||DOMNode||NodeList*/content){
283
+ // summary:
284
+ // appends the content to every node in the NodeList.
285
+ // description:
286
+ // The content will be cloned if the length of NodeList
287
+ // is greater than 1. Only the DOM nodes are cloned, not
288
+ // any attached event handlers.
289
+ // returns:
290
+ // dojo.NodeList, the nodes currently in this NodeList will be returned,
291
+ // not the appended content.
292
+ // example:
293
+ // assume a DOM created by this markup:
294
+ // | <div id="foo"><p>Hello Mars</p></div>
295
+ // | <div id="bar"><p>Hello World</p></div>
296
+ // Running this code:
297
+ // | dojo.query("div").append("<span>append</span>");
298
+ // Results in this DOM structure:
299
+ // | <div id="foo"><p>Hello Mars</p><span>append</span></div>
300
+ // | <div id="bar"><p>Hello World</p><span>append</span></div>
301
+ return this.addContent(content, "last"); //dojo.NodeList
302
+ },
303
+
304
+ appendTo: function(/*String*/query){
305
+ // summary:
306
+ // appends nodes in this NodeList to the nodes matched by
307
+ // the query passed to appendTo.
308
+ // description:
309
+ // The nodes in this NodeList will be cloned if the query
310
+ // matches more than one element. Only the DOM nodes are cloned, not
311
+ // any attached event handlers.
312
+ // returns:
313
+ // dojo.NodeList, the nodes currently in this NodeList will be returned,
314
+ // not the matched nodes from the query.
315
+ // example:
316
+ // assume a DOM created by this markup:
317
+ // | <span>append</span>
318
+ // | <p>Hello Mars</p>
319
+ // | <p>Hello World</p>
320
+ // Running this code:
321
+ // | dojo.query("span").appendTo("p");
322
+ // Results in this DOM structure:
323
+ // | <p>Hello Mars<span>append</span></p>
324
+ // | <p>Hello World<span>append</span></p>
325
+ return this._placeMultiple(query, "last"); //dojo.NodeList
326
+ },
327
+
328
+ prepend: function(/*String||DOMNode||NodeList*/content){
329
+ // summary:
330
+ // prepends the content to every node in the NodeList.
331
+ // description:
332
+ // The content will be cloned if the length of NodeList
333
+ // is greater than 1. Only the DOM nodes are cloned, not
334
+ // any attached event handlers.
335
+ // returns:
336
+ // dojo.NodeList, the nodes currently in this NodeList will be returned,
337
+ // not the appended content.
338
+ // assume a DOM created by this markup:
339
+ // | <div id="foo"><p>Hello Mars</p></div>
340
+ // | <div id="bar"><p>Hello World</p></div>
341
+ // Running this code:
342
+ // | dojo.query("div").prepend("<span>prepend</span>");
343
+ // Results in this DOM structure:
344
+ // | <div id="foo"><span>prepend</span><p>Hello Mars</p></div>
345
+ // | <div id="bar"><span>prepend</span><p>Hello World</p></div>
346
+ return this.addContent(content, "first"); //dojo.NodeList
347
+ },
348
+
349
+ prependTo: function(/*String*/query){
350
+ // summary:
351
+ // prepends nodes in this NodeList to the nodes matched by
352
+ // the query passed to prependTo.
353
+ // description:
354
+ // The nodes in this NodeList will be cloned if the query
355
+ // matches more than one element. Only the DOM nodes are cloned, not
356
+ // any attached event handlers.
357
+ // returns:
358
+ // dojo.NodeList, the nodes currently in this NodeList will be returned,
359
+ // not the matched nodes from the query.
360
+ // example:
361
+ // assume a DOM created by this markup:
362
+ // | <span>prepend</span>
363
+ // | <p>Hello Mars</p>
364
+ // | <p>Hello World</p>
365
+ // Running this code:
366
+ // | dojo.query("span").prependTo("p");
367
+ // Results in this DOM structure:
368
+ // | <p><span>prepend</span>Hello Mars</p>
369
+ // | <p><span>prepend</span>Hello World</p>
370
+ return this._placeMultiple(query, "first"); //dojo.NodeList
371
+ },
372
+
373
+ after: function(/*String||Element||NodeList*/content){
374
+ // summary:
375
+ // Places the content after every node in the NodeList.
376
+ // description:
377
+ // The content will be cloned if the length of NodeList
378
+ // is greater than 1. Only the DOM nodes are cloned, not
379
+ // any attached event handlers.
380
+ // returns:
381
+ // dojo.NodeList, the nodes currently in this NodeList will be returned,
382
+ // not the appended content.
383
+ // example:
384
+ // assume a DOM created by this markup:
385
+ // | <div id="foo"><p>Hello Mars</p></div>
386
+ // | <div id="bar"><p>Hello World</p></div>
387
+ // Running this code:
388
+ // | dojo.query("div").after("<span>after</span>");
389
+ // Results in this DOM structure:
390
+ // | <div id="foo"><p>Hello Mars</p></div><span>after</span>
391
+ // | <div id="bar"><p>Hello World</p></div><span>after</span>
392
+ return this.addContent(content, "after"); //dojo.NodeList
393
+ },
394
+
395
+ insertAfter: function(/*String*/query){
396
+ // summary:
397
+ // The nodes in this NodeList will be placed after the nodes
398
+ // matched by the query passed to insertAfter.
399
+ // description:
400
+ // The nodes in this NodeList will be cloned if the query
401
+ // matches more than one element. Only the DOM nodes are cloned, not
402
+ // any attached event handlers.
403
+ // returns:
404
+ // dojo.NodeList, the nodes currently in this NodeList will be returned,
405
+ // not the matched nodes from the query.
406
+ // example:
407
+ // assume a DOM created by this markup:
408
+ // | <span>after</span>
409
+ // | <p>Hello Mars</p>
410
+ // | <p>Hello World</p>
411
+ // Running this code:
412
+ // | dojo.query("span").insertAfter("p");
413
+ // Results in this DOM structure:
414
+ // | <p>Hello Mars</p><span>after</span>
415
+ // | <p>Hello World</p><span>after</span>
416
+ return this._placeMultiple(query, "after"); //dojo.NodeList
417
+ },
418
+
419
+ before: function(/*String||DOMNode||NodeList*/content){
420
+ // summary:
421
+ // Places the content before every node in the NodeList.
422
+ // description:
423
+ // The content will be cloned if the length of NodeList
424
+ // is greater than 1. Only the DOM nodes are cloned, not
425
+ // any attached event handlers.
426
+ // returns:
427
+ // dojo.NodeList, the nodes currently in this NodeList will be returned,
428
+ // not the appended content.
429
+ // example:
430
+ // assume a DOM created by this markup:
431
+ // | <div id="foo"><p>Hello Mars</p></div>
432
+ // | <div id="bar"><p>Hello World</p></div>
433
+ // Running this code:
434
+ // | dojo.query("div").before("<span>before</span>");
435
+ // Results in this DOM structure:
436
+ // | <span>before</span><div id="foo"><p>Hello Mars</p></div>
437
+ // | <span>before</span><div id="bar"><p>Hello World</p></div>
438
+ return this.addContent(content, "before"); //dojo.NodeList
439
+ },
440
+
441
+ insertBefore: function(/*String*/query){
442
+ // summary:
443
+ // The nodes in this NodeList will be placed after the nodes
444
+ // matched by the query passed to insertAfter.
445
+ // description:
446
+ // The nodes in this NodeList will be cloned if the query
447
+ // matches more than one element. Only the DOM nodes are cloned, not
448
+ // any attached event handlers.
449
+ // returns:
450
+ // dojo.NodeList, the nodes currently in this NodeList will be returned,
451
+ // not the matched nodes from the query.
452
+ // example:
453
+ // assume a DOM created by this markup:
454
+ // | <span>before</span>
455
+ // | <p>Hello Mars</p>
456
+ // | <p>Hello World</p>
457
+ // Running this code:
458
+ // | dojo.query("span").insertBefore("p");
459
+ // Results in this DOM structure:
460
+ // | <span>before</span><p>Hello Mars</p>
461
+ // | <span>before</span><p>Hello World</p>
462
+ return this._placeMultiple(query, "before"); //dojo.NodeList
463
+ },
464
+
465
+ /*=====
466
+ remove: function(simpleFilter){
467
+ // summary:
468
+ // alias for dojo.NodeList's orphan method. Removes elements
469
+ // in this list that match the simple filter from their parents
470
+ // and returns them as a new NodeList.
471
+ // simpleFilter: String
472
+ // single-expression CSS rule. For example, ".thinger" or
473
+ // "#someId[attrName='value']" but not "div > span". In short,
474
+ // anything which does not invoke a descent to evaluate but
475
+ // can instead be used to test a single node is acceptable.
476
+ // returns:
477
+ // dojo.NodeList
478
+ return; // dojo.NodeList
479
+ },
480
+ =====*/
481
+ remove: NodeList.prototype.orphan,
482
+
483
+ wrap: function(/*String||DOMNode*/html){
484
+ // summary:
485
+ // Wrap each node in the NodeList with html passed to wrap.
486
+ // description:
487
+ // html will be cloned if the NodeList has more than one
488
+ // element. Only DOM nodes are cloned, not any attached
489
+ // event handlers.
490
+ // returns:
491
+ // dojo.NodeList, the nodes in the current NodeList will be returned,
492
+ // not the nodes from html argument.
493
+ // example:
494
+ // assume a DOM created by this markup:
495
+ // | <b>one</b>
496
+ // | <b>two</b>
497
+ // Running this code:
498
+ // | dojo.query("b").wrap("<div><span></span></div>");
499
+ // Results in this DOM structure:
500
+ // | <div><span><b>one</b></span></div>
501
+ // | <div><span><b>two</b></span></div>
502
+ if(this[0]){
503
+ html = makeWrapNode(html, this[0]);
504
+
505
+ //Now cycle through the elements and do the insertion.
506
+ for(var i = 0, node; node = this[i]; i++){
507
+ //Always clone because if html is used to hold one of
508
+ //the "this" nodes, then on the clone of html it will contain
509
+ //that "this" node, and that would be bad.
510
+ var clone = this._cloneNode(html);
511
+ if(node.parentNode){
512
+ node.parentNode.replaceChild(clone, node);
513
+ }
514
+ //Find deepest element and insert old node in it.
515
+ var insertion = getWrapInsertion(clone);
516
+ insertion.appendChild(node);
517
+ }
518
+ }
519
+ return this; //dojo.NodeList
520
+ },
521
+
522
+ wrapAll: function(/*String||DOMNode*/html){
523
+ // summary:
524
+ // Insert html where the first node in this NodeList lives, then place all
525
+ // nodes in this NodeList as the child of the html.
526
+ // returns:
527
+ // dojo.NodeList, the nodes in the current NodeList will be returned,
528
+ // not the nodes from html argument.
529
+ // example:
530
+ // assume a DOM created by this markup:
531
+ // | <div class="container">
532
+ // | <div class="red">Red One</div>
533
+ // | <div class="blue">Blue One</div>
534
+ // | <div class="red">Red Two</div>
535
+ // | <div class="blue">Blue Two</div>
536
+ // | </div>
537
+ // Running this code:
538
+ // | dojo.query(".red").wrapAll('<div class="allRed"></div>');
539
+ // Results in this DOM structure:
540
+ // | <div class="container">
541
+ // | <div class="allRed">
542
+ // | <div class="red">Red One</div>
543
+ // | <div class="red">Red Two</div>
544
+ // | </div>
545
+ // | <div class="blue">Blue One</div>
546
+ // | <div class="blue">Blue Two</div>
547
+ // | </div>
548
+ if(this[0]){
549
+ html = makeWrapNode(html, this[0]);
550
+
551
+ //Place the wrap HTML in place of the first node.
552
+ this[0].parentNode.replaceChild(html, this[0]);
553
+
554
+ //Now cycle through the elements and move them inside
555
+ //the wrap.
556
+ var insertion = getWrapInsertion(html);
557
+ for(var i = 0, node; node = this[i]; i++){
558
+ insertion.appendChild(node);
559
+ }
560
+ }
561
+ return this; //dojo.NodeList
562
+ },
563
+
564
+ wrapInner: function(/*String||DOMNode*/html){
565
+ // summary:
566
+ // For each node in the NodeList, wrap all its children with the passed in html.
567
+ // description:
568
+ // html will be cloned if the NodeList has more than one
569
+ // element. Only DOM nodes are cloned, not any attached
570
+ // event handlers.
571
+ // returns:
572
+ // dojo.NodeList, the nodes in the current NodeList will be returned,
573
+ // not the nodes from html argument.
574
+ // example:
575
+ // assume a DOM created by this markup:
576
+ // | <div class="container">
577
+ // | <div class="red">Red One</div>
578
+ // | <div class="blue">Blue One</div>
579
+ // | <div class="red">Red Two</div>
580
+ // | <div class="blue">Blue Two</div>
581
+ // | </div>
582
+ // Running this code:
583
+ // | dojo.query(".red").wrapInner('<span class="special"></span>');
584
+ // Results in this DOM structure:
585
+ // | <div class="container">
586
+ // | <div class="red"><span class="special">Red One</span></div>
587
+ // | <div class="blue">Blue One</div>
588
+ // | <div class="red"><span class="special">Red Two</span></div>
589
+ // | <div class="blue">Blue Two</div>
590
+ // | </div>
591
+ if(this[0]){
592
+ html = makeWrapNode(html, this[0]);
593
+ for(var i = 0; i < this.length; i++){
594
+ //Always clone because if html is used to hold one of
595
+ //the "this" nodes, then on the clone of html it will contain
596
+ //that "this" node, and that would be bad.
597
+ var clone = this._cloneNode(html);
598
+
599
+ //Need to convert the childNodes to an array since wrapAll modifies the
600
+ //DOM and can change the live childNodes NodeList.
601
+ this._wrap(lang._toArray(this[i].childNodes), null, this._NodeListCtor).wrapAll(clone);
602
+ }
603
+ }
604
+ return this; //dojo.NodeList
605
+ },
606
+
607
+ replaceWith: function(/*String||DOMNode||NodeList*/content){
608
+ // summary:
609
+ // Replaces each node in ths NodeList with the content passed to replaceWith.
610
+ // description:
611
+ // The content will be cloned if the length of NodeList
612
+ // is greater than 1. Only the DOM nodes are cloned, not
613
+ // any attached event handlers.
614
+ // returns:
615
+ // The nodes currently in this NodeList will be returned, not the replacing content.
616
+ // Note that the returned nodes have been removed from the DOM.
617
+ // example:
618
+ // assume a DOM created by this markup:
619
+ // | <div class="container">
620
+ // | <div class="red">Red One</div>
621
+ // | <div class="blue">Blue One</div>
622
+ // | <div class="red">Red Two</div>
623
+ // | <div class="blue">Blue Two</div>
624
+ // | </div>
625
+ // Running this code:
626
+ // | dojo.query(".red").replaceWith('<div class="green">Green</div>');
627
+ // Results in this DOM structure:
628
+ // | <div class="container">
629
+ // | <div class="green">Green</div>
630
+ // | <div class="blue">Blue One</div>
631
+ // | <div class="green">Green</div>
632
+ // | <div class="blue">Blue Two</div>
633
+ // | </div>
634
+ content = this._normalize(content, this[0]);
635
+ for(var i = 0, node; node = this[i]; i++){
636
+ this._place(content, node, "before", i > 0);
637
+ node.parentNode.removeChild(node);
638
+ }
639
+ return this; //dojo.NodeList
640
+ },
641
+
642
+ replaceAll: function(/*String*/query){
643
+ // summary:
644
+ // replaces nodes matched by the query passed to replaceAll with the nodes
645
+ // in this NodeList.
646
+ // description:
647
+ // The nodes in this NodeList will be cloned if the query
648
+ // matches more than one element. Only the DOM nodes are cloned, not
649
+ // any attached event handlers.
650
+ // returns:
651
+ // The nodes currently in this NodeList will be returned, not the matched nodes
652
+ // from the query. The nodes currently in this NodeLIst could have
653
+ // been cloned, so the returned NodeList will include the cloned nodes.
654
+ // example:
655
+ // assume a DOM created by this markup:
656
+ // | <div class="container">
657
+ // | <div class="spacer">___</div>
658
+ // | <div class="red">Red One</div>
659
+ // | <div class="spacer">___</div>
660
+ // | <div class="blue">Blue One</div>
661
+ // | <div class="spacer">___</div>
662
+ // | <div class="red">Red Two</div>
663
+ // | <div class="spacer">___</div>
664
+ // | <div class="blue">Blue Two</div>
665
+ // | </div>
666
+ // Running this code:
667
+ // | dojo.query(".red").replaceAll(".blue");
668
+ // Results in this DOM structure:
669
+ // | <div class="container">
670
+ // | <div class="spacer">___</div>
671
+ // | <div class="spacer">___</div>
672
+ // | <div class="red">Red One</div>
673
+ // | <div class="red">Red Two</div>
674
+ // | <div class="spacer">___</div>
675
+ // | <div class="spacer">___</div>
676
+ // | <div class="red">Red One</div>
677
+ // | <div class="red">Red Two</div>
678
+ // | </div>
679
+ var nl = dquery(query);
680
+ var content = this._normalize(this, this[0]);
681
+ for(var i = 0, node; node = nl[i]; i++){
682
+ this._place(content, node, "before", i > 0);
683
+ node.parentNode.removeChild(node);
684
+ }
685
+ return this; //dojo.NodeList
686
+ },
687
+
688
+ clone: function(){
689
+ // summary:
690
+ // Clones all the nodes in this NodeList and returns them as a new NodeList.
691
+ // description:
692
+ // Only the DOM nodes are cloned, not any attached event handlers.
693
+ // returns:
694
+ // dojo.NodeList, a cloned set of the original nodes.
695
+ // example:
696
+ // assume a DOM created by this markup:
697
+ // | <div class="container">
698
+ // | <div class="red">Red One</div>
699
+ // | <div class="blue">Blue One</div>
700
+ // | <div class="red">Red Two</div>
701
+ // | <div class="blue">Blue Two</div>
702
+ // | </div>
703
+ // Running this code:
704
+ // | dojo.query(".red").clone().appendTo(".container");
705
+ // Results in this DOM structure:
706
+ // | <div class="container">
707
+ // | <div class="red">Red One</div>
708
+ // | <div class="blue">Blue One</div>
709
+ // | <div class="red">Red Two</div>
710
+ // | <div class="blue">Blue Two</div>
711
+ // | <div class="red">Red One</div>
712
+ // | <div class="red">Red Two</div>
713
+ // | </div>
714
+
715
+ //TODO: need option to clone events?
716
+ var ary = [];
717
+ for(var i = 0; i < this.length; i++){
718
+ ary.push(this._cloneNode(this[i]));
719
+ }
720
+ return this._wrap(ary, this, this._NodeListCtor); //dojo.NodeList
721
+ }
722
+ });
723
+
724
+ //set up html method if one does not exist
725
+ if(!NodeList.prototype.html){
726
+ NodeList.prototype.html = NodeList.prototype.innerHTML;
727
+ }
728
+
729
+ return NodeList;
730
+ });