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,311 @@
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/on",["./has!dom-addeventlistener?:./aspect","./_base/kernel","./has"],function(_1,_2,_3){
9
+ "use strict";
10
+ if(1){
11
+ var _4=window.ScriptEngineMajorVersion;
12
+ _3.add("jscript",_4&&(_4()+ScriptEngineMinorVersion()/10));
13
+ _3.add("event-orientationchange",_3("touch")&&!_3("android"));
14
+ }
15
+ var on=function(_5,_6,_7,_8){
16
+ if(_5.on){
17
+ return _5.on(_6,_7);
18
+ }
19
+ return on.parse(_5,_6,_7,_9,_8,this);
20
+ };
21
+ on.pausable=function(_a,_b,_c,_d){
22
+ var _e;
23
+ var _f=on(_a,_b,function(){
24
+ if(!_e){
25
+ return _c.apply(this,arguments);
26
+ }
27
+ },_d);
28
+ _f.pause=function(){
29
+ _e=true;
30
+ };
31
+ _f.resume=function(){
32
+ _e=false;
33
+ };
34
+ return _f;
35
+ };
36
+ on.once=function(_10,_11,_12,_13){
37
+ var _14=on(_10,_11,function(){
38
+ _14.remove();
39
+ return _12.apply(this,arguments);
40
+ });
41
+ return _14;
42
+ };
43
+ on.parse=function(_15,_16,_17,_18,_19,_1a){
44
+ if(_16.call){
45
+ return _16.call(_1a,_15,_17);
46
+ }
47
+ if(_16.indexOf(",")>-1){
48
+ var _1b=_16.split(/\s*,\s*/);
49
+ var _1c=[];
50
+ var i=0;
51
+ var _1d;
52
+ while(_1d=_1b[i++]){
53
+ _1c.push(_18(_15,_1d,_17,_19,_1a));
54
+ }
55
+ _1c.remove=function(){
56
+ for(var i=0;i<_1c.length;i++){
57
+ _1c[i].remove();
58
+ }
59
+ };
60
+ return _1c;
61
+ }
62
+ return _18(_15,_16,_17,_19,_1a);
63
+ };
64
+ var _1e=/^touch/;
65
+ function _9(_1f,_20,_21,_22,_23){
66
+ var _24=_20.match(/(.*):(.*)/);
67
+ if(_24){
68
+ _20=_24[2];
69
+ _24=_24[1];
70
+ return on.selector(_24,_20).call(_23,_1f,_21);
71
+ }
72
+ if(_3("touch")){
73
+ if(_1e.test(_20)){
74
+ _21=_25(_21);
75
+ }
76
+ if(!_3("event-orientationchange")&&(_20=="orientationchange")){
77
+ _20="resize";
78
+ _1f=window;
79
+ _21=_25(_21);
80
+ }
81
+ }
82
+ if(_1f.addEventListener){
83
+ var _26=_20 in _27;
84
+ _1f.addEventListener(_26?_27[_20]:_20,_21,_26);
85
+ return {remove:function(){
86
+ _1f.removeEventListener(_20,_21,_26);
87
+ }};
88
+ }
89
+ _20="on"+_20;
90
+ if(_28&&_1f.attachEvent){
91
+ return _28(_1f,_20,_21);
92
+ }
93
+ throw new Error("Target must be an event emitter");
94
+ };
95
+ on.selector=function(_29,_2a,_2b){
96
+ return function(_2c,_2d){
97
+ var _2e=this;
98
+ var _2f=_2a.bubble;
99
+ if(_2f){
100
+ _2a=_2f;
101
+ }else{
102
+ if(_2b!==false){
103
+ _2b=true;
104
+ }
105
+ }
106
+ return on(_2c,_2a,function(_30){
107
+ var _31=_30.target;
108
+ _2e=_2e&&_2e.matches?_2e:_2.query;
109
+ while(!_2e.matches(_31,_29,_2c)){
110
+ if(_31==_2c||!_2b||!(_31=_31.parentNode)){
111
+ return;
112
+ }
113
+ }
114
+ return _2d.call(_31,_30);
115
+ });
116
+ };
117
+ };
118
+ function _32(){
119
+ this.cancelable=false;
120
+ };
121
+ function _33(){
122
+ this.bubbles=false;
123
+ };
124
+ var _34=[].slice,_35=on.emit=function(_36,_37,_38){
125
+ var _39=_34.call(arguments,2);
126
+ var _3a="on"+_37;
127
+ if("parentNode" in _36){
128
+ var _3b=_39[0]={};
129
+ for(var i in _38){
130
+ _3b[i]=_38[i];
131
+ }
132
+ _3b.preventDefault=_32;
133
+ _3b.stopPropagation=_33;
134
+ _3b.target=_36;
135
+ _3b.type=_37;
136
+ _38=_3b;
137
+ }
138
+ do{
139
+ _36[_3a]&&_36[_3a].apply(_36,_39);
140
+ }while(_38&&_38.bubbles&&(_36=_36.parentNode));
141
+ return _38&&_38.cancelable&&_38;
142
+ };
143
+ var _27={};
144
+ if(_3("dom-addeventlistener")){
145
+ _27={focusin:"focus",focusout:"blur"};
146
+ if(_3("opera")){
147
+ _27.keydown="keypress";
148
+ }
149
+ on.emit=function(_3c,_3d,_3e){
150
+ if(_3c.dispatchEvent&&document.createEvent){
151
+ var _3f=document.createEvent("HTMLEvents");
152
+ _3f.initEvent(_3d,!!_3e.bubbles,!!_3e.cancelable);
153
+ for(var i in _3e){
154
+ var _40=_3e[i];
155
+ if(!(i in _3f)){
156
+ _3f[i]=_3e[i];
157
+ }
158
+ }
159
+ return _3c.dispatchEvent(_3f)&&_3f;
160
+ }
161
+ return _35.apply(on,arguments);
162
+ };
163
+ }else{
164
+ on._fixEvent=function(evt,_41){
165
+ if(!evt){
166
+ var w=_41&&(_41.ownerDocument||_41.document||_41).parentWindow||window;
167
+ evt=w.event;
168
+ }
169
+ if(!evt){
170
+ return (evt);
171
+ }
172
+ if(!evt.target){
173
+ evt.target=evt.srcElement;
174
+ evt.currentTarget=(_41||evt.srcElement);
175
+ if(evt.type=="mouseover"){
176
+ evt.relatedTarget=evt.fromElement;
177
+ }
178
+ if(evt.type=="mouseout"){
179
+ evt.relatedTarget=evt.toElement;
180
+ }
181
+ if(!evt.stopPropagation){
182
+ evt.stopPropagation=_42;
183
+ evt.preventDefault=_43;
184
+ }
185
+ switch(evt.type){
186
+ case "keypress":
187
+ var c=("charCode" in evt?evt.charCode:evt.keyCode);
188
+ if(c==10){
189
+ c=0;
190
+ evt.keyCode=13;
191
+ }else{
192
+ if(c==13||c==27){
193
+ c=0;
194
+ }else{
195
+ if(c==3){
196
+ c=99;
197
+ }
198
+ }
199
+ }
200
+ evt.charCode=c;
201
+ _44(evt);
202
+ break;
203
+ }
204
+ }
205
+ return evt;
206
+ };
207
+ var _45=function(_46){
208
+ this.handle=_46;
209
+ };
210
+ _45.prototype.remove=function(){
211
+ delete _dojoIEListeners_[this.handle];
212
+ };
213
+ var _47=function(_48){
214
+ return function(evt){
215
+ evt=on._fixEvent(evt,this);
216
+ return _48.call(this,evt);
217
+ };
218
+ };
219
+ var _28=function(_49,_4a,_4b){
220
+ _4b=_47(_4b);
221
+ if(((_49.ownerDocument?_49.ownerDocument.parentWindow:_49.parentWindow||_49.window||window)!=top||_3("jscript")<5.8)&&!_3("config-_allow_leaks")){
222
+ if(typeof _dojoIEListeners_=="undefined"){
223
+ _dojoIEListeners_=[];
224
+ }
225
+ var _4c=_49[_4a];
226
+ if(!_4c||!_4c.listeners){
227
+ var _4d=_4c;
228
+ _49[_4a]=_4c=Function("event","var callee = arguments.callee; for(var i = 0; i<callee.listeners.length; i++){var listener = _dojoIEListeners_[callee.listeners[i]]; if(listener){listener.call(this,event);}}");
229
+ _4c.listeners=[];
230
+ _4c.global=this;
231
+ if(_4d){
232
+ _4c.listeners.push(_dojoIEListeners_.push(_4d)-1);
233
+ }
234
+ }
235
+ var _4e;
236
+ _4c.listeners.push(_4e=(_4c.global._dojoIEListeners_.push(_4b)-1));
237
+ return new _45(_4e);
238
+ }
239
+ return _1.after(_49,_4a,_4b,true);
240
+ };
241
+ var _44=function(evt){
242
+ evt.keyChar=evt.charCode?String.fromCharCode(evt.charCode):"";
243
+ evt.charOrCode=evt.keyChar||evt.keyCode;
244
+ };
245
+ var _42=function(){
246
+ this.cancelBubble=true;
247
+ };
248
+ var _43=on._preventDefault=function(){
249
+ this.bubbledKeyCode=this.keyCode;
250
+ if(this.ctrlKey){
251
+ try{
252
+ this.keyCode=0;
253
+ }
254
+ catch(e){
255
+ }
256
+ }
257
+ this.returnValue=false;
258
+ };
259
+ }
260
+ if(_3("touch")){
261
+ var _4f=function(){
262
+ };
263
+ var _50=window.orientation;
264
+ var _25=function(_51){
265
+ return function(_52){
266
+ var _53=_52.corrected;
267
+ if(!_53){
268
+ var _54=_52.type;
269
+ try{
270
+ delete _52.type;
271
+ }
272
+ catch(e){
273
+ }
274
+ if(_52.type){
275
+ _4f.prototype=_52;
276
+ var _53=new _4f;
277
+ _53.preventDefault=function(){
278
+ _52.preventDefault();
279
+ };
280
+ _53.stopPropagation=function(){
281
+ _52.stopPropagation();
282
+ };
283
+ }else{
284
+ _53=_52;
285
+ _53.type=_54;
286
+ }
287
+ _52.corrected=_53;
288
+ if(_54=="resize"){
289
+ if(_50==window.orientation){
290
+ return null;
291
+ }
292
+ _50=window.orientation;
293
+ _53.type="orientationchange";
294
+ return _51.call(this,_53);
295
+ }
296
+ if(!("rotation" in _53)){
297
+ _53.rotation=0;
298
+ _53.scale=1;
299
+ }
300
+ var _55=_53.changedTouches[0];
301
+ for(var i in _55){
302
+ delete _53[i];
303
+ _53[i]=_55[i];
304
+ }
305
+ }
306
+ return _51.call(this,_53);
307
+ };
308
+ };
309
+ }
310
+ return on;
311
+ });
@@ -0,0 +1,474 @@
1
+ define("dojo/on", ["./has!dom-addeventlistener?:./aspect", "./_base/kernel", "./has"], function(aspect, dojo, has){
2
+ // summary:
3
+ // The export of this module is a function that provides core event listening functionality. With this function
4
+ // you can provide a target, event type, and listener to be notified of
5
+ // future matching events that are fired.
6
+ // target: Element|Object
7
+ // This is the target object or DOM element that to receive events from
8
+ // type: String|Function
9
+ // This is the name of the event to listen for or an extension event type.
10
+ // listener: Function
11
+ // This is the function that should be called when the event fires.
12
+ // returns: Object
13
+ // An object with a remove() method that can be used to stop listening for this
14
+ // event.
15
+ // description:
16
+ // To listen for "click" events on a button node, we can do:
17
+ // | define(["dojo/on"], function(listen){
18
+ // | on(button, "click", clickHandler);
19
+ // | ...
20
+ // Evented JavaScript objects can also have their own events.
21
+ // | var obj = new Evented;
22
+ // | on(obj, "foo", fooHandler);
23
+ // And then we could publish a "foo" event:
24
+ // | on.emit(obj, "foo", {key: "value"});
25
+ // We can use extension events as well. For example, you could listen for a tap gesture:
26
+ // | define(["dojo/on", "dojo/gesture/tap", function(listen, tap){
27
+ // | on(button, tap, tapHandler);
28
+ // | ...
29
+ // which would trigger fooHandler. Note that for a simple object this is equivalent to calling:
30
+ // | obj.onfoo({key:"value"});
31
+ // If you use on.emit on a DOM node, it will use native event dispatching when possible.
32
+
33
+ "use strict";
34
+ if(1){ // check to make sure we are in a browser, this module should work anywhere
35
+ var major = window.ScriptEngineMajorVersion;
36
+ has.add("jscript", major && (major() + ScriptEngineMinorVersion() / 10));
37
+ has.add("event-orientationchange", has("touch") && !has("android")); // TODO: how do we detect this?
38
+ }
39
+ var on = function(target, type, listener, dontFix){
40
+ if(target.on){
41
+ // delegate to the target's on() method, so it can handle it's own listening if it wants
42
+ return target.on(type, listener);
43
+ }
44
+ // delegate to main listener code
45
+ return on.parse(target, type, listener, addListener, dontFix, this);
46
+ };
47
+ on.pausable = function(target, type, listener, dontFix){
48
+ // summary:
49
+ // This function acts the same as on(), but with pausable functionality. The
50
+ // returned signal object has pause() and resume() functions. Calling the
51
+ // pause() method will cause the listener to not be called for future events. Calling the
52
+ // resume() method will cause the listener to again be called for future events.
53
+ var paused;
54
+ var signal = on(target, type, function(){
55
+ if(!paused){
56
+ return listener.apply(this, arguments);
57
+ }
58
+ }, dontFix);
59
+ signal.pause = function(){
60
+ paused = true;
61
+ };
62
+ signal.resume = function(){
63
+ paused = false;
64
+ };
65
+ return signal;
66
+ };
67
+ on.once = function(target, type, listener, dontFix){
68
+ // summary:
69
+ // This function acts the same as on(), but will only call the listener once. The
70
+ // listener will be called for the first
71
+ // event that takes place and then listener will automatically be removed.
72
+ var signal = on(target, type, function(){
73
+ // remove this listener
74
+ signal.remove();
75
+ // proceed to call the listener
76
+ return listener.apply(this, arguments);
77
+ });
78
+ return signal;
79
+ };
80
+ on.parse = function(target, type, listener, addListener, dontFix, matchesTarget){
81
+ if(type.call){
82
+ // event handler function
83
+ // on(node, dojo.touch.press, touchListener);
84
+ return type.call(matchesTarget, target, listener);
85
+ }
86
+
87
+ if(type.indexOf(",") > -1){
88
+ // we allow comma delimited event names, so you can register for multiple events at once
89
+ var events = type.split(/\s*,\s*/);
90
+ var handles = [];
91
+ var i = 0;
92
+ var eventName;
93
+ while(eventName = events[i++]){
94
+ handles.push(addListener(target, eventName, listener, dontFix, matchesTarget));
95
+ }
96
+ handles.remove = function(){
97
+ for(var i = 0; i < handles.length; i++){
98
+ handles[i].remove();
99
+ }
100
+ };
101
+ return handles;
102
+ }
103
+ return addListener(target, type, listener, dontFix, matchesTarget)
104
+ };
105
+ var touchEvents = /^touch/;
106
+ function addListener(target, type, listener, dontFix, matchesTarget){
107
+ // event delegation:
108
+ var selector = type.match(/(.*):(.*)/);
109
+ // if we have a selector:event, the last one is interpreted as an event, and we use event delegation
110
+ if(selector){
111
+ type = selector[2];
112
+ selector = selector[1];
113
+ // create the extension event for selectors and directly call it
114
+ return on.selector(selector, type).call(matchesTarget, target, listener);
115
+ }
116
+ // test to see if it a touch event right now, so we don't have to do it every time it fires
117
+ if(has("touch")){
118
+ if(touchEvents.test(type)){
119
+ // touch event, fix it
120
+ listener = fixTouchListener(listener);
121
+ }
122
+ if(!has("event-orientationchange") && (type == "orientationchange")){
123
+ //"orientationchange" not supported <= Android 2.1,
124
+ //but works through "resize" on window
125
+ type = "resize";
126
+ target = window;
127
+ listener = fixTouchListener(listener);
128
+ }
129
+ }
130
+ // normal path, the target is |this|
131
+ if(target.addEventListener){
132
+ // the target has addEventListener, which should be used if available (might or might not be a node, non-nodes can implement this method as well)
133
+ // check for capture conversions
134
+ var capture = type in captures;
135
+ target.addEventListener(capture ? captures[type] : type, listener, capture);
136
+ // create and return the signal
137
+ return {
138
+ remove: function(){
139
+ target.removeEventListener(type, listener, capture);
140
+ }
141
+ };
142
+ }
143
+ type = "on" + type;
144
+ if(fixAttach && target.attachEvent){
145
+ return fixAttach(target, type, listener);
146
+ }
147
+ throw new Error("Target must be an event emitter");
148
+ }
149
+
150
+ on.selector = function(selector, eventType, children){
151
+ // summary:
152
+ // Creates a new extension event with event delegation. This is based on
153
+ // the provided event type (can be extension event) that
154
+ // only calls the listener when the CSS selector matches the target of the event.
155
+ // selector:
156
+ // The CSS selector to use for filter events and determine the |this| of the event listener.
157
+ // eventType:
158
+ // The event to listen for
159
+ // children:
160
+ // Indicates if children elements of the selector should be allowed. This defaults to
161
+ // true (except in the case of normally non-bubbling events like mouse.enter, in which case it defaults to false).
162
+ // example:
163
+ // define(["dojo/on", "dojo/mouse"], function(listen, mouse){
164
+ // on(node, on.selector(".my-class", mouse.enter), handlerForMyHover);
165
+ return function(target, listener){
166
+ var matchesTarget = this;
167
+ var bubble = eventType.bubble;
168
+ if(bubble){
169
+ // the event type doesn't naturally bubble, but has a bubbling form, use that
170
+ eventType = bubble;
171
+ }else if(children !== false){
172
+ // for normal bubbling events we default to allowing children of the selector
173
+ children = true;
174
+ }
175
+ return on(target, eventType, function(event){
176
+ var eventTarget = event.target;
177
+ // see if we have a valid matchesTarget or default to dojo.query
178
+ matchesTarget = matchesTarget && matchesTarget.matches ? matchesTarget : dojo.query;
179
+ // there is a selector, so make sure it matches
180
+ while(!matchesTarget.matches(eventTarget, selector, target)){
181
+ if(eventTarget == target || !children || !(eventTarget = eventTarget.parentNode)){ // intentional assignment
182
+ return;
183
+ }
184
+ }
185
+ return listener.call(eventTarget, event);
186
+ });
187
+ };
188
+ };
189
+
190
+ function syntheticPreventDefault(){
191
+ this.cancelable = false;
192
+ }
193
+ function syntheticStopPropagation(){
194
+ this.bubbles = false;
195
+ }
196
+ var slice = [].slice,
197
+ syntheticDispatch = on.emit = function(target, type, event){
198
+ // summary:
199
+ // Fires an event on the target object.
200
+ // target:
201
+ // The target object to fire the event on. This can be a DOM element or a plain
202
+ // JS object. If the target is a DOM element, native event emiting mechanisms
203
+ // are used when possible.
204
+ // type:
205
+ // The event type name. You can emulate standard native events like "click" and
206
+ // "mouseover" or create custom events like "open" or "finish".
207
+ // event:
208
+ // An object that provides the properties for the event. See https://developer.mozilla.org/en/DOM/event.initEvent
209
+ // for some of the properties. These properties are copied to the event object.
210
+ // Of particular importance are the cancelable and bubbles properties. The
211
+ // cancelable property indicates whether or not the event has a default action
212
+ // that can be cancelled. The event is cancelled by calling preventDefault() on
213
+ // the event object. The bubbles property indicates whether or not the
214
+ // event will bubble up the DOM tree. If bubbles is true, the event will be called
215
+ // on the target and then each parent successively until the top of the tree
216
+ // is reached or stopPropagation() is called. Both bubbles and cancelable
217
+ // default to false.
218
+ // returns:
219
+ // If the event is cancelable and the event is not cancelled,
220
+ // emit will return true. If the event is cancelable and the event is cancelled,
221
+ // emit will return false.
222
+ // details:
223
+ // Note that this is designed to emit events for listeners registered through
224
+ // dojo/on. It should actually work with any event listener except those
225
+ // added through IE's attachEvent (IE8 and below's non-W3C event emiting
226
+ // doesn't support custom event types). It should work with all events registered
227
+ // through dojo/on. Also note that the emit method does do any default
228
+ // action, it only returns a value to indicate if the default action should take
229
+ // place. For example, emiting a keypress event would not cause a character
230
+ // to appear in a textbox.
231
+ // example:
232
+ // To fire our own click event
233
+ // | on.emit(dojo.byId("button"), "click", {
234
+ // | cancelable: true,
235
+ // | bubbles: true,
236
+ // | screenX: 33,
237
+ // | screenY: 44
238
+ // | });
239
+ // We can also fire our own custom events:
240
+ // | on.emit(dojo.byId("slider"), "slide", {
241
+ // | cancelable: true,
242
+ // | bubbles: true,
243
+ // | direction: "left-to-right"
244
+ // | });
245
+ var args = slice.call(arguments, 2);
246
+ var method = "on" + type;
247
+ if("parentNode" in target){
248
+ // node (or node-like), create event controller methods
249
+ var newEvent = args[0] = {};
250
+ for(var i in event){
251
+ newEvent[i] = event[i];
252
+ }
253
+ newEvent.preventDefault = syntheticPreventDefault;
254
+ newEvent.stopPropagation = syntheticStopPropagation;
255
+ newEvent.target = target;
256
+ newEvent.type = type;
257
+ event = newEvent;
258
+ }
259
+ do{
260
+ // call any node which has a handler (note that ideally we would try/catch to simulate normal event propagation but that causes too much pain for debugging)
261
+ target[method] && target[method].apply(target, args);
262
+ // and then continue up the parent node chain if it is still bubbling (if started as bubbles and stopPropagation hasn't been called)
263
+ }while(event && event.bubbles && (target = target.parentNode));
264
+ return event && event.cancelable && event; // if it is still true (was cancelable and was cancelled), return the event to indicate default action should happen
265
+ };
266
+ var captures = {};
267
+ if(has("dom-addeventlistener")){
268
+ // normalize focusin and focusout
269
+ captures = {
270
+ focusin: "focus",
271
+ focusout: "blur"
272
+ };
273
+ if(has("opera")){
274
+ captures.keydown = "keypress"; // this one needs to be transformed because Opera doesn't support repeating keys on keydown (and keypress works because it incorrectly fires on all keydown events)
275
+ }
276
+
277
+ // emiter that works with native event handling
278
+ on.emit = function(target, type, event){
279
+ if(target.dispatchEvent && document.createEvent){
280
+ // use the native event emiting mechanism if it is available on the target object
281
+ // create a generic event
282
+ // we could create branch into the different types of event constructors, but
283
+ // that would be a lot of extra code, with little benefit that I can see, seems
284
+ // best to use the generic constructor and copy properties over, making it
285
+ // easy to have events look like the ones created with specific initializers
286
+ var nativeEvent = document.createEvent("HTMLEvents");
287
+ nativeEvent.initEvent(type, !!event.bubbles, !!event.cancelable);
288
+ // and copy all our properties over
289
+ for(var i in event){
290
+ var value = event[i];
291
+ if(!(i in nativeEvent)){
292
+ nativeEvent[i] = event[i];
293
+ }
294
+ }
295
+ return target.dispatchEvent(nativeEvent) && nativeEvent;
296
+ }
297
+ return syntheticDispatch.apply(on, arguments); // emit for a non-node
298
+ };
299
+ }else{
300
+ // no addEventListener, basically old IE event normalization
301
+ on._fixEvent = function(evt, sender){
302
+ // summary:
303
+ // normalizes properties on the event object including event
304
+ // bubbling methods, keystroke normalization, and x/y positions
305
+ // evt:
306
+ // native event object
307
+ // sender:
308
+ // node to treat as "currentTarget"
309
+ if(!evt){
310
+ var w = sender && (sender.ownerDocument || sender.document || sender).parentWindow || window;
311
+ evt = w.event;
312
+ }
313
+ if(!evt){return(evt);}
314
+ if(!evt.target){ // check to see if it has been fixed yet
315
+ evt.target = evt.srcElement;
316
+ evt.currentTarget = (sender || evt.srcElement);
317
+ if(evt.type == "mouseover"){
318
+ evt.relatedTarget = evt.fromElement;
319
+ }
320
+ if(evt.type == "mouseout"){
321
+ evt.relatedTarget = evt.toElement;
322
+ }
323
+ if(!evt.stopPropagation){
324
+ evt.stopPropagation = stopPropagation;
325
+ evt.preventDefault = preventDefault;
326
+ }
327
+ switch(evt.type){
328
+ case "keypress":
329
+ var c = ("charCode" in evt ? evt.charCode : evt.keyCode);
330
+ if (c==10){
331
+ // CTRL-ENTER is CTRL-ASCII(10) on IE, but CTRL-ENTER on Mozilla
332
+ c=0;
333
+ evt.keyCode = 13;
334
+ }else if(c==13||c==27){
335
+ c=0; // Mozilla considers ENTER and ESC non-printable
336
+ }else if(c==3){
337
+ c=99; // Mozilla maps CTRL-BREAK to CTRL-c
338
+ }
339
+ // Mozilla sets keyCode to 0 when there is a charCode
340
+ // but that stops the event on IE.
341
+ evt.charCode = c;
342
+ _setKeyChar(evt);
343
+ break;
344
+ }
345
+ }
346
+ return evt;
347
+ };
348
+ var IESignal = function(handle){
349
+ this.handle = handle;
350
+ };
351
+ IESignal.prototype.remove = function(){
352
+ delete _dojoIEListeners_[this.handle];
353
+ };
354
+ var fixListener = function(listener){
355
+ // this is a minimal function for closing on the previous listener with as few as variables as possible
356
+ return function(evt){
357
+ evt = on._fixEvent(evt, this);
358
+ return listener.call(this, evt);
359
+ }
360
+ }
361
+ var fixAttach = function(target, type, listener){
362
+ listener = fixListener(listener);
363
+ if(((target.ownerDocument ? target.ownerDocument.parentWindow : target.parentWindow || target.window || window) != top ||
364
+ has("jscript") < 5.8) &&
365
+ !has("config-_allow_leaks")){
366
+ // IE will leak memory on certain handlers in frames (IE8 and earlier) and in unattached DOM nodes for JScript 5.7 and below.
367
+ // Here we use global redirection to solve the memory leaks
368
+ if(typeof _dojoIEListeners_ == "undefined"){
369
+ _dojoIEListeners_ = [];
370
+ }
371
+ var emiter = target[type];
372
+ if(!emiter || !emiter.listeners){
373
+ var oldListener = emiter;
374
+ target[type] = emiter = Function('event', 'var callee = arguments.callee; for(var i = 0; i<callee.listeners.length; i++){var listener = _dojoIEListeners_[callee.listeners[i]]; if(listener){listener.call(this,event);}}');
375
+ emiter.listeners = [];
376
+ emiter.global = this;
377
+ if(oldListener){
378
+ emiter.listeners.push(_dojoIEListeners_.push(oldListener) - 1);
379
+ }
380
+ }
381
+ var handle;
382
+ emiter.listeners.push(handle = (emiter.global._dojoIEListeners_.push(listener) - 1));
383
+ return new IESignal(handle);
384
+ }
385
+ return aspect.after(target, type, listener, true);
386
+ };
387
+
388
+ var _setKeyChar = function(evt){
389
+ evt.keyChar = evt.charCode ? String.fromCharCode(evt.charCode) : '';
390
+ evt.charOrCode = evt.keyChar || evt.keyCode;
391
+ };
392
+ // Called in Event scope
393
+ var stopPropagation = function(){
394
+ this.cancelBubble = true;
395
+ };
396
+ var preventDefault = on._preventDefault = function(){
397
+ // Setting keyCode to 0 is the only way to prevent certain keypresses (namely
398
+ // ctrl-combinations that correspond to menu accelerator keys).
399
+ // Otoh, it prevents upstream listeners from getting this information
400
+ // Try to split the difference here by clobbering keyCode only for ctrl
401
+ // combinations. If you still need to access the key upstream, bubbledKeyCode is
402
+ // provided as a workaround.
403
+ this.bubbledKeyCode = this.keyCode;
404
+ if(this.ctrlKey){
405
+ try{
406
+ // squelch errors when keyCode is read-only
407
+ // (e.g. if keyCode is ctrl or shift)
408
+ this.keyCode = 0;
409
+ }catch(e){
410
+ }
411
+ }
412
+ this.returnValue = false;
413
+ };
414
+ }
415
+ if(has("touch")){
416
+ var Event = function (){};
417
+ var windowOrientation = window.orientation;
418
+ var fixTouchListener = function(listener){
419
+ return function(originalEvent){
420
+ //Event normalization(for ontouchxxx and resize):
421
+ //1.incorrect e.pageX|pageY in iOS
422
+ //2.there are no "e.rotation", "e.scale" and "onorientationchange" in Andriod
423
+ //3.More TBD e.g. force | screenX | screenX | clientX | clientY | radiusX | radiusY
424
+
425
+ // see if it has already been corrected
426
+ var event = originalEvent.corrected;
427
+ if(!event){
428
+ var type = originalEvent.type;
429
+ try{
430
+ delete originalEvent.type; // on some JS engines (android), deleting properties make them mutable
431
+ }catch(e){}
432
+ if(originalEvent.type){
433
+ // deleting properties doesn't work (older iOS), have to use delegation
434
+ Event.prototype = originalEvent;
435
+ var event = new Event;
436
+ // have to delegate methods to make them work
437
+ event.preventDefault = function(){
438
+ originalEvent.preventDefault();
439
+ };
440
+ event.stopPropagation = function(){
441
+ originalEvent.stopPropagation();
442
+ };
443
+ }else{
444
+ // deletion worked, use property as is
445
+ event = originalEvent;
446
+ event.type = type;
447
+ }
448
+ originalEvent.corrected = event;
449
+ if(type == 'resize'){
450
+ if(windowOrientation == window.orientation){
451
+ return null;//double tap causes an unexpected 'resize' in Andriod
452
+ }
453
+ windowOrientation = window.orientation;
454
+ event.type = "orientationchange";
455
+ return listener.call(this, event);
456
+ }
457
+ // We use the original event and augment, rather than doing an expensive mixin operation
458
+ if(!("rotation" in event)){ // test to see if it has rotation
459
+ event.rotation = 0;
460
+ event.scale = 1;
461
+ }
462
+ //use event.changedTouches[0].pageX|pageY|screenX|screenY|clientX|clientY|target
463
+ var firstChangeTouch = event.changedTouches[0];
464
+ for(var i in firstChangeTouch){ // use for-in, we don't need to have dependency on dojo/_base/lang here
465
+ delete event[i]; // delete it first to make it mutable
466
+ event[i] = firstChangeTouch[i];
467
+ }
468
+ }
469
+ return listener.call(this, event);
470
+ };
471
+ };
472
+ }
473
+ return on;
474
+ });