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
@@ -6,8 +6,7 @@
|
|
6
6
|
|
7
7
|
//>>built
|
8
8
|
define("dojo/_base/NodeList",["./kernel","../query","./array","./html","../NodeList-dom"],function(_1,_2,_3){
|
9
|
-
var _4=_2.NodeList;
|
10
|
-
var _5=_4.prototype;
|
9
|
+
var _4=_2.NodeList,_5=_4.prototype;
|
11
10
|
_5.connect=_4._adaptAsForEach(function(){
|
12
11
|
return _1.connect.apply(this,arguments);
|
13
12
|
});
|
@@ -20,5 +19,5 @@ return this.connect(_7,a,b);
|
|
20
19
|
};
|
21
20
|
});
|
22
21
|
_1.NodeList=_4;
|
23
|
-
return
|
22
|
+
return _4;
|
24
23
|
});
|
@@ -1,59 +1,69 @@
|
|
1
1
|
define("dojo/_base/NodeList", ["./kernel", "../query", "./array", "./html", "../NodeList-dom"], function(dojo, query, array){
|
2
|
-
|
3
|
-
|
4
|
-
// summary:
|
5
|
-
// This module defines dojo.NodeList.
|
6
|
-
|
7
|
-
var NodeList = query.NodeList;
|
2
|
+
// module:
|
3
|
+
// dojo/_base/NodeList
|
8
4
|
|
9
5
|
/*=====
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
// the lower-case name of the event
|
18
|
-
// objOrFunc: Object|Function|String
|
19
|
-
// if 2 arguments are passed (methodName, objOrFunc), objOrFunc should
|
20
|
-
// reference a function or be the name of the function in the global
|
21
|
-
// namespace to attach. If 3 arguments are provided
|
22
|
-
// (methodName, objOrFunc, funcName), objOrFunc must be the scope to
|
23
|
-
// locate the bound function in
|
24
|
-
// funcName: String?
|
25
|
-
// optional. A string naming the function in objOrFunc to bind to the
|
26
|
-
// event. May also be a function reference.
|
27
|
-
// example:
|
28
|
-
// add an onclick handler to every button on the page
|
29
|
-
// | dojo.query("div:nth-child(odd)").connect("onclick", function(e){
|
30
|
-
// | console.log("clicked!");
|
31
|
-
// | });
|
32
|
-
// example:
|
33
|
-
// attach foo.bar() to every odd div's onmouseover
|
34
|
-
// | dojo.query("div:nth-child(odd)").connect("onmouseover", foo, "bar");
|
35
|
-
},
|
36
|
-
coords: function(){
|
37
|
-
// summary:
|
38
|
-
// Deprecated: Use position() for border-box x/y/w/h
|
39
|
-
// or marginBox() for margin-box w/h/l/t.
|
40
|
-
// Returns the box objects of all elements in a node list as
|
41
|
-
// an Array (*not* a NodeList). Acts like `dojo.coords`, though assumes
|
42
|
-
// the node passed is each node in this list.
|
43
|
-
|
44
|
-
return dojo.map(this, dojo.coords); // Array
|
45
|
-
}
|
46
|
-
});
|
47
|
-
|
48
|
-
var NodeList = dojo.NodeList;
|
6
|
+
return {
|
7
|
+
// summary:
|
8
|
+
// This module extends dojo/NodeList with the legacy connect(), coords(),
|
9
|
+
// blur(), focus(), change(), click(), error(), keydown(), keypress(),
|
10
|
+
// keyup(), load(), mousedown(), mouseenter(), mouseleave(), mousemove(),
|
11
|
+
// mouseout(), mouseover(), mouseup(), and submit() methods.
|
12
|
+
};
|
49
13
|
=====*/
|
50
|
-
|
14
|
+
|
15
|
+
var NodeList = query.NodeList,
|
16
|
+
nlp = NodeList.prototype;
|
51
17
|
|
52
|
-
// don't bind early to dojo.connect since we no longer explicitly depend on it
|
53
18
|
nlp.connect = NodeList._adaptAsForEach(function(){
|
19
|
+
// don't bind early to dojo.connect since we no longer explicitly depend on it
|
54
20
|
return dojo.connect.apply(this, arguments);
|
55
21
|
});
|
22
|
+
/*=====
|
23
|
+
nlp.connect = function(methodName, objOrFunc, funcName){
|
24
|
+
// summary:
|
25
|
+
// Attach event handlers to every item of the NodeList. Uses dojo.connect()
|
26
|
+
// so event properties are normalized.
|
27
|
+
//
|
28
|
+
// Application must manually require() "dojo/_base/connect" before using this method.
|
29
|
+
// methodName: String
|
30
|
+
// the name of the method to attach to. For DOM events, this should be
|
31
|
+
// the lower-case name of the event
|
32
|
+
// objOrFunc: Object|Function|String
|
33
|
+
// if 2 arguments are passed (methodName, objOrFunc), objOrFunc should
|
34
|
+
// reference a function or be the name of the function in the global
|
35
|
+
// namespace to attach. If 3 arguments are provided
|
36
|
+
// (methodName, objOrFunc, funcName), objOrFunc must be the scope to
|
37
|
+
// locate the bound function in
|
38
|
+
// funcName: String?
|
39
|
+
// optional. A string naming the function in objOrFunc to bind to the
|
40
|
+
// event. May also be a function reference.
|
41
|
+
// example:
|
42
|
+
// add an onclick handler to every button on the page
|
43
|
+
// | query("div:nth-child(odd)").connect("onclick", function(e){
|
44
|
+
// | console.log("clicked!");
|
45
|
+
// | });
|
46
|
+
// example:
|
47
|
+
// attach foo.bar() to every odd div's onmouseover
|
48
|
+
// | query("div:nth-child(odd)").connect("onmouseover", foo, "bar");
|
49
|
+
|
50
|
+
return null; // NodeList
|
51
|
+
};
|
52
|
+
=====*/
|
53
|
+
|
56
54
|
nlp.coords = NodeList._adaptAsMap(dojo.coords);
|
55
|
+
/*=====
|
56
|
+
nlp.coords = function(){
|
57
|
+
// summary:
|
58
|
+
// Deprecated: Use position() for border-box x/y/w/h
|
59
|
+
// or marginBox() for margin-box w/h/l/t.
|
60
|
+
// Returns the box objects of all elements in a node list as
|
61
|
+
// an Array (*not* a NodeList). Acts like `domGeom.coords`, though assumes
|
62
|
+
// the node passed is each node in this list.
|
63
|
+
|
64
|
+
return []; // Array
|
65
|
+
};
|
66
|
+
=====*/
|
57
67
|
|
58
68
|
NodeList.events = [
|
59
69
|
// summary:
|
@@ -96,5 +106,5 @@ var NodeList = query.NodeList;
|
|
96
106
|
);
|
97
107
|
|
98
108
|
dojo.NodeList = NodeList;
|
99
|
-
return
|
109
|
+
return NodeList;
|
100
110
|
});
|
@@ -6,67 +6,64 @@
|
|
6
6
|
|
7
7
|
//>>built
|
8
8
|
define("dojo/_base/array",["./kernel","../has","./lang"],function(_1,_2,_3){
|
9
|
-
var _4={},u
|
10
|
-
function
|
11
|
-
_4={};
|
12
|
-
};
|
13
|
-
function _7(fn){
|
9
|
+
var _4={},u;
|
10
|
+
function _5(fn){
|
14
11
|
return _4[fn]=new Function("item","index","array",fn);
|
15
12
|
};
|
16
|
-
function
|
17
|
-
var
|
13
|
+
function _6(_7){
|
14
|
+
var _8=!_7;
|
18
15
|
return function(a,fn,o){
|
19
|
-
var i=0,l=a&&a.length||0,
|
16
|
+
var i=0,l=a&&a.length||0,_9;
|
20
17
|
if(l&&typeof a=="string"){
|
21
18
|
a=a.split("");
|
22
19
|
}
|
23
20
|
if(typeof fn=="string"){
|
24
|
-
fn=_4[fn]||
|
21
|
+
fn=_4[fn]||_5(fn);
|
25
22
|
}
|
26
23
|
if(o){
|
27
24
|
for(;i<l;++i){
|
28
|
-
|
29
|
-
if(_9
|
30
|
-
return !
|
25
|
+
_9=!fn.call(o,a[i],i,a);
|
26
|
+
if(_7^_9){
|
27
|
+
return !_9;
|
31
28
|
}
|
32
29
|
}
|
33
30
|
}else{
|
34
31
|
for(;i<l;++i){
|
35
|
-
|
36
|
-
if(_9
|
37
|
-
return !
|
32
|
+
_9=!fn(a[i],i,a);
|
33
|
+
if(_7^_9){
|
34
|
+
return !_9;
|
38
35
|
}
|
39
36
|
}
|
40
37
|
}
|
41
|
-
return
|
38
|
+
return _8;
|
42
39
|
};
|
43
40
|
};
|
44
|
-
function
|
45
|
-
var
|
41
|
+
function _a(up){
|
42
|
+
var _b=1,_c=0,_d=0;
|
46
43
|
if(!up){
|
47
|
-
|
44
|
+
_b=_c=_d=-1;
|
48
45
|
}
|
49
|
-
return function(a,x,
|
50
|
-
if(
|
51
|
-
return
|
46
|
+
return function(a,x,_e,_f){
|
47
|
+
if(_f&&_b>0){
|
48
|
+
return _10.lastIndexOf(a,x,_e);
|
52
49
|
}
|
53
|
-
var l=a&&a.length||0,end=up?l+
|
54
|
-
if(
|
55
|
-
i=up?
|
50
|
+
var l=a&&a.length||0,end=up?l+_d:_c,i;
|
51
|
+
if(_e===u){
|
52
|
+
i=up?_c:l+_d;
|
56
53
|
}else{
|
57
|
-
if(
|
58
|
-
i=l+
|
54
|
+
if(_e<0){
|
55
|
+
i=l+_e;
|
59
56
|
if(i<0){
|
60
|
-
i=
|
57
|
+
i=_c;
|
61
58
|
}
|
62
59
|
}else{
|
63
|
-
i=
|
60
|
+
i=_e>=l?l+_d:_e;
|
64
61
|
}
|
65
62
|
}
|
66
63
|
if(l&&typeof a=="string"){
|
67
64
|
a=a.split("");
|
68
65
|
}
|
69
|
-
for(;i!=end;i+=
|
66
|
+
for(;i!=end;i+=_b){
|
70
67
|
if(a[i]==x){
|
71
68
|
return i;
|
72
69
|
}
|
@@ -74,69 +71,68 @@ return i;
|
|
74
71
|
return -1;
|
75
72
|
};
|
76
73
|
};
|
77
|
-
|
78
|
-
var i=0,l=
|
79
|
-
if(l&&typeof
|
80
|
-
|
74
|
+
var _10={every:_6(false),some:_6(true),indexOf:_a(true),lastIndexOf:_a(false),forEach:function(arr,_11,_12){
|
75
|
+
var i=0,l=arr&&arr.length||0;
|
76
|
+
if(l&&typeof arr=="string"){
|
77
|
+
arr=arr.split("");
|
81
78
|
}
|
82
|
-
if(typeof
|
83
|
-
|
79
|
+
if(typeof _11=="string"){
|
80
|
+
_11=_4[_11]||_5(_11);
|
84
81
|
}
|
85
|
-
if(
|
82
|
+
if(_12){
|
86
83
|
for(;i<l;++i){
|
87
|
-
|
84
|
+
_11.call(_12,arr[i],i,arr);
|
88
85
|
}
|
89
86
|
}else{
|
90
87
|
for(;i<l;++i){
|
91
|
-
|
88
|
+
_11(arr[i],i,arr);
|
92
89
|
}
|
93
90
|
}
|
94
|
-
}
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
a=a.split("");
|
91
|
+
},map:function(arr,_13,_14,Ctr){
|
92
|
+
var i=0,l=arr&&arr.length||0,out=new (Ctr||Array)(l);
|
93
|
+
if(l&&typeof arr=="string"){
|
94
|
+
arr=arr.split("");
|
99
95
|
}
|
100
|
-
if(typeof
|
101
|
-
|
96
|
+
if(typeof _13=="string"){
|
97
|
+
_13=_4[_13]||_5(_13);
|
102
98
|
}
|
103
|
-
if(
|
99
|
+
if(_14){
|
104
100
|
for(;i<l;++i){
|
105
|
-
out[i]=
|
101
|
+
out[i]=_13.call(_14,arr[i],i,arr);
|
106
102
|
}
|
107
103
|
}else{
|
108
104
|
for(;i<l;++i){
|
109
|
-
out[i]=
|
105
|
+
out[i]=_13(arr[i],i,arr);
|
110
106
|
}
|
111
107
|
}
|
112
108
|
return out;
|
113
|
-
}
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
a=a.split("");
|
109
|
+
},filter:function(arr,_15,_16){
|
110
|
+
var i=0,l=arr&&arr.length||0,out=[],_17;
|
111
|
+
if(l&&typeof arr=="string"){
|
112
|
+
arr=arr.split("");
|
118
113
|
}
|
119
|
-
if(typeof
|
120
|
-
|
114
|
+
if(typeof _15=="string"){
|
115
|
+
_15=_4[_15]||_5(_15);
|
121
116
|
}
|
122
|
-
if(
|
117
|
+
if(_16){
|
123
118
|
for(;i<l;++i){
|
124
|
-
|
125
|
-
if(
|
126
|
-
out.push(
|
119
|
+
_17=arr[i];
|
120
|
+
if(_15.call(_16,_17,i,arr)){
|
121
|
+
out.push(_17);
|
127
122
|
}
|
128
123
|
}
|
129
124
|
}else{
|
130
125
|
for(;i<l;++i){
|
131
|
-
|
132
|
-
if(
|
133
|
-
out.push(
|
126
|
+
_17=arr[i];
|
127
|
+
if(_15(_17,i,arr)){
|
128
|
+
out.push(_17);
|
134
129
|
}
|
135
130
|
}
|
136
131
|
}
|
137
132
|
return out;
|
138
|
-
}
|
139
|
-
|
140
|
-
|
141
|
-
|
133
|
+
},clearCache:function(){
|
134
|
+
_4={};
|
135
|
+
}};
|
136
|
+
1&&_3.mixin(_1,_10);
|
137
|
+
return _10;
|
142
138
|
});
|
@@ -1,205 +1,9 @@
|
|
1
1
|
define("dojo/_base/array", ["./kernel", "../has", "./lang"], function(dojo, has, lang){
|
2
2
|
// module:
|
3
3
|
// dojo/_base/array
|
4
|
-
// summary:
|
5
|
-
// This module defines the Javascript v1.6 array extensions.
|
6
|
-
|
7
|
-
/*=====
|
8
|
-
dojo.indexOf = function(arr, value, fromIndex, findLast){
|
9
|
-
// summary:
|
10
|
-
// locates the first index of the provided value in the
|
11
|
-
// passed array. If the value is not found, -1 is returned.
|
12
|
-
// description:
|
13
|
-
// This method corresponds to the JavaScript 1.6 Array.indexOf method, with one difference: when
|
14
|
-
// run over sparse arrays, the Dojo function invokes the callback for every index whereas JavaScript
|
15
|
-
// 1.6's indexOf skips the holes in the sparse array.
|
16
|
-
// For details on this method, see:
|
17
|
-
// https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Objects/Array/indexOf
|
18
|
-
// arr: Array
|
19
|
-
// value: Object
|
20
|
-
// fromIndex: Integer?
|
21
|
-
// findLast: Boolean?
|
22
|
-
// returns: Number
|
23
|
-
};
|
24
|
-
dojo.lastIndexOf = function(arr, value, fromIndex){
|
25
|
-
// summary:
|
26
|
-
// locates the last index of the provided value in the passed
|
27
|
-
// array. If the value is not found, -1 is returned.
|
28
|
-
// description:
|
29
|
-
// This method corresponds to the JavaScript 1.6 Array.lastIndexOf method, with one difference: when
|
30
|
-
// run over sparse arrays, the Dojo function invokes the callback for every index whereas JavaScript
|
31
|
-
// 1.6's lastIndexOf skips the holes in the sparse array.
|
32
|
-
// For details on this method, see:
|
33
|
-
// https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Objects/Array/lastIndexOf
|
34
|
-
// arr: Array,
|
35
|
-
// value: Object,
|
36
|
-
// fromIndex: Integer?
|
37
|
-
// returns: Number
|
38
|
-
};
|
39
|
-
dojo.forEach = function(arr, callback, thisObject){
|
40
|
-
// summary:
|
41
|
-
// for every item in arr, callback is invoked. Return values are ignored.
|
42
|
-
// If you want to break out of the loop, consider using dojo.every() or dojo.some().
|
43
|
-
// forEach does not allow breaking out of the loop over the items in arr.
|
44
|
-
// arr:
|
45
|
-
// the array to iterate over. If a string, operates on individual characters.
|
46
|
-
// callback:
|
47
|
-
// a function is invoked with three arguments: item, index, and array
|
48
|
-
// thisObject:
|
49
|
-
// may be used to scope the call to callback
|
50
|
-
// description:
|
51
|
-
// This function corresponds to the JavaScript 1.6 Array.forEach() method, with one difference: when
|
52
|
-
// run over sparse arrays, this implementation passes the "holes" in the sparse array to
|
53
|
-
// the callback function with a value of undefined. JavaScript 1.6's forEach skips the holes in the sparse array.
|
54
|
-
// For more details, see:
|
55
|
-
// https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Objects/Array/forEach
|
56
|
-
// example:
|
57
|
-
// | // log out all members of the array:
|
58
|
-
// | dojo.forEach(
|
59
|
-
// | [ "thinger", "blah", "howdy", 10 ],
|
60
|
-
// | function(item){
|
61
|
-
// | console.log(item);
|
62
|
-
// | }
|
63
|
-
// | );
|
64
|
-
// example:
|
65
|
-
// | // log out the members and their indexes
|
66
|
-
// | dojo.forEach(
|
67
|
-
// | [ "thinger", "blah", "howdy", 10 ],
|
68
|
-
// | function(item, idx, arr){
|
69
|
-
// | console.log(item, "at index:", idx);
|
70
|
-
// | }
|
71
|
-
// | );
|
72
|
-
// example:
|
73
|
-
// | // use a scoped object member as the callback
|
74
|
-
// |
|
75
|
-
// | var obj = {
|
76
|
-
// | prefix: "logged via obj.callback:",
|
77
|
-
// | callback: function(item){
|
78
|
-
// | console.log(this.prefix, item);
|
79
|
-
// | }
|
80
|
-
// | };
|
81
|
-
// |
|
82
|
-
// | // specifying the scope function executes the callback in that scope
|
83
|
-
// | dojo.forEach(
|
84
|
-
// | [ "thinger", "blah", "howdy", 10 ],
|
85
|
-
// | obj.callback,
|
86
|
-
// | obj
|
87
|
-
// | );
|
88
|
-
// |
|
89
|
-
// | // alternately, we can accomplish the same thing with dojo.hitch()
|
90
|
-
// | dojo.forEach(
|
91
|
-
// | [ "thinger", "blah", "howdy", 10 ],
|
92
|
-
// | dojo.hitch(obj, "callback")
|
93
|
-
// | );
|
94
|
-
// arr: Array|String
|
95
|
-
// callback: Function|String
|
96
|
-
// thisObject: Object?
|
97
|
-
};
|
98
|
-
dojo.every = function(arr, callback, thisObject){
|
99
|
-
// summary:
|
100
|
-
// Determines whether or not every item in arr satisfies the
|
101
|
-
// condition implemented by callback.
|
102
|
-
// arr: Array|String
|
103
|
-
// the array to iterate on. If a string, operates on individual characters.
|
104
|
-
// callback: Function|String
|
105
|
-
// a function is invoked with three arguments: item, index,
|
106
|
-
// and array and returns true if the condition is met.
|
107
|
-
// thisObject: Object?
|
108
|
-
// may be used to scope the call to callback
|
109
|
-
// returns: Boolean
|
110
|
-
// description:
|
111
|
-
// This function corresponds to the JavaScript 1.6 Array.every() method, with one difference: when
|
112
|
-
// run over sparse arrays, this implementation passes the "holes" in the sparse array to
|
113
|
-
// the callback function with a value of undefined. JavaScript 1.6's every skips the holes in the sparse array.
|
114
|
-
// For more details, see:
|
115
|
-
// https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Objects/Array/every
|
116
|
-
// example:
|
117
|
-
// | // returns false
|
118
|
-
// | dojo.every([1, 2, 3, 4], function(item){ return item>1; });
|
119
|
-
// example:
|
120
|
-
// | // returns true
|
121
|
-
// | dojo.every([1, 2, 3, 4], function(item){ return item>0; });
|
122
|
-
};
|
123
|
-
dojo.some = function(arr, callback, thisObject){
|
124
|
-
// summary:
|
125
|
-
// Determines whether or not any item in arr satisfies the
|
126
|
-
// condition implemented by callback.
|
127
|
-
// arr: Array|String
|
128
|
-
// the array to iterate over. If a string, operates on individual characters.
|
129
|
-
// callback: Function|String
|
130
|
-
// a function is invoked with three arguments: item, index,
|
131
|
-
// and array and returns true if the condition is met.
|
132
|
-
// thisObject: Object?
|
133
|
-
// may be used to scope the call to callback
|
134
|
-
// returns: Boolean
|
135
|
-
// description:
|
136
|
-
// This function corresponds to the JavaScript 1.6 Array.some() method, with one difference: when
|
137
|
-
// run over sparse arrays, this implementation passes the "holes" in the sparse array to
|
138
|
-
// the callback function with a value of undefined. JavaScript 1.6's some skips the holes in the sparse array.
|
139
|
-
// For more details, see:
|
140
|
-
// https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Objects/Array/some
|
141
|
-
// example:
|
142
|
-
// | // is true
|
143
|
-
// | dojo.some([1, 2, 3, 4], function(item){ return item>1; });
|
144
|
-
// example:
|
145
|
-
// | // is false
|
146
|
-
// | dojo.some([1, 2, 3, 4], function(item){ return item<1; });
|
147
|
-
};
|
148
|
-
dojo.map = function(arr, callback, thisObject){
|
149
|
-
// summary:
|
150
|
-
// applies callback to each element of arr and returns
|
151
|
-
// an Array with the results
|
152
|
-
// arr: Array|String
|
153
|
-
// the array to iterate on. If a string, operates on
|
154
|
-
// individual characters.
|
155
|
-
// callback: Function|String
|
156
|
-
// a function is invoked with three arguments, (item, index,
|
157
|
-
// array), and returns a value
|
158
|
-
// thisObject: Object?
|
159
|
-
// may be used to scope the call to callback
|
160
|
-
// returns: Array
|
161
|
-
// description:
|
162
|
-
// This function corresponds to the JavaScript 1.6 Array.map() method, with one difference: when
|
163
|
-
// run over sparse arrays, this implementation passes the "holes" in the sparse array to
|
164
|
-
// the callback function with a value of undefined. JavaScript 1.6's map skips the holes in the sparse array.
|
165
|
-
// For more details, see:
|
166
|
-
// https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Objects/Array/map
|
167
|
-
// example:
|
168
|
-
// | // returns [2, 3, 4, 5]
|
169
|
-
// | dojo.map([1, 2, 3, 4], function(item){ return item+1 });
|
170
|
-
};
|
171
|
-
dojo.filter = function(arr, callback, thisObject){
|
172
|
-
// summary:
|
173
|
-
// Returns a new Array with those items from arr that match the
|
174
|
-
// condition implemented by callback.
|
175
|
-
// arr: Array
|
176
|
-
// the array to iterate over.
|
177
|
-
// callback: Function|String
|
178
|
-
// a function that is invoked with three arguments (item,
|
179
|
-
// index, array). The return of this function is expected to
|
180
|
-
// be a boolean which determines whether the passed-in item
|
181
|
-
// will be included in the returned array.
|
182
|
-
// thisObject: Object?
|
183
|
-
// may be used to scope the call to callback
|
184
|
-
// returns: Array
|
185
|
-
// description:
|
186
|
-
// This function corresponds to the JavaScript 1.6 Array.filter() method, with one difference: when
|
187
|
-
// run over sparse arrays, this implementation passes the "holes" in the sparse array to
|
188
|
-
// the callback function with a value of undefined. JavaScript 1.6's filter skips the holes in the sparse array.
|
189
|
-
// For more details, see:
|
190
|
-
// https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Objects/Array/filter
|
191
|
-
// example:
|
192
|
-
// | // returns [2, 3, 4]
|
193
|
-
// | dojo.filter([1, 2, 3, 4], function(item){ return item>1; });
|
194
|
-
};
|
195
|
-
=====*/
|
196
4
|
|
197
5
|
// our old simple function builder stuff
|
198
|
-
var cache = {}, u
|
199
|
-
|
200
|
-
function clearCache(){
|
201
|
-
cache = {};
|
202
|
-
}
|
6
|
+
var cache = {}, u;
|
203
7
|
|
204
8
|
function buildFn(fn){
|
205
9
|
return cache[fn] = new Function("item", "index", "array", fn); // Function
|
@@ -230,9 +34,8 @@ define("dojo/_base/array", ["./kernel", "../has", "./lang"], function(dojo, has,
|
|
230
34
|
}
|
231
35
|
}
|
232
36
|
return every; // Boolean
|
233
|
-
}
|
37
|
+
};
|
234
38
|
}
|
235
|
-
// var every = everyOrSome(false), some = everyOrSome(true);
|
236
39
|
|
237
40
|
// indexOf, lastIndexOf
|
238
41
|
|
@@ -266,78 +69,275 @@ define("dojo/_base/array", ["./kernel", "../has", "./lang"], function(dojo, has,
|
|
266
69
|
}
|
267
70
|
}
|
268
71
|
return -1; // Number
|
269
|
-
}
|
72
|
+
};
|
270
73
|
}
|
271
|
-
// var indexOf = index(true), lastIndexOf = index(false);
|
272
74
|
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
if(typeof fn == "string") fn = cache[fn] || buildFn(fn);
|
277
|
-
if(o){
|
278
|
-
for(; i < l; ++i){
|
279
|
-
fn.call(o, a[i], i, a);
|
280
|
-
}
|
281
|
-
}else{
|
282
|
-
for(; i < l; ++i){
|
283
|
-
fn(a[i], i, a);
|
284
|
-
}
|
285
|
-
}
|
286
|
-
}
|
75
|
+
var array = {
|
76
|
+
// summary:
|
77
|
+
// The Javascript v1.6 array extensions.
|
287
78
|
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
|
79
|
+
every: everyOrSome(false),
|
80
|
+
/*=====
|
81
|
+
every: function(arr, callback, thisObject){
|
82
|
+
// summary:
|
83
|
+
// Determines whether or not every item in arr satisfies the
|
84
|
+
// condition implemented by callback.
|
85
|
+
// arr: Array|String
|
86
|
+
// the array to iterate on. If a string, operates on individual characters.
|
87
|
+
// callback: Function|String
|
88
|
+
// a function is invoked with three arguments: item, index,
|
89
|
+
// and array and returns true if the condition is met.
|
90
|
+
// thisObject: Object?
|
91
|
+
// may be used to scope the call to callback
|
92
|
+
// returns: Boolean
|
93
|
+
// description:
|
94
|
+
// This function corresponds to the JavaScript 1.6 Array.every() method, with one difference: when
|
95
|
+
// run over sparse arrays, this implementation passes the "holes" in the sparse array to
|
96
|
+
// the callback function with a value of undefined. JavaScript 1.6's every skips the holes in the sparse array.
|
97
|
+
// For more details, see:
|
98
|
+
// https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Objects/Array/every
|
99
|
+
// example:
|
100
|
+
// | // returns false
|
101
|
+
// | array.every([1, 2, 3, 4], function(item){ return item>1; });
|
102
|
+
// example:
|
103
|
+
// | // returns true
|
104
|
+
// | array.every([1, 2, 3, 4], function(item){ return item>0; });
|
105
|
+
},
|
106
|
+
=====*/
|
107
|
+
|
108
|
+
some: everyOrSome(true),
|
109
|
+
/*=====
|
110
|
+
some: function(arr, callback, thisObject){
|
111
|
+
// summary:
|
112
|
+
// Determines whether or not any item in arr satisfies the
|
113
|
+
// condition implemented by callback.
|
114
|
+
// arr: Array|String
|
115
|
+
// the array to iterate over. If a string, operates on individual characters.
|
116
|
+
// callback: Function|String
|
117
|
+
// a function is invoked with three arguments: item, index,
|
118
|
+
// and array and returns true if the condition is met.
|
119
|
+
// thisObject: Object?
|
120
|
+
// may be used to scope the call to callback
|
121
|
+
// returns: Boolean
|
122
|
+
// description:
|
123
|
+
// This function corresponds to the JavaScript 1.6 Array.some() method, with one difference: when
|
124
|
+
// run over sparse arrays, this implementation passes the "holes" in the sparse array to
|
125
|
+
// the callback function with a value of undefined. JavaScript 1.6's some skips the holes in the sparse array.
|
126
|
+
// For more details, see:
|
127
|
+
// https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Objects/Array/some
|
128
|
+
// example:
|
129
|
+
// | // is true
|
130
|
+
// | array.some([1, 2, 3, 4], function(item){ return item>1; });
|
131
|
+
// example:
|
132
|
+
// | // is false
|
133
|
+
// | array.some([1, 2, 3, 4], function(item){ return item<1; });
|
134
|
+
},
|
135
|
+
=====*/
|
136
|
+
|
137
|
+
indexOf: index(true),
|
138
|
+
/*=====
|
139
|
+
indexOf: function(arr, value, fromIndex, findLast){
|
140
|
+
// summary:
|
141
|
+
// locates the first index of the provided value in the
|
142
|
+
// passed array. If the value is not found, -1 is returned.
|
143
|
+
// description:
|
144
|
+
// This method corresponds to the JavaScript 1.6 Array.indexOf method, with one difference: when
|
145
|
+
// run over sparse arrays, the Dojo function invokes the callback for every index whereas JavaScript
|
146
|
+
// 1.6's indexOf skips the holes in the sparse array.
|
147
|
+
// For details on this method, see:
|
148
|
+
// https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Objects/Array/indexOf
|
149
|
+
// arr: Array
|
150
|
+
// value: Object
|
151
|
+
// fromIndex: Integer?
|
152
|
+
// findLast: Boolean?
|
153
|
+
// returns: Number
|
154
|
+
},
|
155
|
+
=====*/
|
156
|
+
|
157
|
+
lastIndexOf: index(false),
|
158
|
+
/*=====
|
159
|
+
lastIndexOf: function(arr, value, fromIndex){
|
160
|
+
// summary:
|
161
|
+
// locates the last index of the provided value in the passed
|
162
|
+
// array. If the value is not found, -1 is returned.
|
163
|
+
// description:
|
164
|
+
// This method corresponds to the JavaScript 1.6 Array.lastIndexOf method, with one difference: when
|
165
|
+
// run over sparse arrays, the Dojo function invokes the callback for every index whereas JavaScript
|
166
|
+
// 1.6's lastIndexOf skips the holes in the sparse array.
|
167
|
+
// For details on this method, see:
|
168
|
+
// https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Objects/Array/lastIndexOf
|
169
|
+
// arr: Array,
|
170
|
+
// value: Object,
|
171
|
+
// fromIndex: Integer?
|
172
|
+
// returns: Number
|
173
|
+
},
|
174
|
+
=====*/
|
175
|
+
|
176
|
+
forEach: function(arr, callback, thisObject){
|
177
|
+
// summary:
|
178
|
+
// for every item in arr, callback is invoked. Return values are ignored.
|
179
|
+
// If you want to break out of the loop, consider using array.every() or array.some().
|
180
|
+
// forEach does not allow breaking out of the loop over the items in arr.
|
181
|
+
// arr:
|
182
|
+
// the array to iterate over. If a string, operates on individual characters.
|
183
|
+
// callback:
|
184
|
+
// a function is invoked with three arguments: item, index, and array
|
185
|
+
// thisObject:
|
186
|
+
// may be used to scope the call to callback
|
187
|
+
// description:
|
188
|
+
// This function corresponds to the JavaScript 1.6 Array.forEach() method, with one difference: when
|
189
|
+
// run over sparse arrays, this implementation passes the "holes" in the sparse array to
|
190
|
+
// the callback function with a value of undefined. JavaScript 1.6's forEach skips the holes in the sparse array.
|
191
|
+
// For more details, see:
|
192
|
+
// https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Objects/Array/forEach
|
193
|
+
// example:
|
194
|
+
// | // log out all members of the array:
|
195
|
+
// | array.forEach(
|
196
|
+
// | [ "thinger", "blah", "howdy", 10 ],
|
197
|
+
// | function(item){
|
198
|
+
// | console.log(item);
|
199
|
+
// | }
|
200
|
+
// | );
|
201
|
+
// example:
|
202
|
+
// | // log out the members and their indexes
|
203
|
+
// | array.forEach(
|
204
|
+
// | [ "thinger", "blah", "howdy", 10 ],
|
205
|
+
// | function(item, idx, arr){
|
206
|
+
// | console.log(item, "at index:", idx);
|
207
|
+
// | }
|
208
|
+
// | );
|
209
|
+
// example:
|
210
|
+
// | // use a scoped object member as the callback
|
211
|
+
// |
|
212
|
+
// | var obj = {
|
213
|
+
// | prefix: "logged via obj.callback:",
|
214
|
+
// | callback: function(item){
|
215
|
+
// | console.log(this.prefix, item);
|
216
|
+
// | }
|
217
|
+
// | };
|
218
|
+
// |
|
219
|
+
// | // specifying the scope function executes the callback in that scope
|
220
|
+
// | array.forEach(
|
221
|
+
// | [ "thinger", "blah", "howdy", 10 ],
|
222
|
+
// | obj.callback,
|
223
|
+
// | obj
|
224
|
+
// | );
|
225
|
+
// |
|
226
|
+
// | // alternately, we can accomplish the same thing with lang.hitch()
|
227
|
+
// | array.forEach(
|
228
|
+
// | [ "thinger", "blah", "howdy", 10 ],
|
229
|
+
// | lang.hitch(obj, "callback")
|
230
|
+
// | );
|
231
|
+
// arr: Array|String
|
232
|
+
// callback: Function|String
|
233
|
+
// thisObject: Object?
|
234
|
+
|
235
|
+
var i = 0, l = arr && arr.length || 0;
|
236
|
+
if(l && typeof arr == "string") arr = arr.split("");
|
237
|
+
if(typeof callback == "string") callback = cache[callback] || buildFn(callback);
|
238
|
+
if(thisObject){
|
239
|
+
for(; i < l; ++i){
|
240
|
+
callback.call(thisObject, arr[i], i, arr);
|
241
|
+
}
|
242
|
+
}else{
|
243
|
+
for(; i < l; ++i){
|
244
|
+
callback(arr[i], i, arr);
|
245
|
+
}
|
300
246
|
}
|
301
|
-
}
|
302
|
-
return out; // Array
|
303
|
-
}
|
247
|
+
},
|
304
248
|
|
305
|
-
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
249
|
+
map: function(arr, callback, thisObject, Ctr){
|
250
|
+
// summary:
|
251
|
+
// applies callback to each element of arr and returns
|
252
|
+
// an Array with the results
|
253
|
+
// arr: Array|String
|
254
|
+
// the array to iterate on. If a string, operates on
|
255
|
+
// individual characters.
|
256
|
+
// callback: Function|String
|
257
|
+
// a function is invoked with three arguments, (item, index,
|
258
|
+
// array), and returns a value
|
259
|
+
// thisObject: Object?
|
260
|
+
// may be used to scope the call to callback
|
261
|
+
// returns: Array
|
262
|
+
// description:
|
263
|
+
// This function corresponds to the JavaScript 1.6 Array.map() method, with one difference: when
|
264
|
+
// run over sparse arrays, this implementation passes the "holes" in the sparse array to
|
265
|
+
// the callback function with a value of undefined. JavaScript 1.6's map skips the holes in the sparse array.
|
266
|
+
// For more details, see:
|
267
|
+
// https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Objects/Array/map
|
268
|
+
// example:
|
269
|
+
// | // returns [2, 3, 4, 5]
|
270
|
+
// | array.map([1, 2, 3, 4], function(item){ return item+1 });
|
271
|
+
|
272
|
+
// TODO: why do we have a non-standard signature here? do we need "Ctr"?
|
273
|
+
var i = 0, l = arr && arr.length || 0, out = new (Ctr || Array)(l);
|
274
|
+
if(l && typeof arr == "string") arr = arr.split("");
|
275
|
+
if(typeof callback == "string") callback = cache[callback] || buildFn(callback);
|
276
|
+
if(thisObject){
|
277
|
+
for(; i < l; ++i){
|
278
|
+
out[i] = callback.call(thisObject, arr[i], i, arr);
|
279
|
+
}
|
280
|
+
}else{
|
281
|
+
for(; i < l; ++i){
|
282
|
+
out[i] = callback(arr[i], i, arr);
|
315
283
|
}
|
316
284
|
}
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
|
285
|
+
return out; // Array
|
286
|
+
},
|
287
|
+
|
288
|
+
filter: function(arr, callback, thisObject){
|
289
|
+
// summary:
|
290
|
+
// Returns a new Array with those items from arr that match the
|
291
|
+
// condition implemented by callback.
|
292
|
+
// arr: Array
|
293
|
+
// the array to iterate over.
|
294
|
+
// callback: Function|String
|
295
|
+
// a function that is invoked with three arguments (item,
|
296
|
+
// index, array). The return of this function is expected to
|
297
|
+
// be a boolean which determines whether the passed-in item
|
298
|
+
// will be included in the returned array.
|
299
|
+
// thisObject: Object?
|
300
|
+
// may be used to scope the call to callback
|
301
|
+
// returns: Array
|
302
|
+
// description:
|
303
|
+
// This function corresponds to the JavaScript 1.6 Array.filter() method, with one difference: when
|
304
|
+
// run over sparse arrays, this implementation passes the "holes" in the sparse array to
|
305
|
+
// the callback function with a value of undefined. JavaScript 1.6's filter skips the holes in the sparse array.
|
306
|
+
// For more details, see:
|
307
|
+
// https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Objects/Array/filter
|
308
|
+
// example:
|
309
|
+
// | // returns [2, 3, 4]
|
310
|
+
// | array.filter([1, 2, 3, 4], function(item){ return item>1; });
|
311
|
+
|
312
|
+
// TODO: do we need "Ctr" here like in map()?
|
313
|
+
var i = 0, l = arr && arr.length || 0, out = [], value;
|
314
|
+
if(l && typeof arr == "string") arr = arr.split("");
|
315
|
+
if(typeof callback == "string") callback = cache[callback] || buildFn(callback);
|
316
|
+
if(thisObject){
|
317
|
+
for(; i < l; ++i){
|
318
|
+
value = arr[i];
|
319
|
+
if(callback.call(thisObject, value, i, arr)){
|
320
|
+
out.push(value);
|
321
|
+
}
|
322
|
+
}
|
323
|
+
}else{
|
324
|
+
for(; i < l; ++i){
|
325
|
+
value = arr[i];
|
326
|
+
if(callback(value, i, arr)){
|
327
|
+
out.push(value);
|
328
|
+
}
|
322
329
|
}
|
323
330
|
}
|
324
|
-
|
325
|
-
|
326
|
-
}
|
331
|
+
return out; // Array
|
332
|
+
},
|
327
333
|
|
328
|
-
|
329
|
-
|
330
|
-
|
331
|
-
indexOf: index(true),
|
332
|
-
lastIndexOf: index(false),
|
333
|
-
forEach: forEach,
|
334
|
-
map: map,
|
335
|
-
filter: filter,
|
336
|
-
clearCache: clearCache
|
334
|
+
clearCache: function(){
|
335
|
+
cache = {};
|
336
|
+
}
|
337
337
|
};
|
338
338
|
|
339
|
-
1 && lang.mixin(dojo, array);
|
340
339
|
|
341
|
-
|
340
|
+
1 && lang.mixin(dojo, array);
|
341
|
+
|
342
342
|
return array;
|
343
343
|
});
|