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,211 @@
1
+ /*
2
+ Copyright (c) 2004-2011, The Dojo Foundation All Rights Reserved.
3
+ Available via Academic Free License >= 2.1 OR the modified BSD license.
4
+ see: http://dojotoolkit.org/license for details
5
+ */
6
+
7
+ //>>built
8
+ define("dojo/i18n",["./_base/kernel","require","./has","./_base/array","./_base/config","./_base/lang","./_base/xhr","./json"],function(_1,_2,_3,_4,_5,_6,_7,_8){
9
+ _3.add("dojo-preload-i18n-Api",1);
10
+ true||_3.add("dojo-v1x-i18n-Api",1);
11
+ var _9=_1.i18n={},_a=/(^.*(^|\/)nls)(\/|$)([^\/]*)\/?([^\/]*)/,_b=function(_c,_d,_e,_f){
12
+ for(var _10=[_e+_f],_11=_d.split("-"),_12="",i=0;i<_11.length;i++){
13
+ _12+=(_12?"-":"")+_11[i];
14
+ if(!_c||_c[_12]){
15
+ _10.push(_e+_12+"/"+_f);
16
+ }
17
+ }
18
+ return _10;
19
+ },_13={},_14=_1.getL10nName=function(_15,_16,_17){
20
+ _17=_17?_17.toLowerCase():_1.locale;
21
+ _15="dojo/i18n!"+_15.replace(/\./g,"/");
22
+ _16=_16.replace(/\./g,"/");
23
+ return (/root/i.test(_17))?(_15+"/nls/"+_16):(_15+"/nls/"+_17+"/"+_16);
24
+ },_18=function(_19,_1a,_1b,_1c,_1d,_1e){
25
+ _19([_1a],function(_1f){
26
+ var _20=_6.clone(_1f.root),_21=_b(!_1f._v1x&&_1f,_1d,_1b,_1c);
27
+ _19(_21,function(){
28
+ for(var i=1;i<_21.length;i++){
29
+ _20=_6.mixin(_6.clone(_20),arguments[i]);
30
+ }
31
+ var _22=_1a+"/"+_1d;
32
+ _13[_22]=_20;
33
+ _1e();
34
+ });
35
+ });
36
+ },_23=function(id,_24){
37
+ return /^\./.test(id)?_24(id):id;
38
+ },_25=function(_26){
39
+ var _27=_5.extraLocale||[];
40
+ _27=_6.isArray(_27)?_27:[_27];
41
+ _27.push(_26);
42
+ return _27;
43
+ },_28=function(id,_29,_2a){
44
+ if(_3("dojo-preload-i18n-Api")){
45
+ var _2b=id.split("*"),_2c=_2b[1]=="preload";
46
+ if(_2c){
47
+ if(!_13[id]){
48
+ _13[id]=1;
49
+ _2d(_2b[2],_8.parse(_2b[3]),1);
50
+ }
51
+ _2a(1);
52
+ }
53
+ if(_2c||_2e(id,_29,_2a)){
54
+ return;
55
+ }
56
+ }
57
+ var _2f=_a.exec(id),_30=_2f[1]+"/",_31=_2f[5]||_2f[4],_32=_30+_31,_33=(_2f[5]&&_2f[4]),_34=_33||_1.locale,_35=_32+"/"+_34,_36=_33?[_34]:_25(_34),_37=_36.length,_38=function(){
58
+ if(!--_37){
59
+ _2a(_6.delegate(_13[_35]));
60
+ }
61
+ };
62
+ _4.forEach(_36,function(_39){
63
+ var _3a=_32+"/"+_39;
64
+ if(_3("dojo-preload-i18n-Api")){
65
+ _3b(_3a);
66
+ }
67
+ if(!_13[_3a]){
68
+ _18(_29,_32,_30,_31,_39,_38);
69
+ }else{
70
+ _38();
71
+ }
72
+ });
73
+ };
74
+ if(_3("dojo-unit-tests")){
75
+ var _3c=_9.unitTests=[];
76
+ }
77
+ if(_3("dojo-preload-i18n-Api")||1){
78
+ var _3d=_9.normalizeLocale=function(_3e){
79
+ var _3f=_3e?_3e.toLowerCase():_1.locale;
80
+ return _3f=="root"?"ROOT":_3f;
81
+ },_40=function(mid){
82
+ return (1&&1)?_2.isXdUrl(_2.toUrl(mid+".js")):true;
83
+ },_41=0,_42=[],_2d=_9._preloadLocalizations=function(_43,_44,_45){
84
+ function _46(_47,_48){
85
+ var _49=_47.split("-");
86
+ while(_49.length){
87
+ if(_48(_49.join("-"))){
88
+ return true;
89
+ }
90
+ _49.pop();
91
+ }
92
+ return _48("ROOT");
93
+ };
94
+ function _4a(_4b){
95
+ _4b=_3d(_4b);
96
+ _46(_4b,function(loc){
97
+ if(_4.indexOf(_44,loc)>=0){
98
+ var mid=_43.replace(/\./g,"/")+"_"+loc;
99
+ _41++;
100
+ (_40(mid)||_45?_2:_50)([mid],function(_4c){
101
+ for(var p in _4c){
102
+ _13[p+"/"+_4b]=_4c[p];
103
+ }
104
+ --_41;
105
+ while(!_41&&_42.length){
106
+ _28.apply(null,_42.shift());
107
+ }
108
+ });
109
+ return true;
110
+ }
111
+ return false;
112
+ });
113
+ };
114
+ _4a();
115
+ _4.forEach(_1.config.extraLocale,_4a);
116
+ },_2e=function(id,_4d,_4e){
117
+ if(_41){
118
+ _42.push([id,_4d,_4e]);
119
+ }
120
+ return _41;
121
+ };
122
+ }
123
+ if(1){
124
+ var _4f=new Function("__bundle","__checkForLegacyModules","__mid","var define = function(){define.called = 1;},"+" require = function(){define.called = 1;};"+"try{"+"define.called = 0;"+"eval(__bundle);"+"if(define.called==1)"+"return 1;"+"if((__checkForLegacyModules = __checkForLegacyModules(__mid)))"+"return __checkForLegacyModules;"+"}catch(e){}"+"try{"+"return eval('('+__bundle+')');"+"}catch(e){"+"return e;"+"}"),_50=function(_51,_52){
125
+ var _53=[];
126
+ _4.forEach(_51,function(mid){
127
+ var url=_2.toUrl(mid+".js");
128
+ function _28(_54){
129
+ var _55=_4f(_54,_3b,mid);
130
+ if(_55===1){
131
+ _2([mid],function(_56){
132
+ _53.push(_13[url]=_56);
133
+ });
134
+ }else{
135
+ if(_55 instanceof Error){
136
+ console.error("failed to evaluate i18n bundle; url="+url,_55);
137
+ _55={};
138
+ }
139
+ _53.push(_13[url]=(/nls\/[^\/]+\/[^\/]+$/.test(url)?_55:{root:_55,_v1x:1}));
140
+ }
141
+ };
142
+ if(_13[url]){
143
+ _53.push(_13[url]);
144
+ }else{
145
+ var _57=_2.syncLoadNls(mid);
146
+ if(_57){
147
+ _53.push(_57);
148
+ }else{
149
+ if(!_7){
150
+ try{
151
+ _2.getText(url,true,_28);
152
+ }
153
+ catch(e){
154
+ _53.push(_13[url]={});
155
+ }
156
+ }else{
157
+ _7.get({url:url,sync:true,load:_28,error:function(){
158
+ _53.push(_13[url]={});
159
+ }});
160
+ }
161
+ }
162
+ }
163
+ });
164
+ _52&&_52.apply(null,_53);
165
+ },_3b=function(_58){
166
+ for(var _59,_5a=_58.split("/"),_5b=_1.global[_5a[0]],i=1;_5b&&i<_5a.length-1;_5b=_5b[_5a[i++]]){
167
+ }
168
+ if(_5b){
169
+ _59=_5b[_5a[i]];
170
+ if(!_59){
171
+ _59=_5b[_5a[i].replace(/-/g,"_")];
172
+ }
173
+ if(_59){
174
+ _13[_58]=_59;
175
+ }
176
+ }
177
+ return _59;
178
+ };
179
+ _9.getLocalization=function(_5c,_5d,_5e){
180
+ var _5f,_60=_14(_5c,_5d,_5e).substring(10);
181
+ _28(_60,(!_40(_60)?_50:_2),function(_61){
182
+ _5f=_61;
183
+ });
184
+ return _5f;
185
+ };
186
+ if(_3("dojo-unit-tests")){
187
+ _3c.push(function(doh){
188
+ doh.register("tests.i18n.unit",function(t){
189
+ var _62;
190
+ _62=_4f("{prop:1}");
191
+ t.is({prop:1},_62);
192
+ t.is(undefined,_62[1]);
193
+ _62=_4f("({prop:1})");
194
+ t.is({prop:1},_62);
195
+ t.is(undefined,_62[1]);
196
+ _62=_4f("{'prop-x':1}");
197
+ t.is({"prop-x":1},_62);
198
+ t.is(undefined,_62[1]);
199
+ _62=_4f("({'prop-x':1})");
200
+ t.is({"prop-x":1},_62);
201
+ t.is(undefined,_62[1]);
202
+ _62=_4f("define({'prop-x':1})");
203
+ t.is(1,_62);
204
+ _62=_4f("this is total nonsense and should throw an error");
205
+ t.is(_62 instanceof Error,true);
206
+ });
207
+ });
208
+ }
209
+ }
210
+ return _6.mixin(_9,{dynamic:true,normalize:_23,load:_28,cache:_13});
211
+ });
@@ -0,0 +1,514 @@
1
+ define("dojo/i18n", ["./_base/kernel", "require", "./has", "./_base/array", "./_base/config", "./_base/lang", "./_base/xhr", "./json"],
2
+ function(dojo, require, has, array, config, lang, xhr, json) {
3
+ // module:
4
+ // dojo/i18n
5
+ // summary:
6
+ // This module implements the !dojo/i18n plugin and the v1.6- i18n API
7
+ // description:
8
+ // We choose to include our own plugin to leverage functionality already contained in dojo
9
+ // and thereby reduce the size of the plugin compared to various loader implementations. Also, this
10
+ // allows foreign AMD loaders to be used without their plugins.
11
+
12
+
13
+ has.add("dojo-preload-i18n-Api",
14
+ // if true, define the preload localizations machinery
15
+ 1
16
+ );
17
+
18
+ true || has.add("dojo-v1x-i18n-Api",
19
+ // if true, define the v1.x i18n functions
20
+ 1
21
+ );
22
+
23
+ var
24
+ thisModule= dojo.i18n=
25
+ // the dojo.i18n module
26
+ {},
27
+
28
+ nlsRe=
29
+ // regexp for reconstructing the master bundle name from parts of the regexp match
30
+ // nlsRe.exec("foo/bar/baz/nls/en-ca/foo") gives:
31
+ // ["foo/bar/baz/nls/en-ca/foo", "foo/bar/baz/nls/", "/", "/", "en-ca", "foo"]
32
+ // nlsRe.exec("foo/bar/baz/nls/foo") gives:
33
+ // ["foo/bar/baz/nls/foo", "foo/bar/baz/nls/", "/", "/", "foo", ""]
34
+ // so, if match[5] is blank, it means this is the top bundle definition.
35
+ // courtesy of http://requirejs.org
36
+ /(^.*(^|\/)nls)(\/|$)([^\/]*)\/?([^\/]*)/,
37
+
38
+ getAvailableLocales= function(
39
+ root,
40
+ locale,
41
+ bundlePath,
42
+ bundleName
43
+ ){
44
+ // return a vector of module ids containing all available locales with respect to the target locale
45
+ // For example, assuming:
46
+ // * the root bundle indicates specific bundles for "fr" and "fr-ca",
47
+ // * bundlePath is "myPackage/nls"
48
+ // * bundleName is "myBundle"
49
+ // Then a locale argument of "fr-ca" would return
50
+ // ["myPackage/nls/myBundle", "myPackage/nls/fr/myBundle", "myPackage/nls/fr-ca/myBundle"]
51
+ // Notice that bundles are returned least-specific to most-specific, starting with the root.
52
+ //
53
+ // If root===false indicates we're working with a pre-AMD i18n bundle that doesn't tell about the available locales;
54
+ // therefore, assume everything is available and get 404 errors that indicate a particular localization is not available
55
+ //
56
+
57
+ for(var result= [bundlePath + bundleName], localeParts= locale.split("-"), current= "", i= 0; i<localeParts.length; i++){
58
+ current+= (current ? "-" : "") + localeParts[i];
59
+ if(!root || root[current]){
60
+ result.push(bundlePath + current + "/" + bundleName);
61
+ }
62
+ }
63
+ return result;
64
+ },
65
+
66
+ cache= {},
67
+
68
+ getL10nName= dojo.getL10nName = function(moduleName, bundleName, locale){
69
+ locale = locale ? locale.toLowerCase() : dojo.locale;
70
+ moduleName = "dojo/i18n!" + moduleName.replace(/\./g, "/");
71
+ bundleName = bundleName.replace(/\./g, "/");
72
+ return (/root/i.test(locale)) ?
73
+ (moduleName + "/nls/" + bundleName) :
74
+ (moduleName + "/nls/" + locale + "/" + bundleName);
75
+ },
76
+
77
+ doLoad = function(require, bundlePathAndName, bundlePath, bundleName, locale, load){
78
+ // get the root bundle which instructs which other bundles are required to construct the localized bundle
79
+ require([bundlePathAndName], function(root){
80
+ var current= lang.clone(root.root),
81
+ availableLocales= getAvailableLocales(!root._v1x && root, locale, bundlePath, bundleName);
82
+ require(availableLocales, function(){
83
+ for (var i= 1; i<availableLocales.length; i++){
84
+ current= lang.mixin(lang.clone(current), arguments[i]);
85
+ }
86
+ // target may not have been resolve (e.g., maybe only "fr" exists when "fr-ca" was requested)
87
+ var target= bundlePathAndName + "/" + locale;
88
+ cache[target]= current;
89
+ load();
90
+ });
91
+ });
92
+ },
93
+
94
+ normalize = function(id, toAbsMid){
95
+ // id may be relative
96
+ // preload has form *preload*<path>/nls/<module>*<flattened locales> and
97
+ // therefore never looks like a relative
98
+ return /^\./.test(id) ? toAbsMid(id) : id;
99
+ },
100
+
101
+ getLocalesToLoad = function(targetLocale){
102
+ var list = config.extraLocale || [];
103
+ list = lang.isArray(list) ? list : [list];
104
+ list.push(targetLocale);
105
+ return list;
106
+ },
107
+
108
+ load = function(id, require, load){
109
+ //
110
+ // id is in one of the following formats
111
+ //
112
+ // 1. <path>/nls/<bundle>
113
+ // => load the bundle, localized to config.locale; load all bundles localized to
114
+ // config.extraLocale (if any); return the loaded bundle localized to config.locale.
115
+ //
116
+ // 2. <path>/nls/<locale>/<bundle>
117
+ // => load then return the bundle localized to <locale>
118
+ //
119
+ // 3. *preload*<path>/nls/<module>*<JSON array of available locales>
120
+ // => for config.locale and all config.extraLocale, load all bundles found
121
+ // in the best-matching bundle rollup. A value of 1 is returned, which
122
+ // is meaningless other than to say the plugin is executing the requested
123
+ // preloads
124
+ //
125
+ // In cases 1 and 2, <path> is always normalized to an absolute module id upon entry; see
126
+ // normalize. In case 3, it <path> is assumed to be absolue; this is arranged by the builder.
127
+ //
128
+ // To load a bundle means to insert the bundle into the plugin's cache and publish the bundle
129
+ // value to the loader. Given <path>, <bundle>, and a particular <locale>, the cache key
130
+ //
131
+ // <path>/nls/<bundle>/<locale>
132
+ //
133
+ // will hold the value. Similarly, then plugin will publish this value to the loader by
134
+ //
135
+ // define("<path>/nls/<bundle>/<locale>", <bundle-value>);
136
+ //
137
+ // Given this algorithm, other machinery can provide fast load paths be preplacing
138
+ // values in the plugin's cache, which is public. When a load is demanded the
139
+ // cache is inspected before starting any loading. Explicitly placing values in the plugin
140
+ // cache is an advanced/experimental feature that should not be needed; use at your own risk.
141
+ //
142
+ // For the normal AMD algorithm, the root bundle is loaded first, which instructs the
143
+ // plugin what additional localized bundles are required for a particular locale. These
144
+ // additional locales are loaded and a mix of the root and each progressively-specific
145
+ // locale is returned. For example:
146
+ //
147
+ // 1. The client demands "dojo/i18n!some/path/nls/someBundle
148
+ //
149
+ // 2. The loader demands load(some/path/nls/someBundle)
150
+ //
151
+ // 3. This plugin require's "some/path/nls/someBundle", which is the root bundle.
152
+ //
153
+ // 4. Assuming config.locale is "ab-cd-ef" and the root bundle indicates that localizations
154
+ // are available for "ab" and "ab-cd-ef" (note the missing "ab-cd", then the plugin
155
+ // requires "some/path/nls/ab/someBundle" and "some/path/nls/ab-cd-ef/someBundle"
156
+ //
157
+ // 5. Upon receiving all required bundles, the plugin constructs the value of the bundle
158
+ // ab-cd-ef as...
159
+ //
160
+ // mixin(mixin(mixin({}, require("some/path/nls/someBundle"),
161
+ // require("some/path/nls/ab/someBundle")),
162
+ // require("some/path/nls/ab-cd-ef/someBundle"));
163
+ //
164
+ // This value is inserted into the cache and published to the loader at the
165
+ // key/module-id some/path/nls/someBundle/ab-cd-ef.
166
+ //
167
+ // The special preload signature (case 3) instructs the plugin to stop servicing all normal requests
168
+ // (further preload requests will be serviced) until all ongoing preloading has completed.
169
+ //
170
+ // The preload signature instructs the plugin that a special rollup module is available that contains
171
+ // one or more flattened, localized bundles. The JSON array of available locales indicates which locales
172
+ // are available. Here is an example:
173
+ //
174
+ // *preload*some/path/nls/someModule*["root", "ab", "ab-cd-ef"]
175
+ //
176
+ // This indicates the following rollup modules are available:
177
+ //
178
+ // some/path/nls/someModule_ROOT
179
+ // some/path/nls/someModule_ab
180
+ // some/path/nls/someModule_ab-cd-ef
181
+ //
182
+ // Each of these modules is a normal AMD module that contains one or more flattened bundles in a hash.
183
+ // For example, assume someModule contained the bundles some/bundle/path/someBundle and
184
+ // some/bundle/path/someOtherBundle, then some/path/nls/someModule_ab would be expressed as folllows:
185
+ //
186
+ // define({
187
+ // some/bundle/path/someBundle:<value of someBundle, flattened with respect to locale ab>,
188
+ // some/bundle/path/someOtherBundle:<value of someOtherBundle, flattened with respect to locale ab>,
189
+ // });
190
+ //
191
+ // E.g., given this design, preloading for locale=="ab" can execute the following algorithm:
192
+ //
193
+ // require(["some/path/nls/someModule_ab"], function(rollup){
194
+ // for(var p in rollup){
195
+ // var id = p + "/ab",
196
+ // cache[id] = rollup[p];
197
+ // define(id, rollup[p]);
198
+ // }
199
+ // });
200
+ //
201
+ // Similarly, if "ab-cd" is requested, the algorithm can determine that "ab" is the best available and
202
+ // load accordingly.
203
+ //
204
+ // The builder will write such rollups for every layer if a non-empty localeList profile property is
205
+ // provided. Further, the builder will include the following cache entry in the cache associated with
206
+ // any layer.
207
+ //
208
+ // "*now":function(r){r(['dojo/i18n!*preload*<path>/nls/<module>*<JSON array of available locales>']);}
209
+ //
210
+ // The *now special cache module instructs the loader to apply the provided function to context-require
211
+ // with respect to the particular layer being defined. This causes the plugin to hold all normal service
212
+ // requests until all preloading is complete.
213
+ //
214
+ // Notice that this algorithm is rarely better than the standard AMD load algorithm. Consider the normal case
215
+ // where the target locale has a single segment and a layer depends on a single bundle:
216
+ //
217
+ // Without Preloads:
218
+ //
219
+ // 1. Layer loads root bundle.
220
+ // 2. bundle is demanded; plugin loads single localized bundle.
221
+ //
222
+ // With Preloads:
223
+ //
224
+ // 1. Layer causes preloading of target bundle.
225
+ // 2. bundle is demanded; service is delayed until preloading complete; bundle is returned.
226
+ //
227
+ // In each case a single transaction is required to load the target bundle. In cases where multiple bundles
228
+ // are required and/or the locale has multiple segments, preloads still requires a single transaction whereas
229
+ // the normal path requires an additional transaction for each additional bundle/locale-segment. However all
230
+ // of these additional transactions can be done concurrently. Owing to this analysis, the entire preloading
231
+ // algorithm can be discard during a build by setting the has feature dojo-preload-i18n-Api to false.
232
+ //
233
+ if(has("dojo-preload-i18n-Api")){
234
+ var split = id.split("*"),
235
+ preloadDemand = split[1]=="preload";
236
+ if(preloadDemand){
237
+ if(!cache[id]){
238
+ // use cache[id] to prevent multiple preloads of the same preload; this shouldn't happen, but
239
+ // who knows what over-aggressive human optimizers may attempt
240
+ cache[id] = 1;
241
+ preloadL10n(split[2], json.parse(split[3]), 1);
242
+ }
243
+ // don't stall the loader!
244
+ load(1);
245
+ }
246
+ if(preloadDemand || waitForPreloads(id, require, load)){
247
+ return;
248
+ }
249
+ }
250
+
251
+ var match= nlsRe.exec(id),
252
+ bundlePath= match[1] + "/",
253
+ bundleName= match[5] || match[4],
254
+ bundlePathAndName= bundlePath + bundleName,
255
+ localeSpecified = (match[5] && match[4]),
256
+ targetLocale= localeSpecified || dojo.locale,
257
+ loadTarget= bundlePathAndName + "/" + targetLocale,
258
+ loadList = localeSpecified ? [targetLocale] : getLocalesToLoad(targetLocale),
259
+ remaining = loadList.length,
260
+ finish = function(){
261
+ if(!--remaining){
262
+ load(lang.delegate(cache[loadTarget]));
263
+ }
264
+ };
265
+ array.forEach(loadList, function(locale){
266
+ var target = bundlePathAndName + "/" + locale;
267
+ if(has("dojo-preload-i18n-Api")){
268
+ checkForLegacyModules(target);
269
+ }
270
+ if(!cache[target]){
271
+ doLoad(require, bundlePathAndName, bundlePath, bundleName, locale, finish);
272
+ }else{
273
+ finish();
274
+ }
275
+ });
276
+ };
277
+
278
+ if(has("dojo-unit-tests")){
279
+ var unitTests = thisModule.unitTests = [];
280
+ }
281
+
282
+ if(has("dojo-preload-i18n-Api") || 1){
283
+ var normalizeLocale = thisModule.normalizeLocale= function(locale){
284
+ var result = locale ? locale.toLowerCase() : dojo.locale;
285
+ return result == "root" ? "ROOT" : result;
286
+ },
287
+
288
+ isXd = function(mid){
289
+ return (1 && 1) ?
290
+ require.isXdUrl(require.toUrl(mid + ".js")) :
291
+ true;
292
+ },
293
+
294
+ preloading = 0,
295
+
296
+ preloadWaitQueue = [],
297
+
298
+ preloadL10n = thisModule._preloadLocalizations = function(/*String*/bundlePrefix, /*Array*/localesGenerated, /*boolean*/ guaranteedAmdFormat){
299
+ // summary:
300
+ // Load available flattened resource bundles associated with a particular module for dojo.locale and all dojo.config.extraLocale (if any)
301
+ //
302
+ // descirption:
303
+ // Only called by built layer files. The entire locale hierarchy is loaded. For example,
304
+ // if locale=="ab-cd", then ROOT, "ab", and "ab-cd" are loaded. This is different than v1.6-
305
+ // in that the v1.6- would lonly load ab-cd...which was *always* flattened.
306
+ //
307
+ // If guaranteedAmdFormat is true, then the module can be loaded with require thereby circumventing the detection algorithm
308
+ // and the extra possible extra transaction.
309
+ //
310
+
311
+ function forEachLocale(locale, func){
312
+ // given locale= "ab-cd-ef", calls func on "ab-cd-ef", "ab-cd", "ab", "ROOT"; stops calling the first time func returns truthy
313
+ var parts = locale.split("-");
314
+ while(parts.length){
315
+ if(func(parts.join("-"))){
316
+ return true;
317
+ }
318
+ parts.pop();
319
+ }
320
+ return func("ROOT");
321
+ }
322
+
323
+ function preload(locale){
324
+ locale = normalizeLocale(locale);
325
+ forEachLocale(locale, function(loc){
326
+ if(array.indexOf(localesGenerated, loc)>=0){
327
+ var mid = bundlePrefix.replace(/\./g, "/")+"_"+loc;
328
+ preloading++;
329
+ (isXd(mid) || guaranteedAmdFormat ? require : syncRequire)([mid], function(rollup){
330
+ for(var p in rollup){
331
+ cache[p + "/" + locale] = rollup[p];
332
+ }
333
+ --preloading;
334
+ while(!preloading && preloadWaitQueue.length){
335
+ load.apply(null, preloadWaitQueue.shift());
336
+ }
337
+ });
338
+ return true;
339
+ }
340
+ return false;
341
+ });
342
+ }
343
+
344
+ preload();
345
+ array.forEach(dojo.config.extraLocale, preload);
346
+ },
347
+
348
+ waitForPreloads = function(id, require, load){
349
+ if(preloading){
350
+ preloadWaitQueue.push([id, require, load]);
351
+ }
352
+ return preloading;
353
+ };
354
+ }
355
+
356
+ if(1){
357
+ // this code path assumes the dojo loader and won't work with a standard AMD loader
358
+ var evalBundle=
359
+ // use the function ctor to keep the minifiers away (also come close to global scope, but this is secondary)
360
+ new Function(
361
+ "__bundle", // the bundle to evalutate
362
+ "__checkForLegacyModules", // a function that checks if __bundle defined __mid in the global space
363
+ "__mid", // the mid that __bundle is intended to define
364
+
365
+ // returns one of:
366
+ // 1 => the bundle was an AMD bundle
367
+ // a legacy bundle object that is the value of __mid
368
+ // instance of Error => could not figure out how to evaluate bundle
369
+
370
+ // used to detect when __bundle calls define
371
+ "var define = function(){define.called = 1;},"
372
+ + " require = function(){define.called = 1;};"
373
+
374
+ + "try{"
375
+ + "define.called = 0;"
376
+ + "eval(__bundle);"
377
+ + "if(define.called==1)"
378
+ // bundle called define; therefore signal it's an AMD bundle
379
+ + "return 1;"
380
+
381
+ + "if((__checkForLegacyModules = __checkForLegacyModules(__mid)))"
382
+ // bundle was probably a v1.6- built NLS flattened NLS bundle that defined __mid in the global space
383
+ + "return __checkForLegacyModules;"
384
+
385
+ + "}catch(e){}"
386
+ // evaulating the bundle was *neither* an AMD *nor* a legacy flattened bundle
387
+ // either way, re-eval *after* surrounding with parentheses
388
+
389
+ + "try{"
390
+ + "return eval('('+__bundle+')');"
391
+ + "}catch(e){"
392
+ + "return e;"
393
+ + "}"
394
+ ),
395
+
396
+ syncRequire= function(deps, callback){
397
+ var results= [];
398
+ array.forEach(deps, function(mid){
399
+ var url= require.toUrl(mid + ".js");
400
+
401
+ function load(text){
402
+ var result = evalBundle(text, checkForLegacyModules, mid);
403
+ if(result===1){
404
+ // the bundle was an AMD module; re-inject it through the normal AMD path
405
+ // we gotta do this since it could be an anonymous module and simply evaluating
406
+ // the text here won't provide the loader with the context to know what
407
+ // module is being defined()'d. With browser caching, this should be free; further
408
+ // this entire code path can be circumvented by using the AMD format to begin with
409
+ require([mid], function(bundle){
410
+ results.push(cache[url]= bundle);
411
+ });
412
+ }else{
413
+ if(result instanceof Error){
414
+ console.error("failed to evaluate i18n bundle; url=" + url, result);
415
+ result = {};
416
+ }
417
+ // nls/<locale>/<bundle-name> indicates not the root.
418
+ results.push(cache[url] = (/nls\/[^\/]+\/[^\/]+$/.test(url) ? result : {root:result, _v1x:1}));
419
+ }
420
+ }
421
+
422
+ if(cache[url]){
423
+ results.push(cache[url]);
424
+ }else{
425
+ var bundle= require.syncLoadNls(mid);
426
+ // don't need to check for legacy since syncLoadNls returns a module if the module
427
+ // (1) was already loaded, or (2) was in the cache. In case 1, if syncRequire is called
428
+ // from getLocalization --> load, then load will have called checkForLegacyModules() before
429
+ // calling syncRequire; if syncRequire is called from preloadLocalizations, then we
430
+ // don't care about checkForLegacyModules() because that will be done when a particular
431
+ // bundle is actually demanded. In case 2, checkForLegacyModules() is never relevant
432
+ // because cached modules are always v1.7+ built modules.
433
+ if(bundle){
434
+ results.push(bundle);
435
+ }else{
436
+ if(!xhr){
437
+ try{
438
+ require.getText(url, true, load);
439
+ }catch(e){
440
+ results.push(cache[url]= {});
441
+ }
442
+ }else{
443
+ xhr.get({
444
+ url:url,
445
+ sync:true,
446
+ load:load,
447
+ error:function(){
448
+ results.push(cache[url]= {});
449
+ }
450
+ });
451
+ }
452
+ }
453
+ }
454
+ });
455
+ callback && callback.apply(null, results);
456
+ },
457
+
458
+ checkForLegacyModules = function(target){
459
+ // legacy code may have already loaded [e.g] the raw bundle x/y/z at x.y.z; when true, push into the cache
460
+ for(var result, names = target.split("/"), object = dojo.global[names[0]], i = 1; object && i<names.length-1; object = object[names[i++]]){}
461
+ if(object){
462
+ result = object[names[i]];
463
+ if(!result){
464
+ // fallback for incorrect bundle build of 1.6
465
+ result = object[names[i].replace(/-/g,"_")];
466
+ }
467
+ if(result){
468
+ cache[target] = result;
469
+ }
470
+ }
471
+ return result;
472
+ };
473
+
474
+ thisModule.getLocalization= function(moduleName, bundleName, locale){
475
+ var result,
476
+ l10nName= getL10nName(moduleName, bundleName, locale).substring(10);
477
+ load(l10nName, (!isXd(l10nName) ? syncRequire : require), function(result_){ result= result_; });
478
+ return result;
479
+ };
480
+
481
+ if(has("dojo-unit-tests")){
482
+ unitTests.push(function(doh){
483
+ doh.register("tests.i18n.unit", function(t){
484
+ var check;
485
+
486
+ check = evalBundle("{prop:1}");
487
+ t.is({prop:1}, check); t.is(undefined, check[1]);
488
+
489
+ check = evalBundle("({prop:1})");
490
+ t.is({prop:1}, check); t.is(undefined, check[1]);
491
+
492
+ check = evalBundle("{'prop-x':1}");
493
+ t.is({'prop-x':1}, check); t.is(undefined, check[1]);
494
+
495
+ check = evalBundle("({'prop-x':1})");
496
+ t.is({'prop-x':1}, check); t.is(undefined, check[1]);
497
+
498
+ check = evalBundle("define({'prop-x':1})");
499
+ t.is(1, check);
500
+
501
+ check = evalBundle("this is total nonsense and should throw an error");
502
+ t.is(check instanceof Error, true);
503
+ });
504
+ });
505
+ }
506
+ }
507
+
508
+ return lang.mixin(thisModule, {
509
+ dynamic:true,
510
+ normalize:normalize,
511
+ load:load,
512
+ cache:cache
513
+ });
514
+ });