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,670 @@
1
+ define("dojo/date/locale", [
2
+ "../_base/kernel",
3
+ "../_base/lang",
4
+ "../_base/array",
5
+ "../date",
6
+ "../cldr/supplemental",
7
+ "../regexp",
8
+ "../string",
9
+ "../i18n!../cldr/nls/gregorian"
10
+ ], function(dojo, lang, array, date, cldr, regexp, string, gregorian) {
11
+ // module:
12
+ // dojo/date/locale
13
+ // summary:
14
+ // This modules defines dojo.date.locale, localization methods for Date.
15
+
16
+ lang.getObject("date.locale", true, dojo);
17
+
18
+ // Localization methods for Date. Honor local customs using locale-dependent dojo.cldr data.
19
+
20
+ // Load the bundles containing localization information for
21
+ // names and formats
22
+
23
+ //NOTE: Everything in this module assumes Gregorian calendars.
24
+ // Other calendars will be implemented in separate modules.
25
+
26
+ // Format a pattern without literals
27
+ function formatPattern(dateObject, bundle, options, pattern){
28
+ return pattern.replace(/([a-z])\1*/ig, function(match){
29
+ var s, pad,
30
+ c = match.charAt(0),
31
+ l = match.length,
32
+ widthList = ["abbr", "wide", "narrow"];
33
+ switch(c){
34
+ case 'G':
35
+ s = bundle[(l < 4) ? "eraAbbr" : "eraNames"][dateObject.getFullYear() < 0 ? 0 : 1];
36
+ break;
37
+ case 'y':
38
+ s = dateObject.getFullYear();
39
+ switch(l){
40
+ case 1:
41
+ break;
42
+ case 2:
43
+ if(!options.fullYear){
44
+ s = String(s); s = s.substr(s.length - 2);
45
+ break;
46
+ }
47
+ // fallthrough
48
+ default:
49
+ pad = true;
50
+ }
51
+ break;
52
+ case 'Q':
53
+ case 'q':
54
+ s = Math.ceil((dateObject.getMonth()+1)/3);
55
+ // switch(l){
56
+ // case 1: case 2:
57
+ pad = true;
58
+ // break;
59
+ // case 3: case 4: // unimplemented
60
+ // }
61
+ break;
62
+ case 'M':
63
+ var m = dateObject.getMonth();
64
+ if(l<3){
65
+ s = m+1; pad = true;
66
+ }else{
67
+ var propM = ["months", "format", widthList[l-3]].join("-");
68
+ s = bundle[propM][m];
69
+ }
70
+ break;
71
+ case 'w':
72
+ var firstDay = 0;
73
+ s = dojo.date.locale._getWeekOfYear(dateObject, firstDay); pad = true;
74
+ break;
75
+ case 'd':
76
+ s = dateObject.getDate(); pad = true;
77
+ break;
78
+ case 'D':
79
+ s = dojo.date.locale._getDayOfYear(dateObject); pad = true;
80
+ break;
81
+ case 'E':
82
+ var d = dateObject.getDay();
83
+ if(l<3){
84
+ s = d+1; pad = true;
85
+ }else{
86
+ var propD = ["days", "format", widthList[l-3]].join("-");
87
+ s = bundle[propD][d];
88
+ }
89
+ break;
90
+ case 'a':
91
+ var timePeriod = (dateObject.getHours() < 12) ? 'am' : 'pm';
92
+ s = options[timePeriod] || bundle['dayPeriods-format-wide-' + timePeriod];
93
+ break;
94
+ case 'h':
95
+ case 'H':
96
+ case 'K':
97
+ case 'k':
98
+ var h = dateObject.getHours();
99
+ // strange choices in the date format make it impossible to write this succinctly
100
+ switch (c){
101
+ case 'h': // 1-12
102
+ s = (h % 12) || 12;
103
+ break;
104
+ case 'H': // 0-23
105
+ s = h;
106
+ break;
107
+ case 'K': // 0-11
108
+ s = (h % 12);
109
+ break;
110
+ case 'k': // 1-24
111
+ s = h || 24;
112
+ break;
113
+ }
114
+ pad = true;
115
+ break;
116
+ case 'm':
117
+ s = dateObject.getMinutes(); pad = true;
118
+ break;
119
+ case 's':
120
+ s = dateObject.getSeconds(); pad = true;
121
+ break;
122
+ case 'S':
123
+ s = Math.round(dateObject.getMilliseconds() * Math.pow(10, l-3)); pad = true;
124
+ break;
125
+ case 'v': // FIXME: don't know what this is. seems to be same as z?
126
+ case 'z':
127
+ // We only have one timezone to offer; the one from the browser
128
+ s = dojo.date.locale._getZone(dateObject, true, options);
129
+ if(s){break;}
130
+ l=4;
131
+ // fallthrough... use GMT if tz not available
132
+ case 'Z':
133
+ var offset = dojo.date.locale._getZone(dateObject, false, options);
134
+ var tz = [
135
+ (offset<=0 ? "+" : "-"),
136
+ string.pad(Math.floor(Math.abs(offset)/60), 2),
137
+ string.pad(Math.abs(offset)% 60, 2)
138
+ ];
139
+ if(l==4){
140
+ tz.splice(0, 0, "GMT");
141
+ tz.splice(3, 0, ":");
142
+ }
143
+ s = tz.join("");
144
+ break;
145
+ // case 'Y': case 'u': case 'W': case 'F': case 'g': case 'A': case 'e':
146
+ // console.log(match+" modifier unimplemented");
147
+ default:
148
+ throw new Error("dojo.date.locale.format: invalid pattern char: "+pattern);
149
+ }
150
+ if(pad){ s = string.pad(s, l); }
151
+ return s;
152
+ });
153
+ }
154
+
155
+ /*=====
156
+ dojo.date.locale.__FormatOptions = function(){
157
+ // selector: String
158
+ // choice of 'time','date' (default: date and time)
159
+ // formatLength: String
160
+ // choice of long, short, medium or full (plus any custom additions). Defaults to 'short'
161
+ // datePattern:String
162
+ // override pattern with this string
163
+ // timePattern:String
164
+ // override pattern with this string
165
+ // am: String
166
+ // override strings for am in times
167
+ // pm: String
168
+ // override strings for pm in times
169
+ // locale: String
170
+ // override the locale used to determine formatting rules
171
+ // fullYear: Boolean
172
+ // (format only) use 4 digit years whenever 2 digit years are called for
173
+ // strict: Boolean
174
+ // (parse only) strict parsing, off by default
175
+ this.selector = selector;
176
+ this.formatLength = formatLength;
177
+ this.datePattern = datePattern;
178
+ this.timePattern = timePattern;
179
+ this.am = am;
180
+ this.pm = pm;
181
+ this.locale = locale;
182
+ this.fullYear = fullYear;
183
+ this.strict = strict;
184
+ }
185
+ =====*/
186
+
187
+ dojo.date.locale._getZone = function(/*Date*/dateObject, /*boolean*/getName, /*dojo.date.locale.__FormatOptions?*/options){
188
+ // summary:
189
+ // Returns the zone (or offset) for the given date and options. This
190
+ // is broken out into a separate function so that it can be overridden
191
+ // by timezone-aware code.
192
+ //
193
+ // dateObject:
194
+ // the date and/or time being formatted.
195
+ //
196
+ // getName:
197
+ // Whether to return the timezone string (if true), or the offset (if false)
198
+ //
199
+ // options:
200
+ // The options being used for formatting
201
+ if(getName){
202
+ return date.getTimezoneName(dateObject);
203
+ }else{
204
+ return dateObject.getTimezoneOffset();
205
+ }
206
+ };
207
+
208
+
209
+ dojo.date.locale.format = function(/*Date*/dateObject, /*dojo.date.locale.__FormatOptions?*/options){
210
+ // summary:
211
+ // Format a Date object as a String, using locale-specific settings.
212
+ //
213
+ // description:
214
+ // Create a string from a Date object using a known localized pattern.
215
+ // By default, this method formats both date and time from dateObject.
216
+ // Formatting patterns are chosen appropriate to the locale. Different
217
+ // formatting lengths may be chosen, with "full" used by default.
218
+ // Custom patterns may be used or registered with translations using
219
+ // the dojo.date.locale.addCustomFormats method.
220
+ // Formatting patterns are implemented using [the syntax described at
221
+ // unicode.org](http://www.unicode.org/reports/tr35/tr35-4.html#Date_Format_Patterns)
222
+ //
223
+ // dateObject:
224
+ // the date and/or time to be formatted. If a time only is formatted,
225
+ // the values in the year, month, and day fields are irrelevant. The
226
+ // opposite is true when formatting only dates.
227
+
228
+ options = options || {};
229
+
230
+ var locale = dojo.i18n.normalizeLocale(options.locale),
231
+ formatLength = options.formatLength || 'short',
232
+ bundle = dojo.date.locale._getGregorianBundle(locale),
233
+ str = [],
234
+ sauce = lang.hitch(this, formatPattern, dateObject, bundle, options);
235
+ if(options.selector == "year"){
236
+ return _processPattern(bundle["dateFormatItem-yyyy"] || "yyyy", sauce);
237
+ }
238
+ var pattern;
239
+ if(options.selector != "date"){
240
+ pattern = options.timePattern || bundle["timeFormat-"+formatLength];
241
+ if(pattern){str.push(_processPattern(pattern, sauce));}
242
+ }
243
+ if(options.selector != "time"){
244
+ pattern = options.datePattern || bundle["dateFormat-"+formatLength];
245
+ if(pattern){str.push(_processPattern(pattern, sauce));}
246
+ }
247
+
248
+ return str.length == 1 ? str[0] : bundle["dateTimeFormat-"+formatLength].replace(/\{(\d+)\}/g,
249
+ function(match, key){ return str[key]; }); // String
250
+ };
251
+
252
+ dojo.date.locale.regexp = function(/*dojo.date.locale.__FormatOptions?*/options){
253
+ // summary:
254
+ // Builds the regular needed to parse a localized date
255
+
256
+ return dojo.date.locale._parseInfo(options).regexp; // String
257
+ };
258
+
259
+ dojo.date.locale._parseInfo = function(/*dojo.date.locale.__FormatOptions?*/options){
260
+ options = options || {};
261
+ var locale = dojo.i18n.normalizeLocale(options.locale),
262
+ bundle = dojo.date.locale._getGregorianBundle(locale),
263
+ formatLength = options.formatLength || 'short',
264
+ datePattern = options.datePattern || bundle["dateFormat-" + formatLength],
265
+ timePattern = options.timePattern || bundle["timeFormat-" + formatLength],
266
+ pattern;
267
+ if(options.selector == 'date'){
268
+ pattern = datePattern;
269
+ }else if(options.selector == 'time'){
270
+ pattern = timePattern;
271
+ }else{
272
+ pattern = bundle["dateTimeFormat-"+formatLength].replace(/\{(\d+)\}/g,
273
+ function(match, key){ return [timePattern, datePattern][key]; });
274
+ }
275
+
276
+ var tokens = [],
277
+ re = _processPattern(pattern, lang.hitch(this, _buildDateTimeRE, tokens, bundle, options));
278
+ return {regexp: re, tokens: tokens, bundle: bundle};
279
+ };
280
+
281
+ dojo.date.locale.parse = function(/*String*/value, /*dojo.date.locale.__FormatOptions?*/options){
282
+ // summary:
283
+ // Convert a properly formatted string to a primitive Date object,
284
+ // using locale-specific settings.
285
+ //
286
+ // description:
287
+ // Create a Date object from a string using a known localized pattern.
288
+ // By default, this method parses looking for both date and time in the string.
289
+ // Formatting patterns are chosen appropriate to the locale. Different
290
+ // formatting lengths may be chosen, with "full" used by default.
291
+ // Custom patterns may be used or registered with translations using
292
+ // the dojo.date.locale.addCustomFormats method.
293
+ //
294
+ // Formatting patterns are implemented using [the syntax described at
295
+ // unicode.org](http://www.unicode.org/reports/tr35/tr35-4.html#Date_Format_Patterns)
296
+ // When two digit years are used, a century is chosen according to a sliding
297
+ // window of 80 years before and 20 years after present year, for both `yy` and `yyyy` patterns.
298
+ // year < 100CE requires strict mode.
299
+ //
300
+ // value:
301
+ // A string representation of a date
302
+
303
+ // remove non-printing bidi control chars from input and pattern
304
+ var controlChars = /[\u200E\u200F\u202A\u202E]/g,
305
+ info = dojo.date.locale._parseInfo(options),
306
+ tokens = info.tokens, bundle = info.bundle,
307
+ re = new RegExp("^" + info.regexp.replace(controlChars, "") + "$",
308
+ info.strict ? "" : "i"),
309
+ match = re.exec(value && value.replace(controlChars, ""));
310
+
311
+ if(!match){ return null; } // null
312
+
313
+ var widthList = ['abbr', 'wide', 'narrow'],
314
+ result = [1970,0,1,0,0,0,0], // will get converted to a Date at the end
315
+ amPm = "",
316
+ valid = dojo.every(match, function(v, i){
317
+ if(!i){return true;}
318
+ var token=tokens[i-1];
319
+ var l=token.length;
320
+ switch(token.charAt(0)){
321
+ case 'y':
322
+ if(l != 2 && options.strict){
323
+ //interpret year literally, so '5' would be 5 A.D.
324
+ result[0] = v;
325
+ }else{
326
+ if(v<100){
327
+ v = Number(v);
328
+ //choose century to apply, according to a sliding window
329
+ //of 80 years before and 20 years after present year
330
+ var year = '' + new Date().getFullYear(),
331
+ century = year.substring(0, 2) * 100,
332
+ cutoff = Math.min(Number(year.substring(2, 4)) + 20, 99);
333
+ result[0] = (v < cutoff) ? century + v : century - 100 + v;
334
+ }else{
335
+ //we expected 2 digits and got more...
336
+ if(options.strict){
337
+ return false;
338
+ }
339
+ //interpret literally, so '150' would be 150 A.D.
340
+ //also tolerate '1950', if 'yyyy' input passed to 'yy' format
341
+ result[0] = v;
342
+ }
343
+ }
344
+ break;
345
+ case 'M':
346
+ if(l>2){
347
+ var months = bundle['months-format-' + widthList[l-3]].concat();
348
+ if(!options.strict){
349
+ //Tolerate abbreviating period in month part
350
+ //Case-insensitive comparison
351
+ v = v.replace(".","").toLowerCase();
352
+ months = dojo.map(months, function(s){ return s.replace(".","").toLowerCase(); } );
353
+ }
354
+ v = dojo.indexOf(months, v);
355
+ if(v == -1){
356
+ // console.log("dojo.date.locale.parse: Could not parse month name: '" + v + "'.");
357
+ return false;
358
+ }
359
+ }else{
360
+ v--;
361
+ }
362
+ result[1] = v;
363
+ break;
364
+ case 'E':
365
+ case 'e':
366
+ var days = bundle['days-format-' + widthList[l-3]].concat();
367
+ if(!options.strict){
368
+ //Case-insensitive comparison
369
+ v = v.toLowerCase();
370
+ days = dojo.map(days, function(d){return d.toLowerCase();});
371
+ }
372
+ v = dojo.indexOf(days, v);
373
+ if(v == -1){
374
+ // console.log("dojo.date.locale.parse: Could not parse weekday name: '" + v + "'.");
375
+ return false;
376
+ }
377
+
378
+ //TODO: not sure what to actually do with this input,
379
+ //in terms of setting something on the Date obj...?
380
+ //without more context, can't affect the actual date
381
+ //TODO: just validate?
382
+ break;
383
+ case 'D':
384
+ result[1] = 0;
385
+ // fallthrough...
386
+ case 'd':
387
+ result[2] = v;
388
+ break;
389
+ case 'a': //am/pm
390
+ var am = options.am || bundle['dayPeriods-format-wide-am'],
391
+ pm = options.pm || bundle['dayPeriods-format-wide-pm'];
392
+ if(!options.strict){
393
+ var period = /\./g;
394
+ v = v.replace(period,'').toLowerCase();
395
+ am = am.replace(period,'').toLowerCase();
396
+ pm = pm.replace(period,'').toLowerCase();
397
+ }
398
+ if(options.strict && v != am && v != pm){
399
+ // console.log("dojo.date.locale.parse: Could not parse am/pm part.");
400
+ return false;
401
+ }
402
+
403
+ // we might not have seen the hours field yet, so store the state and apply hour change later
404
+ amPm = (v == pm) ? 'p' : (v == am) ? 'a' : '';
405
+ break;
406
+ case 'K': //hour (1-24)
407
+ if(v == 24){ v = 0; }
408
+ // fallthrough...
409
+ case 'h': //hour (1-12)
410
+ case 'H': //hour (0-23)
411
+ case 'k': //hour (0-11)
412
+ //TODO: strict bounds checking, padding
413
+ if(v > 23){
414
+ // console.log("dojo.date.locale.parse: Illegal hours value");
415
+ return false;
416
+ }
417
+
418
+ //in the 12-hour case, adjusting for am/pm requires the 'a' part
419
+ //which could come before or after the hour, so we will adjust later
420
+ result[3] = v;
421
+ break;
422
+ case 'm': //minutes
423
+ result[4] = v;
424
+ break;
425
+ case 's': //seconds
426
+ result[5] = v;
427
+ break;
428
+ case 'S': //milliseconds
429
+ result[6] = v;
430
+ // break;
431
+ // case 'w':
432
+ //TODO var firstDay = 0;
433
+ // default:
434
+ //TODO: throw?
435
+ // console.log("dojo.date.locale.parse: unsupported pattern char=" + token.charAt(0));
436
+ }
437
+ return true;
438
+ });
439
+
440
+ var hours = +result[3];
441
+ if(amPm === 'p' && hours < 12){
442
+ result[3] = hours + 12; //e.g., 3pm -> 15
443
+ }else if(amPm === 'a' && hours == 12){
444
+ result[3] = 0; //12am -> 0
445
+ }
446
+
447
+ //TODO: implement a getWeekday() method in order to test
448
+ //validity of input strings containing 'EEE' or 'EEEE'...
449
+
450
+ var dateObject = new Date(result[0], result[1], result[2], result[3], result[4], result[5], result[6]); // Date
451
+ if(options.strict){
452
+ dateObject.setFullYear(result[0]);
453
+ }
454
+
455
+ // Check for overflow. The Date() constructor normalizes things like April 32nd...
456
+ //TODO: why isn't this done for times as well?
457
+ var allTokens = tokens.join(""),
458
+ dateToken = allTokens.indexOf('d') != -1,
459
+ monthToken = allTokens.indexOf('M') != -1;
460
+
461
+ if(!valid ||
462
+ (monthToken && dateObject.getMonth() > result[1]) ||
463
+ (dateToken && dateObject.getDate() > result[2])){
464
+ return null;
465
+ }
466
+
467
+ // Check for underflow, due to DST shifts. See #9366
468
+ // This assumes a 1 hour dst shift correction at midnight
469
+ // We could compare the timezone offset after the shift and add the difference instead.
470
+ if((monthToken && dateObject.getMonth() < result[1]) ||
471
+ (dateToken && dateObject.getDate() < result[2])){
472
+ dateObject = date.add(dateObject, "hour", 1);
473
+ }
474
+
475
+ return dateObject; // Date
476
+ };
477
+
478
+ function _processPattern(pattern, applyPattern, applyLiteral, applyAll){
479
+ //summary: Process a pattern with literals in it
480
+
481
+ // Break up on single quotes, treat every other one as a literal, except '' which becomes '
482
+ var identity = function(x){return x;};
483
+ applyPattern = applyPattern || identity;
484
+ applyLiteral = applyLiteral || identity;
485
+ applyAll = applyAll || identity;
486
+
487
+ //split on single quotes (which escape literals in date format strings)
488
+ //but preserve escaped single quotes (e.g., o''clock)
489
+ var chunks = pattern.match(/(''|[^'])+/g),
490
+ literal = pattern.charAt(0) == "'";
491
+
492
+ dojo.forEach(chunks, function(chunk, i){
493
+ if(!chunk){
494
+ chunks[i]='';
495
+ }else{
496
+ chunks[i]=(literal ? applyLiteral : applyPattern)(chunk.replace(/''/g, "'"));
497
+ literal = !literal;
498
+ }
499
+ });
500
+ return applyAll(chunks.join(''));
501
+ }
502
+
503
+ function _buildDateTimeRE(tokens, bundle, options, pattern){
504
+ pattern = regexp.escapeString(pattern);
505
+ if(!options.strict){ pattern = pattern.replace(" a", " ?a"); } // kludge to tolerate no space before am/pm
506
+ return pattern.replace(/([a-z])\1*/ig, function(match){
507
+ // Build a simple regexp. Avoid captures, which would ruin the tokens list
508
+ var s,
509
+ c = match.charAt(0),
510
+ l = match.length,
511
+ p2 = '', p3 = '';
512
+ if(options.strict){
513
+ if(l > 1){ p2 = '0' + '{'+(l-1)+'}'; }
514
+ if(l > 2){ p3 = '0' + '{'+(l-2)+'}'; }
515
+ }else{
516
+ p2 = '0?'; p3 = '0{0,2}';
517
+ }
518
+ switch(c){
519
+ case 'y':
520
+ s = '\\d{2,4}';
521
+ break;
522
+ case 'M':
523
+ s = (l>2) ? '\\S+?' : '1[0-2]|'+p2+'[1-9]';
524
+ break;
525
+ case 'D':
526
+ s = '[12][0-9][0-9]|3[0-5][0-9]|36[0-6]|'+p2+'[1-9][0-9]|'+p3+'[1-9]';
527
+ break;
528
+ case 'd':
529
+ s = '3[01]|[12]\\d|'+p2+'[1-9]';
530
+ break;
531
+ case 'w':
532
+ s = '[1-4][0-9]|5[0-3]|'+p2+'[1-9]';
533
+ break;
534
+ case 'E':
535
+ s = '\\S+';
536
+ break;
537
+ case 'h': //hour (1-12)
538
+ s = '1[0-2]|'+p2+'[1-9]';
539
+ break;
540
+ case 'k': //hour (0-11)
541
+ s = '1[01]|'+p2+'\\d';
542
+ break;
543
+ case 'H': //hour (0-23)
544
+ s = '1\\d|2[0-3]|'+p2+'\\d';
545
+ break;
546
+ case 'K': //hour (1-24)
547
+ s = '1\\d|2[0-4]|'+p2+'[1-9]';
548
+ break;
549
+ case 'm':
550
+ case 's':
551
+ s = '[0-5]\\d';
552
+ break;
553
+ case 'S':
554
+ s = '\\d{'+l+'}';
555
+ break;
556
+ case 'a':
557
+ var am = options.am || bundle['dayPeriods-format-wide-am'],
558
+ pm = options.pm || bundle['dayPeriods-format-wide-pm'];
559
+ s = am + '|' + pm;
560
+ if(!options.strict){
561
+ if(am != am.toLowerCase()){ s += '|' + am.toLowerCase(); }
562
+ if(pm != pm.toLowerCase()){ s += '|' + pm.toLowerCase(); }
563
+ if(s.indexOf('.') != -1){ s += '|' + s.replace(/\./g, ""); }
564
+ }
565
+ s = s.replace(/\./g, "\\.");
566
+ break;
567
+ default:
568
+ // case 'v':
569
+ // case 'z':
570
+ // case 'Z':
571
+ s = ".*";
572
+ // console.log("parse of date format, pattern=" + pattern);
573
+ }
574
+
575
+ if(tokens){ tokens.push(match); }
576
+
577
+ return "(" + s + ")"; // add capture
578
+ }).replace(/[\xa0 ]/g, "[\\s\\xa0]"); // normalize whitespace. Need explicit handling of \xa0 for IE.
579
+ }
580
+
581
+ var _customFormats = [];
582
+ dojo.date.locale.addCustomFormats = function(/*String*/packageName, /*String*/bundleName){
583
+ // summary:
584
+ // Add a reference to a bundle containing localized custom formats to be
585
+ // used by date/time formatting and parsing routines.
586
+ //
587
+ // description:
588
+ // The user may add custom localized formats where the bundle has properties following the
589
+ // same naming convention used by dojo.cldr: `dateFormat-xxxx` / `timeFormat-xxxx`
590
+ // The pattern string should match the format used by the CLDR.
591
+ // See dojo.date.locale.format() for details.
592
+ // The resources must be loaded by dojo.requireLocalization() prior to use
593
+
594
+ _customFormats.push({pkg:packageName,name:bundleName});
595
+ };
596
+
597
+ dojo.date.locale._getGregorianBundle = function(/*String*/locale){
598
+ var gregorian = {};
599
+ dojo.forEach(_customFormats, function(desc){
600
+ var bundle = dojo.i18n.getLocalization(desc.pkg, desc.name, locale);
601
+ gregorian = lang.mixin(gregorian, bundle);
602
+ }, this);
603
+ return gregorian; /*Object*/
604
+ };
605
+
606
+ dojo.date.locale.addCustomFormats("dojo.cldr","gregorian");
607
+
608
+ dojo.date.locale.getNames = function(/*String*/item, /*String*/type, /*String?*/context, /*String?*/locale){
609
+ // summary:
610
+ // Used to get localized strings from dojo.cldr for day or month names.
611
+ //
612
+ // item:
613
+ // 'months' || 'days'
614
+ // type:
615
+ // 'wide' || 'abbr' || 'narrow' (e.g. "Monday", "Mon", or "M" respectively, in English)
616
+ // context:
617
+ // 'standAlone' || 'format' (default)
618
+ // locale:
619
+ // override locale used to find the names
620
+
621
+ var label,
622
+ lookup = dojo.date.locale._getGregorianBundle(locale),
623
+ props = [item, context, type];
624
+ if(context == 'standAlone'){
625
+ var key = props.join('-');
626
+ label = lookup[key];
627
+ // Fall back to 'format' flavor of name
628
+ if(label[0] == 1){ label = undefined; } // kludge, in the absence of real aliasing support in dojo.cldr
629
+ }
630
+ props[1] = 'format';
631
+
632
+ // return by copy so changes won't be made accidentally to the in-memory model
633
+ return (label || lookup[props.join('-')]).concat(); /*Array*/
634
+ };
635
+
636
+ dojo.date.locale.isWeekend = function(/*Date?*/dateObject, /*String?*/locale){
637
+ // summary:
638
+ // Determines if the date falls on a weekend, according to local custom.
639
+
640
+ var weekend = cldr.getWeekend(locale),
641
+ day = (dateObject || new Date()).getDay();
642
+ if(weekend.end < weekend.start){
643
+ weekend.end += 7;
644
+ if(day < weekend.start){ day += 7; }
645
+ }
646
+ return day >= weekend.start && day <= weekend.end; // Boolean
647
+ };
648
+
649
+ // These are used only by format and strftime. Do they need to be public? Which module should they go in?
650
+
651
+ dojo.date.locale._getDayOfYear = function(/*Date*/dateObject){
652
+ // summary: gets the day of the year as represented by dateObject
653
+ return date.difference(new Date(dateObject.getFullYear(), 0, 1, dateObject.getHours()), dateObject) + 1; // Number
654
+ };
655
+
656
+ dojo.date.locale._getWeekOfYear = function(/*Date*/dateObject, /*Number*/firstDayOfWeek){
657
+ if(arguments.length == 1){ firstDayOfWeek = 0; } // Sunday
658
+
659
+ var firstDayOfYear = new Date(dateObject.getFullYear(), 0, 1).getDay(),
660
+ adj = (firstDayOfYear - firstDayOfWeek + 7) % 7,
661
+ week = Math.floor((dojo.date.locale._getDayOfYear(dateObject) + adj - 1) / 7);
662
+
663
+ // if year starts on the specified day, start counting weeks at 1
664
+ if(firstDayOfYear == firstDayOfWeek){ week++; }
665
+
666
+ return week; // Number
667
+ };
668
+
669
+ return dojo.date.locale;
670
+ });