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
@@ -7,47 +7,45 @@
7
7
  //>>built
8
8
  define("dojo/io-query",["./_base/lang"],function(_1){
9
9
  var _2={};
10
- function _3(_4){
11
- var _5=encodeURIComponent,_6=[];
12
- for(var _7 in _4){
13
- var _8=_4[_7];
14
- if(_8!=_2[_7]){
15
- var _9=_5(_7)+"=";
16
- if(_1.isArray(_8)){
17
- for(var i=0,l=_8.length;i<l;++i){
18
- _6.push(_9+_5(_8[i]));
10
+ return {objectToQuery:function objectToQuery(_3){
11
+ var _4=encodeURIComponent,_5=[];
12
+ for(var _6 in _3){
13
+ var _7=_3[_6];
14
+ if(_7!=_2[_6]){
15
+ var _8=_4(_6)+"=";
16
+ if(_1.isArray(_7)){
17
+ for(var i=0,l=_7.length;i<l;++i){
18
+ _5.push(_8+_4(_7[i]));
19
19
  }
20
20
  }else{
21
- _6.push(_9+_5(_8));
21
+ _5.push(_8+_4(_7));
22
22
  }
23
23
  }
24
24
  }
25
- return _6.join("&");
26
- };
27
- function _a(_b){
28
- var _c=decodeURIComponent,qp=_b.split("&"),_d={},_e,_f;
29
- for(var i=0,l=qp.length,_10;i<l;++i){
30
- _10=qp[i];
31
- if(_10.length){
32
- var s=_10.indexOf("=");
25
+ return _5.join("&");
26
+ },queryToObject:function queryToObject(_9){
27
+ var _a=decodeURIComponent,qp=_9.split("&"),_b={},_c,_d;
28
+ for(var i=0,l=qp.length,_e;i<l;++i){
29
+ _e=qp[i];
30
+ if(_e.length){
31
+ var s=_e.indexOf("=");
33
32
  if(s<0){
34
- _e=_c(_10);
35
- _f="";
33
+ _c=_a(_e);
34
+ _d="";
36
35
  }else{
37
- _e=_c(_10.slice(0,s));
38
- _f=_c(_10.slice(s+1));
36
+ _c=_a(_e.slice(0,s));
37
+ _d=_a(_e.slice(s+1));
39
38
  }
40
- if(typeof _d[_e]=="string"){
41
- _d[_e]=[_d[_e]];
39
+ if(typeof _b[_c]=="string"){
40
+ _b[_c]=[_b[_c]];
42
41
  }
43
- if(_1.isArray(_d[_e])){
44
- _d[_e].push(_f);
42
+ if(_1.isArray(_b[_c])){
43
+ _b[_c].push(_d);
45
44
  }else{
46
- _d[_e]=_f;
45
+ _b[_c]=_d;
47
46
  }
48
47
  }
49
48
  }
50
- return _d;
51
- };
52
- return {objectToQuery:_3,queryToObject:_a};
49
+ return _b;
50
+ }};
53
51
  });
@@ -1,13 +1,16 @@
1
1
  define("dojo/io-query", ["./_base/lang"], function(lang){
2
- // module:
3
- // dojo/io-query
4
- // summary:
5
- // This module defines query string processing functions.
6
2
 
7
- var backstop = {};
3
+ // module:
4
+ // dojo/io-query
8
5
 
9
- function objectToQuery(/*Object*/ map){
10
- // summary:
6
+ var backstop = {};
7
+
8
+ return {
9
+ // summary:
10
+ // This module defines query string processing functions.
11
+
12
+ objectToQuery: function objectToQuery(/*Object*/ map){
13
+ // summary:
11
14
  // takes a name/value mapping object and returns a string representing
12
15
  // a URL-encoded version of that object.
13
16
  // example:
@@ -21,7 +24,7 @@ define("dojo/io-query", ["./_base/lang"], function(lang){
21
24
  // | ]
22
25
  // | };
23
26
  //
24
- // yields the following query string:
27
+ // yields the following query string:
25
28
  //
26
29
  // | "blah=blah&multi=thud&multi=thonk"
27
30
 
@@ -41,9 +44,9 @@ define("dojo/io-query", ["./_base/lang"], function(lang){
41
44
  }
42
45
  }
43
46
  return pairs.join("&"); // String
44
- }
47
+ },
45
48
 
46
- function queryToObject(/*String*/ str){
49
+ queryToObject: function queryToObject(/*String*/ str){
47
50
  // summary:
48
51
  // Create an object representing a de-serialized query section of a
49
52
  // URL. Query keys with multiple values are returned in an array.
@@ -90,9 +93,5 @@ define("dojo/io-query", ["./_base/lang"], function(lang){
90
93
  }
91
94
  return ret; // Object
92
95
  }
93
-
94
- return {
95
- objectToQuery: objectToQuery,
96
- queryToObject: queryToObject
97
- };
96
+ };
98
97
  });
@@ -5,226 +5,68 @@
5
5
  */
6
6
 
7
7
  //>>built
8
- define("dojo/io/iframe",["../main","require"],function(_1,_2){
9
- _1.getObject("io",true,_1);
10
- _1.io.iframe={create:function(_3,_4,_5){
11
- if(window[_3]){
12
- return window[_3];
13
- }
14
- if(window.frames[_3]){
15
- return window.frames[_3];
16
- }
17
- var _6=_5;
18
- if(!_6){
19
- if(_1.config["useXDomain"]&&!_1.config["dojoBlankHtmlUrl"]){
20
- console.warn("dojo.io.iframe.create: When using cross-domain Dojo builds,"+" please save dojo/resources/blank.html to your domain and set djConfig.dojoBlankHtmlUrl"+" to the path on your domain to blank.html");
21
- }
22
- _6=(_1.config["dojoBlankHtmlUrl"]||_2.toUrl("../resources/blank.html"));
23
- }
24
- var _7=_1.place("<iframe id=\""+_3+"\" name=\""+_3+"\" src=\""+_6+"\" onload=\""+_4+"\" style=\"position: absolute; left: 1px; top: 1px; height: 1px; width: 1px; visibility: hidden\">",_1.body());
25
- window[_3]=_7;
26
- return _7;
27
- },setSrc:function(_8,_9,_a){
28
- try{
29
- if(!_a){
30
- if(_1.isWebKit){
31
- _8.location=_9;
32
- }else{
33
- frames[_8.name].location=_9;
34
- }
35
- }else{
36
- var _b;
37
- if(_1.isIE||_1.isWebKit){
38
- _b=_8.contentWindow.document;
39
- }else{
40
- _b=_8.contentWindow;
41
- }
42
- if(!_b){
43
- _8.location=_9;
44
- }else{
45
- _b.location.replace(_9);
46
- }
47
- }
48
- }
49
- catch(e){
50
- }
51
- },doc:function(_c){
52
- return _c.contentDocument||(((_c.name)&&(_c.document)&&(_1.doc.getElementsByTagName("iframe")[_c.name].contentWindow)&&(_1.doc.getElementsByTagName("iframe")[_c.name].contentWindow.document)))||((_c.name)&&(_1.doc.frames[_c.name])&&(_1.doc.frames[_c.name].document))||null;
53
- },send:function(_d){
54
- if(!this["_frame"]){
55
- this._frame=this.create(this._iframeName,_1._scopeName+".io.iframe._iframeOnload();");
56
- }
57
- var _e=_1._ioSetArgs(_d,function(_f){
58
- _f.canceled=true;
59
- _f.ioArgs._callNext();
8
+ define("dojo/io/iframe",["../_base/config","../_base/json","../_base/kernel","../_base/lang","../_base/xhr","../sniff","../_base/window","../dom","../dom-construct","../query","require","../aspect","../request/iframe"],function(_1,_2,_3,_4,_5,_6,_7,_8,_9,_a,_b,_c,_d){
9
+ dojo.deprecated("dojo/io/iframe","Use dojo/request/iframe.","2.0");
10
+ var _e=_d._iframeName;
11
+ _e=_e.substring(0,_e.lastIndexOf("_"));
12
+ var _f=_4.delegate(_d,{create:function(){
13
+ return _f._frame=_d.create.apply(_d,arguments);
14
+ },get:null,post:null,send:function(_10){
15
+ var _11;
16
+ var dfd=_5._ioSetArgs(_10,function(dfd){
17
+ _11&&_11.cancel();
60
18
  },function(dfd){
61
- var _10=null;
19
+ var _12=null,_13=dfd.ioArgs;
62
20
  try{
63
- var _11=dfd.ioArgs;
64
- var dii=_1.io.iframe;
65
- var ifd=dii.doc(dii._frame);
66
- var _12=_11.handleAs;
67
- _10=ifd;
68
- if(_12!="html"){
69
- if(_12=="xml"){
70
- if(_1.isIE<9||(_1.isIE&&_1.isQuirks)){
71
- _1.query("a",dii._frame.contentWindow.document.documentElement).orphan();
72
- var _13=(dii._frame.contentWindow.document).documentElement.innerText;
73
- _13=_13.replace(/>\s+</g,"><");
74
- _13=_1.trim(_13);
75
- var _14={responseText:_13};
76
- _10=_1._contentHandlers["xml"](_14);
77
- }
21
+ var _14=_13.handleAs;
22
+ if(_14==="xml"||_14==="html"){
23
+ _12=_11.response.data;
78
24
  }else{
79
- _10=ifd.getElementsByTagName("textarea")[0].value;
80
- if(_12=="json"){
81
- _10=_1.fromJson(_10);
25
+ _12=_11.response.text;
26
+ if(_14==="json"){
27
+ _12=_2.fromJson(_12);
82
28
  }else{
83
- if(_12=="javascript"){
84
- _10=_1.eval(_10);
85
- }
29
+ if(_14==="javascript"){
30
+ _12=_3.eval(_12);
86
31
  }
87
32
  }
88
33
  }
89
34
  }
90
35
  catch(e){
91
- _10=e;
36
+ _12=e;
92
37
  }
93
- finally{
94
- _11._callNext();
95
- }
96
- return _10;
38
+ return _12;
97
39
  },function(_15,dfd){
98
40
  dfd.ioArgs._hasError=true;
99
- dfd.ioArgs._callNext();
100
41
  return _15;
101
42
  });
102
- _e.ioArgs._callNext=function(){
103
- if(!this["_calledNext"]){
104
- this._calledNext=true;
105
- _1.io.iframe._currentDfd=null;
106
- _1.io.iframe._fireNextRequest();
107
- }
108
- };
109
- this._dfdQueue.push(_e);
110
- this._fireNextRequest();
111
- _1._ioWatch(_e,function(dfd){
112
- return !dfd.ioArgs["_hasError"];
113
- },function(dfd){
114
- return (!!dfd.ioArgs["_finished"]);
115
- },function(dfd){
116
- if(dfd.ioArgs._finished){
117
- dfd.callback(dfd);
118
- }else{
119
- dfd.errback(new Error("Invalid dojo.io.iframe request state"));
120
- }
121
- });
122
- return _e;
123
- },_currentDfd:null,_dfdQueue:[],_iframeName:_1._scopeName+"IoIframe",_fireNextRequest:function(){
124
- try{
125
- if((this._currentDfd)||(this._dfdQueue.length==0)){
126
- return;
127
- }
128
- do{
129
- var dfd=this._currentDfd=this._dfdQueue.shift();
130
- }while(dfd&&dfd.canceled&&this._dfdQueue.length);
131
- if(!dfd||dfd.canceled){
132
- this._currentDfd=null;
133
- return;
134
- }
135
43
  var _16=dfd.ioArgs;
136
- var _17=_16.args;
137
- _16._contentToClean=[];
138
- var fn=_1.byId(_17["form"]);
139
- var _18=_17["content"]||{};
140
- if(fn){
141
- if(_18){
142
- var _19=function(_1a,_1b){
143
- _1.create("input",{type:"hidden",name:_1a,value:_1b},fn);
144
- _16._contentToClean.push(_1a);
145
- };
146
- for(var x in _18){
147
- var val=_18[x];
148
- if(_1.isArray(val)&&val.length>1){
149
- var i;
150
- for(i=0;i<val.length;i++){
151
- _19(x,val[i]);
152
- }
153
- }else{
154
- if(!fn[x]){
155
- _19(x,val);
156
- }else{
157
- fn[x].value=val;
158
- }
159
- }
160
- }
161
- }
162
- var _1c=fn.getAttributeNode("action");
163
- var _1d=fn.getAttributeNode("method");
164
- var _1e=fn.getAttributeNode("target");
165
- if(_17["url"]){
166
- _16._originalAction=_1c?_1c.value:null;
167
- if(_1c){
168
- _1c.value=_17.url;
169
- }else{
170
- fn.setAttribute("action",_17.url);
171
- }
172
- }
173
- if(!_1d||!_1d.value){
174
- if(_1d){
175
- _1d.value=(_17["method"])?_17["method"]:"post";
176
- }else{
177
- fn.setAttribute("method",(_17["method"])?_17["method"]:"post");
178
- }
179
- }
180
- _16._originalTarget=_1e?_1e.value:null;
181
- if(_1e){
182
- _1e.value=this._iframeName;
183
- }else{
184
- fn.setAttribute("target",this._iframeName);
185
- }
186
- fn.target=this._iframeName;
187
- _1._ioNotifyStart(dfd);
188
- fn.submit();
189
- }else{
190
- var _1f=_17.url+(_17.url.indexOf("?")>-1?"&":"?")+_16.query;
191
- _1._ioNotifyStart(dfd);
192
- this.setSrc(this._frame,_1f,true);
193
- }
194
- }
195
- catch(e){
196
- dfd.errback(e);
197
- }
198
- },_iframeOnload:function(){
199
- var dfd=this._currentDfd;
200
- if(!dfd){
201
- this._fireNextRequest();
202
- return;
203
- }
204
- var _20=dfd.ioArgs;
205
- var _21=_20.args;
206
- var _22=_1.byId(_21.form);
207
- if(_22){
208
- var _23=_20._contentToClean;
209
- for(var i=0;i<_23.length;i++){
210
- var key=_23[i];
211
- for(var j=0;j<_22.childNodes.length;j++){
212
- var _24=_22.childNodes[j];
213
- if(_24.name==key){
214
- _1.destroy(_24);
215
- break;
216
- }
217
- }
218
- }
219
- if(_20["_originalAction"]){
220
- _22.setAttribute("action",_20._originalAction);
221
- }
222
- if(_20["_originalTarget"]){
223
- _22.setAttribute("target",_20._originalTarget);
224
- _22.target=_20._originalTarget;
225
- }
226
- }
227
- _20._finished=true;
228
- }};
229
- return _1.io.iframe;
44
+ var _17="GET",_18=dojo.byId(_10.form);
45
+ if(_10.method&&_10.method.toUpperCase()==="POST"&&_18){
46
+ _17="POST";
47
+ }
48
+ var _19={method:_17,handleAs:_10.handleAs==="json"||_10.handleAs==="javascript"?"text":_10.handleAs,form:_10.form,query:_18?null:_10.content,data:_18?_10.content:null,timeout:_10.timeout,ioArgs:_16};
49
+ if(_19.method){
50
+ _19.method=_19.method.toUpperCase();
51
+ }
52
+ if(_1.ioPublish&&_3.publish&&_16.args.ioPublish!==false){
53
+ var _1a=_c.after(_d,"_notifyStart",function(_1b){
54
+ if(_1b.options.ioArgs===_16){
55
+ _1a.remove();
56
+ _5._ioNotifyStart(dfd);
57
+ }
58
+ },true);
59
+ }
60
+ _11=_d(_16.url,_19,true);
61
+ _16._callNext=_11._callNext;
62
+ _11.then(function(){
63
+ dfd.resolve(dfd);
64
+ }).otherwise(function(_1c){
65
+ dfd.ioArgs.error=_1c;
66
+ dfd.reject(_1c);
67
+ });
68
+ return dfd;
69
+ },_iframeOnload:_7.global[_e+"_onload"]});
70
+ _4.setObject("dojo.io.iframe",_f);
71
+ return _f;
230
72
  });
@@ -1,376 +1,190 @@
1
- define("dojo/io/iframe", ["../main", "require"], function(dojo, require) {
2
- // module:
3
- // dojo/io/iframe
4
- // summary:
5
- // TODOC
1
+ define("dojo/io/iframe", [
2
+ "../_base/config", "../_base/json", "../_base/kernel", /*===== "../_base/declare", =====*/ "../_base/lang",
3
+ "../_base/xhr", "../sniff", "../_base/window",
4
+ "../dom", "../dom-construct", "../query", "require", "../aspect", "../request/iframe"
5
+ ], function(config, json, kernel, /*===== declare, =====*/ lang, xhr, has, win, dom, domConstruct, query, require, aspect, _iframe){
6
+
7
+ // module:
8
+ // dojo/io/iframe
6
9
 
7
- dojo.getObject("io", true, dojo);
10
+ dojo.deprecated("dojo/io/iframe", "Use dojo/request/iframe.", "2.0");
8
11
 
9
12
  /*=====
10
- dojo.declare("dojo.io.iframe.__ioArgs", dojo.__IoArgs, {
11
- constructor: function(){
12
- // summary:
13
- // All the properties described in the dojo.__ioArgs type, apply
14
- // to this type. The following additional properties are allowed
15
- // for dojo.io.iframe.send():
16
- // method: String?
17
- // The HTTP method to use. "GET" or "POST" are the only supported
18
- // values. It will try to read the value from the form node's
19
- // method, then try this argument. If neither one exists, then it
20
- // defaults to POST.
21
- // handleAs: String?
22
- // Specifies what format the result data should be given to the
23
- // load/handle callback. Valid values are: text, html, xml, json,
24
- // javascript. IMPORTANT: For all values EXCEPT html and xml, The
25
- // server response should be an HTML file with a textarea element.
26
- // The response data should be inside the textarea element. Using an
27
- // HTML document the only reliable, cross-browser way this
28
- // transport can know when the response has loaded. For the html
29
- // handleAs value, just return a normal HTML document. NOTE: xml
30
- // is now supported with this transport (as of 1.1+); a known issue
31
- // is if the XML document in question is malformed, Internet Explorer
32
- // will throw an uncatchable error.
33
- // content: Object?
34
- // If "form" is one of the other args properties, then the content
35
- // object properties become hidden form form elements. For
36
- // instance, a content object of {name1 : "value1"} is converted
37
- // to a hidden form element with a name of "name1" and a value of
38
- // "value1". If there is not a "form" property, then the content
39
- // object is converted into a name=value&name=value string, by
40
- // using dojo.objectToQuery().
41
- this.method = method;
42
- this.handleAs = handleAs;
43
- this.content = content;
44
- }
13
+ var __ioArgs = declare(kernel.__IoArgs, {
14
+ // method: String?
15
+ // The HTTP method to use. "GET" or "POST" are the only supported
16
+ // values. It will try to read the value from the form node's
17
+ // method, then try this argument. If neither one exists, then it
18
+ // defaults to POST.
19
+ // handleAs: String?
20
+ // Specifies what format the result data should be given to the
21
+ // load/handle callback. Valid values are: text, html, xml, json,
22
+ // javascript. IMPORTANT: For all values EXCEPT html and xml, The
23
+ // server response should be an HTML file with a textarea element.
24
+ // The response data should be inside the textarea element. Using an
25
+ // HTML document the only reliable, cross-browser way this
26
+ // transport can know when the response has loaded. For the html
27
+ // handleAs value, just return a normal HTML document. NOTE: xml
28
+ // is now supported with this transport (as of 1.1+); a known issue
29
+ // is if the XML document in question is malformed, Internet Explorer
30
+ // will throw an uncatchable error.
31
+ // content: Object?
32
+ // If "form" is one of the other args properties, then the content
33
+ // object properties become hidden form form elements. For
34
+ // instance, a content object of {name1 : "value1"} is converted
35
+ // to a hidden form element with a name of "name1" and a value of
36
+ // "value1". If there is not a "form" property, then the content
37
+ // object is converted into a name=value&name=value string, by
38
+ // using xhr.objectToQuery().
45
39
  });
46
40
  =====*/
47
41
 
48
- dojo.io.iframe = {
42
+ /*=====
43
+ return kernel.io.iframe = {
49
44
  // summary:
45
+ // Deprecated, use dojo/request/iframe instead.
50
46
  // Sends an Ajax I/O call using and Iframe (for instance, to upload files)
51
47
 
52
- create: function(/*String*/fname, /*String*/onloadstr, /*String?*/uri){
53
- // summary:
48
+ create: function(fname, onloadstr, uri){
49
+ // summary:
54
50
  // Creates a hidden iframe in the page. Used mostly for IO
55
51
  // transports. You do not need to call this to start a
56
- // dojo.io.iframe request. Just call send().
57
- // fname: String
52
+ // dojo/io/iframe request. Just call send().
53
+ // fname: String
58
54
  // The name of the iframe. Used for the name attribute on the
59
55
  // iframe.
60
- // onloadstr: String
56
+ // onloadstr: String
61
57
  // A string of JavaScript that will be executed when the content
62
58
  // in the iframe loads.
63
- // uri: String
59
+ // uri: String
64
60
  // The value of the src attribute on the iframe element. If a
65
61
  // value is not given, then dojo/resources/blank.html will be
66
62
  // used.
67
- if(window[fname]){ return window[fname]; }
68
- if(window.frames[fname]){ return window.frames[fname]; }
69
- var turi = uri;
70
- if(!turi){
71
- if(dojo.config["useXDomain"] && !dojo.config["dojoBlankHtmlUrl"]){
72
- console.warn("dojo.io.iframe.create: When using cross-domain Dojo builds,"
73
- + " please save dojo/resources/blank.html to your domain and set djConfig.dojoBlankHtmlUrl"
74
- + " to the path on your domain to blank.html");
75
- }
76
- turi = (dojo.config["dojoBlankHtmlUrl"]||require.toUrl("../resources/blank.html"));
77
- }
78
- var cframe = dojo.place(
79
- '<iframe id="'+fname+'" name="'+fname+'" src="'+turi+'" onload="'+onloadstr+
80
- '" style="position: absolute; left: 1px; top: 1px; height: 1px; width: 1px; visibility: hidden">',
81
- dojo.body());
82
-
83
- window[fname] = cframe;
84
-
85
- return cframe;
86
63
  },
87
-
88
- setSrc: function(/*DOMNode*/iframe, /*String*/src, /*Boolean*/replace){
89
- //summary:
64
+ setSrc: function(iframe, src, replace){
65
+ // summary:
90
66
  // Sets the URL that is loaded in an IFrame. The replace parameter
91
67
  // indicates whether location.replace() should be used when
92
68
  // changing the location of the iframe.
93
- try{
94
- if(!replace){
95
- if(dojo.isWebKit){
96
- iframe.location = src;
97
- }else{
98
- frames[iframe.name].location = src;
99
- }
100
- }else{
101
- // Fun with DOM 0 incompatibilities!
102
- var idoc;
103
- if(dojo.isIE || dojo.isWebKit){
104
- idoc = iframe.contentWindow.document;
105
- }else{ // if(d.isMozilla){
106
- idoc = iframe.contentWindow;
107
- }
108
-
109
- //For Safari (at least 2.0.3) and Opera, if the iframe
110
- //has just been created but it doesn't have content
111
- //yet, then iframe.document may be null. In that case,
112
- //use iframe.location and return.
113
- if(!idoc){
114
- iframe.location = src;
115
- }else{
116
- idoc.location.replace(src);
117
- }
118
- }
119
- }catch(e){
120
- console.log("dojo.io.iframe.setSrc: ", e);
121
- }
122
69
  },
70
+ doc: function(iframeNode){
71
+ // summary:
72
+ // Returns the document object associated with the iframe DOM Node argument.
73
+ }
74
+ };
75
+ =====*/
123
76
 
124
- doc: function(/*DOMNode*/iframeNode){
125
- //summary: Returns the document object associated with the iframe DOM Node argument.
126
- return iframeNode.contentDocument || // W3
127
- (
128
- (
129
- (iframeNode.name) && (iframeNode.document) &&
130
- (dojo.doc.getElementsByTagName("iframe")[iframeNode.name].contentWindow) &&
131
- (dojo.doc.getElementsByTagName("iframe")[iframeNode.name].contentWindow.document)
132
- )
133
- ) || // IE
134
- (
135
- (iframeNode.name)&&(dojo.doc.frames[iframeNode.name])&&
136
- (dojo.doc.frames[iframeNode.name].document)
137
- ) || null;
77
+
78
+ var mid = _iframe._iframeName;
79
+ mid = mid.substring(0, mid.lastIndexOf('_'));
80
+
81
+ var iframe = lang.delegate(_iframe, {
82
+ // summary:
83
+ // Deprecated, use dojo/request/iframe instead.
84
+ // Sends an Ajax I/O call using and Iframe (for instance, to upload files)
85
+
86
+ create: function(){
87
+ return iframe._frame = _iframe.create.apply(_iframe, arguments);
138
88
  },
139
89
 
140
- send: function(/*dojo.io.iframe.__ioArgs*/args){
141
- //summary:
90
+ // cover up delegated methods
91
+ get: null,
92
+ post: null,
93
+
94
+ send: function(/*__ioArgs*/args){
95
+ // summary:
142
96
  // Function that sends the request to the server.
143
97
  // This transport can only process one send() request at a time, so if send() is called
144
- //multiple times, it will queue up the calls and only process one at a time.
145
- if(!this["_frame"]){
146
- this._frame = this.create(this._iframeName, dojo._scopeName + ".io.iframe._iframeOnload();");
147
- }
98
+ // multiple times, it will queue up the calls and only process one at a time.
99
+ var rDfd;
148
100
 
149
101
  //Set up the deferred.
150
- var dfd = dojo._ioSetArgs(
151
- args,
102
+ var dfd = xhr._ioSetArgs(args,
152
103
  function(/*Deferred*/dfd){
153
- //summary: canceller function for dojo._ioSetArgs call.
154
- dfd.canceled = true;
155
- dfd.ioArgs._callNext();
104
+ // summary:
105
+ // canceller function for xhr._ioSetArgs call.
106
+ rDfd && rDfd.cancel();
156
107
  },
157
108
  function(/*Deferred*/dfd){
158
- //summary: okHandler function for dojo._ioSetArgs call.
159
- var value = null;
109
+ // summary:
110
+ // okHandler function for xhr._ioSetArgs call.
111
+ var value = null,
112
+ ioArgs = dfd.ioArgs;
160
113
  try{
161
- var ioArgs = dfd.ioArgs;
162
- var dii = dojo.io.iframe;
163
- var ifd = dii.doc(dii._frame);
164
114
  var handleAs = ioArgs.handleAs;
165
115
 
166
116
  //Assign correct value based on handleAs value.
167
- value = ifd; //html
168
- if(handleAs != "html"){
169
- if(handleAs == "xml"){
170
- // FF, Saf 3+ and Opera all seem to be fine with ifd being xml. We have to
171
- // do it manually for IE6-8. Refs #6334.
172
- if(dojo.isIE < 9 || (dojo.isIE && dojo.isQuirks)){
173
- dojo.query("a", dii._frame.contentWindow.document.documentElement).orphan();
174
- var xmlText=(dii._frame.contentWindow.document).documentElement.innerText;
175
- xmlText=xmlText.replace(/>\s+</g, "><");
176
- xmlText=dojo.trim(xmlText);
177
- //Reusing some code in base dojo for handling XML content. Simpler and keeps
178
- //Core from duplicating the effort needed to locate the XML Parser on IE.
179
- var fauxXhr = { responseText: xmlText };
180
- value = dojo._contentHandlers["xml"](fauxXhr); // DOMDocument
181
- }
182
- }else{
183
- value = ifd.getElementsByTagName("textarea")[0].value; //text
184
- if(handleAs == "json"){
185
- value = dojo.fromJson(value); //json
186
- }else if(handleAs == "javascript"){
187
- value = dojo.eval(value); //javascript
188
- }
117
+ if(handleAs === "xml" || handleAs === "html"){
118
+ value = rDfd.response.data;
119
+ }else{
120
+ value = rDfd.response.text;
121
+ if(handleAs === "json"){
122
+ value = json.fromJson(value);
123
+ }else if(handleAs === "javascript"){
124
+ value = kernel.eval(value);
189
125
  }
190
126
  }
191
127
  }catch(e){
192
128
  value = e;
193
- }finally{
194
- ioArgs._callNext();
195
129
  }
196
130
  return value;
197
131
  },
198
132
  function(/*Error*/error, /*Deferred*/dfd){
199
- //summary: errHandler function for dojo._ioSetArgs call.
133
+ // summary:
134
+ // errHandler function for xhr._ioSetArgs call.
200
135
  dfd.ioArgs._hasError = true;
201
- dfd.ioArgs._callNext();
202
136
  return error;
203
137
  }
204
138
  );
205
139
 
206
- //Set up a function that will fire the next iframe request. Make sure it only
207
- //happens once per deferred.
208
- dfd.ioArgs._callNext = function(){
209
- if(!this["_calledNext"]){
210
- this._calledNext = true;
211
- dojo.io.iframe._currentDfd = null;
212
- dojo.io.iframe._fireNextRequest();
213
- }
214
- };
215
-
216
- this._dfdQueue.push(dfd);
217
- this._fireNextRequest();
218
-
219
- //Add it the IO watch queue, to get things like timeout support.
220
- dojo._ioWatch(
221
- dfd,
222
- function(/*Deferred*/dfd){
223
- //validCheck
224
- return !dfd.ioArgs["_hasError"];
225
- },
226
- function(dfd){
227
- //ioCheck
228
- return (!!dfd.ioArgs["_finished"]);
229
- },
230
- function(dfd){
231
- //resHandle
232
- if(dfd.ioArgs._finished){
233
- dfd.callback(dfd);
234
- }else{
235
- dfd.errback(new Error("Invalid dojo.io.iframe request state"));
236
- }
237
- }
238
- );
239
-
240
- return dfd;
241
- },
242
-
243
- _currentDfd: null,
244
- _dfdQueue: [],
245
- _iframeName: dojo._scopeName + "IoIframe",
140
+ var ioArgs = dfd.ioArgs;
246
141
 
247
- _fireNextRequest: function(){
248
- //summary: Internal method used to fire the next request in the bind queue.
249
- try{
250
- if((this._currentDfd)||(this._dfdQueue.length == 0)){ return; }
251
- //Find next deferred, skip the canceled ones.
252
- do{
253
- var dfd = this._currentDfd = this._dfdQueue.shift();
254
- } while(dfd && dfd.canceled && this._dfdQueue.length);
142
+ var method = "GET",
143
+ form = dojo.byId(args.form);
144
+ if(args.method && args.method.toUpperCase() === "POST" && form){
145
+ method = "POST";
146
+ }
255
147
 
256
- //If no more dfds, cancel.
257
- if(!dfd || dfd.canceled){
258
- this._currentDfd = null;
259
- return;
260
- }
148
+ var options = {
149
+ method: method,
150
+ handleAs: args.handleAs === "json" || args.handleAs === "javascript" ? "text" : args.handleAs,
151
+ form: args.form,
152
+ query: form ? null : args.content,
153
+ data: form ? args.content : null,
154
+ timeout: args.timeout,
155
+ ioArgs: ioArgs
156
+ };
261
157
 
262
- var ioArgs = dfd.ioArgs;
263
- var args = ioArgs.args;
158
+ if(options.method){
159
+ options.method = options.method.toUpperCase();
160
+ }
264
161
 
265
- ioArgs._contentToClean = [];
266
- var fn = dojo.byId(args["form"]);
267
- var content = args["content"] || {};
268
- if(fn){
269
- if(content){
270
- // if we have things in content, we need to add them to the form
271
- // before submission
272
- var pHandler = function(name, value) {
273
- dojo.create("input", {type: "hidden", name: name, value: value}, fn);
274
- ioArgs._contentToClean.push(name);
275
- };
276
- for(var x in content){
277
- var val = content[x];
278
- if(dojo.isArray(val) && val.length > 1){
279
- var i;
280
- for (i = 0; i < val.length; i++) {
281
- pHandler(x,val[i]);
282
- }
283
- }else{
284
- if(!fn[x]){
285
- pHandler(x,val);
286
- }else{
287
- fn[x].value = val;
288
- }
289
- }
290
- }
291
- }
292
- //IE requires going through getAttributeNode instead of just getAttribute in some form cases,
293
- //so use it for all. See #2844
294
- var actnNode = fn.getAttributeNode("action");
295
- var mthdNode = fn.getAttributeNode("method");
296
- var trgtNode = fn.getAttributeNode("target");
297
- if(args["url"]){
298
- ioArgs._originalAction = actnNode ? actnNode.value : null;
299
- if(actnNode){
300
- actnNode.value = args.url;
301
- }else{
302
- fn.setAttribute("action",args.url);
303
- }
304
- }
305
- if(!mthdNode || !mthdNode.value){
306
- if(mthdNode){
307
- mthdNode.value= (args["method"]) ? args["method"] : "post";
308
- }else{
309
- fn.setAttribute("method", (args["method"]) ? args["method"] : "post");
310
- }
311
- }
312
- ioArgs._originalTarget = trgtNode ? trgtNode.value: null;
313
- if(trgtNode){
314
- trgtNode.value = this._iframeName;
315
- }else{
316
- fn.setAttribute("target", this._iframeName);
162
+ if(config.ioPublish && kernel.publish && ioArgs.args.ioPublish !== false){
163
+ var start = aspect.after(_iframe, "_notifyStart", function(data){
164
+ if(data.options.ioArgs === ioArgs){
165
+ start.remove();
166
+ xhr._ioNotifyStart(dfd);
317
167
  }
318
- fn.target = this._iframeName;
319
- dojo._ioNotifyStart(dfd);
320
- fn.submit();
321
- }else{
322
- // otherwise we post a GET string by changing URL location for the
323
- // iframe
324
- var tmpUrl = args.url + (args.url.indexOf("?") > -1 ? "&" : "?") + ioArgs.query;
325
- dojo._ioNotifyStart(dfd);
326
- this.setSrc(this._frame, tmpUrl, true);
327
- }
328
- }catch(e){
329
- dfd.errback(e);
168
+ }, true);
330
169
  }
331
- },
170
+ rDfd = _iframe(ioArgs.url, options, true);
332
171
 
333
- _iframeOnload: function(){
334
- var dfd = this._currentDfd;
335
- if(!dfd){
336
- this._fireNextRequest();
337
- return;
338
- }
172
+ ioArgs._callNext = rDfd._callNext;
339
173
 
340
- var ioArgs = dfd.ioArgs;
341
- var args = ioArgs.args;
342
- var fNode = dojo.byId(args.form);
174
+ rDfd.then(function(){
175
+ dfd.resolve(dfd);
176
+ }).otherwise(function(error){
177
+ dfd.ioArgs.error = error;
178
+ dfd.reject(error);
179
+ });
343
180
 
344
- if(fNode){
345
- // remove all the hidden content inputs
346
- var toClean = ioArgs._contentToClean;
347
- for(var i = 0; i < toClean.length; i++) {
348
- var key = toClean[i];
349
- //Need to cycle over all nodes since we may have added
350
- //an array value which means that more than one node could
351
- //have the same .name value.
352
- for(var j = 0; j < fNode.childNodes.length; j++){
353
- var chNode = fNode.childNodes[j];
354
- if(chNode.name == key){
355
- dojo.destroy(chNode);
356
- break;
357
- }
358
- }
359
- }
181
+ return dfd;
182
+ },
360
183
 
361
- // restore original action + target
362
- if(ioArgs["_originalAction"]){
363
- fNode.setAttribute("action", ioArgs._originalAction);
364
- }
365
- if(ioArgs["_originalTarget"]){
366
- fNode.setAttribute("target", ioArgs._originalTarget);
367
- fNode.target = ioArgs._originalTarget;
368
- }
369
- }
184
+ _iframeOnload: win.global[mid + '_onload']
185
+ });
370
186
 
371
- ioArgs._finished = true;
372
- }
373
- };
187
+ lang.setObject("dojo.io.iframe", iframe);
374
188
 
375
- return dojo.io.iframe;
189
+ return iframe;
376
190
  });