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
@@ -224,15 +224,18 @@ function _33(_34){
224
224
  _35.safeMixin(this.prototype,_34);
225
225
  return this;
226
226
  };
227
- function _36(_37,_38){
227
+ function _36(_37){
228
+ return _35([this].concat(_37));
229
+ };
230
+ function _38(_39,_3a){
228
231
  return function(){
229
- var a=arguments,_39=a,a0=a[0],f,i,m,l=_37.length,_3a;
232
+ var a=arguments,_3b=a,a0=a[0],f,i,m,l=_39.length,_3c;
230
233
  if(!(this instanceof a.callee)){
231
- return _3b(a);
234
+ return _3d(a);
232
235
  }
233
- if(_38&&(a0&&a0.preamble||this.preamble)){
234
- _3a=new Array(_37.length);
235
- _3a[0]=a;
236
+ if(_3a&&(a0&&a0.preamble||this.preamble)){
237
+ _3c=new Array(_39.length);
238
+ _3c[0]=a;
236
239
  for(i=0;;){
237
240
  a0=a[0];
238
241
  if(a0){
@@ -241,7 +244,7 @@ if(f){
241
244
  a=f.apply(this,a)||a;
242
245
  }
243
246
  }
244
- f=_37[i].prototype;
247
+ f=_39[i].prototype;
245
248
  f=f.hasOwnProperty("preamble")&&f.preamble;
246
249
  if(f){
247
250
  a=f.apply(this,a)||a;
@@ -249,30 +252,30 @@ a=f.apply(this,a)||a;
249
252
  if(++i==l){
250
253
  break;
251
254
  }
252
- _3a[i]=a;
255
+ _3c[i]=a;
253
256
  }
254
257
  }
255
258
  for(i=l-1;i>=0;--i){
256
- f=_37[i];
259
+ f=_39[i];
257
260
  m=f._meta;
258
261
  f=m?m.ctor:f;
259
262
  if(f){
260
- f.apply(this,_3a?_3a[i]:a);
263
+ f.apply(this,_3c?_3c[i]:a);
261
264
  }
262
265
  }
263
266
  f=this.postscript;
264
267
  if(f){
265
- f.apply(this,_39);
268
+ f.apply(this,_3b);
266
269
  }
267
270
  };
268
271
  };
269
- function _3c(_3d,_3e){
272
+ function _3e(_3f,_40){
270
273
  return function(){
271
274
  var a=arguments,t=a,a0=a[0],f;
272
275
  if(!(this instanceof a.callee)){
273
- return _3b(a);
276
+ return _3d(a);
274
277
  }
275
- if(_3e){
278
+ if(_40){
276
279
  if(a0){
277
280
  f=a0.preamble;
278
281
  if(f){
@@ -284,8 +287,8 @@ if(f){
284
287
  f.apply(this,t);
285
288
  }
286
289
  }
287
- if(_3d){
288
- _3d.apply(this,a);
290
+ if(_3f){
291
+ _3f.apply(this,a);
289
292
  }
290
293
  f=this.postscript;
291
294
  if(f){
@@ -293,13 +296,13 @@ f.apply(this,a);
293
296
  }
294
297
  };
295
298
  };
296
- function _3f(_40){
299
+ function _41(_42){
297
300
  return function(){
298
301
  var a=arguments,i=0,f,m;
299
302
  if(!(this instanceof a.callee)){
300
- return _3b(a);
303
+ return _3d(a);
301
304
  }
302
- for(;f=_40[i];++i){
305
+ for(;f=_42[i];++i){
303
306
  m=f._meta;
304
307
  f=m?m.ctor:f;
305
308
  if(f){
@@ -313,116 +316,117 @@ f.apply(this,a);
313
316
  }
314
317
  };
315
318
  };
316
- function _41(_42,_43,_44){
319
+ function _43(_44,_45,_46){
317
320
  return function(){
318
- var b,m,f,i=0,_45=1;
319
- if(_44){
320
- i=_43.length-1;
321
- _45=-1;
321
+ var b,m,f,i=0,_47=1;
322
+ if(_46){
323
+ i=_45.length-1;
324
+ _47=-1;
322
325
  }
323
- for(;b=_43[i];i+=_45){
326
+ for(;b=_45[i];i+=_47){
324
327
  m=b._meta;
325
- f=(m?m.hidden:b.prototype)[_42];
328
+ f=(m?m.hidden:b.prototype)[_44];
326
329
  if(f){
327
330
  f.apply(this,arguments);
328
331
  }
329
332
  }
330
333
  };
331
334
  };
332
- function _46(_47){
333
- _6.prototype=_47.prototype;
335
+ function _48(_49){
336
+ _6.prototype=_49.prototype;
334
337
  var t=new _6;
335
338
  _6.prototype=null;
336
339
  return t;
337
340
  };
338
- function _3b(_48){
339
- var _49=_48.callee,t=_46(_49);
340
- _49.apply(t,_48);
341
+ function _3d(_4a){
342
+ var _4b=_4a.callee,t=_48(_4b);
343
+ _4b.apply(t,_4a);
341
344
  return t;
342
345
  };
343
- function _35(_4a,_4b,_4c){
344
- if(typeof _4a!="string"){
345
- _4c=_4b;
346
- _4b=_4a;
347
- _4a="";
348
- }
349
- _4c=_4c||{};
350
- var _4d,i,t,_4e,_4f,_50,_51,_52=1,_53=_4b;
351
- if(_5.call(_4b)=="[object Array]"){
352
- _50=_c(_4b,_4a);
353
- t=_50[0];
354
- _52=_50.length-t;
355
- _4b=_50[_52];
346
+ function _35(_4c,_4d,_4e){
347
+ if(typeof _4c!="string"){
348
+ _4e=_4d;
349
+ _4d=_4c;
350
+ _4c="";
351
+ }
352
+ _4e=_4e||{};
353
+ var _4f,i,t,_50,_51,_52,_53,_54=1,_55=_4d;
354
+ if(_5.call(_4d)=="[object Array]"){
355
+ _52=_c(_4d,_4c);
356
+ t=_52[0];
357
+ _54=_52.length-t;
358
+ _4d=_52[_54];
356
359
  }else{
357
- _50=[0];
358
- if(_4b){
359
- if(_5.call(_4b)=="[object Function]"){
360
- t=_4b._meta;
361
- _50=_50.concat(t?t.bases:_4b);
360
+ _52=[0];
361
+ if(_4d){
362
+ if(_5.call(_4d)=="[object Function]"){
363
+ t=_4d._meta;
364
+ _52=_52.concat(t?t.bases:_4d);
362
365
  }else{
363
- _9("base class is not a callable constructor.",_4a);
366
+ _9("base class is not a callable constructor.",_4c);
364
367
  }
365
368
  }else{
366
- if(_4b!==null){
367
- _9("unknown base class. Did you use dojo.require to pull it in?",_4a);
369
+ if(_4d!==null){
370
+ _9("unknown base class. Did you use dojo.require to pull it in?",_4c);
368
371
  }
369
372
  }
370
373
  }
371
- if(_4b){
372
- for(i=_52-1;;--i){
373
- _4d=_46(_4b);
374
+ if(_4d){
375
+ for(i=_54-1;;--i){
376
+ _4f=_48(_4d);
374
377
  if(!i){
375
378
  break;
376
379
  }
377
- t=_50[i];
378
- (t._meta?_29:_4)(_4d,t.prototype);
379
- _4e=new Function;
380
- _4e.superclass=_4b;
381
- _4e.prototype=_4d;
382
- _4b=_4d.constructor=_4e;
380
+ t=_52[i];
381
+ (t._meta?_29:_4)(_4f,t.prototype);
382
+ _50=new Function;
383
+ _50.superclass=_4d;
384
+ _50.prototype=_4f;
385
+ _4d=_4f.constructor=_50;
383
386
  }
384
387
  }else{
385
- _4d={};
388
+ _4f={};
386
389
  }
387
- _35.safeMixin(_4d,_4c);
388
- t=_4c.constructor;
390
+ _35.safeMixin(_4f,_4e);
391
+ t=_4e.constructor;
389
392
  if(t!==op.constructor){
390
393
  t.nom=_8;
391
- _4d.constructor=t;
394
+ _4f.constructor=t;
392
395
  }
393
- for(i=_52-1;i;--i){
394
- t=_50[i]._meta;
396
+ for(i=_54-1;i;--i){
397
+ t=_52[i]._meta;
395
398
  if(t&&t.chains){
396
- _51=_4(_51||{},t.chains);
399
+ _53=_4(_53||{},t.chains);
397
400
  }
398
401
  }
399
- if(_4d["-chains-"]){
400
- _51=_4(_51||{},_4d["-chains-"]);
402
+ if(_4f["-chains-"]){
403
+ _53=_4(_53||{},_4f["-chains-"]);
401
404
  }
402
- t=!_51||!_51.hasOwnProperty(_8);
403
- _50[0]=_4e=(_51&&_51.constructor==="manual")?_3f(_50):(_50.length==1?_3c(_4c.constructor,t):_36(_50,t));
404
- _4e._meta={bases:_50,hidden:_4c,chains:_51,parents:_53,ctor:_4c.constructor};
405
- _4e.superclass=_4b&&_4b.prototype;
406
- _4e.extend=_33;
407
- _4e.prototype=_4d;
408
- _4d.constructor=_4e;
409
- _4d.getInherited=_21;
410
- _4d.isInstanceOf=_27;
411
- _4d.inherited=_26;
412
- _4d.__inherited=_17;
413
- if(_4a){
414
- _4d.declaredClass=_4a;
415
- _3.setObject(_4a,_4e);
405
+ t=!_53||!_53.hasOwnProperty(_8);
406
+ _52[0]=_50=(_53&&_53.constructor==="manual")?_41(_52):(_52.length==1?_3e(_4e.constructor,t):_38(_52,t));
407
+ _50._meta={bases:_52,hidden:_4e,chains:_53,parents:_55,ctor:_4e.constructor};
408
+ _50.superclass=_4d&&_4d.prototype;
409
+ _50.extend=_33;
410
+ _50.createSubclass=_36;
411
+ _50.prototype=_4f;
412
+ _4f.constructor=_50;
413
+ _4f.getInherited=_21;
414
+ _4f.isInstanceOf=_27;
415
+ _4f.inherited=_26;
416
+ _4f.__inherited=_17;
417
+ if(_4c){
418
+ _4f.declaredClass=_4c;
419
+ _3.setObject(_4c,_50);
416
420
  }
417
- if(_51){
418
- for(_4f in _51){
419
- if(_4d[_4f]&&typeof _51[_4f]=="string"&&_4f!=_8){
420
- t=_4d[_4f]=_41(_4f,_50,_51[_4f]==="after");
421
- t.nom=_4f;
421
+ if(_53){
422
+ for(_51 in _53){
423
+ if(_4f[_51]&&typeof _53[_51]=="string"&&_51!=_8){
424
+ t=_4f[_51]=_43(_51,_52,_53[_51]==="after");
425
+ t.nom=_51;
422
426
  }
423
427
  }
424
428
  }
425
- return _4e;
429
+ return _50;
426
430
  };
427
431
  _1.safeMixin=_35.safeMixin=_2e;
428
432
  _1.declare=_35;
@@ -1,8 +1,6 @@
1
1
  define("dojo/_base/declare", ["./kernel", "../has", "./lang"], function(dojo, has, lang){
2
2
  // module:
3
3
  // dojo/_base/declare
4
- // summary:
5
- // This module defines dojo.declare.
6
4
 
7
5
  var mix = lang.mixin, op = Object.prototype, opts = op.toString,
8
6
  xtor = new Function, counter = 0, cname = "constructor";
@@ -238,6 +236,63 @@ define("dojo/_base/declare", ["./kernel", "../has", "./lang"], function(dojo, ha
238
236
 
239
237
  // implementation of safe mixin function
240
238
  function safeMixin(target, source){
239
+ // summary:
240
+ // Mix in properties skipping a constructor and decorating functions
241
+ // like it is done by declare().
242
+ // target: Object
243
+ // Target object to accept new properties.
244
+ // source: Object
245
+ // Source object for new properties.
246
+ // description:
247
+ // This function is used to mix in properties like lang.mixin does,
248
+ // but it skips a constructor property and decorates functions like
249
+ // declare() does.
250
+ //
251
+ // It is meant to be used with classes and objects produced with
252
+ // declare. Functions mixed in with dojo.safeMixin can use
253
+ // this.inherited() like normal methods.
254
+ //
255
+ // This function is used to implement extend() method of a constructor
256
+ // produced with declare().
257
+ //
258
+ // example:
259
+ // | var A = declare(null, {
260
+ // | m1: function(){
261
+ // | console.log("A.m1");
262
+ // | },
263
+ // | m2: function(){
264
+ // | console.log("A.m2");
265
+ // | }
266
+ // | });
267
+ // | var B = declare(A, {
268
+ // | m1: function(){
269
+ // | this.inherited(arguments);
270
+ // | console.log("B.m1");
271
+ // | }
272
+ // | });
273
+ // | B.extend({
274
+ // | m2: function(){
275
+ // | this.inherited(arguments);
276
+ // | console.log("B.m2");
277
+ // | }
278
+ // | });
279
+ // | var x = new B();
280
+ // | dojo.safeMixin(x, {
281
+ // | m1: function(){
282
+ // | this.inherited(arguments);
283
+ // | console.log("X.m1");
284
+ // | },
285
+ // | m2: function(){
286
+ // | this.inherited(arguments);
287
+ // | console.log("X.m2");
288
+ // | }
289
+ // | });
290
+ // | x.m2();
291
+ // | // prints:
292
+ // | // A.m1
293
+ // | // B.m1
294
+ // | // X.m1
295
+
241
296
  var name, t;
242
297
  // add props adding metadata for incoming functions skipping a constructor
243
298
  for(name in source){
@@ -271,7 +326,11 @@ define("dojo/_base/declare", ["./kernel", "../has", "./lang"], function(dojo, ha
271
326
  return this;
272
327
  }
273
328
 
274
- // chained constructor compatible with the legacy dojo.declare()
329
+ function createSubclass(mixins){
330
+ return declare([this].concat(mixins));
331
+ }
332
+
333
+ // chained constructor compatible with the legacy declare()
275
334
  function chainedConstructor(bases, ctorSpecial){
276
335
  return function(){
277
336
  var a = arguments, args = a, a0 = a[0], f, i, m,
@@ -283,7 +342,7 @@ define("dojo/_base/declare", ["./kernel", "../has", "./lang"], function(dojo, ha
283
342
  }
284
343
 
285
344
  //this._inherited = {};
286
- // perform the shaman's rituals of the original dojo.declare()
345
+ // perform the shaman's rituals of the original declare()
287
346
  // 1) call two types of the preamble
288
347
  if(ctorSpecial && (a0 && a0.preamble || this.preamble)){
289
348
  // full blown ritual
@@ -334,7 +393,7 @@ define("dojo/_base/declare", ["./kernel", "../has", "./lang"], function(dojo, ha
334
393
  }
335
394
 
336
395
 
337
- // chained constructor compatible with the legacy dojo.declare()
396
+ // chained constructor compatible with the legacy declare()
338
397
  function singleConstructor(ctor, ctorSpecial){
339
398
  return function(){
340
399
  var a = arguments, t = a, a0 = a[0], f;
@@ -345,7 +404,7 @@ define("dojo/_base/declare", ["./kernel", "../has", "./lang"], function(dojo, ha
345
404
  }
346
405
 
347
406
  //this._inherited = {};
348
- // perform the shaman's rituals of the original dojo.declare()
407
+ // perform the shaman's rituals of the original declare()
349
408
  // 1) call two types of the preamble
350
409
  if(ctorSpecial){
351
410
  // full blown ritual
@@ -390,7 +449,7 @@ define("dojo/_base/declare", ["./kernel", "../has", "./lang"], function(dojo, ha
390
449
  }
391
450
 
392
451
  //this._inherited = {};
393
- // perform the shaman's rituals of the original dojo.declare()
452
+ // perform the shaman's rituals of the original declare()
394
453
  // 1) do not call the preamble
395
454
  // 2) call the top constructor (it can use this.inherited())
396
455
  for(; f = bases[i]; ++i){ // intentional assignment
@@ -451,134 +510,23 @@ define("dojo/_base/declare", ["./kernel", "../has", "./lang"], function(dojo, ha
451
510
  }
452
511
 
453
512
  function declare(className, superclass, props){
454
- // crack parameters
455
- if(typeof className != "string"){
456
- props = superclass;
457
- superclass = className;
458
- className = "";
459
- }
460
- props = props || {};
461
-
462
- var proto, i, t, ctor, name, bases, chains, mixins = 1, parents = superclass;
463
-
464
- // build a prototype
465
- if(opts.call(superclass) == "[object Array]"){
466
- // C3 MRO
467
- bases = c3mro(superclass, className);
468
- t = bases[0];
469
- mixins = bases.length - t;
470
- superclass = bases[mixins];
471
- }else{
472
- bases = [0];
473
- if(superclass){
474
- if(opts.call(superclass) == "[object Function]"){
475
- t = superclass._meta;
476
- bases = bases.concat(t ? t.bases : superclass);
477
- }else{
478
- err("base class is not a callable constructor.", className);
479
- }
480
- }else if(superclass !== null){
481
- err("unknown base class. Did you use dojo.require to pull it in?", className);
482
- }
483
- }
484
- if(superclass){
485
- for(i = mixins - 1;; --i){
486
- proto = forceNew(superclass);
487
- if(!i){
488
- // stop if nothing to add (the last base)
489
- break;
490
- }
491
- // mix in properties
492
- t = bases[i];
493
- (t._meta ? mixOwn : mix)(proto, t.prototype);
494
- // chain in new constructor
495
- ctor = new Function;
496
- ctor.superclass = superclass;
497
- ctor.prototype = proto;
498
- superclass = proto.constructor = ctor;
499
- }
500
- }else{
501
- proto = {};
502
- }
503
- // add all properties
504
- declare.safeMixin(proto, props);
505
- // add constructor
506
- t = props.constructor;
507
- if(t !== op.constructor){
508
- t.nom = cname;
509
- proto.constructor = t;
510
- }
511
-
512
- // collect chains and flags
513
- for(i = mixins - 1; i; --i){ // intentional assignment
514
- t = bases[i]._meta;
515
- if(t && t.chains){
516
- chains = mix(chains || {}, t.chains);
517
- }
518
- }
519
- if(proto["-chains-"]){
520
- chains = mix(chains || {}, proto["-chains-"]);
521
- }
522
-
523
- // build ctor
524
- t = !chains || !chains.hasOwnProperty(cname);
525
- bases[0] = ctor = (chains && chains.constructor === "manual") ? simpleConstructor(bases) :
526
- (bases.length == 1 ? singleConstructor(props.constructor, t) : chainedConstructor(bases, t));
527
-
528
- // add meta information to the constructor
529
- ctor._meta = {bases: bases, hidden: props, chains: chains,
530
- parents: parents, ctor: props.constructor};
531
- ctor.superclass = superclass && superclass.prototype;
532
- ctor.extend = extend;
533
- ctor.prototype = proto;
534
- proto.constructor = ctor;
535
-
536
- // add "standard" methods to the prototype
537
- proto.getInherited = getInherited;
538
- proto.isInstanceOf = isInstanceOf;
539
- proto.inherited = inheritedImpl;
540
- proto.__inherited = inherited;
541
-
542
- // add name if specified
543
- if(className){
544
- proto.declaredClass = className;
545
- lang.setObject(className, ctor);
546
- }
547
-
548
- // build chains and add them to the prototype
549
- if(chains){
550
- for(name in chains){
551
- if(proto[name] && typeof chains[name] == "string" && name != cname){
552
- t = proto[name] = chain(name, bases, chains[name] === "after");
553
- t.nom = name;
554
- }
555
- }
556
- }
557
- // chained methods do not return values
558
- // no need to chain "invisible" functions
559
-
560
- return ctor; // Function
561
- }
562
-
563
- /*=====
564
- dojo.declare = function(className, superclass, props){
565
- // summary:
513
+ // summary:
566
514
  // Create a feature-rich constructor from compact notation.
567
- // className: String?:
515
+ // className: String?
568
516
  // The optional name of the constructor (loosely, a "class")
569
517
  // stored in the "declaredClass" property in the created prototype.
570
518
  // It will be used as a global name for a created constructor.
571
- // superclass: Function|Function[]:
519
+ // superclass: Function|Function[]
572
520
  // May be null, a Function, or an Array of Functions. This argument
573
521
  // specifies a list of bases (the left-most one is the most deepest
574
522
  // base).
575
- // props: Object:
523
+ // props: Object
576
524
  // An object whose properties are copied to the created prototype.
577
525
  // Add an instance-initialization function by making it a property
578
526
  // named "constructor".
579
- // returns:
527
+ // returns: dojo/_base/declare.__DeclareCreatedObject
580
528
  // New constructor function.
581
- // description:
529
+ // description:
582
530
  // Create a constructor using a compact notation for inheritance and
583
531
  // prototype extension.
584
532
  //
@@ -588,7 +536,7 @@ define("dojo/_base/declare", ["./kernel", "../has", "./lang"], function(dojo, ha
588
536
  // they have been mixed in.
589
537
  //
590
538
  // Ancestors can be compound classes created by this version of
591
- // dojo.declare. In complex cases all base classes are going to be
539
+ // declare(). In complex cases all base classes are going to be
592
540
  // linearized according to C3 MRO algorithm
593
541
  // (see http://www.python.org/download/releases/2.3/mro/ for more
594
542
  // details).
@@ -605,7 +553,7 @@ define("dojo/_base/declare", ["./kernel", "../has", "./lang"], function(dojo, ha
605
553
  // cases.
606
554
  //
607
555
  // It is possible to use constructors created "manually" (without
608
- // dojo.declare) as bases. They will be called as usual during the
556
+ // declare()) as bases. They will be called as usual during the
609
557
  // creation of an instance, their methods will be chained, and even
610
558
  // called by "this.inherited()".
611
559
  //
@@ -645,8 +593,8 @@ define("dojo/_base/declare", ["./kernel", "../has", "./lang"], function(dojo, ha
645
593
  // "before". Note that chaining assumes that chained methods do not
646
594
  // return any value: any returned value will be discarded.
647
595
  //
648
- // example:
649
- // | dojo.declare("my.classes.bar", my.classes.foo, {
596
+ // example:
597
+ // | declare("my.classes.bar", my.classes.foo, {
650
598
  // | // properties to be added to the class prototype
651
599
  // | someValue: 2,
652
600
  // | // initialization function
@@ -659,30 +607,30 @@ define("dojo/_base/declare", ["./kernel", "../has", "./lang"], function(dojo, ha
659
607
  // | }
660
608
  // | });
661
609
  //
662
- // example:
663
- // | var MyBase = dojo.declare(null, {
610
+ // example:
611
+ // | var MyBase = declare(null, {
664
612
  // | // constructor, properties, and methods go here
665
613
  // | // ...
666
614
  // | });
667
- // | var MyClass1 = dojo.declare(MyBase, {
615
+ // | var MyClass1 = declare(MyBase, {
668
616
  // | // constructor, properties, and methods go here
669
617
  // | // ...
670
618
  // | });
671
- // | var MyClass2 = dojo.declare(MyBase, {
619
+ // | var MyClass2 = declare(MyBase, {
672
620
  // | // constructor, properties, and methods go here
673
621
  // | // ...
674
622
  // | });
675
- // | var MyDiamond = dojo.declare([MyClass1, MyClass2], {
623
+ // | var MyDiamond = declare([MyClass1, MyClass2], {
676
624
  // | // constructor, properties, and methods go here
677
625
  // | // ...
678
626
  // | });
679
627
  //
680
- // example:
628
+ // example:
681
629
  // | var F = function(){ console.log("raw constructor"); };
682
630
  // | F.prototype.method = function(){
683
631
  // | console.log("raw method");
684
632
  // | };
685
- // | var A = dojo.declare(F, {
633
+ // | var A = declare(F, {
686
634
  // | constructor: function(){
687
635
  // | console.log("A.constructor");
688
636
  // | },
@@ -700,13 +648,13 @@ define("dojo/_base/declare", ["./kernel", "../has", "./lang"], function(dojo, ha
700
648
  // | // raw method
701
649
  // | // ...back in A
702
650
  //
703
- // example:
704
- // | var A = dojo.declare(null, {
651
+ // example:
652
+ // | var A = declare(null, {
705
653
  // | "-chains-": {
706
654
  // | destroy: "before"
707
655
  // | }
708
656
  // | });
709
- // | var B = dojo.declare(A, {
657
+ // | var B = declare(A, {
710
658
  // | constructor: function(){
711
659
  // | console.log("B.constructor");
712
660
  // | },
@@ -714,7 +662,7 @@ define("dojo/_base/declare", ["./kernel", "../has", "./lang"], function(dojo, ha
714
662
  // | console.log("B.destroy");
715
663
  // | }
716
664
  // | });
717
- // | var C = dojo.declare(B, {
665
+ // | var C = declare(B, {
718
666
  // | constructor: function(){
719
667
  // | console.log("C.constructor");
720
668
  // | },
@@ -729,13 +677,13 @@ define("dojo/_base/declare", ["./kernel", "../has", "./lang"], function(dojo, ha
729
677
  // | // C.destroy
730
678
  // | // B.destroy
731
679
  //
732
- // example:
733
- // | var A = dojo.declare(null, {
680
+ // example:
681
+ // | var A = declare(null, {
734
682
  // | "-chains-": {
735
683
  // | constructor: "manual"
736
684
  // | }
737
685
  // | });
738
- // | var B = dojo.declare(A, {
686
+ // | var B = declare(A, {
739
687
  // | constructor: function(){
740
688
  // | // ...
741
689
  // | // call the base constructor with new parameters
@@ -744,8 +692,8 @@ define("dojo/_base/declare", ["./kernel", "../has", "./lang"], function(dojo, ha
744
692
  // | }
745
693
  // | });
746
694
  //
747
- // example:
748
- // | var A = dojo.declare(null, {
695
+ // example:
696
+ // | var A = declare(null, {
749
697
  // | "-chains-": {
750
698
  // | m1: "before"
751
699
  // | },
@@ -756,7 +704,7 @@ define("dojo/_base/declare", ["./kernel", "../has", "./lang"], function(dojo, ha
756
704
  // | console.log("A.m2");
757
705
  // | }
758
706
  // | });
759
- // | var B = dojo.declare(A, {
707
+ // | var B = declare(A, {
760
708
  // | "-chains-": {
761
709
  // | m2: "after"
762
710
  // | },
@@ -776,273 +724,320 @@ define("dojo/_base/declare", ["./kernel", "../has", "./lang"], function(dojo, ha
776
724
  // | // prints:
777
725
  // | // A.m2
778
726
  // | // B.m2
779
- return new Function(); // Function
780
- };
781
- =====*/
782
727
 
783
- /*=====
784
- dojo.safeMixin = function(target, source){
785
- // summary:
786
- // Mix in properties skipping a constructor and decorating functions
787
- // like it is done by dojo.declare.
788
- // target: Object
789
- // Target object to accept new properties.
790
- // source: Object
791
- // Source object for new properties.
792
- // description:
793
- // This function is used to mix in properties like lang.mixin does,
794
- // but it skips a constructor property and decorates functions like
795
- // dojo.declare does.
796
- //
797
- // It is meant to be used with classes and objects produced with
798
- // dojo.declare. Functions mixed in with dojo.safeMixin can use
799
- // this.inherited() like normal methods.
800
- //
801
- // This function is used to implement extend() method of a constructor
802
- // produced with dojo.declare().
803
- //
804
- // example:
805
- // | var A = dojo.declare(null, {
806
- // | m1: function(){
807
- // | console.log("A.m1");
808
- // | },
809
- // | m2: function(){
810
- // | console.log("A.m2");
811
- // | }
812
- // | });
813
- // | var B = dojo.declare(A, {
814
- // | m1: function(){
815
- // | this.inherited(arguments);
816
- // | console.log("B.m1");
817
- // | }
818
- // | });
819
- // | B.extend({
820
- // | m2: function(){
821
- // | this.inherited(arguments);
822
- // | console.log("B.m2");
823
- // | }
824
- // | });
825
- // | var x = new B();
826
- // | dojo.safeMixin(x, {
827
- // | m1: function(){
828
- // | this.inherited(arguments);
829
- // | console.log("X.m1");
830
- // | },
831
- // | m2: function(){
832
- // | this.inherited(arguments);
833
- // | console.log("X.m2");
834
- // | }
835
- // | });
836
- // | x.m2();
837
- // | // prints:
838
- // | // A.m1
839
- // | // B.m1
840
- // | // X.m1
841
- };
842
- =====*/
728
+ // crack parameters
729
+ if(typeof className != "string"){
730
+ props = superclass;
731
+ superclass = className;
732
+ className = "";
733
+ }
734
+ props = props || {};
843
735
 
844
- /*=====
845
- Object.inherited = function(name, args, newArgs){
846
- // summary:
847
- // Calls a super method.
848
- // name: String?
849
- // The optional method name. Should be the same as the caller's
850
- // name. Usually "name" is specified in complex dynamic cases, when
851
- // the calling method was dynamically added, undecorated by
852
- // dojo.declare, and it cannot be determined.
853
- // args: Arguments
854
- // The caller supply this argument, which should be the original
855
- // "arguments".
856
- // newArgs: Object?
857
- // If "true", the found function will be returned without
858
- // executing it.
859
- // If Array, it will be used to call a super method. Otherwise
860
- // "args" will be used.
861
- // returns:
862
- // Whatever is returned by a super method, or a super method itself,
863
- // if "true" was specified as newArgs.
864
- // description:
865
- // This method is used inside method of classes produced with
866
- // dojo.declare to call a super method (next in the chain). It is
867
- // used for manually controlled chaining. Consider using the regular
868
- // chaining, because it is faster. Use "this.inherited()" only in
869
- // complex cases.
870
- //
871
- // This method cannot me called from automatically chained
872
- // constructors including the case of a special (legacy)
873
- // constructor chaining. It cannot be called from chained methods.
874
- //
875
- // If "this.inherited()" cannot find the next-in-chain method, it
876
- // does nothing and returns "undefined". The last method in chain
877
- // can be a default method implemented in Object, which will be
878
- // called last.
879
- //
880
- // If "name" is specified, it is assumed that the method that
881
- // received "args" is the parent method for this call. It is looked
882
- // up in the chain list and if it is found the next-in-chain method
883
- // is called. If it is not found, the first-in-chain method is
884
- // called.
885
- //
886
- // If "name" is not specified, it will be derived from the calling
887
- // method (using a methoid property "nom").
888
- //
889
- // example:
890
- // | var B = dojo.declare(A, {
891
- // | method1: function(a, b, c){
892
- // | this.inherited(arguments);
893
- // | },
894
- // | method2: function(a, b){
895
- // | return this.inherited(arguments, [a + b]);
896
- // | }
897
- // | });
898
- // | // next method is not in the chain list because it is added
899
- // | // manually after the class was created.
900
- // | B.prototype.method3 = function(){
901
- // | console.log("This is a dynamically-added method.");
902
- // | this.inherited("method3", arguments);
903
- // | };
904
- // example:
905
- // | var B = dojo.declare(A, {
906
- // | method: function(a, b){
907
- // | var super = this.inherited(arguments, true);
908
- // | // ...
909
- // | if(!super){
910
- // | console.log("there is no super method");
911
- // | return 0;
912
- // | }
913
- // | return super.apply(this, arguments);
914
- // | }
915
- // | });
916
- return {}; // Object
917
- }
918
- =====*/
736
+ var proto, i, t, ctor, name, bases, chains, mixins = 1, parents = superclass;
919
737
 
920
- /*=====
921
- Object.getInherited = function(name, args){
922
- // summary:
923
- // Returns a super method.
924
- // name: String?
925
- // The optional method name. Should be the same as the caller's
926
- // name. Usually "name" is specified in complex dynamic cases, when
927
- // the calling method was dynamically added, undecorated by
928
- // dojo.declare, and it cannot be determined.
929
- // args: Arguments
930
- // The caller supply this argument, which should be the original
931
- // "arguments".
932
- // returns:
933
- // Returns a super method (Function) or "undefined".
934
- // description:
935
- // This method is a convenience method for "this.inherited()".
936
- // It uses the same algorithm but instead of executing a super
937
- // method, it returns it, or "undefined" if not found.
938
- //
939
- // example:
940
- // | var B = dojo.declare(A, {
941
- // | method: function(a, b){
942
- // | var super = this.getInherited(arguments);
943
- // | // ...
944
- // | if(!super){
945
- // | console.log("there is no super method");
946
- // | return 0;
947
- // | }
948
- // | return super.apply(this, arguments);
949
- // | }
950
- // | });
951
- return {}; // Object
952
- }
953
- =====*/
738
+ // build a prototype
739
+ if(opts.call(superclass) == "[object Array]"){
740
+ // C3 MRO
741
+ bases = c3mro(superclass, className);
742
+ t = bases[0];
743
+ mixins = bases.length - t;
744
+ superclass = bases[mixins];
745
+ }else{
746
+ bases = [0];
747
+ if(superclass){
748
+ if(opts.call(superclass) == "[object Function]"){
749
+ t = superclass._meta;
750
+ bases = bases.concat(t ? t.bases : superclass);
751
+ }else{
752
+ err("base class is not a callable constructor.", className);
753
+ }
754
+ }else if(superclass !== null){
755
+ err("unknown base class. Did you use dojo.require to pull it in?", className);
756
+ }
757
+ }
758
+ if(superclass){
759
+ for(i = mixins - 1;; --i){
760
+ proto = forceNew(superclass);
761
+ if(!i){
762
+ // stop if nothing to add (the last base)
763
+ break;
764
+ }
765
+ // mix in properties
766
+ t = bases[i];
767
+ (t._meta ? mixOwn : mix)(proto, t.prototype);
768
+ // chain in new constructor
769
+ ctor = new Function;
770
+ ctor.superclass = superclass;
771
+ ctor.prototype = proto;
772
+ superclass = proto.constructor = ctor;
773
+ }
774
+ }else{
775
+ proto = {};
776
+ }
777
+ // add all properties
778
+ declare.safeMixin(proto, props);
779
+ // add constructor
780
+ t = props.constructor;
781
+ if(t !== op.constructor){
782
+ t.nom = cname;
783
+ proto.constructor = t;
784
+ }
954
785
 
955
- /*=====
956
- Object.isInstanceOf = function(cls){
957
- // summary:
958
- // Checks the inheritance chain to see if it is inherited from this
959
- // class.
960
- // cls: Function
961
- // Class constructor.
962
- // returns:
963
- // "true", if this object is inherited from this class, "false"
964
- // otherwise.
965
- // description:
966
- // This method is used with instances of classes produced with
967
- // dojo.declare to determine of they support a certain interface or
968
- // not. It models "instanceof" operator.
969
- //
970
- // example:
971
- // | var A = dojo.declare(null, {
972
- // | // constructor, properties, and methods go here
973
- // | // ...
974
- // | });
975
- // | var B = dojo.declare(null, {
976
- // | // constructor, properties, and methods go here
977
- // | // ...
978
- // | });
979
- // | var C = dojo.declare([A, B], {
980
- // | // constructor, properties, and methods go here
981
- // | // ...
982
- // | });
983
- // | var D = dojo.declare(A, {
984
- // | // constructor, properties, and methods go here
985
- // | // ...
986
- // | });
987
- // |
988
- // | var a = new A(), b = new B(), c = new C(), d = new D();
989
- // |
990
- // | console.log(a.isInstanceOf(A)); // true
991
- // | console.log(b.isInstanceOf(A)); // false
992
- // | console.log(c.isInstanceOf(A)); // true
993
- // | console.log(d.isInstanceOf(A)); // true
994
- // |
995
- // | console.log(a.isInstanceOf(B)); // false
996
- // | console.log(b.isInstanceOf(B)); // true
997
- // | console.log(c.isInstanceOf(B)); // true
998
- // | console.log(d.isInstanceOf(B)); // false
999
- // |
1000
- // | console.log(a.isInstanceOf(C)); // false
1001
- // | console.log(b.isInstanceOf(C)); // false
1002
- // | console.log(c.isInstanceOf(C)); // true
1003
- // | console.log(d.isInstanceOf(C)); // false
1004
- // |
1005
- // | console.log(a.isInstanceOf(D)); // false
1006
- // | console.log(b.isInstanceOf(D)); // false
1007
- // | console.log(c.isInstanceOf(D)); // false
1008
- // | console.log(d.isInstanceOf(D)); // true
1009
- return {}; // Object
786
+ // collect chains and flags
787
+ for(i = mixins - 1; i; --i){ // intentional assignment
788
+ t = bases[i]._meta;
789
+ if(t && t.chains){
790
+ chains = mix(chains || {}, t.chains);
791
+ }
792
+ }
793
+ if(proto["-chains-"]){
794
+ chains = mix(chains || {}, proto["-chains-"]);
795
+ }
796
+
797
+ // build ctor
798
+ t = !chains || !chains.hasOwnProperty(cname);
799
+ bases[0] = ctor = (chains && chains.constructor === "manual") ? simpleConstructor(bases) :
800
+ (bases.length == 1 ? singleConstructor(props.constructor, t) : chainedConstructor(bases, t));
801
+
802
+ // add meta information to the constructor
803
+ ctor._meta = {bases: bases, hidden: props, chains: chains,
804
+ parents: parents, ctor: props.constructor};
805
+ ctor.superclass = superclass && superclass.prototype;
806
+ ctor.extend = extend;
807
+ ctor.createSubclass = createSubclass;
808
+ ctor.prototype = proto;
809
+ proto.constructor = ctor;
810
+
811
+ // add "standard" methods to the prototype
812
+ proto.getInherited = getInherited;
813
+ proto.isInstanceOf = isInstanceOf;
814
+ proto.inherited = inheritedImpl;
815
+ proto.__inherited = inherited;
816
+
817
+ // add name if specified
818
+ if(className){
819
+ proto.declaredClass = className;
820
+ lang.setObject(className, ctor);
821
+ }
822
+
823
+ // build chains and add them to the prototype
824
+ if(chains){
825
+ for(name in chains){
826
+ if(proto[name] && typeof chains[name] == "string" && name != cname){
827
+ t = proto[name] = chain(name, bases, chains[name] === "after");
828
+ t.nom = name;
829
+ }
830
+ }
831
+ }
832
+ // chained methods do not return values
833
+ // no need to chain "invisible" functions
834
+
835
+ return ctor; // Function
1010
836
  }
1011
- =====*/
1012
837
 
1013
838
  /*=====
1014
- Object.extend = function(source){
1015
- // summary:
1016
- // Adds all properties and methods of source to constructor's
1017
- // prototype, making them available to all instances created with
1018
- // constructor. This method is specific to constructors created with
1019
- // dojo.declare.
1020
- // source: Object
1021
- // Source object which properties are going to be copied to the
1022
- // constructor's prototype.
1023
- // description:
1024
- // Adds source properties to the constructor's prototype. It can
1025
- // override existing properties.
1026
- //
1027
- // This method is similar to dojo.extend function, but it is specific
1028
- // to constructors produced by dojo.declare. It is implemented
1029
- // using dojo.safeMixin, and it skips a constructor property,
1030
- // and properly decorates copied functions.
1031
- //
1032
- // example:
1033
- // | var A = dojo.declare(null, {
1034
- // | m1: function(){},
1035
- // | s1: "Popokatepetl"
1036
- // | });
1037
- // | A.extend({
1038
- // | m1: function(){},
1039
- // | m2: function(){},
1040
- // | f1: true,
1041
- // | d1: 42
1042
- // | });
839
+ declare.__DeclareCreatedObject = {
840
+ // summary:
841
+ // dojo/_base/declare() returns a constructor `C`. `new C()` returns an Object with the following
842
+ // methods, in addition to the methods and properties specified via the arguments passed to declare().
843
+
844
+ inherited: function(name, args, newArgs){
845
+ // summary:
846
+ // Calls a super method.
847
+ // name: String?
848
+ // The optional method name. Should be the same as the caller's
849
+ // name. Usually "name" is specified in complex dynamic cases, when
850
+ // the calling method was dynamically added, undecorated by
851
+ // declare(), and it cannot be determined.
852
+ // args: Arguments
853
+ // The caller supply this argument, which should be the original
854
+ // "arguments".
855
+ // newArgs: Object?
856
+ // If "true", the found function will be returned without
857
+ // executing it.
858
+ // If Array, it will be used to call a super method. Otherwise
859
+ // "args" will be used.
860
+ // returns:
861
+ // Whatever is returned by a super method, or a super method itself,
862
+ // if "true" was specified as newArgs.
863
+ // description:
864
+ // This method is used inside method of classes produced with
865
+ // declare() to call a super method (next in the chain). It is
866
+ // used for manually controlled chaining. Consider using the regular
867
+ // chaining, because it is faster. Use "this.inherited()" only in
868
+ // complex cases.
869
+ //
870
+ // This method cannot me called from automatically chained
871
+ // constructors including the case of a special (legacy)
872
+ // constructor chaining. It cannot be called from chained methods.
873
+ //
874
+ // If "this.inherited()" cannot find the next-in-chain method, it
875
+ // does nothing and returns "undefined". The last method in chain
876
+ // can be a default method implemented in Object, which will be
877
+ // called last.
878
+ //
879
+ // If "name" is specified, it is assumed that the method that
880
+ // received "args" is the parent method for this call. It is looked
881
+ // up in the chain list and if it is found the next-in-chain method
882
+ // is called. If it is not found, the first-in-chain method is
883
+ // called.
884
+ //
885
+ // If "name" is not specified, it will be derived from the calling
886
+ // method (using a methoid property "nom").
887
+ //
888
+ // example:
889
+ // | var B = declare(A, {
890
+ // | method1: function(a, b, c){
891
+ // | this.inherited(arguments);
892
+ // | },
893
+ // | method2: function(a, b){
894
+ // | return this.inherited(arguments, [a + b]);
895
+ // | }
896
+ // | });
897
+ // | // next method is not in the chain list because it is added
898
+ // | // manually after the class was created.
899
+ // | B.prototype.method3 = function(){
900
+ // | console.log("This is a dynamically-added method.");
901
+ // | this.inherited("method3", arguments);
902
+ // | };
903
+ // example:
904
+ // | var B = declare(A, {
905
+ // | method: function(a, b){
906
+ // | var super = this.inherited(arguments, true);
907
+ // | // ...
908
+ // | if(!super){
909
+ // | console.log("there is no super method");
910
+ // | return 0;
911
+ // | }
912
+ // | return super.apply(this, arguments);
913
+ // | }
914
+ // | });
915
+ return {}; // Object
916
+ },
917
+
918
+ getInherited: function(name, args){
919
+ // summary:
920
+ // Returns a super method.
921
+ // name: String?
922
+ // The optional method name. Should be the same as the caller's
923
+ // name. Usually "name" is specified in complex dynamic cases, when
924
+ // the calling method was dynamically added, undecorated by
925
+ // declare(), and it cannot be determined.
926
+ // args: Arguments
927
+ // The caller supply this argument, which should be the original
928
+ // "arguments".
929
+ // returns:
930
+ // Returns a super method (Function) or "undefined".
931
+ // description:
932
+ // This method is a convenience method for "this.inherited()".
933
+ // It uses the same algorithm but instead of executing a super
934
+ // method, it returns it, or "undefined" if not found.
935
+ //
936
+ // example:
937
+ // | var B = declare(A, {
938
+ // | method: function(a, b){
939
+ // | var super = this.getInherited(arguments);
940
+ // | // ...
941
+ // | if(!super){
942
+ // | console.log("there is no super method");
943
+ // | return 0;
944
+ // | }
945
+ // | return super.apply(this, arguments);
946
+ // | }
947
+ // | });
948
+ return {}; // Object
949
+ },
950
+
951
+ isInstanceOf: function(cls){
952
+ // summary:
953
+ // Checks the inheritance chain to see if it is inherited from this
954
+ // class.
955
+ // cls: Function
956
+ // Class constructor.
957
+ // returns:
958
+ // "true", if this object is inherited from this class, "false"
959
+ // otherwise.
960
+ // description:
961
+ // This method is used with instances of classes produced with
962
+ // declare() to determine of they support a certain interface or
963
+ // not. It models "instanceof" operator.
964
+ //
965
+ // example:
966
+ // | var A = declare(null, {
967
+ // | // constructor, properties, and methods go here
968
+ // | // ...
969
+ // | });
970
+ // | var B = declare(null, {
971
+ // | // constructor, properties, and methods go here
972
+ // | // ...
973
+ // | });
974
+ // | var C = declare([A, B], {
975
+ // | // constructor, properties, and methods go here
976
+ // | // ...
977
+ // | });
978
+ // | var D = declare(A, {
979
+ // | // constructor, properties, and methods go here
980
+ // | // ...
981
+ // | });
982
+ // |
983
+ // | var a = new A(), b = new B(), c = new C(), d = new D();
984
+ // |
985
+ // | console.log(a.isInstanceOf(A)); // true
986
+ // | console.log(b.isInstanceOf(A)); // false
987
+ // | console.log(c.isInstanceOf(A)); // true
988
+ // | console.log(d.isInstanceOf(A)); // true
989
+ // |
990
+ // | console.log(a.isInstanceOf(B)); // false
991
+ // | console.log(b.isInstanceOf(B)); // true
992
+ // | console.log(c.isInstanceOf(B)); // true
993
+ // | console.log(d.isInstanceOf(B)); // false
994
+ // |
995
+ // | console.log(a.isInstanceOf(C)); // false
996
+ // | console.log(b.isInstanceOf(C)); // false
997
+ // | console.log(c.isInstanceOf(C)); // true
998
+ // | console.log(d.isInstanceOf(C)); // false
999
+ // |
1000
+ // | console.log(a.isInstanceOf(D)); // false
1001
+ // | console.log(b.isInstanceOf(D)); // false
1002
+ // | console.log(c.isInstanceOf(D)); // false
1003
+ // | console.log(d.isInstanceOf(D)); // true
1004
+ return {}; // Object
1005
+ },
1006
+
1007
+ extend: function(source){
1008
+ // summary:
1009
+ // Adds all properties and methods of source to constructor's
1010
+ // prototype, making them available to all instances created with
1011
+ // constructor. This method is specific to constructors created with
1012
+ // declare().
1013
+ // source: Object
1014
+ // Source object which properties are going to be copied to the
1015
+ // constructor's prototype.
1016
+ // description:
1017
+ // Adds source properties to the constructor's prototype. It can
1018
+ // override existing properties.
1019
+ //
1020
+ // This method is similar to dojo.extend function, but it is specific
1021
+ // to constructors produced by declare(). It is implemented
1022
+ // using dojo.safeMixin, and it skips a constructor property,
1023
+ // and properly decorates copied functions.
1024
+ //
1025
+ // example:
1026
+ // | var A = declare(null, {
1027
+ // | m1: function(){},
1028
+ // | s1: "Popokatepetl"
1029
+ // | });
1030
+ // | A.extend({
1031
+ // | m1: function(){},
1032
+ // | m2: function(){},
1033
+ // | f1: true,
1034
+ // | d1: 42
1035
+ // | });
1036
+ }
1043
1037
  };
1044
1038
  =====*/
1045
1039
 
1040
+ // For back-compat, remove for 2.0
1046
1041
  dojo.safeMixin = declare.safeMixin = safeMixin;
1047
1042
  dojo.declare = declare;
1048
1043