dojo-rails 0.9.9 → 0.9.10
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/dojo/rails/version.rb +1 -1
- data/lib/dojo/version.rb +2 -2
- data/vendor/assets/javascripts/dojo.js +1 -1
- data/vendor/assets/javascripts/dojo/AdapterRegistry.js.uncompressed.js +11 -18
- data/vendor/assets/javascripts/dojo/Deferred.js +178 -0
- data/vendor/assets/javascripts/dojo/Deferred.js.uncompressed.js +314 -0
- data/vendor/assets/javascripts/dojo/DeferredList.js.uncompressed.js +4 -6
- data/vendor/assets/javascripts/dojo/Evented.js.uncompressed.js +15 -12
- data/vendor/assets/javascripts/dojo/LICENSE +1 -1
- data/vendor/assets/javascripts/dojo/NodeList-data.js.uncompressed.js +84 -73
- data/vendor/assets/javascripts/dojo/NodeList-dom.js +1 -1
- data/vendor/assets/javascripts/dojo/NodeList-dom.js.uncompressed.js +121 -66
- data/vendor/assets/javascripts/dojo/NodeList-fx.js +28 -27
- data/vendor/assets/javascripts/dojo/NodeList-fx.js.uncompressed.js +46 -47
- data/vendor/assets/javascripts/dojo/NodeList-html.js.uncompressed.js +19 -21
- data/vendor/assets/javascripts/dojo/NodeList-manipulate.js.uncompressed.js +172 -178
- data/vendor/assets/javascripts/dojo/NodeList-traverse.js.uncompressed.js +125 -130
- data/vendor/assets/javascripts/dojo/NodeList.js +10 -0
- data/vendor/assets/javascripts/dojo/NodeList.js.uncompressed.js +6 -0
- data/vendor/assets/javascripts/dojo/OpenAjax.js +13 -15
- data/vendor/assets/javascripts/dojo/Stateful.js +65 -41
- data/vendor/assets/javascripts/dojo/Stateful.js.uncompressed.js +110 -36
- data/vendor/assets/javascripts/dojo/_base/Color.js.uncompressed.js +34 -40
- data/vendor/assets/javascripts/dojo/_base/Deferred.js +84 -84
- data/vendor/assets/javascripts/dojo/_base/Deferred.js.uncompressed.js +57 -74
- data/vendor/assets/javascripts/dojo/_base/NodeList.js +2 -3
- data/vendor/assets/javascripts/dojo/_base/NodeList.js.uncompressed.js +58 -48
- data/vendor/assets/javascripts/dojo/_base/array.js +63 -67
- data/vendor/assets/javascripts/dojo/_base/array.js.uncompressed.js +259 -259
- data/vendor/assets/javascripts/dojo/_base/browser.js.uncompressed.js +10 -3
- data/vendor/assets/javascripts/dojo/_base/config.js.uncompressed.js +85 -72
- data/vendor/assets/javascripts/dojo/_base/configFirefoxExtension.js +15 -13
- data/vendor/assets/javascripts/dojo/_base/configNode.js +5 -5
- data/vendor/assets/javascripts/dojo/_base/configRhino.js +1 -1
- data/vendor/assets/javascripts/dojo/_base/configSpidermonkey.js +5 -9
- data/vendor/assets/javascripts/dojo/_base/connect.js +1 -1
- data/vendor/assets/javascripts/dojo/_base/connect.js.uncompressed.js +177 -203
- data/vendor/assets/javascripts/dojo/_base/declare.js +94 -90
- data/vendor/assets/javascripts/dojo/_base/declare.js.uncompressed.js +397 -402
- data/vendor/assets/javascripts/dojo/_base/event.js +16 -13
- data/vendor/assets/javascripts/dojo/_base/event.js.uncompressed.js +41 -33
- data/vendor/assets/javascripts/dojo/_base/fx.js +187 -183
- data/vendor/assets/javascripts/dojo/_base/fx.js.uncompressed.js +134 -130
- data/vendor/assets/javascripts/dojo/_base/html.js.uncompressed.js +14 -11
- data/vendor/assets/javascripts/dojo/_base/json.js.uncompressed.js +12 -6
- data/vendor/assets/javascripts/dojo/_base/kernel.js +35 -38
- data/vendor/assets/javascripts/dojo/_base/kernel.js.uncompressed.js +59 -62
- data/vendor/assets/javascripts/dojo/_base/lang.js +99 -98
- data/vendor/assets/javascripts/dojo/_base/lang.js.uncompressed.js +435 -537
- data/vendor/assets/javascripts/dojo/_base/loader.js +179 -154
- data/vendor/assets/javascripts/dojo/_base/loader.js.uncompressed.js +252 -194
- data/vendor/assets/javascripts/dojo/_base/query.js +2 -2
- data/vendor/assets/javascripts/dojo/_base/query.js.uncompressed.js +12 -2
- data/vendor/assets/javascripts/dojo/_base/sniff.js +6 -58
- data/vendor/assets/javascripts/dojo/_base/sniff.js.uncompressed.js +60 -151
- data/vendor/assets/javascripts/dojo/_base/unload.js +10 -9
- data/vendor/assets/javascripts/dojo/_base/unload.js.uncompressed.js +44 -43
- data/vendor/assets/javascripts/dojo/_base/url.js.uncompressed.js +1 -3
- data/vendor/assets/javascripts/dojo/_base/window.js +32 -35
- data/vendor/assets/javascripts/dojo/_base/window.js.uncompressed.js +117 -109
- data/vendor/assets/javascripts/dojo/_base/xhr.js +147 -263
- data/vendor/assets/javascripts/dojo/_base/xhr.js.uncompressed.js +253 -378
- data/vendor/assets/javascripts/dojo/_firebug/firebug.js +459 -458
- data/vendor/assets/javascripts/dojo/_firebug/firebug.js.uncompressed.js +39 -31
- data/vendor/assets/javascripts/dojo/aspect.js +71 -63
- data/vendor/assets/javascripts/dojo/aspect.js.uncompressed.js +111 -99
- data/vendor/assets/javascripts/dojo/back.js +11 -10
- data/vendor/assets/javascripts/dojo/back.js.uncompressed.js +59 -59
- data/vendor/assets/javascripts/dojo/behavior.js +49 -47
- data/vendor/assets/javascripts/dojo/behavior.js.uncompressed.js +26 -25
- data/vendor/assets/javascripts/dojo/cache.js +1 -1
- data/vendor/assets/javascripts/dojo/cache.js.uncompressed.js +2 -4
- data/vendor/assets/javascripts/dojo/cldr/monetary.js +13 -12
- data/vendor/assets/javascripts/dojo/cldr/monetary.js.uncompressed.js +15 -10
- data/vendor/assets/javascripts/dojo/cldr/nls/ar/buddhist.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/ar/buddhist.js.uncompressed.js +85 -70
- data/vendor/assets/javascripts/dojo/cldr/nls/ar/currency.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/ar/currency.js.uncompressed.js +6 -6
- data/vendor/assets/javascripts/dojo/cldr/nls/ar/gregorian.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/ar/gregorian.js.uncompressed.js +157 -141
- data/vendor/assets/javascripts/dojo/cldr/nls/ar/hebrew.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/ar/hebrew.js.uncompressed.js +62 -45
- data/vendor/assets/javascripts/dojo/cldr/nls/ar/islamic.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/ar/islamic.js.uncompressed.js +112 -80
- data/vendor/assets/javascripts/dojo/cldr/nls/ar/number.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/ar/number.js.uncompressed.js +11 -10
- data/vendor/assets/javascripts/dojo/cldr/nls/buddhist.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/buddhist.js.uncompressed.js +110 -109
- data/vendor/assets/javascripts/dojo/cldr/nls/ca/currency.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/ca/currency.js.uncompressed.js +6 -6
- data/vendor/assets/javascripts/dojo/cldr/nls/ca/gregorian.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/ca/gregorian.js.uncompressed.js +176 -161
- data/vendor/assets/javascripts/dojo/cldr/nls/ca/number.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/ca/number.js.uncompressed.js +9 -10
- data/vendor/assets/javascripts/dojo/cldr/nls/cs/buddhist.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/cs/buddhist.js.uncompressed.js +170 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/cs/currency.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/cs/currency.js.uncompressed.js +9 -9
- data/vendor/assets/javascripts/dojo/cldr/nls/cs/gregorian.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/cs/gregorian.js.uncompressed.js +166 -139
- data/vendor/assets/javascripts/dojo/cldr/nls/cs/islamic.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/cs/islamic.js.uncompressed.js +99 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/cs/number.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/cs/number.js.uncompressed.js +9 -10
- data/vendor/assets/javascripts/dojo/cldr/nls/currency.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/currency.js.uncompressed.js +5 -4
- data/vendor/assets/javascripts/dojo/cldr/nls/da/buddhist.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/da/buddhist.js.uncompressed.js +91 -89
- data/vendor/assets/javascripts/dojo/cldr/nls/da/currency.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/da/currency.js.uncompressed.js +6 -6
- data/vendor/assets/javascripts/dojo/cldr/nls/da/gregorian.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/da/gregorian.js.uncompressed.js +174 -156
- data/vendor/assets/javascripts/dojo/cldr/nls/da/islamic.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/da/islamic.js.uncompressed.js +60 -56
- data/vendor/assets/javascripts/dojo/cldr/nls/da/number.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/da/number.js.uncompressed.js +9 -10
- data/vendor/assets/javascripts/dojo/cldr/nls/de/buddhist.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/de/buddhist.js.uncompressed.js +92 -80
- data/vendor/assets/javascripts/dojo/cldr/nls/de/currency.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/de/currency.js.uncompressed.js +8 -8
- data/vendor/assets/javascripts/dojo/cldr/nls/de/gregorian.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/de/gregorian.js.uncompressed.js +176 -158
- data/vendor/assets/javascripts/dojo/cldr/nls/de/islamic.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/de/islamic.js.uncompressed.js +63 -143
- data/vendor/assets/javascripts/dojo/cldr/nls/de/number.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/de/number.js.uncompressed.js +9 -10
- data/vendor/assets/javascripts/dojo/cldr/nls/el/buddhist.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/el/buddhist.js.uncompressed.js +144 -70
- data/vendor/assets/javascripts/dojo/cldr/nls/el/currency.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/el/currency.js.uncompressed.js +6 -5
- data/vendor/assets/javascripts/dojo/cldr/nls/el/gregorian.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/el/gregorian.js.uncompressed.js +170 -153
- data/vendor/assets/javascripts/dojo/cldr/nls/el/hebrew.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/el/hebrew.js.uncompressed.js +78 -37
- data/vendor/assets/javascripts/dojo/cldr/nls/el/number.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/el/number.js.uncompressed.js +9 -9
- data/vendor/assets/javascripts/dojo/cldr/nls/en-au/gregorian.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/en-au/gregorian.js.uncompressed.js +15 -8
- data/vendor/assets/javascripts/dojo/cldr/nls/en-ca/gregorian.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/en-ca/gregorian.js.uncompressed.js +12 -10
- data/vendor/assets/javascripts/dojo/cldr/nls/en-gb/buddhist.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/en-gb/buddhist.js.uncompressed.js +69 -64
- data/vendor/assets/javascripts/dojo/cldr/nls/en-gb/gregorian.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/en-gb/gregorian.js.uncompressed.js +16 -12
- data/vendor/assets/javascripts/dojo/cldr/nls/en-gb/islamic.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/en-gb/islamic.js.uncompressed.js +40 -127
- data/vendor/assets/javascripts/dojo/cldr/nls/en/buddhist.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/en/buddhist.js.uncompressed.js +77 -72
- data/vendor/assets/javascripts/dojo/cldr/nls/en/currency.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/en/currency.js.uncompressed.js +7 -7
- data/vendor/assets/javascripts/dojo/cldr/nls/en/gregorian.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/en/gregorian.js.uncompressed.js +154 -140
- data/vendor/assets/javascripts/dojo/cldr/nls/en/islamic.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/en/islamic.js.uncompressed.js +52 -139
- data/vendor/assets/javascripts/dojo/cldr/nls/en/number.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/en/number.js.uncompressed.js +9 -11
- data/vendor/assets/javascripts/dojo/cldr/nls/es/buddhist.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/es/buddhist.js.uncompressed.js +104 -78
- data/vendor/assets/javascripts/dojo/cldr/nls/es/currency.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/es/currency.js.uncompressed.js +8 -7
- data/vendor/assets/javascripts/dojo/cldr/nls/es/gregorian.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/es/gregorian.js.uncompressed.js +177 -156
- data/vendor/assets/javascripts/dojo/cldr/nls/es/islamic.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/es/islamic.js.uncompressed.js +74 -145
- data/vendor/assets/javascripts/dojo/cldr/nls/es/number.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/es/number.js.uncompressed.js +9 -9
- data/vendor/assets/javascripts/dojo/cldr/nls/fi/buddhist.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/fi/buddhist.js.uncompressed.js +150 -102
- data/vendor/assets/javascripts/dojo/cldr/nls/fi/currency.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/fi/currency.js.uncompressed.js +7 -12
- data/vendor/assets/javascripts/dojo/cldr/nls/fi/gregorian.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/fi/gregorian.js.uncompressed.js +163 -144
- data/vendor/assets/javascripts/dojo/cldr/nls/fi/hebrew.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/fi/hebrew.js.uncompressed.js +130 -95
- data/vendor/assets/javascripts/dojo/cldr/nls/fi/islamic.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/fi/islamic.js.uncompressed.js +119 -83
- data/vendor/assets/javascripts/dojo/cldr/nls/fi/number.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/fi/number.js.uncompressed.js +9 -10
- data/vendor/assets/javascripts/dojo/cldr/nls/fr-ch/gregorian.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/fr-ch/gregorian.js.uncompressed.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/fr-ch/number.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/fr-ch/number.js.uncompressed.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/fr/buddhist.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/fr/buddhist.js.uncompressed.js +160 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/fr/currency.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/fr/currency.js.uncompressed.js +11 -12
- data/vendor/assets/javascripts/dojo/cldr/nls/fr/gregorian.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/fr/gregorian.js.uncompressed.js +171 -157
- data/vendor/assets/javascripts/dojo/cldr/nls/fr/hebrew.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/fr/hebrew.js.uncompressed.js +139 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/fr/islamic.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/fr/islamic.js.uncompressed.js +177 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/fr/number.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/fr/number.js.uncompressed.js +9 -10
- data/vendor/assets/javascripts/dojo/cldr/nls/gregorian.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/gregorian.js.uncompressed.js +127 -125
- data/vendor/assets/javascripts/dojo/cldr/nls/he/currency.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/he/currency.js.uncompressed.js +6 -6
- data/vendor/assets/javascripts/dojo/cldr/nls/he/gregorian.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/he/gregorian.js.uncompressed.js +168 -140
- data/vendor/assets/javascripts/dojo/cldr/nls/he/hebrew.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/he/hebrew.js.uncompressed.js +83 -40
- data/vendor/assets/javascripts/dojo/cldr/nls/he/islamic.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/he/islamic.js.uncompressed.js +56 -40
- data/vendor/assets/javascripts/dojo/cldr/nls/he/number.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/he/number.js.uncompressed.js +9 -10
- data/vendor/assets/javascripts/dojo/cldr/nls/hebrew.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/hebrew.js.uncompressed.js +138 -132
- data/vendor/assets/javascripts/dojo/cldr/nls/hu/buddhist.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/hu/buddhist.js.uncompressed.js +209 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/hu/currency.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/hu/currency.js.uncompressed.js +7 -7
- data/vendor/assets/javascripts/dojo/cldr/nls/hu/gregorian.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/hu/gregorian.js.uncompressed.js +161 -138
- data/vendor/assets/javascripts/dojo/cldr/nls/hu/hebrew.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/hu/hebrew.js.uncompressed.js +187 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/hu/islamic.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/hu/islamic.js.uncompressed.js +199 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/hu/number.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/hu/number.js.uncompressed.js +8 -9
- data/vendor/assets/javascripts/dojo/cldr/nls/islamic.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/islamic.js.uncompressed.js +137 -132
- data/vendor/assets/javascripts/dojo/cldr/nls/it/buddhist.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/it/buddhist.js.uncompressed.js +192 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/it/currency.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/it/currency.js.uncompressed.js +6 -6
- data/vendor/assets/javascripts/dojo/cldr/nls/it/gregorian.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/it/gregorian.js.uncompressed.js +161 -146
- data/vendor/assets/javascripts/dojo/cldr/nls/it/islamic.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/it/islamic.js.uncompressed.js +104 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/it/number.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/it/number.js.uncompressed.js +9 -3
- data/vendor/assets/javascripts/dojo/cldr/nls/ja/buddhist.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ja/buddhist.js.uncompressed.js +101 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ja/currency.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/ja/currency.js.uncompressed.js +8 -8
- data/vendor/assets/javascripts/dojo/cldr/nls/ja/gregorian.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/ja/gregorian.js.uncompressed.js +159 -139
- data/vendor/assets/javascripts/dojo/cldr/nls/ja/hebrew.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ja/hebrew.js.uncompressed.js +168 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ja/islamic.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ja/islamic.js.uncompressed.js +128 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ja/number.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/ja/number.js.uncompressed.js +5 -3
- data/vendor/assets/javascripts/dojo/cldr/nls/ko/buddhist.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ko/buddhist.js.uncompressed.js +127 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ko/currency.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/ko/currency.js.uncompressed.js +6 -6
- data/vendor/assets/javascripts/dojo/cldr/nls/ko/gregorian.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/ko/gregorian.js.uncompressed.js +153 -137
- data/vendor/assets/javascripts/dojo/cldr/nls/ko/number.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/ko/number.js.uncompressed.js +9 -10
- data/vendor/assets/javascripts/dojo/cldr/nls/nb/buddhist.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/nb/buddhist.js.uncompressed.js +206 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/nb/currency.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/nb/currency.js.uncompressed.js +6 -14
- data/vendor/assets/javascripts/dojo/cldr/nls/nb/gregorian.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/nb/gregorian.js.uncompressed.js +176 -153
- data/vendor/assets/javascripts/dojo/cldr/nls/nb/islamic.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/nb/islamic.js.uncompressed.js +133 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/nb/number.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/nb/number.js.uncompressed.js +9 -10
- data/vendor/assets/javascripts/dojo/cldr/nls/nl/buddhist.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/nl/buddhist.js.uncompressed.js +133 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/nl/currency.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/nl/currency.js.uncompressed.js +6 -6
- data/vendor/assets/javascripts/dojo/cldr/nls/nl/gregorian.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/nl/gregorian.js.uncompressed.js +180 -162
- data/vendor/assets/javascripts/dojo/cldr/nls/nl/hebrew.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/nl/hebrew.js.uncompressed.js +123 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/nl/islamic.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/nl/islamic.js.uncompressed.js +163 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/nl/number.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/nl/number.js.uncompressed.js +9 -10
- data/vendor/assets/javascripts/dojo/cldr/nls/number.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/number.js.uncompressed.js +17 -19
- data/vendor/assets/javascripts/dojo/cldr/nls/pl/buddhist.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/pl/buddhist.js.uncompressed.js +203 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/pl/currency.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/pl/currency.js.uncompressed.js +6 -6
- data/vendor/assets/javascripts/dojo/cldr/nls/pl/gregorian.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/pl/gregorian.js.uncompressed.js +169 -149
- data/vendor/assets/javascripts/dojo/cldr/nls/pl/hebrew.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/pl/hebrew.js.uncompressed.js +166 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/pl/islamic.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/pl/islamic.js.uncompressed.js +196 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/pl/number.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/pl/number.js.uncompressed.js +9 -10
- data/vendor/assets/javascripts/dojo/cldr/nls/pt-pt/buddhist.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/pt-pt/buddhist.js.uncompressed.js +127 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/pt-pt/currency.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/pt-pt/currency.js.uncompressed.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/pt-pt/gregorian.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/pt-pt/gregorian.js.uncompressed.js +78 -62
- data/vendor/assets/javascripts/dojo/cldr/nls/pt-pt/islamic.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/pt-pt/islamic.js.uncompressed.js +82 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/pt-pt/number.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/pt-pt/number.js.uncompressed.js +3 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/pt/buddhist.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/pt/buddhist.js.uncompressed.js +130 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/pt/currency.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/pt/currency.js.uncompressed.js +6 -6
- data/vendor/assets/javascripts/dojo/cldr/nls/pt/gregorian.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/pt/gregorian.js.uncompressed.js +185 -166
- data/vendor/assets/javascripts/dojo/cldr/nls/pt/hebrew.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/pt/hebrew.js.uncompressed.js +137 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/pt/islamic.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/pt/islamic.js.uncompressed.js +101 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/pt/number.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/pt/number.js.uncompressed.js +9 -10
- data/vendor/assets/javascripts/dojo/cldr/nls/ro/buddhist.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/ro/buddhist.js.uncompressed.js +148 -62
- data/vendor/assets/javascripts/dojo/cldr/nls/ro/currency.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/ro/currency.js.uncompressed.js +6 -5
- data/vendor/assets/javascripts/dojo/cldr/nls/ro/gregorian.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/ro/gregorian.js.uncompressed.js +170 -159
- data/vendor/assets/javascripts/dojo/cldr/nls/ro/hebrew.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ro/hebrew.js.uncompressed.js +169 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ro/islamic.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ro/islamic.js.uncompressed.js +117 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ro/number.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/ro/number.js.uncompressed.js +9 -10
- data/vendor/assets/javascripts/dojo/cldr/nls/ru/buddhist.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ru/buddhist.js.uncompressed.js +203 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ru/currency.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/ru/currency.js.uncompressed.js +7 -6
- data/vendor/assets/javascripts/dojo/cldr/nls/ru/gregorian.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/ru/gregorian.js.uncompressed.js +184 -155
- data/vendor/assets/javascripts/dojo/cldr/nls/ru/hebrew.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ru/hebrew.js.uncompressed.js +169 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ru/islamic.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ru/islamic.js.uncompressed.js +197 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ru/number.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/ru/number.js.uncompressed.js +10 -10
- data/vendor/assets/javascripts/dojo/cldr/nls/sk/currency.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/sk/currency.js.uncompressed.js +7 -7
- data/vendor/assets/javascripts/dojo/cldr/nls/sk/gregorian.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/sk/gregorian.js.uncompressed.js +172 -148
- data/vendor/assets/javascripts/dojo/cldr/nls/sk/number.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/sk/number.js.uncompressed.js +5 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/sl/currency.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/sl/currency.js.uncompressed.js +7 -7
- data/vendor/assets/javascripts/dojo/cldr/nls/sl/gregorian.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/sl/gregorian.js.uncompressed.js +157 -134
- data/vendor/assets/javascripts/dojo/cldr/nls/sl/number.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/sl/number.js.uncompressed.js +9 -10
- data/vendor/assets/javascripts/dojo/cldr/nls/sv/buddhist.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/sv/buddhist.js.uncompressed.js +209 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/sv/currency.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/sv/currency.js.uncompressed.js +7 -9
- data/vendor/assets/javascripts/dojo/cldr/nls/sv/gregorian.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/sv/gregorian.js.uncompressed.js +164 -152
- data/vendor/assets/javascripts/dojo/cldr/nls/sv/hebrew.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/sv/hebrew.js.uncompressed.js +167 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/sv/islamic.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/sv/islamic.js.uncompressed.js +189 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/sv/number.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/sv/number.js.uncompressed.js +9 -10
- data/vendor/assets/javascripts/dojo/cldr/nls/th/buddhist.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/th/buddhist.js.uncompressed.js +91 -65
- data/vendor/assets/javascripts/dojo/cldr/nls/th/currency.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/th/currency.js.uncompressed.js +7 -7
- data/vendor/assets/javascripts/dojo/cldr/nls/th/gregorian.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/th/gregorian.js.uncompressed.js +161 -138
- data/vendor/assets/javascripts/dojo/cldr/nls/th/hebrew.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/th/hebrew.js.uncompressed.js +139 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/th/islamic.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/th/islamic.js.uncompressed.js +134 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/th/number.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/th/number.js.uncompressed.js +9 -10
- data/vendor/assets/javascripts/dojo/cldr/nls/tr/buddhist.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/tr/buddhist.js.uncompressed.js +203 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/tr/currency.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/tr/currency.js.uncompressed.js +8 -8
- data/vendor/assets/javascripts/dojo/cldr/nls/tr/gregorian.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/tr/gregorian.js.uncompressed.js +160 -146
- data/vendor/assets/javascripts/dojo/cldr/nls/tr/hebrew.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/tr/hebrew.js.uncompressed.js +161 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/tr/islamic.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/tr/islamic.js.uncompressed.js +181 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/tr/number.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/tr/number.js.uncompressed.js +9 -10
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-hant/buddhist.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-hant/buddhist.js.uncompressed.js +141 -95
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-hant/currency.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-hant/currency.js.uncompressed.js +7 -6
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-hant/gregorian.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-hant/gregorian.js.uncompressed.js +144 -146
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-hant/hebrew.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-hant/hebrew.js.uncompressed.js +182 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-hant/islamic.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-hant/islamic.js.uncompressed.js +153 -54
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-hant/number.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-hant/number.js.uncompressed.js +2 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-hk/currency.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-hk/currency.js.uncompressed.js +6 -6
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-hk/gregorian.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-hk/gregorian.js.uncompressed.js +34 -37
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-hk/number.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-hk/number.js.uncompressed.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-tw/currency.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-tw/currency.js.uncompressed.js +5 -4
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-tw/gregorian.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-tw/gregorian.js.uncompressed.js +51 -49
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-tw/number.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-tw/number.js.uncompressed.js +7 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/zh/buddhist.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/zh/buddhist.js.uncompressed.js +205 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/zh/currency.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/zh/currency.js.uncompressed.js +6 -6
- data/vendor/assets/javascripts/dojo/cldr/nls/zh/gregorian.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/zh/gregorian.js.uncompressed.js +152 -135
- data/vendor/assets/javascripts/dojo/cldr/nls/zh/hebrew.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/zh/hebrew.js.uncompressed.js +181 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/zh/islamic.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/zh/islamic.js.uncompressed.js +137 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/zh/number.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/zh/number.js.uncompressed.js +4 -3
- data/vendor/assets/javascripts/dojo/cldr/supplemental.js +25 -28
- data/vendor/assets/javascripts/dojo/cldr/supplemental.js.uncompressed.js +46 -39
- data/vendor/assets/javascripts/dojo/colors.js +2 -1
- data/vendor/assets/javascripts/dojo/colors.js.uncompressed.js +22 -22
- data/vendor/assets/javascripts/dojo/cookie.js.uncompressed.js +30 -30
- data/vendor/assets/javascripts/dojo/currency.js +14 -13
- data/vendor/assets/javascripts/dojo/currency.js.uncompressed.js +64 -66
- data/vendor/assets/javascripts/dojo/data/ItemFileReadStore.js +138 -138
- data/vendor/assets/javascripts/dojo/data/ItemFileReadStore.js.uncompressed.js +251 -245
- data/vendor/assets/javascripts/dojo/data/ItemFileWriteStore.js +1 -1
- data/vendor/assets/javascripts/dojo/data/ItemFileWriteStore.js.uncompressed.js +80 -69
- data/vendor/assets/javascripts/dojo/data/ObjectStore.js +176 -169
- data/vendor/assets/javascripts/dojo/data/ObjectStore.js.uncompressed.js +122 -83
- data/vendor/assets/javascripts/dojo/data/api/Identity.js +6 -7
- data/vendor/assets/javascripts/dojo/data/api/Identity.js.uncompressed.js +35 -33
- data/vendor/assets/javascripts/dojo/data/api/Item.js +10 -0
- data/vendor/assets/javascripts/dojo/data/api/Item.js.uncompressed.js +13 -0
- data/vendor/assets/javascripts/dojo/data/api/Notification.js +5 -6
- data/vendor/assets/javascripts/dojo/data/api/Notification.js.uncompressed.js +39 -51
- data/vendor/assets/javascripts/dojo/data/api/Read.js +2 -3
- data/vendor/assets/javascripts/dojo/data/api/Read.js.uncompressed.js +85 -84
- data/vendor/assets/javascripts/dojo/data/api/Request.js +2 -3
- data/vendor/assets/javascripts/dojo/data/api/Request.js.uncompressed.js +10 -13
- data/vendor/assets/javascripts/dojo/data/api/Write.js +9 -10
- data/vendor/assets/javascripts/dojo/data/api/Write.js.uncompressed.js +28 -43
- data/vendor/assets/javascripts/dojo/data/util/filter.js +3 -2
- data/vendor/assets/javascripts/dojo/data/util/filter.js.uncompressed.js +19 -16
- data/vendor/assets/javascripts/dojo/data/util/simpleFetch.js +37 -40
- data/vendor/assets/javascripts/dojo/data/util/simpleFetch.js.uncompressed.js +202 -57
- data/vendor/assets/javascripts/dojo/data/util/sorter.js +3 -2
- data/vendor/assets/javascripts/dojo/data/util/sorter.js.uncompressed.js +16 -16
- data/vendor/assets/javascripts/dojo/date.js +106 -105
- data/vendor/assets/javascripts/dojo/date.js.uncompressed.js +46 -47
- data/vendor/assets/javascripts/dojo/date/locale.js +196 -183
- data/vendor/assets/javascripts/dojo/date/locale.js.uncompressed.js +105 -81
- data/vendor/assets/javascripts/dojo/date/stamp.js +10 -9
- data/vendor/assets/javascripts/dojo/date/stamp.js.uncompressed.js +40 -42
- data/vendor/assets/javascripts/dojo/dnd/AutoSource.js +2 -2
- data/vendor/assets/javascripts/dojo/dnd/AutoSource.js.uncompressed.js +3 -4
- data/vendor/assets/javascripts/dojo/dnd/Avatar.js +32 -30
- data/vendor/assets/javascripts/dojo/dnd/Avatar.js.uncompressed.js +45 -34
- data/vendor/assets/javascripts/dojo/dnd/Container.js +99 -96
- data/vendor/assets/javascripts/dojo/dnd/Container.js.uncompressed.js +123 -99
- data/vendor/assets/javascripts/dojo/dnd/Manager.js +58 -52
- data/vendor/assets/javascripts/dojo/dnd/Manager.js.uncompressed.js +52 -42
- data/vendor/assets/javascripts/dojo/dnd/Moveable.js +41 -39
- data/vendor/assets/javascripts/dojo/dnd/Moveable.js.uncompressed.js +72 -60
- data/vendor/assets/javascripts/dojo/dnd/Mover.js +19 -17
- data/vendor/assets/javascripts/dojo/dnd/Mover.js.uncompressed.js +37 -32
- data/vendor/assets/javascripts/dojo/dnd/Selector.js +52 -50
- data/vendor/assets/javascripts/dojo/dnd/Selector.js.uncompressed.js +51 -46
- data/vendor/assets/javascripts/dojo/dnd/Source.js +109 -106
- data/vendor/assets/javascripts/dojo/dnd/Source.js.uncompressed.js +60 -67
- data/vendor/assets/javascripts/dojo/dnd/Target.js +3 -3
- data/vendor/assets/javascripts/dojo/dnd/Target.js.uncompressed.js +7 -7
- data/vendor/assets/javascripts/dojo/dnd/TimedMoveable.js +19 -20
- data/vendor/assets/javascripts/dojo/dnd/TimedMoveable.js.uncompressed.js +9 -14
- data/vendor/assets/javascripts/dojo/dnd/autoscroll.js +48 -39
- data/vendor/assets/javascripts/dojo/dnd/autoscroll.js.uncompressed.js +77 -46
- data/vendor/assets/javascripts/dojo/dnd/common.js +11 -10
- data/vendor/assets/javascripts/dojo/dnd/common.js.uncompressed.js +19 -13
- data/vendor/assets/javascripts/dojo/dnd/move.js +31 -34
- data/vendor/assets/javascripts/dojo/dnd/move.js.uncompressed.js +31 -27
- data/vendor/assets/javascripts/dojo/dojo.js +12 -1869
- data/vendor/assets/javascripts/dojo/dojo.js.uncompressed.js +7168 -5874
- data/vendor/assets/javascripts/dojo/dojo.profile.js +6 -6
- data/vendor/assets/javascripts/dojo/dom-attr.js +30 -31
- data/vendor/assets/javascripts/dojo/dom-attr.js.uncompressed.js +71 -89
- data/vendor/assets/javascripts/dojo/dom-class.js.uncompressed.js +161 -155
- data/vendor/assets/javascripts/dojo/dom-construct.js +1 -1
- data/vendor/assets/javascripts/dojo/dom-construct.js.uncompressed.js +159 -202
- data/vendor/assets/javascripts/dojo/dom-form.js.uncompressed.js +60 -77
- data/vendor/assets/javascripts/dojo/dom-geometry.js +43 -45
- data/vendor/assets/javascripts/dojo/dom-geometry.js.uncompressed.js +257 -403
- data/vendor/assets/javascripts/dojo/dom-prop.js +36 -37
- data/vendor/assets/javascripts/dojo/dom-prop.js.uncompressed.js +33 -42
- data/vendor/assets/javascripts/dojo/dom-style.js +2 -2
- data/vendor/assets/javascripts/dojo/dom-style.js.uncompressed.js +127 -142
- data/vendor/assets/javascripts/dojo/dom.js +3 -1
- data/vendor/assets/javascripts/dojo/dom.js.uncompressed.js +77 -85
- data/vendor/assets/javascripts/dojo/domReady.js +2 -2
- data/vendor/assets/javascripts/dojo/domReady.js.uncompressed.js +4 -2
- data/vendor/assets/javascripts/dojo/errors/CancelError.js +10 -0
- data/vendor/assets/javascripts/dojo/errors/CancelError.js.uncompressed.js +13 -0
- data/vendor/assets/javascripts/dojo/errors/RequestError.js +12 -0
- data/vendor/assets/javascripts/dojo/errors/RequestError.js.uncompressed.js +15 -0
- data/vendor/assets/javascripts/dojo/errors/RequestTimeoutError.js +10 -0
- data/vendor/assets/javascripts/dojo/errors/RequestTimeoutError.js.uncompressed.js +15 -0
- data/vendor/assets/javascripts/dojo/errors/create.js +36 -0
- data/vendor/assets/javascripts/dojo/errors/create.js.uncompressed.js +41 -0
- data/vendor/assets/javascripts/dojo/fx.js.uncompressed.js +27 -34
- data/vendor/assets/javascripts/dojo/fx/Toggler.js.uncompressed.js +9 -11
- data/vendor/assets/javascripts/dojo/fx/easing.js.uncompressed.js +7 -15
- data/vendor/assets/javascripts/dojo/gears.js +10 -9
- data/vendor/assets/javascripts/dojo/gears.js.uncompressed.js +18 -14
- data/vendor/assets/javascripts/dojo/has.js +35 -35
- data/vendor/assets/javascripts/dojo/has.js.uncompressed.js +55 -60
- data/vendor/assets/javascripts/dojo/hash.js +74 -74
- data/vendor/assets/javascripts/dojo/hash.js.uncompressed.js +62 -49
- data/vendor/assets/javascripts/dojo/hccss.js +23 -0
- data/vendor/assets/javascripts/dojo/hccss.js.uncompressed.js +51 -0
- data/vendor/assets/javascripts/dojo/html.js +81 -64
- data/vendor/assets/javascripts/dojo/html.js.uncompressed.js +107 -76
- data/vendor/assets/javascripts/dojo/i18n.js +155 -139
- data/vendor/assets/javascripts/dojo/i18n.js.uncompressed.js +234 -198
- data/vendor/assets/javascripts/dojo/io-query.js +28 -30
- data/vendor/assets/javascripts/dojo/io-query.js.uncompressed.js +14 -15
- data/vendor/assets/javascripts/dojo/io/iframe.js +49 -207
- data/vendor/assets/javascripts/dojo/io/iframe.js.uncompressed.js +127 -313
- data/vendor/assets/javascripts/dojo/io/script.js +60 -84
- data/vendor/assets/javascripts/dojo/io/script.js.uncompressed.js +121 -128
- data/vendor/assets/javascripts/dojo/jaxer.js +2 -1
- data/vendor/assets/javascripts/dojo/jaxer.js.uncompressed.js +2 -4
- data/vendor/assets/javascripts/dojo/json.js +2 -0
- data/vendor/assets/javascripts/dojo/json.js.uncompressed.js +38 -35
- data/vendor/assets/javascripts/dojo/keys.js +2 -2
- data/vendor/assets/javascripts/dojo/keys.js.uncompressed.js +73 -76
- data/vendor/assets/javascripts/dojo/main.js +10 -10
- data/vendor/assets/javascripts/dojo/main.js.uncompressed.js +13 -11
- data/vendor/assets/javascripts/dojo/mouse.js +25 -4
- data/vendor/assets/javascripts/dojo/mouse.js.uncompressed.js +78 -34
- data/vendor/assets/javascripts/dojo/nls/az/colors.js.uncompressed.js +2 -4
- data/vendor/assets/javascripts/dojo/nls/colors.js.uncompressed.js +1 -1
- data/vendor/assets/javascripts/dojo/nls/he/colors.js.uncompressed.js +2 -5
- data/vendor/assets/javascripts/dojo/nls/hr/colors.js +1 -1
- data/vendor/assets/javascripts/dojo/nls/hr/colors.js.uncompressed.js +149 -149
- data/vendor/assets/javascripts/dojo/nls/sl/colors.js +1 -1
- data/vendor/assets/javascripts/dojo/nls/sl/colors.js.uncompressed.js +7 -7
- data/vendor/assets/javascripts/dojo/node.js +18 -0
- data/vendor/assets/javascripts/dojo/node.js.uncompressed.js +27 -0
- data/vendor/assets/javascripts/dojo/number.js +38 -37
- data/vendor/assets/javascripts/dojo/number.js.uncompressed.js +94 -122
- data/vendor/assets/javascripts/dojo/on.js +146 -116
- data/vendor/assets/javascripts/dojo/on.js.uncompressed.js +135 -92
- data/vendor/assets/javascripts/dojo/package.json +1 -1
- data/vendor/assets/javascripts/dojo/parser.js +325 -200
- data/vendor/assets/javascripts/dojo/parser.js.uncompressed.js +677 -406
- data/vendor/assets/javascripts/dojo/promise/Promise.js +37 -0
- data/vendor/assets/javascripts/dojo/promise/Promise.js.uncompressed.js +133 -0
- data/vendor/assets/javascripts/dojo/promise/all.js +60 -0
- data/vendor/assets/javascripts/dojo/promise/all.js.uncompressed.js +76 -0
- data/vendor/assets/javascripts/dojo/promise/first.js +34 -0
- data/vendor/assets/javascripts/dojo/promise/first.js.uncompressed.js +49 -0
- data/vendor/assets/javascripts/dojo/promise/instrumentation.js +86 -0
- data/vendor/assets/javascripts/dojo/promise/instrumentation.js.uncompressed.js +103 -0
- data/vendor/assets/javascripts/dojo/promise/tracer.js +37 -0
- data/vendor/assets/javascripts/dojo/promise/tracer.js.uncompressed.js +85 -0
- data/vendor/assets/javascripts/dojo/query.js +8 -8
- data/vendor/assets/javascripts/dojo/query.js.uncompressed.js +206 -214
- data/vendor/assets/javascripts/dojo/ready.js +1 -7
- data/vendor/assets/javascripts/dojo/ready.js.uncompressed.js +31 -33
- data/vendor/assets/javascripts/dojo/regexp.js +14 -13
- data/vendor/assets/javascripts/dojo/regexp.js.uncompressed.js +15 -18
- data/vendor/assets/javascripts/dojo/request.js +10 -0
- data/vendor/assets/javascripts/dojo/request.js.uncompressed.js +75 -0
- data/vendor/assets/javascripts/dojo/request/default.js +28 -0
- data/vendor/assets/javascripts/dojo/request/default.js.uncompressed.js +32 -0
- data/vendor/assets/javascripts/dojo/request/handlers.js +47 -0
- data/vendor/assets/javascripts/dojo/request/handlers.js.uncompressed.js +62 -0
- data/vendor/assets/javascripts/dojo/request/iframe.js +290 -0
- data/vendor/assets/javascripts/dojo/request/iframe.js.uncompressed.js +429 -0
- data/vendor/assets/javascripts/dojo/request/node.js +81 -0
- data/vendor/assets/javascripts/dojo/request/node.js.uncompressed.js +188 -0
- data/vendor/assets/javascripts/dojo/request/notify.js +38 -0
- data/vendor/assets/javascripts/dojo/request/notify.js.uncompressed.js +73 -0
- data/vendor/assets/javascripts/dojo/request/registry.js +68 -0
- data/vendor/assets/javascripts/dojo/request/registry.js.uncompressed.js +85 -0
- data/vendor/assets/javascripts/dojo/request/script.js +111 -0
- data/vendor/assets/javascripts/dojo/request/script.js.uncompressed.js +211 -0
- data/vendor/assets/javascripts/dojo/request/util.js +113 -0
- data/vendor/assets/javascripts/dojo/request/util.js.uncompressed.js +145 -0
- data/vendor/assets/javascripts/dojo/request/watch.js +73 -0
- data/vendor/assets/javascripts/dojo/request/watch.js.uncompressed.js +109 -0
- data/vendor/assets/javascripts/dojo/request/xhr.js +184 -0
- data/vendor/assets/javascripts/dojo/request/xhr.js.uncompressed.js +317 -0
- data/vendor/assets/javascripts/dojo/resources/dnd.css +3 -3
- data/vendor/assets/javascripts/dojo/router.js +10 -0
- data/vendor/assets/javascripts/dojo/router.js.uncompressed.js +28 -0
- data/vendor/assets/javascripts/dojo/router/RouterBase.js +160 -0
- data/vendor/assets/javascripts/dojo/router/RouterBase.js.uncompressed.js +350 -0
- data/vendor/assets/javascripts/dojo/rpc/JsonService.js +20 -21
- data/vendor/assets/javascripts/dojo/rpc/JsonService.js.uncompressed.js +29 -27
- data/vendor/assets/javascripts/dojo/rpc/JsonpService.js +14 -15
- data/vendor/assets/javascripts/dojo/rpc/JsonpService.js.uncompressed.js +28 -29
- data/vendor/assets/javascripts/dojo/rpc/RpcService.js +50 -51
- data/vendor/assets/javascripts/dojo/rpc/RpcService.js.uncompressed.js +39 -36
- data/vendor/assets/javascripts/dojo/selector/_loader.js.uncompressed.js +4 -2
- data/vendor/assets/javascripts/dojo/selector/acme.js +442 -408
- data/vendor/assets/javascripts/dojo/selector/acme.js.uncompressed.js +160 -147
- data/vendor/assets/javascripts/dojo/selector/lite.js +136 -127
- data/vendor/assets/javascripts/dojo/selector/lite.js.uncompressed.js +62 -43
- data/vendor/assets/javascripts/dojo/sniff.js +41 -0
- data/vendor/assets/javascripts/dojo/sniff.js.uncompressed.js +70 -0
- data/vendor/assets/javascripts/dojo/store/Cache.js +7 -6
- data/vendor/assets/javascripts/dojo/store/Cache.js.uncompressed.js +48 -51
- data/vendor/assets/javascripts/dojo/store/DataStore.js +88 -65
- data/vendor/assets/javascripts/dojo/store/DataStore.js.uncompressed.js +48 -16
- data/vendor/assets/javascripts/dojo/store/JsonRest.js +44 -40
- data/vendor/assets/javascripts/dojo/store/JsonRest.js.uncompressed.js +74 -40
- data/vendor/assets/javascripts/dojo/store/Memory.js +30 -29
- data/vendor/assets/javascripts/dojo/store/Memory.js.uncompressed.js +40 -37
- data/vendor/assets/javascripts/dojo/store/Observable.js +90 -79
- data/vendor/assets/javascripts/dojo/store/Observable.js.uncompressed.js +35 -23
- data/vendor/assets/javascripts/dojo/store/README +5 -9
- data/vendor/assets/javascripts/dojo/store/api/Store.js +12 -24
- data/vendor/assets/javascripts/dojo/store/api/Store.js.uncompressed.js +31 -41
- data/vendor/assets/javascripts/dojo/store/util/QueryResults.js +4 -4
- data/vendor/assets/javascripts/dojo/store/util/QueryResults.js.uncompressed.js +13 -14
- data/vendor/assets/javascripts/dojo/store/util/SimpleQueryEngine.js +11 -10
- data/vendor/assets/javascripts/dojo/store/util/SimpleQueryEngine.js.uncompressed.js +18 -16
- data/vendor/assets/javascripts/dojo/string.js +23 -22
- data/vendor/assets/javascripts/dojo/string.js.uncompressed.js +38 -38
- data/vendor/assets/javascripts/dojo/text.js +50 -50
- data/vendor/assets/javascripts/dojo/text.js.uncompressed.js +129 -127
- data/vendor/assets/javascripts/dojo/topic.js.uncompressed.js +17 -12
- data/vendor/assets/javascripts/dojo/touch.js +35 -7
- data/vendor/assets/javascripts/dojo/touch.js.uncompressed.js +146 -34
- data/vendor/assets/javascripts/dojo/uacss.js +1 -1
- data/vendor/assets/javascripts/dojo/uacss.js.uncompressed.js +19 -10
- data/vendor/assets/javascripts/dojo/when.js +31 -0
- data/vendor/assets/javascripts/dojo/when.js.uncompressed.js +55 -0
- data/vendor/assets/javascripts/dojo/window.js +26 -27
- data/vendor/assets/javascripts/dojo/window.js.uncompressed.js +160 -161
- metadata +152 -6
- data/Gemfile +0 -4
- data/LICENSE +0 -22
- data/Rakefile +0 -3
- data/vendor/assets/javascripts/dojo/resources/_modules.js +0 -36
@@ -5,4 +5,4 @@
|
|
5
5
|
*/
|
6
6
|
|
7
7
|
//>>built
|
8
|
-
define("dojo/nls/sl/colors",({aliceblue:"alice blue modra",antiquewhite:"antično bela",aqua:"
|
8
|
+
define("dojo/nls/sl/colors",({aliceblue:"alice blue modra",antiquewhite:"antično bela",aqua:"svetlo modra",aquamarine:"akvamarin",azure:"azurno modra",beige:"bež",bisque:"porcelanasta",black:"črna",blanchedalmond:"obledelo mandljeva",blue:"modra",blueviolet:"modro vijolična",brown:"rjava",burlywood:"peščeno sivo-rjava",cadetblue:"kadetsko modra",chartreuse:"chartreuse",chocolate:"čokoladna",coral:"koralna",cornflowerblue:"plavičasto modra",cornsilk:"koruzna",crimson:"karminasta",cyan:"cijan",darkblue:"temno modra",darkcyan:"temno cijan",darkgoldenrod:"temna zlata rozga",darkgray:"temno siva",darkgreen:"temno zelena",darkgrey:"temno siva",darkkhaki:"temno kaki",darkmagenta:"temna magenta",darkolivegreen:"temna olivno zelena",darkorange:"temno oranžna",darkorchid:"temno orhidejasta",darkred:"temno rdeča",darksalmon:"temno lososova",darkseagreen:"temno morsko zelena",darkslateblue:"temno skrilasto modra",darkslategray:"temno skrilasto siva",darkslategrey:"temno skrilasto siva",darkturquoise:"temno turkizna",darkviolet:"temno vijolična",deeppink:"temno rožnata",deepskyblue:"temno nebeško modra",dimgray:"pepelnato siva",dimgrey:"pepelnato siva",dodgerblue:"dodgersko modra",firebrick:"opečnata",floralwhite:"cvetno bela",forestgreen:"gozdno zelena",fuchsia:"roza",gainsboro:"gainsboro",ghostwhite:"senčnato bela",gold:"zlata",goldenrod:"zlata rozga",gray:"siva",green:"zelena",greenyellow:"zeleno-rumena",grey:"siva",honeydew:"medena rosa",hotpink:"kričeče rožnata",indianred:"indijansko rdeča",indigo:"indigo",ivory:"slonokoščena",khaki:"kaki",lavender:"sivka",lavenderblush:"rožnato sivka",lawngreen:"travniško zelena",lemonchiffon:"limonast šifon",lightblue:"svetlo modra",lightcoral:"svetlo koralna",lightcyan:"svetlo cijan",lightgoldenrodyellow:"svetlo rumena zlata rozga",lightgray:"svetlo siva",lightgreen:"svetlo zelena",lightgrey:"svetlo siva",lightpink:"svetlo rožnata",lightsalmon:"svetlo lososova",lightseagreen:"svetlo morsko zelena",lightskyblue:"svetlo nebeško modra",lightslategray:"svetlo skrilasto siva",lightslategrey:"svetlo skrilasto siva",lightsteelblue:"svetlo kovinsko modra",lightyellow:"svetlo rumena",lime:"svetlo zelena",limegreen:"apneno zelena",linen:"lanena",magenta:"magenta",maroon:"kostanjeva",mediumaquamarine:"srednji akvamarin",mediumblue:"srednje modra",mediumorchid:"srednje orhidejasta",mediumpurple:"srednje škrlatna",mediumseagreen:"srednje morsko zelena",mediumslateblue:"srednje skrilasto modra",mediumspringgreen:"srednje pomladno zelena",mediumturquoise:"srednje turkizna",mediumvioletred:"srednje vijolično rdeča",midnightblue:"polnočno modra",mintcream:"metina krema",mistyrose:"megleno rožnata",moccasin:"mokasinasta",navajowhite:"navajo bela",navy:"mornarsko modra",oldlace:"stara čipka",olive:"olivno zelena",olivedrab:"umazano olivna",orange:"oranžna",orangered:"oranžno-rdeča",orchid:"orhidejasta",palegoldenrod:"bleda zlata rozga",palegreen:"bledo zelena",paleturquoise:"bledo turkizna",palevioletred:"bledo vijolično-rdeča",papayawhip:"papaja",peachpuff:"breskova",peru:"perujska",pink:"rožnata",plum:"slivova",powderblue:"kobaltovo modra",purple:"škrlatna",red:"rdeča",rosybrown:"rožnato rjava",royalblue:"kraljevsko modra",saddlebrown:"sedlasto rjava",salmon:"lososova",sandybrown:"peščeno rjava",seagreen:"morsko zelena",seashell:"morska lupina",sienna:"sienna",silver:"srebrna",skyblue:"nebeško modra",slateblue:"skrilasto modra",slategray:"skrilasto siva",slategrey:"skrilasto siva",snow:"snežena",springgreen:"pomladno zelena",steelblue:"kovinsko modra",tan:"rumeno-rjava",teal:"modrozelena",thistle:"osatna",tomato:"paradižnikova",transparent:"prosojno",turquoise:"turkizna",violet:"vijolična",wheat:"pšenična",white:"bela",whitesmoke:"megleno bela",yellow:"rumena",yellowgreen:"rumeno-zelena"}));
|
@@ -2,11 +2,11 @@ define(
|
|
2
2
|
"dojo/nls/sl/colors", ({
|
3
3
|
// local representation of all CSS3 named colors, companion to dojo.colors. To be used where descriptive information
|
4
4
|
// is required for each color, such as a palette widget, and not for specifying color programatically.
|
5
|
-
|
6
|
-
|
5
|
+
//Note: due to the SVG 1.0 spec additions, some of these are alternate spellings for the same color (e.g. gray / grey).
|
6
|
+
//TODO: should we be using unique rgb values as keys instead and avoid these duplicates, or rely on the caller to do the reverse mapping?
|
7
7
|
aliceblue: "alice blue modra",
|
8
8
|
antiquewhite: "antično bela",
|
9
|
-
aqua: "
|
9
|
+
aqua: "svetlo modra",
|
10
10
|
aquamarine: "akvamarin",
|
11
11
|
azure: "azurno modra",
|
12
12
|
beige: "bež",
|
@@ -52,7 +52,7 @@ define(
|
|
52
52
|
firebrick: "opečnata",
|
53
53
|
floralwhite: "cvetno bela",
|
54
54
|
forestgreen: "gozdno zelena",
|
55
|
-
fuchsia: "
|
55
|
+
fuchsia: "roza",
|
56
56
|
gainsboro: "gainsboro",
|
57
57
|
ghostwhite: "senčnato bela",
|
58
58
|
gold: "zlata",
|
@@ -86,7 +86,7 @@ define(
|
|
86
86
|
lightslategrey: "svetlo skrilasto siva", // same as lightslategray
|
87
87
|
lightsteelblue: "svetlo kovinsko modra",
|
88
88
|
lightyellow: "svetlo rumena",
|
89
|
-
lime: "
|
89
|
+
lime: "svetlo zelena",
|
90
90
|
limegreen: "apneno zelena",
|
91
91
|
linen: "lanena",
|
92
92
|
magenta: "magenta",
|
@@ -105,9 +105,9 @@ define(
|
|
105
105
|
mistyrose: "megleno rožnata",
|
106
106
|
moccasin: "mokasinasta",
|
107
107
|
navajowhite: "navajo bela",
|
108
|
-
navy: "
|
108
|
+
navy: "mornarsko modra",
|
109
109
|
oldlace: "stara čipka",
|
110
|
-
olive: "
|
110
|
+
olive: "olivno zelena",
|
111
111
|
olivedrab: "umazano olivna",
|
112
112
|
orange: "oranžna",
|
113
113
|
orangered: "oranžno-rdeča",
|
@@ -0,0 +1,18 @@
|
|
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/node",["dojo/has"],function(_1){
|
9
|
+
if(!0){
|
10
|
+
throw new Error("node plugin failed to load because environment is not Node.js");
|
11
|
+
}
|
12
|
+
return {load:function(id,_2,_3){
|
13
|
+
if(!_2.nodeRequire){
|
14
|
+
throw new Error("Cannot find native require function");
|
15
|
+
}
|
16
|
+
_3(_2.nodeRequire(id));
|
17
|
+
}};
|
18
|
+
});
|
@@ -0,0 +1,27 @@
|
|
1
|
+
define("dojo/node", ["dojo/has"], function(has){
|
2
|
+
if(! 0 ){
|
3
|
+
throw new Error("node plugin failed to load because environment is not Node.js");
|
4
|
+
}
|
5
|
+
|
6
|
+
return {
|
7
|
+
// summary:
|
8
|
+
// This AMD plugin module allows native Node.js modules to be loaded by AMD modules using the Dojo
|
9
|
+
// loader. Note that this plugin will not work with AMD loaders other than the Dojo loader.
|
10
|
+
// example:
|
11
|
+
// | require(["dojo/node!fs"], function(fs){
|
12
|
+
// | var fileData = fs.readFileSync("foo.txt", "utf-8");
|
13
|
+
// | });
|
14
|
+
|
15
|
+
load: function(/*string*/ id, /*Function*/ require, /*Function*/ load){
|
16
|
+
// summary:
|
17
|
+
// Standard AMD plugin interface. See https://github.com/amdjs/amdjs-api/wiki/Loader-Plugins
|
18
|
+
// for information.
|
19
|
+
|
20
|
+
if(!require.nodeRequire){
|
21
|
+
throw new Error("Cannot find native require function");
|
22
|
+
}
|
23
|
+
|
24
|
+
load(require.nodeRequire(id));
|
25
|
+
}
|
26
|
+
};
|
27
|
+
});
|
@@ -5,20 +5,21 @@
|
|
5
5
|
*/
|
6
6
|
|
7
7
|
//>>built
|
8
|
-
define("dojo/number",["./_base/
|
9
|
-
|
10
|
-
_1.number
|
11
|
-
|
12
|
-
|
8
|
+
define("dojo/number",["./_base/lang","./i18n","./i18n!./cldr/nls/number","./string","./regexp"],function(_1,_2,_3,_4,_5){
|
9
|
+
var _6={};
|
10
|
+
_1.setObject("dojo.number",_6);
|
11
|
+
_6.format=function(_7,_8){
|
12
|
+
_8=_1.mixin({},_8||{});
|
13
|
+
var _9=_2.normalizeLocale(_8.locale),_a=_2.getLocalization("dojo.cldr","number",_9);
|
13
14
|
_8.customs=_a;
|
14
15
|
var _b=_8.pattern||_a[(_8.type||"decimal")+"Format"];
|
15
16
|
if(isNaN(_7)||Math.abs(_7)==Infinity){
|
16
17
|
return null;
|
17
18
|
}
|
18
|
-
return
|
19
|
+
return _6._applyPattern(_7,_b,_8);
|
19
20
|
};
|
20
|
-
|
21
|
-
|
21
|
+
_6._numberPatternRE=/[#0,]*[#0](?:\.0*#*)?/;
|
22
|
+
_6._applyPattern=function(_c,_d,_e){
|
22
23
|
_e=_e||{};
|
23
24
|
var _f=_e.customs.group,_10=_e.customs.decimal,_11=_d.split(";"),_12=_11[0];
|
24
25
|
_d=_11[(_c<0)?1:0]||("-"+_12);
|
@@ -42,7 +43,7 @@ throw new Error("exponential notation not supported");
|
|
42
43
|
}
|
43
44
|
}
|
44
45
|
}
|
45
|
-
var _15=
|
46
|
+
var _15=_6._numberPatternRE;
|
46
47
|
var _16=_12.match(_15);
|
47
48
|
if(!_16){
|
48
49
|
throw new Error("unable to find a number expression in pattern: "+_d);
|
@@ -50,15 +51,15 @@ throw new Error("unable to find a number expression in pattern: "+_d);
|
|
50
51
|
if(_e.fractional===false){
|
51
52
|
_e.places=0;
|
52
53
|
}
|
53
|
-
return _d.replace(_15,
|
54
|
+
return _d.replace(_15,_6._formatAbsolute(_c,_16[0],{decimal:_10,group:_f,places:_e.places,round:_e.round}));
|
54
55
|
};
|
55
|
-
|
56
|
+
_6.round=function(_17,_18,_19){
|
56
57
|
var _1a=10/(_19||10);
|
57
58
|
return (_1a*+_17).toFixed(_18)/_1a;
|
58
59
|
};
|
59
60
|
if((0.9).toFixed()==0){
|
60
|
-
var _1b=
|
61
|
-
|
61
|
+
var _1b=_6.round;
|
62
|
+
_6.round=function(v,p,m){
|
62
63
|
var d=Math.pow(10,-p||0),a=Math.abs(v);
|
63
64
|
if(!v||a>=d||a*Math.pow(10,p+1)<5){
|
64
65
|
d=0;
|
@@ -66,7 +67,7 @@ d=0;
|
|
66
67
|
return _1b(v,p,m)+(v>0?d:-d);
|
67
68
|
};
|
68
69
|
}
|
69
|
-
|
70
|
+
_6._formatAbsolute=function(_1c,_1d,_1e){
|
70
71
|
_1e=_1e||{};
|
71
72
|
if(_1e.places===true){
|
72
73
|
_1e.places=0;
|
@@ -83,7 +84,7 @@ _21=(_1f[1]||[]).length;
|
|
83
84
|
}
|
84
85
|
}
|
85
86
|
if(!(_1e.round<0)){
|
86
|
-
_1c=
|
87
|
+
_1c=_6.round(_1c,_21,_1e.round);
|
87
88
|
}
|
88
89
|
var _22=String(Math.abs(_1c)).split("."),_23=_22[1]||"";
|
89
90
|
if(_1f[1]||_1e.places){
|
@@ -92,7 +93,7 @@ _1e.places=_1e.places.substring(0,_20);
|
|
92
93
|
}
|
93
94
|
var pad=_1e.places!==undefined?_1e.places:(_1f[1]&&_1f[1].lastIndexOf("0")+1);
|
94
95
|
if(pad>_23.length){
|
95
|
-
_22[1]=
|
96
|
+
_22[1]=_4.pad(_23,pad,"0",true);
|
96
97
|
}
|
97
98
|
if(_21<_23.length){
|
98
99
|
_22[1]=_23.substr(0,_21);
|
@@ -107,7 +108,7 @@ pad=_24.indexOf("0");
|
|
107
108
|
if(pad!=-1){
|
108
109
|
pad=_24.length-pad;
|
109
110
|
if(pad>_22[0].length){
|
110
|
-
_22[0]=
|
111
|
+
_22[0]=_4.pad(_22[0],pad);
|
111
112
|
}
|
112
113
|
if(_24.indexOf("#")==-1){
|
113
114
|
_22[0]=_22[0].substr(_22[0].length-pad);
|
@@ -135,12 +136,12 @@ delete _27;
|
|
135
136
|
_22[0]=_29.reverse().join(_1e.group||",");
|
136
137
|
return _22.join(_1e.decimal||".");
|
137
138
|
};
|
138
|
-
|
139
|
-
return
|
139
|
+
_6.regexp=function(_2b){
|
140
|
+
return _6._parseInfo(_2b).regexp;
|
140
141
|
};
|
141
|
-
|
142
|
+
_6._parseInfo=function(_2c){
|
142
143
|
_2c=_2c||{};
|
143
|
-
var _2d=
|
144
|
+
var _2d=_2.normalizeLocale(_2c.locale),_2e=_2.getLocalization("dojo.cldr","number",_2d),_2f=_2c.pattern||_2e[(_2c.type||"decimal")+"Format"],_30=_2e.group,_31=_2e.decimal,_32=1;
|
144
145
|
if(_2f.indexOf("%")!=-1){
|
145
146
|
_32/=100;
|
146
147
|
}else{
|
@@ -158,9 +159,9 @@ var _34=_2f.split(";");
|
|
158
159
|
if(_34.length==1){
|
159
160
|
_34.push("-"+_34[0]);
|
160
161
|
}
|
161
|
-
var re=
|
162
|
-
_35="(?:"+
|
163
|
-
return _35.replace(
|
162
|
+
var re=_5.buildGroupRE(_34,function(_35){
|
163
|
+
_35="(?:"+_5.escapeString(_35,".")+")";
|
164
|
+
return _35.replace(_6._numberPatternRE,function(_36){
|
164
165
|
var _37={signed:false,separator:_2c.strict?_30:[_30,""],fractional:_2c.fractional,decimal:_31,exponent:false},_38=_36.split("."),_39=_2c.places;
|
165
166
|
if(_38.length==1&&_32!=1){
|
166
167
|
_38[1]="###";
|
@@ -186,12 +187,12 @@ if(_3a.length>1){
|
|
186
187
|
_37.groupSize2=_3a.pop().length;
|
187
188
|
}
|
188
189
|
}
|
189
|
-
return "("+
|
190
|
+
return "("+_6._realNumberRegexp(_37)+")";
|
190
191
|
});
|
191
192
|
},true);
|
192
193
|
if(_33){
|
193
194
|
re=re.replace(/([\s\xa0]*)(\u00a4{1,3})([\s\xa0]*)/g,function(_3b,_3c,_3d,_3e){
|
194
|
-
var _3f=["symbol","currency","displayName"][_3d.length-1],_40=
|
195
|
+
var _3f=["symbol","currency","displayName"][_3d.length-1],_40=_5.escapeString(_2c[_3f]||_2c.currency||"");
|
195
196
|
_3c=_3c?"[\\s\\xa0]":"";
|
196
197
|
_3e=_3e?"[\\s\\xa0]":"";
|
197
198
|
if(!_2c.strict){
|
@@ -208,8 +209,8 @@ return _3c+_40+_3e;
|
|
208
209
|
}
|
209
210
|
return {regexp:re.replace(/[\xa0 ]/g,"[\\s\\xa0]"),group:_30,decimal:_31,factor:_32};
|
210
211
|
};
|
211
|
-
|
212
|
-
var _43=
|
212
|
+
_6.parse=function(_41,_42){
|
213
|
+
var _43=_6._parseInfo(_42),_44=(new RegExp("^"+_43.regexp+"$")).exec(_41);
|
213
214
|
if(!_44){
|
214
215
|
return NaN;
|
215
216
|
}
|
@@ -224,7 +225,7 @@ _43.factor*=-1;
|
|
224
225
|
_45=_45.replace(new RegExp("["+_43.group+"\\s\\xa0"+"]","g"),"").replace(_43.decimal,".");
|
225
226
|
return _45*_43.factor;
|
226
227
|
};
|
227
|
-
|
228
|
+
_6._realNumberRegexp=function(_46){
|
228
229
|
_46=_46||{};
|
229
230
|
if(!("places" in _46)){
|
230
231
|
_46.places=Infinity;
|
@@ -241,7 +242,7 @@ _46.exponent=[true,false];
|
|
241
242
|
if(!("eSigned" in _46)){
|
242
243
|
_46.eSigned=[true,false];
|
243
244
|
}
|
244
|
-
var _47=
|
245
|
+
var _47=_6._integerRegexp(_46),_48=_5.buildGroupRE(_46.fractional,function(q){
|
245
246
|
var re="";
|
246
247
|
if(q&&(_46.places!==0)){
|
247
248
|
re="\\"+_46.decimal;
|
@@ -253,9 +254,9 @@ re+="\\d{"+_46.places+"}";
|
|
253
254
|
}
|
254
255
|
return re;
|
255
256
|
},true);
|
256
|
-
var _49=
|
257
|
+
var _49=_5.buildGroupRE(_46.exponent,function(q){
|
257
258
|
if(q){
|
258
|
-
return "([eE]"+
|
259
|
+
return "([eE]"+_6._integerRegexp({signed:_46.eSigned})+")";
|
259
260
|
}
|
260
261
|
return "";
|
261
262
|
});
|
@@ -265,7 +266,7 @@ _4a="(?:(?:"+_4a+")|(?:"+_48+"))";
|
|
265
266
|
}
|
266
267
|
return _4a+_49;
|
267
268
|
};
|
268
|
-
|
269
|
+
_6._integerRegexp=function(_4b){
|
269
270
|
_4b=_4b||{};
|
270
271
|
if(!("signed" in _4b)){
|
271
272
|
_4b.signed=[true,false];
|
@@ -277,14 +278,14 @@ if(!("groupSize" in _4b)){
|
|
277
278
|
_4b.groupSize=3;
|
278
279
|
}
|
279
280
|
}
|
280
|
-
var _4c=
|
281
|
+
var _4c=_5.buildGroupRE(_4b.signed,function(q){
|
281
282
|
return q?"[-+]":"";
|
282
283
|
},true);
|
283
|
-
var _4d=
|
284
|
+
var _4d=_5.buildGroupRE(_4b.separator,function(sep){
|
284
285
|
if(!sep){
|
285
286
|
return "(?:\\d+)";
|
286
287
|
}
|
287
|
-
sep=
|
288
|
+
sep=_5.escapeString(sep);
|
288
289
|
if(sep==" "){
|
289
290
|
sep="\\s";
|
290
291
|
}else{
|
@@ -301,5 +302,5 @@ return "(?:0|[1-9]\\d{0,"+(grp-1)+"}(?:["+sep+"]\\d{"+grp+"})*)";
|
|
301
302
|
},true);
|
302
303
|
return _4c+_4d;
|
303
304
|
};
|
304
|
-
return
|
305
|
+
return _6;
|
305
306
|
});
|
@@ -1,46 +1,38 @@
|
|
1
|
-
define("dojo/number", ["./_base/
|
2
|
-
function(
|
1
|
+
define("dojo/number", [/*===== "./_base/declare", =====*/ "./_base/lang", "./i18n", "./i18n!./cldr/nls/number", "./string", "./regexp"],
|
2
|
+
function(/*===== declare, =====*/ lang, i18n, nlsNumber, dstring, dregexp){
|
3
3
|
|
4
|
-
|
5
|
-
|
6
|
-
// summary:
|
7
|
-
// TODOC
|
4
|
+
// module:
|
5
|
+
// dojo/number
|
8
6
|
|
9
|
-
|
7
|
+
var number = {
|
8
|
+
// summary:
|
9
|
+
// localized formatting and parsing routines for Number
|
10
|
+
};
|
11
|
+
lang.setObject("dojo.number", number);
|
10
12
|
|
11
13
|
/*=====
|
12
|
-
|
13
|
-
//
|
14
|
-
}
|
15
|
-
|
16
|
-
dojo.number.__FormatOptions = function(){
|
17
|
-
// pattern: String?
|
14
|
+
number.__FormatOptions = declare(null, {
|
15
|
+
// pattern: String?
|
18
16
|
// override [formatting pattern](http://www.unicode.org/reports/tr35/#Number_Format_Patterns)
|
19
17
|
// with this string. Default value is based on locale. Overriding this property will defeat
|
20
18
|
// localization. Literal characters in patterns are not supported.
|
21
|
-
//
|
19
|
+
// type: String?
|
22
20
|
// choose a format type based on the locale from the following:
|
23
21
|
// decimal, scientific (not yet supported), percent, currency. decimal by default.
|
24
|
-
//
|
22
|
+
// places: Number?
|
25
23
|
// fixed number of decimal places to show. This overrides any
|
26
24
|
// information in the provided pattern.
|
27
|
-
//
|
25
|
+
// round: Number?
|
28
26
|
// 5 rounds to nearest .5; 0 rounds to nearest whole (default). -1
|
29
27
|
// means do not round.
|
30
|
-
//
|
28
|
+
// locale: String?
|
31
29
|
// override the locale used to determine formatting rules
|
32
|
-
//
|
30
|
+
// fractional: Boolean?
|
33
31
|
// If false, show no decimal places, overriding places and pattern settings.
|
34
|
-
|
35
|
-
this.type = type;
|
36
|
-
this.places = places;
|
37
|
-
this.round = round;
|
38
|
-
this.locale = locale;
|
39
|
-
this.fractional = fractional;
|
40
|
-
}
|
32
|
+
});
|
41
33
|
=====*/
|
42
34
|
|
43
|
-
|
35
|
+
number.format = function(/*Number*/ value, /*number.__FormatOptions?*/ options){
|
44
36
|
// summary:
|
45
37
|
// Format a Number as a String, using locale-specific settings
|
46
38
|
// description:
|
@@ -58,13 +50,13 @@ dojo.number.format = function(/*Number*/value, /*dojo.number.__FormatOptions?*/o
|
|
58
50
|
options.customs = bundle;
|
59
51
|
var pattern = options.pattern || bundle[(options.type || "decimal") + "Format"];
|
60
52
|
if(isNaN(value) || Math.abs(value) == Infinity){ return null; } // null
|
61
|
-
return
|
53
|
+
return number._applyPattern(value, pattern, options); // String
|
62
54
|
};
|
63
55
|
|
64
|
-
//
|
65
|
-
|
56
|
+
//number._numberPatternRE = /(?:[#0]*,?)*[#0](?:\.0*#*)?/; // not precise, but good enough
|
57
|
+
number._numberPatternRE = /[#0,]*[#0](?:\.0*#*)?/; // not precise, but good enough
|
66
58
|
|
67
|
-
|
59
|
+
number._applyPattern = function(/*Number*/ value, /*String*/ pattern, /*number.__FormatOptions?*/ options){
|
68
60
|
// summary:
|
69
61
|
// Apply pattern to format value as a string using options. Gives no
|
70
62
|
// consideration to local customs.
|
@@ -73,8 +65,8 @@ dojo.number._applyPattern = function(/*Number*/value, /*String*/pattern, /*dojo.
|
|
73
65
|
// pattern:
|
74
66
|
// a pattern string as described by
|
75
67
|
// [unicode.org TR35](http://www.unicode.org/reports/tr35/#Number_Format_Patterns)
|
76
|
-
// options:
|
77
|
-
// _applyPattern is usually called via `dojo
|
68
|
+
// options: number.__FormatOptions?
|
69
|
+
// _applyPattern is usually called via `dojo/number.format()` which
|
78
70
|
// populates an extra property in the options parameter, "customs".
|
79
71
|
// The customs object specifies group and decimal parameters if set.
|
80
72
|
|
@@ -103,38 +95,38 @@ dojo.number._applyPattern = function(/*Number*/value, /*String*/pattern, /*dojo.
|
|
103
95
|
}
|
104
96
|
|
105
97
|
//TODO: support @ sig figs?
|
106
|
-
var numberPatternRE =
|
98
|
+
var numberPatternRE = number._numberPatternRE;
|
107
99
|
var numberPattern = positivePattern.match(numberPatternRE);
|
108
100
|
if(!numberPattern){
|
109
101
|
throw new Error("unable to find a number expression in pattern: "+pattern);
|
110
102
|
}
|
111
103
|
if(options.fractional === false){ options.places = 0; }
|
112
104
|
return pattern.replace(numberPatternRE,
|
113
|
-
|
105
|
+
number._formatAbsolute(value, numberPattern[0], {decimal: decimal, group: group, places: options.places, round: options.round}));
|
114
106
|
};
|
115
107
|
|
116
|
-
|
117
|
-
//
|
108
|
+
number.round = function(/*Number*/ value, /*Number?*/ places, /*Number?*/ increment){
|
109
|
+
// summary:
|
118
110
|
// Rounds to the nearest value with the given number of decimal places, away from zero
|
119
|
-
//
|
111
|
+
// description:
|
120
112
|
// Rounds to the nearest value with the given number of decimal places, away from zero if equal.
|
121
113
|
// Similar to Number.toFixed(), but compensates for browser quirks. Rounding can be done by
|
122
114
|
// fractional increments also, such as the nearest quarter.
|
123
|
-
// NOTE: Subject to floating point errors. See dojox
|
124
|
-
//
|
115
|
+
// NOTE: Subject to floating point errors. See dojox/math/round for experimental workaround.
|
116
|
+
// value:
|
125
117
|
// The number to round
|
126
|
-
//
|
118
|
+
// places:
|
127
119
|
// The number of decimal places where rounding takes place. Defaults to 0 for whole rounding.
|
128
120
|
// Must be non-negative.
|
129
|
-
//
|
121
|
+
// increment:
|
130
122
|
// Rounds next place to nearest value of increment/10. 10 by default.
|
131
|
-
//
|
132
|
-
//
|
133
|
-
//
|
134
|
-
//
|
135
|
-
//
|
136
|
-
//
|
137
|
-
//
|
123
|
+
// example:
|
124
|
+
// | >>> number.round(-0.5)
|
125
|
+
// | -1
|
126
|
+
// | >>> number.round(162.295, 2)
|
127
|
+
// | 162.29 // note floating point error. Should be 162.3
|
128
|
+
// | >>> number.round(10.71, 0, 2.5)
|
129
|
+
// | 10.75
|
138
130
|
var factor = 10 / (increment || 10);
|
139
131
|
return (factor * +value).toFixed(places) / factor; // Number
|
140
132
|
};
|
@@ -142,35 +134,34 @@ dojo.number.round = function(/*Number*/value, /*Number?*/places, /*Number?*/incr
|
|
142
134
|
if((0.9).toFixed() == 0){
|
143
135
|
// (isIE) toFixed() bug workaround: Rounding fails on IE when most significant digit
|
144
136
|
// is just after the rounding place and is >=5
|
145
|
-
var round =
|
146
|
-
|
137
|
+
var round = number.round;
|
138
|
+
number.round = function(v, p, m){
|
147
139
|
var d = Math.pow(10, -p || 0), a = Math.abs(v);
|
148
140
|
if(!v || a >= d || a * Math.pow(10, p + 1) < 5){
|
149
141
|
d = 0;
|
150
142
|
}
|
151
143
|
return round(v, p, m) + (v > 0 ? d : -d);
|
152
144
|
};
|
145
|
+
|
146
|
+
// Use "doc hint" so the doc parser ignores this new definition of round(), and uses the one above.
|
147
|
+
/*===== number.round = round; =====*/
|
153
148
|
}
|
154
149
|
|
155
150
|
/*=====
|
156
|
-
|
157
|
-
//
|
151
|
+
number.__FormatAbsoluteOptions = declare(null, {
|
152
|
+
// decimal: String?
|
158
153
|
// the decimal separator
|
159
|
-
//
|
154
|
+
// group: String?
|
160
155
|
// the group separator
|
161
|
-
//
|
156
|
+
// places: Number|String?
|
162
157
|
// number of decimal places. the range "n,m" will format to m places.
|
163
|
-
//
|
158
|
+
// round: Number?
|
164
159
|
// 5 rounds to nearest .5; 0 rounds to nearest whole (default). -1
|
165
160
|
// means don't round.
|
166
|
-
|
167
|
-
this.group = group;
|
168
|
-
this.places = places;
|
169
|
-
this.round = round;
|
170
|
-
}
|
161
|
+
});
|
171
162
|
=====*/
|
172
163
|
|
173
|
-
|
164
|
+
number._formatAbsolute = function(/*Number*/ value, /*String*/ pattern, /*number.__FormatAbsoluteOptions?*/ options){
|
174
165
|
// summary:
|
175
166
|
// Apply numeric pattern to absolute value using options. Gives no
|
176
167
|
// consideration to local customs.
|
@@ -191,7 +182,7 @@ dojo.number._formatAbsolute = function(/*Number*/value, /*String*/pattern, /*doj
|
|
191
182
|
maxPlaces = (patternParts[1] || []).length;
|
192
183
|
}
|
193
184
|
if(!(options.round < 0)){
|
194
|
-
value =
|
185
|
+
value = number.round(value, maxPlaces, options.round);
|
195
186
|
}
|
196
187
|
|
197
188
|
var valueParts = String(Math.abs(value)).split("."),
|
@@ -256,39 +247,34 @@ dojo.number._formatAbsolute = function(/*Number*/value, /*String*/pattern, /*doj
|
|
256
247
|
};
|
257
248
|
|
258
249
|
/*=====
|
259
|
-
|
260
|
-
//
|
250
|
+
number.__RegexpOptions = declare(null, {
|
251
|
+
// pattern: String?
|
261
252
|
// override [formatting pattern](http://www.unicode.org/reports/tr35/#Number_Format_Patterns)
|
262
253
|
// with this string. Default value is based on locale. Overriding this property will defeat
|
263
254
|
// localization.
|
264
|
-
//
|
255
|
+
// type: String?
|
265
256
|
// choose a format type based on the locale from the following:
|
266
257
|
// decimal, scientific (not yet supported), percent, currency. decimal by default.
|
267
|
-
//
|
258
|
+
// locale: String?
|
268
259
|
// override the locale used to determine formatting rules
|
269
|
-
//
|
260
|
+
// strict: Boolean?
|
270
261
|
// strict parsing, false by default. Strict parsing requires input as produced by the format() method.
|
271
262
|
// Non-strict is more permissive, e.g. flexible on white space, omitting thousands separators
|
272
|
-
//
|
263
|
+
// places: Number|String?
|
273
264
|
// number of decimal places to accept: Infinity, a positive number, or
|
274
265
|
// a range "n,m". Defined by pattern or Infinity if pattern not provided.
|
275
|
-
|
276
|
-
this.type = type;
|
277
|
-
this.locale = locale;
|
278
|
-
this.strict = strict;
|
279
|
-
this.places = places;
|
280
|
-
}
|
266
|
+
});
|
281
267
|
=====*/
|
282
|
-
|
283
|
-
//
|
268
|
+
number.regexp = function(/*number.__RegexpOptions?*/ options){
|
269
|
+
// summary:
|
284
270
|
// Builds the regular needed to parse a number
|
285
|
-
//
|
271
|
+
// description:
|
286
272
|
// Returns regular expression with positive and negative match, group
|
287
273
|
// and decimal separators
|
288
|
-
return
|
274
|
+
return number._parseInfo(options).regexp; // String
|
289
275
|
};
|
290
276
|
|
291
|
-
|
277
|
+
number._parseInfo = function(/*Object?*/ options){
|
292
278
|
options = options || {};
|
293
279
|
var locale = i18n.normalizeLocale(options.locale),
|
294
280
|
bundle = i18n.getLocalization("dojo.cldr", "number", locale),
|
@@ -318,7 +304,7 @@ dojo.number._parseInfo = function(/*Object?*/options){
|
|
318
304
|
|
319
305
|
var re = dregexp.buildGroupRE(patternList, function(pattern){
|
320
306
|
pattern = "(?:"+dregexp.escapeString(pattern, '.')+")";
|
321
|
-
return pattern.replace(
|
307
|
+
return pattern.replace(number._numberPatternRE, function(format){
|
322
308
|
var flags = {
|
323
309
|
signed: false,
|
324
310
|
separator: options.strict ? group : [group,""],
|
@@ -350,7 +336,7 @@ dojo.number._parseInfo = function(/*Object?*/options){
|
|
350
336
|
flags.groupSize2 = groups.pop().length;
|
351
337
|
}
|
352
338
|
}
|
353
|
-
return "("+
|
339
|
+
return "("+number._realNumberRegexp(flags)+")";
|
354
340
|
});
|
355
341
|
}, true);
|
356
342
|
|
@@ -377,30 +363,25 @@ dojo.number._parseInfo = function(/*Object?*/options){
|
|
377
363
|
};
|
378
364
|
|
379
365
|
/*=====
|
380
|
-
|
381
|
-
//
|
366
|
+
number.__ParseOptions = declare(null, {
|
367
|
+
// pattern: String?
|
382
368
|
// override [formatting pattern](http://www.unicode.org/reports/tr35/#Number_Format_Patterns)
|
383
369
|
// with this string. Default value is based on locale. Overriding this property will defeat
|
384
370
|
// localization. Literal characters in patterns are not supported.
|
385
|
-
//
|
371
|
+
// type: String?
|
386
372
|
// choose a format type based on the locale from the following:
|
387
373
|
// decimal, scientific (not yet supported), percent, currency. decimal by default.
|
388
|
-
//
|
374
|
+
// locale: String?
|
389
375
|
// override the locale used to determine formatting rules
|
390
|
-
//
|
376
|
+
// strict: Boolean?
|
391
377
|
// strict parsing, false by default. Strict parsing requires input as produced by the format() method.
|
392
378
|
// Non-strict is more permissive, e.g. flexible on white space, omitting thousands separators
|
393
|
-
//
|
379
|
+
// fractional: Boolean|Array?
|
394
380
|
// Whether to include the fractional portion, where the number of decimal places are implied by pattern
|
395
381
|
// or explicit 'places' parameter. The value [true,false] makes the fractional portion optional.
|
396
|
-
|
397
|
-
this.type = type;
|
398
|
-
this.locale = locale;
|
399
|
-
this.strict = strict;
|
400
|
-
this.fractional = fractional;
|
401
|
-
}
|
382
|
+
});
|
402
383
|
=====*/
|
403
|
-
|
384
|
+
number.parse = function(/*String*/ expression, /*number.__ParseOptions?*/ options){
|
404
385
|
// summary:
|
405
386
|
// Convert a properly formatted string to a primitive Number, using
|
406
387
|
// locale-specific settings.
|
@@ -412,7 +393,7 @@ dojo.number.parse = function(/*String*/expression, /*dojo.number.__ParseOptions?
|
|
412
393
|
// Note that literal characters in patterns are not supported.
|
413
394
|
// expression:
|
414
395
|
// A string representation of a Number
|
415
|
-
var info =
|
396
|
+
var info = number._parseInfo(options),
|
416
397
|
results = (new RegExp("^"+info.regexp+"$")).exec(expression);
|
417
398
|
if(!results){
|
418
399
|
return NaN; //NaN
|
@@ -437,35 +418,30 @@ dojo.number.parse = function(/*String*/expression, /*dojo.number.__ParseOptions?
|
|
437
418
|
};
|
438
419
|
|
439
420
|
/*=====
|
440
|
-
|
441
|
-
//
|
421
|
+
number.__RealNumberRegexpFlags = declare(null, {
|
422
|
+
// places: Number?
|
442
423
|
// The integer number of decimal places or a range given as "n,m". If
|
443
424
|
// not given, the decimal part is optional and the number of places is
|
444
425
|
// unlimited.
|
445
|
-
//
|
426
|
+
// decimal: String?
|
446
427
|
// A string for the character used as the decimal point. Default
|
447
428
|
// is ".".
|
448
|
-
//
|
429
|
+
// fractional: Boolean|Array?
|
449
430
|
// Whether decimal places are used. Can be true, false, or [true,
|
450
431
|
// false]. Default is [true, false] which means optional.
|
451
|
-
//
|
432
|
+
// exponent: Boolean|Array?
|
452
433
|
// Express in exponential notation. Can be true, false, or [true,
|
453
434
|
// false]. Default is [true, false], (i.e. will match if the
|
454
435
|
// exponential part is present are not).
|
455
|
-
//
|
436
|
+
// eSigned: Boolean|Array?
|
456
437
|
// The leading plus-or-minus sign on the exponent. Can be true,
|
457
438
|
// false, or [true, false]. Default is [true, false], (i.e. will
|
458
439
|
// match if it is signed or unsigned). flags in regexp.integer can be
|
459
440
|
// applied.
|
460
|
-
|
461
|
-
this.decimal = decimal;
|
462
|
-
this.fractional = fractional;
|
463
|
-
this.exponent = exponent;
|
464
|
-
this.eSigned = eSigned;
|
465
|
-
}
|
441
|
+
});
|
466
442
|
=====*/
|
467
443
|
|
468
|
-
|
444
|
+
number._realNumberRegexp = function(/*__RealNumberRegexpFlags?*/ flags){
|
469
445
|
// summary:
|
470
446
|
// Builds a regular expression to match a real number in exponential
|
471
447
|
// notation
|
@@ -479,7 +455,7 @@ dojo.number._realNumberRegexp = function(/*dojo.number.__RealNumberRegexpFlags?*
|
|
479
455
|
if(!("exponent" in flags)){ flags.exponent = [true, false]; }
|
480
456
|
if(!("eSigned" in flags)){ flags.eSigned = [true, false]; }
|
481
457
|
|
482
|
-
var integerRE =
|
458
|
+
var integerRE = number._integerRegexp(flags),
|
483
459
|
decimalRE = dregexp.buildGroupRE(flags.fractional,
|
484
460
|
function(q){
|
485
461
|
var re = "";
|
@@ -498,7 +474,7 @@ dojo.number._realNumberRegexp = function(/*dojo.number.__RealNumberRegexpFlags?*
|
|
498
474
|
|
499
475
|
var exponentRE = dregexp.buildGroupRE(flags.exponent,
|
500
476
|
function(q){
|
501
|
-
if(q){ return "([eE]" +
|
477
|
+
if(q){ return "([eE]" + number._integerRegexp({ signed: flags.eSigned}) + ")"; }
|
502
478
|
return "";
|
503
479
|
}
|
504
480
|
);
|
@@ -510,27 +486,23 @@ dojo.number._realNumberRegexp = function(/*dojo.number.__RealNumberRegexpFlags?*
|
|
510
486
|
};
|
511
487
|
|
512
488
|
/*=====
|
513
|
-
|
514
|
-
//
|
489
|
+
number.__IntegerRegexpFlags = declare(null, {
|
490
|
+
// signed: Boolean?
|
515
491
|
// The leading plus-or-minus sign. Can be true, false, or `[true,false]`.
|
516
492
|
// Default is `[true, false]`, (i.e. will match if it is signed
|
517
493
|
// or unsigned).
|
518
|
-
//
|
494
|
+
// separator: String?
|
519
495
|
// The character used as the thousands separator. Default is no
|
520
496
|
// separator. For more than one symbol use an array, e.g. `[",", ""]`,
|
521
497
|
// makes ',' optional.
|
522
|
-
//
|
498
|
+
// groupSize: Number?
|
523
499
|
// group size between separators
|
524
|
-
//
|
500
|
+
// groupSize2: Number?
|
525
501
|
// second grouping, where separators 2..n have a different interval than the first separator (for India)
|
526
|
-
|
527
|
-
this.separator = separator;
|
528
|
-
this.groupSize = groupSize;
|
529
|
-
this.groupSize2 = groupSize2;
|
530
|
-
}
|
502
|
+
});
|
531
503
|
=====*/
|
532
504
|
|
533
|
-
|
505
|
+
number._integerRegexp = function(/*number.__IntegerRegexpFlags?*/ flags){
|
534
506
|
// summary:
|
535
507
|
// Builds a regular expression that matches an integer
|
536
508
|
|
@@ -572,5 +544,5 @@ dojo.number._integerRegexp = function(/*dojo.number.__IntegerRegexpFlags?*/flags
|
|
572
544
|
return signRE + numberRE; // String
|
573
545
|
};
|
574
546
|
|
575
|
-
return
|
547
|
+
return number;
|
576
548
|
});
|