dojo-rails 0.9.9 → 0.9.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (646) hide show
  1. data/lib/dojo/rails/version.rb +1 -1
  2. data/lib/dojo/version.rb +2 -2
  3. data/vendor/assets/javascripts/dojo.js +1 -1
  4. data/vendor/assets/javascripts/dojo/AdapterRegistry.js.uncompressed.js +11 -18
  5. data/vendor/assets/javascripts/dojo/Deferred.js +178 -0
  6. data/vendor/assets/javascripts/dojo/Deferred.js.uncompressed.js +314 -0
  7. data/vendor/assets/javascripts/dojo/DeferredList.js.uncompressed.js +4 -6
  8. data/vendor/assets/javascripts/dojo/Evented.js.uncompressed.js +15 -12
  9. data/vendor/assets/javascripts/dojo/LICENSE +1 -1
  10. data/vendor/assets/javascripts/dojo/NodeList-data.js.uncompressed.js +84 -73
  11. data/vendor/assets/javascripts/dojo/NodeList-dom.js +1 -1
  12. data/vendor/assets/javascripts/dojo/NodeList-dom.js.uncompressed.js +121 -66
  13. data/vendor/assets/javascripts/dojo/NodeList-fx.js +28 -27
  14. data/vendor/assets/javascripts/dojo/NodeList-fx.js.uncompressed.js +46 -47
  15. data/vendor/assets/javascripts/dojo/NodeList-html.js.uncompressed.js +19 -21
  16. data/vendor/assets/javascripts/dojo/NodeList-manipulate.js.uncompressed.js +172 -178
  17. data/vendor/assets/javascripts/dojo/NodeList-traverse.js.uncompressed.js +125 -130
  18. data/vendor/assets/javascripts/dojo/NodeList.js +10 -0
  19. data/vendor/assets/javascripts/dojo/NodeList.js.uncompressed.js +6 -0
  20. data/vendor/assets/javascripts/dojo/OpenAjax.js +13 -15
  21. data/vendor/assets/javascripts/dojo/Stateful.js +65 -41
  22. data/vendor/assets/javascripts/dojo/Stateful.js.uncompressed.js +110 -36
  23. data/vendor/assets/javascripts/dojo/_base/Color.js.uncompressed.js +34 -40
  24. data/vendor/assets/javascripts/dojo/_base/Deferred.js +84 -84
  25. data/vendor/assets/javascripts/dojo/_base/Deferred.js.uncompressed.js +57 -74
  26. data/vendor/assets/javascripts/dojo/_base/NodeList.js +2 -3
  27. data/vendor/assets/javascripts/dojo/_base/NodeList.js.uncompressed.js +58 -48
  28. data/vendor/assets/javascripts/dojo/_base/array.js +63 -67
  29. data/vendor/assets/javascripts/dojo/_base/array.js.uncompressed.js +259 -259
  30. data/vendor/assets/javascripts/dojo/_base/browser.js.uncompressed.js +10 -3
  31. data/vendor/assets/javascripts/dojo/_base/config.js.uncompressed.js +85 -72
  32. data/vendor/assets/javascripts/dojo/_base/configFirefoxExtension.js +15 -13
  33. data/vendor/assets/javascripts/dojo/_base/configNode.js +5 -5
  34. data/vendor/assets/javascripts/dojo/_base/configRhino.js +1 -1
  35. data/vendor/assets/javascripts/dojo/_base/configSpidermonkey.js +5 -9
  36. data/vendor/assets/javascripts/dojo/_base/connect.js +1 -1
  37. data/vendor/assets/javascripts/dojo/_base/connect.js.uncompressed.js +177 -203
  38. data/vendor/assets/javascripts/dojo/_base/declare.js +94 -90
  39. data/vendor/assets/javascripts/dojo/_base/declare.js.uncompressed.js +397 -402
  40. data/vendor/assets/javascripts/dojo/_base/event.js +16 -13
  41. data/vendor/assets/javascripts/dojo/_base/event.js.uncompressed.js +41 -33
  42. data/vendor/assets/javascripts/dojo/_base/fx.js +187 -183
  43. data/vendor/assets/javascripts/dojo/_base/fx.js.uncompressed.js +134 -130
  44. data/vendor/assets/javascripts/dojo/_base/html.js.uncompressed.js +14 -11
  45. data/vendor/assets/javascripts/dojo/_base/json.js.uncompressed.js +12 -6
  46. data/vendor/assets/javascripts/dojo/_base/kernel.js +35 -38
  47. data/vendor/assets/javascripts/dojo/_base/kernel.js.uncompressed.js +59 -62
  48. data/vendor/assets/javascripts/dojo/_base/lang.js +99 -98
  49. data/vendor/assets/javascripts/dojo/_base/lang.js.uncompressed.js +435 -537
  50. data/vendor/assets/javascripts/dojo/_base/loader.js +179 -154
  51. data/vendor/assets/javascripts/dojo/_base/loader.js.uncompressed.js +252 -194
  52. data/vendor/assets/javascripts/dojo/_base/query.js +2 -2
  53. data/vendor/assets/javascripts/dojo/_base/query.js.uncompressed.js +12 -2
  54. data/vendor/assets/javascripts/dojo/_base/sniff.js +6 -58
  55. data/vendor/assets/javascripts/dojo/_base/sniff.js.uncompressed.js +60 -151
  56. data/vendor/assets/javascripts/dojo/_base/unload.js +10 -9
  57. data/vendor/assets/javascripts/dojo/_base/unload.js.uncompressed.js +44 -43
  58. data/vendor/assets/javascripts/dojo/_base/url.js.uncompressed.js +1 -3
  59. data/vendor/assets/javascripts/dojo/_base/window.js +32 -35
  60. data/vendor/assets/javascripts/dojo/_base/window.js.uncompressed.js +117 -109
  61. data/vendor/assets/javascripts/dojo/_base/xhr.js +147 -263
  62. data/vendor/assets/javascripts/dojo/_base/xhr.js.uncompressed.js +253 -378
  63. data/vendor/assets/javascripts/dojo/_firebug/firebug.js +459 -458
  64. data/vendor/assets/javascripts/dojo/_firebug/firebug.js.uncompressed.js +39 -31
  65. data/vendor/assets/javascripts/dojo/aspect.js +71 -63
  66. data/vendor/assets/javascripts/dojo/aspect.js.uncompressed.js +111 -99
  67. data/vendor/assets/javascripts/dojo/back.js +11 -10
  68. data/vendor/assets/javascripts/dojo/back.js.uncompressed.js +59 -59
  69. data/vendor/assets/javascripts/dojo/behavior.js +49 -47
  70. data/vendor/assets/javascripts/dojo/behavior.js.uncompressed.js +26 -25
  71. data/vendor/assets/javascripts/dojo/cache.js +1 -1
  72. data/vendor/assets/javascripts/dojo/cache.js.uncompressed.js +2 -4
  73. data/vendor/assets/javascripts/dojo/cldr/monetary.js +13 -12
  74. data/vendor/assets/javascripts/dojo/cldr/monetary.js.uncompressed.js +15 -10
  75. data/vendor/assets/javascripts/dojo/cldr/nls/ar/buddhist.js +1 -1
  76. data/vendor/assets/javascripts/dojo/cldr/nls/ar/buddhist.js.uncompressed.js +85 -70
  77. data/vendor/assets/javascripts/dojo/cldr/nls/ar/currency.js +1 -1
  78. data/vendor/assets/javascripts/dojo/cldr/nls/ar/currency.js.uncompressed.js +6 -6
  79. data/vendor/assets/javascripts/dojo/cldr/nls/ar/gregorian.js +1 -1
  80. data/vendor/assets/javascripts/dojo/cldr/nls/ar/gregorian.js.uncompressed.js +157 -141
  81. data/vendor/assets/javascripts/dojo/cldr/nls/ar/hebrew.js +1 -1
  82. data/vendor/assets/javascripts/dojo/cldr/nls/ar/hebrew.js.uncompressed.js +62 -45
  83. data/vendor/assets/javascripts/dojo/cldr/nls/ar/islamic.js +1 -1
  84. data/vendor/assets/javascripts/dojo/cldr/nls/ar/islamic.js.uncompressed.js +112 -80
  85. data/vendor/assets/javascripts/dojo/cldr/nls/ar/number.js +1 -1
  86. data/vendor/assets/javascripts/dojo/cldr/nls/ar/number.js.uncompressed.js +11 -10
  87. data/vendor/assets/javascripts/dojo/cldr/nls/buddhist.js +1 -1
  88. data/vendor/assets/javascripts/dojo/cldr/nls/buddhist.js.uncompressed.js +110 -109
  89. data/vendor/assets/javascripts/dojo/cldr/nls/ca/currency.js +1 -1
  90. data/vendor/assets/javascripts/dojo/cldr/nls/ca/currency.js.uncompressed.js +6 -6
  91. data/vendor/assets/javascripts/dojo/cldr/nls/ca/gregorian.js +1 -1
  92. data/vendor/assets/javascripts/dojo/cldr/nls/ca/gregorian.js.uncompressed.js +176 -161
  93. data/vendor/assets/javascripts/dojo/cldr/nls/ca/number.js +1 -1
  94. data/vendor/assets/javascripts/dojo/cldr/nls/ca/number.js.uncompressed.js +9 -10
  95. data/vendor/assets/javascripts/dojo/cldr/nls/cs/buddhist.js +8 -0
  96. data/vendor/assets/javascripts/dojo/cldr/nls/cs/buddhist.js.uncompressed.js +170 -0
  97. data/vendor/assets/javascripts/dojo/cldr/nls/cs/currency.js +1 -1
  98. data/vendor/assets/javascripts/dojo/cldr/nls/cs/currency.js.uncompressed.js +9 -9
  99. data/vendor/assets/javascripts/dojo/cldr/nls/cs/gregorian.js +1 -1
  100. data/vendor/assets/javascripts/dojo/cldr/nls/cs/gregorian.js.uncompressed.js +166 -139
  101. data/vendor/assets/javascripts/dojo/cldr/nls/cs/islamic.js +8 -0
  102. data/vendor/assets/javascripts/dojo/cldr/nls/cs/islamic.js.uncompressed.js +99 -0
  103. data/vendor/assets/javascripts/dojo/cldr/nls/cs/number.js +1 -1
  104. data/vendor/assets/javascripts/dojo/cldr/nls/cs/number.js.uncompressed.js +9 -10
  105. data/vendor/assets/javascripts/dojo/cldr/nls/currency.js +1 -1
  106. data/vendor/assets/javascripts/dojo/cldr/nls/currency.js.uncompressed.js +5 -4
  107. data/vendor/assets/javascripts/dojo/cldr/nls/da/buddhist.js +1 -1
  108. data/vendor/assets/javascripts/dojo/cldr/nls/da/buddhist.js.uncompressed.js +91 -89
  109. data/vendor/assets/javascripts/dojo/cldr/nls/da/currency.js +1 -1
  110. data/vendor/assets/javascripts/dojo/cldr/nls/da/currency.js.uncompressed.js +6 -6
  111. data/vendor/assets/javascripts/dojo/cldr/nls/da/gregorian.js +1 -1
  112. data/vendor/assets/javascripts/dojo/cldr/nls/da/gregorian.js.uncompressed.js +174 -156
  113. data/vendor/assets/javascripts/dojo/cldr/nls/da/islamic.js +1 -1
  114. data/vendor/assets/javascripts/dojo/cldr/nls/da/islamic.js.uncompressed.js +60 -56
  115. data/vendor/assets/javascripts/dojo/cldr/nls/da/number.js +1 -1
  116. data/vendor/assets/javascripts/dojo/cldr/nls/da/number.js.uncompressed.js +9 -10
  117. data/vendor/assets/javascripts/dojo/cldr/nls/de/buddhist.js +1 -1
  118. data/vendor/assets/javascripts/dojo/cldr/nls/de/buddhist.js.uncompressed.js +92 -80
  119. data/vendor/assets/javascripts/dojo/cldr/nls/de/currency.js +1 -1
  120. data/vendor/assets/javascripts/dojo/cldr/nls/de/currency.js.uncompressed.js +8 -8
  121. data/vendor/assets/javascripts/dojo/cldr/nls/de/gregorian.js +1 -1
  122. data/vendor/assets/javascripts/dojo/cldr/nls/de/gregorian.js.uncompressed.js +176 -158
  123. data/vendor/assets/javascripts/dojo/cldr/nls/de/islamic.js +1 -1
  124. data/vendor/assets/javascripts/dojo/cldr/nls/de/islamic.js.uncompressed.js +63 -143
  125. data/vendor/assets/javascripts/dojo/cldr/nls/de/number.js +1 -1
  126. data/vendor/assets/javascripts/dojo/cldr/nls/de/number.js.uncompressed.js +9 -10
  127. data/vendor/assets/javascripts/dojo/cldr/nls/el/buddhist.js +1 -1
  128. data/vendor/assets/javascripts/dojo/cldr/nls/el/buddhist.js.uncompressed.js +144 -70
  129. data/vendor/assets/javascripts/dojo/cldr/nls/el/currency.js +1 -1
  130. data/vendor/assets/javascripts/dojo/cldr/nls/el/currency.js.uncompressed.js +6 -5
  131. data/vendor/assets/javascripts/dojo/cldr/nls/el/gregorian.js +1 -1
  132. data/vendor/assets/javascripts/dojo/cldr/nls/el/gregorian.js.uncompressed.js +170 -153
  133. data/vendor/assets/javascripts/dojo/cldr/nls/el/hebrew.js +1 -1
  134. data/vendor/assets/javascripts/dojo/cldr/nls/el/hebrew.js.uncompressed.js +78 -37
  135. data/vendor/assets/javascripts/dojo/cldr/nls/el/number.js +1 -1
  136. data/vendor/assets/javascripts/dojo/cldr/nls/el/number.js.uncompressed.js +9 -9
  137. data/vendor/assets/javascripts/dojo/cldr/nls/en-au/gregorian.js +1 -1
  138. data/vendor/assets/javascripts/dojo/cldr/nls/en-au/gregorian.js.uncompressed.js +15 -8
  139. data/vendor/assets/javascripts/dojo/cldr/nls/en-ca/gregorian.js +1 -1
  140. data/vendor/assets/javascripts/dojo/cldr/nls/en-ca/gregorian.js.uncompressed.js +12 -10
  141. data/vendor/assets/javascripts/dojo/cldr/nls/en-gb/buddhist.js +1 -1
  142. data/vendor/assets/javascripts/dojo/cldr/nls/en-gb/buddhist.js.uncompressed.js +69 -64
  143. data/vendor/assets/javascripts/dojo/cldr/nls/en-gb/gregorian.js +1 -1
  144. data/vendor/assets/javascripts/dojo/cldr/nls/en-gb/gregorian.js.uncompressed.js +16 -12
  145. data/vendor/assets/javascripts/dojo/cldr/nls/en-gb/islamic.js +1 -1
  146. data/vendor/assets/javascripts/dojo/cldr/nls/en-gb/islamic.js.uncompressed.js +40 -127
  147. data/vendor/assets/javascripts/dojo/cldr/nls/en/buddhist.js +1 -1
  148. data/vendor/assets/javascripts/dojo/cldr/nls/en/buddhist.js.uncompressed.js +77 -72
  149. data/vendor/assets/javascripts/dojo/cldr/nls/en/currency.js +1 -1
  150. data/vendor/assets/javascripts/dojo/cldr/nls/en/currency.js.uncompressed.js +7 -7
  151. data/vendor/assets/javascripts/dojo/cldr/nls/en/gregorian.js +1 -1
  152. data/vendor/assets/javascripts/dojo/cldr/nls/en/gregorian.js.uncompressed.js +154 -140
  153. data/vendor/assets/javascripts/dojo/cldr/nls/en/islamic.js +1 -1
  154. data/vendor/assets/javascripts/dojo/cldr/nls/en/islamic.js.uncompressed.js +52 -139
  155. data/vendor/assets/javascripts/dojo/cldr/nls/en/number.js +1 -1
  156. data/vendor/assets/javascripts/dojo/cldr/nls/en/number.js.uncompressed.js +9 -11
  157. data/vendor/assets/javascripts/dojo/cldr/nls/es/buddhist.js +1 -1
  158. data/vendor/assets/javascripts/dojo/cldr/nls/es/buddhist.js.uncompressed.js +104 -78
  159. data/vendor/assets/javascripts/dojo/cldr/nls/es/currency.js +1 -1
  160. data/vendor/assets/javascripts/dojo/cldr/nls/es/currency.js.uncompressed.js +8 -7
  161. data/vendor/assets/javascripts/dojo/cldr/nls/es/gregorian.js +1 -1
  162. data/vendor/assets/javascripts/dojo/cldr/nls/es/gregorian.js.uncompressed.js +177 -156
  163. data/vendor/assets/javascripts/dojo/cldr/nls/es/islamic.js +1 -1
  164. data/vendor/assets/javascripts/dojo/cldr/nls/es/islamic.js.uncompressed.js +74 -145
  165. data/vendor/assets/javascripts/dojo/cldr/nls/es/number.js +1 -1
  166. data/vendor/assets/javascripts/dojo/cldr/nls/es/number.js.uncompressed.js +9 -9
  167. data/vendor/assets/javascripts/dojo/cldr/nls/fi/buddhist.js +1 -1
  168. data/vendor/assets/javascripts/dojo/cldr/nls/fi/buddhist.js.uncompressed.js +150 -102
  169. data/vendor/assets/javascripts/dojo/cldr/nls/fi/currency.js +1 -1
  170. data/vendor/assets/javascripts/dojo/cldr/nls/fi/currency.js.uncompressed.js +7 -12
  171. data/vendor/assets/javascripts/dojo/cldr/nls/fi/gregorian.js +1 -1
  172. data/vendor/assets/javascripts/dojo/cldr/nls/fi/gregorian.js.uncompressed.js +163 -144
  173. data/vendor/assets/javascripts/dojo/cldr/nls/fi/hebrew.js +1 -1
  174. data/vendor/assets/javascripts/dojo/cldr/nls/fi/hebrew.js.uncompressed.js +130 -95
  175. data/vendor/assets/javascripts/dojo/cldr/nls/fi/islamic.js +1 -1
  176. data/vendor/assets/javascripts/dojo/cldr/nls/fi/islamic.js.uncompressed.js +119 -83
  177. data/vendor/assets/javascripts/dojo/cldr/nls/fi/number.js +1 -1
  178. data/vendor/assets/javascripts/dojo/cldr/nls/fi/number.js.uncompressed.js +9 -10
  179. data/vendor/assets/javascripts/dojo/cldr/nls/fr-ch/gregorian.js +1 -1
  180. data/vendor/assets/javascripts/dojo/cldr/nls/fr-ch/gregorian.js.uncompressed.js +2 -2
  181. data/vendor/assets/javascripts/dojo/cldr/nls/fr-ch/number.js +1 -1
  182. data/vendor/assets/javascripts/dojo/cldr/nls/fr-ch/number.js.uncompressed.js +2 -2
  183. data/vendor/assets/javascripts/dojo/cldr/nls/fr/buddhist.js +8 -0
  184. data/vendor/assets/javascripts/dojo/cldr/nls/fr/buddhist.js.uncompressed.js +160 -0
  185. data/vendor/assets/javascripts/dojo/cldr/nls/fr/currency.js +1 -1
  186. data/vendor/assets/javascripts/dojo/cldr/nls/fr/currency.js.uncompressed.js +11 -12
  187. data/vendor/assets/javascripts/dojo/cldr/nls/fr/gregorian.js +1 -1
  188. data/vendor/assets/javascripts/dojo/cldr/nls/fr/gregorian.js.uncompressed.js +171 -157
  189. data/vendor/assets/javascripts/dojo/cldr/nls/fr/hebrew.js +8 -0
  190. data/vendor/assets/javascripts/dojo/cldr/nls/fr/hebrew.js.uncompressed.js +139 -0
  191. data/vendor/assets/javascripts/dojo/cldr/nls/fr/islamic.js +8 -0
  192. data/vendor/assets/javascripts/dojo/cldr/nls/fr/islamic.js.uncompressed.js +177 -0
  193. data/vendor/assets/javascripts/dojo/cldr/nls/fr/number.js +1 -1
  194. data/vendor/assets/javascripts/dojo/cldr/nls/fr/number.js.uncompressed.js +9 -10
  195. data/vendor/assets/javascripts/dojo/cldr/nls/gregorian.js +1 -1
  196. data/vendor/assets/javascripts/dojo/cldr/nls/gregorian.js.uncompressed.js +127 -125
  197. data/vendor/assets/javascripts/dojo/cldr/nls/he/currency.js +1 -1
  198. data/vendor/assets/javascripts/dojo/cldr/nls/he/currency.js.uncompressed.js +6 -6
  199. data/vendor/assets/javascripts/dojo/cldr/nls/he/gregorian.js +1 -1
  200. data/vendor/assets/javascripts/dojo/cldr/nls/he/gregorian.js.uncompressed.js +168 -140
  201. data/vendor/assets/javascripts/dojo/cldr/nls/he/hebrew.js +1 -1
  202. data/vendor/assets/javascripts/dojo/cldr/nls/he/hebrew.js.uncompressed.js +83 -40
  203. data/vendor/assets/javascripts/dojo/cldr/nls/he/islamic.js +1 -1
  204. data/vendor/assets/javascripts/dojo/cldr/nls/he/islamic.js.uncompressed.js +56 -40
  205. data/vendor/assets/javascripts/dojo/cldr/nls/he/number.js +1 -1
  206. data/vendor/assets/javascripts/dojo/cldr/nls/he/number.js.uncompressed.js +9 -10
  207. data/vendor/assets/javascripts/dojo/cldr/nls/hebrew.js +1 -1
  208. data/vendor/assets/javascripts/dojo/cldr/nls/hebrew.js.uncompressed.js +138 -132
  209. data/vendor/assets/javascripts/dojo/cldr/nls/hu/buddhist.js +8 -0
  210. data/vendor/assets/javascripts/dojo/cldr/nls/hu/buddhist.js.uncompressed.js +209 -0
  211. data/vendor/assets/javascripts/dojo/cldr/nls/hu/currency.js +1 -1
  212. data/vendor/assets/javascripts/dojo/cldr/nls/hu/currency.js.uncompressed.js +7 -7
  213. data/vendor/assets/javascripts/dojo/cldr/nls/hu/gregorian.js +1 -1
  214. data/vendor/assets/javascripts/dojo/cldr/nls/hu/gregorian.js.uncompressed.js +161 -138
  215. data/vendor/assets/javascripts/dojo/cldr/nls/hu/hebrew.js +8 -0
  216. data/vendor/assets/javascripts/dojo/cldr/nls/hu/hebrew.js.uncompressed.js +187 -0
  217. data/vendor/assets/javascripts/dojo/cldr/nls/hu/islamic.js +8 -0
  218. data/vendor/assets/javascripts/dojo/cldr/nls/hu/islamic.js.uncompressed.js +199 -0
  219. data/vendor/assets/javascripts/dojo/cldr/nls/hu/number.js +1 -1
  220. data/vendor/assets/javascripts/dojo/cldr/nls/hu/number.js.uncompressed.js +8 -9
  221. data/vendor/assets/javascripts/dojo/cldr/nls/islamic.js +1 -1
  222. data/vendor/assets/javascripts/dojo/cldr/nls/islamic.js.uncompressed.js +137 -132
  223. data/vendor/assets/javascripts/dojo/cldr/nls/it/buddhist.js +8 -0
  224. data/vendor/assets/javascripts/dojo/cldr/nls/it/buddhist.js.uncompressed.js +192 -0
  225. data/vendor/assets/javascripts/dojo/cldr/nls/it/currency.js +1 -1
  226. data/vendor/assets/javascripts/dojo/cldr/nls/it/currency.js.uncompressed.js +6 -6
  227. data/vendor/assets/javascripts/dojo/cldr/nls/it/gregorian.js +1 -1
  228. data/vendor/assets/javascripts/dojo/cldr/nls/it/gregorian.js.uncompressed.js +161 -146
  229. data/vendor/assets/javascripts/dojo/cldr/nls/it/islamic.js +8 -0
  230. data/vendor/assets/javascripts/dojo/cldr/nls/it/islamic.js.uncompressed.js +104 -0
  231. data/vendor/assets/javascripts/dojo/cldr/nls/it/number.js +1 -1
  232. data/vendor/assets/javascripts/dojo/cldr/nls/it/number.js.uncompressed.js +9 -3
  233. data/vendor/assets/javascripts/dojo/cldr/nls/ja/buddhist.js +8 -0
  234. data/vendor/assets/javascripts/dojo/cldr/nls/ja/buddhist.js.uncompressed.js +101 -0
  235. data/vendor/assets/javascripts/dojo/cldr/nls/ja/currency.js +1 -1
  236. data/vendor/assets/javascripts/dojo/cldr/nls/ja/currency.js.uncompressed.js +8 -8
  237. data/vendor/assets/javascripts/dojo/cldr/nls/ja/gregorian.js +1 -1
  238. data/vendor/assets/javascripts/dojo/cldr/nls/ja/gregorian.js.uncompressed.js +159 -139
  239. data/vendor/assets/javascripts/dojo/cldr/nls/ja/hebrew.js +8 -0
  240. data/vendor/assets/javascripts/dojo/cldr/nls/ja/hebrew.js.uncompressed.js +168 -0
  241. data/vendor/assets/javascripts/dojo/cldr/nls/ja/islamic.js +8 -0
  242. data/vendor/assets/javascripts/dojo/cldr/nls/ja/islamic.js.uncompressed.js +128 -0
  243. data/vendor/assets/javascripts/dojo/cldr/nls/ja/number.js +1 -1
  244. data/vendor/assets/javascripts/dojo/cldr/nls/ja/number.js.uncompressed.js +5 -3
  245. data/vendor/assets/javascripts/dojo/cldr/nls/ko/buddhist.js +8 -0
  246. data/vendor/assets/javascripts/dojo/cldr/nls/ko/buddhist.js.uncompressed.js +127 -0
  247. data/vendor/assets/javascripts/dojo/cldr/nls/ko/currency.js +1 -1
  248. data/vendor/assets/javascripts/dojo/cldr/nls/ko/currency.js.uncompressed.js +6 -6
  249. data/vendor/assets/javascripts/dojo/cldr/nls/ko/gregorian.js +1 -1
  250. data/vendor/assets/javascripts/dojo/cldr/nls/ko/gregorian.js.uncompressed.js +153 -137
  251. data/vendor/assets/javascripts/dojo/cldr/nls/ko/number.js +1 -1
  252. data/vendor/assets/javascripts/dojo/cldr/nls/ko/number.js.uncompressed.js +9 -10
  253. data/vendor/assets/javascripts/dojo/cldr/nls/nb/buddhist.js +8 -0
  254. data/vendor/assets/javascripts/dojo/cldr/nls/nb/buddhist.js.uncompressed.js +206 -0
  255. data/vendor/assets/javascripts/dojo/cldr/nls/nb/currency.js +1 -1
  256. data/vendor/assets/javascripts/dojo/cldr/nls/nb/currency.js.uncompressed.js +6 -14
  257. data/vendor/assets/javascripts/dojo/cldr/nls/nb/gregorian.js +1 -1
  258. data/vendor/assets/javascripts/dojo/cldr/nls/nb/gregorian.js.uncompressed.js +176 -153
  259. data/vendor/assets/javascripts/dojo/cldr/nls/nb/islamic.js +8 -0
  260. data/vendor/assets/javascripts/dojo/cldr/nls/nb/islamic.js.uncompressed.js +133 -0
  261. data/vendor/assets/javascripts/dojo/cldr/nls/nb/number.js +1 -1
  262. data/vendor/assets/javascripts/dojo/cldr/nls/nb/number.js.uncompressed.js +9 -10
  263. data/vendor/assets/javascripts/dojo/cldr/nls/nl/buddhist.js +8 -0
  264. data/vendor/assets/javascripts/dojo/cldr/nls/nl/buddhist.js.uncompressed.js +133 -0
  265. data/vendor/assets/javascripts/dojo/cldr/nls/nl/currency.js +1 -1
  266. data/vendor/assets/javascripts/dojo/cldr/nls/nl/currency.js.uncompressed.js +6 -6
  267. data/vendor/assets/javascripts/dojo/cldr/nls/nl/gregorian.js +1 -1
  268. data/vendor/assets/javascripts/dojo/cldr/nls/nl/gregorian.js.uncompressed.js +180 -162
  269. data/vendor/assets/javascripts/dojo/cldr/nls/nl/hebrew.js +8 -0
  270. data/vendor/assets/javascripts/dojo/cldr/nls/nl/hebrew.js.uncompressed.js +123 -0
  271. data/vendor/assets/javascripts/dojo/cldr/nls/nl/islamic.js +8 -0
  272. data/vendor/assets/javascripts/dojo/cldr/nls/nl/islamic.js.uncompressed.js +163 -0
  273. data/vendor/assets/javascripts/dojo/cldr/nls/nl/number.js +1 -1
  274. data/vendor/assets/javascripts/dojo/cldr/nls/nl/number.js.uncompressed.js +9 -10
  275. data/vendor/assets/javascripts/dojo/cldr/nls/number.js +1 -1
  276. data/vendor/assets/javascripts/dojo/cldr/nls/number.js.uncompressed.js +17 -19
  277. data/vendor/assets/javascripts/dojo/cldr/nls/pl/buddhist.js +8 -0
  278. data/vendor/assets/javascripts/dojo/cldr/nls/pl/buddhist.js.uncompressed.js +203 -0
  279. data/vendor/assets/javascripts/dojo/cldr/nls/pl/currency.js +1 -1
  280. data/vendor/assets/javascripts/dojo/cldr/nls/pl/currency.js.uncompressed.js +6 -6
  281. data/vendor/assets/javascripts/dojo/cldr/nls/pl/gregorian.js +1 -1
  282. data/vendor/assets/javascripts/dojo/cldr/nls/pl/gregorian.js.uncompressed.js +169 -149
  283. data/vendor/assets/javascripts/dojo/cldr/nls/pl/hebrew.js +8 -0
  284. data/vendor/assets/javascripts/dojo/cldr/nls/pl/hebrew.js.uncompressed.js +166 -0
  285. data/vendor/assets/javascripts/dojo/cldr/nls/pl/islamic.js +8 -0
  286. data/vendor/assets/javascripts/dojo/cldr/nls/pl/islamic.js.uncompressed.js +196 -0
  287. data/vendor/assets/javascripts/dojo/cldr/nls/pl/number.js +1 -1
  288. data/vendor/assets/javascripts/dojo/cldr/nls/pl/number.js.uncompressed.js +9 -10
  289. data/vendor/assets/javascripts/dojo/cldr/nls/pt-pt/buddhist.js +8 -0
  290. data/vendor/assets/javascripts/dojo/cldr/nls/pt-pt/buddhist.js.uncompressed.js +127 -0
  291. data/vendor/assets/javascripts/dojo/cldr/nls/pt-pt/currency.js +8 -0
  292. data/vendor/assets/javascripts/dojo/cldr/nls/pt-pt/currency.js.uncompressed.js +8 -0
  293. data/vendor/assets/javascripts/dojo/cldr/nls/pt-pt/gregorian.js +1 -1
  294. data/vendor/assets/javascripts/dojo/cldr/nls/pt-pt/gregorian.js.uncompressed.js +78 -62
  295. data/vendor/assets/javascripts/dojo/cldr/nls/pt-pt/islamic.js +8 -0
  296. data/vendor/assets/javascripts/dojo/cldr/nls/pt-pt/islamic.js.uncompressed.js +82 -0
  297. data/vendor/assets/javascripts/dojo/cldr/nls/pt-pt/number.js +1 -1
  298. data/vendor/assets/javascripts/dojo/cldr/nls/pt-pt/number.js.uncompressed.js +3 -2
  299. data/vendor/assets/javascripts/dojo/cldr/nls/pt/buddhist.js +8 -0
  300. data/vendor/assets/javascripts/dojo/cldr/nls/pt/buddhist.js.uncompressed.js +130 -0
  301. data/vendor/assets/javascripts/dojo/cldr/nls/pt/currency.js +1 -1
  302. data/vendor/assets/javascripts/dojo/cldr/nls/pt/currency.js.uncompressed.js +6 -6
  303. data/vendor/assets/javascripts/dojo/cldr/nls/pt/gregorian.js +1 -1
  304. data/vendor/assets/javascripts/dojo/cldr/nls/pt/gregorian.js.uncompressed.js +185 -166
  305. data/vendor/assets/javascripts/dojo/cldr/nls/pt/hebrew.js +8 -0
  306. data/vendor/assets/javascripts/dojo/cldr/nls/pt/hebrew.js.uncompressed.js +137 -0
  307. data/vendor/assets/javascripts/dojo/cldr/nls/pt/islamic.js +8 -0
  308. data/vendor/assets/javascripts/dojo/cldr/nls/pt/islamic.js.uncompressed.js +101 -0
  309. data/vendor/assets/javascripts/dojo/cldr/nls/pt/number.js +1 -1
  310. data/vendor/assets/javascripts/dojo/cldr/nls/pt/number.js.uncompressed.js +9 -10
  311. data/vendor/assets/javascripts/dojo/cldr/nls/ro/buddhist.js +1 -1
  312. data/vendor/assets/javascripts/dojo/cldr/nls/ro/buddhist.js.uncompressed.js +148 -62
  313. data/vendor/assets/javascripts/dojo/cldr/nls/ro/currency.js +1 -1
  314. data/vendor/assets/javascripts/dojo/cldr/nls/ro/currency.js.uncompressed.js +6 -5
  315. data/vendor/assets/javascripts/dojo/cldr/nls/ro/gregorian.js +1 -1
  316. data/vendor/assets/javascripts/dojo/cldr/nls/ro/gregorian.js.uncompressed.js +170 -159
  317. data/vendor/assets/javascripts/dojo/cldr/nls/ro/hebrew.js +8 -0
  318. data/vendor/assets/javascripts/dojo/cldr/nls/ro/hebrew.js.uncompressed.js +169 -0
  319. data/vendor/assets/javascripts/dojo/cldr/nls/ro/islamic.js +8 -0
  320. data/vendor/assets/javascripts/dojo/cldr/nls/ro/islamic.js.uncompressed.js +117 -0
  321. data/vendor/assets/javascripts/dojo/cldr/nls/ro/number.js +1 -1
  322. data/vendor/assets/javascripts/dojo/cldr/nls/ro/number.js.uncompressed.js +9 -10
  323. data/vendor/assets/javascripts/dojo/cldr/nls/ru/buddhist.js +8 -0
  324. data/vendor/assets/javascripts/dojo/cldr/nls/ru/buddhist.js.uncompressed.js +203 -0
  325. data/vendor/assets/javascripts/dojo/cldr/nls/ru/currency.js +1 -1
  326. data/vendor/assets/javascripts/dojo/cldr/nls/ru/currency.js.uncompressed.js +7 -6
  327. data/vendor/assets/javascripts/dojo/cldr/nls/ru/gregorian.js +1 -1
  328. data/vendor/assets/javascripts/dojo/cldr/nls/ru/gregorian.js.uncompressed.js +184 -155
  329. data/vendor/assets/javascripts/dojo/cldr/nls/ru/hebrew.js +8 -0
  330. data/vendor/assets/javascripts/dojo/cldr/nls/ru/hebrew.js.uncompressed.js +169 -0
  331. data/vendor/assets/javascripts/dojo/cldr/nls/ru/islamic.js +8 -0
  332. data/vendor/assets/javascripts/dojo/cldr/nls/ru/islamic.js.uncompressed.js +197 -0
  333. data/vendor/assets/javascripts/dojo/cldr/nls/ru/number.js +1 -1
  334. data/vendor/assets/javascripts/dojo/cldr/nls/ru/number.js.uncompressed.js +10 -10
  335. data/vendor/assets/javascripts/dojo/cldr/nls/sk/currency.js +1 -1
  336. data/vendor/assets/javascripts/dojo/cldr/nls/sk/currency.js.uncompressed.js +7 -7
  337. data/vendor/assets/javascripts/dojo/cldr/nls/sk/gregorian.js +1 -1
  338. data/vendor/assets/javascripts/dojo/cldr/nls/sk/gregorian.js.uncompressed.js +172 -148
  339. data/vendor/assets/javascripts/dojo/cldr/nls/sk/number.js +1 -1
  340. data/vendor/assets/javascripts/dojo/cldr/nls/sk/number.js.uncompressed.js +5 -2
  341. data/vendor/assets/javascripts/dojo/cldr/nls/sl/currency.js +1 -1
  342. data/vendor/assets/javascripts/dojo/cldr/nls/sl/currency.js.uncompressed.js +7 -7
  343. data/vendor/assets/javascripts/dojo/cldr/nls/sl/gregorian.js +1 -1
  344. data/vendor/assets/javascripts/dojo/cldr/nls/sl/gregorian.js.uncompressed.js +157 -134
  345. data/vendor/assets/javascripts/dojo/cldr/nls/sl/number.js +1 -1
  346. data/vendor/assets/javascripts/dojo/cldr/nls/sl/number.js.uncompressed.js +9 -10
  347. data/vendor/assets/javascripts/dojo/cldr/nls/sv/buddhist.js +8 -0
  348. data/vendor/assets/javascripts/dojo/cldr/nls/sv/buddhist.js.uncompressed.js +209 -0
  349. data/vendor/assets/javascripts/dojo/cldr/nls/sv/currency.js +1 -1
  350. data/vendor/assets/javascripts/dojo/cldr/nls/sv/currency.js.uncompressed.js +7 -9
  351. data/vendor/assets/javascripts/dojo/cldr/nls/sv/gregorian.js +1 -1
  352. data/vendor/assets/javascripts/dojo/cldr/nls/sv/gregorian.js.uncompressed.js +164 -152
  353. data/vendor/assets/javascripts/dojo/cldr/nls/sv/hebrew.js +8 -0
  354. data/vendor/assets/javascripts/dojo/cldr/nls/sv/hebrew.js.uncompressed.js +167 -0
  355. data/vendor/assets/javascripts/dojo/cldr/nls/sv/islamic.js +8 -0
  356. data/vendor/assets/javascripts/dojo/cldr/nls/sv/islamic.js.uncompressed.js +189 -0
  357. data/vendor/assets/javascripts/dojo/cldr/nls/sv/number.js +1 -1
  358. data/vendor/assets/javascripts/dojo/cldr/nls/sv/number.js.uncompressed.js +9 -10
  359. data/vendor/assets/javascripts/dojo/cldr/nls/th/buddhist.js +1 -1
  360. data/vendor/assets/javascripts/dojo/cldr/nls/th/buddhist.js.uncompressed.js +91 -65
  361. data/vendor/assets/javascripts/dojo/cldr/nls/th/currency.js +1 -1
  362. data/vendor/assets/javascripts/dojo/cldr/nls/th/currency.js.uncompressed.js +7 -7
  363. data/vendor/assets/javascripts/dojo/cldr/nls/th/gregorian.js +1 -1
  364. data/vendor/assets/javascripts/dojo/cldr/nls/th/gregorian.js.uncompressed.js +161 -138
  365. data/vendor/assets/javascripts/dojo/cldr/nls/th/hebrew.js +8 -0
  366. data/vendor/assets/javascripts/dojo/cldr/nls/th/hebrew.js.uncompressed.js +139 -0
  367. data/vendor/assets/javascripts/dojo/cldr/nls/th/islamic.js +8 -0
  368. data/vendor/assets/javascripts/dojo/cldr/nls/th/islamic.js.uncompressed.js +134 -0
  369. data/vendor/assets/javascripts/dojo/cldr/nls/th/number.js +1 -1
  370. data/vendor/assets/javascripts/dojo/cldr/nls/th/number.js.uncompressed.js +9 -10
  371. data/vendor/assets/javascripts/dojo/cldr/nls/tr/buddhist.js +8 -0
  372. data/vendor/assets/javascripts/dojo/cldr/nls/tr/buddhist.js.uncompressed.js +203 -0
  373. data/vendor/assets/javascripts/dojo/cldr/nls/tr/currency.js +1 -1
  374. data/vendor/assets/javascripts/dojo/cldr/nls/tr/currency.js.uncompressed.js +8 -8
  375. data/vendor/assets/javascripts/dojo/cldr/nls/tr/gregorian.js +1 -1
  376. data/vendor/assets/javascripts/dojo/cldr/nls/tr/gregorian.js.uncompressed.js +160 -146
  377. data/vendor/assets/javascripts/dojo/cldr/nls/tr/hebrew.js +8 -0
  378. data/vendor/assets/javascripts/dojo/cldr/nls/tr/hebrew.js.uncompressed.js +161 -0
  379. data/vendor/assets/javascripts/dojo/cldr/nls/tr/islamic.js +8 -0
  380. data/vendor/assets/javascripts/dojo/cldr/nls/tr/islamic.js.uncompressed.js +181 -0
  381. data/vendor/assets/javascripts/dojo/cldr/nls/tr/number.js +1 -1
  382. data/vendor/assets/javascripts/dojo/cldr/nls/tr/number.js.uncompressed.js +9 -10
  383. data/vendor/assets/javascripts/dojo/cldr/nls/zh-hant/buddhist.js +1 -1
  384. data/vendor/assets/javascripts/dojo/cldr/nls/zh-hant/buddhist.js.uncompressed.js +141 -95
  385. data/vendor/assets/javascripts/dojo/cldr/nls/zh-hant/currency.js +1 -1
  386. data/vendor/assets/javascripts/dojo/cldr/nls/zh-hant/currency.js.uncompressed.js +7 -6
  387. data/vendor/assets/javascripts/dojo/cldr/nls/zh-hant/gregorian.js +1 -1
  388. data/vendor/assets/javascripts/dojo/cldr/nls/zh-hant/gregorian.js.uncompressed.js +144 -146
  389. data/vendor/assets/javascripts/dojo/cldr/nls/zh-hant/hebrew.js +8 -0
  390. data/vendor/assets/javascripts/dojo/cldr/nls/zh-hant/hebrew.js.uncompressed.js +182 -0
  391. data/vendor/assets/javascripts/dojo/cldr/nls/zh-hant/islamic.js +1 -1
  392. data/vendor/assets/javascripts/dojo/cldr/nls/zh-hant/islamic.js.uncompressed.js +153 -54
  393. data/vendor/assets/javascripts/dojo/cldr/nls/zh-hant/number.js +1 -1
  394. data/vendor/assets/javascripts/dojo/cldr/nls/zh-hant/number.js.uncompressed.js +2 -0
  395. data/vendor/assets/javascripts/dojo/cldr/nls/zh-hk/currency.js +1 -1
  396. data/vendor/assets/javascripts/dojo/cldr/nls/zh-hk/currency.js.uncompressed.js +6 -6
  397. data/vendor/assets/javascripts/dojo/cldr/nls/zh-hk/gregorian.js +1 -1
  398. data/vendor/assets/javascripts/dojo/cldr/nls/zh-hk/gregorian.js.uncompressed.js +34 -37
  399. data/vendor/assets/javascripts/dojo/cldr/nls/zh-hk/number.js +1 -1
  400. data/vendor/assets/javascripts/dojo/cldr/nls/zh-hk/number.js.uncompressed.js +1 -1
  401. data/vendor/assets/javascripts/dojo/cldr/nls/zh-tw/currency.js +1 -1
  402. data/vendor/assets/javascripts/dojo/cldr/nls/zh-tw/currency.js.uncompressed.js +5 -4
  403. data/vendor/assets/javascripts/dojo/cldr/nls/zh-tw/gregorian.js +1 -1
  404. data/vendor/assets/javascripts/dojo/cldr/nls/zh-tw/gregorian.js.uncompressed.js +51 -49
  405. data/vendor/assets/javascripts/dojo/cldr/nls/zh-tw/number.js +8 -0
  406. data/vendor/assets/javascripts/dojo/cldr/nls/zh-tw/number.js.uncompressed.js +7 -0
  407. data/vendor/assets/javascripts/dojo/cldr/nls/zh/buddhist.js +8 -0
  408. data/vendor/assets/javascripts/dojo/cldr/nls/zh/buddhist.js.uncompressed.js +205 -0
  409. data/vendor/assets/javascripts/dojo/cldr/nls/zh/currency.js +1 -1
  410. data/vendor/assets/javascripts/dojo/cldr/nls/zh/currency.js.uncompressed.js +6 -6
  411. data/vendor/assets/javascripts/dojo/cldr/nls/zh/gregorian.js +1 -1
  412. data/vendor/assets/javascripts/dojo/cldr/nls/zh/gregorian.js.uncompressed.js +152 -135
  413. data/vendor/assets/javascripts/dojo/cldr/nls/zh/hebrew.js +8 -0
  414. data/vendor/assets/javascripts/dojo/cldr/nls/zh/hebrew.js.uncompressed.js +181 -0
  415. data/vendor/assets/javascripts/dojo/cldr/nls/zh/islamic.js +8 -0
  416. data/vendor/assets/javascripts/dojo/cldr/nls/zh/islamic.js.uncompressed.js +137 -0
  417. data/vendor/assets/javascripts/dojo/cldr/nls/zh/number.js +1 -1
  418. data/vendor/assets/javascripts/dojo/cldr/nls/zh/number.js.uncompressed.js +4 -3
  419. data/vendor/assets/javascripts/dojo/cldr/supplemental.js +25 -28
  420. data/vendor/assets/javascripts/dojo/cldr/supplemental.js.uncompressed.js +46 -39
  421. data/vendor/assets/javascripts/dojo/colors.js +2 -1
  422. data/vendor/assets/javascripts/dojo/colors.js.uncompressed.js +22 -22
  423. data/vendor/assets/javascripts/dojo/cookie.js.uncompressed.js +30 -30
  424. data/vendor/assets/javascripts/dojo/currency.js +14 -13
  425. data/vendor/assets/javascripts/dojo/currency.js.uncompressed.js +64 -66
  426. data/vendor/assets/javascripts/dojo/data/ItemFileReadStore.js +138 -138
  427. data/vendor/assets/javascripts/dojo/data/ItemFileReadStore.js.uncompressed.js +251 -245
  428. data/vendor/assets/javascripts/dojo/data/ItemFileWriteStore.js +1 -1
  429. data/vendor/assets/javascripts/dojo/data/ItemFileWriteStore.js.uncompressed.js +80 -69
  430. data/vendor/assets/javascripts/dojo/data/ObjectStore.js +176 -169
  431. data/vendor/assets/javascripts/dojo/data/ObjectStore.js.uncompressed.js +122 -83
  432. data/vendor/assets/javascripts/dojo/data/api/Identity.js +6 -7
  433. data/vendor/assets/javascripts/dojo/data/api/Identity.js.uncompressed.js +35 -33
  434. data/vendor/assets/javascripts/dojo/data/api/Item.js +10 -0
  435. data/vendor/assets/javascripts/dojo/data/api/Item.js.uncompressed.js +13 -0
  436. data/vendor/assets/javascripts/dojo/data/api/Notification.js +5 -6
  437. data/vendor/assets/javascripts/dojo/data/api/Notification.js.uncompressed.js +39 -51
  438. data/vendor/assets/javascripts/dojo/data/api/Read.js +2 -3
  439. data/vendor/assets/javascripts/dojo/data/api/Read.js.uncompressed.js +85 -84
  440. data/vendor/assets/javascripts/dojo/data/api/Request.js +2 -3
  441. data/vendor/assets/javascripts/dojo/data/api/Request.js.uncompressed.js +10 -13
  442. data/vendor/assets/javascripts/dojo/data/api/Write.js +9 -10
  443. data/vendor/assets/javascripts/dojo/data/api/Write.js.uncompressed.js +28 -43
  444. data/vendor/assets/javascripts/dojo/data/util/filter.js +3 -2
  445. data/vendor/assets/javascripts/dojo/data/util/filter.js.uncompressed.js +19 -16
  446. data/vendor/assets/javascripts/dojo/data/util/simpleFetch.js +37 -40
  447. data/vendor/assets/javascripts/dojo/data/util/simpleFetch.js.uncompressed.js +202 -57
  448. data/vendor/assets/javascripts/dojo/data/util/sorter.js +3 -2
  449. data/vendor/assets/javascripts/dojo/data/util/sorter.js.uncompressed.js +16 -16
  450. data/vendor/assets/javascripts/dojo/date.js +106 -105
  451. data/vendor/assets/javascripts/dojo/date.js.uncompressed.js +46 -47
  452. data/vendor/assets/javascripts/dojo/date/locale.js +196 -183
  453. data/vendor/assets/javascripts/dojo/date/locale.js.uncompressed.js +105 -81
  454. data/vendor/assets/javascripts/dojo/date/stamp.js +10 -9
  455. data/vendor/assets/javascripts/dojo/date/stamp.js.uncompressed.js +40 -42
  456. data/vendor/assets/javascripts/dojo/dnd/AutoSource.js +2 -2
  457. data/vendor/assets/javascripts/dojo/dnd/AutoSource.js.uncompressed.js +3 -4
  458. data/vendor/assets/javascripts/dojo/dnd/Avatar.js +32 -30
  459. data/vendor/assets/javascripts/dojo/dnd/Avatar.js.uncompressed.js +45 -34
  460. data/vendor/assets/javascripts/dojo/dnd/Container.js +99 -96
  461. data/vendor/assets/javascripts/dojo/dnd/Container.js.uncompressed.js +123 -99
  462. data/vendor/assets/javascripts/dojo/dnd/Manager.js +58 -52
  463. data/vendor/assets/javascripts/dojo/dnd/Manager.js.uncompressed.js +52 -42
  464. data/vendor/assets/javascripts/dojo/dnd/Moveable.js +41 -39
  465. data/vendor/assets/javascripts/dojo/dnd/Moveable.js.uncompressed.js +72 -60
  466. data/vendor/assets/javascripts/dojo/dnd/Mover.js +19 -17
  467. data/vendor/assets/javascripts/dojo/dnd/Mover.js.uncompressed.js +37 -32
  468. data/vendor/assets/javascripts/dojo/dnd/Selector.js +52 -50
  469. data/vendor/assets/javascripts/dojo/dnd/Selector.js.uncompressed.js +51 -46
  470. data/vendor/assets/javascripts/dojo/dnd/Source.js +109 -106
  471. data/vendor/assets/javascripts/dojo/dnd/Source.js.uncompressed.js +60 -67
  472. data/vendor/assets/javascripts/dojo/dnd/Target.js +3 -3
  473. data/vendor/assets/javascripts/dojo/dnd/Target.js.uncompressed.js +7 -7
  474. data/vendor/assets/javascripts/dojo/dnd/TimedMoveable.js +19 -20
  475. data/vendor/assets/javascripts/dojo/dnd/TimedMoveable.js.uncompressed.js +9 -14
  476. data/vendor/assets/javascripts/dojo/dnd/autoscroll.js +48 -39
  477. data/vendor/assets/javascripts/dojo/dnd/autoscroll.js.uncompressed.js +77 -46
  478. data/vendor/assets/javascripts/dojo/dnd/common.js +11 -10
  479. data/vendor/assets/javascripts/dojo/dnd/common.js.uncompressed.js +19 -13
  480. data/vendor/assets/javascripts/dojo/dnd/move.js +31 -34
  481. data/vendor/assets/javascripts/dojo/dnd/move.js.uncompressed.js +31 -27
  482. data/vendor/assets/javascripts/dojo/dojo.js +12 -1869
  483. data/vendor/assets/javascripts/dojo/dojo.js.uncompressed.js +7168 -5874
  484. data/vendor/assets/javascripts/dojo/dojo.profile.js +6 -6
  485. data/vendor/assets/javascripts/dojo/dom-attr.js +30 -31
  486. data/vendor/assets/javascripts/dojo/dom-attr.js.uncompressed.js +71 -89
  487. data/vendor/assets/javascripts/dojo/dom-class.js.uncompressed.js +161 -155
  488. data/vendor/assets/javascripts/dojo/dom-construct.js +1 -1
  489. data/vendor/assets/javascripts/dojo/dom-construct.js.uncompressed.js +159 -202
  490. data/vendor/assets/javascripts/dojo/dom-form.js.uncompressed.js +60 -77
  491. data/vendor/assets/javascripts/dojo/dom-geometry.js +43 -45
  492. data/vendor/assets/javascripts/dojo/dom-geometry.js.uncompressed.js +257 -403
  493. data/vendor/assets/javascripts/dojo/dom-prop.js +36 -37
  494. data/vendor/assets/javascripts/dojo/dom-prop.js.uncompressed.js +33 -42
  495. data/vendor/assets/javascripts/dojo/dom-style.js +2 -2
  496. data/vendor/assets/javascripts/dojo/dom-style.js.uncompressed.js +127 -142
  497. data/vendor/assets/javascripts/dojo/dom.js +3 -1
  498. data/vendor/assets/javascripts/dojo/dom.js.uncompressed.js +77 -85
  499. data/vendor/assets/javascripts/dojo/domReady.js +2 -2
  500. data/vendor/assets/javascripts/dojo/domReady.js.uncompressed.js +4 -2
  501. data/vendor/assets/javascripts/dojo/errors/CancelError.js +10 -0
  502. data/vendor/assets/javascripts/dojo/errors/CancelError.js.uncompressed.js +13 -0
  503. data/vendor/assets/javascripts/dojo/errors/RequestError.js +12 -0
  504. data/vendor/assets/javascripts/dojo/errors/RequestError.js.uncompressed.js +15 -0
  505. data/vendor/assets/javascripts/dojo/errors/RequestTimeoutError.js +10 -0
  506. data/vendor/assets/javascripts/dojo/errors/RequestTimeoutError.js.uncompressed.js +15 -0
  507. data/vendor/assets/javascripts/dojo/errors/create.js +36 -0
  508. data/vendor/assets/javascripts/dojo/errors/create.js.uncompressed.js +41 -0
  509. data/vendor/assets/javascripts/dojo/fx.js.uncompressed.js +27 -34
  510. data/vendor/assets/javascripts/dojo/fx/Toggler.js.uncompressed.js +9 -11
  511. data/vendor/assets/javascripts/dojo/fx/easing.js.uncompressed.js +7 -15
  512. data/vendor/assets/javascripts/dojo/gears.js +10 -9
  513. data/vendor/assets/javascripts/dojo/gears.js.uncompressed.js +18 -14
  514. data/vendor/assets/javascripts/dojo/has.js +35 -35
  515. data/vendor/assets/javascripts/dojo/has.js.uncompressed.js +55 -60
  516. data/vendor/assets/javascripts/dojo/hash.js +74 -74
  517. data/vendor/assets/javascripts/dojo/hash.js.uncompressed.js +62 -49
  518. data/vendor/assets/javascripts/dojo/hccss.js +23 -0
  519. data/vendor/assets/javascripts/dojo/hccss.js.uncompressed.js +51 -0
  520. data/vendor/assets/javascripts/dojo/html.js +81 -64
  521. data/vendor/assets/javascripts/dojo/html.js.uncompressed.js +107 -76
  522. data/vendor/assets/javascripts/dojo/i18n.js +155 -139
  523. data/vendor/assets/javascripts/dojo/i18n.js.uncompressed.js +234 -198
  524. data/vendor/assets/javascripts/dojo/io-query.js +28 -30
  525. data/vendor/assets/javascripts/dojo/io-query.js.uncompressed.js +14 -15
  526. data/vendor/assets/javascripts/dojo/io/iframe.js +49 -207
  527. data/vendor/assets/javascripts/dojo/io/iframe.js.uncompressed.js +127 -313
  528. data/vendor/assets/javascripts/dojo/io/script.js +60 -84
  529. data/vendor/assets/javascripts/dojo/io/script.js.uncompressed.js +121 -128
  530. data/vendor/assets/javascripts/dojo/jaxer.js +2 -1
  531. data/vendor/assets/javascripts/dojo/jaxer.js.uncompressed.js +2 -4
  532. data/vendor/assets/javascripts/dojo/json.js +2 -0
  533. data/vendor/assets/javascripts/dojo/json.js.uncompressed.js +38 -35
  534. data/vendor/assets/javascripts/dojo/keys.js +2 -2
  535. data/vendor/assets/javascripts/dojo/keys.js.uncompressed.js +73 -76
  536. data/vendor/assets/javascripts/dojo/main.js +10 -10
  537. data/vendor/assets/javascripts/dojo/main.js.uncompressed.js +13 -11
  538. data/vendor/assets/javascripts/dojo/mouse.js +25 -4
  539. data/vendor/assets/javascripts/dojo/mouse.js.uncompressed.js +78 -34
  540. data/vendor/assets/javascripts/dojo/nls/az/colors.js.uncompressed.js +2 -4
  541. data/vendor/assets/javascripts/dojo/nls/colors.js.uncompressed.js +1 -1
  542. data/vendor/assets/javascripts/dojo/nls/he/colors.js.uncompressed.js +2 -5
  543. data/vendor/assets/javascripts/dojo/nls/hr/colors.js +1 -1
  544. data/vendor/assets/javascripts/dojo/nls/hr/colors.js.uncompressed.js +149 -149
  545. data/vendor/assets/javascripts/dojo/nls/sl/colors.js +1 -1
  546. data/vendor/assets/javascripts/dojo/nls/sl/colors.js.uncompressed.js +7 -7
  547. data/vendor/assets/javascripts/dojo/node.js +18 -0
  548. data/vendor/assets/javascripts/dojo/node.js.uncompressed.js +27 -0
  549. data/vendor/assets/javascripts/dojo/number.js +38 -37
  550. data/vendor/assets/javascripts/dojo/number.js.uncompressed.js +94 -122
  551. data/vendor/assets/javascripts/dojo/on.js +146 -116
  552. data/vendor/assets/javascripts/dojo/on.js.uncompressed.js +135 -92
  553. data/vendor/assets/javascripts/dojo/package.json +1 -1
  554. data/vendor/assets/javascripts/dojo/parser.js +325 -200
  555. data/vendor/assets/javascripts/dojo/parser.js.uncompressed.js +677 -406
  556. data/vendor/assets/javascripts/dojo/promise/Promise.js +37 -0
  557. data/vendor/assets/javascripts/dojo/promise/Promise.js.uncompressed.js +133 -0
  558. data/vendor/assets/javascripts/dojo/promise/all.js +60 -0
  559. data/vendor/assets/javascripts/dojo/promise/all.js.uncompressed.js +76 -0
  560. data/vendor/assets/javascripts/dojo/promise/first.js +34 -0
  561. data/vendor/assets/javascripts/dojo/promise/first.js.uncompressed.js +49 -0
  562. data/vendor/assets/javascripts/dojo/promise/instrumentation.js +86 -0
  563. data/vendor/assets/javascripts/dojo/promise/instrumentation.js.uncompressed.js +103 -0
  564. data/vendor/assets/javascripts/dojo/promise/tracer.js +37 -0
  565. data/vendor/assets/javascripts/dojo/promise/tracer.js.uncompressed.js +85 -0
  566. data/vendor/assets/javascripts/dojo/query.js +8 -8
  567. data/vendor/assets/javascripts/dojo/query.js.uncompressed.js +206 -214
  568. data/vendor/assets/javascripts/dojo/ready.js +1 -7
  569. data/vendor/assets/javascripts/dojo/ready.js.uncompressed.js +31 -33
  570. data/vendor/assets/javascripts/dojo/regexp.js +14 -13
  571. data/vendor/assets/javascripts/dojo/regexp.js.uncompressed.js +15 -18
  572. data/vendor/assets/javascripts/dojo/request.js +10 -0
  573. data/vendor/assets/javascripts/dojo/request.js.uncompressed.js +75 -0
  574. data/vendor/assets/javascripts/dojo/request/default.js +28 -0
  575. data/vendor/assets/javascripts/dojo/request/default.js.uncompressed.js +32 -0
  576. data/vendor/assets/javascripts/dojo/request/handlers.js +47 -0
  577. data/vendor/assets/javascripts/dojo/request/handlers.js.uncompressed.js +62 -0
  578. data/vendor/assets/javascripts/dojo/request/iframe.js +290 -0
  579. data/vendor/assets/javascripts/dojo/request/iframe.js.uncompressed.js +429 -0
  580. data/vendor/assets/javascripts/dojo/request/node.js +81 -0
  581. data/vendor/assets/javascripts/dojo/request/node.js.uncompressed.js +188 -0
  582. data/vendor/assets/javascripts/dojo/request/notify.js +38 -0
  583. data/vendor/assets/javascripts/dojo/request/notify.js.uncompressed.js +73 -0
  584. data/vendor/assets/javascripts/dojo/request/registry.js +68 -0
  585. data/vendor/assets/javascripts/dojo/request/registry.js.uncompressed.js +85 -0
  586. data/vendor/assets/javascripts/dojo/request/script.js +111 -0
  587. data/vendor/assets/javascripts/dojo/request/script.js.uncompressed.js +211 -0
  588. data/vendor/assets/javascripts/dojo/request/util.js +113 -0
  589. data/vendor/assets/javascripts/dojo/request/util.js.uncompressed.js +145 -0
  590. data/vendor/assets/javascripts/dojo/request/watch.js +73 -0
  591. data/vendor/assets/javascripts/dojo/request/watch.js.uncompressed.js +109 -0
  592. data/vendor/assets/javascripts/dojo/request/xhr.js +184 -0
  593. data/vendor/assets/javascripts/dojo/request/xhr.js.uncompressed.js +317 -0
  594. data/vendor/assets/javascripts/dojo/resources/dnd.css +3 -3
  595. data/vendor/assets/javascripts/dojo/router.js +10 -0
  596. data/vendor/assets/javascripts/dojo/router.js.uncompressed.js +28 -0
  597. data/vendor/assets/javascripts/dojo/router/RouterBase.js +160 -0
  598. data/vendor/assets/javascripts/dojo/router/RouterBase.js.uncompressed.js +350 -0
  599. data/vendor/assets/javascripts/dojo/rpc/JsonService.js +20 -21
  600. data/vendor/assets/javascripts/dojo/rpc/JsonService.js.uncompressed.js +29 -27
  601. data/vendor/assets/javascripts/dojo/rpc/JsonpService.js +14 -15
  602. data/vendor/assets/javascripts/dojo/rpc/JsonpService.js.uncompressed.js +28 -29
  603. data/vendor/assets/javascripts/dojo/rpc/RpcService.js +50 -51
  604. data/vendor/assets/javascripts/dojo/rpc/RpcService.js.uncompressed.js +39 -36
  605. data/vendor/assets/javascripts/dojo/selector/_loader.js.uncompressed.js +4 -2
  606. data/vendor/assets/javascripts/dojo/selector/acme.js +442 -408
  607. data/vendor/assets/javascripts/dojo/selector/acme.js.uncompressed.js +160 -147
  608. data/vendor/assets/javascripts/dojo/selector/lite.js +136 -127
  609. data/vendor/assets/javascripts/dojo/selector/lite.js.uncompressed.js +62 -43
  610. data/vendor/assets/javascripts/dojo/sniff.js +41 -0
  611. data/vendor/assets/javascripts/dojo/sniff.js.uncompressed.js +70 -0
  612. data/vendor/assets/javascripts/dojo/store/Cache.js +7 -6
  613. data/vendor/assets/javascripts/dojo/store/Cache.js.uncompressed.js +48 -51
  614. data/vendor/assets/javascripts/dojo/store/DataStore.js +88 -65
  615. data/vendor/assets/javascripts/dojo/store/DataStore.js.uncompressed.js +48 -16
  616. data/vendor/assets/javascripts/dojo/store/JsonRest.js +44 -40
  617. data/vendor/assets/javascripts/dojo/store/JsonRest.js.uncompressed.js +74 -40
  618. data/vendor/assets/javascripts/dojo/store/Memory.js +30 -29
  619. data/vendor/assets/javascripts/dojo/store/Memory.js.uncompressed.js +40 -37
  620. data/vendor/assets/javascripts/dojo/store/Observable.js +90 -79
  621. data/vendor/assets/javascripts/dojo/store/Observable.js.uncompressed.js +35 -23
  622. data/vendor/assets/javascripts/dojo/store/README +5 -9
  623. data/vendor/assets/javascripts/dojo/store/api/Store.js +12 -24
  624. data/vendor/assets/javascripts/dojo/store/api/Store.js.uncompressed.js +31 -41
  625. data/vendor/assets/javascripts/dojo/store/util/QueryResults.js +4 -4
  626. data/vendor/assets/javascripts/dojo/store/util/QueryResults.js.uncompressed.js +13 -14
  627. data/vendor/assets/javascripts/dojo/store/util/SimpleQueryEngine.js +11 -10
  628. data/vendor/assets/javascripts/dojo/store/util/SimpleQueryEngine.js.uncompressed.js +18 -16
  629. data/vendor/assets/javascripts/dojo/string.js +23 -22
  630. data/vendor/assets/javascripts/dojo/string.js.uncompressed.js +38 -38
  631. data/vendor/assets/javascripts/dojo/text.js +50 -50
  632. data/vendor/assets/javascripts/dojo/text.js.uncompressed.js +129 -127
  633. data/vendor/assets/javascripts/dojo/topic.js.uncompressed.js +17 -12
  634. data/vendor/assets/javascripts/dojo/touch.js +35 -7
  635. data/vendor/assets/javascripts/dojo/touch.js.uncompressed.js +146 -34
  636. data/vendor/assets/javascripts/dojo/uacss.js +1 -1
  637. data/vendor/assets/javascripts/dojo/uacss.js.uncompressed.js +19 -10
  638. data/vendor/assets/javascripts/dojo/when.js +31 -0
  639. data/vendor/assets/javascripts/dojo/when.js.uncompressed.js +55 -0
  640. data/vendor/assets/javascripts/dojo/window.js +26 -27
  641. data/vendor/assets/javascripts/dojo/window.js.uncompressed.js +160 -161
  642. metadata +152 -6
  643. data/Gemfile +0 -4
  644. data/LICENSE +0 -22
  645. data/Rakefile +0 -3
  646. data/vendor/assets/javascripts/dojo/resources/_modules.js +0 -36
@@ -12,10 +12,17 @@ define("dojo/_base/browser", [
12
12
  "./NodeList",
13
13
  "../query",
14
14
  "./xhr",
15
- "./fx"], function(dojo) {
15
+ "./fx"], function(dojo){
16
+
16
17
  // module:
17
18
  // dojo/_base/browser
18
- // summary:
19
- // This module causes the browser-only base modules to be loaded.
19
+
20
+ /*=====
21
+ return {
22
+ // summary:
23
+ // This module causes the browser-only base modules to be loaded.
24
+ };
25
+ =====*/
26
+
20
27
  return dojo;
21
28
  });
@@ -1,23 +1,26 @@
1
1
  define("dojo/_base/config", ["../has", "require"], function(has, require){
2
2
  // module:
3
3
  // dojo/_base/config
4
+
5
+ /*=====
6
+ return {
4
7
  // summary:
5
8
  // This module defines the user configuration during bootstrap.
6
9
  // description:
7
10
  // By defining user configuration as a module value, an entire configuration can be specified in a build,
8
- // thereby eliminating the need for sniffing and or explicitly setting in the global variable dojoConfig.
9
- // Also, when multiple instances of dojo exist in a single application, each will necessarily be located
11
+ // thereby eliminating the need for sniffing and or explicitly setting in the global variable dojoConfig.
12
+ // Also, when multiple instances of dojo exist in a single application, each will necessarily be located
10
13
  // at an unique absolute module identifier as given by the package configuration. Implementing configuration
11
14
  // as a module allows for specifying unique, per-instance configurations.
12
15
  // example:
13
- // Create a second instance of dojo with a different, instance-uniqe configuration (assume the loader and
16
+ // Create a second instance of dojo with a different, instance-unique configuration (assume the loader and
14
17
  // dojo.js are already loaded).
15
18
  // | // specify a configuration that creates a new instance of dojo at the absolute module identifier "myDojo"
16
19
  // | require({
17
20
  // | packages:[{
18
21
  // | name:"myDojo",
19
22
  // | location:".", //assume baseUrl points to dojo.js
20
- // | }]
23
+ // | }]
21
24
  // | });
22
25
  // |
23
26
  // | // specify a configuration for the myDojo instance
@@ -27,49 +30,11 @@ define("dojo/_base/config", ["../has", "require"], function(has, require){
27
30
  // | });
28
31
  // |
29
32
  // | // load and use the new instance of dojo
30
- // | require(["myDojo"], function(dojo) {
33
+ // | require(["myDojo"], function(dojo){
31
34
  // | // dojo is the new instance of dojo
32
35
  // | // use as required
33
36
  // | });
34
37
 
35
- var result = {};
36
- if(1){
37
- // must be the dojo loader; take a shallow copy of require.rawConfig
38
- var src = require.rawConfig, p;
39
- for(p in src){
40
- result[p] = src[p];
41
- }
42
- }else{
43
- var adviseHas = function(featureSet, prefix, booting){
44
- for(p in featureSet){
45
- p!="has" && has.add(prefix + p, featureSet[p], 0, booting);
46
- }
47
- };
48
- result = 1 ?
49
- // must be a built version of the dojo loader; all config stuffed in require.rawConfig
50
- require.rawConfig :
51
- // a foreign loader
52
- this.dojoConfig || this.djConfig || {};
53
- adviseHas(result, "config", 1);
54
- adviseHas(result.has, "", 1);
55
- }
56
- return result;
57
-
58
- /*=====
59
- // note:
60
- // 'dojoConfig' does not exist under 'dojo.*' so that it can be set before the
61
- // 'dojo' variable exists.
62
- // note:
63
- // Setting any of these variables *after* the library has loaded does
64
- // nothing at all.
65
-
66
- // FIXME: can we document these on dojo.config object and explain they must be set via djConfig/dojoConfig global prior to loading dojo.js
67
-
68
- dojoConfig = {
69
- // summary:
70
- // Application code can set the global 'dojoConfig' prior to loading
71
- // the library to control certain global settings for how dojo works.
72
- //
73
38
  // isDebug: Boolean
74
39
  // Defaults to `false`. If set to `true`, ensures that Dojo provides
75
40
  // extended debugging feedback via Firebug. If Firebug is not available
@@ -81,6 +46,7 @@ dojoConfig = {
81
46
  // `isDebug` is false and you are on a platform without Firebug, these
82
47
  // methods will be defined as no-ops.
83
48
  isDebug: false,
49
+
84
50
  // locale: String
85
51
  // The locale to assume for loading localized resources in this page,
86
52
  // specified according to [RFC 3066](http://www.ietf.org/rfc/rfc3066.txt).
@@ -90,11 +56,13 @@ dojoConfig = {
90
56
  // Dojo assumes the locale of the user agent, according to `navigator.userLanguage`
91
57
  // or `navigator.language` properties.
92
58
  locale: undefined,
59
+
93
60
  // extraLocale: Array
94
61
  // No default value. Specifies additional locales whose
95
62
  // resources should also be loaded alongside the default locale when
96
63
  // calls to `dojo.requireLocalization()` are processed.
97
64
  extraLocale: undefined,
65
+
98
66
  // baseUrl: String
99
67
  // The directory in which `dojo.js` is located. Under normal
100
68
  // conditions, Dojo auto-detects the correct location from which it
@@ -105,70 +73,115 @@ dojoConfig = {
105
73
  // auto-detected root if not. Other modules are located relative to
106
74
  // this path. The path should end in a slash.
107
75
  baseUrl: undefined,
108
- // modulePaths: Object
76
+
77
+ // modulePaths: [deprecated] Object
109
78
  // A map of module names to paths relative to `dojo.baseUrl`. The
110
79
  // key/value pairs correspond directly to the arguments which
111
- // `dojo.registerModulePath` accepts. Specifiying
80
+ // `dojo.registerModulePath` accepts. Specifying
112
81
  // `djConfig.modulePaths = { "foo": "../../bar" }` is the equivalent
113
82
  // of calling `dojo.registerModulePath("foo", "../../bar");`. Multiple
114
83
  // modules may be configured via `djConfig.modulePaths`.
115
84
  modulePaths: {},
116
- // afterOnLoad: Boolean
117
- // Indicates Dojo was added to the page after the page load. In this case
118
- // Dojo will not wait for the page DOMContentLoad/load events and fire
119
- // its dojo.addOnLoad callbacks after making sure all outstanding
120
- // dojo.required modules have loaded. Only works with a built dojo.js,
121
- // it does not work the dojo.js directly from source control.
122
- afterOnLoad: false,
123
- // addOnLoad: Function or Array
124
- // Adds a callback via dojo.addOnLoad. Useful when Dojo is added after
85
+
86
+ // addOnLoad: Function|Array
87
+ // Adds a callback via dojo/ready. Useful when Dojo is added after
125
88
  // the page loads and djConfig.afterOnLoad is true. Supports the same
126
- // arguments as dojo.addOnLoad. When using a function reference, use
89
+ // arguments as dojo/ready. When using a function reference, use
127
90
  // `djConfig.addOnLoad = function(){};`. For object with function name use
128
91
  // `djConfig.addOnLoad = [myObject, "functionName"];` and for object with
129
92
  // function reference use
130
93
  // `djConfig.addOnLoad = [myObject, function(){}];`
131
94
  addOnLoad: null,
132
- // require: Array
95
+
96
+ // parseOnLoad: Boolean
97
+ // Run the parser after the page is loaded
98
+ parseOnLoad: false,
99
+
100
+ // require: String[]
133
101
  // An array of module names to be loaded immediately after dojo.js has been included
134
102
  // in a page.
135
103
  require: [],
136
- // defaultDuration: Array
104
+
105
+ // defaultDuration: Number
137
106
  // Default duration, in milliseconds, for wipe and fade animations within dijits.
138
107
  // Assigned to dijit.defaultDuration.
139
108
  defaultDuration: 200,
109
+
140
110
  // dojoBlankHtmlUrl: String
141
- // Used by some modules to configure an empty iframe. Used by dojo.io.iframe and
142
- // dojo.back, and dijit popup support in IE where an iframe is needed to make sure native
111
+ // Used by some modules to configure an empty iframe. Used by dojo/io/iframe and
112
+ // dojo/back, and dijit/popup support in IE where an iframe is needed to make sure native
143
113
  // controls do not bleed through the popups. Normally this configuration variable
144
114
  // does not need to be set, except when using cross-domain/CDN Dojo builds.
145
115
  // Save dojo/resources/blank.html to your domain and set `djConfig.dojoBlankHtmlUrl`
146
116
  // to the path on your domain your copy of blank.html.
147
117
  dojoBlankHtmlUrl: undefined,
148
- // ioPublish: Boolean?
118
+
119
+ // ioPublish: Boolean?
149
120
  // Set this to true to enable publishing of topics for the different phases of
150
- // IO operations. Publishing is done via dojo.publish. See dojo.__IoPublish for a list
121
+ // IO operations. Publishing is done via dojo/topic.publish(). See dojo/main.__IoPublish for a list
151
122
  // of topics that are published.
152
123
  ioPublish: false,
153
- // useCustomLogger: Anything?
124
+
125
+ // useCustomLogger: Anything?
154
126
  // If set to a value that evaluates to true such as a string or array and
155
127
  // isDebug is true and Firebug is not available or running, then it bypasses
156
128
  // the creation of Firebug Lite allowing you to define your own console object.
157
129
  useCustomLogger: undefined,
130
+
158
131
  // transparentColor: Array
159
132
  // Array containing the r, g, b components used as transparent color in dojo.Color;
160
133
  // if undefined, [255,255,255] (white) will be used.
161
134
  transparentColor: undefined,
162
- // skipIeDomLoaded: Boolean
163
- // For IE only, skip the DOMContentLoaded hack used. Sometimes it can cause an Operation
164
- // Aborted error if the rest of the page triggers script defers before the DOM is ready.
165
- // If this is config value is set to true, then dojo.addOnLoad callbacks will not be
166
- // triggered until the page load event, which is after images and iframes load. If you
167
- // want to trigger the callbacks sooner, you can put a script block in the bottom of
168
- // your HTML that calls dojo._loadInit();. If you are using multiversion support, change
169
- // "dojo." to the appropriate scope name for dojo.
170
- skipIeDomLoaded: false
171
- }
135
+
136
+ // deps: Function|Array
137
+ // Defines dependencies to be used before the loader has been loaded.
138
+ // When provided, they cause the loader to execute require(deps, callback)
139
+ // once it has finished loading. Should be used with callback.
140
+ deps: undefined,
141
+
142
+ // callback: Function|Array
143
+ // Defines a callback to be used when dependencies are defined before
144
+ // the loader has been loaded. When provided, they cause the loader to
145
+ // execute require(deps, callback) once it has finished loading.
146
+ // Should be used with deps.
147
+ callback: undefined,
148
+
149
+ // deferredInstrumentation: Boolean
150
+ // Whether deferred instrumentation should be loaded or included
151
+ // in builds.
152
+ deferredInstrumentation: true,
153
+
154
+ // useDeferredInstrumentation: Boolean|String
155
+ // Whether the deferred instrumentation should be used.
156
+ //
157
+ // * `"report-rejections"`: report each rejection as it occurs.
158
+ // * `true` or `1` or `"report-unhandled-rejections"`: wait 1 second
159
+ // in an attempt to detect unhandled rejections.
160
+ useDeferredInstrumentation: "report-unhandled-rejections"
161
+ };
172
162
  =====*/
163
+
164
+ var result = {};
165
+ if( 1 ){
166
+ // must be the dojo loader; take a shallow copy of require.rawConfig
167
+ var src = require.rawConfig, p;
168
+ for(p in src){
169
+ result[p] = src[p];
170
+ }
171
+ }else{
172
+ var adviseHas = function(featureSet, prefix, booting){
173
+ for(p in featureSet){
174
+ p!="has" && has.add(prefix + p, featureSet[p], 0, booting);
175
+ }
176
+ };
177
+ result = 1 ?
178
+ // must be a built version of the dojo loader; all config stuffed in require.rawConfig
179
+ require.rawConfig :
180
+ // a foreign loader
181
+ this.dojoConfig || this.djConfig || {};
182
+ adviseHas(result, "config", 1);
183
+ adviseHas(result.has, "", 1);
184
+ }
185
+ return result;
173
186
  });
174
187
 
@@ -78,14 +78,16 @@ if(typeof window != 'undefined'){
78
78
  var hasBase = false;
79
79
 
80
80
  dojo._getText = function(/*URI*/ uri, /*Boolean*/ fail_ok){
81
- // summary: Read the contents of the specified uri and return those contents.
81
+ // summary:
82
+ // Read the contents of the specified uri and return those contents.
82
83
  // uri:
83
84
  // A relative or absolute uri. If absolute, it still must be in
84
85
  // the same "domain" as we are.
85
86
  // fail_ok:
86
87
  // Default false. If fail_ok and loading fails, return null
87
88
  // instead of throwing.
88
- // returns: The response text. null is returned when there is a
89
+ // returns:
90
+ // The response text. null is returned when there is a
89
91
  // failure and failure is okay (an exception otherwise)
90
92
 
91
93
  // alert("_getText: " + uri);
@@ -178,12 +180,12 @@ if(typeof window != 'undefined'){
178
180
  dojo._defaultContext = [ window, document ];
179
181
 
180
182
  dojo.pushContext = function(/*Object|String?*/g, /*MDocumentElement?*/d){
181
- // summary:
183
+ // summary:
182
184
  // causes subsequent calls to Dojo methods to assume the
183
185
  // passed object and, optionally, document as the default
184
186
  // scopes to use. A 2-element array of the previous global and
185
187
  // document are returned.
186
- // description:
188
+ // description:
187
189
  // dojo.pushContext treats contexts as a stack. The
188
190
  // auto-detected contexts which are initially provided using
189
191
  // dojo.setContext() require authors to keep state in order to
@@ -199,10 +201,10 @@ if(typeof window != 'undefined'){
199
201
  // the context to push. This means that iframes can be given
200
202
  // an ID and code can be executed in the scope of the iframe's
201
203
  // document in subsequent calls easily.
202
- // g:
204
+ // g:
203
205
  // The global context. If a string, the id of the frame to
204
206
  // search for a context and document.
205
- // d:
207
+ // d:
206
208
  // The document element to execute subsequent code with.
207
209
  var old = [dojo.global, dojo.doc];
208
210
  contexts.push(old);
@@ -224,7 +226,7 @@ if(typeof window != 'undefined'){
224
226
  };
225
227
 
226
228
  dojo.popContext = function(){
227
- // summary:
229
+ // summary:
228
230
  // If the context stack contains elements, ensure that
229
231
  // subsequent code executes in the *previous* context to the
230
232
  // current context. The current context set ([global,
@@ -286,17 +288,17 @@ if(typeof window != 'undefined'){
286
288
  };
287
289
  // FIXME: PORT
288
290
  // FIXME: dojo.unloaded requires dojo scope, so using anon function wrapper.
289
- _handleNodeEvent("onbeforeunload", function() { dojo.unloaded(); });
290
- _handleNodeEvent("onunload", function() { dojo.windowUnloaded(); });
291
+ _handleNodeEvent("onbeforeunload", function(){ dojo.unloaded(); });
292
+ _handleNodeEvent("onunload", function(){ dojo.windowUnloaded(); });
291
293
  })();
292
294
  */
293
295
 
294
296
 
295
297
  // FIXME: PORTME
296
- // this event fires a lot, namely for all plugin XUL overlays and for
297
- // all iframes (in addition to window navigations). We only want
298
- // Dojo's to fire once..but we might care if pages navigate. We'll
299
- // probably need an extension-specific API
298
+ // this event fires a lot, namely for all plugin XUL overlays and for
299
+ // all iframes (in addition to window navigations). We only want
300
+ // Dojo's to fire once..but we might care if pages navigate. We'll
301
+ // probably need an extension-specific API
300
302
  if(!dojo.config.afterOnLoad){
301
303
  window.addEventListener("DOMContentLoaded", function(e){
302
304
  dojo._loadInit(e);
@@ -1,5 +1,5 @@
1
1
  exports.config = function(config){
2
- // summary:
2
+ // summary:
3
3
  // This module provides bootstrap configuration for running dojo in node.js
4
4
 
5
5
  // any command line arguments with the load flag are pushed into deps
@@ -15,7 +15,7 @@ exports.config = function(config){
15
15
  var fs = require("fs");
16
16
 
17
17
  // make sure global require exists
18
- //if (typeof global.require=="undefined") {
18
+ //if (typeof global.require=="undefined"){
19
19
  // global.require= {};
20
20
  //}
21
21
 
@@ -40,12 +40,12 @@ exports.config = function(config){
40
40
  config.hasCache[p] = hasCache[p];
41
41
  }
42
42
 
43
- var vm = require('vm');
44
-
43
+ var vm = require('vm'),
44
+ path = require('path');
45
45
 
46
46
  // reset some configuration switches with node-appropriate values
47
47
  var nodeConfig = {
48
- baseUrl: __dirname.match(/(.+)[\/\\]_base$/)[1],
48
+ baseUrl: path.dirname(process.argv[1]),
49
49
  commandLineArgs:args,
50
50
  deps:deps,
51
51
  timeout:0,
@@ -1,5 +1,5 @@
1
1
  function rhinoDojoConfig(config, baseUrl, rhinoArgs){
2
- // summary:
2
+ // summary:
3
3
  // This module provides bootstrap configuration for running dojo in rhino.
4
4
 
5
5
  // TODO: v1.6 tries to set dojo.doc and dojo.body in rhino; why?
@@ -1,9 +1,9 @@
1
1
  // TODO: this file needs to be converted to the v1.7 loader
2
2
 
3
-
4
- /*
5
- * SpiderMonkey host environment
6
- */
3
+ // module:
4
+ // configSpidermonkey
5
+ // summary:
6
+ // SpiderMonkey host environment
7
7
 
8
8
  if(dojo.config["baseUrl"]){
9
9
  dojo.baseUrl = dojo.config["baseUrl"];
@@ -13,11 +13,7 @@ if(dojo.config["baseUrl"]){
13
13
 
14
14
  dojo._name = 'spidermonkey';
15
15
 
16
- /*=====
17
- dojo.isSpidermonkey = {
18
- // summary: Detect spidermonkey
19
- };
20
- =====*/
16
+
21
17
 
22
18
  dojo.isSpidermonkey = true;
23
19
  dojo.exit = function(exitcode){
@@ -72,7 +72,7 @@ return 0;
72
72
  _f=function(_18,_19){
73
73
  var _1a=on(_18,"keydown",function(evt){
74
74
  var k=evt.keyCode;
75
- var _1b=(k!=13||(_6("ie")>=9&&!_6("quirks")))&&k!=32&&(k!=27||!_6("ie"))&&(k<48||k>90)&&(k<96||k>111)&&(k<186||k>192)&&(k<219||k>222)&&k!=229;
75
+ var _1b=(k!=13)&&k!=32&&(k!=27||!_6("ie"))&&(k<48||k>90)&&(k<96||k>111)&&(k<186||k>192)&&(k<219||k>222)&&k!=229;
76
76
  if(_1b||evt.ctrlKey){
77
77
  var c=_1b?0:k;
78
78
  if(evt.ctrlKey){
@@ -1,14 +1,7 @@
1
- define("dojo/_base/connect", ["./kernel", "../on", "../topic", "../aspect", "./event", "../mouse", "./sniff", "./lang", "../keys"], function(kernel, on, hub, aspect, eventModule, mouse, has, lang){
2
- // module:
3
- // dojo/_base/connect
4
- // summary:
5
- // This module defines the dojo.connect API.
6
- // This modules also provides keyboard event handling helpers.
7
- // This module exports an extension event for emulating Firefox's keypress handling.
8
- // However, this extension event exists primarily for backwards compatibility and
9
- // is not recommended. WebKit and IE uses an alternate keypress handling (only
10
- // firing for printable characters, to distinguish from keydown events), and most
11
- // consider the WebKit/IE behavior more desirable.
1
+ define("dojo/_base/connect", ["./kernel", "../on", "../topic", "../aspect", "./event", "../mouse", "./sniff", "./lang", "../keys"], function(dojo, on, hub, aspect, eventModule, mouse, has, lang){
2
+ // module:
3
+ // dojo/_base/connect
4
+
12
5
  has.add("events-keypress-typed", function(){ // keypresses should only occur a printable character is hit
13
6
  var testKeyEvent = {charCode: 0};
14
7
  try{
@@ -23,13 +16,13 @@ function connect_(obj, event, context, method, dontFix){
23
16
  if(!obj || !(obj.addEventListener || obj.attachEvent)){
24
17
  // it is a not a DOM node and we are using the dojo.connect style of treating a
25
18
  // method like an event, must go right to aspect
26
- return aspect.after(obj || kernel.global, event, method, true);
19
+ return aspect.after(obj || dojo.global, event, method, true);
27
20
  }
28
21
  if(typeof event == "string" && event.substring(0, 2) == "on"){
29
22
  event = event.substring(2);
30
23
  }
31
24
  if(!obj){
32
- obj = kernel.global;
25
+ obj = dojo.global;
33
26
  }
34
27
  if(!dontFix){
35
28
  switch(event){
@@ -99,7 +92,7 @@ if(has("events-keypress-typed")){
99
92
  var k=evt.keyCode;
100
93
  // These are Windows Virtual Key Codes
101
94
  // http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/WinUI/WindowsUserInterface/UserInput/VirtualKeyCodes.asp
102
- var unprintable = (k!=13 || (has("ie") >= 9 && !has("quirks"))) && k!=32 && (k!=27||!has("ie")) && (k<48||k>90) && (k<96||k>111) && (k<186||k>192) && (k<219||k>222) && k!=229;
95
+ var unprintable = (k!=13) && k!=32 && (k!=27||!has("ie")) && (k<48||k>90) && (k<96||k>111) && (k<186||k>192) && (k<219||k>222) && k!=229;
103
96
  // synthesize keypress for most unprintables and CTRL-keys
104
97
  if(unprintable||evt.ctrlKey){
105
98
  var c = unprintable ? 0 : k;
@@ -164,9 +157,115 @@ if(has("events-keypress-typed")){
164
157
  }
165
158
 
166
159
  var connect = {
160
+ // summary:
161
+ // This module defines the dojo.connect API.
162
+ // This modules also provides keyboard event handling helpers.
163
+ // This module exports an extension event for emulating Firefox's keypress handling.
164
+ // However, this extension event exists primarily for backwards compatibility and
165
+ // is not recommended. WebKit and IE uses an alternate keypress handling (only
166
+ // firing for printable characters, to distinguish from keydown events), and most
167
+ // consider the WebKit/IE behavior more desirable.
168
+
167
169
  _keypress:keypress,
168
170
 
169
171
  connect:function(obj, event, context, method, dontFix){
172
+ // summary:
173
+ // `dojo.connect` is a deprecated event handling and delegation method in
174
+ // Dojo. It allows one function to "listen in" on the execution of
175
+ // any other, triggering the second whenever the first is called. Many
176
+ // listeners may be attached to a function, and source functions may
177
+ // be either regular function calls or DOM events.
178
+ //
179
+ // description:
180
+ // Connects listeners to actions, so that after event fires, a
181
+ // listener is called with the same arguments passed to the original
182
+ // function.
183
+ //
184
+ // Since `dojo.connect` allows the source of events to be either a
185
+ // "regular" JavaScript function or a DOM event, it provides a uniform
186
+ // interface for listening to all the types of events that an
187
+ // application is likely to deal with though a single, unified
188
+ // interface. DOM programmers may want to think of it as
189
+ // "addEventListener for everything and anything".
190
+ //
191
+ // When setting up a connection, the `event` parameter must be a
192
+ // string that is the name of the method/event to be listened for. If
193
+ // `obj` is null, `kernel.global` is assumed, meaning that connections
194
+ // to global methods are supported but also that you may inadvertently
195
+ // connect to a global by passing an incorrect object name or invalid
196
+ // reference.
197
+ //
198
+ // `dojo.connect` generally is forgiving. If you pass the name of a
199
+ // function or method that does not yet exist on `obj`, connect will
200
+ // not fail, but will instead set up a stub method. Similarly, null
201
+ // arguments may simply be omitted such that fewer than 4 arguments
202
+ // may be required to set up a connection See the examples for details.
203
+ //
204
+ // The return value is a handle that is needed to
205
+ // remove this connection with `dojo.disconnect`.
206
+ //
207
+ // obj: Object?
208
+ // The source object for the event function.
209
+ // Defaults to `kernel.global` if null.
210
+ // If obj is a DOM node, the connection is delegated
211
+ // to the DOM event manager (unless dontFix is true).
212
+ //
213
+ // event: String
214
+ // String name of the event function in obj.
215
+ // I.e. identifies a property `obj[event]`.
216
+ //
217
+ // context: Object|null
218
+ // The object that method will receive as "this".
219
+ //
220
+ // If context is null and method is a function, then method
221
+ // inherits the context of event.
222
+ //
223
+ // If method is a string then context must be the source
224
+ // object object for method (context[method]). If context is null,
225
+ // kernel.global is used.
226
+ //
227
+ // method: String|Function
228
+ // A function reference, or name of a function in context.
229
+ // The function identified by method fires after event does.
230
+ // method receives the same arguments as the event.
231
+ // See context argument comments for information on method's scope.
232
+ //
233
+ // dontFix: Boolean?
234
+ // If obj is a DOM node, set dontFix to true to prevent delegation
235
+ // of this connection to the DOM event manager.
236
+ //
237
+ // example:
238
+ // When obj.onchange(), do ui.update():
239
+ // | dojo.connect(obj, "onchange", ui, "update");
240
+ // | dojo.connect(obj, "onchange", ui, ui.update); // same
241
+ //
242
+ // example:
243
+ // Using return value for disconnect:
244
+ // | var link = dojo.connect(obj, "onchange", ui, "update");
245
+ // | ...
246
+ // | dojo.disconnect(link);
247
+ //
248
+ // example:
249
+ // When onglobalevent executes, watcher.handler is invoked:
250
+ // | dojo.connect(null, "onglobalevent", watcher, "handler");
251
+ //
252
+ // example:
253
+ // When ob.onCustomEvent executes, customEventHandler is invoked:
254
+ // | dojo.connect(ob, "onCustomEvent", null, "customEventHandler");
255
+ // | dojo.connect(ob, "onCustomEvent", "customEventHandler"); // same
256
+ //
257
+ // example:
258
+ // When ob.onCustomEvent executes, customEventHandler is invoked
259
+ // with the same scope (this):
260
+ // | dojo.connect(ob, "onCustomEvent", null, customEventHandler);
261
+ // | dojo.connect(ob, "onCustomEvent", customEventHandler); // same
262
+ //
263
+ // example:
264
+ // When globalEvent executes, globalHandler is invoked
265
+ // with the same scope (this):
266
+ // | dojo.connect(null, "globalEvent", null, globalHandler);
267
+ // | dojo.connect("globalEvent", globalHandler); // same
268
+
170
269
  // normalize arguments
171
270
  var a=arguments, args=[], i=0;
172
271
  // if a[0] is a String, obj was omitted
@@ -180,220 +279,95 @@ var connect = {
180
279
  },
181
280
 
182
281
  disconnect:function(handle){
282
+ // summary:
283
+ // Remove a link created by dojo.connect.
284
+ // description:
285
+ // Removes the connection between event and the method referenced by handle.
286
+ // handle: Handle
287
+ // the return value of the dojo.connect call that created the connection.
288
+
183
289
  if(handle){
184
290
  handle.remove();
185
291
  }
186
292
  },
187
293
 
188
294
  subscribe:function(topic, context, method){
295
+ // summary:
296
+ // Attach a listener to a named topic. The listener function is invoked whenever the
297
+ // named topic is published (see: dojo.publish).
298
+ // Returns a handle which is needed to unsubscribe this listener.
299
+ // topic: String
300
+ // The topic to which to subscribe.
301
+ // context: Object?
302
+ // Scope in which method will be invoked, or null for default scope.
303
+ // method: String|Function
304
+ // The name of a function in context, or a function reference. This is the function that
305
+ // is invoked when topic is published.
306
+ // example:
307
+ // | dojo.subscribe("alerts", null, function(caption, message){ alert(caption + "\n" + message); });
308
+ // | dojo.publish("alerts", [ "read this", "hello world" ]);
189
309
  return hub.subscribe(topic, lang.hitch(context, method));
190
310
  },
191
311
 
192
312
  publish:function(topic, args){
313
+ // summary:
314
+ // Invoke all listener method subscribed to topic.
315
+ // topic: String
316
+ // The name of the topic to publish.
317
+ // args: Array?
318
+ // An array of arguments. The arguments will be applied
319
+ // to each topic subscriber (as first class parameters, via apply).
320
+ // example:
321
+ // | dojo.subscribe("alerts", null, function(caption, message){ alert(caption + "\n" + message); };
322
+ // | dojo.publish("alerts", [ "read this", "hello world" ]);
193
323
  return hub.publish.apply(hub, [topic].concat(args));
194
324
  },
195
325
 
196
326
  connectPublisher:function(topic, obj, event){
327
+ // summary:
328
+ // Ensure that every time obj.event() is called, a message is published
329
+ // on the topic. Returns a handle which can be passed to
330
+ // dojo.disconnect() to disable subsequent automatic publication on
331
+ // the topic.
332
+ // topic: String
333
+ // The name of the topic to publish.
334
+ // obj: Object?
335
+ // The source object for the event function. Defaults to kernel.global
336
+ // if null.
337
+ // event: String
338
+ // The name of the event function in obj.
339
+ // I.e. identifies a property obj[event].
340
+ // example:
341
+ // | dojo.connectPublisher("/ajax/start", dojo, "xhrGet");
197
342
  var pf = function(){ connect.publish(topic, arguments); };
198
343
  return event ? connect.connect(obj, event, pf) : connect.connect(obj, pf); //Handle
199
344
  },
200
345
 
201
346
  isCopyKey: function(e){
347
+ // summary:
348
+ // Checks an event for the copy key (meta on Mac, and ctrl anywhere else)
349
+ // e: Event
350
+ // Event object to examine
202
351
  return e[evtCopyKey]; // Boolean
203
352
  }
204
353
  };
205
- connect.unsubscribe = connect.disconnect;
206
-
207
- 1 && lang.mixin(kernel, connect);
208
- return connect;
209
-
210
- /*=====
211
- dojo.connect = function(obj, event, context, method, dontFix){
212
- // summary:
213
- // `dojo.connect` is the core event handling and delegation method in
214
- // Dojo. It allows one function to "listen in" on the execution of
215
- // any other, triggering the second whenever the first is called. Many
216
- // listeners may be attached to a function, and source functions may
217
- // be either regular function calls or DOM events.
218
- //
219
- // description:
220
- // Connects listeners to actions, so that after event fires, a
221
- // listener is called with the same arguments passed to the original
222
- // function.
223
- //
224
- // Since `dojo.connect` allows the source of events to be either a
225
- // "regular" JavaScript function or a DOM event, it provides a uniform
226
- // interface for listening to all the types of events that an
227
- // application is likely to deal with though a single, unified
228
- // interface. DOM programmers may want to think of it as
229
- // "addEventListener for everything and anything".
230
- //
231
- // When setting up a connection, the `event` parameter must be a
232
- // string that is the name of the method/event to be listened for. If
233
- // `obj` is null, `kernel.global` is assumed, meaning that connections
234
- // to global methods are supported but also that you may inadvertently
235
- // connect to a global by passing an incorrect object name or invalid
236
- // reference.
237
- //
238
- // `dojo.connect` generally is forgiving. If you pass the name of a
239
- // function or method that does not yet exist on `obj`, connect will
240
- // not fail, but will instead set up a stub method. Similarly, null
241
- // arguments may simply be omitted such that fewer than 4 arguments
242
- // may be required to set up a connection See the examples for details.
243
- //
244
- // The return value is a handle that is needed to
245
- // remove this connection with `dojo.disconnect`.
246
- //
247
- // obj: Object|null:
248
- // The source object for the event function.
249
- // Defaults to `kernel.global` if null.
250
- // If obj is a DOM node, the connection is delegated
251
- // to the DOM event manager (unless dontFix is true).
252
- //
253
- // event: String:
254
- // String name of the event function in obj.
255
- // I.e. identifies a property `obj[event]`.
256
- //
257
- // context: Object|null
258
- // The object that method will receive as "this".
259
- //
260
- // If context is null and method is a function, then method
261
- // inherits the context of event.
262
- //
263
- // If method is a string then context must be the source
264
- // object object for method (context[method]). If context is null,
265
- // kernel.global is used.
266
- //
267
- // method: String|Function:
268
- // A function reference, or name of a function in context.
269
- // The function identified by method fires after event does.
270
- // method receives the same arguments as the event.
271
- // See context argument comments for information on method's scope.
272
- //
273
- // dontFix: Boolean?
274
- // If obj is a DOM node, set dontFix to true to prevent delegation
275
- // of this connection to the DOM event manager.
276
- //
277
- // example:
278
- // When obj.onchange(), do ui.update():
279
- // | dojo.connect(obj, "onchange", ui, "update");
280
- // | dojo.connect(obj, "onchange", ui, ui.update); // same
281
- //
282
- // example:
283
- // Using return value for disconnect:
284
- // | var link = dojo.connect(obj, "onchange", ui, "update");
285
- // | ...
286
- // | dojo.disconnect(link);
287
- //
288
- // example:
289
- // When onglobalevent executes, watcher.handler is invoked:
290
- // | dojo.connect(null, "onglobalevent", watcher, "handler");
291
- //
292
- // example:
293
- // When ob.onCustomEvent executes, customEventHandler is invoked:
294
- // | dojo.connect(ob, "onCustomEvent", null, "customEventHandler");
295
- // | dojo.connect(ob, "onCustomEvent", "customEventHandler"); // same
296
- //
297
- // example:
298
- // When ob.onCustomEvent executes, customEventHandler is invoked
299
- // with the same scope (this):
300
- // | dojo.connect(ob, "onCustomEvent", null, customEventHandler);
301
- // | dojo.connect(ob, "onCustomEvent", customEventHandler); // same
302
- //
303
- // example:
304
- // When globalEvent executes, globalHandler is invoked
305
- // with the same scope (this):
306
- // | dojo.connect(null, "globalEvent", null, globalHandler);
307
- // | dojo.connect("globalEvent", globalHandler); // same
308
- }
309
- =====*/
310
-
311
- /*=====
312
- dojo.disconnect = function(handle){
313
- // summary:
314
- // Remove a link created by dojo.connect.
315
- // description:
316
- // Removes the connection between event and the method referenced by handle.
317
- // handle: Handle:
318
- // the return value of the dojo.connect call that created the connection.
319
- }
320
- =====*/
321
-
322
- /*=====
323
- dojo.subscribe = function(topic, context, method){
324
- // summary:
325
- // Attach a listener to a named topic. The listener function is invoked whenever the
326
- // named topic is published (see: dojo.publish).
327
- // Returns a handle which is needed to unsubscribe this listener.
328
- // topic: String:
329
- // The topic to which to subscribe.
330
- // context: Object|null:
331
- // Scope in which method will be invoked, or null for default scope.
332
- // method: String|Function:
333
- // The name of a function in context, or a function reference. This is the function that
334
- // is invoked when topic is published.
335
- // example:
336
- // | dojo.subscribe("alerts", null, function(caption, message){ alert(caption + "\n" + message); });
337
- // | dojo.publish("alerts", [ "read this", "hello world" ]);
338
- }
339
- =====*/
340
-
341
- /*=====
342
- dojo.unsubscribe = function(handle){
343
- // summary:
344
- // Remove a topic listener.
345
- // handle: Handle
346
- // The handle returned from a call to subscribe.
347
- // example:
348
- // | var alerter = dojo.subscribe("alerts", null, function(caption, message){ alert(caption + "\n" + message); };
349
- // | ...
350
- // | dojo.unsubscribe(alerter);
351
- }
352
- =====*/
353
-
354
- /*=====
355
- dojo.publish = function(topic, args){
356
- // summary:
357
- // Invoke all listener method subscribed to topic.
358
- // topic: String:
359
- // The name of the topic to publish.
360
- // args: Array?
361
- // An array of arguments. The arguments will be applied
362
- // to each topic subscriber (as first class parameters, via apply).
363
- // example:
364
- // | dojo.subscribe("alerts", null, function(caption, message){ alert(caption + "\n" + message); };
365
- // | dojo.publish("alerts", [ "read this", "hello world" ]);
366
- }
367
- =====*/
368
354
 
355
+ connect.unsubscribe = connect.disconnect;
369
356
  /*=====
370
- dojo.connectPublisher = function(topic, obj, event){
371
- // summary:
372
- // Ensure that every time obj.event() is called, a message is published
373
- // on the topic. Returns a handle which can be passed to
374
- // dojo.disconnect() to disable subsequent automatic publication on
375
- // the topic.
376
- // topic: String:
377
- // The name of the topic to publish.
378
- // obj: Object|null:
379
- // The source object for the event function. Defaults to kernel.global
380
- // if null.
381
- // event: String:
382
- // The name of the event function in obj.
383
- // I.e. identifies a property obj[event].
384
- // example:
385
- // | dojo.connectPublisher("/ajax/start", dojo, "xhrGet");
386
- }
387
- =====*/
357
+ connect.unsubscribe = function(handle){
358
+ // summary:
359
+ // Remove a topic listener.
360
+ // handle: Handle
361
+ // The handle returned from a call to subscribe.
362
+ // example:
363
+ // | var alerter = dojo.subscribe("alerts", null, function(caption, message){ alert(caption + "\n" + message); };
364
+ // | ...
365
+ // | dojo.unsubscribe(alerter);
366
+ };
367
+ =====*/
388
368
 
389
- /*=====
390
- dojo.isCopyKey = function(e){
391
- // summary:
392
- // Checks an event for the copy key (meta on Mac, and ctrl anywhere else)
393
- // e: Event
394
- // Event object to examine
395
- }
396
- =====*/
369
+ 1 && lang.mixin(dojo, connect);
370
+ return connect;
397
371
 
398
372
  });
399
373