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.
- data/lib/dojo/rails/version.rb +1 -1
- data/lib/dojo/version.rb +2 -2
- data/vendor/assets/javascripts/dojo.js +1 -1
- data/vendor/assets/javascripts/dojo/AdapterRegistry.js.uncompressed.js +11 -18
- data/vendor/assets/javascripts/dojo/Deferred.js +178 -0
- data/vendor/assets/javascripts/dojo/Deferred.js.uncompressed.js +314 -0
- data/vendor/assets/javascripts/dojo/DeferredList.js.uncompressed.js +4 -6
- data/vendor/assets/javascripts/dojo/Evented.js.uncompressed.js +15 -12
- data/vendor/assets/javascripts/dojo/LICENSE +1 -1
- data/vendor/assets/javascripts/dojo/NodeList-data.js.uncompressed.js +84 -73
- data/vendor/assets/javascripts/dojo/NodeList-dom.js +1 -1
- data/vendor/assets/javascripts/dojo/NodeList-dom.js.uncompressed.js +121 -66
- data/vendor/assets/javascripts/dojo/NodeList-fx.js +28 -27
- data/vendor/assets/javascripts/dojo/NodeList-fx.js.uncompressed.js +46 -47
- data/vendor/assets/javascripts/dojo/NodeList-html.js.uncompressed.js +19 -21
- data/vendor/assets/javascripts/dojo/NodeList-manipulate.js.uncompressed.js +172 -178
- data/vendor/assets/javascripts/dojo/NodeList-traverse.js.uncompressed.js +125 -130
- data/vendor/assets/javascripts/dojo/NodeList.js +10 -0
- data/vendor/assets/javascripts/dojo/NodeList.js.uncompressed.js +6 -0
- data/vendor/assets/javascripts/dojo/OpenAjax.js +13 -15
- data/vendor/assets/javascripts/dojo/Stateful.js +65 -41
- data/vendor/assets/javascripts/dojo/Stateful.js.uncompressed.js +110 -36
- data/vendor/assets/javascripts/dojo/_base/Color.js.uncompressed.js +34 -40
- data/vendor/assets/javascripts/dojo/_base/Deferred.js +84 -84
- data/vendor/assets/javascripts/dojo/_base/Deferred.js.uncompressed.js +57 -74
- data/vendor/assets/javascripts/dojo/_base/NodeList.js +2 -3
- data/vendor/assets/javascripts/dojo/_base/NodeList.js.uncompressed.js +58 -48
- data/vendor/assets/javascripts/dojo/_base/array.js +63 -67
- data/vendor/assets/javascripts/dojo/_base/array.js.uncompressed.js +259 -259
- data/vendor/assets/javascripts/dojo/_base/browser.js.uncompressed.js +10 -3
- data/vendor/assets/javascripts/dojo/_base/config.js.uncompressed.js +85 -72
- data/vendor/assets/javascripts/dojo/_base/configFirefoxExtension.js +15 -13
- data/vendor/assets/javascripts/dojo/_base/configNode.js +5 -5
- data/vendor/assets/javascripts/dojo/_base/configRhino.js +1 -1
- data/vendor/assets/javascripts/dojo/_base/configSpidermonkey.js +5 -9
- data/vendor/assets/javascripts/dojo/_base/connect.js +1 -1
- data/vendor/assets/javascripts/dojo/_base/connect.js.uncompressed.js +177 -203
- data/vendor/assets/javascripts/dojo/_base/declare.js +94 -90
- data/vendor/assets/javascripts/dojo/_base/declare.js.uncompressed.js +397 -402
- data/vendor/assets/javascripts/dojo/_base/event.js +16 -13
- data/vendor/assets/javascripts/dojo/_base/event.js.uncompressed.js +41 -33
- data/vendor/assets/javascripts/dojo/_base/fx.js +187 -183
- data/vendor/assets/javascripts/dojo/_base/fx.js.uncompressed.js +134 -130
- data/vendor/assets/javascripts/dojo/_base/html.js.uncompressed.js +14 -11
- data/vendor/assets/javascripts/dojo/_base/json.js.uncompressed.js +12 -6
- data/vendor/assets/javascripts/dojo/_base/kernel.js +35 -38
- data/vendor/assets/javascripts/dojo/_base/kernel.js.uncompressed.js +59 -62
- data/vendor/assets/javascripts/dojo/_base/lang.js +99 -98
- data/vendor/assets/javascripts/dojo/_base/lang.js.uncompressed.js +435 -537
- data/vendor/assets/javascripts/dojo/_base/loader.js +179 -154
- data/vendor/assets/javascripts/dojo/_base/loader.js.uncompressed.js +252 -194
- data/vendor/assets/javascripts/dojo/_base/query.js +2 -2
- data/vendor/assets/javascripts/dojo/_base/query.js.uncompressed.js +12 -2
- data/vendor/assets/javascripts/dojo/_base/sniff.js +6 -58
- data/vendor/assets/javascripts/dojo/_base/sniff.js.uncompressed.js +60 -151
- data/vendor/assets/javascripts/dojo/_base/unload.js +10 -9
- data/vendor/assets/javascripts/dojo/_base/unload.js.uncompressed.js +44 -43
- data/vendor/assets/javascripts/dojo/_base/url.js.uncompressed.js +1 -3
- data/vendor/assets/javascripts/dojo/_base/window.js +32 -35
- data/vendor/assets/javascripts/dojo/_base/window.js.uncompressed.js +117 -109
- data/vendor/assets/javascripts/dojo/_base/xhr.js +147 -263
- data/vendor/assets/javascripts/dojo/_base/xhr.js.uncompressed.js +253 -378
- data/vendor/assets/javascripts/dojo/_firebug/firebug.js +459 -458
- data/vendor/assets/javascripts/dojo/_firebug/firebug.js.uncompressed.js +39 -31
- data/vendor/assets/javascripts/dojo/aspect.js +71 -63
- data/vendor/assets/javascripts/dojo/aspect.js.uncompressed.js +111 -99
- data/vendor/assets/javascripts/dojo/back.js +11 -10
- data/vendor/assets/javascripts/dojo/back.js.uncompressed.js +59 -59
- data/vendor/assets/javascripts/dojo/behavior.js +49 -47
- data/vendor/assets/javascripts/dojo/behavior.js.uncompressed.js +26 -25
- data/vendor/assets/javascripts/dojo/cache.js +1 -1
- data/vendor/assets/javascripts/dojo/cache.js.uncompressed.js +2 -4
- data/vendor/assets/javascripts/dojo/cldr/monetary.js +13 -12
- data/vendor/assets/javascripts/dojo/cldr/monetary.js.uncompressed.js +15 -10
- data/vendor/assets/javascripts/dojo/cldr/nls/ar/buddhist.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/ar/buddhist.js.uncompressed.js +85 -70
- data/vendor/assets/javascripts/dojo/cldr/nls/ar/currency.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/ar/currency.js.uncompressed.js +6 -6
- data/vendor/assets/javascripts/dojo/cldr/nls/ar/gregorian.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/ar/gregorian.js.uncompressed.js +157 -141
- data/vendor/assets/javascripts/dojo/cldr/nls/ar/hebrew.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/ar/hebrew.js.uncompressed.js +62 -45
- data/vendor/assets/javascripts/dojo/cldr/nls/ar/islamic.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/ar/islamic.js.uncompressed.js +112 -80
- data/vendor/assets/javascripts/dojo/cldr/nls/ar/number.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/ar/number.js.uncompressed.js +11 -10
- data/vendor/assets/javascripts/dojo/cldr/nls/buddhist.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/buddhist.js.uncompressed.js +110 -109
- data/vendor/assets/javascripts/dojo/cldr/nls/ca/currency.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/ca/currency.js.uncompressed.js +6 -6
- data/vendor/assets/javascripts/dojo/cldr/nls/ca/gregorian.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/ca/gregorian.js.uncompressed.js +176 -161
- data/vendor/assets/javascripts/dojo/cldr/nls/ca/number.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/ca/number.js.uncompressed.js +9 -10
- data/vendor/assets/javascripts/dojo/cldr/nls/cs/buddhist.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/cs/buddhist.js.uncompressed.js +170 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/cs/currency.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/cs/currency.js.uncompressed.js +9 -9
- data/vendor/assets/javascripts/dojo/cldr/nls/cs/gregorian.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/cs/gregorian.js.uncompressed.js +166 -139
- data/vendor/assets/javascripts/dojo/cldr/nls/cs/islamic.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/cs/islamic.js.uncompressed.js +99 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/cs/number.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/cs/number.js.uncompressed.js +9 -10
- data/vendor/assets/javascripts/dojo/cldr/nls/currency.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/currency.js.uncompressed.js +5 -4
- data/vendor/assets/javascripts/dojo/cldr/nls/da/buddhist.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/da/buddhist.js.uncompressed.js +91 -89
- data/vendor/assets/javascripts/dojo/cldr/nls/da/currency.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/da/currency.js.uncompressed.js +6 -6
- data/vendor/assets/javascripts/dojo/cldr/nls/da/gregorian.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/da/gregorian.js.uncompressed.js +174 -156
- data/vendor/assets/javascripts/dojo/cldr/nls/da/islamic.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/da/islamic.js.uncompressed.js +60 -56
- data/vendor/assets/javascripts/dojo/cldr/nls/da/number.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/da/number.js.uncompressed.js +9 -10
- data/vendor/assets/javascripts/dojo/cldr/nls/de/buddhist.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/de/buddhist.js.uncompressed.js +92 -80
- data/vendor/assets/javascripts/dojo/cldr/nls/de/currency.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/de/currency.js.uncompressed.js +8 -8
- data/vendor/assets/javascripts/dojo/cldr/nls/de/gregorian.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/de/gregorian.js.uncompressed.js +176 -158
- data/vendor/assets/javascripts/dojo/cldr/nls/de/islamic.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/de/islamic.js.uncompressed.js +63 -143
- data/vendor/assets/javascripts/dojo/cldr/nls/de/number.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/de/number.js.uncompressed.js +9 -10
- data/vendor/assets/javascripts/dojo/cldr/nls/el/buddhist.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/el/buddhist.js.uncompressed.js +144 -70
- data/vendor/assets/javascripts/dojo/cldr/nls/el/currency.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/el/currency.js.uncompressed.js +6 -5
- data/vendor/assets/javascripts/dojo/cldr/nls/el/gregorian.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/el/gregorian.js.uncompressed.js +170 -153
- data/vendor/assets/javascripts/dojo/cldr/nls/el/hebrew.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/el/hebrew.js.uncompressed.js +78 -37
- data/vendor/assets/javascripts/dojo/cldr/nls/el/number.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/el/number.js.uncompressed.js +9 -9
- data/vendor/assets/javascripts/dojo/cldr/nls/en-au/gregorian.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/en-au/gregorian.js.uncompressed.js +15 -8
- data/vendor/assets/javascripts/dojo/cldr/nls/en-ca/gregorian.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/en-ca/gregorian.js.uncompressed.js +12 -10
- data/vendor/assets/javascripts/dojo/cldr/nls/en-gb/buddhist.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/en-gb/buddhist.js.uncompressed.js +69 -64
- data/vendor/assets/javascripts/dojo/cldr/nls/en-gb/gregorian.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/en-gb/gregorian.js.uncompressed.js +16 -12
- data/vendor/assets/javascripts/dojo/cldr/nls/en-gb/islamic.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/en-gb/islamic.js.uncompressed.js +40 -127
- data/vendor/assets/javascripts/dojo/cldr/nls/en/buddhist.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/en/buddhist.js.uncompressed.js +77 -72
- data/vendor/assets/javascripts/dojo/cldr/nls/en/currency.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/en/currency.js.uncompressed.js +7 -7
- data/vendor/assets/javascripts/dojo/cldr/nls/en/gregorian.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/en/gregorian.js.uncompressed.js +154 -140
- data/vendor/assets/javascripts/dojo/cldr/nls/en/islamic.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/en/islamic.js.uncompressed.js +52 -139
- data/vendor/assets/javascripts/dojo/cldr/nls/en/number.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/en/number.js.uncompressed.js +9 -11
- data/vendor/assets/javascripts/dojo/cldr/nls/es/buddhist.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/es/buddhist.js.uncompressed.js +104 -78
- data/vendor/assets/javascripts/dojo/cldr/nls/es/currency.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/es/currency.js.uncompressed.js +8 -7
- data/vendor/assets/javascripts/dojo/cldr/nls/es/gregorian.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/es/gregorian.js.uncompressed.js +177 -156
- data/vendor/assets/javascripts/dojo/cldr/nls/es/islamic.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/es/islamic.js.uncompressed.js +74 -145
- data/vendor/assets/javascripts/dojo/cldr/nls/es/number.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/es/number.js.uncompressed.js +9 -9
- data/vendor/assets/javascripts/dojo/cldr/nls/fi/buddhist.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/fi/buddhist.js.uncompressed.js +150 -102
- data/vendor/assets/javascripts/dojo/cldr/nls/fi/currency.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/fi/currency.js.uncompressed.js +7 -12
- data/vendor/assets/javascripts/dojo/cldr/nls/fi/gregorian.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/fi/gregorian.js.uncompressed.js +163 -144
- data/vendor/assets/javascripts/dojo/cldr/nls/fi/hebrew.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/fi/hebrew.js.uncompressed.js +130 -95
- data/vendor/assets/javascripts/dojo/cldr/nls/fi/islamic.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/fi/islamic.js.uncompressed.js +119 -83
- data/vendor/assets/javascripts/dojo/cldr/nls/fi/number.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/fi/number.js.uncompressed.js +9 -10
- data/vendor/assets/javascripts/dojo/cldr/nls/fr-ch/gregorian.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/fr-ch/gregorian.js.uncompressed.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/fr-ch/number.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/fr-ch/number.js.uncompressed.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/fr/buddhist.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/fr/buddhist.js.uncompressed.js +160 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/fr/currency.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/fr/currency.js.uncompressed.js +11 -12
- data/vendor/assets/javascripts/dojo/cldr/nls/fr/gregorian.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/fr/gregorian.js.uncompressed.js +171 -157
- data/vendor/assets/javascripts/dojo/cldr/nls/fr/hebrew.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/fr/hebrew.js.uncompressed.js +139 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/fr/islamic.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/fr/islamic.js.uncompressed.js +177 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/fr/number.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/fr/number.js.uncompressed.js +9 -10
- data/vendor/assets/javascripts/dojo/cldr/nls/gregorian.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/gregorian.js.uncompressed.js +127 -125
- data/vendor/assets/javascripts/dojo/cldr/nls/he/currency.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/he/currency.js.uncompressed.js +6 -6
- data/vendor/assets/javascripts/dojo/cldr/nls/he/gregorian.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/he/gregorian.js.uncompressed.js +168 -140
- data/vendor/assets/javascripts/dojo/cldr/nls/he/hebrew.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/he/hebrew.js.uncompressed.js +83 -40
- data/vendor/assets/javascripts/dojo/cldr/nls/he/islamic.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/he/islamic.js.uncompressed.js +56 -40
- data/vendor/assets/javascripts/dojo/cldr/nls/he/number.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/he/number.js.uncompressed.js +9 -10
- data/vendor/assets/javascripts/dojo/cldr/nls/hebrew.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/hebrew.js.uncompressed.js +138 -132
- data/vendor/assets/javascripts/dojo/cldr/nls/hu/buddhist.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/hu/buddhist.js.uncompressed.js +209 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/hu/currency.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/hu/currency.js.uncompressed.js +7 -7
- data/vendor/assets/javascripts/dojo/cldr/nls/hu/gregorian.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/hu/gregorian.js.uncompressed.js +161 -138
- data/vendor/assets/javascripts/dojo/cldr/nls/hu/hebrew.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/hu/hebrew.js.uncompressed.js +187 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/hu/islamic.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/hu/islamic.js.uncompressed.js +199 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/hu/number.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/hu/number.js.uncompressed.js +8 -9
- data/vendor/assets/javascripts/dojo/cldr/nls/islamic.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/islamic.js.uncompressed.js +137 -132
- data/vendor/assets/javascripts/dojo/cldr/nls/it/buddhist.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/it/buddhist.js.uncompressed.js +192 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/it/currency.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/it/currency.js.uncompressed.js +6 -6
- data/vendor/assets/javascripts/dojo/cldr/nls/it/gregorian.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/it/gregorian.js.uncompressed.js +161 -146
- data/vendor/assets/javascripts/dojo/cldr/nls/it/islamic.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/it/islamic.js.uncompressed.js +104 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/it/number.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/it/number.js.uncompressed.js +9 -3
- data/vendor/assets/javascripts/dojo/cldr/nls/ja/buddhist.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ja/buddhist.js.uncompressed.js +101 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ja/currency.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/ja/currency.js.uncompressed.js +8 -8
- data/vendor/assets/javascripts/dojo/cldr/nls/ja/gregorian.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/ja/gregorian.js.uncompressed.js +159 -139
- data/vendor/assets/javascripts/dojo/cldr/nls/ja/hebrew.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ja/hebrew.js.uncompressed.js +168 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ja/islamic.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ja/islamic.js.uncompressed.js +128 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ja/number.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/ja/number.js.uncompressed.js +5 -3
- data/vendor/assets/javascripts/dojo/cldr/nls/ko/buddhist.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ko/buddhist.js.uncompressed.js +127 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ko/currency.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/ko/currency.js.uncompressed.js +6 -6
- data/vendor/assets/javascripts/dojo/cldr/nls/ko/gregorian.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/ko/gregorian.js.uncompressed.js +153 -137
- data/vendor/assets/javascripts/dojo/cldr/nls/ko/number.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/ko/number.js.uncompressed.js +9 -10
- data/vendor/assets/javascripts/dojo/cldr/nls/nb/buddhist.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/nb/buddhist.js.uncompressed.js +206 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/nb/currency.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/nb/currency.js.uncompressed.js +6 -14
- data/vendor/assets/javascripts/dojo/cldr/nls/nb/gregorian.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/nb/gregorian.js.uncompressed.js +176 -153
- data/vendor/assets/javascripts/dojo/cldr/nls/nb/islamic.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/nb/islamic.js.uncompressed.js +133 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/nb/number.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/nb/number.js.uncompressed.js +9 -10
- data/vendor/assets/javascripts/dojo/cldr/nls/nl/buddhist.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/nl/buddhist.js.uncompressed.js +133 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/nl/currency.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/nl/currency.js.uncompressed.js +6 -6
- data/vendor/assets/javascripts/dojo/cldr/nls/nl/gregorian.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/nl/gregorian.js.uncompressed.js +180 -162
- data/vendor/assets/javascripts/dojo/cldr/nls/nl/hebrew.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/nl/hebrew.js.uncompressed.js +123 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/nl/islamic.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/nl/islamic.js.uncompressed.js +163 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/nl/number.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/nl/number.js.uncompressed.js +9 -10
- data/vendor/assets/javascripts/dojo/cldr/nls/number.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/number.js.uncompressed.js +17 -19
- data/vendor/assets/javascripts/dojo/cldr/nls/pl/buddhist.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/pl/buddhist.js.uncompressed.js +203 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/pl/currency.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/pl/currency.js.uncompressed.js +6 -6
- data/vendor/assets/javascripts/dojo/cldr/nls/pl/gregorian.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/pl/gregorian.js.uncompressed.js +169 -149
- data/vendor/assets/javascripts/dojo/cldr/nls/pl/hebrew.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/pl/hebrew.js.uncompressed.js +166 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/pl/islamic.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/pl/islamic.js.uncompressed.js +196 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/pl/number.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/pl/number.js.uncompressed.js +9 -10
- data/vendor/assets/javascripts/dojo/cldr/nls/pt-pt/buddhist.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/pt-pt/buddhist.js.uncompressed.js +127 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/pt-pt/currency.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/pt-pt/currency.js.uncompressed.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/pt-pt/gregorian.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/pt-pt/gregorian.js.uncompressed.js +78 -62
- data/vendor/assets/javascripts/dojo/cldr/nls/pt-pt/islamic.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/pt-pt/islamic.js.uncompressed.js +82 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/pt-pt/number.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/pt-pt/number.js.uncompressed.js +3 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/pt/buddhist.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/pt/buddhist.js.uncompressed.js +130 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/pt/currency.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/pt/currency.js.uncompressed.js +6 -6
- data/vendor/assets/javascripts/dojo/cldr/nls/pt/gregorian.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/pt/gregorian.js.uncompressed.js +185 -166
- data/vendor/assets/javascripts/dojo/cldr/nls/pt/hebrew.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/pt/hebrew.js.uncompressed.js +137 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/pt/islamic.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/pt/islamic.js.uncompressed.js +101 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/pt/number.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/pt/number.js.uncompressed.js +9 -10
- data/vendor/assets/javascripts/dojo/cldr/nls/ro/buddhist.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/ro/buddhist.js.uncompressed.js +148 -62
- data/vendor/assets/javascripts/dojo/cldr/nls/ro/currency.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/ro/currency.js.uncompressed.js +6 -5
- data/vendor/assets/javascripts/dojo/cldr/nls/ro/gregorian.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/ro/gregorian.js.uncompressed.js +170 -159
- data/vendor/assets/javascripts/dojo/cldr/nls/ro/hebrew.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ro/hebrew.js.uncompressed.js +169 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ro/islamic.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ro/islamic.js.uncompressed.js +117 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ro/number.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/ro/number.js.uncompressed.js +9 -10
- data/vendor/assets/javascripts/dojo/cldr/nls/ru/buddhist.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ru/buddhist.js.uncompressed.js +203 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ru/currency.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/ru/currency.js.uncompressed.js +7 -6
- data/vendor/assets/javascripts/dojo/cldr/nls/ru/gregorian.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/ru/gregorian.js.uncompressed.js +184 -155
- data/vendor/assets/javascripts/dojo/cldr/nls/ru/hebrew.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ru/hebrew.js.uncompressed.js +169 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ru/islamic.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ru/islamic.js.uncompressed.js +197 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ru/number.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/ru/number.js.uncompressed.js +10 -10
- data/vendor/assets/javascripts/dojo/cldr/nls/sk/currency.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/sk/currency.js.uncompressed.js +7 -7
- data/vendor/assets/javascripts/dojo/cldr/nls/sk/gregorian.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/sk/gregorian.js.uncompressed.js +172 -148
- data/vendor/assets/javascripts/dojo/cldr/nls/sk/number.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/sk/number.js.uncompressed.js +5 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/sl/currency.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/sl/currency.js.uncompressed.js +7 -7
- data/vendor/assets/javascripts/dojo/cldr/nls/sl/gregorian.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/sl/gregorian.js.uncompressed.js +157 -134
- data/vendor/assets/javascripts/dojo/cldr/nls/sl/number.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/sl/number.js.uncompressed.js +9 -10
- data/vendor/assets/javascripts/dojo/cldr/nls/sv/buddhist.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/sv/buddhist.js.uncompressed.js +209 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/sv/currency.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/sv/currency.js.uncompressed.js +7 -9
- data/vendor/assets/javascripts/dojo/cldr/nls/sv/gregorian.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/sv/gregorian.js.uncompressed.js +164 -152
- data/vendor/assets/javascripts/dojo/cldr/nls/sv/hebrew.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/sv/hebrew.js.uncompressed.js +167 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/sv/islamic.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/sv/islamic.js.uncompressed.js +189 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/sv/number.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/sv/number.js.uncompressed.js +9 -10
- data/vendor/assets/javascripts/dojo/cldr/nls/th/buddhist.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/th/buddhist.js.uncompressed.js +91 -65
- data/vendor/assets/javascripts/dojo/cldr/nls/th/currency.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/th/currency.js.uncompressed.js +7 -7
- data/vendor/assets/javascripts/dojo/cldr/nls/th/gregorian.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/th/gregorian.js.uncompressed.js +161 -138
- data/vendor/assets/javascripts/dojo/cldr/nls/th/hebrew.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/th/hebrew.js.uncompressed.js +139 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/th/islamic.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/th/islamic.js.uncompressed.js +134 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/th/number.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/th/number.js.uncompressed.js +9 -10
- data/vendor/assets/javascripts/dojo/cldr/nls/tr/buddhist.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/tr/buddhist.js.uncompressed.js +203 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/tr/currency.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/tr/currency.js.uncompressed.js +8 -8
- data/vendor/assets/javascripts/dojo/cldr/nls/tr/gregorian.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/tr/gregorian.js.uncompressed.js +160 -146
- data/vendor/assets/javascripts/dojo/cldr/nls/tr/hebrew.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/tr/hebrew.js.uncompressed.js +161 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/tr/islamic.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/tr/islamic.js.uncompressed.js +181 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/tr/number.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/tr/number.js.uncompressed.js +9 -10
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-hant/buddhist.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-hant/buddhist.js.uncompressed.js +141 -95
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-hant/currency.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-hant/currency.js.uncompressed.js +7 -6
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-hant/gregorian.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-hant/gregorian.js.uncompressed.js +144 -146
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-hant/hebrew.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-hant/hebrew.js.uncompressed.js +182 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-hant/islamic.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-hant/islamic.js.uncompressed.js +153 -54
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-hant/number.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-hant/number.js.uncompressed.js +2 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-hk/currency.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-hk/currency.js.uncompressed.js +6 -6
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-hk/gregorian.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-hk/gregorian.js.uncompressed.js +34 -37
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-hk/number.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-hk/number.js.uncompressed.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-tw/currency.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-tw/currency.js.uncompressed.js +5 -4
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-tw/gregorian.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-tw/gregorian.js.uncompressed.js +51 -49
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-tw/number.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-tw/number.js.uncompressed.js +7 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/zh/buddhist.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/zh/buddhist.js.uncompressed.js +205 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/zh/currency.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/zh/currency.js.uncompressed.js +6 -6
- data/vendor/assets/javascripts/dojo/cldr/nls/zh/gregorian.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/zh/gregorian.js.uncompressed.js +152 -135
- data/vendor/assets/javascripts/dojo/cldr/nls/zh/hebrew.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/zh/hebrew.js.uncompressed.js +181 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/zh/islamic.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/zh/islamic.js.uncompressed.js +137 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/zh/number.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/zh/number.js.uncompressed.js +4 -3
- data/vendor/assets/javascripts/dojo/cldr/supplemental.js +25 -28
- data/vendor/assets/javascripts/dojo/cldr/supplemental.js.uncompressed.js +46 -39
- data/vendor/assets/javascripts/dojo/colors.js +2 -1
- data/vendor/assets/javascripts/dojo/colors.js.uncompressed.js +22 -22
- data/vendor/assets/javascripts/dojo/cookie.js.uncompressed.js +30 -30
- data/vendor/assets/javascripts/dojo/currency.js +14 -13
- data/vendor/assets/javascripts/dojo/currency.js.uncompressed.js +64 -66
- data/vendor/assets/javascripts/dojo/data/ItemFileReadStore.js +138 -138
- data/vendor/assets/javascripts/dojo/data/ItemFileReadStore.js.uncompressed.js +251 -245
- data/vendor/assets/javascripts/dojo/data/ItemFileWriteStore.js +1 -1
- data/vendor/assets/javascripts/dojo/data/ItemFileWriteStore.js.uncompressed.js +80 -69
- data/vendor/assets/javascripts/dojo/data/ObjectStore.js +176 -169
- data/vendor/assets/javascripts/dojo/data/ObjectStore.js.uncompressed.js +122 -83
- data/vendor/assets/javascripts/dojo/data/api/Identity.js +6 -7
- data/vendor/assets/javascripts/dojo/data/api/Identity.js.uncompressed.js +35 -33
- data/vendor/assets/javascripts/dojo/data/api/Item.js +10 -0
- data/vendor/assets/javascripts/dojo/data/api/Item.js.uncompressed.js +13 -0
- data/vendor/assets/javascripts/dojo/data/api/Notification.js +5 -6
- data/vendor/assets/javascripts/dojo/data/api/Notification.js.uncompressed.js +39 -51
- data/vendor/assets/javascripts/dojo/data/api/Read.js +2 -3
- data/vendor/assets/javascripts/dojo/data/api/Read.js.uncompressed.js +85 -84
- data/vendor/assets/javascripts/dojo/data/api/Request.js +2 -3
- data/vendor/assets/javascripts/dojo/data/api/Request.js.uncompressed.js +10 -13
- data/vendor/assets/javascripts/dojo/data/api/Write.js +9 -10
- data/vendor/assets/javascripts/dojo/data/api/Write.js.uncompressed.js +28 -43
- data/vendor/assets/javascripts/dojo/data/util/filter.js +3 -2
- data/vendor/assets/javascripts/dojo/data/util/filter.js.uncompressed.js +19 -16
- data/vendor/assets/javascripts/dojo/data/util/simpleFetch.js +37 -40
- data/vendor/assets/javascripts/dojo/data/util/simpleFetch.js.uncompressed.js +202 -57
- data/vendor/assets/javascripts/dojo/data/util/sorter.js +3 -2
- data/vendor/assets/javascripts/dojo/data/util/sorter.js.uncompressed.js +16 -16
- data/vendor/assets/javascripts/dojo/date.js +106 -105
- data/vendor/assets/javascripts/dojo/date.js.uncompressed.js +46 -47
- data/vendor/assets/javascripts/dojo/date/locale.js +196 -183
- data/vendor/assets/javascripts/dojo/date/locale.js.uncompressed.js +105 -81
- data/vendor/assets/javascripts/dojo/date/stamp.js +10 -9
- data/vendor/assets/javascripts/dojo/date/stamp.js.uncompressed.js +40 -42
- data/vendor/assets/javascripts/dojo/dnd/AutoSource.js +2 -2
- data/vendor/assets/javascripts/dojo/dnd/AutoSource.js.uncompressed.js +3 -4
- data/vendor/assets/javascripts/dojo/dnd/Avatar.js +32 -30
- data/vendor/assets/javascripts/dojo/dnd/Avatar.js.uncompressed.js +45 -34
- data/vendor/assets/javascripts/dojo/dnd/Container.js +99 -96
- data/vendor/assets/javascripts/dojo/dnd/Container.js.uncompressed.js +123 -99
- data/vendor/assets/javascripts/dojo/dnd/Manager.js +58 -52
- data/vendor/assets/javascripts/dojo/dnd/Manager.js.uncompressed.js +52 -42
- data/vendor/assets/javascripts/dojo/dnd/Moveable.js +41 -39
- data/vendor/assets/javascripts/dojo/dnd/Moveable.js.uncompressed.js +72 -60
- data/vendor/assets/javascripts/dojo/dnd/Mover.js +19 -17
- data/vendor/assets/javascripts/dojo/dnd/Mover.js.uncompressed.js +37 -32
- data/vendor/assets/javascripts/dojo/dnd/Selector.js +52 -50
- data/vendor/assets/javascripts/dojo/dnd/Selector.js.uncompressed.js +51 -46
- data/vendor/assets/javascripts/dojo/dnd/Source.js +109 -106
- data/vendor/assets/javascripts/dojo/dnd/Source.js.uncompressed.js +60 -67
- data/vendor/assets/javascripts/dojo/dnd/Target.js +3 -3
- data/vendor/assets/javascripts/dojo/dnd/Target.js.uncompressed.js +7 -7
- data/vendor/assets/javascripts/dojo/dnd/TimedMoveable.js +19 -20
- data/vendor/assets/javascripts/dojo/dnd/TimedMoveable.js.uncompressed.js +9 -14
- data/vendor/assets/javascripts/dojo/dnd/autoscroll.js +48 -39
- data/vendor/assets/javascripts/dojo/dnd/autoscroll.js.uncompressed.js +77 -46
- data/vendor/assets/javascripts/dojo/dnd/common.js +11 -10
- data/vendor/assets/javascripts/dojo/dnd/common.js.uncompressed.js +19 -13
- data/vendor/assets/javascripts/dojo/dnd/move.js +31 -34
- data/vendor/assets/javascripts/dojo/dnd/move.js.uncompressed.js +31 -27
- data/vendor/assets/javascripts/dojo/dojo.js +12 -1869
- data/vendor/assets/javascripts/dojo/dojo.js.uncompressed.js +7168 -5874
- data/vendor/assets/javascripts/dojo/dojo.profile.js +6 -6
- data/vendor/assets/javascripts/dojo/dom-attr.js +30 -31
- data/vendor/assets/javascripts/dojo/dom-attr.js.uncompressed.js +71 -89
- data/vendor/assets/javascripts/dojo/dom-class.js.uncompressed.js +161 -155
- data/vendor/assets/javascripts/dojo/dom-construct.js +1 -1
- data/vendor/assets/javascripts/dojo/dom-construct.js.uncompressed.js +159 -202
- data/vendor/assets/javascripts/dojo/dom-form.js.uncompressed.js +60 -77
- data/vendor/assets/javascripts/dojo/dom-geometry.js +43 -45
- data/vendor/assets/javascripts/dojo/dom-geometry.js.uncompressed.js +257 -403
- data/vendor/assets/javascripts/dojo/dom-prop.js +36 -37
- data/vendor/assets/javascripts/dojo/dom-prop.js.uncompressed.js +33 -42
- data/vendor/assets/javascripts/dojo/dom-style.js +2 -2
- data/vendor/assets/javascripts/dojo/dom-style.js.uncompressed.js +127 -142
- data/vendor/assets/javascripts/dojo/dom.js +3 -1
- data/vendor/assets/javascripts/dojo/dom.js.uncompressed.js +77 -85
- data/vendor/assets/javascripts/dojo/domReady.js +2 -2
- data/vendor/assets/javascripts/dojo/domReady.js.uncompressed.js +4 -2
- data/vendor/assets/javascripts/dojo/errors/CancelError.js +10 -0
- data/vendor/assets/javascripts/dojo/errors/CancelError.js.uncompressed.js +13 -0
- data/vendor/assets/javascripts/dojo/errors/RequestError.js +12 -0
- data/vendor/assets/javascripts/dojo/errors/RequestError.js.uncompressed.js +15 -0
- data/vendor/assets/javascripts/dojo/errors/RequestTimeoutError.js +10 -0
- data/vendor/assets/javascripts/dojo/errors/RequestTimeoutError.js.uncompressed.js +15 -0
- data/vendor/assets/javascripts/dojo/errors/create.js +36 -0
- data/vendor/assets/javascripts/dojo/errors/create.js.uncompressed.js +41 -0
- data/vendor/assets/javascripts/dojo/fx.js.uncompressed.js +27 -34
- data/vendor/assets/javascripts/dojo/fx/Toggler.js.uncompressed.js +9 -11
- data/vendor/assets/javascripts/dojo/fx/easing.js.uncompressed.js +7 -15
- data/vendor/assets/javascripts/dojo/gears.js +10 -9
- data/vendor/assets/javascripts/dojo/gears.js.uncompressed.js +18 -14
- data/vendor/assets/javascripts/dojo/has.js +35 -35
- data/vendor/assets/javascripts/dojo/has.js.uncompressed.js +55 -60
- data/vendor/assets/javascripts/dojo/hash.js +74 -74
- data/vendor/assets/javascripts/dojo/hash.js.uncompressed.js +62 -49
- data/vendor/assets/javascripts/dojo/hccss.js +23 -0
- data/vendor/assets/javascripts/dojo/hccss.js.uncompressed.js +51 -0
- data/vendor/assets/javascripts/dojo/html.js +81 -64
- data/vendor/assets/javascripts/dojo/html.js.uncompressed.js +107 -76
- data/vendor/assets/javascripts/dojo/i18n.js +155 -139
- data/vendor/assets/javascripts/dojo/i18n.js.uncompressed.js +234 -198
- data/vendor/assets/javascripts/dojo/io-query.js +28 -30
- data/vendor/assets/javascripts/dojo/io-query.js.uncompressed.js +14 -15
- data/vendor/assets/javascripts/dojo/io/iframe.js +49 -207
- data/vendor/assets/javascripts/dojo/io/iframe.js.uncompressed.js +127 -313
- data/vendor/assets/javascripts/dojo/io/script.js +60 -84
- data/vendor/assets/javascripts/dojo/io/script.js.uncompressed.js +121 -128
- data/vendor/assets/javascripts/dojo/jaxer.js +2 -1
- data/vendor/assets/javascripts/dojo/jaxer.js.uncompressed.js +2 -4
- data/vendor/assets/javascripts/dojo/json.js +2 -0
- data/vendor/assets/javascripts/dojo/json.js.uncompressed.js +38 -35
- data/vendor/assets/javascripts/dojo/keys.js +2 -2
- data/vendor/assets/javascripts/dojo/keys.js.uncompressed.js +73 -76
- data/vendor/assets/javascripts/dojo/main.js +10 -10
- data/vendor/assets/javascripts/dojo/main.js.uncompressed.js +13 -11
- data/vendor/assets/javascripts/dojo/mouse.js +25 -4
- data/vendor/assets/javascripts/dojo/mouse.js.uncompressed.js +78 -34
- data/vendor/assets/javascripts/dojo/nls/az/colors.js.uncompressed.js +2 -4
- data/vendor/assets/javascripts/dojo/nls/colors.js.uncompressed.js +1 -1
- data/vendor/assets/javascripts/dojo/nls/he/colors.js.uncompressed.js +2 -5
- data/vendor/assets/javascripts/dojo/nls/hr/colors.js +1 -1
- data/vendor/assets/javascripts/dojo/nls/hr/colors.js.uncompressed.js +149 -149
- data/vendor/assets/javascripts/dojo/nls/sl/colors.js +1 -1
- data/vendor/assets/javascripts/dojo/nls/sl/colors.js.uncompressed.js +7 -7
- data/vendor/assets/javascripts/dojo/node.js +18 -0
- data/vendor/assets/javascripts/dojo/node.js.uncompressed.js +27 -0
- data/vendor/assets/javascripts/dojo/number.js +38 -37
- data/vendor/assets/javascripts/dojo/number.js.uncompressed.js +94 -122
- data/vendor/assets/javascripts/dojo/on.js +146 -116
- data/vendor/assets/javascripts/dojo/on.js.uncompressed.js +135 -92
- data/vendor/assets/javascripts/dojo/package.json +1 -1
- data/vendor/assets/javascripts/dojo/parser.js +325 -200
- data/vendor/assets/javascripts/dojo/parser.js.uncompressed.js +677 -406
- data/vendor/assets/javascripts/dojo/promise/Promise.js +37 -0
- data/vendor/assets/javascripts/dojo/promise/Promise.js.uncompressed.js +133 -0
- data/vendor/assets/javascripts/dojo/promise/all.js +60 -0
- data/vendor/assets/javascripts/dojo/promise/all.js.uncompressed.js +76 -0
- data/vendor/assets/javascripts/dojo/promise/first.js +34 -0
- data/vendor/assets/javascripts/dojo/promise/first.js.uncompressed.js +49 -0
- data/vendor/assets/javascripts/dojo/promise/instrumentation.js +86 -0
- data/vendor/assets/javascripts/dojo/promise/instrumentation.js.uncompressed.js +103 -0
- data/vendor/assets/javascripts/dojo/promise/tracer.js +37 -0
- data/vendor/assets/javascripts/dojo/promise/tracer.js.uncompressed.js +85 -0
- data/vendor/assets/javascripts/dojo/query.js +8 -8
- data/vendor/assets/javascripts/dojo/query.js.uncompressed.js +206 -214
- data/vendor/assets/javascripts/dojo/ready.js +1 -7
- data/vendor/assets/javascripts/dojo/ready.js.uncompressed.js +31 -33
- data/vendor/assets/javascripts/dojo/regexp.js +14 -13
- data/vendor/assets/javascripts/dojo/regexp.js.uncompressed.js +15 -18
- data/vendor/assets/javascripts/dojo/request.js +10 -0
- data/vendor/assets/javascripts/dojo/request.js.uncompressed.js +75 -0
- data/vendor/assets/javascripts/dojo/request/default.js +28 -0
- data/vendor/assets/javascripts/dojo/request/default.js.uncompressed.js +32 -0
- data/vendor/assets/javascripts/dojo/request/handlers.js +47 -0
- data/vendor/assets/javascripts/dojo/request/handlers.js.uncompressed.js +62 -0
- data/vendor/assets/javascripts/dojo/request/iframe.js +290 -0
- data/vendor/assets/javascripts/dojo/request/iframe.js.uncompressed.js +429 -0
- data/vendor/assets/javascripts/dojo/request/node.js +81 -0
- data/vendor/assets/javascripts/dojo/request/node.js.uncompressed.js +188 -0
- data/vendor/assets/javascripts/dojo/request/notify.js +38 -0
- data/vendor/assets/javascripts/dojo/request/notify.js.uncompressed.js +73 -0
- data/vendor/assets/javascripts/dojo/request/registry.js +68 -0
- data/vendor/assets/javascripts/dojo/request/registry.js.uncompressed.js +85 -0
- data/vendor/assets/javascripts/dojo/request/script.js +111 -0
- data/vendor/assets/javascripts/dojo/request/script.js.uncompressed.js +211 -0
- data/vendor/assets/javascripts/dojo/request/util.js +113 -0
- data/vendor/assets/javascripts/dojo/request/util.js.uncompressed.js +145 -0
- data/vendor/assets/javascripts/dojo/request/watch.js +73 -0
- data/vendor/assets/javascripts/dojo/request/watch.js.uncompressed.js +109 -0
- data/vendor/assets/javascripts/dojo/request/xhr.js +184 -0
- data/vendor/assets/javascripts/dojo/request/xhr.js.uncompressed.js +317 -0
- data/vendor/assets/javascripts/dojo/resources/dnd.css +3 -3
- data/vendor/assets/javascripts/dojo/router.js +10 -0
- data/vendor/assets/javascripts/dojo/router.js.uncompressed.js +28 -0
- data/vendor/assets/javascripts/dojo/router/RouterBase.js +160 -0
- data/vendor/assets/javascripts/dojo/router/RouterBase.js.uncompressed.js +350 -0
- data/vendor/assets/javascripts/dojo/rpc/JsonService.js +20 -21
- data/vendor/assets/javascripts/dojo/rpc/JsonService.js.uncompressed.js +29 -27
- data/vendor/assets/javascripts/dojo/rpc/JsonpService.js +14 -15
- data/vendor/assets/javascripts/dojo/rpc/JsonpService.js.uncompressed.js +28 -29
- data/vendor/assets/javascripts/dojo/rpc/RpcService.js +50 -51
- data/vendor/assets/javascripts/dojo/rpc/RpcService.js.uncompressed.js +39 -36
- data/vendor/assets/javascripts/dojo/selector/_loader.js.uncompressed.js +4 -2
- data/vendor/assets/javascripts/dojo/selector/acme.js +442 -408
- data/vendor/assets/javascripts/dojo/selector/acme.js.uncompressed.js +160 -147
- data/vendor/assets/javascripts/dojo/selector/lite.js +136 -127
- data/vendor/assets/javascripts/dojo/selector/lite.js.uncompressed.js +62 -43
- data/vendor/assets/javascripts/dojo/sniff.js +41 -0
- data/vendor/assets/javascripts/dojo/sniff.js.uncompressed.js +70 -0
- data/vendor/assets/javascripts/dojo/store/Cache.js +7 -6
- data/vendor/assets/javascripts/dojo/store/Cache.js.uncompressed.js +48 -51
- data/vendor/assets/javascripts/dojo/store/DataStore.js +88 -65
- data/vendor/assets/javascripts/dojo/store/DataStore.js.uncompressed.js +48 -16
- data/vendor/assets/javascripts/dojo/store/JsonRest.js +44 -40
- data/vendor/assets/javascripts/dojo/store/JsonRest.js.uncompressed.js +74 -40
- data/vendor/assets/javascripts/dojo/store/Memory.js +30 -29
- data/vendor/assets/javascripts/dojo/store/Memory.js.uncompressed.js +40 -37
- data/vendor/assets/javascripts/dojo/store/Observable.js +90 -79
- data/vendor/assets/javascripts/dojo/store/Observable.js.uncompressed.js +35 -23
- data/vendor/assets/javascripts/dojo/store/README +5 -9
- data/vendor/assets/javascripts/dojo/store/api/Store.js +12 -24
- data/vendor/assets/javascripts/dojo/store/api/Store.js.uncompressed.js +31 -41
- data/vendor/assets/javascripts/dojo/store/util/QueryResults.js +4 -4
- data/vendor/assets/javascripts/dojo/store/util/QueryResults.js.uncompressed.js +13 -14
- data/vendor/assets/javascripts/dojo/store/util/SimpleQueryEngine.js +11 -10
- data/vendor/assets/javascripts/dojo/store/util/SimpleQueryEngine.js.uncompressed.js +18 -16
- data/vendor/assets/javascripts/dojo/string.js +23 -22
- data/vendor/assets/javascripts/dojo/string.js.uncompressed.js +38 -38
- data/vendor/assets/javascripts/dojo/text.js +50 -50
- data/vendor/assets/javascripts/dojo/text.js.uncompressed.js +129 -127
- data/vendor/assets/javascripts/dojo/topic.js.uncompressed.js +17 -12
- data/vendor/assets/javascripts/dojo/touch.js +35 -7
- data/vendor/assets/javascripts/dojo/touch.js.uncompressed.js +146 -34
- data/vendor/assets/javascripts/dojo/uacss.js +1 -1
- data/vendor/assets/javascripts/dojo/uacss.js.uncompressed.js +19 -10
- data/vendor/assets/javascripts/dojo/when.js +31 -0
- data/vendor/assets/javascripts/dojo/when.js.uncompressed.js +55 -0
- data/vendor/assets/javascripts/dojo/window.js +26 -27
- data/vendor/assets/javascripts/dojo/window.js.uncompressed.js +160 -161
- metadata +152 -6
- data/Gemfile +0 -4
- data/LICENSE +0 -22
- data/Rakefile +0 -3
- data/vendor/assets/javascripts/dojo/resources/_modules.js +0 -36
@@ -1,47 +1,32 @@
|
|
1
1
|
define("dojo/_base/xhr", [
|
2
|
-
"./kernel",
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
2
|
+
"./kernel",
|
3
|
+
"./sniff",
|
4
|
+
"require",
|
5
|
+
"../io-query",
|
6
|
+
/*===== "./declare", =====*/
|
7
|
+
"../dom",
|
8
|
+
"../dom-form",
|
9
|
+
"./Deferred",
|
10
|
+
"./config",
|
11
|
+
"./json",
|
12
|
+
"./lang",
|
13
|
+
"./array",
|
14
|
+
"../on",
|
15
|
+
"../aspect",
|
16
|
+
"../request/watch",
|
17
|
+
"../request/xhr",
|
18
|
+
"../request/util"
|
19
|
+
], function(dojo, has, require, ioq, /*===== declare, =====*/ dom, domForm, Deferred, config, json, lang, array, on, aspect, watch, _xhr, util){
|
20
|
+
// module:
|
21
|
+
// dojo/_base/xhr
|
13
22
|
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
return new XMLHttpRequest();
|
22
|
-
}catch(e){
|
23
|
-
throw new Error("XMLHTTP not available: "+e);
|
24
|
-
}
|
25
|
-
};
|
26
|
-
}else{
|
27
|
-
// PROGIDs are in order of decreasing likelihood; this will change in time.
|
28
|
-
for(var XMLHTTP_PROGIDS = ['Msxml2.XMLHTTP', 'Microsoft.XMLHTTP', 'Msxml2.XMLHTTP.4.0'], progid, i = 0; i < 3;){
|
29
|
-
try{
|
30
|
-
progid = XMLHTTP_PROGIDS[i++];
|
31
|
-
if (new ActiveXObject(progid)) {
|
32
|
-
// this progid works; therefore, use it from now on
|
33
|
-
break;
|
34
|
-
}
|
35
|
-
}catch(e){
|
36
|
-
// squelch; we're just trying to find a good ActiveX PROGID
|
37
|
-
// if they all fail, then progid ends up as the last attempt and that will signal the error
|
38
|
-
// the first time the client actually tries to exec an xhr
|
39
|
-
}
|
40
|
-
}
|
41
|
-
dojo._xhrObj= function() {
|
42
|
-
return new ActiveXObject(progid);
|
43
|
-
};
|
44
|
-
}
|
23
|
+
/*=====
|
24
|
+
dojo._xhrObj = function(){
|
25
|
+
// summary:
|
26
|
+
// does the work of portably generating a new XMLHTTPRequest object.
|
27
|
+
};
|
28
|
+
=====*/
|
29
|
+
dojo._xhrObj = _xhr._create;
|
45
30
|
|
46
31
|
var cfg = dojo.config;
|
47
32
|
|
@@ -62,19 +47,17 @@ define("dojo/_base/xhr", [
|
|
62
47
|
// MOW: remove dojo._contentHandlers alias in 2.0
|
63
48
|
var handlers = dojo._contentHandlers = dojo.contentHandlers = {
|
64
49
|
// summary:
|
65
|
-
// A map of
|
50
|
+
// A map of available XHR transport handle types. Name matches the
|
66
51
|
// `handleAs` attribute passed to XHR calls.
|
67
|
-
//
|
68
52
|
// description:
|
69
|
-
// A map of
|
53
|
+
// A map of available XHR transport handle types. Name matches the
|
70
54
|
// `handleAs` attribute passed to XHR calls. Each contentHandler is
|
71
55
|
// called, passing the xhr object for manipulation. The return value
|
72
56
|
// from the contentHandler will be passed to the `load` or `handle`
|
73
57
|
// functions defined in the original xhr call.
|
74
|
-
//
|
75
58
|
// example:
|
76
59
|
// Creating a custom content-handler:
|
77
|
-
// |
|
60
|
+
// | xhr.contentHandlers.makeCaps = function(xhr){
|
78
61
|
// | return xhr.responseText.toUpperCase();
|
79
62
|
// | }
|
80
63
|
// | // and later:
|
@@ -85,15 +68,18 @@ define("dojo/_base/xhr", [
|
|
85
68
|
// | });
|
86
69
|
|
87
70
|
"text": function(xhr){
|
88
|
-
// summary:
|
71
|
+
// summary:
|
72
|
+
// A contentHandler which simply returns the plaintext response data
|
89
73
|
return xhr.responseText;
|
90
74
|
},
|
91
75
|
"json": function(xhr){
|
92
|
-
// summary:
|
76
|
+
// summary:
|
77
|
+
// A contentHandler which returns a JavaScript object created from the response data
|
93
78
|
return json.fromJson(xhr.responseText || null);
|
94
79
|
},
|
95
80
|
"json-comment-filtered": function(xhr){
|
96
|
-
// summary:
|
81
|
+
// summary:
|
82
|
+
// A contentHandler which expects comment-filtered JSON.
|
97
83
|
// description:
|
98
84
|
// A contentHandler which expects comment-filtered JSON.
|
99
85
|
// the json-comment-filtered option was implemented to prevent
|
@@ -105,7 +91,7 @@ define("dojo/_base/xhr", [
|
|
105
91
|
// use the standard `json` contentHandler, and prefix your "JSON" with: {}&&
|
106
92
|
//
|
107
93
|
// use djConfig.useCommentedJson = true to turn off the notice
|
108
|
-
if(!
|
94
|
+
if(!config.useCommentedJson){
|
109
95
|
console.warn("Consider using the standard mimetype:application/json."
|
110
96
|
+ " json-commenting can introduce security issues. To"
|
111
97
|
+ " decrease the chances of hijacking, use the standard the 'json' handler and"
|
@@ -122,13 +108,15 @@ define("dojo/_base/xhr", [
|
|
122
108
|
return json.fromJson(value.substring(cStartIdx+2, cEndIdx));
|
123
109
|
},
|
124
110
|
"javascript": function(xhr){
|
125
|
-
// summary:
|
111
|
+
// summary:
|
112
|
+
// A contentHandler which evaluates the response data, expecting it to be valid JavaScript
|
126
113
|
|
127
114
|
// FIXME: try Moz and IE specific eval variants?
|
128
115
|
return dojo.eval(xhr.responseText);
|
129
116
|
},
|
130
117
|
"xml": function(xhr){
|
131
|
-
// summary:
|
118
|
+
// summary:
|
119
|
+
// A contentHandler returning an XML Document parsed from the response data
|
132
120
|
var result = xhr.responseXML;
|
133
121
|
|
134
122
|
if(has("ie")){
|
@@ -147,11 +135,12 @@ define("dojo/_base/xhr", [
|
|
147
135
|
return true;
|
148
136
|
});
|
149
137
|
}
|
150
|
-
|
138
|
+
}
|
151
139
|
return result; // DOMDocument
|
152
140
|
},
|
153
141
|
"json-comment-optional": function(xhr){
|
154
|
-
// summary:
|
142
|
+
// summary:
|
143
|
+
// A contentHandler which checks the presence of comment-filtered JSON and
|
155
144
|
// alternates between the `json` and `json-comment-filtered` contentHandlers.
|
156
145
|
if(xhr.responseText && /^[^{\[]*\/\*/.test(xhr.responseText)){
|
157
146
|
return handlers["json-comment-filtered"](xhr);
|
@@ -162,194 +151,175 @@ define("dojo/_base/xhr", [
|
|
162
151
|
};
|
163
152
|
|
164
153
|
/*=====
|
165
|
-
|
166
|
-
|
154
|
+
|
155
|
+
// kwargs function parameter definitions. Assigning to dojo namespace rather than making them local variables
|
156
|
+
// because they are used by dojo/io modules too
|
157
|
+
|
158
|
+
dojo.__IoArgs = declare(null, {
|
159
|
+
// url: String
|
167
160
|
// URL to server endpoint.
|
168
|
-
//
|
161
|
+
// content: Object?
|
169
162
|
// Contains properties with string values. These
|
170
163
|
// properties will be serialized as name1=value2 and
|
171
164
|
// passed in the request.
|
172
|
-
//
|
165
|
+
// timeout: Integer?
|
173
166
|
// Milliseconds to wait for the response. If this time
|
174
167
|
// passes, the then error callbacks are called.
|
175
|
-
//
|
168
|
+
// form: DOMNode?
|
176
169
|
// DOM node for a form. Used to extract the form values
|
177
170
|
// and send to the server.
|
178
|
-
//
|
171
|
+
// preventCache: Boolean?
|
179
172
|
// Default is false. If true, then a
|
180
173
|
// "dojo.preventCache" parameter is sent in the request
|
181
174
|
// with a value that changes with each request
|
182
175
|
// (timestamp). Useful only with GET-type requests.
|
183
|
-
//
|
176
|
+
// handleAs: String?
|
184
177
|
// Acceptable values depend on the type of IO
|
185
178
|
// transport (see specific IO calls for more information).
|
186
|
-
//
|
179
|
+
// rawBody: String?
|
187
180
|
// Sets the raw body for an HTTP request. If this is used, then the content
|
188
181
|
// property is ignored. This is mostly useful for HTTP methods that have
|
189
182
|
// a body to their requests, like PUT or POST. This property can be used instead
|
190
|
-
// of postData and putData for dojo.rawXhrPost and dojo.rawXhrPut respectively.
|
191
|
-
//
|
183
|
+
// of postData and putData for dojo/_base/xhr.rawXhrPost and dojo/_base/xhr.rawXhrPut respectively.
|
184
|
+
// ioPublish: Boolean?
|
192
185
|
// Set this explicitly to false to prevent publishing of topics related to
|
193
186
|
// IO operations. Otherwise, if djConfig.ioPublish is set to true, topics
|
194
|
-
// will be published via dojo.publish for different phases of an IO operation.
|
195
|
-
// See dojo.__IoPublish for a list of topics that are published.
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
// is invalid, etc. It will also be called if the load or handle callback throws an
|
203
|
-
// exception, unless djConfig.debugAtAllCosts is true. This allows deployed applications
|
204
|
-
// to continue to run even when a logic error happens in the callback, while making
|
205
|
-
// it easier to troubleshoot while in debug mode.
|
206
|
-
// handle: Function?
|
207
|
-
// This function will
|
208
|
-
// be called at the end of every request, whether or not an error occurs.
|
209
|
-
this.url = url;
|
210
|
-
this.content = content;
|
211
|
-
this.timeout = timeout;
|
212
|
-
this.form = form;
|
213
|
-
this.preventCache = preventCache;
|
214
|
-
this.handleAs = handleAs;
|
215
|
-
this.ioPublish = ioPublish;
|
216
|
-
this.load = function(response, ioArgs){
|
217
|
-
// ioArgs: dojo.__IoCallbackArgs
|
187
|
+
// will be published via dojo/topic.publish() for different phases of an IO operation.
|
188
|
+
// See dojo/main.__IoPublish for a list of topics that are published.
|
189
|
+
|
190
|
+
load: function(response, ioArgs){
|
191
|
+
// summary:
|
192
|
+
// This function will be
|
193
|
+
// called on a successful HTTP response code.
|
194
|
+
// ioArgs: dojo/main.__IoCallbackArgs
|
218
195
|
// Provides additional information about the request.
|
219
196
|
// response: Object
|
220
197
|
// The response in the format as defined with handleAs.
|
221
|
-
}
|
222
|
-
|
223
|
-
|
198
|
+
},
|
199
|
+
|
200
|
+
error: function(response, ioArgs){
|
201
|
+
// summary:
|
202
|
+
// This function will
|
203
|
+
// be called when the request fails due to a network or server error, the url
|
204
|
+
// is invalid, etc. It will also be called if the load or handle callback throws an
|
205
|
+
// exception, unless djConfig.debugAtAllCosts is true. This allows deployed applications
|
206
|
+
// to continue to run even when a logic error happens in the callback, while making
|
207
|
+
// it easier to troubleshoot while in debug mode.
|
208
|
+
// ioArgs: dojo/main.__IoCallbackArgs
|
224
209
|
// Provides additional information about the request.
|
225
210
|
// response: Object
|
226
211
|
// The response in the format as defined with handleAs.
|
227
|
-
}
|
228
|
-
|
212
|
+
},
|
213
|
+
|
214
|
+
handle: function(loadOrError, response, ioArgs){
|
215
|
+
// summary:
|
216
|
+
// This function will
|
217
|
+
// be called at the end of every request, whether or not an error occurs.
|
229
218
|
// loadOrError: String
|
230
219
|
// Provides a string that tells you whether this function
|
231
220
|
// was called because of success (load) or failure (error).
|
232
221
|
// response: Object
|
233
222
|
// The response in the format as defined with handleAs.
|
234
|
-
// ioArgs: dojo.__IoCallbackArgs
|
223
|
+
// ioArgs: dojo/main.__IoCallbackArgs
|
235
224
|
// Provides additional information about the request.
|
236
225
|
}
|
237
|
-
}
|
238
|
-
=====*/
|
226
|
+
});
|
239
227
|
|
240
|
-
|
241
|
-
|
242
|
-
// args: Object
|
228
|
+
dojo.__IoCallbackArgs = declare(null, {
|
229
|
+
// args: Object
|
243
230
|
// the original object argument to the IO call.
|
244
|
-
//
|
231
|
+
// xhr: XMLHttpRequest
|
245
232
|
// For XMLHttpRequest calls only, the
|
246
233
|
// XMLHttpRequest object that was used for the
|
247
234
|
// request.
|
248
|
-
//
|
235
|
+
// url: String
|
249
236
|
// The final URL used for the call. Many times it
|
250
237
|
// will be different than the original args.url
|
251
238
|
// value.
|
252
|
-
//
|
239
|
+
// query: String
|
253
240
|
// For non-GET requests, the
|
254
241
|
// name1=value1&name2=value2 parameters sent up in
|
255
242
|
// the request.
|
256
|
-
//
|
243
|
+
// handleAs: String
|
257
244
|
// The final indicator on how the response will be
|
258
245
|
// handled.
|
259
|
-
//
|
260
|
-
// For dojo
|
246
|
+
// id: String
|
247
|
+
// For dojo/io/script calls only, the internal
|
261
248
|
// script ID used for the request.
|
262
|
-
//
|
263
|
-
// For dojo
|
249
|
+
// canDelete: Boolean
|
250
|
+
// For dojo/io/script calls only, indicates
|
264
251
|
// whether the script tag that represents the
|
265
252
|
// request can be deleted after callbacks have
|
266
253
|
// been called. Used internally to know when
|
267
254
|
// cleanup can happen on JSONP-type requests.
|
268
|
-
//
|
269
|
-
// For dojo
|
255
|
+
// json: Object
|
256
|
+
// For dojo/io/script calls only: holds the JSON
|
270
257
|
// response for JSONP-type requests. Used
|
271
258
|
// internally to hold on to the JSON responses.
|
272
259
|
// You should not need to access it directly --
|
273
260
|
// the same object should be passed to the success
|
274
261
|
// callbacks directly.
|
275
|
-
|
276
|
-
this.xhr = xhr;
|
277
|
-
this.url = url;
|
278
|
-
this.query = query;
|
279
|
-
this.handleAs = handleAs;
|
280
|
-
this.id = id;
|
281
|
-
this.canDelete = canDelete;
|
282
|
-
this.json = json;
|
283
|
-
}
|
284
|
-
=====*/
|
285
|
-
|
262
|
+
});
|
286
263
|
|
287
|
-
|
288
|
-
|
289
|
-
// summary:
|
264
|
+
dojo.__IoPublish = declare(null, {
|
265
|
+
// summary:
|
290
266
|
// This is a list of IO topics that can be published
|
291
267
|
// if djConfig.ioPublish is set to true. IO topics can be
|
292
268
|
// published for any Input/Output, network operation. So,
|
293
269
|
// dojo.xhr, dojo.io.script and dojo.io.iframe can all
|
294
270
|
// trigger these topics to be published.
|
295
|
-
//
|
271
|
+
// start: String
|
296
272
|
// "/dojo/io/start" is sent when there are no outstanding IO
|
297
273
|
// requests, and a new IO request is started. No arguments
|
298
274
|
// are passed with this topic.
|
299
|
-
//
|
275
|
+
// send: String
|
300
276
|
// "/dojo/io/send" is sent whenever a new IO request is started.
|
301
277
|
// It passes the dojo.Deferred for the request with the topic.
|
302
|
-
//
|
278
|
+
// load: String
|
303
279
|
// "/dojo/io/load" is sent whenever an IO request has loaded
|
304
280
|
// successfully. It passes the response and the dojo.Deferred
|
305
281
|
// for the request with the topic.
|
306
|
-
//
|
282
|
+
// error: String
|
307
283
|
// "/dojo/io/error" is sent whenever an IO request has errored.
|
308
284
|
// It passes the error and the dojo.Deferred
|
309
285
|
// for the request with the topic.
|
310
|
-
//
|
286
|
+
// done: String
|
311
287
|
// "/dojo/io/done" is sent whenever an IO request has completed,
|
312
288
|
// either by loading or by erroring. It passes the error and
|
313
289
|
// the dojo.Deferred for the request with the topic.
|
314
|
-
//
|
290
|
+
// stop: String
|
315
291
|
// "/dojo/io/stop" is sent when all outstanding IO requests have
|
316
292
|
// finished. No arguments are passed with this topic.
|
317
|
-
|
318
|
-
this.send = "/dojo/io/send";
|
319
|
-
this.load = "/dojo/io/load";
|
320
|
-
this.error = "/dojo/io/error";
|
321
|
-
this.done = "/dojo/io/done";
|
322
|
-
this.stop = "/dojo/io/stop";
|
323
|
-
}
|
293
|
+
});
|
324
294
|
=====*/
|
325
295
|
|
326
296
|
|
327
|
-
dojo._ioSetArgs = function(/*dojo.__IoArgs*/args,
|
297
|
+
dojo._ioSetArgs = function(/*dojo/main.__IoArgs*/args,
|
328
298
|
/*Function*/canceller,
|
329
299
|
/*Function*/okHandler,
|
330
300
|
/*Function*/errHandler){
|
331
|
-
//
|
301
|
+
// summary:
|
332
302
|
// sets up the Deferred and ioArgs property on the Deferred so it
|
333
303
|
// can be used in an io call.
|
334
|
-
//
|
304
|
+
// args:
|
335
305
|
// The args object passed into the public io call. Recognized properties on
|
336
306
|
// the args object are:
|
337
|
-
//
|
307
|
+
// canceller:
|
338
308
|
// The canceller function used for the Deferred object. The function
|
339
309
|
// will receive one argument, the Deferred object that is related to the
|
340
310
|
// canceller.
|
341
|
-
//
|
311
|
+
// okHandler:
|
342
312
|
// The first OK callback to be registered with Deferred. It has the opportunity
|
343
313
|
// to transform the OK response. It will receive one argument -- the Deferred
|
344
314
|
// object returned from this function.
|
345
|
-
//
|
315
|
+
// errHandler:
|
346
316
|
// The first error callback to be registered with Deferred. It has the opportunity
|
347
317
|
// to do cleanup on an error. It will receive two arguments: error (the
|
348
318
|
// Error object) and dfd, the Deferred object returned from this function.
|
349
319
|
|
350
320
|
var ioArgs = {args: args, url: args.url};
|
351
321
|
|
352
|
-
//Get values from form if
|
322
|
+
//Get values from form if requested.
|
353
323
|
var formObject = null;
|
354
324
|
if(args.form){
|
355
325
|
var form = dom.byId(args.form);
|
@@ -378,10 +348,19 @@ define("dojo/_base/xhr", [
|
|
378
348
|
|
379
349
|
// .. and the real work of getting the deferred in order, etc.
|
380
350
|
ioArgs.handleAs = args.handleAs || "text";
|
381
|
-
var d = new
|
382
|
-
|
383
|
-
|
351
|
+
var d = new Deferred(function(dfd){
|
352
|
+
dfd.canceled = true;
|
353
|
+
canceller && canceller(dfd);
|
354
|
+
|
355
|
+
var err = dfd.ioArgs.error;
|
356
|
+
if(!err){
|
357
|
+
err = new Error("request cancelled");
|
358
|
+
err.dojoType="cancel";
|
359
|
+
dfd.ioArgs.error = err;
|
360
|
+
}
|
361
|
+
return err;
|
384
362
|
});
|
363
|
+
d.addCallback(okHandler);
|
385
364
|
|
386
365
|
//Support specifying load, error and handle callback functions from the args.
|
387
366
|
//For those callbacks, the "this" object will be the args object.
|
@@ -406,6 +385,13 @@ define("dojo/_base/xhr", [
|
|
406
385
|
});
|
407
386
|
}
|
408
387
|
|
388
|
+
// Attach error handler last (not including topic publishing)
|
389
|
+
// to catch any errors that may have been generated from load
|
390
|
+
// or handle functions.
|
391
|
+
d.addErrback(function(error){
|
392
|
+
return errHandler(error, d);
|
393
|
+
});
|
394
|
+
|
409
395
|
//Plug in topic publishing, if dojo.publish is loaded.
|
410
396
|
if(cfg.ioPublish && dojo.publish && ioArgs.args.ioPublish !== false){
|
411
397
|
d.addCallbacks(
|
@@ -427,34 +413,20 @@ define("dojo/_base/xhr", [
|
|
427
413
|
d.ioArgs = ioArgs;
|
428
414
|
|
429
415
|
// FIXME: need to wire up the xhr object's abort method to something
|
430
|
-
//
|
416
|
+
// analogous in the Deferred
|
431
417
|
return d;
|
432
418
|
};
|
433
419
|
|
434
|
-
var _deferredCancel = function(/*Deferred*/dfd){
|
435
|
-
// summary: canceller function for dojo._ioSetArgs call.
|
436
|
-
|
437
|
-
dfd.canceled = true;
|
438
|
-
var xhr = dfd.ioArgs.xhr;
|
439
|
-
var _at = typeof xhr.abort;
|
440
|
-
if(_at == "function" || _at == "object" || _at == "unknown"){
|
441
|
-
xhr.abort();
|
442
|
-
}
|
443
|
-
var err = dfd.ioArgs.error;
|
444
|
-
if(!err){
|
445
|
-
err = new Error("xhr cancelled");
|
446
|
-
err.dojoType="cancel";
|
447
|
-
}
|
448
|
-
return err;
|
449
|
-
};
|
450
420
|
var _deferredOk = function(/*Deferred*/dfd){
|
451
|
-
// summary:
|
421
|
+
// summary:
|
422
|
+
// okHandler function for dojo._ioSetArgs call.
|
452
423
|
|
453
424
|
var ret = handlers[dfd.ioArgs.handleAs](dfd.ioArgs.xhr);
|
454
425
|
return ret === undefined ? null : ret;
|
455
426
|
};
|
456
427
|
var _deferError = function(/*Error*/error, /*Deferred*/dfd){
|
457
|
-
// summary:
|
428
|
+
// summary:
|
429
|
+
// errHandler function for dojo._ioSetArgs call.
|
458
430
|
|
459
431
|
if(!dfd.ioArgs.args.failOk){
|
460
432
|
console.error(error);
|
@@ -462,18 +434,7 @@ define("dojo/_base/xhr", [
|
|
462
434
|
return error;
|
463
435
|
};
|
464
436
|
|
465
|
-
// avoid setting a timer per request. It degrades performance on IE
|
466
|
-
// something fierece if we don't use unified loops.
|
467
|
-
var _inFlightIntvl = null;
|
468
|
-
var _inFlight = [];
|
469
|
-
|
470
|
-
|
471
437
|
//Use a separate count for knowing if we are starting/stopping io calls.
|
472
|
-
//Cannot use _inFlight.length since it can change at a different time than
|
473
|
-
//when we want to do this kind of test. We only want to decrement the count
|
474
|
-
//after a callback/errback has finished, since the callback/errback should be
|
475
|
-
//considered as part of finishing a request.
|
476
|
-
var _pubCount = 0;
|
477
438
|
var _checkPubCount = function(dfd){
|
478
439
|
if(_pubCount <= 0){
|
479
440
|
_pubCount = 0;
|
@@ -483,85 +444,27 @@ define("dojo/_base/xhr", [
|
|
483
444
|
}
|
484
445
|
};
|
485
446
|
|
486
|
-
var
|
487
|
-
|
488
|
-
|
489
|
-
|
490
|
-
|
491
|
-
var now = (new Date()).getTime();
|
492
|
-
// make sure sync calls stay thread safe, if this callback is called
|
493
|
-
// during a sync call and this results in another sync call before the
|
494
|
-
// first sync call ends the browser hangs
|
495
|
-
if(!dojo._blockAsync){
|
496
|
-
// we need manual loop because we often modify _inFlight (and therefore 'i') while iterating
|
497
|
-
// note: the second clause is an assigment on purpose, lint may complain
|
498
|
-
for(var i = 0, tif; i < _inFlight.length && (tif = _inFlight[i]); i++){
|
499
|
-
var dfd = tif.dfd;
|
500
|
-
var func = function(){
|
501
|
-
if(!dfd || dfd.canceled || !tif.validCheck(dfd)){
|
502
|
-
_inFlight.splice(i--, 1);
|
503
|
-
_pubCount -= 1;
|
504
|
-
}else if(tif.ioCheck(dfd)){
|
505
|
-
_inFlight.splice(i--, 1);
|
506
|
-
tif.resHandle(dfd);
|
507
|
-
_pubCount -= 1;
|
508
|
-
}else if(dfd.startTime){
|
509
|
-
//did we timeout?
|
510
|
-
if(dfd.startTime + (dfd.ioArgs.args.timeout || 0) < now){
|
511
|
-
_inFlight.splice(i--, 1);
|
512
|
-
var err = new Error("timeout exceeded");
|
513
|
-
err.dojoType = "timeout";
|
514
|
-
dfd.errback(err);
|
515
|
-
//Cancel the request so the io module can do appropriate cleanup.
|
516
|
-
dfd.cancel();
|
517
|
-
_pubCount -= 1;
|
518
|
-
}
|
519
|
-
}
|
520
|
-
};
|
521
|
-
if(dojo.config.debugAtAllCosts){
|
522
|
-
func.call(this);
|
523
|
-
}else{
|
524
|
-
try{
|
525
|
-
func.call(this);
|
526
|
-
}catch(e){
|
527
|
-
dfd.errback(e);
|
528
|
-
}
|
529
|
-
}
|
530
|
-
}
|
531
|
-
}
|
532
|
-
|
533
|
-
_checkPubCount(dfd);
|
534
|
-
|
535
|
-
if(!_inFlight.length){
|
536
|
-
clearInterval(_inFlightIntvl);
|
537
|
-
_inFlightIntvl = null;
|
538
|
-
}
|
539
|
-
};
|
447
|
+
var _pubCount = 0;
|
448
|
+
aspect.after(watch, "_onAction", function(){
|
449
|
+
_pubCount -= 1;
|
450
|
+
});
|
451
|
+
aspect.after(watch, "_onInFlight", _checkPubCount);
|
540
452
|
|
453
|
+
dojo._ioCancelAll = watch.cancelAll;
|
454
|
+
/*=====
|
541
455
|
dojo._ioCancelAll = function(){
|
542
|
-
//summary:
|
543
|
-
//
|
544
|
-
|
545
|
-
array.forEach(_inFlight, function(i){
|
546
|
-
try{
|
547
|
-
i.dfd.cancel();
|
548
|
-
}catch(e){/*squelch*/}
|
549
|
-
});
|
550
|
-
}catch(e){/*squelch*/}
|
456
|
+
// summary:
|
457
|
+
// Cancels all pending IO requests, regardless of IO type
|
458
|
+
// (xhr, script, iframe).
|
551
459
|
};
|
552
|
-
|
553
|
-
//Automatically call cancel all io calls on unload
|
554
|
-
//in IE for trac issue #2357.
|
555
|
-
if(has("ie")){
|
556
|
-
on(window, "unload", dojo._ioCancelAll);
|
557
|
-
}
|
460
|
+
=====*/
|
558
461
|
|
559
462
|
dojo._ioNotifyStart = function(/*Deferred*/dfd){
|
560
463
|
// summary:
|
561
464
|
// If dojo.publish is available, publish topics
|
562
465
|
// about the start of a request queue and/or the
|
563
466
|
// the beginning of request.
|
564
|
-
//
|
467
|
+
//
|
565
468
|
// Used by IO transports. An IO transport should
|
566
469
|
// call this method before making the network connection.
|
567
470
|
if(cfg.ioPublish && dojo.publish && dfd.ioArgs.args.ioPublish !== false){
|
@@ -587,49 +490,31 @@ define("dojo/_base/xhr", [
|
|
587
490
|
// resHandle: Function
|
588
491
|
// Function used to process response. Gets the dfd
|
589
492
|
// object as its only argument.
|
590
|
-
var args = dfd.ioArgs.args;
|
591
|
-
if(args.timeout){
|
592
|
-
dfd.startTime = (new Date()).getTime();
|
593
|
-
}
|
594
493
|
|
595
|
-
|
596
|
-
|
597
|
-
|
598
|
-
|
599
|
-
|
600
|
-
|
601
|
-
|
602
|
-
|
603
|
-
|
604
|
-
|
605
|
-
|
606
|
-
|
494
|
+
var args = dfd.ioArgs.options = dfd.ioArgs.args;
|
495
|
+
lang.mixin(dfd, {
|
496
|
+
response: dfd.ioArgs,
|
497
|
+
isValid: function(response){
|
498
|
+
return validCheck(dfd);
|
499
|
+
},
|
500
|
+
isReady: function(response){
|
501
|
+
return ioCheck(dfd);
|
502
|
+
},
|
503
|
+
handleResponse: function(response){
|
504
|
+
return resHandle(dfd);
|
505
|
+
}
|
506
|
+
});
|
507
|
+
watch(dfd);
|
508
|
+
|
509
|
+
_checkPubCount(dfd);
|
607
510
|
};
|
608
511
|
|
609
512
|
var _defaultContentType = "application/x-www-form-urlencoded";
|
610
513
|
|
611
|
-
var _validCheck = function(/*Deferred*/dfd){
|
612
|
-
return dfd.ioArgs.xhr.readyState; //boolean
|
613
|
-
};
|
614
|
-
var _ioCheck = function(/*Deferred*/dfd){
|
615
|
-
return 4 == dfd.ioArgs.xhr.readyState; //boolean
|
616
|
-
};
|
617
|
-
var _resHandle = function(/*Deferred*/dfd){
|
618
|
-
var xhr = dfd.ioArgs.xhr;
|
619
|
-
if(dojo._isDocumentOk(xhr)){
|
620
|
-
dfd.callback(dfd);
|
621
|
-
}else{
|
622
|
-
var err = new Error("Unable to load " + dfd.ioArgs.url + " status:" + xhr.status);
|
623
|
-
err.status = xhr.status;
|
624
|
-
err.responseText = xhr.responseText;
|
625
|
-
err.xhr = xhr;
|
626
|
-
dfd.errback(err);
|
627
|
-
}
|
628
|
-
};
|
629
|
-
|
630
514
|
dojo._ioAddQueryToUrl = function(/*dojo.__IoCallbackArgs*/ioArgs){
|
631
|
-
//summary:
|
632
|
-
//
|
515
|
+
// summary:
|
516
|
+
// Adds query params discovered by the io deferred construction to the URL.
|
517
|
+
// Only use this for operations which are fundamentally GET-type operations.
|
633
518
|
if(ioArgs.query.length){
|
634
519
|
ioArgs.url += (ioArgs.url.indexOf("?") == -1 ? "?" : "&") + ioArgs.query;
|
635
520
|
ioArgs.query = null;
|
@@ -637,61 +522,49 @@ define("dojo/_base/xhr", [
|
|
637
522
|
};
|
638
523
|
|
639
524
|
/*=====
|
640
|
-
dojo.declare(
|
641
|
-
|
642
|
-
|
643
|
-
|
644
|
-
|
645
|
-
|
646
|
-
|
647
|
-
|
648
|
-
|
649
|
-
|
650
|
-
|
651
|
-
|
652
|
-
|
653
|
-
|
654
|
-
|
655
|
-
|
656
|
-
|
657
|
-
|
658
|
-
|
659
|
-
|
660
|
-
|
661
|
-
this.handleAs = handleAs;
|
662
|
-
this.sync = sync;
|
663
|
-
this.headers = headers;
|
664
|
-
this.failOk = failOk;
|
665
|
-
}
|
666
|
-
});
|
525
|
+
dojo.__XhrArgs = declare(dojo.__IoArgs, {
|
526
|
+
// summary:
|
527
|
+
// In addition to the properties listed for the dojo._IoArgs type,
|
528
|
+
// the following properties are allowed for dojo.xhr* methods.
|
529
|
+
// handleAs: String?
|
530
|
+
// Acceptable values are: text (default), json, json-comment-optional,
|
531
|
+
// json-comment-filtered, javascript, xml. See `dojo/_base/xhr.contentHandlers`
|
532
|
+
// sync: Boolean?
|
533
|
+
// false is default. Indicates whether the request should
|
534
|
+
// be a synchronous (blocking) request.
|
535
|
+
// headers: Object?
|
536
|
+
// Additional HTTP headers to send in the request.
|
537
|
+
// failOk: Boolean?
|
538
|
+
// false is default. Indicates whether a request should be
|
539
|
+
// allowed to fail (and therefore no console error message in
|
540
|
+
// the event of a failure)
|
541
|
+
// contentType: String|Boolean
|
542
|
+
// "application/x-www-form-urlencoded" is default. Set to false to
|
543
|
+
// prevent a Content-Type header from being sent, or to a string
|
544
|
+
// to send a different Content-Type.
|
545
|
+
});
|
667
546
|
=====*/
|
668
547
|
|
669
548
|
dojo.xhr = function(/*String*/ method, /*dojo.__XhrArgs*/ args, /*Boolean?*/ hasBody){
|
670
|
-
//
|
671
|
-
//
|
672
|
-
//
|
549
|
+
// summary:
|
550
|
+
// Deprecated. Use dojo/request instead.
|
551
|
+
// description:
|
673
552
|
// Sends an HTTP request with the given method.
|
674
553
|
// See also dojo.xhrGet(), xhrPost(), xhrPut() and dojo.xhrDelete() for shortcuts
|
675
554
|
// for those HTTP methods. There are also methods for "raw" PUT and POST methods
|
676
555
|
// via dojo.rawXhrPut() and dojo.rawXhrPost() respectively.
|
677
|
-
//
|
556
|
+
// method:
|
678
557
|
// HTTP method to be used, such as GET, POST, PUT, DELETE. Should be uppercase.
|
679
|
-
//
|
558
|
+
// hasBody:
|
680
559
|
// If the request has an HTTP body, then pass true for hasBody.
|
681
560
|
|
561
|
+
var rDfd;
|
682
562
|
//Make the Deferred object for this xhr request.
|
683
|
-
var dfd = dojo._ioSetArgs(args,
|
563
|
+
var dfd = dojo._ioSetArgs(args, function(dfd){
|
564
|
+
rDfd && rDfd.cancel();
|
565
|
+
}, _deferredOk, _deferError);
|
684
566
|
var ioArgs = dfd.ioArgs;
|
685
567
|
|
686
|
-
//Pass the args to _xhrObj, to allow alternate XHR calls based specific calls, like
|
687
|
-
//the one used for iframe proxies.
|
688
|
-
var xhr = ioArgs.xhr = dojo._xhrObj(ioArgs.args);
|
689
|
-
//If XHR factory fails, cancel the deferred.
|
690
|
-
if(!xhr){
|
691
|
-
dfd.cancel();
|
692
|
-
return dfd;
|
693
|
-
}
|
694
|
-
|
695
568
|
//Allow for specifying the HTTP body completely.
|
696
569
|
if("postData" in args){
|
697
570
|
ioArgs.query = args.postData;
|
@@ -699,83 +572,91 @@ define("dojo/_base/xhr", [
|
|
699
572
|
ioArgs.query = args.putData;
|
700
573
|
}else if("rawBody" in args){
|
701
574
|
ioArgs.query = args.rawBody;
|
702
|
-
}else if((arguments.length > 2 && !hasBody) || "POST|PUT".indexOf(method.toUpperCase())
|
575
|
+
}else if((arguments.length > 2 && !hasBody) || "POST|PUT".indexOf(method.toUpperCase()) === -1){
|
703
576
|
//Check for hasBody being passed. If no hasBody,
|
704
577
|
//then only append query string if not a POST or PUT request.
|
705
578
|
dojo._ioAddQueryToUrl(ioArgs);
|
706
579
|
}
|
707
580
|
|
708
|
-
|
709
|
-
|
710
|
-
|
711
|
-
|
712
|
-
|
713
|
-
|
714
|
-
|
715
|
-
|
716
|
-
|
717
|
-
|
718
|
-
|
719
|
-
|
581
|
+
var options = {
|
582
|
+
method: method,
|
583
|
+
handleAs: "text",
|
584
|
+
timeout: args.timeout,
|
585
|
+
withCredentials: args.withCredentials,
|
586
|
+
ioArgs: ioArgs
|
587
|
+
};
|
588
|
+
|
589
|
+
if(typeof args.headers !== 'undefined'){
|
590
|
+
options.headers = args.headers;
|
591
|
+
}
|
592
|
+
if(typeof args.contentType !== 'undefined'){
|
593
|
+
if(!options.headers){
|
594
|
+
options.headers = {};
|
720
595
|
}
|
596
|
+
options.headers['Content-Type'] = args.contentType;
|
721
597
|
}
|
722
|
-
|
723
|
-
|
724
|
-
xhr.setRequestHeader("Content-Type", args.contentType || _defaultContentType);
|
598
|
+
if(typeof ioArgs.query !== 'undefined'){
|
599
|
+
options.data = ioArgs.query;
|
725
600
|
}
|
726
|
-
if(
|
727
|
-
|
601
|
+
if(typeof args.sync !== 'undefined'){
|
602
|
+
options.sync = args.sync;
|
728
603
|
}
|
729
|
-
|
604
|
+
|
730
605
|
dojo._ioNotifyStart(dfd);
|
731
|
-
|
732
|
-
|
733
|
-
}
|
734
|
-
|
735
|
-
|
736
|
-
|
737
|
-
|
738
|
-
dfd.cancel();
|
739
|
-
}
|
606
|
+
try{
|
607
|
+
rDfd = _xhr(ioArgs.url, options, true);
|
608
|
+
}catch(e){
|
609
|
+
// If XHR creation fails, dojo/request/xhr throws
|
610
|
+
// When this happens, cancel the deferred
|
611
|
+
dfd.cancel();
|
612
|
+
return dfd;
|
740
613
|
}
|
741
|
-
|
742
|
-
|
743
|
-
|
614
|
+
|
615
|
+
// sync ioArgs
|
616
|
+
dfd.ioArgs.xhr = rDfd.response.xhr;
|
617
|
+
|
618
|
+
rDfd.then(function(){
|
619
|
+
dfd.resolve(dfd);
|
620
|
+
}).otherwise(function(error){
|
621
|
+
ioArgs.error = error;
|
622
|
+
dfd.reject(error);
|
623
|
+
});
|
624
|
+
return dfd; // dojo/_base/Deferred
|
744
625
|
};
|
745
626
|
|
746
627
|
dojo.xhrGet = function(/*dojo.__XhrArgs*/ args){
|
747
|
-
//
|
628
|
+
// summary:
|
748
629
|
// Sends an HTTP GET request to the server.
|
749
|
-
return dojo.xhr("GET", args); // dojo
|
630
|
+
return dojo.xhr("GET", args); // dojo/_base/Deferred
|
750
631
|
};
|
751
632
|
|
752
633
|
dojo.rawXhrPost = dojo.xhrPost = function(/*dojo.__XhrArgs*/ args){
|
753
|
-
//
|
754
|
-
// Sends an HTTP POST request to the server. In
|
634
|
+
// summary:
|
635
|
+
// Sends an HTTP POST request to the server. In addition to the properties
|
755
636
|
// listed for the dojo.__XhrArgs type, the following property is allowed:
|
756
|
-
//
|
637
|
+
// postData:
|
757
638
|
// String. Send raw data in the body of the POST request.
|
758
|
-
return dojo.xhr("POST", args, true); // dojo
|
639
|
+
return dojo.xhr("POST", args, true); // dojo/_base/Deferred
|
759
640
|
};
|
760
641
|
|
761
642
|
dojo.rawXhrPut = dojo.xhrPut = function(/*dojo.__XhrArgs*/ args){
|
762
|
-
//
|
763
|
-
// Sends an HTTP PUT request to the server. In
|
643
|
+
// summary:
|
644
|
+
// Sends an HTTP PUT request to the server. In addition to the properties
|
764
645
|
// listed for the dojo.__XhrArgs type, the following property is allowed:
|
765
|
-
//
|
646
|
+
// putData:
|
766
647
|
// String. Send raw data in the body of the PUT request.
|
767
|
-
return dojo.xhr("PUT", args, true); // dojo
|
648
|
+
return dojo.xhr("PUT", args, true); // dojo/_base/Deferred
|
768
649
|
};
|
769
650
|
|
770
651
|
dojo.xhrDelete = function(/*dojo.__XhrArgs*/ args){
|
771
|
-
//
|
652
|
+
// summary:
|
772
653
|
// Sends an HTTP DELETE request to the server.
|
773
|
-
return dojo.xhr("DELETE", args); //dojo
|
654
|
+
return dojo.xhr("DELETE", args); // dojo/_base/Deferred
|
774
655
|
};
|
775
656
|
|
776
657
|
/*
|
777
658
|
dojo.wrapForm = function(formNode){
|
778
|
-
//summary:
|
659
|
+
// summary:
|
779
660
|
// A replacement for FormBind, but not implemented yet.
|
780
661
|
|
781
662
|
// FIXME: need to think harder about what extensions to this we might
|
@@ -785,14 +666,8 @@ define("dojo/_base/xhr", [
|
|
785
666
|
}
|
786
667
|
*/
|
787
668
|
|
788
|
-
dojo._isDocumentOk = function(
|
789
|
-
|
790
|
-
stat =
|
791
|
-
(stat >= 200 && stat < 300) || // allow any 2XX response code
|
792
|
-
stat == 304 || // or, get it out of the cache
|
793
|
-
stat == 1223 || // or, Internet Explorer mangled the status code
|
794
|
-
!stat; // or, we're Titanium/browser chrome/chrome extension requesting a local file
|
795
|
-
return stat; // Boolean
|
669
|
+
dojo._isDocumentOk = function(x){
|
670
|
+
return util.checkStatus(x.status);
|
796
671
|
};
|
797
672
|
|
798
673
|
dojo._getText = function(url){
|