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
@@ -1,8 +1,6 @@
1
- define("dojo/_base/url", ["./kernel"], function(dojo) {
1
+ define("dojo/_base/url", ["./kernel"], function(dojo){
2
2
  // module:
3
3
  // dojo/url
4
- // summary:
5
- // This module contains dojo._Url
6
4
 
7
5
  var
8
6
  ore = new RegExp("^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$"),
@@ -5,51 +5,48 @@
5
5
  */
6
6
 
7
7
  //>>built
8
- define("dojo/_base/window",["./kernel","../has","./sniff"],function(_1,_2){
9
- _1.doc=this["document"]||null;
10
- _1.body=function(){
11
- return _1.doc.body||_1.doc.getElementsByTagName("body")[0];
12
- };
13
- _1.setContext=function(_3,_4){
14
- _1.global=_5.global=_3;
15
- _1.doc=_5.doc=_4;
16
- };
17
- _1.withGlobal=function(_6,_7,_8,_9){
18
- var _a=_1.global;
8
+ define("dojo/_base/window",["./kernel","./lang","../sniff"],function(_1,_2,_3){
9
+ var _4={global:_1.global,doc:this["document"]||null,body:function(_5){
10
+ _5=_5||_1.doc;
11
+ return _5.body||_5.getElementsByTagName("body")[0];
12
+ },setContext:function(_6,_7){
13
+ _1.global=_4.global=_6;
14
+ _1.doc=_4.doc=_7;
15
+ },withGlobal:function(_8,_9,_a,_b){
16
+ var _c=_1.global;
19
17
  try{
20
- _1.global=_5.global=_6;
21
- return _1.withDoc.call(null,_6.document,_7,_8,_9);
18
+ _1.global=_4.global=_8;
19
+ return _4.withDoc.call(null,_8.document,_9,_a,_b);
22
20
  }
23
21
  finally{
24
- _1.global=_5.global=_a;
22
+ _1.global=_4.global=_c;
25
23
  }
26
- };
27
- _1.withDoc=function(_b,_c,_d,_e){
28
- var _f=_1.doc,_10=_1.isQuirks,_11=_1.isIE,_12,_13,_14;
24
+ },withDoc:function(_d,_e,_f,_10){
25
+ var _11=_4.doc,_12=_3("quirks"),_13=_3("ie"),_14,_15,_16;
29
26
  try{
30
- _1.doc=_5.doc=_b;
31
- _1.isQuirks=_2.add("quirks",_1.doc.compatMode=="BackCompat",true,true);
32
- if(_2("ie")){
33
- if((_14=_b.parentWindow)&&_14.navigator){
34
- _12=parseFloat(_14.navigator.appVersion.split("MSIE ")[1])||undefined;
35
- _13=_b.documentMode;
36
- if(_13&&_13!=5&&Math.floor(_12)!=_13){
37
- _12=_13;
27
+ _1.doc=_4.doc=_d;
28
+ _1.isQuirks=_3.add("quirks",_1.doc.compatMode=="BackCompat",true,true);
29
+ if(_3("ie")){
30
+ if((_16=_d.parentWindow)&&_16.navigator){
31
+ _14=parseFloat(_16.navigator.appVersion.split("MSIE ")[1])||undefined;
32
+ _15=_d.documentMode;
33
+ if(_15&&_15!=5&&Math.floor(_14)!=_15){
34
+ _14=_15;
38
35
  }
39
- _1.isIE=_2.add("ie",_12,true,true);
36
+ _1.isIE=_3.add("ie",_14,true,true);
40
37
  }
41
38
  }
42
- if(_d&&typeof _c=="string"){
43
- _c=_d[_c];
39
+ if(_f&&typeof _e=="string"){
40
+ _e=_f[_e];
44
41
  }
45
- return _c.apply(_d,_e||[]);
42
+ return _e.apply(_f,_10||[]);
46
43
  }
47
44
  finally{
48
- _1.doc=_5.doc=_f;
49
- _1.isQuirks=_2.add("quirks",_10,true,true);
50
- _1.isIE=_2.add("ie",_11,true,true);
45
+ _1.doc=_4.doc=_11;
46
+ _1.isQuirks=_3.add("quirks",_12,true,true);
47
+ _1.isIE=_3.add("ie",_13,true,true);
51
48
  }
52
- };
53
- var _5={global:_1.global,doc:_1.doc,body:_1.body,setContext:_1.setContext,withGlobal:_1.withGlobal,withDoc:_1.withDoc};
54
- return _5;
49
+ }};
50
+ 1&&_2.mixin(_1,_4);
51
+ return _4;
55
52
  });
@@ -1,125 +1,133 @@
1
- define("dojo/_base/window", ["./kernel", "../has", "./sniff"], function(dojo, has){
2
- // module:
3
- // dojo/window
4
- // summary:
5
- // This module provides an API to save/set/restore the global/document scope.
1
+ define("dojo/_base/window", ["./kernel", "./lang", "../sniff"], function(dojo, lang, has){
2
+ // module:
3
+ // dojo/_base/window
6
4
 
7
- /*=====
8
- dojo.doc = {
9
- // summary:
10
- // Alias for the current document. 'dojo.doc' can be modified
11
- // for temporary context shifting. Also see dojo.withDoc().
12
- // description:
13
- // Refer to dojo.doc rather
14
- // than referring to 'window.document' to ensure your code runs
15
- // correctly in managed contexts.
16
- // example:
17
- // | n.appendChild(dojo.doc.createElement('div'));
18
- }
19
- =====*/
20
- dojo.doc = this["document"] || null;
21
-
22
- dojo.body = function(){
5
+ var ret = {
23
6
  // summary:
24
- // Return the body element of the document
25
- // return the body object associated with dojo.doc
26
- // example:
27
- // | dojo.body().appendChild(dojo.doc.createElement('div'));
28
-
29
- // Note: document.body is not defined for a strict xhtml document
30
- // Would like to memoize this, but dojo.doc can change vi dojo.withDoc().
31
- return dojo.doc.body || dojo.doc.getElementsByTagName("body")[0]; // Node
32
- };
7
+ // API to save/set/restore the global/document scope.
33
8
 
34
- dojo.setContext = function(/*Object*/globalObject, /*DocumentElement*/globalDocument){
35
- // summary:
36
- // changes the behavior of many core Dojo functions that deal with
37
- // namespace and DOM lookup, changing them to work in a new global
38
- // context (e.g., an iframe). The varibles dojo.global and dojo.doc
39
- // are modified as a result of calling this function and the result of
40
- // `dojo.body()` likewise differs.
41
- dojo.global = ret.global = globalObject;
42
- dojo.doc = ret.doc = globalDocument;
43
- };
9
+ global: dojo.global,
10
+ /*=====
11
+ global: {
12
+ // summary:
13
+ // Alias for the current window. 'global' can be modified
14
+ // for temporary context shifting. See also withGlobal().
15
+ // description:
16
+ // Use this rather than referring to 'window' to ensure your code runs
17
+ // correctly in managed contexts.
18
+ },
19
+ =====*/
44
20
 
45
- dojo.withGlobal = function( /*Object*/globalObject,
46
- /*Function*/callback,
47
- /*Object?*/thisObject,
48
- /*Array?*/cbArguments){
49
- // summary:
50
- // Invoke callback with globalObject as dojo.global and
51
- // globalObject.document as dojo.doc.
52
- // description:
53
- // Invoke callback with globalObject as dojo.global and
54
- // globalObject.document as dojo.doc. If provided, globalObject
55
- // will be executed in the context of object thisObject
56
- // When callback() returns or throws an error, the dojo.global
57
- // and dojo.doc will be restored to its previous state.
58
-
59
- var oldGlob = dojo.global;
60
- try{
21
+ doc: this["document"] || null,
22
+ /*=====
23
+ doc: {
24
+ // summary:
25
+ // Alias for the current document. 'doc' can be modified
26
+ // for temporary context shifting. See also withDoc().
27
+ // description:
28
+ // Use this rather than referring to 'window.document' to ensure your code runs
29
+ // correctly in managed contexts.
30
+ // example:
31
+ // | n.appendChild(dojo.doc.createElement('div'));
32
+ },
33
+ =====*/
34
+
35
+ body: function(/*Document?*/ doc){
36
+ // summary:
37
+ // Return the body element of the specified document or of dojo/_base/window::doc.
38
+ // example:
39
+ // | win.body().appendChild(dojo.doc.createElement('div'));
40
+
41
+ // Note: document.body is not defined for a strict xhtml document
42
+ // Would like to memoize this, but dojo.doc can change vi dojo.withDoc().
43
+ doc = doc || dojo.doc;
44
+ return doc.body || doc.getElementsByTagName("body")[0]; // Node
45
+ },
46
+
47
+ setContext: function(/*Object*/ globalObject, /*DocumentElement*/ globalDocument){
48
+ // summary:
49
+ // changes the behavior of many core Dojo functions that deal with
50
+ // namespace and DOM lookup, changing them to work in a new global
51
+ // context (e.g., an iframe). The varibles dojo.global and dojo.doc
52
+ // are modified as a result of calling this function and the result of
53
+ // `dojo.body()` likewise differs.
61
54
  dojo.global = ret.global = globalObject;
62
- return dojo.withDoc.call(null, globalObject.document, callback, thisObject, cbArguments);
63
- }finally{
64
- dojo.global = ret.global = oldGlob;
65
- }
66
- };
55
+ dojo.doc = ret.doc = globalDocument;
56
+ },
67
57
 
68
- dojo.withDoc = function( /*DocumentElement*/documentObject,
69
- /*Function*/callback,
70
- /*Object?*/thisObject,
71
- /*Array?*/cbArguments){
72
- // summary:
73
- // Invoke callback with documentObject as dojo.doc.
74
- // description:
75
- // Invoke callback with documentObject as dojo.doc. If provided,
76
- // callback will be executed in the context of object thisObject
77
- // When callback() returns or throws an error, the dojo.doc will
78
- // be restored to its previous state.
79
-
80
- var oldDoc = dojo.doc,
81
- oldQ = dojo.isQuirks,
82
- oldIE = dojo.isIE, isIE, mode, pwin;
83
-
84
- try{
85
- dojo.doc = ret.doc = documentObject;
86
- // update dojo.isQuirks and the value of the has feature "quirks"
87
- dojo.isQuirks = has.add("quirks", dojo.doc.compatMode == "BackCompat", true, true); // no need to check for QuirksMode which was Opera 7 only
88
-
89
- if(has("ie")){
90
- if((pwin = documentObject.parentWindow) && pwin.navigator){
91
- // re-run IE detection logic and update dojo.isIE / has("ie")
92
- // (the only time parentWindow/navigator wouldn't exist is if we were not
93
- // passed an actual legitimate document object)
94
- isIE = parseFloat(pwin.navigator.appVersion.split("MSIE ")[1]) || undefined;
95
- mode = documentObject.documentMode;
96
- if(mode && mode != 5 && Math.floor(isIE) != mode){
97
- isIE = mode;
58
+ withGlobal: function( /*Object*/ globalObject,
59
+ /*Function*/ callback,
60
+ /*Object?*/ thisObject,
61
+ /*Array?*/ cbArguments){
62
+ // summary:
63
+ // Invoke callback with globalObject as dojo.global and
64
+ // globalObject.document as dojo.doc.
65
+ // description:
66
+ // Invoke callback with globalObject as dojo.global and
67
+ // globalObject.document as dojo.doc. If provided, globalObject
68
+ // will be executed in the context of object thisObject
69
+ // When callback() returns or throws an error, the dojo.global
70
+ // and dojo.doc will be restored to its previous state.
71
+
72
+ var oldGlob = dojo.global;
73
+ try{
74
+ dojo.global = ret.global = globalObject;
75
+ return ret.withDoc.call(null, globalObject.document, callback, thisObject, cbArguments);
76
+ }finally{
77
+ dojo.global = ret.global = oldGlob;
78
+ }
79
+ },
80
+
81
+ withDoc: function( /*DocumentElement*/ documentObject,
82
+ /*Function*/ callback,
83
+ /*Object?*/ thisObject,
84
+ /*Array?*/ cbArguments){
85
+ // summary:
86
+ // Invoke callback with documentObject as dojo/_base/window::doc.
87
+ // description:
88
+ // Invoke callback with documentObject as dojo/_base/window::doc. If provided,
89
+ // callback will be executed in the context of object thisObject
90
+ // When callback() returns or throws an error, the dojo/_base/window::doc will
91
+ // be restored to its previous state.
92
+
93
+ var oldDoc = ret.doc,
94
+ oldQ = has("quirks"),
95
+ oldIE = has("ie"), isIE, mode, pwin;
96
+
97
+ try{
98
+ dojo.doc = ret.doc = documentObject;
99
+ // update dojo.isQuirks and the value of the has feature "quirks".
100
+ // remove setting dojo.isQuirks and dojo.isIE for 2.0
101
+ dojo.isQuirks = has.add("quirks", dojo.doc.compatMode == "BackCompat", true, true); // no need to check for QuirksMode which was Opera 7 only
102
+
103
+ if(has("ie")){
104
+ if((pwin = documentObject.parentWindow) && pwin.navigator){
105
+ // re-run IE detection logic and update dojo.isIE / has("ie")
106
+ // (the only time parentWindow/navigator wouldn't exist is if we were not
107
+ // passed an actual legitimate document object)
108
+ isIE = parseFloat(pwin.navigator.appVersion.split("MSIE ")[1]) || undefined;
109
+ mode = documentObject.documentMode;
110
+ if(mode && mode != 5 && Math.floor(isIE) != mode){
111
+ isIE = mode;
112
+ }
113
+ dojo.isIE = has.add("ie", isIE, true, true);
98
114
  }
99
- dojo.isIE = has.add("ie", isIE, true, true);
100
115
  }
101
- }
102
116
 
103
- if(thisObject && typeof callback == "string"){
104
- callback = thisObject[callback];
105
- }
117
+ if(thisObject && typeof callback == "string"){
118
+ callback = thisObject[callback];
119
+ }
106
120
 
107
- return callback.apply(thisObject, cbArguments || []);
108
- }finally{
109
- dojo.doc = ret.doc = oldDoc;
110
- dojo.isQuirks = has.add("quirks", oldQ, true, true);
111
- dojo.isIE = has.add("ie", oldIE, true, true);
121
+ return callback.apply(thisObject, cbArguments || []);
122
+ }finally{
123
+ dojo.doc = ret.doc = oldDoc;
124
+ dojo.isQuirks = has.add("quirks", oldQ, true, true);
125
+ dojo.isIE = has.add("ie", oldIE, true, true);
126
+ }
112
127
  }
113
128
  };
114
129
 
115
- var ret = {
116
- global: dojo.global,
117
- doc: dojo.doc,
118
- body: dojo.body,
119
- setContext: dojo.setContext,
120
- withGlobal: dojo.withGlobal,
121
- withDoc: dojo.withDoc
122
- };
130
+ 1 && lang.mixin(dojo, ret);
123
131
 
124
132
  return ret;
125
133
 
@@ -5,39 +5,9 @@
5
5
  */
6
6
 
7
7
  //>>built
8
- define("dojo/_base/xhr",["./kernel","./sniff","require","../io-query","../dom","../dom-form","./Deferred","./json","./lang","./array","../on"],function(_1,_2,_3,_4,_5,_6,_7,_8,_9,_a,on){
9
- _2.add("native-xhr",function(){
10
- return typeof XMLHttpRequest!=="undefined";
11
- });
12
- if(1&&_3.getXhr){
13
- _1._xhrObj=_3.getXhr;
14
- }else{
15
- if(_2("native-xhr")){
16
- _1._xhrObj=function(){
17
- try{
18
- return new XMLHttpRequest();
19
- }
20
- catch(e){
21
- throw new Error("XMLHTTP not available: "+e);
22
- }
23
- };
24
- }else{
25
- for(var _b=["Msxml2.XMLHTTP","Microsoft.XMLHTTP","Msxml2.XMLHTTP.4.0"],_c,i=0;i<3;){
26
- try{
27
- _c=_b[i++];
28
- if(new ActiveXObject(_c)){
29
- break;
30
- }
31
- }
32
- catch(e){
33
- }
34
- }
35
- _1._xhrObj=function(){
36
- return new ActiveXObject(_c);
37
- };
38
- }
39
- }
40
- var _d=_1.config;
8
+ define("dojo/_base/xhr",["./kernel","./sniff","require","../io-query","../dom","../dom-form","./Deferred","./config","./json","./lang","./array","../on","../aspect","../request/watch","../request/xhr","../request/util"],function(_1,_2,_3,_4,_5,_6,_7,_8,_9,_a,_b,on,_c,_d,_e,_f){
9
+ _1._xhrObj=_e._create;
10
+ var cfg=_1.config;
41
11
  _1.objectToQuery=_4.objectToQuery;
42
12
  _1.queryToObject=_4.queryToObject;
43
13
  _1.fieldToObject=_6.fieldToObject;
@@ -45,37 +15,37 @@ _1.formToObject=_6.toObject;
45
15
  _1.formToQuery=_6.toQuery;
46
16
  _1.formToJson=_6.toJson;
47
17
  _1._blockAsync=false;
48
- var _e=_1._contentHandlers=_1.contentHandlers={"text":function(_f){
49
- return _f.responseText;
18
+ var _10=_1._contentHandlers=_1.contentHandlers={"text":function(xhr){
19
+ return xhr.responseText;
50
20
  },"json":function(xhr){
51
- return _8.fromJson(xhr.responseText||null);
21
+ return _9.fromJson(xhr.responseText||null);
52
22
  },"json-comment-filtered":function(xhr){
53
- if(!_1.config.useCommentedJson){
23
+ if(!_8.useCommentedJson){
54
24
  console.warn("Consider using the standard mimetype:application/json."+" json-commenting can introduce security issues. To"+" decrease the chances of hijacking, use the standard the 'json' handler and"+" prefix your json with: {}&&\n"+"Use djConfig.useCommentedJson=true to turn off this message.");
55
25
  }
56
- var _10=xhr.responseText;
57
- var _11=_10.indexOf("/*");
58
- var _12=_10.lastIndexOf("*/");
59
- if(_11==-1||_12==-1){
26
+ var _11=xhr.responseText;
27
+ var _12=_11.indexOf("/*");
28
+ var _13=_11.lastIndexOf("*/");
29
+ if(_12==-1||_13==-1){
60
30
  throw new Error("JSON was not comment filtered");
61
31
  }
62
- return _8.fromJson(_10.substring(_11+2,_12));
32
+ return _9.fromJson(_11.substring(_12+2,_13));
63
33
  },"javascript":function(xhr){
64
34
  return _1.eval(xhr.responseText);
65
35
  },"xml":function(xhr){
66
- var _13=xhr.responseXML;
36
+ var _14=xhr.responseXML;
67
37
  if(_2("ie")){
68
- if((!_13||!_13.documentElement)){
38
+ if((!_14||!_14.documentElement)){
69
39
  var ms=function(n){
70
40
  return "MSXML"+n+".DOMDocument";
71
41
  };
72
42
  var dp=["Microsoft.XMLDOM",ms(6),ms(4),ms(3),ms(2)];
73
- _a.some(dp,function(p){
43
+ _b.some(dp,function(p){
74
44
  try{
75
45
  var dom=new ActiveXObject(p);
76
46
  dom.async=false;
77
47
  dom.loadXML(xhr.responseText);
78
- _13=dom;
48
+ _14=dom;
79
49
  }
80
50
  catch(e){
81
51
  return false;
@@ -84,58 +54,69 @@ return true;
84
54
  });
85
55
  }
86
56
  }
87
- return _13;
57
+ return _14;
88
58
  },"json-comment-optional":function(xhr){
89
59
  if(xhr.responseText&&/^[^{\[]*\/\*/.test(xhr.responseText)){
90
- return _e["json-comment-filtered"](xhr);
60
+ return _10["json-comment-filtered"](xhr);
91
61
  }else{
92
- return _e["json"](xhr);
62
+ return _10["json"](xhr);
93
63
  }
94
64
  }};
95
- _1._ioSetArgs=function(_14,_15,_16,_17){
96
- var _18={args:_14,url:_14.url};
97
- var _19=null;
98
- if(_14.form){
99
- var _1a=_5.byId(_14.form);
100
- var _1b=_1a.getAttributeNode("action");
101
- _18.url=_18.url||(_1b?_1b.value:null);
102
- _19=_6.toObject(_1a);
103
- }
104
- var _1c=[{}];
105
- if(_19){
106
- _1c.push(_19);
107
- }
108
- if(_14.content){
109
- _1c.push(_14.content);
110
- }
111
- if(_14.preventCache){
112
- _1c.push({"dojo.preventCache":new Date().valueOf()});
113
- }
114
- _18.query=_4.objectToQuery(_9.mixin.apply(null,_1c));
115
- _18.handleAs=_14.handleAs||"text";
116
- var d=new _7(_15);
117
- d.addCallbacks(_16,function(_1d){
118
- return _17(_1d,d);
65
+ _1._ioSetArgs=function(_15,_16,_17,_18){
66
+ var _19={args:_15,url:_15.url};
67
+ var _1a=null;
68
+ if(_15.form){
69
+ var _1b=_5.byId(_15.form);
70
+ var _1c=_1b.getAttributeNode("action");
71
+ _19.url=_19.url||(_1c?_1c.value:null);
72
+ _1a=_6.toObject(_1b);
73
+ }
74
+ var _1d=[{}];
75
+ if(_1a){
76
+ _1d.push(_1a);
77
+ }
78
+ if(_15.content){
79
+ _1d.push(_15.content);
80
+ }
81
+ if(_15.preventCache){
82
+ _1d.push({"dojo.preventCache":new Date().valueOf()});
83
+ }
84
+ _19.query=_4.objectToQuery(_a.mixin.apply(null,_1d));
85
+ _19.handleAs=_15.handleAs||"text";
86
+ var d=new _7(function(dfd){
87
+ dfd.canceled=true;
88
+ _16&&_16(dfd);
89
+ var err=dfd.ioArgs.error;
90
+ if(!err){
91
+ err=new Error("request cancelled");
92
+ err.dojoType="cancel";
93
+ dfd.ioArgs.error=err;
94
+ }
95
+ return err;
119
96
  });
120
- var ld=_14.load;
121
- if(ld&&_9.isFunction(ld)){
97
+ d.addCallback(_17);
98
+ var ld=_15.load;
99
+ if(ld&&_a.isFunction(ld)){
122
100
  d.addCallback(function(_1e){
123
- return ld.call(_14,_1e,_18);
101
+ return ld.call(_15,_1e,_19);
124
102
  });
125
103
  }
126
- var err=_14.error;
127
- if(err&&_9.isFunction(err)){
104
+ var err=_15.error;
105
+ if(err&&_a.isFunction(err)){
128
106
  d.addErrback(function(_1f){
129
- return err.call(_14,_1f,_18);
107
+ return err.call(_15,_1f,_19);
130
108
  });
131
109
  }
132
- var _20=_14.handle;
133
- if(_20&&_9.isFunction(_20)){
110
+ var _20=_15.handle;
111
+ if(_20&&_a.isFunction(_20)){
134
112
  d.addBoth(function(_21){
135
- return _20.call(_14,_21,_18);
113
+ return _20.call(_15,_21,_19);
136
114
  });
137
115
  }
138
- if(_d.ioPublish&&_1.publish&&_18.args.ioPublish!==false){
116
+ d.addErrback(function(_22){
117
+ return _18(_22,d);
118
+ });
119
+ if(cfg.ioPublish&&_1.publish&&_19.args.ioPublish!==false){
139
120
  d.addCallbacks(function(res){
140
121
  _1.publish("/dojo/io/load",[d,res]);
141
122
  return res;
@@ -148,234 +129,137 @@ _1.publish("/dojo/io/done",[d,res]);
148
129
  return res;
149
130
  });
150
131
  }
151
- d.ioArgs=_18;
132
+ d.ioArgs=_19;
152
133
  return d;
153
134
  };
154
- var _22=function(dfd){
155
- dfd.canceled=true;
156
- var xhr=dfd.ioArgs.xhr;
157
- var _23=typeof xhr.abort;
158
- if(_23=="function"||_23=="object"||_23=="unknown"){
159
- xhr.abort();
160
- }
161
- var err=dfd.ioArgs.error;
162
- if(!err){
163
- err=new Error("xhr cancelled");
164
- err.dojoType="cancel";
165
- }
166
- return err;
167
- };
168
- var _24=function(dfd){
169
- var ret=_e[dfd.ioArgs.handleAs](dfd.ioArgs.xhr);
135
+ var _23=function(dfd){
136
+ var ret=_10[dfd.ioArgs.handleAs](dfd.ioArgs.xhr);
170
137
  return ret===undefined?null:ret;
171
138
  };
172
- var _25=function(_26,dfd){
139
+ var _24=function(_25,dfd){
173
140
  if(!dfd.ioArgs.args.failOk){
174
- console.error(_26);
141
+ console.error(_25);
175
142
  }
176
- return _26;
143
+ return _25;
177
144
  };
178
- var _27=null;
179
- var _28=[];
180
- var _29=0;
181
- var _2a=function(dfd){
182
- if(_29<=0){
183
- _29=0;
184
- if(_d.ioPublish&&_1.publish&&(!dfd||dfd&&dfd.ioArgs.args.ioPublish!==false)){
145
+ var _26=function(dfd){
146
+ if(_27<=0){
147
+ _27=0;
148
+ if(cfg.ioPublish&&_1.publish&&(!dfd||dfd&&dfd.ioArgs.args.ioPublish!==false)){
185
149
  _1.publish("/dojo/io/stop");
186
150
  }
187
151
  }
188
152
  };
189
- var _2b=function(){
190
- var now=(new Date()).getTime();
191
- if(!_1._blockAsync){
192
- for(var i=0,tif;i<_28.length&&(tif=_28[i]);i++){
193
- var dfd=tif.dfd;
194
- var _2c=function(){
195
- if(!dfd||dfd.canceled||!tif.validCheck(dfd)){
196
- _28.splice(i--,1);
197
- _29-=1;
198
- }else{
199
- if(tif.ioCheck(dfd)){
200
- _28.splice(i--,1);
201
- tif.resHandle(dfd);
202
- _29-=1;
203
- }else{
204
- if(dfd.startTime){
205
- if(dfd.startTime+(dfd.ioArgs.args.timeout||0)<now){
206
- _28.splice(i--,1);
207
- var err=new Error("timeout exceeded");
208
- err.dojoType="timeout";
209
- dfd.errback(err);
210
- dfd.cancel();
211
- _29-=1;
212
- }
213
- }
214
- }
215
- }
216
- };
217
- if(_1.config.debugAtAllCosts){
218
- _2c.call(this);
219
- }else{
220
- try{
221
- _2c.call(this);
222
- }
223
- catch(e){
224
- dfd.errback(e);
225
- }
226
- }
227
- }
228
- }
229
- _2a(dfd);
230
- if(!_28.length){
231
- clearInterval(_27);
232
- _27=null;
233
- }
234
- };
235
- _1._ioCancelAll=function(){
236
- try{
237
- _a.forEach(_28,function(i){
238
- try{
239
- i.dfd.cancel();
240
- }
241
- catch(e){
242
- }
153
+ var _27=0;
154
+ _c.after(_d,"_onAction",function(){
155
+ _27-=1;
243
156
  });
244
- }
245
- catch(e){
246
- }
247
- };
248
- if(_2("ie")){
249
- on(window,"unload",_1._ioCancelAll);
250
- }
157
+ _c.after(_d,"_onInFlight",_26);
158
+ _1._ioCancelAll=_d.cancelAll;
251
159
  _1._ioNotifyStart=function(dfd){
252
- if(_d.ioPublish&&_1.publish&&dfd.ioArgs.args.ioPublish!==false){
253
- if(!_29){
160
+ if(cfg.ioPublish&&_1.publish&&dfd.ioArgs.args.ioPublish!==false){
161
+ if(!_27){
254
162
  _1.publish("/dojo/io/start");
255
163
  }
256
- _29+=1;
164
+ _27+=1;
257
165
  _1.publish("/dojo/io/send",[dfd]);
258
166
  }
259
167
  };
260
- _1._ioWatch=function(dfd,_2d,_2e,_2f){
261
- var _30=dfd.ioArgs.args;
262
- if(_30.timeout){
263
- dfd.startTime=(new Date()).getTime();
264
- }
265
- _28.push({dfd:dfd,validCheck:_2d,ioCheck:_2e,resHandle:_2f});
266
- if(!_27){
267
- _27=setInterval(_2b,50);
268
- }
269
- if(_30.sync){
270
- _2b();
271
- }
272
- };
273
- var _31="application/x-www-form-urlencoded";
274
- var _32=function(dfd){
275
- return dfd.ioArgs.xhr.readyState;
276
- };
277
- var _33=function(dfd){
278
- return 4==dfd.ioArgs.xhr.readyState;
279
- };
280
- var _34=function(dfd){
281
- var xhr=dfd.ioArgs.xhr;
282
- if(_1._isDocumentOk(xhr)){
283
- dfd.callback(dfd);
284
- }else{
285
- var err=new Error("Unable to load "+dfd.ioArgs.url+" status:"+xhr.status);
286
- err.status=xhr.status;
287
- err.responseText=xhr.responseText;
288
- err.xhr=xhr;
289
- dfd.errback(err);
290
- }
168
+ _1._ioWatch=function(dfd,_28,_29,_2a){
169
+ var _2b=dfd.ioArgs.options=dfd.ioArgs.args;
170
+ _a.mixin(dfd,{response:dfd.ioArgs,isValid:function(_2c){
171
+ return _28(dfd);
172
+ },isReady:function(_2d){
173
+ return _29(dfd);
174
+ },handleResponse:function(_2e){
175
+ return _2a(dfd);
176
+ }});
177
+ _d(dfd);
178
+ _26(dfd);
291
179
  };
292
- _1._ioAddQueryToUrl=function(_35){
293
- if(_35.query.length){
294
- _35.url+=(_35.url.indexOf("?")==-1?"?":"&")+_35.query;
295
- _35.query=null;
180
+ var _2f="application/x-www-form-urlencoded";
181
+ _1._ioAddQueryToUrl=function(_30){
182
+ if(_30.query.length){
183
+ _30.url+=(_30.url.indexOf("?")==-1?"?":"&")+_30.query;
184
+ _30.query=null;
296
185
  }
297
186
  };
298
- _1.xhr=function(_36,_37,_38){
299
- var dfd=_1._ioSetArgs(_37,_22,_24,_25);
300
- var _39=dfd.ioArgs;
301
- var xhr=_39.xhr=_1._xhrObj(_39.args);
302
- if(!xhr){
303
- dfd.cancel();
304
- return dfd;
305
- }
306
- if("postData" in _37){
307
- _39.query=_37.postData;
187
+ _1.xhr=function(_31,_32,_33){
188
+ var _34;
189
+ var dfd=_1._ioSetArgs(_32,function(dfd){
190
+ _34&&_34.cancel();
191
+ },_23,_24);
192
+ var _35=dfd.ioArgs;
193
+ if("postData" in _32){
194
+ _35.query=_32.postData;
308
195
  }else{
309
- if("putData" in _37){
310
- _39.query=_37.putData;
196
+ if("putData" in _32){
197
+ _35.query=_32.putData;
311
198
  }else{
312
- if("rawBody" in _37){
313
- _39.query=_37.rawBody;
199
+ if("rawBody" in _32){
200
+ _35.query=_32.rawBody;
314
201
  }else{
315
- if((arguments.length>2&&!_38)||"POST|PUT".indexOf(_36.toUpperCase())==-1){
316
- _1._ioAddQueryToUrl(_39);
317
- }
202
+ if((arguments.length>2&&!_33)||"POST|PUT".indexOf(_31.toUpperCase())===-1){
203
+ _1._ioAddQueryToUrl(_35);
318
204
  }
319
205
  }
320
206
  }
321
- xhr.open(_36,_39.url,_37.sync!==true,_37.user||undefined,_37.password||undefined);
322
- if(_37.headers){
323
- for(var hdr in _37.headers){
324
- if(hdr.toLowerCase()==="content-type"&&!_37.contentType){
325
- _37.contentType=_37.headers[hdr];
326
- }else{
327
- if(_37.headers[hdr]){
328
- xhr.setRequestHeader(hdr,_37.headers[hdr]);
329
207
  }
208
+ var _36={method:_31,handleAs:"text",timeout:_32.timeout,withCredentials:_32.withCredentials,ioArgs:_35};
209
+ if(typeof _32.headers!=="undefined"){
210
+ _36.headers=_32.headers;
330
211
  }
212
+ if(typeof _32.contentType!=="undefined"){
213
+ if(!_36.headers){
214
+ _36.headers={};
331
215
  }
216
+ _36.headers["Content-Type"]=_32.contentType;
332
217
  }
333
- if(_37.contentType!==false){
334
- xhr.setRequestHeader("Content-Type",_37.contentType||_31);
218
+ if(typeof _35.query!=="undefined"){
219
+ _36.data=_35.query;
335
220
  }
336
- if(!_37.headers||!("X-Requested-With" in _37.headers)){
337
- xhr.setRequestHeader("X-Requested-With","XMLHttpRequest");
221
+ if(typeof _32.sync!=="undefined"){
222
+ _36.sync=_32.sync;
338
223
  }
339
224
  _1._ioNotifyStart(dfd);
340
- if(_1.config.debugAtAllCosts){
341
- xhr.send(_39.query);
342
- }else{
343
225
  try{
344
- xhr.send(_39.query);
226
+ _34=_e(_35.url,_36,true);
345
227
  }
346
228
  catch(e){
347
- _39.error=e;
348
229
  dfd.cancel();
230
+ return dfd;
349
231
  }
350
- }
351
- _1._ioWatch(dfd,_32,_33,_34);
352
- xhr=null;
232
+ dfd.ioArgs.xhr=_34.response.xhr;
233
+ _34.then(function(){
234
+ dfd.resolve(dfd);
235
+ }).otherwise(function(_37){
236
+ _35.error=_37;
237
+ dfd.reject(_37);
238
+ });
353
239
  return dfd;
354
240
  };
355
- _1.xhrGet=function(_3a){
356
- return _1.xhr("GET",_3a);
241
+ _1.xhrGet=function(_38){
242
+ return _1.xhr("GET",_38);
357
243
  };
358
- _1.rawXhrPost=_1.xhrPost=function(_3b){
359
- return _1.xhr("POST",_3b,true);
244
+ _1.rawXhrPost=_1.xhrPost=function(_39){
245
+ return _1.xhr("POST",_39,true);
360
246
  };
361
- _1.rawXhrPut=_1.xhrPut=function(_3c){
362
- return _1.xhr("PUT",_3c,true);
247
+ _1.rawXhrPut=_1.xhrPut=function(_3a){
248
+ return _1.xhr("PUT",_3a,true);
363
249
  };
364
- _1.xhrDelete=function(_3d){
365
- return _1.xhr("DELETE",_3d);
250
+ _1.xhrDelete=function(_3b){
251
+ return _1.xhr("DELETE",_3b);
366
252
  };
367
- _1._isDocumentOk=function(_3e){
368
- var _3f=_3e.status||0;
369
- _3f=(_3f>=200&&_3f<300)||_3f==304||_3f==1223||!_3f;
370
- return _3f;
253
+ _1._isDocumentOk=function(x){
254
+ return _f.checkStatus(x.status);
371
255
  };
372
256
  _1._getText=function(url){
373
- var _40;
374
- _1.xhrGet({url:url,sync:true,load:function(_41){
375
- _40=_41;
257
+ var _3c;
258
+ _1.xhrGet({url:url,sync:true,load:function(_3d){
259
+ _3c=_3d;
376
260
  }});
377
- return _40;
261
+ return _3c;
378
262
  };
379
- _9.mixin(_1.xhr,{_xhrObj:_1._xhrObj,fieldToObject:_6.fieldToObject,formToObject:_6.toObject,objectToQuery:_4.objectToQuery,formToQuery:_6.toQuery,formToJson:_6.toJson,queryToObject:_4.queryToObject,contentHandlers:_e,_ioSetArgs:_1._ioSetArgs,_ioCancelAll:_1._ioCancelAll,_ioNotifyStart:_1._ioNotifyStart,_ioWatch:_1._ioWatch,_ioAddQueryToUrl:_1._ioAddQueryToUrl,_isDocumentOk:_1._isDocumentOk,_getText:_1._getText,get:_1.xhrGet,post:_1.xhrPost,put:_1.xhrPut,del:_1.xhrDelete});
263
+ _a.mixin(_1.xhr,{_xhrObj:_1._xhrObj,fieldToObject:_6.fieldToObject,formToObject:_6.toObject,objectToQuery:_4.objectToQuery,formToQuery:_6.toQuery,formToJson:_6.toJson,queryToObject:_4.queryToObject,contentHandlers:_10,_ioSetArgs:_1._ioSetArgs,_ioCancelAll:_1._ioCancelAll,_ioNotifyStart:_1._ioNotifyStart,_ioWatch:_1._ioWatch,_ioAddQueryToUrl:_1._ioAddQueryToUrl,_isDocumentOk:_1._isDocumentOk,_getText:_1._getText,get:_1.xhrGet,post:_1.xhrPost,put:_1.xhrPut,del:_1.xhrDelete});
380
264
  return _1.xhr;
381
265
  });