dojo-rails 0.9.8 → 0.9.9
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +18 -0
- data/Gemfile +4 -0
- data/LICENSE +22 -0
- data/Rakefile +3 -0
- data/dojo-rails.gemspec +20 -0
- data/lib/dojo-rails.rb +1 -0
- data/lib/dojo/rails.rb +2 -0
- data/lib/dojo/rails/engine.rb +6 -0
- data/lib/dojo/rails/version.rb +9 -0
- data/lib/dojo/version.rb +7 -0
- data/vendor/assets/javascripts/dojo.js +15 -0
- data/vendor/assets/javascripts/dojo/AdapterRegistry.js +38 -0
- data/vendor/assets/javascripts/dojo/AdapterRegistry.js.uncompressed.js +113 -0
- data/vendor/assets/javascripts/dojo/DeferredList.js +57 -0
- data/vendor/assets/javascripts/dojo/DeferredList.js.uncompressed.js +86 -0
- data/vendor/assets/javascripts/dojo/Evented.js +23 -0
- data/vendor/assets/javascripts/dojo/Evented.js.uncompressed.js +32 -0
- data/vendor/assets/javascripts/dojo/LICENSE +195 -0
- data/vendor/assets/javascripts/dojo/NodeList-data.js +59 -0
- data/vendor/assets/javascripts/dojo/NodeList-data.js.uncompressed.js +181 -0
- data/vendor/assets/javascripts/dojo/NodeList-dom.js +122 -0
- data/vendor/assets/javascripts/dojo/NodeList-dom.js.uncompressed.js +454 -0
- data/vendor/assets/javascripts/dojo/NodeList-fx.js +39 -0
- data/vendor/assets/javascripts/dojo/NodeList-fx.js.uncompressed.js +222 -0
- data/vendor/assets/javascripts/dojo/NodeList-html.js +20 -0
- data/vendor/assets/javascripts/dojo/NodeList-html.js.uncompressed.js +55 -0
- data/vendor/assets/javascripts/dojo/NodeList-manipulate.js +210 -0
- data/vendor/assets/javascripts/dojo/NodeList-manipulate.js.uncompressed.js +730 -0
- data/vendor/assets/javascripts/dojo/NodeList-traverse.js +124 -0
- data/vendor/assets/javascripts/dojo/NodeList-traverse.js.uncompressed.js +508 -0
- data/vendor/assets/javascripts/dojo/OpenAjax.js +194 -0
- data/vendor/assets/javascripts/dojo/Stateful.js +67 -0
- data/vendor/assets/javascripts/dojo/Stateful.js.uncompressed.js +139 -0
- data/vendor/assets/javascripts/dojo/_base/Color.js +96 -0
- data/vendor/assets/javascripts/dojo/_base/Color.js.uncompressed.js +220 -0
- data/vendor/assets/javascripts/dojo/_base/Deferred.js +129 -0
- data/vendor/assets/javascripts/dojo/_base/Deferred.js.uncompressed.js +366 -0
- data/vendor/assets/javascripts/dojo/_base/NodeList.js +24 -0
- data/vendor/assets/javascripts/dojo/_base/NodeList.js.uncompressed.js +100 -0
- data/vendor/assets/javascripts/dojo/_base/array.js +142 -0
- data/vendor/assets/javascripts/dojo/_base/array.js.uncompressed.js +343 -0
- data/vendor/assets/javascripts/dojo/_base/browser.js +13 -0
- data/vendor/assets/javascripts/dojo/_base/browser.js.uncompressed.js +21 -0
- data/vendor/assets/javascripts/dojo/_base/config.js +26 -0
- data/vendor/assets/javascripts/dojo/_base/config.js.uncompressed.js +174 -0
- data/vendor/assets/javascripts/dojo/_base/configFirefoxExtension.js +334 -0
- data/vendor/assets/javascripts/dojo/_base/configNode.js +87 -0
- data/vendor/assets/javascripts/dojo/_base/configRhino.js +121 -0
- data/vendor/assets/javascripts/dojo/_base/configSpidermonkey.js +84 -0
- data/vendor/assets/javascripts/dojo/_base/connect.js +163 -0
- data/vendor/assets/javascripts/dojo/_base/connect.js.uncompressed.js +400 -0
- data/vendor/assets/javascripts/dojo/_base/declare.js +430 -0
- data/vendor/assets/javascripts/dojo/_base/declare.js.uncompressed.js +1050 -0
- data/vendor/assets/javascripts/dojo/_base/event.js +36 -0
- data/vendor/assets/javascripts/dojo/_base/event.js.uncompressed.js +51 -0
- data/vendor/assets/javascripts/dojo/_base/fx.js +295 -0
- data/vendor/assets/javascripts/dojo/_base/fx.js.uncompressed.js +666 -0
- data/vendor/assets/javascripts/dojo/_base/html.js +88 -0
- data/vendor/assets/javascripts/dojo/_base/html.js.uncompressed.js +389 -0
- data/vendor/assets/javascripts/dojo/_base/json.js +26 -0
- data/vendor/assets/javascripts/dojo/_base/json.js.uncompressed.js +85 -0
- data/vendor/assets/javascripts/dojo/_base/kernel.js +114 -0
- data/vendor/assets/javascripts/dojo/_base/kernel.js.uncompressed.js +302 -0
- data/vendor/assets/javascripts/dojo/_base/lang.js +178 -0
- data/vendor/assets/javascripts/dojo/_base/lang.js.uncompressed.js +707 -0
- data/vendor/assets/javascripts/dojo/_base/loader.js +258 -0
- data/vendor/assets/javascripts/dojo/_base/loader.js.uncompressed.js +718 -0
- data/vendor/assets/javascripts/dojo/_base/query.js +10 -0
- data/vendor/assets/javascripts/dojo/_base/query.js.uncompressed.js +3 -0
- data/vendor/assets/javascripts/dojo/_base/sniff.js +68 -0
- data/vendor/assets/javascripts/dojo/_base/sniff.js.uncompressed.js +187 -0
- data/vendor/assets/javascripts/dojo/_base/unload.js +21 -0
- data/vendor/assets/javascripts/dojo/_base/unload.js.uncompressed.js +81 -0
- data/vendor/assets/javascripts/dojo/_base/url.js +88 -0
- data/vendor/assets/javascripts/dojo/_base/url.js.uncompressed.js +111 -0
- data/vendor/assets/javascripts/dojo/_base/window.js +55 -0
- data/vendor/assets/javascripts/dojo/_base/window.js.uncompressed.js +126 -0
- data/vendor/assets/javascripts/dojo/_base/xhr.js +381 -0
- data/vendor/assets/javascripts/dojo/_base/xhr.js.uncompressed.js +830 -0
- data/vendor/assets/javascripts/dojo/_firebug/LICENSE +37 -0
- data/vendor/assets/javascripts/dojo/_firebug/errorIcon.png +0 -0
- data/vendor/assets/javascripts/dojo/_firebug/firebug.css +208 -0
- data/vendor/assets/javascripts/dojo/_firebug/firebug.js +897 -0
- data/vendor/assets/javascripts/dojo/_firebug/firebug.js.uncompressed.js +1183 -0
- data/vendor/assets/javascripts/dojo/_firebug/infoIcon.png +0 -0
- data/vendor/assets/javascripts/dojo/_firebug/tab_lft_norm.png +0 -0
- data/vendor/assets/javascripts/dojo/_firebug/tab_lft_over.png +0 -0
- data/vendor/assets/javascripts/dojo/_firebug/tab_rgt_norm.png +0 -0
- data/vendor/assets/javascripts/dojo/_firebug/tab_rgt_over.png +0 -0
- data/vendor/assets/javascripts/dojo/_firebug/warningIcon.png +0 -0
- data/vendor/assets/javascripts/dojo/aspect.js +98 -0
- data/vendor/assets/javascripts/dojo/aspect.js.uncompressed.js +207 -0
- data/vendor/assets/javascripts/dojo/back.js +238 -0
- data/vendor/assets/javascripts/dojo/back.js.uncompressed.js +397 -0
- data/vendor/assets/javascripts/dojo/behavior.js +92 -0
- data/vendor/assets/javascripts/dojo/behavior.js.uncompressed.js +248 -0
- data/vendor/assets/javascripts/dojo/cache.js +10 -0
- data/vendor/assets/javascripts/dojo/cache.js.uncompressed.js +9 -0
- data/vendor/assets/javascripts/dojo/cldr/LICENSE +29 -0
- data/vendor/assets/javascripts/dojo/cldr/README +18 -0
- data/vendor/assets/javascripts/dojo/cldr/monetary.js +23 -0
- data/vendor/assets/javascripts/dojo/cldr/monetary.js.uncompressed.js +35 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ar/buddhist.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ar/buddhist.js.uncompressed.js +115 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ar/currency.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ar/currency.js.uncompressed.js +16 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ar/gregorian.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ar/gregorian.js.uncompressed.js +240 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ar/hebrew.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ar/hebrew.js.uncompressed.js +124 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ar/islamic.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ar/islamic.js.uncompressed.js +156 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ar/number.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ar/number.js.uncompressed.js +18 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/buddhist.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/buddhist.js.uncompressed.js +267 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ca/currency.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ca/currency.js.uncompressed.js +15 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ca/gregorian.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ca/gregorian.js.uncompressed.js +235 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ca/number.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ca/number.js.uncompressed.js +22 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/cs/currency.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/cs/currency.js.uncompressed.js +15 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/cs/gregorian.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/cs/gregorian.js.uncompressed.js +215 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/cs/number.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/cs/number.js.uncompressed.js +22 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/currency.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/currency.js.uncompressed.js +48 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/da/buddhist.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/da/buddhist.js.uncompressed.js +141 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/da/currency.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/da/currency.js.uncompressed.js +16 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/da/gregorian.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/da/gregorian.js.uncompressed.js +237 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/da/islamic.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/da/islamic.js.uncompressed.js +87 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/da/number.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/da/number.js.uncompressed.js +22 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/de/buddhist.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/de/buddhist.js.uncompressed.js +130 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/de/currency.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/de/currency.js.uncompressed.js +17 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/de/gregorian.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/de/gregorian.js.uncompressed.js +237 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/de/islamic.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/de/islamic.js.uncompressed.js +172 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/de/number.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/de/number.js.uncompressed.js +22 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/el/buddhist.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/el/buddhist.js.uncompressed.js +120 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/el/currency.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/el/currency.js.uncompressed.js +15 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/el/gregorian.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/el/gregorian.js.uncompressed.js +241 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/el/hebrew.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/el/hebrew.js.uncompressed.js +73 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/el/number.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/el/number.js.uncompressed.js +20 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/en-au/currency.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/en-au/currency.js.uncompressed.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/en-au/gregorian.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/en-au/gregorian.js.uncompressed.js +17 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/en-au/number.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/en-au/number.js.uncompressed.js +7 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/en-ca/currency.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/en-ca/currency.js.uncompressed.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/en-ca/gregorian.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/en-ca/gregorian.js.uncompressed.js +20 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/en-gb/buddhist.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/en-gb/buddhist.js.uncompressed.js +101 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/en-gb/gregorian.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/en-gb/gregorian.js.uncompressed.js +23 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/en-gb/islamic.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/en-gb/islamic.js.uncompressed.js +153 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/en-gb/number.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/en-gb/number.js.uncompressed.js +7 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/en/buddhist.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/en/buddhist.js.uncompressed.js +109 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/en/currency.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/en/currency.js.uncompressed.js +17 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/en/gregorian.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/en/gregorian.js.uncompressed.js +229 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/en/islamic.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/en/islamic.js.uncompressed.js +166 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/en/number.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/en/number.js.uncompressed.js +23 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/es/buddhist.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/es/buddhist.js.uncompressed.js +125 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/es/currency.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/es/currency.js.uncompressed.js +15 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/es/gregorian.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/es/gregorian.js.uncompressed.js +238 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/es/islamic.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/es/islamic.js.uncompressed.js +179 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/es/number.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/es/number.js.uncompressed.js +21 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/fi/buddhist.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/fi/buddhist.js.uncompressed.js +166 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/fi/currency.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/fi/currency.js.uncompressed.js +22 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/fi/gregorian.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/fi/gregorian.js.uncompressed.js +239 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/fi/hebrew.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/fi/hebrew.js.uncompressed.js +176 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/fi/islamic.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/fi/islamic.js.uncompressed.js +155 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/fi/number.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/fi/number.js.uncompressed.js +22 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/fr-ch/gregorian.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/fr-ch/gregorian.js.uncompressed.js +9 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/fr-ch/number.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/fr-ch/number.js.uncompressed.js +9 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/fr/currency.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/fr/currency.js.uncompressed.js +23 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/fr/gregorian.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/fr/gregorian.js.uncompressed.js +247 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/fr/number.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/fr/number.js.uncompressed.js +22 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/gregorian.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/gregorian.js.uncompressed.js +294 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/he/currency.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/he/currency.js.uncompressed.js +15 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/he/gregorian.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/he/gregorian.js.uncompressed.js +213 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/he/hebrew.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/he/hebrew.js.uncompressed.js +125 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/he/islamic.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/he/islamic.js.uncompressed.js +119 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/he/number.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/he/number.js.uncompressed.js +22 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/hebrew.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/hebrew.js.uncompressed.js +265 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/hu/currency.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/hu/currency.js.uncompressed.js +17 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/hu/gregorian.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/hu/gregorian.js.uncompressed.js +227 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/hu/number.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/hu/number.js.uncompressed.js +21 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/islamic.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/islamic.js.uncompressed.js +264 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/it/currency.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/it/currency.js.uncompressed.js +15 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/it/gregorian.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/it/gregorian.js.uncompressed.js +235 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/it/number.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/it/number.js.uncompressed.js +12 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ja/currency.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ja/currency.js.uncompressed.js +18 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ja/gregorian.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ja/gregorian.js.uncompressed.js +222 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ja/number.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ja/number.js.uncompressed.js +12 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ko/currency.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ko/currency.js.uncompressed.js +15 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ko/gregorian.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ko/gregorian.js.uncompressed.js +243 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ko/number.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ko/number.js.uncompressed.js +22 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/nb/currency.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/nb/currency.js.uncompressed.js +23 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/nb/gregorian.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/nb/gregorian.js.uncompressed.js +234 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/nb/number.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/nb/number.js.uncompressed.js +22 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/nl/currency.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/nl/currency.js.uncompressed.js +15 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/nl/gregorian.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/nl/gregorian.js.uncompressed.js +233 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/nl/number.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/nl/number.js.uncompressed.js +22 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/number.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/number.js.uncompressed.js +64 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/pl/currency.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/pl/currency.js.uncompressed.js +15 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/pl/gregorian.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/pl/gregorian.js.uncompressed.js +242 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/pl/number.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/pl/number.js.uncompressed.js +22 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/pt-pt/gregorian.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/pt-pt/gregorian.js.uncompressed.js +141 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/pt-pt/number.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/pt-pt/number.js.uncompressed.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/pt/currency.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/pt/currency.js.uncompressed.js +15 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/pt/gregorian.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/pt/gregorian.js.uncompressed.js +237 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/pt/number.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/pt/number.js.uncompressed.js +22 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ro/buddhist.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ro/buddhist.js.uncompressed.js +121 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ro/currency.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ro/currency.js.uncompressed.js +15 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ro/gregorian.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ro/gregorian.js.uncompressed.js +251 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ro/number.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ro/number.js.uncompressed.js +22 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ru/currency.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ru/currency.js.uncompressed.js +16 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ru/gregorian.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ru/gregorian.js.uncompressed.js +232 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ru/number.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ru/number.js.uncompressed.js +21 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/sk/currency.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/sk/currency.js.uncompressed.js +15 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/sk/gregorian.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/sk/gregorian.js.uncompressed.js +225 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/sk/number.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/sk/number.js.uncompressed.js +9 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/sl/currency.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/sl/currency.js.uncompressed.js +17 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/sl/gregorian.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/sl/gregorian.js.uncompressed.js +218 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/sl/number.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/sl/number.js.uncompressed.js +22 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/sv/currency.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/sv/currency.js.uncompressed.js +18 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/sv/gregorian.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/sv/gregorian.js.uncompressed.js +245 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/sv/number.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/sv/number.js.uncompressed.js +22 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/th/buddhist.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/th/buddhist.js.uncompressed.js +118 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/th/currency.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/th/currency.js.uncompressed.js +16 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/th/gregorian.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/th/gregorian.js.uncompressed.js +232 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/th/number.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/th/number.js.uncompressed.js +22 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/tr/currency.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/tr/currency.js.uncompressed.js +17 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/tr/gregorian.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/tr/gregorian.js.uncompressed.js +239 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/tr/number.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/tr/number.js.uncompressed.js +22 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-hant/buddhist.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-hant/buddhist.js.uncompressed.js +146 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-hant/currency.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-hant/currency.js.uncompressed.js +16 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-hant/gregorian.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-hant/gregorian.js.uncompressed.js +228 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-hant/islamic.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-hant/islamic.js.uncompressed.js +87 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-hant/number.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-hant/number.js.uncompressed.js +7 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-hk/currency.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-hk/currency.js.uncompressed.js +15 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-hk/gregorian.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-hk/gregorian.js.uncompressed.js +85 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-hk/number.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-hk/number.js.uncompressed.js +7 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-tw/currency.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-tw/currency.js.uncompressed.js +14 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-tw/gregorian.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-tw/gregorian.js.uncompressed.js +80 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/zh/currency.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/zh/currency.js.uncompressed.js +16 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/zh/gregorian.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/zh/gregorian.js.uncompressed.js +247 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/zh/number.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/zh/number.js.uncompressed.js +12 -0
- data/vendor/assets/javascripts/dojo/cldr/supplemental.js +44 -0
- data/vendor/assets/javascripts/dojo/cldr/supplemental.js.uncompressed.js +77 -0
- data/vendor/assets/javascripts/dojo/colors.js +74 -0
- data/vendor/assets/javascripts/dojo/colors.js.uncompressed.js +232 -0
- data/vendor/assets/javascripts/dojo/cookie.js +49 -0
- data/vendor/assets/javascripts/dojo/cookie.js.uncompressed.js +98 -0
- data/vendor/assets/javascripts/dojo/currency.js +32 -0
- data/vendor/assets/javascripts/dojo/currency.js.uncompressed.js +132 -0
- data/vendor/assets/javascripts/dojo/data/ItemFileReadStore.js +561 -0
- data/vendor/assets/javascripts/dojo/data/ItemFileReadStore.js.uncompressed.js +945 -0
- data/vendor/assets/javascripts/dojo/data/ItemFileWriteStore.js +499 -0
- data/vendor/assets/javascripts/dojo/data/ItemFileWriteStore.js.uncompressed.js +805 -0
- data/vendor/assets/javascripts/dojo/data/ObjectStore.js +285 -0
- data/vendor/assets/javascripts/dojo/data/ObjectStore.js.uncompressed.js +505 -0
- data/vendor/assets/javascripts/dojo/data/api/Identity.js +21 -0
- data/vendor/assets/javascripts/dojo/data/api/Identity.js.uncompressed.js +107 -0
- data/vendor/assets/javascripts/dojo/data/api/Notification.js +19 -0
- data/vendor/assets/javascripts/dojo/data/api/Notification.js.uncompressed.js +122 -0
- data/vendor/assets/javascripts/dojo/data/api/Read.js +39 -0
- data/vendor/assets/javascripts/dojo/data/api/Read.js.uncompressed.js +485 -0
- data/vendor/assets/javascripts/dojo/data/api/Request.js +13 -0
- data/vendor/assets/javascripts/dojo/data/api/Request.js.uncompressed.js +36 -0
- data/vendor/assets/javascripts/dojo/data/api/Write.js +29 -0
- data/vendor/assets/javascripts/dojo/data/api/Write.js.uncompressed.js +221 -0
- data/vendor/assets/javascripts/dojo/data/util/filter.js +52 -0
- data/vendor/assets/javascripts/dojo/data/util/filter.js.uncompressed.js +74 -0
- data/vendor/assets/javascripts/dojo/data/util/simpleFetch.js +63 -0
- data/vendor/assets/javascripts/dojo/data/util/simpleFetch.js.uncompressed.js +95 -0
- data/vendor/assets/javascripts/dojo/data/util/sorter.js +66 -0
- data/vendor/assets/javascripts/dojo/data/util/sorter.js.uncompressed.js +99 -0
- data/vendor/assets/javascripts/dojo/date.js +213 -0
- data/vendor/assets/javascripts/dojo/date.js.uncompressed.js +347 -0
- data/vendor/assets/javascripts/dojo/date/locale.js +452 -0
- data/vendor/assets/javascripts/dojo/date/locale.js.uncompressed.js +670 -0
- data/vendor/assets/javascripts/dojo/date/stamp.js +82 -0
- data/vendor/assets/javascripts/dojo/date/stamp.js.uncompressed.js +146 -0
- data/vendor/assets/javascripts/dojo/dnd/AutoSource.js +12 -0
- data/vendor/assets/javascripts/dojo/dnd/AutoSource.js.uncompressed.js +13 -0
- data/vendor/assets/javascripts/dojo/dnd/Avatar.js +62 -0
- data/vendor/assets/javascripts/dojo/dnd/Avatar.js.uncompressed.js +111 -0
- data/vendor/assets/javascripts/dojo/dnd/Container.js +231 -0
- data/vendor/assets/javascripts/dojo/dnd/Container.js.uncompressed.js +432 -0
- data/vendor/assets/javascripts/dojo/dnd/Manager.js +122 -0
- data/vendor/assets/javascripts/dojo/dnd/Manager.js.uncompressed.js +213 -0
- data/vendor/assets/javascripts/dojo/dnd/Moveable.js +75 -0
- data/vendor/assets/javascripts/dojo/dnd/Moveable.js.uncompressed.js +173 -0
- data/vendor/assets/javascripts/dojo/dnd/Mover.js +62 -0
- data/vendor/assets/javascripts/dojo/dnd/Mover.js.uncompressed.js +119 -0
- data/vendor/assets/javascripts/dojo/dnd/Selector.js +233 -0
- data/vendor/assets/javascripts/dojo/dnd/Selector.js.uncompressed.js +324 -0
- data/vendor/assets/javascripts/dojo/dnd/Source.js +284 -0
- data/vendor/assets/javascripts/dojo/dnd/Source.js.uncompressed.js +513 -0
- data/vendor/assets/javascripts/dojo/dnd/Target.js +13 -0
- data/vendor/assets/javascripts/dojo/dnd/Target.js.uncompressed.js +13 -0
- data/vendor/assets/javascripts/dojo/dnd/TimedMoveable.js +34 -0
- data/vendor/assets/javascripts/dojo/dnd/TimedMoveable.js.uncompressed.js +69 -0
- data/vendor/assets/javascripts/dojo/dnd/autoscroll.js +96 -0
- data/vendor/assets/javascripts/dojo/dnd/autoscroll.js.uncompressed.js +118 -0
- data/vendor/assets/javascripts/dojo/dnd/common.js +28 -0
- data/vendor/assets/javascripts/dojo/dnd/common.js.uncompressed.js +35 -0
- data/vendor/assets/javascripts/dojo/dnd/move.js +66 -0
- data/vendor/assets/javascripts/dojo/dnd/move.js.uncompressed.js +143 -0
- data/vendor/assets/javascripts/dojo/dojo.js +1872 -0
- data/vendor/assets/javascripts/dojo/dojo.js.uncompressed.js +16408 -0
- data/vendor/assets/javascripts/dojo/dojo.profile.js +40 -0
- data/vendor/assets/javascripts/dojo/dom-attr.js +62 -0
- data/vendor/assets/javascripts/dojo/dom-attr.js.uncompressed.js +238 -0
- data/vendor/assets/javascripts/dojo/dom-class.js +89 -0
- data/vendor/assets/javascripts/dojo/dom-class.js.uncompressed.js +320 -0
- data/vendor/assets/javascripts/dojo/dom-construct.js +141 -0
- data/vendor/assets/javascripts/dojo/dom-construct.js.uncompressed.js +376 -0
- data/vendor/assets/javascripts/dojo/dom-form.js +81 -0
- data/vendor/assets/javascripts/dojo/dom-form.js.uncompressed.js +166 -0
- data/vendor/assets/javascripts/dojo/dom-geometry.js +214 -0
- data/vendor/assets/javascripts/dojo/dom-geometry.js.uncompressed.js +751 -0
- data/vendor/assets/javascripts/dojo/dom-prop.js +69 -0
- data/vendor/assets/javascripts/dojo/dom-prop.js.uncompressed.js +190 -0
- data/vendor/assets/javascripts/dojo/dom-style.js +158 -0
- data/vendor/assets/javascripts/dojo/dom-style.js.uncompressed.js +321 -0
- data/vendor/assets/javascripts/dojo/dom.js +74 -0
- data/vendor/assets/javascripts/dojo/dom.js.uncompressed.js +156 -0
- data/vendor/assets/javascripts/dojo/domReady.js +95 -0
- data/vendor/assets/javascripts/dojo/domReady.js.uncompressed.js +95 -0
- data/vendor/assets/javascripts/dojo/fx.js +260 -0
- data/vendor/assets/javascripts/dojo/fx.js.uncompressed.js +426 -0
- data/vendor/assets/javascripts/dojo/fx/Toggler.js +28 -0
- data/vendor/assets/javascripts/dojo/fx/Toggler.js.uncompressed.js +103 -0
- data/vendor/assets/javascripts/dojo/fx/easing.js +166 -0
- data/vendor/assets/javascripts/dojo/fx/easing.js.uncompressed.js +284 -0
- data/vendor/assets/javascripts/dojo/gears.js +44 -0
- data/vendor/assets/javascripts/dojo/gears.js.uncompressed.js +61 -0
- data/vendor/assets/javascripts/dojo/has.js +66 -0
- data/vendor/assets/javascripts/dojo/has.js.uncompressed.js +178 -0
- data/vendor/assets/javascripts/dojo/hash.js +137 -0
- data/vendor/assets/javascripts/dojo/hash.js.uncompressed.js +243 -0
- data/vendor/assets/javascripts/dojo/html.js +148 -0
- data/vendor/assets/javascripts/dojo/html.js.uncompressed.js +342 -0
- data/vendor/assets/javascripts/dojo/i18n.js +211 -0
- data/vendor/assets/javascripts/dojo/i18n.js.uncompressed.js +514 -0
- data/vendor/assets/javascripts/dojo/io-query.js +53 -0
- data/vendor/assets/javascripts/dojo/io-query.js.uncompressed.js +98 -0
- data/vendor/assets/javascripts/dojo/io/iframe.js +230 -0
- data/vendor/assets/javascripts/dojo/io/iframe.js.uncompressed.js +376 -0
- data/vendor/assets/javascripts/dojo/io/script.js +114 -0
- data/vendor/assets/javascripts/dojo/io/script.js.uncompressed.js +256 -0
- data/vendor/assets/javascripts/dojo/jaxer.js +18 -0
- data/vendor/assets/javascripts/dojo/jaxer.js.uncompressed.js +19 -0
- data/vendor/assets/javascripts/dojo/json.js +102 -0
- data/vendor/assets/javascripts/dojo/json.js.uncompressed.js +149 -0
- data/vendor/assets/javascripts/dojo/keys.js +10 -0
- data/vendor/assets/javascripts/dojo/keys.js.uncompressed.js +80 -0
- data/vendor/assets/javascripts/dojo/loadInit.js +12 -0
- data/vendor/assets/javascripts/dojo/loadInit.js.uncompressed.js +7 -0
- data/vendor/assets/javascripts/dojo/main.js +29 -0
- data/vendor/assets/javascripts/dojo/main.js.uncompressed.js +50 -0
- data/vendor/assets/javascripts/dojo/mouse.js +48 -0
- data/vendor/assets/javascripts/dojo/mouse.js.uncompressed.js +127 -0
- data/vendor/assets/javascripts/dojo/nls/ar/colors.js +8 -0
- data/vendor/assets/javascripts/dojo/nls/ar/colors.js.uncompressed.js +156 -0
- data/vendor/assets/javascripts/dojo/nls/az/colors.js +8 -0
- data/vendor/assets/javascripts/dojo/nls/az/colors.js.uncompressed.js +153 -0
- data/vendor/assets/javascripts/dojo/nls/ca/colors.js +8 -0
- data/vendor/assets/javascripts/dojo/nls/ca/colors.js.uncompressed.js +156 -0
- data/vendor/assets/javascripts/dojo/nls/colors.js +8 -0
- data/vendor/assets/javascripts/dojo/nls/colors.js.uncompressed.js +191 -0
- data/vendor/assets/javascripts/dojo/nls/cs/colors.js +8 -0
- data/vendor/assets/javascripts/dojo/nls/cs/colors.js.uncompressed.js +156 -0
- data/vendor/assets/javascripts/dojo/nls/da/colors.js +8 -0
- data/vendor/assets/javascripts/dojo/nls/da/colors.js.uncompressed.js +156 -0
- data/vendor/assets/javascripts/dojo/nls/de/colors.js +8 -0
- data/vendor/assets/javascripts/dojo/nls/de/colors.js.uncompressed.js +156 -0
- data/vendor/assets/javascripts/dojo/nls/el/colors.js +8 -0
- data/vendor/assets/javascripts/dojo/nls/el/colors.js.uncompressed.js +156 -0
- data/vendor/assets/javascripts/dojo/nls/es/colors.js +8 -0
- data/vendor/assets/javascripts/dojo/nls/es/colors.js.uncompressed.js +156 -0
- data/vendor/assets/javascripts/dojo/nls/fi/colors.js +8 -0
- data/vendor/assets/javascripts/dojo/nls/fi/colors.js.uncompressed.js +156 -0
- data/vendor/assets/javascripts/dojo/nls/fr/colors.js +8 -0
- data/vendor/assets/javascripts/dojo/nls/fr/colors.js.uncompressed.js +156 -0
- data/vendor/assets/javascripts/dojo/nls/he/colors.js +8 -0
- data/vendor/assets/javascripts/dojo/nls/he/colors.js.uncompressed.js +158 -0
- data/vendor/assets/javascripts/dojo/nls/hr/colors.js +8 -0
- data/vendor/assets/javascripts/dojo/nls/hr/colors.js.uncompressed.js +156 -0
- data/vendor/assets/javascripts/dojo/nls/hu/colors.js +8 -0
- data/vendor/assets/javascripts/dojo/nls/hu/colors.js.uncompressed.js +156 -0
- data/vendor/assets/javascripts/dojo/nls/it/colors.js +8 -0
- data/vendor/assets/javascripts/dojo/nls/it/colors.js.uncompressed.js +156 -0
- data/vendor/assets/javascripts/dojo/nls/ja/colors.js +8 -0
- data/vendor/assets/javascripts/dojo/nls/ja/colors.js.uncompressed.js +156 -0
- data/vendor/assets/javascripts/dojo/nls/kk/colors.js +8 -0
- data/vendor/assets/javascripts/dojo/nls/kk/colors.js.uncompressed.js +156 -0
- data/vendor/assets/javascripts/dojo/nls/ko/colors.js +8 -0
- data/vendor/assets/javascripts/dojo/nls/ko/colors.js.uncompressed.js +156 -0
- data/vendor/assets/javascripts/dojo/nls/nb/colors.js +8 -0
- data/vendor/assets/javascripts/dojo/nls/nb/colors.js.uncompressed.js +156 -0
- data/vendor/assets/javascripts/dojo/nls/nl/colors.js +8 -0
- data/vendor/assets/javascripts/dojo/nls/nl/colors.js.uncompressed.js +156 -0
- data/vendor/assets/javascripts/dojo/nls/pl/colors.js +8 -0
- data/vendor/assets/javascripts/dojo/nls/pl/colors.js.uncompressed.js +156 -0
- data/vendor/assets/javascripts/dojo/nls/pt-pt/colors.js +8 -0
- data/vendor/assets/javascripts/dojo/nls/pt-pt/colors.js.uncompressed.js +156 -0
- data/vendor/assets/javascripts/dojo/nls/pt/colors.js +8 -0
- data/vendor/assets/javascripts/dojo/nls/pt/colors.js.uncompressed.js +156 -0
- data/vendor/assets/javascripts/dojo/nls/ro/colors.js +8 -0
- data/vendor/assets/javascripts/dojo/nls/ro/colors.js.uncompressed.js +156 -0
- data/vendor/assets/javascripts/dojo/nls/ru/colors.js +8 -0
- data/vendor/assets/javascripts/dojo/nls/ru/colors.js.uncompressed.js +156 -0
- data/vendor/assets/javascripts/dojo/nls/sk/colors.js +8 -0
- data/vendor/assets/javascripts/dojo/nls/sk/colors.js.uncompressed.js +156 -0
- data/vendor/assets/javascripts/dojo/nls/sl/colors.js +8 -0
- data/vendor/assets/javascripts/dojo/nls/sl/colors.js.uncompressed.js +156 -0
- data/vendor/assets/javascripts/dojo/nls/sv/colors.js +8 -0
- data/vendor/assets/javascripts/dojo/nls/sv/colors.js.uncompressed.js +156 -0
- data/vendor/assets/javascripts/dojo/nls/th/colors.js +8 -0
- data/vendor/assets/javascripts/dojo/nls/th/colors.js.uncompressed.js +156 -0
- data/vendor/assets/javascripts/dojo/nls/tr/colors.js +8 -0
- data/vendor/assets/javascripts/dojo/nls/tr/colors.js.uncompressed.js +156 -0
- data/vendor/assets/javascripts/dojo/nls/zh-tw/colors.js +8 -0
- data/vendor/assets/javascripts/dojo/nls/zh-tw/colors.js.uncompressed.js +156 -0
- data/vendor/assets/javascripts/dojo/nls/zh/colors.js +8 -0
- data/vendor/assets/javascripts/dojo/nls/zh/colors.js.uncompressed.js +156 -0
- data/vendor/assets/javascripts/dojo/number.js +305 -0
- data/vendor/assets/javascripts/dojo/number.js.uncompressed.js +576 -0
- data/vendor/assets/javascripts/dojo/on.js +311 -0
- data/vendor/assets/javascripts/dojo/on.js.uncompressed.js +474 -0
- data/vendor/assets/javascripts/dojo/package.json +23 -0
- data/vendor/assets/javascripts/dojo/parser.js +299 -0
- data/vendor/assets/javascripts/dojo/parser.js.uncompressed.js +594 -0
- data/vendor/assets/javascripts/dojo/query.js +195 -0
- data/vendor/assets/javascripts/dojo/query.js.uncompressed.js +713 -0
- data/vendor/assets/javascripts/dojo/ready.js +82 -0
- data/vendor/assets/javascripts/dojo/ready.js.uncompressed.js +138 -0
- data/vendor/assets/javascripts/dojo/regexp.js +32 -0
- data/vendor/assets/javascripts/dojo/regexp.js.uncompressed.js +73 -0
- data/vendor/assets/javascripts/dojo/require.js +12 -0
- data/vendor/assets/javascripts/dojo/require.js.uncompressed.js +7 -0
- data/vendor/assets/javascripts/dojo/resources/LICENSE +30 -0
- data/vendor/assets/javascripts/dojo/resources/_modules.js +36 -0
- data/vendor/assets/javascripts/dojo/resources/blank.gif +0 -0
- data/vendor/assets/javascripts/dojo/resources/blank.html +1 -0
- data/vendor/assets/javascripts/dojo/resources/dnd.css +14 -0
- data/vendor/assets/javascripts/dojo/resources/dojo.css +98 -0
- data/vendor/assets/javascripts/dojo/resources/iframe_history.html +44 -0
- data/vendor/assets/javascripts/dojo/resources/images/dndCopy.png +0 -0
- data/vendor/assets/javascripts/dojo/resources/images/dndMove.png +0 -0
- data/vendor/assets/javascripts/dojo/resources/images/dndNoCopy.png +0 -0
- data/vendor/assets/javascripts/dojo/resources/images/dndNoMove.png +0 -0
- data/vendor/assets/javascripts/dojo/rpc/JsonService.js +34 -0
- data/vendor/assets/javascripts/dojo/rpc/JsonService.js.uncompressed.js +85 -0
- data/vendor/assets/javascripts/dojo/rpc/JsonpService.js +29 -0
- data/vendor/assets/javascripts/dojo/rpc/JsonpService.js.uncompressed.js +67 -0
- data/vendor/assets/javascripts/dojo/rpc/RpcService.js +87 -0
- data/vendor/assets/javascripts/dojo/rpc/RpcService.js.uncompressed.js +175 -0
- data/vendor/assets/javascripts/dojo/selector/_loader.js +40 -0
- data/vendor/assets/javascripts/dojo/selector/_loader.js.uncompressed.js +45 -0
- data/vendor/assets/javascripts/dojo/selector/acme.js +765 -0
- data/vendor/assets/javascripts/dojo/selector/acme.js.uncompressed.js +1480 -0
- data/vendor/assets/javascripts/dojo/selector/lite.js +213 -0
- data/vendor/assets/javascripts/dojo/selector/lite.js.uncompressed.js +264 -0
- data/vendor/assets/javascripts/dojo/store/Cache.js +47 -0
- data/vendor/assets/javascripts/dojo/store/Cache.js.uncompressed.js +148 -0
- data/vendor/assets/javascripts/dojo/store/DataStore.js +103 -0
- data/vendor/assets/javascripts/dojo/store/DataStore.js.uncompressed.js +170 -0
- data/vendor/assets/javascripts/dojo/store/JsonRest.js +56 -0
- data/vendor/assets/javascripts/dojo/store/JsonRest.js.uncompressed.js +155 -0
- data/vendor/assets/javascripts/dojo/store/Memory.js +55 -0
- data/vendor/assets/javascripts/dojo/store/Memory.js.uncompressed.js +161 -0
- data/vendor/assets/javascripts/dojo/store/Observable.js +125 -0
- data/vendor/assets/javascripts/dojo/store/Observable.js.uncompressed.js +175 -0
- data/vendor/assets/javascripts/dojo/store/README +10 -0
- data/vendor/assets/javascripts/dojo/store/api/Store.js +52 -0
- data/vendor/assets/javascripts/dojo/store/api/Store.js.uncompressed.js +297 -0
- data/vendor/assets/javascripts/dojo/store/util/QueryResults.js +39 -0
- data/vendor/assets/javascripts/dojo/store/util/QueryResults.js.uncompressed.js +64 -0
- data/vendor/assets/javascripts/dojo/store/util/SimpleQueryEngine.js +63 -0
- data/vendor/assets/javascripts/dojo/store/util/SimpleQueryEngine.js.uncompressed.js +108 -0
- data/vendor/assets/javascripts/dojo/string.js +57 -0
- data/vendor/assets/javascripts/dojo/string.js.uncompressed.js +162 -0
- data/vendor/assets/javascripts/dojo/text.js +99 -0
- data/vendor/assets/javascripts/dojo/text.js.uncompressed.js +212 -0
- data/vendor/assets/javascripts/dojo/topic.js +15 -0
- data/vendor/assets/javascripts/dojo/topic.js.uncompressed.js +33 -0
- data/vendor/assets/javascripts/dojo/touch.js +17 -0
- data/vendor/assets/javascripts/dojo/touch.js.uncompressed.js +89 -0
- data/vendor/assets/javascripts/dojo/uacss.js +25 -0
- data/vendor/assets/javascripts/dojo/uacss.js.uncompressed.js +66 -0
- data/vendor/assets/javascripts/dojo/window.js +119 -0
- data/vendor/assets/javascripts/dojo/window.js.uncompressed.js +169 -0
- metadata +613 -3
@@ -0,0 +1,49 @@
|
|
1
|
+
/*
|
2
|
+
Copyright (c) 2004-2011, The Dojo Foundation All Rights Reserved.
|
3
|
+
Available via Academic Free License >= 2.1 OR the modified BSD license.
|
4
|
+
see: http://dojotoolkit.org/license for details
|
5
|
+
*/
|
6
|
+
|
7
|
+
//>>built
|
8
|
+
define("dojo/cookie",["./_base/kernel","./regexp"],function(_1,_2){
|
9
|
+
_1.cookie=function(_3,_4,_5){
|
10
|
+
var c=document.cookie,_6;
|
11
|
+
if(arguments.length==1){
|
12
|
+
var _7=c.match(new RegExp("(?:^|; )"+_2.escapeString(_3)+"=([^;]*)"));
|
13
|
+
_6=_7?decodeURIComponent(_7[1]):undefined;
|
14
|
+
}else{
|
15
|
+
_5=_5||{};
|
16
|
+
var _8=_5.expires;
|
17
|
+
if(typeof _8=="number"){
|
18
|
+
var d=new Date();
|
19
|
+
d.setTime(d.getTime()+_8*24*60*60*1000);
|
20
|
+
_8=_5.expires=d;
|
21
|
+
}
|
22
|
+
if(_8&&_8.toUTCString){
|
23
|
+
_5.expires=_8.toUTCString();
|
24
|
+
}
|
25
|
+
_4=encodeURIComponent(_4);
|
26
|
+
var _9=_3+"="+_4,_a;
|
27
|
+
for(_a in _5){
|
28
|
+
_9+="; "+_a;
|
29
|
+
var _b=_5[_a];
|
30
|
+
if(_b!==true){
|
31
|
+
_9+="="+_b;
|
32
|
+
}
|
33
|
+
}
|
34
|
+
document.cookie=_9;
|
35
|
+
}
|
36
|
+
return _6;
|
37
|
+
};
|
38
|
+
_1.cookie.isSupported=function(){
|
39
|
+
if(!("cookieEnabled" in navigator)){
|
40
|
+
this("__djCookieTest__","CookiesAllowed");
|
41
|
+
navigator.cookieEnabled=this("__djCookieTest__")=="CookiesAllowed";
|
42
|
+
if(navigator.cookieEnabled){
|
43
|
+
this("__djCookieTest__","",{expires:-1});
|
44
|
+
}
|
45
|
+
}
|
46
|
+
return navigator.cookieEnabled;
|
47
|
+
};
|
48
|
+
return _1.cookie;
|
49
|
+
});
|
@@ -0,0 +1,98 @@
|
|
1
|
+
define("dojo/cookie", ["./_base/kernel", "./regexp"], function(dojo, regexp) {
|
2
|
+
// module:
|
3
|
+
// dojo/cookie
|
4
|
+
// summary:
|
5
|
+
// TODOC
|
6
|
+
|
7
|
+
|
8
|
+
/*=====
|
9
|
+
dojo.__cookieProps = function(){
|
10
|
+
// expires: Date|String|Number?
|
11
|
+
// If a number, the number of days from today at which the cookie
|
12
|
+
// will expire. If a date, the date past which the cookie will expire.
|
13
|
+
// If expires is in the past, the cookie will be deleted.
|
14
|
+
// If expires is omitted or is 0, the cookie will expire when the browser closes.
|
15
|
+
// path: String?
|
16
|
+
// The path to use for the cookie.
|
17
|
+
// domain: String?
|
18
|
+
// The domain to use for the cookie.
|
19
|
+
// secure: Boolean?
|
20
|
+
// Whether to only send the cookie on secure connections
|
21
|
+
this.expires = expires;
|
22
|
+
this.path = path;
|
23
|
+
this.domain = domain;
|
24
|
+
this.secure = secure;
|
25
|
+
}
|
26
|
+
=====*/
|
27
|
+
|
28
|
+
|
29
|
+
dojo.cookie = function(/*String*/name, /*String?*/value, /*dojo.__cookieProps?*/props){
|
30
|
+
// summary:
|
31
|
+
// Get or set a cookie.
|
32
|
+
// description:
|
33
|
+
// If one argument is passed, returns the value of the cookie
|
34
|
+
// For two or more arguments, acts as a setter.
|
35
|
+
// name:
|
36
|
+
// Name of the cookie
|
37
|
+
// value:
|
38
|
+
// Value for the cookie
|
39
|
+
// props:
|
40
|
+
// Properties for the cookie
|
41
|
+
// example:
|
42
|
+
// set a cookie with the JSON-serialized contents of an object which
|
43
|
+
// will expire 5 days from now:
|
44
|
+
// | dojo.cookie("configObj", dojo.toJson(config), { expires: 5 });
|
45
|
+
//
|
46
|
+
// example:
|
47
|
+
// de-serialize a cookie back into a JavaScript object:
|
48
|
+
// | var config = dojo.fromJson(dojo.cookie("configObj"));
|
49
|
+
//
|
50
|
+
// example:
|
51
|
+
// delete a cookie:
|
52
|
+
// | dojo.cookie("configObj", null, {expires: -1});
|
53
|
+
var c = document.cookie, ret;
|
54
|
+
if(arguments.length == 1){
|
55
|
+
var matches = c.match(new RegExp("(?:^|; )" + regexp.escapeString(name) + "=([^;]*)"));
|
56
|
+
ret = matches ? decodeURIComponent(matches[1]) : undefined;
|
57
|
+
}else{
|
58
|
+
props = props || {};
|
59
|
+
// FIXME: expires=0 seems to disappear right away, not on close? (FF3) Change docs?
|
60
|
+
var exp = props.expires;
|
61
|
+
if(typeof exp == "number"){
|
62
|
+
var d = new Date();
|
63
|
+
d.setTime(d.getTime() + exp*24*60*60*1000);
|
64
|
+
exp = props.expires = d;
|
65
|
+
}
|
66
|
+
if(exp && exp.toUTCString){ props.expires = exp.toUTCString(); }
|
67
|
+
|
68
|
+
value = encodeURIComponent(value);
|
69
|
+
var updatedCookie = name + "=" + value, propName;
|
70
|
+
for(propName in props){
|
71
|
+
updatedCookie += "; " + propName;
|
72
|
+
var propValue = props[propName];
|
73
|
+
if(propValue !== true){ updatedCookie += "=" + propValue; }
|
74
|
+
}
|
75
|
+
document.cookie = updatedCookie;
|
76
|
+
}
|
77
|
+
return ret; // String|undefined
|
78
|
+
};
|
79
|
+
|
80
|
+
dojo.cookie.isSupported = function(){
|
81
|
+
// summary:
|
82
|
+
// Use to determine if the current browser supports cookies or not.
|
83
|
+
//
|
84
|
+
// Returns true if user allows cookies.
|
85
|
+
// Returns false if user doesn't allow cookies.
|
86
|
+
|
87
|
+
if(!("cookieEnabled" in navigator)){
|
88
|
+
this("__djCookieTest__", "CookiesAllowed");
|
89
|
+
navigator.cookieEnabled = this("__djCookieTest__") == "CookiesAllowed";
|
90
|
+
if(navigator.cookieEnabled){
|
91
|
+
this("__djCookieTest__", "", {expires: -1});
|
92
|
+
}
|
93
|
+
}
|
94
|
+
return navigator.cookieEnabled;
|
95
|
+
};
|
96
|
+
|
97
|
+
return dojo.cookie;
|
98
|
+
});
|
@@ -0,0 +1,32 @@
|
|
1
|
+
/*
|
2
|
+
Copyright (c) 2004-2011, The Dojo Foundation All Rights Reserved.
|
3
|
+
Available via Academic Free License >= 2.1 OR the modified BSD license.
|
4
|
+
see: http://dojotoolkit.org/license for details
|
5
|
+
*/
|
6
|
+
|
7
|
+
//>>built
|
8
|
+
define("dojo/currency",["./_base/kernel","./_base/lang","./_base/array","./number","./i18n","./i18n!./cldr/nls/currency","./cldr/monetary"],function(_1,_2,_3,_4,_5,_6,_7){
|
9
|
+
_2.getObject("currency",true,_1);
|
10
|
+
_1.currency._mixInDefaults=function(_8){
|
11
|
+
_8=_8||{};
|
12
|
+
_8.type="currency";
|
13
|
+
var _9=_5.getLocalization("dojo.cldr","currency",_8.locale)||{};
|
14
|
+
var _a=_8.currency;
|
15
|
+
var _b=_7.getData(_a);
|
16
|
+
_3.forEach(["displayName","symbol","group","decimal"],function(_c){
|
17
|
+
_b[_c]=_9[_a+"_"+_c];
|
18
|
+
});
|
19
|
+
_b.fractional=[true,false];
|
20
|
+
return _2.mixin(_b,_8);
|
21
|
+
};
|
22
|
+
_1.currency.format=function(_d,_e){
|
23
|
+
return _4.format(_d,_1.currency._mixInDefaults(_e));
|
24
|
+
};
|
25
|
+
_1.currency.regexp=function(_f){
|
26
|
+
return _4.regexp(_1.currency._mixInDefaults(_f));
|
27
|
+
};
|
28
|
+
_1.currency.parse=function(_10,_11){
|
29
|
+
return _4.parse(_10,_1.currency._mixInDefaults(_11));
|
30
|
+
};
|
31
|
+
return _1.currency;
|
32
|
+
});
|
@@ -0,0 +1,132 @@
|
|
1
|
+
define("dojo/currency", ["./_base/kernel", "./_base/lang", "./_base/array", "./number", "./i18n", "./i18n!./cldr/nls/currency", "./cldr/monetary"], function(dojo, lang, darray, dnumber, i18n, nlsCurrency, cldrMonetary) {
|
2
|
+
// module:
|
3
|
+
// dojo/currency
|
4
|
+
// summary:
|
5
|
+
// TODOC
|
6
|
+
|
7
|
+
lang.getObject("currency", true, dojo);
|
8
|
+
|
9
|
+
/*=====
|
10
|
+
dojo.currency = {
|
11
|
+
// summary: localized formatting and parsing routines for currencies
|
12
|
+
//
|
13
|
+
// description: extends dojo.number to provide culturally-appropriate formatting of values
|
14
|
+
// in various world currencies, including use of a currency symbol. The currencies are specified
|
15
|
+
// by a three-letter international symbol in all uppercase, and support for the currencies is
|
16
|
+
// provided by the data in `dojo.cldr`. The scripts generating dojo.cldr specify which
|
17
|
+
// currency support is included. A fixed number of decimal places is determined based
|
18
|
+
// on the currency type and is not determined by the 'pattern' argument. The fractional
|
19
|
+
// portion is optional, by default, and variable length decimals are not supported.
|
20
|
+
}
|
21
|
+
=====*/
|
22
|
+
|
23
|
+
dojo.currency._mixInDefaults = function(options){
|
24
|
+
options = options || {};
|
25
|
+
options.type = "currency";
|
26
|
+
|
27
|
+
// Get locale-dependent currency data, like the symbol
|
28
|
+
var bundle = i18n.getLocalization("dojo.cldr", "currency", options.locale) || {};
|
29
|
+
|
30
|
+
// Mixin locale-independent currency data, like # of places
|
31
|
+
var iso = options.currency;
|
32
|
+
var data = cldrMonetary.getData(iso);
|
33
|
+
|
34
|
+
darray.forEach(["displayName","symbol","group","decimal"], function(prop){
|
35
|
+
data[prop] = bundle[iso+"_"+prop];
|
36
|
+
});
|
37
|
+
|
38
|
+
data.fractional = [true, false];
|
39
|
+
|
40
|
+
// Mixin with provided options
|
41
|
+
return lang.mixin(data, options);
|
42
|
+
};
|
43
|
+
|
44
|
+
/*=====
|
45
|
+
dojo.declare("dojo.currency.__FormatOptions", [dojo.number.__FormatOptions], {
|
46
|
+
// type: String?
|
47
|
+
// Should not be set. Value is assumed to be "currency".
|
48
|
+
// symbol: String?
|
49
|
+
// localized currency symbol. The default will be looked up in table of supported currencies in `dojo.cldr`
|
50
|
+
// A [ISO4217](http://en.wikipedia.org/wiki/ISO_4217) currency code will be used if not found.
|
51
|
+
// currency: String?
|
52
|
+
// an [ISO4217](http://en.wikipedia.org/wiki/ISO_4217) currency code, a three letter sequence like "USD".
|
53
|
+
// For use with dojo.currency only.
|
54
|
+
// places: Number?
|
55
|
+
// number of decimal places to show. Default is defined based on which currency is used.
|
56
|
+
type: "",
|
57
|
+
symbol: "",
|
58
|
+
currency: "",
|
59
|
+
places: ""
|
60
|
+
});
|
61
|
+
=====*/
|
62
|
+
|
63
|
+
dojo.currency.format = function(/*Number*/value, /*dojo.currency.__FormatOptions?*/options){
|
64
|
+
// summary:
|
65
|
+
// Format a Number as a currency, using locale-specific settings
|
66
|
+
//
|
67
|
+
// description:
|
68
|
+
// Create a string from a Number using a known, localized pattern.
|
69
|
+
// [Formatting patterns](http://www.unicode.org/reports/tr35/#Number_Elements)
|
70
|
+
// appropriate to the locale are chosen from the [CLDR](http://unicode.org/cldr)
|
71
|
+
// as well as the appropriate symbols and delimiters and number of decimal places.
|
72
|
+
//
|
73
|
+
// value:
|
74
|
+
// the number to be formatted.
|
75
|
+
|
76
|
+
return dnumber.format(value, dojo.currency._mixInDefaults(options));
|
77
|
+
};
|
78
|
+
|
79
|
+
dojo.currency.regexp = function(/*dojo.number.__RegexpOptions?*/options){
|
80
|
+
//
|
81
|
+
// summary:
|
82
|
+
// Builds the regular needed to parse a currency value
|
83
|
+
//
|
84
|
+
// description:
|
85
|
+
// Returns regular expression with positive and negative match, group and decimal separators
|
86
|
+
// Note: the options.places default, the number of decimal places to accept, is defined by the currency type.
|
87
|
+
return dnumber.regexp(dojo.currency._mixInDefaults(options)); // String
|
88
|
+
};
|
89
|
+
|
90
|
+
/*=====
|
91
|
+
dojo.declare("dojo.currency.__ParseOptions", [dojo.number.__ParseOptions], {
|
92
|
+
// type: String?
|
93
|
+
// Should not be set. Value is assumed to be currency.
|
94
|
+
// currency: String?
|
95
|
+
// an [ISO4217](http://en.wikipedia.org/wiki/ISO_4217) currency code, a three letter sequence like "USD".
|
96
|
+
// For use with dojo.currency only.
|
97
|
+
// symbol: String?
|
98
|
+
// localized currency symbol. The default will be looked up in table of supported currencies in `dojo.cldr`
|
99
|
+
// A [ISO4217](http://en.wikipedia.org/wiki/ISO_4217) currency code will be used if not found.
|
100
|
+
// places: Number?
|
101
|
+
// fixed number of decimal places to accept. The default is determined based on which currency is used.
|
102
|
+
// fractional: Boolean?|Array?
|
103
|
+
// Whether to include the fractional portion, where the number of decimal places are implied by the currency
|
104
|
+
// or explicit 'places' parameter. The value [true,false] makes the fractional portion optional.
|
105
|
+
// By default for currencies, it the fractional portion is optional.
|
106
|
+
type: "",
|
107
|
+
currency: "",
|
108
|
+
symbol: "",
|
109
|
+
places: "",
|
110
|
+
fractional: ""
|
111
|
+
});
|
112
|
+
=====*/
|
113
|
+
|
114
|
+
dojo.currency.parse = function(/*String*/expression, /*dojo.currency.__ParseOptions?*/options){
|
115
|
+
//
|
116
|
+
// summary:
|
117
|
+
// Convert a properly formatted currency string to a primitive Number,
|
118
|
+
// using locale-specific settings.
|
119
|
+
//
|
120
|
+
// description:
|
121
|
+
// Create a Number from a string using a known, localized pattern.
|
122
|
+
// [Formatting patterns](http://www.unicode.org/reports/tr35/#Number_Format_Patterns)
|
123
|
+
// are chosen appropriate to the locale, as well as the appropriate symbols and delimiters
|
124
|
+
// and number of decimal places.
|
125
|
+
//
|
126
|
+
// expression: A string representation of a currency value
|
127
|
+
|
128
|
+
return dnumber.parse(expression, dojo.currency._mixInDefaults(options));
|
129
|
+
};
|
130
|
+
|
131
|
+
return dojo.currency;
|
132
|
+
});
|
@@ -0,0 +1,561 @@
|
|
1
|
+
/*
|
2
|
+
Copyright (c) 2004-2011, The Dojo Foundation All Rights Reserved.
|
3
|
+
Available via Academic Free License >= 2.1 OR the modified BSD license.
|
4
|
+
see: http://dojotoolkit.org/license for details
|
5
|
+
*/
|
6
|
+
|
7
|
+
//>>built
|
8
|
+
define("dojo/data/ItemFileReadStore",["../_base/kernel","../_base/lang","../_base/declare","../_base/array","../_base/xhr","../Evented","../_base/window","./util/filter","./util/simpleFetch","../date/stamp"],function(_1,_2,_3,_4,_5,_6,_7,_8,_9,_a){
|
9
|
+
var _b=_3("dojo.data.ItemFileReadStore",[_6],{constructor:function(_c){
|
10
|
+
this._arrayOfAllItems=[];
|
11
|
+
this._arrayOfTopLevelItems=[];
|
12
|
+
this._loadFinished=false;
|
13
|
+
this._jsonFileUrl=_c.url;
|
14
|
+
this._ccUrl=_c.url;
|
15
|
+
this.url=_c.url;
|
16
|
+
this._jsonData=_c.data;
|
17
|
+
this.data=null;
|
18
|
+
this._datatypeMap=_c.typeMap||{};
|
19
|
+
if(!this._datatypeMap["Date"]){
|
20
|
+
this._datatypeMap["Date"]={type:Date,deserialize:function(_d){
|
21
|
+
return _a.fromISOString(_d);
|
22
|
+
}};
|
23
|
+
}
|
24
|
+
this._features={"dojo.data.api.Read":true,"dojo.data.api.Identity":true};
|
25
|
+
this._itemsByIdentity=null;
|
26
|
+
this._storeRefPropName="_S";
|
27
|
+
this._itemNumPropName="_0";
|
28
|
+
this._rootItemPropName="_RI";
|
29
|
+
this._reverseRefMap="_RRM";
|
30
|
+
this._loadInProgress=false;
|
31
|
+
this._queuedFetches=[];
|
32
|
+
if(_c.urlPreventCache!==undefined){
|
33
|
+
this.urlPreventCache=_c.urlPreventCache?true:false;
|
34
|
+
}
|
35
|
+
if(_c.hierarchical!==undefined){
|
36
|
+
this.hierarchical=_c.hierarchical?true:false;
|
37
|
+
}
|
38
|
+
if(_c.clearOnClose){
|
39
|
+
this.clearOnClose=true;
|
40
|
+
}
|
41
|
+
if("failOk" in _c){
|
42
|
+
this.failOk=_c.failOk?true:false;
|
43
|
+
}
|
44
|
+
},url:"",_ccUrl:"",data:null,typeMap:null,clearOnClose:false,urlPreventCache:false,failOk:false,hierarchical:true,_assertIsItem:function(_e){
|
45
|
+
if(!this.isItem(_e)){
|
46
|
+
throw new Error("dojo.data.ItemFileReadStore: Invalid item argument.");
|
47
|
+
}
|
48
|
+
},_assertIsAttribute:function(_f){
|
49
|
+
if(typeof _f!=="string"){
|
50
|
+
throw new Error("dojo.data.ItemFileReadStore: Invalid attribute argument.");
|
51
|
+
}
|
52
|
+
},getValue:function(_10,_11,_12){
|
53
|
+
var _13=this.getValues(_10,_11);
|
54
|
+
return (_13.length>0)?_13[0]:_12;
|
55
|
+
},getValues:function(_14,_15){
|
56
|
+
this._assertIsItem(_14);
|
57
|
+
this._assertIsAttribute(_15);
|
58
|
+
return (_14[_15]||[]).slice(0);
|
59
|
+
},getAttributes:function(_16){
|
60
|
+
this._assertIsItem(_16);
|
61
|
+
var _17=[];
|
62
|
+
for(var key in _16){
|
63
|
+
if((key!==this._storeRefPropName)&&(key!==this._itemNumPropName)&&(key!==this._rootItemPropName)&&(key!==this._reverseRefMap)){
|
64
|
+
_17.push(key);
|
65
|
+
}
|
66
|
+
}
|
67
|
+
return _17;
|
68
|
+
},hasAttribute:function(_18,_19){
|
69
|
+
this._assertIsItem(_18);
|
70
|
+
this._assertIsAttribute(_19);
|
71
|
+
return (_19 in _18);
|
72
|
+
},containsValue:function(_1a,_1b,_1c){
|
73
|
+
var _1d=undefined;
|
74
|
+
if(typeof _1c==="string"){
|
75
|
+
_1d=_8.patternToRegExp(_1c,false);
|
76
|
+
}
|
77
|
+
return this._containsValue(_1a,_1b,_1c,_1d);
|
78
|
+
},_containsValue:function(_1e,_1f,_20,_21){
|
79
|
+
return _4.some(this.getValues(_1e,_1f),function(_22){
|
80
|
+
if(_22!==null&&!_2.isObject(_22)&&_21){
|
81
|
+
if(_22.toString().match(_21)){
|
82
|
+
return true;
|
83
|
+
}
|
84
|
+
}else{
|
85
|
+
if(_20===_22){
|
86
|
+
return true;
|
87
|
+
}
|
88
|
+
}
|
89
|
+
});
|
90
|
+
},isItem:function(_23){
|
91
|
+
if(_23&&_23[this._storeRefPropName]===this){
|
92
|
+
if(this._arrayOfAllItems[_23[this._itemNumPropName]]===_23){
|
93
|
+
return true;
|
94
|
+
}
|
95
|
+
}
|
96
|
+
return false;
|
97
|
+
},isItemLoaded:function(_24){
|
98
|
+
return this.isItem(_24);
|
99
|
+
},loadItem:function(_25){
|
100
|
+
this._assertIsItem(_25.item);
|
101
|
+
},getFeatures:function(){
|
102
|
+
return this._features;
|
103
|
+
},getLabel:function(_26){
|
104
|
+
if(this._labelAttr&&this.isItem(_26)){
|
105
|
+
return this.getValue(_26,this._labelAttr);
|
106
|
+
}
|
107
|
+
return undefined;
|
108
|
+
},getLabelAttributes:function(_27){
|
109
|
+
if(this._labelAttr){
|
110
|
+
return [this._labelAttr];
|
111
|
+
}
|
112
|
+
return null;
|
113
|
+
},_fetchItems:function(_28,_29,_2a){
|
114
|
+
var _2b=this,_2c=function(_2d,_2e){
|
115
|
+
var _2f=[],i,key;
|
116
|
+
if(_2d.query){
|
117
|
+
var _30,_31=_2d.queryOptions?_2d.queryOptions.ignoreCase:false;
|
118
|
+
var _32={};
|
119
|
+
for(key in _2d.query){
|
120
|
+
_30=_2d.query[key];
|
121
|
+
if(typeof _30==="string"){
|
122
|
+
_32[key]=_8.patternToRegExp(_30,_31);
|
123
|
+
}else{
|
124
|
+
if(_30 instanceof RegExp){
|
125
|
+
_32[key]=_30;
|
126
|
+
}
|
127
|
+
}
|
128
|
+
}
|
129
|
+
for(i=0;i<_2e.length;++i){
|
130
|
+
var _33=true;
|
131
|
+
var _34=_2e[i];
|
132
|
+
if(_34===null){
|
133
|
+
_33=false;
|
134
|
+
}else{
|
135
|
+
for(key in _2d.query){
|
136
|
+
_30=_2d.query[key];
|
137
|
+
if(!_2b._containsValue(_34,key,_30,_32[key])){
|
138
|
+
_33=false;
|
139
|
+
}
|
140
|
+
}
|
141
|
+
}
|
142
|
+
if(_33){
|
143
|
+
_2f.push(_34);
|
144
|
+
}
|
145
|
+
}
|
146
|
+
_29(_2f,_2d);
|
147
|
+
}else{
|
148
|
+
for(i=0;i<_2e.length;++i){
|
149
|
+
var _35=_2e[i];
|
150
|
+
if(_35!==null){
|
151
|
+
_2f.push(_35);
|
152
|
+
}
|
153
|
+
}
|
154
|
+
_29(_2f,_2d);
|
155
|
+
}
|
156
|
+
};
|
157
|
+
if(this._loadFinished){
|
158
|
+
_2c(_28,this._getItemsArray(_28.queryOptions));
|
159
|
+
}else{
|
160
|
+
if(this._jsonFileUrl!==this._ccUrl){
|
161
|
+
_1.deprecated("dojo.data.ItemFileReadStore: ","To change the url, set the url property of the store,"+" not _jsonFileUrl. _jsonFileUrl support will be removed in 2.0");
|
162
|
+
this._ccUrl=this._jsonFileUrl;
|
163
|
+
this.url=this._jsonFileUrl;
|
164
|
+
}else{
|
165
|
+
if(this.url!==this._ccUrl){
|
166
|
+
this._jsonFileUrl=this.url;
|
167
|
+
this._ccUrl=this.url;
|
168
|
+
}
|
169
|
+
}
|
170
|
+
if(this.data!=null){
|
171
|
+
this._jsonData=this.data;
|
172
|
+
this.data=null;
|
173
|
+
}
|
174
|
+
if(this._jsonFileUrl){
|
175
|
+
if(this._loadInProgress){
|
176
|
+
this._queuedFetches.push({args:_28,filter:_2c});
|
177
|
+
}else{
|
178
|
+
this._loadInProgress=true;
|
179
|
+
var _36={url:_2b._jsonFileUrl,handleAs:"json-comment-optional",preventCache:this.urlPreventCache,failOk:this.failOk};
|
180
|
+
var _37=_5.get(_36);
|
181
|
+
_37.addCallback(function(_38){
|
182
|
+
try{
|
183
|
+
_2b._getItemsFromLoadedData(_38);
|
184
|
+
_2b._loadFinished=true;
|
185
|
+
_2b._loadInProgress=false;
|
186
|
+
_2c(_28,_2b._getItemsArray(_28.queryOptions));
|
187
|
+
_2b._handleQueuedFetches();
|
188
|
+
}
|
189
|
+
catch(e){
|
190
|
+
_2b._loadFinished=true;
|
191
|
+
_2b._loadInProgress=false;
|
192
|
+
_2a(e,_28);
|
193
|
+
}
|
194
|
+
});
|
195
|
+
_37.addErrback(function(_39){
|
196
|
+
_2b._loadInProgress=false;
|
197
|
+
_2a(_39,_28);
|
198
|
+
});
|
199
|
+
var _3a=null;
|
200
|
+
if(_28.abort){
|
201
|
+
_3a=_28.abort;
|
202
|
+
}
|
203
|
+
_28.abort=function(){
|
204
|
+
var df=_37;
|
205
|
+
if(df&&df.fired===-1){
|
206
|
+
df.cancel();
|
207
|
+
df=null;
|
208
|
+
}
|
209
|
+
if(_3a){
|
210
|
+
_3a.call(_28);
|
211
|
+
}
|
212
|
+
};
|
213
|
+
}
|
214
|
+
}else{
|
215
|
+
if(this._jsonData){
|
216
|
+
try{
|
217
|
+
this._loadFinished=true;
|
218
|
+
this._getItemsFromLoadedData(this._jsonData);
|
219
|
+
this._jsonData=null;
|
220
|
+
_2c(_28,this._getItemsArray(_28.queryOptions));
|
221
|
+
}
|
222
|
+
catch(e){
|
223
|
+
_2a(e,_28);
|
224
|
+
}
|
225
|
+
}else{
|
226
|
+
_2a(new Error("dojo.data.ItemFileReadStore: No JSON source data was provided as either URL or a nested Javascript object."),_28);
|
227
|
+
}
|
228
|
+
}
|
229
|
+
}
|
230
|
+
},_handleQueuedFetches:function(){
|
231
|
+
if(this._queuedFetches.length>0){
|
232
|
+
for(var i=0;i<this._queuedFetches.length;i++){
|
233
|
+
var _3b=this._queuedFetches[i],_3c=_3b.args,_3d=_3b.filter;
|
234
|
+
if(_3d){
|
235
|
+
_3d(_3c,this._getItemsArray(_3c.queryOptions));
|
236
|
+
}else{
|
237
|
+
this.fetchItemByIdentity(_3c);
|
238
|
+
}
|
239
|
+
}
|
240
|
+
this._queuedFetches=[];
|
241
|
+
}
|
242
|
+
},_getItemsArray:function(_3e){
|
243
|
+
if(_3e&&_3e.deep){
|
244
|
+
return this._arrayOfAllItems;
|
245
|
+
}
|
246
|
+
return this._arrayOfTopLevelItems;
|
247
|
+
},close:function(_3f){
|
248
|
+
if(this.clearOnClose&&this._loadFinished&&!this._loadInProgress){
|
249
|
+
if(((this._jsonFileUrl==""||this._jsonFileUrl==null)&&(this.url==""||this.url==null))&&this.data==null){
|
250
|
+
}
|
251
|
+
this._arrayOfAllItems=[];
|
252
|
+
this._arrayOfTopLevelItems=[];
|
253
|
+
this._loadFinished=false;
|
254
|
+
this._itemsByIdentity=null;
|
255
|
+
this._loadInProgress=false;
|
256
|
+
this._queuedFetches=[];
|
257
|
+
}
|
258
|
+
},_getItemsFromLoadedData:function(_40){
|
259
|
+
var _41=false,_42=this;
|
260
|
+
function _43(_44){
|
261
|
+
return (_44!==null)&&(typeof _44==="object")&&(!_2.isArray(_44)||_41)&&(!_2.isFunction(_44))&&(_44.constructor==Object||_2.isArray(_44))&&(typeof _44._reference==="undefined")&&(typeof _44._type==="undefined")&&(typeof _44._value==="undefined")&&_42.hierarchical;
|
262
|
+
};
|
263
|
+
function _45(_46){
|
264
|
+
_42._arrayOfAllItems.push(_46);
|
265
|
+
for(var _47 in _46){
|
266
|
+
var _48=_46[_47];
|
267
|
+
if(_48){
|
268
|
+
if(_2.isArray(_48)){
|
269
|
+
var _49=_48;
|
270
|
+
for(var k=0;k<_49.length;++k){
|
271
|
+
var _4a=_49[k];
|
272
|
+
if(_43(_4a)){
|
273
|
+
_45(_4a);
|
274
|
+
}
|
275
|
+
}
|
276
|
+
}else{
|
277
|
+
if(_43(_48)){
|
278
|
+
_45(_48);
|
279
|
+
}
|
280
|
+
}
|
281
|
+
}
|
282
|
+
}
|
283
|
+
};
|
284
|
+
this._labelAttr=_40.label;
|
285
|
+
var i,_4b;
|
286
|
+
this._arrayOfAllItems=[];
|
287
|
+
this._arrayOfTopLevelItems=_40.items;
|
288
|
+
for(i=0;i<this._arrayOfTopLevelItems.length;++i){
|
289
|
+
_4b=this._arrayOfTopLevelItems[i];
|
290
|
+
if(_2.isArray(_4b)){
|
291
|
+
_41=true;
|
292
|
+
}
|
293
|
+
_45(_4b);
|
294
|
+
_4b[this._rootItemPropName]=true;
|
295
|
+
}
|
296
|
+
var _4c={},key;
|
297
|
+
for(i=0;i<this._arrayOfAllItems.length;++i){
|
298
|
+
_4b=this._arrayOfAllItems[i];
|
299
|
+
for(key in _4b){
|
300
|
+
if(key!==this._rootItemPropName){
|
301
|
+
var _4d=_4b[key];
|
302
|
+
if(_4d!==null){
|
303
|
+
if(!_2.isArray(_4d)){
|
304
|
+
_4b[key]=[_4d];
|
305
|
+
}
|
306
|
+
}else{
|
307
|
+
_4b[key]=[null];
|
308
|
+
}
|
309
|
+
}
|
310
|
+
_4c[key]=key;
|
311
|
+
}
|
312
|
+
}
|
313
|
+
while(_4c[this._storeRefPropName]){
|
314
|
+
this._storeRefPropName+="_";
|
315
|
+
}
|
316
|
+
while(_4c[this._itemNumPropName]){
|
317
|
+
this._itemNumPropName+="_";
|
318
|
+
}
|
319
|
+
while(_4c[this._reverseRefMap]){
|
320
|
+
this._reverseRefMap+="_";
|
321
|
+
}
|
322
|
+
var _4e;
|
323
|
+
var _4f=_40.identifier;
|
324
|
+
if(_4f){
|
325
|
+
this._itemsByIdentity={};
|
326
|
+
this._features["dojo.data.api.Identity"]=_4f;
|
327
|
+
for(i=0;i<this._arrayOfAllItems.length;++i){
|
328
|
+
_4b=this._arrayOfAllItems[i];
|
329
|
+
_4e=_4b[_4f];
|
330
|
+
var _50=_4e[0];
|
331
|
+
if(!Object.hasOwnProperty.call(this._itemsByIdentity,_50)){
|
332
|
+
this._itemsByIdentity[_50]=_4b;
|
333
|
+
}else{
|
334
|
+
if(this._jsonFileUrl){
|
335
|
+
throw new Error("dojo.data.ItemFileReadStore: The json data as specified by: ["+this._jsonFileUrl+"] is malformed. Items within the list have identifier: ["+_4f+"]. Value collided: ["+_50+"]");
|
336
|
+
}else{
|
337
|
+
if(this._jsonData){
|
338
|
+
throw new Error("dojo.data.ItemFileReadStore: The json data provided by the creation arguments is malformed. Items within the list have identifier: ["+_4f+"]. Value collided: ["+_50+"]");
|
339
|
+
}
|
340
|
+
}
|
341
|
+
}
|
342
|
+
}
|
343
|
+
}else{
|
344
|
+
this._features["dojo.data.api.Identity"]=Number;
|
345
|
+
}
|
346
|
+
for(i=0;i<this._arrayOfAllItems.length;++i){
|
347
|
+
_4b=this._arrayOfAllItems[i];
|
348
|
+
_4b[this._storeRefPropName]=this;
|
349
|
+
_4b[this._itemNumPropName]=i;
|
350
|
+
}
|
351
|
+
for(i=0;i<this._arrayOfAllItems.length;++i){
|
352
|
+
_4b=this._arrayOfAllItems[i];
|
353
|
+
for(key in _4b){
|
354
|
+
_4e=_4b[key];
|
355
|
+
for(var j=0;j<_4e.length;++j){
|
356
|
+
_4d=_4e[j];
|
357
|
+
if(_4d!==null&&typeof _4d=="object"){
|
358
|
+
if(("_type" in _4d)&&("_value" in _4d)){
|
359
|
+
var _51=_4d._type;
|
360
|
+
var _52=this._datatypeMap[_51];
|
361
|
+
if(!_52){
|
362
|
+
throw new Error("dojo.data.ItemFileReadStore: in the typeMap constructor arg, no object class was specified for the datatype '"+_51+"'");
|
363
|
+
}else{
|
364
|
+
if(_2.isFunction(_52)){
|
365
|
+
_4e[j]=new _52(_4d._value);
|
366
|
+
}else{
|
367
|
+
if(_2.isFunction(_52.deserialize)){
|
368
|
+
_4e[j]=_52.deserialize(_4d._value);
|
369
|
+
}else{
|
370
|
+
throw new Error("dojo.data.ItemFileReadStore: Value provided in typeMap was neither a constructor, nor a an object with a deserialize function");
|
371
|
+
}
|
372
|
+
}
|
373
|
+
}
|
374
|
+
}
|
375
|
+
if(_4d._reference){
|
376
|
+
var _53=_4d._reference;
|
377
|
+
if(!_2.isObject(_53)){
|
378
|
+
_4e[j]=this._getItemByIdentity(_53);
|
379
|
+
}else{
|
380
|
+
for(var k=0;k<this._arrayOfAllItems.length;++k){
|
381
|
+
var _54=this._arrayOfAllItems[k],_55=true;
|
382
|
+
for(var _56 in _53){
|
383
|
+
if(_54[_56]!=_53[_56]){
|
384
|
+
_55=false;
|
385
|
+
}
|
386
|
+
}
|
387
|
+
if(_55){
|
388
|
+
_4e[j]=_54;
|
389
|
+
}
|
390
|
+
}
|
391
|
+
}
|
392
|
+
if(this.referenceIntegrity){
|
393
|
+
var _57=_4e[j];
|
394
|
+
if(this.isItem(_57)){
|
395
|
+
this._addReferenceToMap(_57,_4b,key);
|
396
|
+
}
|
397
|
+
}
|
398
|
+
}else{
|
399
|
+
if(this.isItem(_4d)){
|
400
|
+
if(this.referenceIntegrity){
|
401
|
+
this._addReferenceToMap(_4d,_4b,key);
|
402
|
+
}
|
403
|
+
}
|
404
|
+
}
|
405
|
+
}
|
406
|
+
}
|
407
|
+
}
|
408
|
+
}
|
409
|
+
},_addReferenceToMap:function(_58,_59,_5a){
|
410
|
+
},getIdentity:function(_5b){
|
411
|
+
var _5c=this._features["dojo.data.api.Identity"];
|
412
|
+
if(_5c===Number){
|
413
|
+
return _5b[this._itemNumPropName];
|
414
|
+
}else{
|
415
|
+
var _5d=_5b[_5c];
|
416
|
+
if(_5d){
|
417
|
+
return _5d[0];
|
418
|
+
}
|
419
|
+
}
|
420
|
+
return null;
|
421
|
+
},fetchItemByIdentity:function(_5e){
|
422
|
+
var _5f,_60;
|
423
|
+
if(!this._loadFinished){
|
424
|
+
var _61=this;
|
425
|
+
if(this._jsonFileUrl!==this._ccUrl){
|
426
|
+
_1.deprecated("dojo.data.ItemFileReadStore: ","To change the url, set the url property of the store,"+" not _jsonFileUrl. _jsonFileUrl support will be removed in 2.0");
|
427
|
+
this._ccUrl=this._jsonFileUrl;
|
428
|
+
this.url=this._jsonFileUrl;
|
429
|
+
}else{
|
430
|
+
if(this.url!==this._ccUrl){
|
431
|
+
this._jsonFileUrl=this.url;
|
432
|
+
this._ccUrl=this.url;
|
433
|
+
}
|
434
|
+
}
|
435
|
+
if(this.data!=null&&this._jsonData==null){
|
436
|
+
this._jsonData=this.data;
|
437
|
+
this.data=null;
|
438
|
+
}
|
439
|
+
if(this._jsonFileUrl){
|
440
|
+
if(this._loadInProgress){
|
441
|
+
this._queuedFetches.push({args:_5e});
|
442
|
+
}else{
|
443
|
+
this._loadInProgress=true;
|
444
|
+
var _62={url:_61._jsonFileUrl,handleAs:"json-comment-optional",preventCache:this.urlPreventCache,failOk:this.failOk};
|
445
|
+
var _63=_5.get(_62);
|
446
|
+
_63.addCallback(function(_64){
|
447
|
+
var _65=_5e.scope?_5e.scope:_7.global;
|
448
|
+
try{
|
449
|
+
_61._getItemsFromLoadedData(_64);
|
450
|
+
_61._loadFinished=true;
|
451
|
+
_61._loadInProgress=false;
|
452
|
+
_5f=_61._getItemByIdentity(_5e.identity);
|
453
|
+
if(_5e.onItem){
|
454
|
+
_5e.onItem.call(_65,_5f);
|
455
|
+
}
|
456
|
+
_61._handleQueuedFetches();
|
457
|
+
}
|
458
|
+
catch(error){
|
459
|
+
_61._loadInProgress=false;
|
460
|
+
if(_5e.onError){
|
461
|
+
_5e.onError.call(_65,error);
|
462
|
+
}
|
463
|
+
}
|
464
|
+
});
|
465
|
+
_63.addErrback(function(_66){
|
466
|
+
_61._loadInProgress=false;
|
467
|
+
if(_5e.onError){
|
468
|
+
var _67=_5e.scope?_5e.scope:_7.global;
|
469
|
+
_5e.onError.call(_67,_66);
|
470
|
+
}
|
471
|
+
});
|
472
|
+
}
|
473
|
+
}else{
|
474
|
+
if(this._jsonData){
|
475
|
+
_61._getItemsFromLoadedData(_61._jsonData);
|
476
|
+
_61._jsonData=null;
|
477
|
+
_61._loadFinished=true;
|
478
|
+
_5f=_61._getItemByIdentity(_5e.identity);
|
479
|
+
if(_5e.onItem){
|
480
|
+
_60=_5e.scope?_5e.scope:_7.global;
|
481
|
+
_5e.onItem.call(_60,_5f);
|
482
|
+
}
|
483
|
+
}
|
484
|
+
}
|
485
|
+
}else{
|
486
|
+
_5f=this._getItemByIdentity(_5e.identity);
|
487
|
+
if(_5e.onItem){
|
488
|
+
_60=_5e.scope?_5e.scope:_7.global;
|
489
|
+
_5e.onItem.call(_60,_5f);
|
490
|
+
}
|
491
|
+
}
|
492
|
+
},_getItemByIdentity:function(_68){
|
493
|
+
var _69=null;
|
494
|
+
if(this._itemsByIdentity){
|
495
|
+
if(Object.hasOwnProperty.call(this._itemsByIdentity,_68)){
|
496
|
+
_69=this._itemsByIdentity[_68];
|
497
|
+
}
|
498
|
+
}else{
|
499
|
+
if(Object.hasOwnProperty.call(this._arrayOfAllItems,_68)){
|
500
|
+
_69=this._arrayOfAllItems[_68];
|
501
|
+
}
|
502
|
+
}
|
503
|
+
if(_69===undefined){
|
504
|
+
_69=null;
|
505
|
+
}
|
506
|
+
return _69;
|
507
|
+
},getIdentityAttributes:function(_6a){
|
508
|
+
var _6b=this._features["dojo.data.api.Identity"];
|
509
|
+
if(_6b===Number){
|
510
|
+
return null;
|
511
|
+
}else{
|
512
|
+
return [_6b];
|
513
|
+
}
|
514
|
+
},_forceLoad:function(){
|
515
|
+
var _6c=this;
|
516
|
+
if(this._jsonFileUrl!==this._ccUrl){
|
517
|
+
_1.deprecated("dojo.data.ItemFileReadStore: ","To change the url, set the url property of the store,"+" not _jsonFileUrl. _jsonFileUrl support will be removed in 2.0");
|
518
|
+
this._ccUrl=this._jsonFileUrl;
|
519
|
+
this.url=this._jsonFileUrl;
|
520
|
+
}else{
|
521
|
+
if(this.url!==this._ccUrl){
|
522
|
+
this._jsonFileUrl=this.url;
|
523
|
+
this._ccUrl=this.url;
|
524
|
+
}
|
525
|
+
}
|
526
|
+
if(this.data!=null){
|
527
|
+
this._jsonData=this.data;
|
528
|
+
this.data=null;
|
529
|
+
}
|
530
|
+
if(this._jsonFileUrl){
|
531
|
+
var _6d={url:this._jsonFileUrl,handleAs:"json-comment-optional",preventCache:this.urlPreventCache,failOk:this.failOk,sync:true};
|
532
|
+
var _6e=_5.get(_6d);
|
533
|
+
_6e.addCallback(function(_6f){
|
534
|
+
try{
|
535
|
+
if(_6c._loadInProgress!==true&&!_6c._loadFinished){
|
536
|
+
_6c._getItemsFromLoadedData(_6f);
|
537
|
+
_6c._loadFinished=true;
|
538
|
+
}else{
|
539
|
+
if(_6c._loadInProgress){
|
540
|
+
throw new Error("dojo.data.ItemFileReadStore: Unable to perform a synchronous load, an async load is in progress.");
|
541
|
+
}
|
542
|
+
}
|
543
|
+
}
|
544
|
+
catch(e){
|
545
|
+
throw e;
|
546
|
+
}
|
547
|
+
});
|
548
|
+
_6e.addErrback(function(_70){
|
549
|
+
throw _70;
|
550
|
+
});
|
551
|
+
}else{
|
552
|
+
if(this._jsonData){
|
553
|
+
_6c._getItemsFromLoadedData(_6c._jsonData);
|
554
|
+
_6c._jsonData=null;
|
555
|
+
_6c._loadFinished=true;
|
556
|
+
}
|
557
|
+
}
|
558
|
+
}});
|
559
|
+
_2.extend(_b,_9);
|
560
|
+
return _b;
|
561
|
+
});
|