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,220 @@
|
|
1
|
+
define("dojo/_base/Color", ["./kernel", "./lang", "./array", "./config"], function(dojo, lang, ArrayUtil, config){
|
2
|
+
|
3
|
+
var Color = dojo.Color = function(/*Array|String|Object*/ color){
|
4
|
+
// summary:
|
5
|
+
// Takes a named string, hex string, array of rgb or rgba values,
|
6
|
+
// an object with r, g, b, and a properties, or another `dojo.Color` object
|
7
|
+
// and creates a new Color instance to work from.
|
8
|
+
//
|
9
|
+
// example:
|
10
|
+
// Work with a Color instance:
|
11
|
+
// | var c = new dojo.Color();
|
12
|
+
// | c.setColor([0,0,0]); // black
|
13
|
+
// | var hex = c.toHex(); // #000000
|
14
|
+
//
|
15
|
+
// example:
|
16
|
+
// Work with a node's color:
|
17
|
+
// | var color = dojo.style("someNode", "backgroundColor");
|
18
|
+
// | var n = new dojo.Color(color);
|
19
|
+
// | // adjust the color some
|
20
|
+
// | n.r *= .5;
|
21
|
+
// | console.log(n.toString()); // rgb(128, 255, 255);
|
22
|
+
if(color){ this.setColor(color); }
|
23
|
+
};
|
24
|
+
|
25
|
+
/*=====
|
26
|
+
lang.mixin(dojo.Color,{
|
27
|
+
named:{
|
28
|
+
// summary: Dictionary list of all CSS named colors, by name. Values are 3-item arrays with corresponding RG and B values.
|
29
|
+
}
|
30
|
+
});
|
31
|
+
=====*/
|
32
|
+
|
33
|
+
// FIXME:
|
34
|
+
// there's got to be a more space-efficient way to encode or discover
|
35
|
+
// these!! Use hex?
|
36
|
+
Color.named = {
|
37
|
+
"black": [0,0,0],
|
38
|
+
"silver": [192,192,192],
|
39
|
+
"gray": [128,128,128],
|
40
|
+
"white": [255,255,255],
|
41
|
+
"maroon": [128,0,0],
|
42
|
+
"red": [255,0,0],
|
43
|
+
"purple": [128,0,128],
|
44
|
+
"fuchsia":[255,0,255],
|
45
|
+
"green": [0,128,0],
|
46
|
+
"lime": [0,255,0],
|
47
|
+
"olive": [128,128,0],
|
48
|
+
"yellow": [255,255,0],
|
49
|
+
"navy": [0,0,128],
|
50
|
+
"blue": [0,0,255],
|
51
|
+
"teal": [0,128,128],
|
52
|
+
"aqua": [0,255,255],
|
53
|
+
"transparent": config.transparentColor || [0,0,0,0]
|
54
|
+
};
|
55
|
+
|
56
|
+
lang.extend(Color, {
|
57
|
+
r: 255, g: 255, b: 255, a: 1,
|
58
|
+
_set: function(r, g, b, a){
|
59
|
+
var t = this; t.r = r; t.g = g; t.b = b; t.a = a;
|
60
|
+
},
|
61
|
+
setColor: function(/*Array|String|Object*/ color){
|
62
|
+
// summary:
|
63
|
+
// Takes a named string, hex string, array of rgb or rgba values,
|
64
|
+
// an object with r, g, b, and a properties, or another `dojo.Color` object
|
65
|
+
// and sets this color instance to that value.
|
66
|
+
//
|
67
|
+
// example:
|
68
|
+
// | var c = new dojo.Color(); // no color
|
69
|
+
// | c.setColor("#ededed"); // greyish
|
70
|
+
if(lang.isString(color)){
|
71
|
+
Color.fromString(color, this);
|
72
|
+
}else if(lang.isArray(color)){
|
73
|
+
Color.fromArray(color, this);
|
74
|
+
}else{
|
75
|
+
this._set(color.r, color.g, color.b, color.a);
|
76
|
+
if(!(color instanceof Color)){ this.sanitize(); }
|
77
|
+
}
|
78
|
+
return this; // dojo.Color
|
79
|
+
},
|
80
|
+
sanitize: function(){
|
81
|
+
// summary:
|
82
|
+
// Ensures the object has correct attributes
|
83
|
+
// description:
|
84
|
+
// the default implementation does nothing, include dojo.colors to
|
85
|
+
// augment it with real checks
|
86
|
+
return this; // dojo.Color
|
87
|
+
},
|
88
|
+
toRgb: function(){
|
89
|
+
// summary:
|
90
|
+
// Returns 3 component array of rgb values
|
91
|
+
// example:
|
92
|
+
// | var c = new dojo.Color("#000000");
|
93
|
+
// | console.log(c.toRgb()); // [0,0,0]
|
94
|
+
var t = this;
|
95
|
+
return [t.r, t.g, t.b]; // Array
|
96
|
+
},
|
97
|
+
toRgba: function(){
|
98
|
+
// summary:
|
99
|
+
// Returns a 4 component array of rgba values from the color
|
100
|
+
// represented by this object.
|
101
|
+
var t = this;
|
102
|
+
return [t.r, t.g, t.b, t.a]; // Array
|
103
|
+
},
|
104
|
+
toHex: function(){
|
105
|
+
// summary:
|
106
|
+
// Returns a CSS color string in hexadecimal representation
|
107
|
+
// example:
|
108
|
+
// | console.log(new dojo.Color([0,0,0]).toHex()); // #000000
|
109
|
+
var arr = ArrayUtil.map(["r", "g", "b"], function(x){
|
110
|
+
var s = this[x].toString(16);
|
111
|
+
return s.length < 2 ? "0" + s : s;
|
112
|
+
}, this);
|
113
|
+
return "#" + arr.join(""); // String
|
114
|
+
},
|
115
|
+
toCss: function(/*Boolean?*/ includeAlpha){
|
116
|
+
// summary:
|
117
|
+
// Returns a css color string in rgb(a) representation
|
118
|
+
// example:
|
119
|
+
// | var c = new dojo.Color("#FFF").toCss();
|
120
|
+
// | console.log(c); // rgb('255','255','255')
|
121
|
+
var t = this, rgb = t.r + ", " + t.g + ", " + t.b;
|
122
|
+
return (includeAlpha ? "rgba(" + rgb + ", " + t.a : "rgb(" + rgb) + ")"; // String
|
123
|
+
},
|
124
|
+
toString: function(){
|
125
|
+
// summary:
|
126
|
+
// Returns a visual representation of the color
|
127
|
+
return this.toCss(true); // String
|
128
|
+
}
|
129
|
+
});
|
130
|
+
|
131
|
+
Color.blendColors = dojo.blendColors = function(
|
132
|
+
/*dojo.Color*/ start,
|
133
|
+
/*dojo.Color*/ end,
|
134
|
+
/*Number*/ weight,
|
135
|
+
/*dojo.Color?*/ obj
|
136
|
+
){
|
137
|
+
// summary:
|
138
|
+
// Blend colors end and start with weight from 0 to 1, 0.5 being a 50/50 blend,
|
139
|
+
// can reuse a previously allocated dojo.Color object for the result
|
140
|
+
var t = obj || new Color();
|
141
|
+
ArrayUtil.forEach(["r", "g", "b", "a"], function(x){
|
142
|
+
t[x] = start[x] + (end[x] - start[x]) * weight;
|
143
|
+
if(x != "a"){ t[x] = Math.round(t[x]); }
|
144
|
+
});
|
145
|
+
return t.sanitize(); // dojo.Color
|
146
|
+
};
|
147
|
+
|
148
|
+
Color.fromRgb = dojo.colorFromRgb = function(/*String*/ color, /*dojo.Color?*/ obj){
|
149
|
+
// summary:
|
150
|
+
// Returns a `dojo.Color` instance from a string of the form
|
151
|
+
// "rgb(...)" or "rgba(...)". Optionally accepts a `dojo.Color`
|
152
|
+
// object to update with the parsed value and return instead of
|
153
|
+
// creating a new object.
|
154
|
+
// returns:
|
155
|
+
// A dojo.Color object. If obj is passed, it will be the return value.
|
156
|
+
var m = color.toLowerCase().match(/^rgba?\(([\s\.,0-9]+)\)/);
|
157
|
+
return m && Color.fromArray(m[1].split(/\s*,\s*/), obj); // dojo.Color
|
158
|
+
};
|
159
|
+
|
160
|
+
Color.fromHex = dojo.colorFromHex = function(/*String*/ color, /*dojo.Color?*/ obj){
|
161
|
+
// summary:
|
162
|
+
// Converts a hex string with a '#' prefix to a color object.
|
163
|
+
// Supports 12-bit #rgb shorthand. Optionally accepts a
|
164
|
+
// `dojo.Color` object to update with the parsed value.
|
165
|
+
//
|
166
|
+
// returns:
|
167
|
+
// A dojo.Color object. If obj is passed, it will be the return value.
|
168
|
+
//
|
169
|
+
// example:
|
170
|
+
// | var thing = dojo.colorFromHex("#ededed"); // grey, longhand
|
171
|
+
//
|
172
|
+
// example:
|
173
|
+
// | var thing = dojo.colorFromHex("#000"); // black, shorthand
|
174
|
+
var t = obj || new Color(),
|
175
|
+
bits = (color.length == 4) ? 4 : 8,
|
176
|
+
mask = (1 << bits) - 1;
|
177
|
+
color = Number("0x" + color.substr(1));
|
178
|
+
if(isNaN(color)){
|
179
|
+
return null; // dojo.Color
|
180
|
+
}
|
181
|
+
ArrayUtil.forEach(["b", "g", "r"], function(x){
|
182
|
+
var c = color & mask;
|
183
|
+
color >>= bits;
|
184
|
+
t[x] = bits == 4 ? 17 * c : c;
|
185
|
+
});
|
186
|
+
t.a = 1;
|
187
|
+
return t; // dojo.Color
|
188
|
+
};
|
189
|
+
|
190
|
+
Color.fromArray = dojo.colorFromArray = function(/*Array*/ a, /*dojo.Color?*/ obj){
|
191
|
+
// summary:
|
192
|
+
// Builds a `dojo.Color` from a 3 or 4 element array, mapping each
|
193
|
+
// element in sequence to the rgb(a) values of the color.
|
194
|
+
// example:
|
195
|
+
// | var myColor = dojo.colorFromArray([237,237,237,0.5]); // grey, 50% alpha
|
196
|
+
// returns:
|
197
|
+
// A dojo.Color object. If obj is passed, it will be the return value.
|
198
|
+
var t = obj || new Color();
|
199
|
+
t._set(Number(a[0]), Number(a[1]), Number(a[2]), Number(a[3]));
|
200
|
+
if(isNaN(t.a)){ t.a = 1; }
|
201
|
+
return t.sanitize(); // dojo.Color
|
202
|
+
};
|
203
|
+
|
204
|
+
Color.fromString = dojo.colorFromString = function(/*String*/ str, /*dojo.Color?*/ obj){
|
205
|
+
// summary:
|
206
|
+
// Parses `str` for a color value. Accepts hex, rgb, and rgba
|
207
|
+
// style color values.
|
208
|
+
// description:
|
209
|
+
// Acceptable input values for str may include arrays of any form
|
210
|
+
// accepted by dojo.colorFromArray, hex strings such as "#aaaaaa", or
|
211
|
+
// rgb or rgba strings such as "rgb(133, 200, 16)" or "rgba(10, 10,
|
212
|
+
// 10, 50)"
|
213
|
+
// returns:
|
214
|
+
// A dojo.Color object. If obj is passed, it will be the return value.
|
215
|
+
var a = Color.named[str];
|
216
|
+
return a && Color.fromArray(a, obj) || Color.fromRgb(str, obj) || Color.fromHex(str, obj); // dojo.Color
|
217
|
+
};
|
218
|
+
|
219
|
+
return Color;
|
220
|
+
});
|
@@ -0,0 +1,129 @@
|
|
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/_base/Deferred",["./kernel","./lang"],function(_1,_2){
|
9
|
+
var _3=function(){
|
10
|
+
};
|
11
|
+
var _4=Object.freeze||function(){
|
12
|
+
};
|
13
|
+
_1.Deferred=function(_5){
|
14
|
+
var _6,_7,_8,_9,_a;
|
15
|
+
var _b=(this.promise={});
|
16
|
+
function _c(_d){
|
17
|
+
if(_7){
|
18
|
+
throw new Error("This deferred has already been resolved");
|
19
|
+
}
|
20
|
+
_6=_d;
|
21
|
+
_7=true;
|
22
|
+
_e();
|
23
|
+
};
|
24
|
+
function _e(){
|
25
|
+
var _f;
|
26
|
+
while(!_f&&_a){
|
27
|
+
var _10=_a;
|
28
|
+
_a=_a.next;
|
29
|
+
if((_f=(_10.progress==_3))){
|
30
|
+
_7=false;
|
31
|
+
}
|
32
|
+
var _11=(_8?_10.error:_10.resolved);
|
33
|
+
if(_11){
|
34
|
+
try{
|
35
|
+
var _12=_11(_6);
|
36
|
+
if(_12&&typeof _12.then==="function"){
|
37
|
+
_12.then(_2.hitch(_10.deferred,"resolve"),_2.hitch(_10.deferred,"reject"),_2.hitch(_10.deferred,"progress"));
|
38
|
+
continue;
|
39
|
+
}
|
40
|
+
var _13=_f&&_12===undefined;
|
41
|
+
if(_f&&!_13){
|
42
|
+
_8=_12 instanceof Error;
|
43
|
+
}
|
44
|
+
_10.deferred[_13&&_8?"reject":"resolve"](_13?_6:_12);
|
45
|
+
}
|
46
|
+
catch(e){
|
47
|
+
_10.deferred.reject(e);
|
48
|
+
}
|
49
|
+
}else{
|
50
|
+
if(_8){
|
51
|
+
_10.deferred.reject(_6);
|
52
|
+
}else{
|
53
|
+
_10.deferred.resolve(_6);
|
54
|
+
}
|
55
|
+
}
|
56
|
+
}
|
57
|
+
};
|
58
|
+
this.resolve=this.callback=function(_14){
|
59
|
+
this.fired=0;
|
60
|
+
this.results=[_14,null];
|
61
|
+
_c(_14);
|
62
|
+
};
|
63
|
+
this.reject=this.errback=function(_15){
|
64
|
+
_8=true;
|
65
|
+
this.fired=1;
|
66
|
+
_c(_15);
|
67
|
+
this.results=[null,_15];
|
68
|
+
if(!_15||_15.log!==false){
|
69
|
+
(_1.config.deferredOnError||function(x){
|
70
|
+
console.error(x);
|
71
|
+
})(_15);
|
72
|
+
}
|
73
|
+
};
|
74
|
+
this.progress=function(_16){
|
75
|
+
var _17=_a;
|
76
|
+
while(_17){
|
77
|
+
var _18=_17.progress;
|
78
|
+
_18&&_18(_16);
|
79
|
+
_17=_17.next;
|
80
|
+
}
|
81
|
+
};
|
82
|
+
this.addCallbacks=function(_19,_1a){
|
83
|
+
this.then(_19,_1a,_3);
|
84
|
+
return this;
|
85
|
+
};
|
86
|
+
_b.then=this.then=function(_1b,_1c,_1d){
|
87
|
+
var _1e=_1d==_3?this:new _1.Deferred(_b.cancel);
|
88
|
+
var _1f={resolved:_1b,error:_1c,progress:_1d,deferred:_1e};
|
89
|
+
if(_a){
|
90
|
+
_9=_9.next=_1f;
|
91
|
+
}else{
|
92
|
+
_a=_9=_1f;
|
93
|
+
}
|
94
|
+
if(_7){
|
95
|
+
_e();
|
96
|
+
}
|
97
|
+
return _1e.promise;
|
98
|
+
};
|
99
|
+
var _20=this;
|
100
|
+
_b.cancel=this.cancel=function(){
|
101
|
+
if(!_7){
|
102
|
+
var _21=_5&&_5(_20);
|
103
|
+
if(!_7){
|
104
|
+
if(!(_21 instanceof Error)){
|
105
|
+
_21=new Error(_21);
|
106
|
+
}
|
107
|
+
_21.log=false;
|
108
|
+
_20.reject(_21);
|
109
|
+
}
|
110
|
+
}
|
111
|
+
};
|
112
|
+
_4(_b);
|
113
|
+
};
|
114
|
+
_2.extend(_1.Deferred,{addCallback:function(_22){
|
115
|
+
return this.addCallbacks(_2.hitch.apply(_1,arguments));
|
116
|
+
},addErrback:function(_23){
|
117
|
+
return this.addCallbacks(null,_2.hitch.apply(_1,arguments));
|
118
|
+
},addBoth:function(_24){
|
119
|
+
var _25=_2.hitch.apply(_1,arguments);
|
120
|
+
return this.addCallbacks(_25,_25);
|
121
|
+
},fired:-1});
|
122
|
+
_1.Deferred.when=_1.when=function(_26,_27,_28,_29){
|
123
|
+
if(_26&&typeof _26.then==="function"){
|
124
|
+
return _26.then(_27,_28,_29);
|
125
|
+
}
|
126
|
+
return _27?_27(_26):_26;
|
127
|
+
};
|
128
|
+
return _1.Deferred;
|
129
|
+
});
|
@@ -0,0 +1,366 @@
|
|
1
|
+
define("dojo/_base/Deferred", ["./kernel", "./lang"], function(dojo, lang){
|
2
|
+
// module:
|
3
|
+
// dojo/_base/Deferred
|
4
|
+
// summary:
|
5
|
+
// This module defines dojo.Deferred.
|
6
|
+
|
7
|
+
var mutator = function(){};
|
8
|
+
var freeze = Object.freeze || function(){};
|
9
|
+
// A deferred provides an API for creating and resolving a promise.
|
10
|
+
dojo.Deferred = function(/*Function?*/ canceller){
|
11
|
+
// summary:
|
12
|
+
// Deferreds provide a generic means for encapsulating an asynchronous
|
13
|
+
// operation and notifying users of the completion and result of the operation.
|
14
|
+
// description:
|
15
|
+
// The dojo.Deferred API is based on the concept of promises that provide a
|
16
|
+
// generic interface into the eventual completion of an asynchronous action.
|
17
|
+
// The motivation for promises fundamentally is about creating a
|
18
|
+
// separation of concerns that allows one to achieve the same type of
|
19
|
+
// call patterns and logical data flow in asynchronous code as can be
|
20
|
+
// achieved in synchronous code. Promises allows one
|
21
|
+
// to be able to call a function purely with arguments needed for
|
22
|
+
// execution, without conflating the call with concerns of whether it is
|
23
|
+
// sync or async. One shouldn't need to alter a call's arguments if the
|
24
|
+
// implementation switches from sync to async (or vice versa). By having
|
25
|
+
// async functions return promises, the concerns of making the call are
|
26
|
+
// separated from the concerns of asynchronous interaction (which are
|
27
|
+
// handled by the promise).
|
28
|
+
//
|
29
|
+
// The dojo.Deferred is a type of promise that provides methods for fulfilling the
|
30
|
+
// promise with a successful result or an error. The most important method for
|
31
|
+
// working with Dojo's promises is the then() method, which follows the
|
32
|
+
// CommonJS proposed promise API. An example of using a Dojo promise:
|
33
|
+
//
|
34
|
+
// | var resultingPromise = someAsyncOperation.then(function(result){
|
35
|
+
// | ... handle result ...
|
36
|
+
// | },
|
37
|
+
// | function(error){
|
38
|
+
// | ... handle error ...
|
39
|
+
// | });
|
40
|
+
//
|
41
|
+
// The .then() call returns a new promise that represents the result of the
|
42
|
+
// execution of the callback. The callbacks will never affect the original promises value.
|
43
|
+
//
|
44
|
+
// The dojo.Deferred instances also provide the following functions for backwards compatibility:
|
45
|
+
//
|
46
|
+
// * addCallback(handler)
|
47
|
+
// * addErrback(handler)
|
48
|
+
// * callback(result)
|
49
|
+
// * errback(result)
|
50
|
+
//
|
51
|
+
// Callbacks are allowed to return promises themselves, so
|
52
|
+
// you can build complicated sequences of events with ease.
|
53
|
+
//
|
54
|
+
// The creator of the Deferred may specify a canceller. The canceller
|
55
|
+
// is a function that will be called if Deferred.cancel is called
|
56
|
+
// before the Deferred fires. You can use this to implement clean
|
57
|
+
// aborting of an XMLHttpRequest, etc. Note that cancel will fire the
|
58
|
+
// deferred with a CancelledError (unless your canceller returns
|
59
|
+
// another kind of error), so the errbacks should be prepared to
|
60
|
+
// handle that error for cancellable Deferreds.
|
61
|
+
// example:
|
62
|
+
// | var deferred = new dojo.Deferred();
|
63
|
+
// | setTimeout(function(){ deferred.callback({success: true}); }, 1000);
|
64
|
+
// | return deferred;
|
65
|
+
// example:
|
66
|
+
// Deferred objects are often used when making code asynchronous. It
|
67
|
+
// may be easiest to write functions in a synchronous manner and then
|
68
|
+
// split code using a deferred to trigger a response to a long-lived
|
69
|
+
// operation. For example, instead of register a callback function to
|
70
|
+
// denote when a rendering operation completes, the function can
|
71
|
+
// simply return a deferred:
|
72
|
+
//
|
73
|
+
// | // callback style:
|
74
|
+
// | function renderLotsOfData(data, callback){
|
75
|
+
// | var success = false
|
76
|
+
// | try{
|
77
|
+
// | for(var x in data){
|
78
|
+
// | renderDataitem(data[x]);
|
79
|
+
// | }
|
80
|
+
// | success = true;
|
81
|
+
// | }catch(e){ }
|
82
|
+
// | if(callback){
|
83
|
+
// | callback(success);
|
84
|
+
// | }
|
85
|
+
// | }
|
86
|
+
//
|
87
|
+
// | // using callback style
|
88
|
+
// | renderLotsOfData(someDataObj, function(success){
|
89
|
+
// | // handles success or failure
|
90
|
+
// | if(!success){
|
91
|
+
// | promptUserToRecover();
|
92
|
+
// | }
|
93
|
+
// | });
|
94
|
+
// | // NOTE: no way to add another callback here!!
|
95
|
+
// example:
|
96
|
+
// Using a Deferred doesn't simplify the sending code any, but it
|
97
|
+
// provides a standard interface for callers and senders alike,
|
98
|
+
// providing both with a simple way to service multiple callbacks for
|
99
|
+
// an operation and freeing both sides from worrying about details
|
100
|
+
// such as "did this get called already?". With Deferreds, new
|
101
|
+
// callbacks can be added at any time.
|
102
|
+
//
|
103
|
+
// | // Deferred style:
|
104
|
+
// | function renderLotsOfData(data){
|
105
|
+
// | var d = new dojo.Deferred();
|
106
|
+
// | try{
|
107
|
+
// | for(var x in data){
|
108
|
+
// | renderDataitem(data[x]);
|
109
|
+
// | }
|
110
|
+
// | d.callback(true);
|
111
|
+
// | }catch(e){
|
112
|
+
// | d.errback(new Error("rendering failed"));
|
113
|
+
// | }
|
114
|
+
// | return d;
|
115
|
+
// | }
|
116
|
+
//
|
117
|
+
// | // using Deferred style
|
118
|
+
// | renderLotsOfData(someDataObj).then(null, function(){
|
119
|
+
// | promptUserToRecover();
|
120
|
+
// | });
|
121
|
+
// | // NOTE: addErrback and addCallback both return the Deferred
|
122
|
+
// | // again, so we could chain adding callbacks or save the
|
123
|
+
// | // deferred for later should we need to be notified again.
|
124
|
+
// example:
|
125
|
+
// In this example, renderLotsOfData is synchronous and so both
|
126
|
+
// versions are pretty artificial. Putting the data display on a
|
127
|
+
// timeout helps show why Deferreds rock:
|
128
|
+
//
|
129
|
+
// | // Deferred style and async func
|
130
|
+
// | function renderLotsOfData(data){
|
131
|
+
// | var d = new dojo.Deferred();
|
132
|
+
// | setTimeout(function(){
|
133
|
+
// | try{
|
134
|
+
// | for(var x in data){
|
135
|
+
// | renderDataitem(data[x]);
|
136
|
+
// | }
|
137
|
+
// | d.callback(true);
|
138
|
+
// | }catch(e){
|
139
|
+
// | d.errback(new Error("rendering failed"));
|
140
|
+
// | }
|
141
|
+
// | }, 100);
|
142
|
+
// | return d;
|
143
|
+
// | }
|
144
|
+
//
|
145
|
+
// | // using Deferred style
|
146
|
+
// | renderLotsOfData(someDataObj).then(null, function(){
|
147
|
+
// | promptUserToRecover();
|
148
|
+
// | });
|
149
|
+
//
|
150
|
+
// Note that the caller doesn't have to change his code at all to
|
151
|
+
// handle the asynchronous case.
|
152
|
+
|
153
|
+
var result, finished, isError, head, nextListener;
|
154
|
+
var promise = (this.promise = {});
|
155
|
+
|
156
|
+
function complete(value){
|
157
|
+
if(finished){
|
158
|
+
throw new Error("This deferred has already been resolved");
|
159
|
+
}
|
160
|
+
result = value;
|
161
|
+
finished = true;
|
162
|
+
notify();
|
163
|
+
}
|
164
|
+
function notify(){
|
165
|
+
var mutated;
|
166
|
+
while(!mutated && nextListener){
|
167
|
+
var listener = nextListener;
|
168
|
+
nextListener = nextListener.next;
|
169
|
+
if((mutated = (listener.progress == mutator))){ // assignment and check
|
170
|
+
finished = false;
|
171
|
+
}
|
172
|
+
var func = (isError ? listener.error : listener.resolved);
|
173
|
+
if(func){
|
174
|
+
try{
|
175
|
+
var newResult = func(result);
|
176
|
+
if (newResult && typeof newResult.then === "function"){
|
177
|
+
newResult.then(lang.hitch(listener.deferred, "resolve"), lang.hitch(listener.deferred, "reject"), lang.hitch(listener.deferred, "progress"));
|
178
|
+
continue;
|
179
|
+
}
|
180
|
+
var unchanged = mutated && newResult === undefined;
|
181
|
+
if(mutated && !unchanged){
|
182
|
+
isError = newResult instanceof Error;
|
183
|
+
}
|
184
|
+
listener.deferred[unchanged && isError ? "reject" : "resolve"](unchanged ? result : newResult);
|
185
|
+
}catch(e){
|
186
|
+
listener.deferred.reject(e);
|
187
|
+
}
|
188
|
+
}else{
|
189
|
+
if(isError){
|
190
|
+
listener.deferred.reject(result);
|
191
|
+
}else{
|
192
|
+
listener.deferred.resolve(result);
|
193
|
+
}
|
194
|
+
}
|
195
|
+
}
|
196
|
+
}
|
197
|
+
// calling resolve will resolve the promise
|
198
|
+
this.resolve = this.callback = function(value){
|
199
|
+
// summary:
|
200
|
+
// Fulfills the Deferred instance successfully with the provide value
|
201
|
+
this.fired = 0;
|
202
|
+
this.results = [value, null];
|
203
|
+
complete(value);
|
204
|
+
};
|
205
|
+
|
206
|
+
|
207
|
+
// calling error will indicate that the promise failed
|
208
|
+
this.reject = this.errback = function(error){
|
209
|
+
// summary:
|
210
|
+
// Fulfills the Deferred instance as an error with the provided error
|
211
|
+
isError = true;
|
212
|
+
this.fired = 1;
|
213
|
+
complete(error);
|
214
|
+
this.results = [null, error];
|
215
|
+
if(!error || error.log !== false){
|
216
|
+
(dojo.config.deferredOnError || function(x){ console.error(x); })(error);
|
217
|
+
}
|
218
|
+
};
|
219
|
+
// call progress to provide updates on the progress on the completion of the promise
|
220
|
+
this.progress = function(update){
|
221
|
+
// summary:
|
222
|
+
// Send progress events to all listeners
|
223
|
+
var listener = nextListener;
|
224
|
+
while(listener){
|
225
|
+
var progress = listener.progress;
|
226
|
+
progress && progress(update);
|
227
|
+
listener = listener.next;
|
228
|
+
}
|
229
|
+
};
|
230
|
+
this.addCallbacks = function(callback, errback){
|
231
|
+
// summary:
|
232
|
+
// Adds callback and error callback for this deferred instance.
|
233
|
+
// callback: Function?
|
234
|
+
// The callback attached to this deferred object.
|
235
|
+
// errback: Function?
|
236
|
+
// The error callback attached to this deferred object.
|
237
|
+
// returns:
|
238
|
+
// Returns this deferred object.
|
239
|
+
this.then(callback, errback, mutator);
|
240
|
+
return this; // dojo.Deferred
|
241
|
+
};
|
242
|
+
// provide the implementation of the promise
|
243
|
+
promise.then = this.then = function(/*Function?*/resolvedCallback, /*Function?*/errorCallback, /*Function?*/progressCallback){
|
244
|
+
// summary:
|
245
|
+
// Adds a fulfilledHandler, errorHandler, and progressHandler to be called for
|
246
|
+
// completion of a promise. The fulfilledHandler is called when the promise
|
247
|
+
// is fulfilled. The errorHandler is called when a promise fails. The
|
248
|
+
// progressHandler is called for progress events. All arguments are optional
|
249
|
+
// and non-function values are ignored. The progressHandler is not only an
|
250
|
+
// optional argument, but progress events are purely optional. Promise
|
251
|
+
// providers are not required to ever create progress events.
|
252
|
+
//
|
253
|
+
// This function will return a new promise that is fulfilled when the given
|
254
|
+
// fulfilledHandler or errorHandler callback is finished. This allows promise
|
255
|
+
// operations to be chained together. The value returned from the callback
|
256
|
+
// handler is the fulfillment value for the returned promise. If the callback
|
257
|
+
// throws an error, the returned promise will be moved to failed state.
|
258
|
+
//
|
259
|
+
// returns:
|
260
|
+
// Returns a new promise that represents the result of the
|
261
|
+
// execution of the callback. The callbacks will never affect the original promises value.
|
262
|
+
// example:
|
263
|
+
// An example of using a CommonJS compliant promise:
|
264
|
+
// | asyncComputeTheAnswerToEverything().
|
265
|
+
// | then(addTwo).
|
266
|
+
// | then(printResult, onError);
|
267
|
+
// | >44
|
268
|
+
//
|
269
|
+
var returnDeferred = progressCallback == mutator ? this : new dojo.Deferred(promise.cancel);
|
270
|
+
var listener = {
|
271
|
+
resolved: resolvedCallback,
|
272
|
+
error: errorCallback,
|
273
|
+
progress: progressCallback,
|
274
|
+
deferred: returnDeferred
|
275
|
+
};
|
276
|
+
if(nextListener){
|
277
|
+
head = head.next = listener;
|
278
|
+
}
|
279
|
+
else{
|
280
|
+
nextListener = head = listener;
|
281
|
+
}
|
282
|
+
if(finished){
|
283
|
+
notify();
|
284
|
+
}
|
285
|
+
return returnDeferred.promise; // Promise
|
286
|
+
};
|
287
|
+
var deferred = this;
|
288
|
+
promise.cancel = this.cancel = function (){
|
289
|
+
// summary:
|
290
|
+
// Cancels the asynchronous operation
|
291
|
+
if(!finished){
|
292
|
+
var error = canceller && canceller(deferred);
|
293
|
+
if(!finished){
|
294
|
+
if (!(error instanceof Error)){
|
295
|
+
error = new Error(error);
|
296
|
+
}
|
297
|
+
error.log = false;
|
298
|
+
deferred.reject(error);
|
299
|
+
}
|
300
|
+
}
|
301
|
+
};
|
302
|
+
freeze(promise);
|
303
|
+
};
|
304
|
+
lang.extend(dojo.Deferred, {
|
305
|
+
addCallback: function (/*Function*/ callback){
|
306
|
+
// summary:
|
307
|
+
// Adds successful callback for this deferred instance.
|
308
|
+
// returns:
|
309
|
+
// Returns this deferred object.
|
310
|
+
return this.addCallbacks(lang.hitch.apply(dojo, arguments)); // dojo.Deferred
|
311
|
+
},
|
312
|
+
|
313
|
+
addErrback: function (/*Function*/ errback){
|
314
|
+
// summary:
|
315
|
+
// Adds error callback for this deferred instance.
|
316
|
+
// returns:
|
317
|
+
// Returns this deferred object.
|
318
|
+
return this.addCallbacks(null, lang.hitch.apply(dojo, arguments)); // dojo.Deferred
|
319
|
+
},
|
320
|
+
|
321
|
+
addBoth: function (/*Function*/ callback){
|
322
|
+
// summary:
|
323
|
+
// Add handler as both successful callback and error callback for this deferred instance.
|
324
|
+
// returns:
|
325
|
+
// Returns this deferred object.
|
326
|
+
var enclosed = lang.hitch.apply(dojo, arguments);
|
327
|
+
return this.addCallbacks(enclosed, enclosed); // dojo.Deferred
|
328
|
+
},
|
329
|
+
fired: -1
|
330
|
+
});
|
331
|
+
|
332
|
+
dojo.Deferred.when = dojo.when = function(promiseOrValue, /*Function?*/ callback, /*Function?*/ errback, /*Function?*/ progressHandler){
|
333
|
+
// summary:
|
334
|
+
// This provides normalization between normal synchronous values and
|
335
|
+
// asynchronous promises, so you can interact with them in a common way
|
336
|
+
// returns:
|
337
|
+
// Returns a new promise that represents the result of the execution of callback
|
338
|
+
// when parameter "promiseOrValue" is promise.
|
339
|
+
// Returns the execution result of callback when parameter "promiseOrValue" is value.
|
340
|
+
// example:
|
341
|
+
// | function printFirstAndLast(items){
|
342
|
+
// | dojo.when(findFirst(items), console.log);
|
343
|
+
// | dojo.when(findLast(items), console.log);
|
344
|
+
// | }
|
345
|
+
// | function findFirst(items){
|
346
|
+
// | return dojo.when(items, function(items){
|
347
|
+
// | return items[0];
|
348
|
+
// | });
|
349
|
+
// | }
|
350
|
+
// | function findLast(items){
|
351
|
+
// | return dojo.when(items, function(items){
|
352
|
+
// | return items[items.length - 1];
|
353
|
+
// | });
|
354
|
+
// | }
|
355
|
+
// And now all three of his functions can be used sync or async.
|
356
|
+
// | printFirstAndLast([1,2,3,4]) will work just as well as
|
357
|
+
// | printFirstAndLast(dojo.xhrGet(...));
|
358
|
+
|
359
|
+
if(promiseOrValue && typeof promiseOrValue.then === "function"){
|
360
|
+
return promiseOrValue.then(callback, errback, progressHandler);
|
361
|
+
}
|
362
|
+
return callback ? callback(promiseOrValue) : promiseOrValue; // Promise
|
363
|
+
};
|
364
|
+
|
365
|
+
return dojo.Deferred;
|
366
|
+
});
|