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,43 +1,41 @@
|
|
1
|
-
define("dojo/data/ItemFileReadStore", ["../_base/kernel", "../_base/lang", "../_base/declare", "../_base/array", "../_base/xhr",
|
2
|
-
"../Evented", "
|
3
|
-
], function(kernel, lang, declare, array, xhr, Evented,
|
4
|
-
// module:
|
5
|
-
// dojo/data/ItemFileReadStore
|
6
|
-
// summary:
|
7
|
-
// TODOC
|
1
|
+
define("dojo/data/ItemFileReadStore", ["../_base/kernel", "../_base/lang", "../_base/declare", "../_base/array", "../_base/xhr",
|
2
|
+
"../Evented", "./util/filter", "./util/simpleFetch", "../date/stamp"
|
3
|
+
], function(kernel, lang, declare, array, xhr, Evented, filterUtil, simpleFetch, dateStamp){
|
8
4
|
|
5
|
+
// module:
|
6
|
+
// dojo/data/ItemFileReadStore
|
9
7
|
|
10
8
|
var ItemFileReadStore = declare("dojo.data.ItemFileReadStore", [Evented],{
|
11
|
-
//
|
12
|
-
// The ItemFileReadStore implements the dojo
|
9
|
+
// summary:
|
10
|
+
// The ItemFileReadStore implements the dojo/data/api/Read API and reads
|
13
11
|
// data from JSON files that have contents in this format --
|
14
|
-
//
|
15
|
-
//
|
16
|
-
//
|
17
|
-
//
|
18
|
-
//
|
19
|
-
// Note that it can also contain an '
|
12
|
+
// | { items: [
|
13
|
+
// | { name:'Kermit', color:'green', age:12, friends:['Gonzo', {_reference:{name:'Fozzie Bear'}}]},
|
14
|
+
// | { name:'Fozzie Bear', wears:['hat', 'tie']},
|
15
|
+
// | { name:'Miss Piggy', pets:'Foo-Foo'}
|
16
|
+
// | ]}
|
17
|
+
// Note that it can also contain an 'identifier' property that specified which attribute on the items
|
20
18
|
// in the array of items that acts as the unique identifier for that item.
|
21
|
-
|
19
|
+
|
22
20
|
constructor: function(/* Object */ keywordParameters){
|
23
|
-
//
|
24
|
-
//
|
25
|
-
//
|
26
|
-
//
|
21
|
+
// summary:
|
22
|
+
// constructor
|
23
|
+
// keywordParameters:
|
24
|
+
// {url: String} {data: jsonObject} {typeMap: object}
|
27
25
|
// The structure of the typeMap object is as follows:
|
28
|
-
//
|
29
|
-
//
|
30
|
-
//
|
31
|
-
//
|
32
|
-
//
|
33
|
-
//
|
26
|
+
// | {
|
27
|
+
// | type0: function || object,
|
28
|
+
// | type1: function || object,
|
29
|
+
// | ...
|
30
|
+
// | typeN: function || object
|
31
|
+
// | }
|
34
32
|
// Where if it is a function, it is assumed to be an object constructor that takes the
|
35
33
|
// value of _value as the initialization parameters. If it is an object, then it is assumed
|
36
34
|
// to be an object of general form:
|
37
|
-
//
|
38
|
-
//
|
39
|
-
//
|
40
|
-
//
|
35
|
+
// | {
|
36
|
+
// | type: function, //constructor.
|
37
|
+
// | deserialize: function(value) //The function that parses the value and constructs the object defined by type appropriately.
|
38
|
+
// | }
|
41
39
|
|
42
40
|
this._arrayOfAllItems = [];
|
43
41
|
this._arrayOfTopLevelItems = [];
|
@@ -50,14 +48,14 @@ var ItemFileReadStore = declare("dojo.data.ItemFileReadStore", [Evented],{
|
|
50
48
|
this._datatypeMap = keywordParameters.typeMap || {};
|
51
49
|
if(!this._datatypeMap['Date']){
|
52
50
|
//If no default mapping for dates, then set this as default.
|
53
|
-
//We use the dojo
|
51
|
+
//We use the dojo/date/stamp here because the ISO format is the 'dojo way'
|
54
52
|
//of generically representing dates.
|
55
53
|
this._datatypeMap['Date'] = {
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
54
|
+
type: Date,
|
55
|
+
deserialize: function(value){
|
56
|
+
return dateStamp.fromISOString(value);
|
57
|
+
}
|
58
|
+
};
|
61
59
|
}
|
62
60
|
this._features = {'dojo.data.api.Read':true, 'dojo.data.api.Identity':true};
|
63
61
|
this._itemsByIdentity = null;
|
@@ -91,60 +89,64 @@ var ItemFileReadStore = declare("dojo.data.ItemFileReadStore", [Evented],{
|
|
91
89
|
|
92
90
|
typeMap: null, //Define so parser can populate.
|
93
91
|
|
94
|
-
//
|
95
|
-
//
|
96
|
-
//
|
97
|
-
//
|
92
|
+
// clearOnClose: Boolean
|
93
|
+
// Parameter to allow users to specify if a close call should force a reload or not.
|
94
|
+
// By default, it retains the old behavior of not clearing if close is called. But
|
95
|
+
// if set true, the store will be reset to default state. Note that by doing this,
|
96
|
+
// all item handles will become invalid and a new fetch must be issued.
|
98
97
|
clearOnClose: false,
|
99
98
|
|
100
|
-
//
|
101
|
-
//
|
102
|
-
//
|
99
|
+
// urlPreventCache: Boolean
|
100
|
+
// Parameter to allow specifying if preventCache should be passed to the xhrGet call or not when loading data from a url.
|
101
|
+
// Note this does not mean the store calls the server on each fetch, only that the data load has preventCache set as an option.
|
102
|
+
// Added for tracker: #6072
|
103
103
|
urlPreventCache: false,
|
104
104
|
|
105
|
-
//
|
105
|
+
// failOk: Boolean
|
106
|
+
// Parameter for specifying that it is OK for the xhrGet call to fail silently.
|
106
107
|
failOk: false,
|
107
108
|
|
108
|
-
//
|
109
|
-
//
|
110
|
-
//
|
111
|
-
//
|
112
|
-
//
|
109
|
+
// hierarchical: Boolean
|
110
|
+
// Parameter to indicate to process data from the url as hierarchical
|
111
|
+
// (data items can contain other data items in js form). Default is true
|
112
|
+
// for backwards compatibility. False means only root items are processed
|
113
|
+
// as items, all child objects outside of type-mapped objects and those in
|
114
|
+
// specific reference format, are left straight JS data objects.
|
113
115
|
hierarchical: true,
|
114
116
|
|
115
|
-
_assertIsItem: function(/*
|
116
|
-
//
|
117
|
+
_assertIsItem: function(/* dojo/data/api/Item */ item){
|
118
|
+
// summary:
|
117
119
|
// This function tests whether the item passed in is indeed an item in the store.
|
118
|
-
//
|
120
|
+
// item:
|
119
121
|
// The item to test for being contained by the store.
|
120
122
|
if(!this.isItem(item)){
|
121
|
-
throw new Error("
|
123
|
+
throw new Error(this.declaredClass + ": Invalid item argument.");
|
122
124
|
}
|
123
125
|
},
|
124
126
|
|
125
127
|
_assertIsAttribute: function(/* attribute-name-string */ attribute){
|
126
|
-
//
|
128
|
+
// summary:
|
127
129
|
// This function tests whether the item passed in is indeed a valid 'attribute' like type for the store.
|
128
|
-
//
|
130
|
+
// attribute:
|
129
131
|
// The attribute to test for being contained by the store.
|
130
132
|
if(typeof attribute !== "string"){
|
131
|
-
throw new Error("
|
133
|
+
throw new Error(this.declaredClass + ": Invalid attribute argument.");
|
132
134
|
}
|
133
135
|
},
|
134
136
|
|
135
|
-
getValue: function( /*
|
136
|
-
|
137
|
-
|
138
|
-
//
|
139
|
-
// See dojo
|
137
|
+
getValue: function( /* dojo/data/api/Item */ item,
|
138
|
+
/* attribute-name-string */ attribute,
|
139
|
+
/* value? */ defaultValue){
|
140
|
+
// summary:
|
141
|
+
// See dojo/data/api/Read.getValue()
|
140
142
|
var values = this.getValues(item, attribute);
|
141
143
|
return (values.length > 0)?values[0]:defaultValue; // mixed
|
142
144
|
},
|
143
145
|
|
144
|
-
getValues: function(/*
|
146
|
+
getValues: function(/* dojo/data/api/Item */ item,
|
145
147
|
/* attribute-name-string */ attribute){
|
146
|
-
//
|
147
|
-
// See dojo
|
148
|
+
// summary:
|
149
|
+
// See dojo/data/api/Read.getValues()
|
148
150
|
|
149
151
|
this._assertIsItem(item);
|
150
152
|
this._assertIsAttribute(attribute);
|
@@ -152,9 +154,9 @@ var ItemFileReadStore = declare("dojo.data.ItemFileReadStore", [Evented],{
|
|
152
154
|
return (item[attribute] || []).slice(0); // Array
|
153
155
|
},
|
154
156
|
|
155
|
-
getAttributes: function(/*
|
156
|
-
//
|
157
|
-
// See dojo
|
157
|
+
getAttributes: function(/* dojo/data/api/Item */ item){
|
158
|
+
// summary:
|
159
|
+
// See dojo/data/api/Read.getAttributes()
|
158
160
|
this._assertIsItem(item);
|
159
161
|
var attributes = [];
|
160
162
|
for(var key in item){
|
@@ -166,20 +168,20 @@ var ItemFileReadStore = declare("dojo.data.ItemFileReadStore", [Evented],{
|
|
166
168
|
return attributes; // Array
|
167
169
|
},
|
168
170
|
|
169
|
-
hasAttribute: function( /*
|
170
|
-
|
171
|
-
//
|
172
|
-
// See dojo
|
171
|
+
hasAttribute: function( /* dojo/data/api/Item */ item,
|
172
|
+
/* attribute-name-string */ attribute){
|
173
|
+
// summary:
|
174
|
+
// See dojo/data/api/Read.hasAttribute()
|
173
175
|
this._assertIsItem(item);
|
174
176
|
this._assertIsAttribute(attribute);
|
175
177
|
return (attribute in item);
|
176
178
|
},
|
177
179
|
|
178
|
-
containsValue: function(/*
|
180
|
+
containsValue: function(/* dojo/data/api/Item */ item,
|
179
181
|
/* attribute-name-string */ attribute,
|
180
182
|
/* anything */ value){
|
181
|
-
//
|
182
|
-
// See dojo
|
183
|
+
// summary:
|
184
|
+
// See dojo/data/api/Read.containsValue()
|
183
185
|
var regexp = undefined;
|
184
186
|
if(typeof value === "string"){
|
185
187
|
regexp = filterUtil.patternToRegExp(value, false);
|
@@ -187,24 +189,23 @@ var ItemFileReadStore = declare("dojo.data.ItemFileReadStore", [Evented],{
|
|
187
189
|
return this._containsValue(item, attribute, value, regexp); //boolean.
|
188
190
|
},
|
189
191
|
|
190
|
-
_containsValue: function( /*
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
//
|
192
|
+
_containsValue: function( /* dojo/data/api/Item */ item,
|
193
|
+
/* attribute-name-string */ attribute,
|
194
|
+
/* anything */ value,
|
195
|
+
/* RegExp?*/ regexp){
|
196
|
+
// summary:
|
195
197
|
// Internal function for looking at the values contained by the item.
|
196
|
-
//
|
198
|
+
// description:
|
197
199
|
// Internal function for looking at the values contained by the item. This
|
198
200
|
// function allows for denoting if the comparison should be case sensitive for
|
199
201
|
// strings or not (for handling filtering cases where string case should not matter)
|
200
|
-
//
|
201
|
-
// item:
|
202
|
+
// item:
|
202
203
|
// The data item to examine for attribute values.
|
203
|
-
//
|
204
|
+
// attribute:
|
204
205
|
// The attribute to inspect.
|
205
|
-
//
|
206
|
+
// value:
|
206
207
|
// The value to match.
|
207
|
-
//
|
208
|
+
// regexp:
|
208
209
|
// Optional regular expression generated off value if value was of string type to handle wildcarding.
|
209
210
|
// If present and attribute values are string, then it can be used for comparison instead of 'value'
|
210
211
|
return array.some(this.getValues(item, attribute), function(possibleValue){
|
@@ -219,8 +220,8 @@ var ItemFileReadStore = declare("dojo.data.ItemFileReadStore", [Evented],{
|
|
219
220
|
},
|
220
221
|
|
221
222
|
isItem: function(/* anything */ something){
|
222
|
-
//
|
223
|
-
// See dojo
|
223
|
+
// summary:
|
224
|
+
// See dojo/data/api/Read.isItem()
|
224
225
|
if(something && something[this._storeRefPropName] === this){
|
225
226
|
if(this._arrayOfAllItems[something[this._itemNumPropName]] === something){
|
226
227
|
return true;
|
@@ -230,101 +231,105 @@ var ItemFileReadStore = declare("dojo.data.ItemFileReadStore", [Evented],{
|
|
230
231
|
},
|
231
232
|
|
232
233
|
isItemLoaded: function(/* anything */ something){
|
233
|
-
//
|
234
|
-
// See dojo
|
234
|
+
// summary:
|
235
|
+
// See dojo/data/api/Read.isItemLoaded()
|
235
236
|
return this.isItem(something); //boolean
|
236
237
|
},
|
237
238
|
|
238
239
|
loadItem: function(/* object */ keywordArgs){
|
239
|
-
//
|
240
|
-
// See dojo
|
240
|
+
// summary:
|
241
|
+
// See dojo/data/api/Read.loadItem()
|
241
242
|
this._assertIsItem(keywordArgs.item);
|
242
243
|
},
|
243
244
|
|
244
245
|
getFeatures: function(){
|
245
|
-
//
|
246
|
-
// See dojo
|
246
|
+
// summary:
|
247
|
+
// See dojo/data/api/Read.getFeatures()
|
247
248
|
return this._features; //Object
|
248
249
|
},
|
249
250
|
|
250
|
-
getLabel: function(/*
|
251
|
-
//
|
252
|
-
// See dojo
|
251
|
+
getLabel: function(/* dojo/data/api/Item */ item){
|
252
|
+
// summary:
|
253
|
+
// See dojo/data/api/Read.getLabel()
|
253
254
|
if(this._labelAttr && this.isItem(item)){
|
254
255
|
return this.getValue(item,this._labelAttr); //String
|
255
256
|
}
|
256
257
|
return undefined; //undefined
|
257
258
|
},
|
258
259
|
|
259
|
-
getLabelAttributes: function(/*
|
260
|
-
//
|
261
|
-
// See dojo
|
260
|
+
getLabelAttributes: function(/* dojo/data/api/Item */ item){
|
261
|
+
// summary:
|
262
|
+
// See dojo/data/api/Read.getLabelAttributes()
|
262
263
|
if(this._labelAttr){
|
263
264
|
return [this._labelAttr]; //array
|
264
265
|
}
|
265
266
|
return null; //null
|
266
267
|
},
|
267
268
|
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
var
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
regexpList[key] = filterUtil.patternToRegExp(value, ignoreCase);
|
288
|
-
}else if(value instanceof RegExp){
|
289
|
-
regexpList[key] = value;
|
290
|
-
}
|
269
|
+
filter: function(/* Object */ requestArgs, /* item[] */ arrayOfItems, /* Function */ findCallback){
|
270
|
+
// summary:
|
271
|
+
// This method handles the basic filtering needs for ItemFile* based stores.
|
272
|
+
var items = [],
|
273
|
+
i, key;
|
274
|
+
|
275
|
+
if(requestArgs.query){
|
276
|
+
var value,
|
277
|
+
ignoreCase = requestArgs.queryOptions ? requestArgs.queryOptions.ignoreCase : false;
|
278
|
+
|
279
|
+
//See if there are any string values that can be regexp parsed first to avoid multiple regexp gens on the
|
280
|
+
//same value for each item examined. Much more efficient.
|
281
|
+
var regexpList = {};
|
282
|
+
for(key in requestArgs.query){
|
283
|
+
value = requestArgs.query[key];
|
284
|
+
if(typeof value === "string"){
|
285
|
+
regexpList[key] = filterUtil.patternToRegExp(value, ignoreCase);
|
286
|
+
}else if(value instanceof RegExp){
|
287
|
+
regexpList[key] = value;
|
291
288
|
}
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
|
300
|
-
|
301
|
-
|
302
|
-
|
289
|
+
}
|
290
|
+
for(i = 0; i < arrayOfItems.length; ++i){
|
291
|
+
var match = true;
|
292
|
+
var candidateItem = arrayOfItems[i];
|
293
|
+
if(candidateItem === null){
|
294
|
+
match = false;
|
295
|
+
}else{
|
296
|
+
for(key in requestArgs.query){
|
297
|
+
value = requestArgs.query[key];
|
298
|
+
if(!this._containsValue(candidateItem, key, value, regexpList[key])){
|
299
|
+
match = false;
|
303
300
|
}
|
304
301
|
}
|
305
|
-
if(match){
|
306
|
-
items.push(candidateItem);
|
307
|
-
}
|
308
302
|
}
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
|
303
|
+
if(match){
|
304
|
+
items.push(candidateItem);
|
305
|
+
}
|
306
|
+
}
|
307
|
+
findCallback(items, requestArgs);
|
308
|
+
}else{
|
309
|
+
// We want a copy to pass back in case the parent wishes to sort the array.
|
310
|
+
// We shouldn't allow resort of the internal list, so that multiple callers
|
311
|
+
// can get lists and sort without affecting each other. We also need to
|
312
|
+
// filter out any null values that have been left as a result of deleteItem()
|
313
|
+
// calls in ItemFileWriteStore.
|
314
|
+
for(i = 0; i < arrayOfItems.length; ++i){
|
315
|
+
var item = arrayOfItems[i];
|
316
|
+
if(item !== null){
|
317
|
+
items.push(item);
|
321
318
|
}
|
322
|
-
findCallback(items, requestArgs);
|
323
319
|
}
|
324
|
-
|
320
|
+
findCallback(items, requestArgs);
|
321
|
+
}
|
322
|
+
},
|
323
|
+
|
324
|
+
_fetchItems: function( /* Object */ keywordArgs,
|
325
|
+
/* Function */ findCallback,
|
326
|
+
/* Function */ errorCallback){
|
327
|
+
// summary:
|
328
|
+
// See dojo/data/util.simpleFetch.fetch()
|
329
|
+
var self = this;
|
325
330
|
|
326
331
|
if(this._loadFinished){
|
327
|
-
filter(keywordArgs, this._getItemsArray(keywordArgs.queryOptions));
|
332
|
+
this.filter(keywordArgs, this._getItemsArray(keywordArgs.queryOptions), findCallback);
|
328
333
|
}else{
|
329
334
|
//Do a check on the JsonFileUrl and crosscheck it.
|
330
335
|
//If it doesn't match the cross-check, it needs to be updated
|
@@ -333,9 +338,9 @@ var ItemFileReadStore = declare("dojo.data.ItemFileReadStore", [Evented],{
|
|
333
338
|
//compatibility. People use _jsonFileUrl (even though officially
|
334
339
|
//private.
|
335
340
|
if(this._jsonFileUrl !== this._ccUrl){
|
336
|
-
kernel.deprecated("
|
341
|
+
kernel.deprecated(this.declaredClass + ": ",
|
337
342
|
"To change the url, set the url property of the store," +
|
338
|
-
|
343
|
+
" not _jsonFileUrl. _jsonFileUrl support will be removed in 2.0");
|
339
344
|
this._ccUrl = this._jsonFileUrl;
|
340
345
|
this.url = this._jsonFileUrl;
|
341
346
|
}else if(this.url !== this._ccUrl){
|
@@ -354,15 +359,15 @@ var ItemFileReadStore = declare("dojo.data.ItemFileReadStore", [Evented],{
|
|
354
359
|
//a load is in progress, we have to defer the fetching to be
|
355
360
|
//invoked in the callback.
|
356
361
|
if(this._loadInProgress){
|
357
|
-
this._queuedFetches.push({args: keywordArgs, filter: filter});
|
362
|
+
this._queuedFetches.push({args: keywordArgs, filter: lang.hitch(self, "filter"), findCallback: lang.hitch(self, findCallback)});
|
358
363
|
}else{
|
359
364
|
this._loadInProgress = true;
|
360
365
|
var getArgs = {
|
361
|
-
|
362
|
-
|
363
|
-
|
364
|
-
|
365
|
-
|
366
|
+
url: self._jsonFileUrl,
|
367
|
+
handleAs: "json-comment-optional",
|
368
|
+
preventCache: this.urlPreventCache,
|
369
|
+
failOk: this.failOk
|
370
|
+
};
|
366
371
|
var getHandler = xhr.get(getArgs);
|
367
372
|
getHandler.addCallback(function(data){
|
368
373
|
try{
|
@@ -370,7 +375,7 @@ var ItemFileReadStore = declare("dojo.data.ItemFileReadStore", [Evented],{
|
|
370
375
|
self._loadFinished = true;
|
371
376
|
self._loadInProgress = false;
|
372
377
|
|
373
|
-
filter(keywordArgs, self._getItemsArray(keywordArgs.queryOptions));
|
378
|
+
self.filter(keywordArgs, self._getItemsArray(keywordArgs.queryOptions), findCallback);
|
374
379
|
self._handleQueuedFetches();
|
375
380
|
}catch(e){
|
376
381
|
self._loadFinished = true;
|
@@ -407,27 +412,29 @@ var ItemFileReadStore = declare("dojo.data.ItemFileReadStore", [Evented],{
|
|
407
412
|
this._loadFinished = true;
|
408
413
|
this._getItemsFromLoadedData(this._jsonData);
|
409
414
|
this._jsonData = null;
|
410
|
-
filter(keywordArgs, this._getItemsArray(keywordArgs.queryOptions));
|
415
|
+
self.filter(keywordArgs, this._getItemsArray(keywordArgs.queryOptions), findCallback);
|
411
416
|
}catch(e){
|
412
417
|
errorCallback(e, keywordArgs);
|
413
418
|
}
|
414
419
|
}else{
|
415
|
-
errorCallback(new Error("
|
420
|
+
errorCallback(new Error(this.declaredClass + ": No JSON source data was provided as either URL or a nested Javascript object."), keywordArgs);
|
416
421
|
}
|
417
422
|
}
|
418
423
|
},
|
419
424
|
|
420
425
|
_handleQueuedFetches: function(){
|
421
|
-
//
|
426
|
+
// summary:
|
422
427
|
// Internal function to execute delayed request in the store.
|
428
|
+
|
423
429
|
//Execute any deferred fetches now.
|
424
430
|
if(this._queuedFetches.length > 0){
|
425
431
|
for(var i = 0; i < this._queuedFetches.length; i++){
|
426
432
|
var fData = this._queuedFetches[i],
|
427
|
-
|
428
|
-
|
433
|
+
delayedQuery = fData.args,
|
434
|
+
delayedFilter = fData.filter,
|
435
|
+
delayedFindCallback = fData.findCallback;
|
429
436
|
if(delayedFilter){
|
430
|
-
delayedFilter(delayedQuery, this._getItemsArray(delayedQuery.queryOptions));
|
437
|
+
delayedFilter(delayedQuery, this._getItemsArray(delayedQuery.queryOptions), delayedFindCallback);
|
431
438
|
}else{
|
432
439
|
this.fetchItemByIdentity(delayedQuery);
|
433
440
|
}
|
@@ -437,58 +444,56 @@ var ItemFileReadStore = declare("dojo.data.ItemFileReadStore", [Evented],{
|
|
437
444
|
},
|
438
445
|
|
439
446
|
_getItemsArray: function(/*object?*/queryOptions){
|
440
|
-
//
|
447
|
+
// summary:
|
441
448
|
// Internal function to determine which list of items to search over.
|
442
|
-
//
|
449
|
+
// queryOptions: The query options parameter, if any.
|
443
450
|
if(queryOptions && queryOptions.deep){
|
444
451
|
return this._arrayOfAllItems;
|
445
452
|
}
|
446
453
|
return this._arrayOfTopLevelItems;
|
447
454
|
},
|
448
455
|
|
449
|
-
close: function(/*dojo
|
450
|
-
|
451
|
-
|
452
|
-
|
456
|
+
close: function(/*dojo/data/api/Request|Object?*/ request){
|
457
|
+
// summary:
|
458
|
+
// See dojo/data/api/Read.close()
|
459
|
+
if(this.clearOnClose &&
|
453
460
|
this._loadFinished &&
|
454
461
|
!this._loadInProgress){
|
455
|
-
|
456
|
-
|
457
|
-
|
458
|
-
|
462
|
+
//Reset all internalsback to default state. This will force a reload
|
463
|
+
//on next fetch. This also checks that the data or url param was set
|
464
|
+
//so that the store knows it can get data. Without one of those being set,
|
465
|
+
//the next fetch will trigger an error.
|
459
466
|
|
460
|
-
|
461
|
-
|
467
|
+
if(((this._jsonFileUrl == "" || this._jsonFileUrl == null) &&
|
468
|
+
(this.url == "" || this.url == null)
|
462
469
|
) && this.data == null){
|
463
|
-
|
470
|
+
console.debug(this.declaredClass + ": WARNING! Data reload " +
|
464
471
|
" information has not been provided." +
|
465
472
|
" Please set 'url' or 'data' to the appropriate value before" +
|
466
473
|
" the next fetch");
|
467
|
-
|
468
|
-
|
469
|
-
|
470
|
-
|
471
|
-
|
472
|
-
|
473
|
-
|
474
|
-
|
474
|
+
}
|
475
|
+
this._arrayOfAllItems = [];
|
476
|
+
this._arrayOfTopLevelItems = [];
|
477
|
+
this._loadFinished = false;
|
478
|
+
this._itemsByIdentity = null;
|
479
|
+
this._loadInProgress = false;
|
480
|
+
this._queuedFetches = [];
|
481
|
+
}
|
475
482
|
},
|
476
483
|
|
477
484
|
_getItemsFromLoadedData: function(/* Object */ dataObject){
|
478
|
-
//
|
485
|
+
// summary:
|
479
486
|
// Function to parse the loaded data into item format and build the internal items array.
|
480
|
-
//
|
487
|
+
// description:
|
481
488
|
// Function to parse the loaded data into item format and build the internal items array.
|
482
|
-
//
|
483
|
-
// dataObject:
|
489
|
+
// dataObject:
|
484
490
|
// The JS data object containing the raw data to convery into item format.
|
485
|
-
//
|
486
|
-
// returns: array
|
491
|
+
// returns: Array
|
487
492
|
// Array of items in store item format.
|
488
493
|
|
489
494
|
// First, we define a couple little utility functions...
|
490
495
|
var addingArrays = false,
|
491
|
-
|
496
|
+
self = this;
|
492
497
|
|
493
498
|
function valueIsAnItem(/* anything */ aValue){
|
494
499
|
// summary:
|
@@ -515,7 +520,7 @@ var ItemFileReadStore = declare("dojo.data.ItemFileReadStore", [Evented],{
|
|
515
520
|
self.hierarchical;
|
516
521
|
}
|
517
522
|
|
518
|
-
function addItemAndSubItemsToArrayOfAllItems(/* Item */ anItem){
|
523
|
+
function addItemAndSubItemsToArrayOfAllItems(/* dojo/data/api/Item */ anItem){
|
519
524
|
self._arrayOfAllItems.push(anItem);
|
520
525
|
for(var attribute in anItem){
|
521
526
|
var valueForAttribute = anItem[attribute];
|
@@ -545,7 +550,7 @@ var ItemFileReadStore = declare("dojo.data.ItemFileReadStore", [Evented],{
|
|
545
550
|
|
546
551
|
// Step 1: Walk through the object hierarchy and build a list of all items
|
547
552
|
var i,
|
548
|
-
|
553
|
+
item;
|
549
554
|
this._arrayOfAllItems = [];
|
550
555
|
this._arrayOfTopLevelItems = dataObject.items;
|
551
556
|
|
@@ -567,7 +572,7 @@ var ItemFileReadStore = declare("dojo.data.ItemFileReadStore", [Evented],{
|
|
567
572
|
// We also store the attribute names so we can validate our store
|
568
573
|
// reference and item id special properties for the O(1) isItem
|
569
574
|
var allAttributeNames = {},
|
570
|
-
|
575
|
+
key;
|
571
576
|
|
572
577
|
for(i = 0; i < this._arrayOfAllItems.length; ++i){
|
573
578
|
item = this._arrayOfAllItems[i];
|
@@ -616,9 +621,9 @@ var ItemFileReadStore = declare("dojo.data.ItemFileReadStore", [Evented],{
|
|
616
621
|
this._itemsByIdentity[identity] = item;
|
617
622
|
}else{
|
618
623
|
if(this._jsonFileUrl){
|
619
|
-
throw new Error("
|
624
|
+
throw new Error(this.declaredClass + ": The json data as specified by: [" + this._jsonFileUrl + "] is malformed. Items within the list have identifier: [" + identifier + "]. Value collided: [" + identity + "]");
|
620
625
|
}else if(this._jsonData){
|
621
|
-
throw new Error("
|
626
|
+
throw new Error(this.declaredClass + ": The json data provided by the creation arguments is malformed. Items within the list have identifier: [" + identifier + "]. Value collided: [" + identity + "]");
|
622
627
|
}
|
623
628
|
}
|
624
629
|
}
|
@@ -680,7 +685,7 @@ var ItemFileReadStore = declare("dojo.data.ItemFileReadStore", [Evented],{
|
|
680
685
|
// from an item like: { name:['Kermit'], friends:[{_reference:{name:'Miss Piggy'}}] }
|
681
686
|
for(var k = 0; k < this._arrayOfAllItems.length; ++k){
|
682
687
|
var candidateItem = this._arrayOfAllItems[k],
|
683
|
-
|
688
|
+
found = true;
|
684
689
|
for(var refKey in referenceDescription){
|
685
690
|
if(candidateItem[refKey] != referenceDescription[refKey]){
|
686
691
|
found = false;
|
@@ -712,42 +717,42 @@ var ItemFileReadStore = declare("dojo.data.ItemFileReadStore", [Evented],{
|
|
712
717
|
},
|
713
718
|
|
714
719
|
_addReferenceToMap: function(/*item*/ refItem, /*item*/ parentItem, /*string*/ attribute){
|
715
|
-
|
716
|
-
|
717
|
-
|
718
|
-
|
719
|
-
|
720
|
-
|
721
|
-
|
722
|
-
|
723
|
-
|
724
|
-
|
725
|
-
|
726
|
-
|
720
|
+
// summary:
|
721
|
+
// Method to add an reference map entry for an item and attribute.
|
722
|
+
// description:
|
723
|
+
// Method to add an reference map entry for an item and attribute.
|
724
|
+
// refItem:
|
725
|
+
// The item that is referenced.
|
726
|
+
// parentItem:
|
727
|
+
// The item that holds the new reference to refItem.
|
728
|
+
// attribute:
|
729
|
+
// The attribute on parentItem that contains the new reference.
|
730
|
+
|
731
|
+
//Stub function, does nothing. Real processing is in ItemFileWriteStore.
|
727
732
|
},
|
728
733
|
|
729
|
-
getIdentity: function(/*
|
730
|
-
//
|
731
|
-
// See dojo
|
734
|
+
getIdentity: function(/* dojo/data/api/Item */ item){
|
735
|
+
// summary:
|
736
|
+
// See dojo/data/api/Identity.getIdentity()
|
732
737
|
var identifier = this._features['dojo.data.api.Identity'];
|
733
738
|
if(identifier === Number){
|
734
739
|
return item[this._itemNumPropName]; // Number
|
735
740
|
}else{
|
736
741
|
var arrayOfValues = item[identifier];
|
737
742
|
if(arrayOfValues){
|
738
|
-
return arrayOfValues[0]; // Object
|
743
|
+
return arrayOfValues[0]; // Object|String
|
739
744
|
}
|
740
745
|
}
|
741
746
|
return null; // null
|
742
747
|
},
|
743
748
|
|
744
749
|
fetchItemByIdentity: function(/* Object */ keywordArgs){
|
745
|
-
//
|
746
|
-
// See dojo
|
750
|
+
// summary:
|
751
|
+
// See dojo/data/api/Identity.fetchItemByIdentity()
|
747
752
|
|
748
753
|
// Hasn't loaded yet, we have to trigger the load.
|
749
754
|
var item,
|
750
|
-
|
755
|
+
scope;
|
751
756
|
if(!this._loadFinished){
|
752
757
|
var self = this;
|
753
758
|
//Do a check on the JsonFileUrl and crosscheck it.
|
@@ -757,9 +762,9 @@ var ItemFileReadStore = declare("dojo.data.ItemFileReadStore", [Evented],{
|
|
757
762
|
//compatibility. People use _jsonFileUrl (even though officially
|
758
763
|
//private.
|
759
764
|
if(this._jsonFileUrl !== this._ccUrl){
|
760
|
-
kernel.deprecated("
|
765
|
+
kernel.deprecated(this.declaredClass + ": ",
|
761
766
|
"To change the url, set the url property of the store," +
|
762
|
-
|
767
|
+
" not _jsonFileUrl. _jsonFileUrl support will be removed in 2.0");
|
763
768
|
this._ccUrl = this._jsonFileUrl;
|
764
769
|
this.url = this._jsonFileUrl;
|
765
770
|
}else if(this.url !== this._ccUrl){
|
@@ -780,14 +785,14 @@ var ItemFileReadStore = declare("dojo.data.ItemFileReadStore", [Evented],{
|
|
780
785
|
}else{
|
781
786
|
this._loadInProgress = true;
|
782
787
|
var getArgs = {
|
783
|
-
|
784
|
-
|
785
|
-
|
786
|
-
|
788
|
+
url: self._jsonFileUrl,
|
789
|
+
handleAs: "json-comment-optional",
|
790
|
+
preventCache: this.urlPreventCache,
|
791
|
+
failOk: this.failOk
|
787
792
|
};
|
788
793
|
var getHandler = xhr.get(getArgs);
|
789
794
|
getHandler.addCallback(function(data){
|
790
|
-
var scope = keywordArgs.scope?keywordArgs.scope:
|
795
|
+
var scope = keywordArgs.scope?keywordArgs.scope:kernel.global;
|
791
796
|
try{
|
792
797
|
self._getItemsFromLoadedData(data);
|
793
798
|
self._loadFinished = true;
|
@@ -807,7 +812,7 @@ var ItemFileReadStore = declare("dojo.data.ItemFileReadStore", [Evented],{
|
|
807
812
|
getHandler.addErrback(function(error){
|
808
813
|
self._loadInProgress = false;
|
809
814
|
if(keywordArgs.onError){
|
810
|
-
var scope = keywordArgs.scope?keywordArgs.scope:
|
815
|
+
var scope = keywordArgs.scope?keywordArgs.scope:kernel.global;
|
811
816
|
keywordArgs.onError.call(scope, error);
|
812
817
|
}
|
813
818
|
});
|
@@ -820,7 +825,7 @@ var ItemFileReadStore = declare("dojo.data.ItemFileReadStore", [Evented],{
|
|
820
825
|
self._loadFinished = true;
|
821
826
|
item = self._getItemByIdentity(keywordArgs.identity);
|
822
827
|
if(keywordArgs.onItem){
|
823
|
-
scope = keywordArgs.scope?keywordArgs.scope:
|
828
|
+
scope = keywordArgs.scope?keywordArgs.scope:kernel.global;
|
824
829
|
keywordArgs.onItem.call(scope, item);
|
825
830
|
}
|
826
831
|
}
|
@@ -828,14 +833,14 @@ var ItemFileReadStore = declare("dojo.data.ItemFileReadStore", [Evented],{
|
|
828
833
|
// Already loaded. We can just look it up and call back.
|
829
834
|
item = this._getItemByIdentity(keywordArgs.identity);
|
830
835
|
if(keywordArgs.onItem){
|
831
|
-
scope = keywordArgs.scope?keywordArgs.scope:
|
836
|
+
scope = keywordArgs.scope?keywordArgs.scope:kernel.global;
|
832
837
|
keywordArgs.onItem.call(scope, item);
|
833
838
|
}
|
834
839
|
}
|
835
840
|
},
|
836
841
|
|
837
842
|
_getItemByIdentity: function(/* Object */ identity){
|
838
|
-
//
|
843
|
+
// summary:
|
839
844
|
// Internal function to look an item up by its identity map.
|
840
845
|
var item = null;
|
841
846
|
if(this._itemsByIdentity){
|
@@ -853,14 +858,14 @@ var ItemFileReadStore = declare("dojo.data.ItemFileReadStore", [Evented],{
|
|
853
858
|
return item; // Object
|
854
859
|
},
|
855
860
|
|
856
|
-
getIdentityAttributes: function(/*
|
857
|
-
//
|
858
|
-
// See dojo
|
861
|
+
getIdentityAttributes: function(/* dojo/data/api/Item */ item){
|
862
|
+
// summary:
|
863
|
+
// See dojo/data/api/Identity.getIdentityAttributes()
|
859
864
|
|
860
865
|
var identifier = this._features['dojo.data.api.Identity'];
|
861
866
|
if(identifier === Number){
|
862
867
|
// If (identifier === Number) it means getIdentity() just returns
|
863
|
-
// an integer item-number for each item. The dojo
|
868
|
+
// an integer item-number for each item. The dojo/data/api/Identity
|
864
869
|
// spec says we need to return null if the identity is not composed
|
865
870
|
// of attributes
|
866
871
|
return null; // null
|
@@ -870,7 +875,7 @@ var ItemFileReadStore = declare("dojo.data.ItemFileReadStore", [Evented],{
|
|
870
875
|
},
|
871
876
|
|
872
877
|
_forceLoad: function(){
|
873
|
-
//
|
878
|
+
// summary:
|
874
879
|
// Internal function to force a load of the store if it hasn't occurred yet. This is required
|
875
880
|
// for specific functions to work properly.
|
876
881
|
var self = this;
|
@@ -881,9 +886,9 @@ var ItemFileReadStore = declare("dojo.data.ItemFileReadStore", [Evented],{
|
|
881
886
|
//compatibility. People use _jsonFileUrl (even though officially
|
882
887
|
//private.
|
883
888
|
if(this._jsonFileUrl !== this._ccUrl){
|
884
|
-
kernel.deprecated("
|
889
|
+
kernel.deprecated(this.declaredClass + ": ",
|
885
890
|
"To change the url, set the url property of the store," +
|
886
|
-
|
891
|
+
" not _jsonFileUrl. _jsonFileUrl support will be removed in 2.0");
|
887
892
|
this._ccUrl = this._jsonFileUrl;
|
888
893
|
this.url = this._jsonFileUrl;
|
889
894
|
}else if(this.url !== this._ccUrl){
|
@@ -898,13 +903,13 @@ var ItemFileReadStore = declare("dojo.data.ItemFileReadStore", [Evented],{
|
|
898
903
|
}
|
899
904
|
|
900
905
|
if(this._jsonFileUrl){
|
901
|
-
|
902
|
-
|
903
|
-
|
904
|
-
|
905
|
-
|
906
|
-
|
907
|
-
|
906
|
+
var getArgs = {
|
907
|
+
url: this._jsonFileUrl,
|
908
|
+
handleAs: "json-comment-optional",
|
909
|
+
preventCache: this.urlPreventCache,
|
910
|
+
failOk: this.failOk,
|
911
|
+
sync: true
|
912
|
+
};
|
908
913
|
var getHandler = xhr.get(getArgs);
|
909
914
|
getHandler.addCallback(function(data){
|
910
915
|
try{
|
@@ -921,7 +926,7 @@ var ItemFileReadStore = declare("dojo.data.ItemFileReadStore", [Evented],{
|
|
921
926
|
//Okay, we hit an error state we can't recover from. A forced load occurred
|
922
927
|
//while an async load was occurring. Since we cannot block at this point, the best
|
923
928
|
//that can be managed is to throw an error.
|
924
|
-
throw new Error("
|
929
|
+
throw new Error(this.declaredClass + ": Unable to perform a synchronous load, an async load is in progress.");
|
925
930
|
}
|
926
931
|
}catch(e){
|
927
932
|
console.log(e);
|
@@ -942,4 +947,5 @@ var ItemFileReadStore = declare("dojo.data.ItemFileReadStore", [Evented],{
|
|
942
947
|
lang.extend(ItemFileReadStore,simpleFetch);
|
943
948
|
|
944
949
|
return ItemFileReadStore;
|
950
|
+
|
945
951
|
});
|