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,576 @@
|
|
1
|
+
define("dojo/number", ["./_base/kernel", "./_base/lang", "./i18n", "./i18n!./cldr/nls/number", "./string", "./regexp"],
|
2
|
+
function(dojo, lang, i18n, nlsNumber, dstring, dregexp) {
|
3
|
+
|
4
|
+
// module:
|
5
|
+
// dojo/number
|
6
|
+
// summary:
|
7
|
+
// TODOC
|
8
|
+
|
9
|
+
lang.getObject("number", true, dojo);
|
10
|
+
|
11
|
+
/*=====
|
12
|
+
dojo.number = {
|
13
|
+
// summary: localized formatting and parsing routines for Number
|
14
|
+
}
|
15
|
+
|
16
|
+
dojo.number.__FormatOptions = function(){
|
17
|
+
// pattern: String?
|
18
|
+
// override [formatting pattern](http://www.unicode.org/reports/tr35/#Number_Format_Patterns)
|
19
|
+
// with this string. Default value is based on locale. Overriding this property will defeat
|
20
|
+
// localization. Literal characters in patterns are not supported.
|
21
|
+
// type: String?
|
22
|
+
// choose a format type based on the locale from the following:
|
23
|
+
// decimal, scientific (not yet supported), percent, currency. decimal by default.
|
24
|
+
// places: Number?
|
25
|
+
// fixed number of decimal places to show. This overrides any
|
26
|
+
// information in the provided pattern.
|
27
|
+
// round: Number?
|
28
|
+
// 5 rounds to nearest .5; 0 rounds to nearest whole (default). -1
|
29
|
+
// means do not round.
|
30
|
+
// locale: String?
|
31
|
+
// override the locale used to determine formatting rules
|
32
|
+
// fractional: Boolean?
|
33
|
+
// If false, show no decimal places, overriding places and pattern settings.
|
34
|
+
this.pattern = pattern;
|
35
|
+
this.type = type;
|
36
|
+
this.places = places;
|
37
|
+
this.round = round;
|
38
|
+
this.locale = locale;
|
39
|
+
this.fractional = fractional;
|
40
|
+
}
|
41
|
+
=====*/
|
42
|
+
|
43
|
+
dojo.number.format = function(/*Number*/value, /*dojo.number.__FormatOptions?*/options){
|
44
|
+
// summary:
|
45
|
+
// Format a Number as a String, using locale-specific settings
|
46
|
+
// description:
|
47
|
+
// Create a string from a Number using a known localized pattern.
|
48
|
+
// Formatting patterns appropriate to the locale are chosen from the
|
49
|
+
// [Common Locale Data Repository](http://unicode.org/cldr) as well as the appropriate symbols and
|
50
|
+
// delimiters.
|
51
|
+
// If value is Infinity, -Infinity, or is not a valid JavaScript number, return null.
|
52
|
+
// value:
|
53
|
+
// the number to be formatted
|
54
|
+
|
55
|
+
options = lang.mixin({}, options || {});
|
56
|
+
var locale = i18n.normalizeLocale(options.locale),
|
57
|
+
bundle = i18n.getLocalization("dojo.cldr", "number", locale);
|
58
|
+
options.customs = bundle;
|
59
|
+
var pattern = options.pattern || bundle[(options.type || "decimal") + "Format"];
|
60
|
+
if(isNaN(value) || Math.abs(value) == Infinity){ return null; } // null
|
61
|
+
return dojo.number._applyPattern(value, pattern, options); // String
|
62
|
+
};
|
63
|
+
|
64
|
+
//dojo.number._numberPatternRE = /(?:[#0]*,?)*[#0](?:\.0*#*)?/; // not precise, but good enough
|
65
|
+
dojo.number._numberPatternRE = /[#0,]*[#0](?:\.0*#*)?/; // not precise, but good enough
|
66
|
+
|
67
|
+
dojo.number._applyPattern = function(/*Number*/value, /*String*/pattern, /*dojo.number.__FormatOptions?*/options){
|
68
|
+
// summary:
|
69
|
+
// Apply pattern to format value as a string using options. Gives no
|
70
|
+
// consideration to local customs.
|
71
|
+
// value:
|
72
|
+
// the number to be formatted.
|
73
|
+
// pattern:
|
74
|
+
// a pattern string as described by
|
75
|
+
// [unicode.org TR35](http://www.unicode.org/reports/tr35/#Number_Format_Patterns)
|
76
|
+
// options: dojo.number.__FormatOptions?
|
77
|
+
// _applyPattern is usually called via `dojo.number.format()` which
|
78
|
+
// populates an extra property in the options parameter, "customs".
|
79
|
+
// The customs object specifies group and decimal parameters if set.
|
80
|
+
|
81
|
+
//TODO: support escapes
|
82
|
+
options = options || {};
|
83
|
+
var group = options.customs.group,
|
84
|
+
decimal = options.customs.decimal,
|
85
|
+
patternList = pattern.split(';'),
|
86
|
+
positivePattern = patternList[0];
|
87
|
+
pattern = patternList[(value < 0) ? 1 : 0] || ("-" + positivePattern);
|
88
|
+
|
89
|
+
//TODO: only test against unescaped
|
90
|
+
if(pattern.indexOf('%') != -1){
|
91
|
+
value *= 100;
|
92
|
+
}else if(pattern.indexOf('\u2030') != -1){
|
93
|
+
value *= 1000; // per mille
|
94
|
+
}else if(pattern.indexOf('\u00a4') != -1){
|
95
|
+
group = options.customs.currencyGroup || group;//mixins instead?
|
96
|
+
decimal = options.customs.currencyDecimal || decimal;// Should these be mixins instead?
|
97
|
+
pattern = pattern.replace(/\u00a4{1,3}/, function(match){
|
98
|
+
var prop = ["symbol", "currency", "displayName"][match.length-1];
|
99
|
+
return options[prop] || options.currency || "";
|
100
|
+
});
|
101
|
+
}else if(pattern.indexOf('E') != -1){
|
102
|
+
throw new Error("exponential notation not supported");
|
103
|
+
}
|
104
|
+
|
105
|
+
//TODO: support @ sig figs?
|
106
|
+
var numberPatternRE = dojo.number._numberPatternRE;
|
107
|
+
var numberPattern = positivePattern.match(numberPatternRE);
|
108
|
+
if(!numberPattern){
|
109
|
+
throw new Error("unable to find a number expression in pattern: "+pattern);
|
110
|
+
}
|
111
|
+
if(options.fractional === false){ options.places = 0; }
|
112
|
+
return pattern.replace(numberPatternRE,
|
113
|
+
dojo.number._formatAbsolute(value, numberPattern[0], {decimal: decimal, group: group, places: options.places, round: options.round}));
|
114
|
+
};
|
115
|
+
|
116
|
+
dojo.number.round = function(/*Number*/value, /*Number?*/places, /*Number?*/increment){
|
117
|
+
// summary:
|
118
|
+
// Rounds to the nearest value with the given number of decimal places, away from zero
|
119
|
+
// description:
|
120
|
+
// Rounds to the nearest value with the given number of decimal places, away from zero if equal.
|
121
|
+
// Similar to Number.toFixed(), but compensates for browser quirks. Rounding can be done by
|
122
|
+
// fractional increments also, such as the nearest quarter.
|
123
|
+
// NOTE: Subject to floating point errors. See dojox.math.round for experimental workaround.
|
124
|
+
// value:
|
125
|
+
// The number to round
|
126
|
+
// places:
|
127
|
+
// The number of decimal places where rounding takes place. Defaults to 0 for whole rounding.
|
128
|
+
// Must be non-negative.
|
129
|
+
// increment:
|
130
|
+
// Rounds next place to nearest value of increment/10. 10 by default.
|
131
|
+
// example:
|
132
|
+
// >>> dojo.number.round(-0.5)
|
133
|
+
// -1
|
134
|
+
// >>> dojo.number.round(162.295, 2)
|
135
|
+
// 162.29 // note floating point error. Should be 162.3
|
136
|
+
// >>> dojo.number.round(10.71, 0, 2.5)
|
137
|
+
// 10.75
|
138
|
+
var factor = 10 / (increment || 10);
|
139
|
+
return (factor * +value).toFixed(places) / factor; // Number
|
140
|
+
};
|
141
|
+
|
142
|
+
if((0.9).toFixed() == 0){
|
143
|
+
// (isIE) toFixed() bug workaround: Rounding fails on IE when most significant digit
|
144
|
+
// is just after the rounding place and is >=5
|
145
|
+
var round = dojo.number.round;
|
146
|
+
dojo.number.round = function(v, p, m){
|
147
|
+
var d = Math.pow(10, -p || 0), a = Math.abs(v);
|
148
|
+
if(!v || a >= d || a * Math.pow(10, p + 1) < 5){
|
149
|
+
d = 0;
|
150
|
+
}
|
151
|
+
return round(v, p, m) + (v > 0 ? d : -d);
|
152
|
+
};
|
153
|
+
}
|
154
|
+
|
155
|
+
/*=====
|
156
|
+
dojo.number.__FormatAbsoluteOptions = function(){
|
157
|
+
// decimal: String?
|
158
|
+
// the decimal separator
|
159
|
+
// group: String?
|
160
|
+
// the group separator
|
161
|
+
// places: Number?|String?
|
162
|
+
// number of decimal places. the range "n,m" will format to m places.
|
163
|
+
// round: Number?
|
164
|
+
// 5 rounds to nearest .5; 0 rounds to nearest whole (default). -1
|
165
|
+
// means don't round.
|
166
|
+
this.decimal = decimal;
|
167
|
+
this.group = group;
|
168
|
+
this.places = places;
|
169
|
+
this.round = round;
|
170
|
+
}
|
171
|
+
=====*/
|
172
|
+
|
173
|
+
dojo.number._formatAbsolute = function(/*Number*/value, /*String*/pattern, /*dojo.number.__FormatAbsoluteOptions?*/options){
|
174
|
+
// summary:
|
175
|
+
// Apply numeric pattern to absolute value using options. Gives no
|
176
|
+
// consideration to local customs.
|
177
|
+
// value:
|
178
|
+
// the number to be formatted, ignores sign
|
179
|
+
// pattern:
|
180
|
+
// the number portion of a pattern (e.g. `#,##0.00`)
|
181
|
+
options = options || {};
|
182
|
+
if(options.places === true){options.places=0;}
|
183
|
+
if(options.places === Infinity){options.places=6;} // avoid a loop; pick a limit
|
184
|
+
|
185
|
+
var patternParts = pattern.split("."),
|
186
|
+
comma = typeof options.places == "string" && options.places.indexOf(","),
|
187
|
+
maxPlaces = options.places;
|
188
|
+
if(comma){
|
189
|
+
maxPlaces = options.places.substring(comma + 1);
|
190
|
+
}else if(!(maxPlaces >= 0)){
|
191
|
+
maxPlaces = (patternParts[1] || []).length;
|
192
|
+
}
|
193
|
+
if(!(options.round < 0)){
|
194
|
+
value = dojo.number.round(value, maxPlaces, options.round);
|
195
|
+
}
|
196
|
+
|
197
|
+
var valueParts = String(Math.abs(value)).split("."),
|
198
|
+
fractional = valueParts[1] || "";
|
199
|
+
if(patternParts[1] || options.places){
|
200
|
+
if(comma){
|
201
|
+
options.places = options.places.substring(0, comma);
|
202
|
+
}
|
203
|
+
// Pad fractional with trailing zeros
|
204
|
+
var pad = options.places !== undefined ? options.places : (patternParts[1] && patternParts[1].lastIndexOf("0") + 1);
|
205
|
+
if(pad > fractional.length){
|
206
|
+
valueParts[1] = dstring.pad(fractional, pad, '0', true);
|
207
|
+
}
|
208
|
+
|
209
|
+
// Truncate fractional
|
210
|
+
if(maxPlaces < fractional.length){
|
211
|
+
valueParts[1] = fractional.substr(0, maxPlaces);
|
212
|
+
}
|
213
|
+
}else{
|
214
|
+
if(valueParts[1]){ valueParts.pop(); }
|
215
|
+
}
|
216
|
+
|
217
|
+
// Pad whole with leading zeros
|
218
|
+
var patternDigits = patternParts[0].replace(',', '');
|
219
|
+
pad = patternDigits.indexOf("0");
|
220
|
+
if(pad != -1){
|
221
|
+
pad = patternDigits.length - pad;
|
222
|
+
if(pad > valueParts[0].length){
|
223
|
+
valueParts[0] = dstring.pad(valueParts[0], pad);
|
224
|
+
}
|
225
|
+
|
226
|
+
// Truncate whole
|
227
|
+
if(patternDigits.indexOf("#") == -1){
|
228
|
+
valueParts[0] = valueParts[0].substr(valueParts[0].length - pad);
|
229
|
+
}
|
230
|
+
}
|
231
|
+
|
232
|
+
// Add group separators
|
233
|
+
var index = patternParts[0].lastIndexOf(','),
|
234
|
+
groupSize, groupSize2;
|
235
|
+
if(index != -1){
|
236
|
+
groupSize = patternParts[0].length - index - 1;
|
237
|
+
var remainder = patternParts[0].substr(0, index);
|
238
|
+
index = remainder.lastIndexOf(',');
|
239
|
+
if(index != -1){
|
240
|
+
groupSize2 = remainder.length - index - 1;
|
241
|
+
}
|
242
|
+
}
|
243
|
+
var pieces = [];
|
244
|
+
for(var whole = valueParts[0]; whole;){
|
245
|
+
var off = whole.length - groupSize;
|
246
|
+
pieces.push((off > 0) ? whole.substr(off) : whole);
|
247
|
+
whole = (off > 0) ? whole.slice(0, off) : "";
|
248
|
+
if(groupSize2){
|
249
|
+
groupSize = groupSize2;
|
250
|
+
delete groupSize2;
|
251
|
+
}
|
252
|
+
}
|
253
|
+
valueParts[0] = pieces.reverse().join(options.group || ",");
|
254
|
+
|
255
|
+
return valueParts.join(options.decimal || ".");
|
256
|
+
};
|
257
|
+
|
258
|
+
/*=====
|
259
|
+
dojo.number.__RegexpOptions = function(){
|
260
|
+
// pattern: String?
|
261
|
+
// override [formatting pattern](http://www.unicode.org/reports/tr35/#Number_Format_Patterns)
|
262
|
+
// with this string. Default value is based on locale. Overriding this property will defeat
|
263
|
+
// localization.
|
264
|
+
// type: String?
|
265
|
+
// choose a format type based on the locale from the following:
|
266
|
+
// decimal, scientific (not yet supported), percent, currency. decimal by default.
|
267
|
+
// locale: String?
|
268
|
+
// override the locale used to determine formatting rules
|
269
|
+
// strict: Boolean?
|
270
|
+
// strict parsing, false by default. Strict parsing requires input as produced by the format() method.
|
271
|
+
// Non-strict is more permissive, e.g. flexible on white space, omitting thousands separators
|
272
|
+
// places: Number|String?
|
273
|
+
// number of decimal places to accept: Infinity, a positive number, or
|
274
|
+
// a range "n,m". Defined by pattern or Infinity if pattern not provided.
|
275
|
+
this.pattern = pattern;
|
276
|
+
this.type = type;
|
277
|
+
this.locale = locale;
|
278
|
+
this.strict = strict;
|
279
|
+
this.places = places;
|
280
|
+
}
|
281
|
+
=====*/
|
282
|
+
dojo.number.regexp = function(/*dojo.number.__RegexpOptions?*/options){
|
283
|
+
// summary:
|
284
|
+
// Builds the regular needed to parse a number
|
285
|
+
// description:
|
286
|
+
// Returns regular expression with positive and negative match, group
|
287
|
+
// and decimal separators
|
288
|
+
return dojo.number._parseInfo(options).regexp; // String
|
289
|
+
};
|
290
|
+
|
291
|
+
dojo.number._parseInfo = function(/*Object?*/options){
|
292
|
+
options = options || {};
|
293
|
+
var locale = i18n.normalizeLocale(options.locale),
|
294
|
+
bundle = i18n.getLocalization("dojo.cldr", "number", locale),
|
295
|
+
pattern = options.pattern || bundle[(options.type || "decimal") + "Format"],
|
296
|
+
//TODO: memoize?
|
297
|
+
group = bundle.group,
|
298
|
+
decimal = bundle.decimal,
|
299
|
+
factor = 1;
|
300
|
+
|
301
|
+
if(pattern.indexOf('%') != -1){
|
302
|
+
factor /= 100;
|
303
|
+
}else if(pattern.indexOf('\u2030') != -1){
|
304
|
+
factor /= 1000; // per mille
|
305
|
+
}else{
|
306
|
+
var isCurrency = pattern.indexOf('\u00a4') != -1;
|
307
|
+
if(isCurrency){
|
308
|
+
group = bundle.currencyGroup || group;
|
309
|
+
decimal = bundle.currencyDecimal || decimal;
|
310
|
+
}
|
311
|
+
}
|
312
|
+
|
313
|
+
//TODO: handle quoted escapes
|
314
|
+
var patternList = pattern.split(';');
|
315
|
+
if(patternList.length == 1){
|
316
|
+
patternList.push("-" + patternList[0]);
|
317
|
+
}
|
318
|
+
|
319
|
+
var re = dregexp.buildGroupRE(patternList, function(pattern){
|
320
|
+
pattern = "(?:"+dregexp.escapeString(pattern, '.')+")";
|
321
|
+
return pattern.replace(dojo.number._numberPatternRE, function(format){
|
322
|
+
var flags = {
|
323
|
+
signed: false,
|
324
|
+
separator: options.strict ? group : [group,""],
|
325
|
+
fractional: options.fractional,
|
326
|
+
decimal: decimal,
|
327
|
+
exponent: false
|
328
|
+
},
|
329
|
+
|
330
|
+
parts = format.split('.'),
|
331
|
+
places = options.places;
|
332
|
+
|
333
|
+
// special condition for percent (factor != 1)
|
334
|
+
// allow decimal places even if not specified in pattern
|
335
|
+
if(parts.length == 1 && factor != 1){
|
336
|
+
parts[1] = "###";
|
337
|
+
}
|
338
|
+
if(parts.length == 1 || places === 0){
|
339
|
+
flags.fractional = false;
|
340
|
+
}else{
|
341
|
+
if(places === undefined){ places = options.pattern ? parts[1].lastIndexOf('0') + 1 : Infinity; }
|
342
|
+
if(places && options.fractional == undefined){flags.fractional = true;} // required fractional, unless otherwise specified
|
343
|
+
if(!options.places && (places < parts[1].length)){ places += "," + parts[1].length; }
|
344
|
+
flags.places = places;
|
345
|
+
}
|
346
|
+
var groups = parts[0].split(',');
|
347
|
+
if(groups.length > 1){
|
348
|
+
flags.groupSize = groups.pop().length;
|
349
|
+
if(groups.length > 1){
|
350
|
+
flags.groupSize2 = groups.pop().length;
|
351
|
+
}
|
352
|
+
}
|
353
|
+
return "("+dojo.number._realNumberRegexp(flags)+")";
|
354
|
+
});
|
355
|
+
}, true);
|
356
|
+
|
357
|
+
if(isCurrency){
|
358
|
+
// substitute the currency symbol for the placeholder in the pattern
|
359
|
+
re = re.replace(/([\s\xa0]*)(\u00a4{1,3})([\s\xa0]*)/g, function(match, before, target, after){
|
360
|
+
var prop = ["symbol", "currency", "displayName"][target.length-1],
|
361
|
+
symbol = dregexp.escapeString(options[prop] || options.currency || "");
|
362
|
+
before = before ? "[\\s\\xa0]" : "";
|
363
|
+
after = after ? "[\\s\\xa0]" : "";
|
364
|
+
if(!options.strict){
|
365
|
+
if(before){before += "*";}
|
366
|
+
if(after){after += "*";}
|
367
|
+
return "(?:"+before+symbol+after+")?";
|
368
|
+
}
|
369
|
+
return before+symbol+after;
|
370
|
+
});
|
371
|
+
}
|
372
|
+
|
373
|
+
//TODO: substitute localized sign/percent/permille/etc.?
|
374
|
+
|
375
|
+
// normalize whitespace and return
|
376
|
+
return {regexp: re.replace(/[\xa0 ]/g, "[\\s\\xa0]"), group: group, decimal: decimal, factor: factor}; // Object
|
377
|
+
};
|
378
|
+
|
379
|
+
/*=====
|
380
|
+
dojo.number.__ParseOptions = function(){
|
381
|
+
// pattern: String?
|
382
|
+
// override [formatting pattern](http://www.unicode.org/reports/tr35/#Number_Format_Patterns)
|
383
|
+
// with this string. Default value is based on locale. Overriding this property will defeat
|
384
|
+
// localization. Literal characters in patterns are not supported.
|
385
|
+
// type: String?
|
386
|
+
// choose a format type based on the locale from the following:
|
387
|
+
// decimal, scientific (not yet supported), percent, currency. decimal by default.
|
388
|
+
// locale: String?
|
389
|
+
// override the locale used to determine formatting rules
|
390
|
+
// strict: Boolean?
|
391
|
+
// strict parsing, false by default. Strict parsing requires input as produced by the format() method.
|
392
|
+
// Non-strict is more permissive, e.g. flexible on white space, omitting thousands separators
|
393
|
+
// fractional: Boolean?|Array?
|
394
|
+
// Whether to include the fractional portion, where the number of decimal places are implied by pattern
|
395
|
+
// or explicit 'places' parameter. The value [true,false] makes the fractional portion optional.
|
396
|
+
this.pattern = pattern;
|
397
|
+
this.type = type;
|
398
|
+
this.locale = locale;
|
399
|
+
this.strict = strict;
|
400
|
+
this.fractional = fractional;
|
401
|
+
}
|
402
|
+
=====*/
|
403
|
+
dojo.number.parse = function(/*String*/expression, /*dojo.number.__ParseOptions?*/options){
|
404
|
+
// summary:
|
405
|
+
// Convert a properly formatted string to a primitive Number, using
|
406
|
+
// locale-specific settings.
|
407
|
+
// description:
|
408
|
+
// Create a Number from a string using a known localized pattern.
|
409
|
+
// Formatting patterns are chosen appropriate to the locale
|
410
|
+
// and follow the syntax described by
|
411
|
+
// [unicode.org TR35](http://www.unicode.org/reports/tr35/#Number_Format_Patterns)
|
412
|
+
// Note that literal characters in patterns are not supported.
|
413
|
+
// expression:
|
414
|
+
// A string representation of a Number
|
415
|
+
var info = dojo.number._parseInfo(options),
|
416
|
+
results = (new RegExp("^"+info.regexp+"$")).exec(expression);
|
417
|
+
if(!results){
|
418
|
+
return NaN; //NaN
|
419
|
+
}
|
420
|
+
var absoluteMatch = results[1]; // match for the positive expression
|
421
|
+
if(!results[1]){
|
422
|
+
if(!results[2]){
|
423
|
+
return NaN; //NaN
|
424
|
+
}
|
425
|
+
// matched the negative pattern
|
426
|
+
absoluteMatch =results[2];
|
427
|
+
info.factor *= -1;
|
428
|
+
}
|
429
|
+
|
430
|
+
// Transform it to something Javascript can parse as a number. Normalize
|
431
|
+
// decimal point and strip out group separators or alternate forms of whitespace
|
432
|
+
absoluteMatch = absoluteMatch.
|
433
|
+
replace(new RegExp("["+info.group + "\\s\\xa0"+"]", "g"), "").
|
434
|
+
replace(info.decimal, ".");
|
435
|
+
// Adjust for negative sign, percent, etc. as necessary
|
436
|
+
return absoluteMatch * info.factor; //Number
|
437
|
+
};
|
438
|
+
|
439
|
+
/*=====
|
440
|
+
dojo.number.__RealNumberRegexpFlags = function(){
|
441
|
+
// places: Number?
|
442
|
+
// The integer number of decimal places or a range given as "n,m". If
|
443
|
+
// not given, the decimal part is optional and the number of places is
|
444
|
+
// unlimited.
|
445
|
+
// decimal: String?
|
446
|
+
// A string for the character used as the decimal point. Default
|
447
|
+
// is ".".
|
448
|
+
// fractional: Boolean?|Array?
|
449
|
+
// Whether decimal places are used. Can be true, false, or [true,
|
450
|
+
// false]. Default is [true, false] which means optional.
|
451
|
+
// exponent: Boolean?|Array?
|
452
|
+
// Express in exponential notation. Can be true, false, or [true,
|
453
|
+
// false]. Default is [true, false], (i.e. will match if the
|
454
|
+
// exponential part is present are not).
|
455
|
+
// eSigned: Boolean?|Array?
|
456
|
+
// The leading plus-or-minus sign on the exponent. Can be true,
|
457
|
+
// false, or [true, false]. Default is [true, false], (i.e. will
|
458
|
+
// match if it is signed or unsigned). flags in regexp.integer can be
|
459
|
+
// applied.
|
460
|
+
this.places = places;
|
461
|
+
this.decimal = decimal;
|
462
|
+
this.fractional = fractional;
|
463
|
+
this.exponent = exponent;
|
464
|
+
this.eSigned = eSigned;
|
465
|
+
}
|
466
|
+
=====*/
|
467
|
+
|
468
|
+
dojo.number._realNumberRegexp = function(/*dojo.number.__RealNumberRegexpFlags?*/flags){
|
469
|
+
// summary:
|
470
|
+
// Builds a regular expression to match a real number in exponential
|
471
|
+
// notation
|
472
|
+
|
473
|
+
// assign default values to missing parameters
|
474
|
+
flags = flags || {};
|
475
|
+
//TODO: use mixin instead?
|
476
|
+
if(!("places" in flags)){ flags.places = Infinity; }
|
477
|
+
if(typeof flags.decimal != "string"){ flags.decimal = "."; }
|
478
|
+
if(!("fractional" in flags) || /^0/.test(flags.places)){ flags.fractional = [true, false]; }
|
479
|
+
if(!("exponent" in flags)){ flags.exponent = [true, false]; }
|
480
|
+
if(!("eSigned" in flags)){ flags.eSigned = [true, false]; }
|
481
|
+
|
482
|
+
var integerRE = dojo.number._integerRegexp(flags),
|
483
|
+
decimalRE = dregexp.buildGroupRE(flags.fractional,
|
484
|
+
function(q){
|
485
|
+
var re = "";
|
486
|
+
if(q && (flags.places!==0)){
|
487
|
+
re = "\\" + flags.decimal;
|
488
|
+
if(flags.places == Infinity){
|
489
|
+
re = "(?:" + re + "\\d+)?";
|
490
|
+
}else{
|
491
|
+
re += "\\d{" + flags.places + "}";
|
492
|
+
}
|
493
|
+
}
|
494
|
+
return re;
|
495
|
+
},
|
496
|
+
true
|
497
|
+
);
|
498
|
+
|
499
|
+
var exponentRE = dregexp.buildGroupRE(flags.exponent,
|
500
|
+
function(q){
|
501
|
+
if(q){ return "([eE]" + dojo.number._integerRegexp({ signed: flags.eSigned}) + ")"; }
|
502
|
+
return "";
|
503
|
+
}
|
504
|
+
);
|
505
|
+
|
506
|
+
var realRE = integerRE + decimalRE;
|
507
|
+
// allow for decimals without integers, e.g. .25
|
508
|
+
if(decimalRE){realRE = "(?:(?:"+ realRE + ")|(?:" + decimalRE + "))";}
|
509
|
+
return realRE + exponentRE; // String
|
510
|
+
};
|
511
|
+
|
512
|
+
/*=====
|
513
|
+
dojo.number.__IntegerRegexpFlags = function(){
|
514
|
+
// signed: Boolean?
|
515
|
+
// The leading plus-or-minus sign. Can be true, false, or `[true,false]`.
|
516
|
+
// Default is `[true, false]`, (i.e. will match if it is signed
|
517
|
+
// or unsigned).
|
518
|
+
// separator: String?
|
519
|
+
// The character used as the thousands separator. Default is no
|
520
|
+
// separator. For more than one symbol use an array, e.g. `[",", ""]`,
|
521
|
+
// makes ',' optional.
|
522
|
+
// groupSize: Number?
|
523
|
+
// group size between separators
|
524
|
+
// groupSize2: Number?
|
525
|
+
// second grouping, where separators 2..n have a different interval than the first separator (for India)
|
526
|
+
this.signed = signed;
|
527
|
+
this.separator = separator;
|
528
|
+
this.groupSize = groupSize;
|
529
|
+
this.groupSize2 = groupSize2;
|
530
|
+
}
|
531
|
+
=====*/
|
532
|
+
|
533
|
+
dojo.number._integerRegexp = function(/*dojo.number.__IntegerRegexpFlags?*/flags){
|
534
|
+
// summary:
|
535
|
+
// Builds a regular expression that matches an integer
|
536
|
+
|
537
|
+
// assign default values to missing parameters
|
538
|
+
flags = flags || {};
|
539
|
+
if(!("signed" in flags)){ flags.signed = [true, false]; }
|
540
|
+
if(!("separator" in flags)){
|
541
|
+
flags.separator = "";
|
542
|
+
}else if(!("groupSize" in flags)){
|
543
|
+
flags.groupSize = 3;
|
544
|
+
}
|
545
|
+
|
546
|
+
var signRE = dregexp.buildGroupRE(flags.signed,
|
547
|
+
function(q){ return q ? "[-+]" : ""; },
|
548
|
+
true
|
549
|
+
);
|
550
|
+
|
551
|
+
var numberRE = dregexp.buildGroupRE(flags.separator,
|
552
|
+
function(sep){
|
553
|
+
if(!sep){
|
554
|
+
return "(?:\\d+)";
|
555
|
+
}
|
556
|
+
|
557
|
+
sep = dregexp.escapeString(sep);
|
558
|
+
if(sep == " "){ sep = "\\s"; }
|
559
|
+
else if(sep == "\xa0"){ sep = "\\s\\xa0"; }
|
560
|
+
|
561
|
+
var grp = flags.groupSize, grp2 = flags.groupSize2;
|
562
|
+
//TODO: should we continue to enforce that numbers with separators begin with 1-9? See #6933
|
563
|
+
if(grp2){
|
564
|
+
var grp2RE = "(?:0|[1-9]\\d{0," + (grp2-1) + "}(?:[" + sep + "]\\d{" + grp2 + "})*[" + sep + "]\\d{" + grp + "})";
|
565
|
+
return ((grp-grp2) > 0) ? "(?:" + grp2RE + "|(?:0|[1-9]\\d{0," + (grp-1) + "}))" : grp2RE;
|
566
|
+
}
|
567
|
+
return "(?:0|[1-9]\\d{0," + (grp-1) + "}(?:[" + sep + "]\\d{" + grp + "})*)";
|
568
|
+
},
|
569
|
+
true
|
570
|
+
);
|
571
|
+
|
572
|
+
return signRE + numberRE; // String
|
573
|
+
};
|
574
|
+
|
575
|
+
return dojo.number;
|
576
|
+
});
|