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
@@ -224,15 +224,18 @@ function _33(_34){
|
|
224
224
|
_35.safeMixin(this.prototype,_34);
|
225
225
|
return this;
|
226
226
|
};
|
227
|
-
function _36(_37
|
227
|
+
function _36(_37){
|
228
|
+
return _35([this].concat(_37));
|
229
|
+
};
|
230
|
+
function _38(_39,_3a){
|
228
231
|
return function(){
|
229
|
-
var a=arguments,
|
232
|
+
var a=arguments,_3b=a,a0=a[0],f,i,m,l=_39.length,_3c;
|
230
233
|
if(!(this instanceof a.callee)){
|
231
|
-
return
|
234
|
+
return _3d(a);
|
232
235
|
}
|
233
|
-
if(
|
234
|
-
|
235
|
-
|
236
|
+
if(_3a&&(a0&&a0.preamble||this.preamble)){
|
237
|
+
_3c=new Array(_39.length);
|
238
|
+
_3c[0]=a;
|
236
239
|
for(i=0;;){
|
237
240
|
a0=a[0];
|
238
241
|
if(a0){
|
@@ -241,7 +244,7 @@ if(f){
|
|
241
244
|
a=f.apply(this,a)||a;
|
242
245
|
}
|
243
246
|
}
|
244
|
-
f=
|
247
|
+
f=_39[i].prototype;
|
245
248
|
f=f.hasOwnProperty("preamble")&&f.preamble;
|
246
249
|
if(f){
|
247
250
|
a=f.apply(this,a)||a;
|
@@ -249,30 +252,30 @@ a=f.apply(this,a)||a;
|
|
249
252
|
if(++i==l){
|
250
253
|
break;
|
251
254
|
}
|
252
|
-
|
255
|
+
_3c[i]=a;
|
253
256
|
}
|
254
257
|
}
|
255
258
|
for(i=l-1;i>=0;--i){
|
256
|
-
f=
|
259
|
+
f=_39[i];
|
257
260
|
m=f._meta;
|
258
261
|
f=m?m.ctor:f;
|
259
262
|
if(f){
|
260
|
-
f.apply(this,
|
263
|
+
f.apply(this,_3c?_3c[i]:a);
|
261
264
|
}
|
262
265
|
}
|
263
266
|
f=this.postscript;
|
264
267
|
if(f){
|
265
|
-
f.apply(this,
|
268
|
+
f.apply(this,_3b);
|
266
269
|
}
|
267
270
|
};
|
268
271
|
};
|
269
|
-
function
|
272
|
+
function _3e(_3f,_40){
|
270
273
|
return function(){
|
271
274
|
var a=arguments,t=a,a0=a[0],f;
|
272
275
|
if(!(this instanceof a.callee)){
|
273
|
-
return
|
276
|
+
return _3d(a);
|
274
277
|
}
|
275
|
-
if(
|
278
|
+
if(_40){
|
276
279
|
if(a0){
|
277
280
|
f=a0.preamble;
|
278
281
|
if(f){
|
@@ -284,8 +287,8 @@ if(f){
|
|
284
287
|
f.apply(this,t);
|
285
288
|
}
|
286
289
|
}
|
287
|
-
if(
|
288
|
-
|
290
|
+
if(_3f){
|
291
|
+
_3f.apply(this,a);
|
289
292
|
}
|
290
293
|
f=this.postscript;
|
291
294
|
if(f){
|
@@ -293,13 +296,13 @@ f.apply(this,a);
|
|
293
296
|
}
|
294
297
|
};
|
295
298
|
};
|
296
|
-
function
|
299
|
+
function _41(_42){
|
297
300
|
return function(){
|
298
301
|
var a=arguments,i=0,f,m;
|
299
302
|
if(!(this instanceof a.callee)){
|
300
|
-
return
|
303
|
+
return _3d(a);
|
301
304
|
}
|
302
|
-
for(;f=
|
305
|
+
for(;f=_42[i];++i){
|
303
306
|
m=f._meta;
|
304
307
|
f=m?m.ctor:f;
|
305
308
|
if(f){
|
@@ -313,116 +316,117 @@ f.apply(this,a);
|
|
313
316
|
}
|
314
317
|
};
|
315
318
|
};
|
316
|
-
function
|
319
|
+
function _43(_44,_45,_46){
|
317
320
|
return function(){
|
318
|
-
var b,m,f,i=0,
|
319
|
-
if(
|
320
|
-
i=
|
321
|
-
|
321
|
+
var b,m,f,i=0,_47=1;
|
322
|
+
if(_46){
|
323
|
+
i=_45.length-1;
|
324
|
+
_47=-1;
|
322
325
|
}
|
323
|
-
for(;b=
|
326
|
+
for(;b=_45[i];i+=_47){
|
324
327
|
m=b._meta;
|
325
|
-
f=(m?m.hidden:b.prototype)[
|
328
|
+
f=(m?m.hidden:b.prototype)[_44];
|
326
329
|
if(f){
|
327
330
|
f.apply(this,arguments);
|
328
331
|
}
|
329
332
|
}
|
330
333
|
};
|
331
334
|
};
|
332
|
-
function
|
333
|
-
_6.prototype=
|
335
|
+
function _48(_49){
|
336
|
+
_6.prototype=_49.prototype;
|
334
337
|
var t=new _6;
|
335
338
|
_6.prototype=null;
|
336
339
|
return t;
|
337
340
|
};
|
338
|
-
function
|
339
|
-
var
|
340
|
-
|
341
|
+
function _3d(_4a){
|
342
|
+
var _4b=_4a.callee,t=_48(_4b);
|
343
|
+
_4b.apply(t,_4a);
|
341
344
|
return t;
|
342
345
|
};
|
343
|
-
function _35(
|
344
|
-
if(typeof
|
345
|
-
|
346
|
-
|
347
|
-
|
348
|
-
}
|
349
|
-
|
350
|
-
var
|
351
|
-
if(_5.call(
|
352
|
-
|
353
|
-
t=
|
354
|
-
_52
|
355
|
-
|
346
|
+
function _35(_4c,_4d,_4e){
|
347
|
+
if(typeof _4c!="string"){
|
348
|
+
_4e=_4d;
|
349
|
+
_4d=_4c;
|
350
|
+
_4c="";
|
351
|
+
}
|
352
|
+
_4e=_4e||{};
|
353
|
+
var _4f,i,t,_50,_51,_52,_53,_54=1,_55=_4d;
|
354
|
+
if(_5.call(_4d)=="[object Array]"){
|
355
|
+
_52=_c(_4d,_4c);
|
356
|
+
t=_52[0];
|
357
|
+
_54=_52.length-t;
|
358
|
+
_4d=_52[_54];
|
356
359
|
}else{
|
357
|
-
|
358
|
-
if(
|
359
|
-
if(_5.call(
|
360
|
-
t=
|
361
|
-
|
360
|
+
_52=[0];
|
361
|
+
if(_4d){
|
362
|
+
if(_5.call(_4d)=="[object Function]"){
|
363
|
+
t=_4d._meta;
|
364
|
+
_52=_52.concat(t?t.bases:_4d);
|
362
365
|
}else{
|
363
|
-
_9("base class is not a callable constructor.",
|
366
|
+
_9("base class is not a callable constructor.",_4c);
|
364
367
|
}
|
365
368
|
}else{
|
366
|
-
if(
|
367
|
-
_9("unknown base class. Did you use dojo.require to pull it in?",
|
369
|
+
if(_4d!==null){
|
370
|
+
_9("unknown base class. Did you use dojo.require to pull it in?",_4c);
|
368
371
|
}
|
369
372
|
}
|
370
373
|
}
|
371
|
-
if(
|
372
|
-
for(i=
|
373
|
-
|
374
|
+
if(_4d){
|
375
|
+
for(i=_54-1;;--i){
|
376
|
+
_4f=_48(_4d);
|
374
377
|
if(!i){
|
375
378
|
break;
|
376
379
|
}
|
377
|
-
t=
|
378
|
-
(t._meta?_29:_4)(
|
379
|
-
|
380
|
-
|
381
|
-
|
382
|
-
|
380
|
+
t=_52[i];
|
381
|
+
(t._meta?_29:_4)(_4f,t.prototype);
|
382
|
+
_50=new Function;
|
383
|
+
_50.superclass=_4d;
|
384
|
+
_50.prototype=_4f;
|
385
|
+
_4d=_4f.constructor=_50;
|
383
386
|
}
|
384
387
|
}else{
|
385
|
-
|
388
|
+
_4f={};
|
386
389
|
}
|
387
|
-
_35.safeMixin(
|
388
|
-
t=
|
390
|
+
_35.safeMixin(_4f,_4e);
|
391
|
+
t=_4e.constructor;
|
389
392
|
if(t!==op.constructor){
|
390
393
|
t.nom=_8;
|
391
|
-
|
394
|
+
_4f.constructor=t;
|
392
395
|
}
|
393
|
-
for(i=
|
394
|
-
t=
|
396
|
+
for(i=_54-1;i;--i){
|
397
|
+
t=_52[i]._meta;
|
395
398
|
if(t&&t.chains){
|
396
|
-
|
399
|
+
_53=_4(_53||{},t.chains);
|
397
400
|
}
|
398
401
|
}
|
399
|
-
if(
|
400
|
-
|
402
|
+
if(_4f["-chains-"]){
|
403
|
+
_53=_4(_53||{},_4f["-chains-"]);
|
401
404
|
}
|
402
|
-
t=!
|
403
|
-
|
404
|
-
|
405
|
-
|
406
|
-
|
407
|
-
|
408
|
-
|
409
|
-
|
410
|
-
|
411
|
-
|
412
|
-
|
413
|
-
|
414
|
-
|
415
|
-
|
405
|
+
t=!_53||!_53.hasOwnProperty(_8);
|
406
|
+
_52[0]=_50=(_53&&_53.constructor==="manual")?_41(_52):(_52.length==1?_3e(_4e.constructor,t):_38(_52,t));
|
407
|
+
_50._meta={bases:_52,hidden:_4e,chains:_53,parents:_55,ctor:_4e.constructor};
|
408
|
+
_50.superclass=_4d&&_4d.prototype;
|
409
|
+
_50.extend=_33;
|
410
|
+
_50.createSubclass=_36;
|
411
|
+
_50.prototype=_4f;
|
412
|
+
_4f.constructor=_50;
|
413
|
+
_4f.getInherited=_21;
|
414
|
+
_4f.isInstanceOf=_27;
|
415
|
+
_4f.inherited=_26;
|
416
|
+
_4f.__inherited=_17;
|
417
|
+
if(_4c){
|
418
|
+
_4f.declaredClass=_4c;
|
419
|
+
_3.setObject(_4c,_50);
|
416
420
|
}
|
417
|
-
if(
|
418
|
-
for(
|
419
|
-
if(
|
420
|
-
t=
|
421
|
-
t.nom=
|
421
|
+
if(_53){
|
422
|
+
for(_51 in _53){
|
423
|
+
if(_4f[_51]&&typeof _53[_51]=="string"&&_51!=_8){
|
424
|
+
t=_4f[_51]=_43(_51,_52,_53[_51]==="after");
|
425
|
+
t.nom=_51;
|
422
426
|
}
|
423
427
|
}
|
424
428
|
}
|
425
|
-
return
|
429
|
+
return _50;
|
426
430
|
};
|
427
431
|
_1.safeMixin=_35.safeMixin=_2e;
|
428
432
|
_1.declare=_35;
|
@@ -1,8 +1,6 @@
|
|
1
1
|
define("dojo/_base/declare", ["./kernel", "../has", "./lang"], function(dojo, has, lang){
|
2
2
|
// module:
|
3
3
|
// dojo/_base/declare
|
4
|
-
// summary:
|
5
|
-
// This module defines dojo.declare.
|
6
4
|
|
7
5
|
var mix = lang.mixin, op = Object.prototype, opts = op.toString,
|
8
6
|
xtor = new Function, counter = 0, cname = "constructor";
|
@@ -238,6 +236,63 @@ define("dojo/_base/declare", ["./kernel", "../has", "./lang"], function(dojo, ha
|
|
238
236
|
|
239
237
|
// implementation of safe mixin function
|
240
238
|
function safeMixin(target, source){
|
239
|
+
// summary:
|
240
|
+
// Mix in properties skipping a constructor and decorating functions
|
241
|
+
// like it is done by declare().
|
242
|
+
// target: Object
|
243
|
+
// Target object to accept new properties.
|
244
|
+
// source: Object
|
245
|
+
// Source object for new properties.
|
246
|
+
// description:
|
247
|
+
// This function is used to mix in properties like lang.mixin does,
|
248
|
+
// but it skips a constructor property and decorates functions like
|
249
|
+
// declare() does.
|
250
|
+
//
|
251
|
+
// It is meant to be used with classes and objects produced with
|
252
|
+
// declare. Functions mixed in with dojo.safeMixin can use
|
253
|
+
// this.inherited() like normal methods.
|
254
|
+
//
|
255
|
+
// This function is used to implement extend() method of a constructor
|
256
|
+
// produced with declare().
|
257
|
+
//
|
258
|
+
// example:
|
259
|
+
// | var A = declare(null, {
|
260
|
+
// | m1: function(){
|
261
|
+
// | console.log("A.m1");
|
262
|
+
// | },
|
263
|
+
// | m2: function(){
|
264
|
+
// | console.log("A.m2");
|
265
|
+
// | }
|
266
|
+
// | });
|
267
|
+
// | var B = declare(A, {
|
268
|
+
// | m1: function(){
|
269
|
+
// | this.inherited(arguments);
|
270
|
+
// | console.log("B.m1");
|
271
|
+
// | }
|
272
|
+
// | });
|
273
|
+
// | B.extend({
|
274
|
+
// | m2: function(){
|
275
|
+
// | this.inherited(arguments);
|
276
|
+
// | console.log("B.m2");
|
277
|
+
// | }
|
278
|
+
// | });
|
279
|
+
// | var x = new B();
|
280
|
+
// | dojo.safeMixin(x, {
|
281
|
+
// | m1: function(){
|
282
|
+
// | this.inherited(arguments);
|
283
|
+
// | console.log("X.m1");
|
284
|
+
// | },
|
285
|
+
// | m2: function(){
|
286
|
+
// | this.inherited(arguments);
|
287
|
+
// | console.log("X.m2");
|
288
|
+
// | }
|
289
|
+
// | });
|
290
|
+
// | x.m2();
|
291
|
+
// | // prints:
|
292
|
+
// | // A.m1
|
293
|
+
// | // B.m1
|
294
|
+
// | // X.m1
|
295
|
+
|
241
296
|
var name, t;
|
242
297
|
// add props adding metadata for incoming functions skipping a constructor
|
243
298
|
for(name in source){
|
@@ -271,7 +326,11 @@ define("dojo/_base/declare", ["./kernel", "../has", "./lang"], function(dojo, ha
|
|
271
326
|
return this;
|
272
327
|
}
|
273
328
|
|
274
|
-
|
329
|
+
function createSubclass(mixins){
|
330
|
+
return declare([this].concat(mixins));
|
331
|
+
}
|
332
|
+
|
333
|
+
// chained constructor compatible with the legacy declare()
|
275
334
|
function chainedConstructor(bases, ctorSpecial){
|
276
335
|
return function(){
|
277
336
|
var a = arguments, args = a, a0 = a[0], f, i, m,
|
@@ -283,7 +342,7 @@ define("dojo/_base/declare", ["./kernel", "../has", "./lang"], function(dojo, ha
|
|
283
342
|
}
|
284
343
|
|
285
344
|
//this._inherited = {};
|
286
|
-
// perform the shaman's rituals of the original
|
345
|
+
// perform the shaman's rituals of the original declare()
|
287
346
|
// 1) call two types of the preamble
|
288
347
|
if(ctorSpecial && (a0 && a0.preamble || this.preamble)){
|
289
348
|
// full blown ritual
|
@@ -334,7 +393,7 @@ define("dojo/_base/declare", ["./kernel", "../has", "./lang"], function(dojo, ha
|
|
334
393
|
}
|
335
394
|
|
336
395
|
|
337
|
-
// chained constructor compatible with the legacy
|
396
|
+
// chained constructor compatible with the legacy declare()
|
338
397
|
function singleConstructor(ctor, ctorSpecial){
|
339
398
|
return function(){
|
340
399
|
var a = arguments, t = a, a0 = a[0], f;
|
@@ -345,7 +404,7 @@ define("dojo/_base/declare", ["./kernel", "../has", "./lang"], function(dojo, ha
|
|
345
404
|
}
|
346
405
|
|
347
406
|
//this._inherited = {};
|
348
|
-
// perform the shaman's rituals of the original
|
407
|
+
// perform the shaman's rituals of the original declare()
|
349
408
|
// 1) call two types of the preamble
|
350
409
|
if(ctorSpecial){
|
351
410
|
// full blown ritual
|
@@ -390,7 +449,7 @@ define("dojo/_base/declare", ["./kernel", "../has", "./lang"], function(dojo, ha
|
|
390
449
|
}
|
391
450
|
|
392
451
|
//this._inherited = {};
|
393
|
-
// perform the shaman's rituals of the original
|
452
|
+
// perform the shaman's rituals of the original declare()
|
394
453
|
// 1) do not call the preamble
|
395
454
|
// 2) call the top constructor (it can use this.inherited())
|
396
455
|
for(; f = bases[i]; ++i){ // intentional assignment
|
@@ -451,134 +510,23 @@ define("dojo/_base/declare", ["./kernel", "../has", "./lang"], function(dojo, ha
|
|
451
510
|
}
|
452
511
|
|
453
512
|
function declare(className, superclass, props){
|
454
|
-
//
|
455
|
-
if(typeof className != "string"){
|
456
|
-
props = superclass;
|
457
|
-
superclass = className;
|
458
|
-
className = "";
|
459
|
-
}
|
460
|
-
props = props || {};
|
461
|
-
|
462
|
-
var proto, i, t, ctor, name, bases, chains, mixins = 1, parents = superclass;
|
463
|
-
|
464
|
-
// build a prototype
|
465
|
-
if(opts.call(superclass) == "[object Array]"){
|
466
|
-
// C3 MRO
|
467
|
-
bases = c3mro(superclass, className);
|
468
|
-
t = bases[0];
|
469
|
-
mixins = bases.length - t;
|
470
|
-
superclass = bases[mixins];
|
471
|
-
}else{
|
472
|
-
bases = [0];
|
473
|
-
if(superclass){
|
474
|
-
if(opts.call(superclass) == "[object Function]"){
|
475
|
-
t = superclass._meta;
|
476
|
-
bases = bases.concat(t ? t.bases : superclass);
|
477
|
-
}else{
|
478
|
-
err("base class is not a callable constructor.", className);
|
479
|
-
}
|
480
|
-
}else if(superclass !== null){
|
481
|
-
err("unknown base class. Did you use dojo.require to pull it in?", className);
|
482
|
-
}
|
483
|
-
}
|
484
|
-
if(superclass){
|
485
|
-
for(i = mixins - 1;; --i){
|
486
|
-
proto = forceNew(superclass);
|
487
|
-
if(!i){
|
488
|
-
// stop if nothing to add (the last base)
|
489
|
-
break;
|
490
|
-
}
|
491
|
-
// mix in properties
|
492
|
-
t = bases[i];
|
493
|
-
(t._meta ? mixOwn : mix)(proto, t.prototype);
|
494
|
-
// chain in new constructor
|
495
|
-
ctor = new Function;
|
496
|
-
ctor.superclass = superclass;
|
497
|
-
ctor.prototype = proto;
|
498
|
-
superclass = proto.constructor = ctor;
|
499
|
-
}
|
500
|
-
}else{
|
501
|
-
proto = {};
|
502
|
-
}
|
503
|
-
// add all properties
|
504
|
-
declare.safeMixin(proto, props);
|
505
|
-
// add constructor
|
506
|
-
t = props.constructor;
|
507
|
-
if(t !== op.constructor){
|
508
|
-
t.nom = cname;
|
509
|
-
proto.constructor = t;
|
510
|
-
}
|
511
|
-
|
512
|
-
// collect chains and flags
|
513
|
-
for(i = mixins - 1; i; --i){ // intentional assignment
|
514
|
-
t = bases[i]._meta;
|
515
|
-
if(t && t.chains){
|
516
|
-
chains = mix(chains || {}, t.chains);
|
517
|
-
}
|
518
|
-
}
|
519
|
-
if(proto["-chains-"]){
|
520
|
-
chains = mix(chains || {}, proto["-chains-"]);
|
521
|
-
}
|
522
|
-
|
523
|
-
// build ctor
|
524
|
-
t = !chains || !chains.hasOwnProperty(cname);
|
525
|
-
bases[0] = ctor = (chains && chains.constructor === "manual") ? simpleConstructor(bases) :
|
526
|
-
(bases.length == 1 ? singleConstructor(props.constructor, t) : chainedConstructor(bases, t));
|
527
|
-
|
528
|
-
// add meta information to the constructor
|
529
|
-
ctor._meta = {bases: bases, hidden: props, chains: chains,
|
530
|
-
parents: parents, ctor: props.constructor};
|
531
|
-
ctor.superclass = superclass && superclass.prototype;
|
532
|
-
ctor.extend = extend;
|
533
|
-
ctor.prototype = proto;
|
534
|
-
proto.constructor = ctor;
|
535
|
-
|
536
|
-
// add "standard" methods to the prototype
|
537
|
-
proto.getInherited = getInherited;
|
538
|
-
proto.isInstanceOf = isInstanceOf;
|
539
|
-
proto.inherited = inheritedImpl;
|
540
|
-
proto.__inherited = inherited;
|
541
|
-
|
542
|
-
// add name if specified
|
543
|
-
if(className){
|
544
|
-
proto.declaredClass = className;
|
545
|
-
lang.setObject(className, ctor);
|
546
|
-
}
|
547
|
-
|
548
|
-
// build chains and add them to the prototype
|
549
|
-
if(chains){
|
550
|
-
for(name in chains){
|
551
|
-
if(proto[name] && typeof chains[name] == "string" && name != cname){
|
552
|
-
t = proto[name] = chain(name, bases, chains[name] === "after");
|
553
|
-
t.nom = name;
|
554
|
-
}
|
555
|
-
}
|
556
|
-
}
|
557
|
-
// chained methods do not return values
|
558
|
-
// no need to chain "invisible" functions
|
559
|
-
|
560
|
-
return ctor; // Function
|
561
|
-
}
|
562
|
-
|
563
|
-
/*=====
|
564
|
-
dojo.declare = function(className, superclass, props){
|
565
|
-
// summary:
|
513
|
+
// summary:
|
566
514
|
// Create a feature-rich constructor from compact notation.
|
567
|
-
//
|
515
|
+
// className: String?
|
568
516
|
// The optional name of the constructor (loosely, a "class")
|
569
517
|
// stored in the "declaredClass" property in the created prototype.
|
570
518
|
// It will be used as a global name for a created constructor.
|
571
|
-
//
|
519
|
+
// superclass: Function|Function[]
|
572
520
|
// May be null, a Function, or an Array of Functions. This argument
|
573
521
|
// specifies a list of bases (the left-most one is the most deepest
|
574
522
|
// base).
|
575
|
-
//
|
523
|
+
// props: Object
|
576
524
|
// An object whose properties are copied to the created prototype.
|
577
525
|
// Add an instance-initialization function by making it a property
|
578
526
|
// named "constructor".
|
579
|
-
//
|
527
|
+
// returns: dojo/_base/declare.__DeclareCreatedObject
|
580
528
|
// New constructor function.
|
581
|
-
//
|
529
|
+
// description:
|
582
530
|
// Create a constructor using a compact notation for inheritance and
|
583
531
|
// prototype extension.
|
584
532
|
//
|
@@ -588,7 +536,7 @@ define("dojo/_base/declare", ["./kernel", "../has", "./lang"], function(dojo, ha
|
|
588
536
|
// they have been mixed in.
|
589
537
|
//
|
590
538
|
// Ancestors can be compound classes created by this version of
|
591
|
-
//
|
539
|
+
// declare(). In complex cases all base classes are going to be
|
592
540
|
// linearized according to C3 MRO algorithm
|
593
541
|
// (see http://www.python.org/download/releases/2.3/mro/ for more
|
594
542
|
// details).
|
@@ -605,7 +553,7 @@ define("dojo/_base/declare", ["./kernel", "../has", "./lang"], function(dojo, ha
|
|
605
553
|
// cases.
|
606
554
|
//
|
607
555
|
// It is possible to use constructors created "manually" (without
|
608
|
-
//
|
556
|
+
// declare()) as bases. They will be called as usual during the
|
609
557
|
// creation of an instance, their methods will be chained, and even
|
610
558
|
// called by "this.inherited()".
|
611
559
|
//
|
@@ -645,8 +593,8 @@ define("dojo/_base/declare", ["./kernel", "../has", "./lang"], function(dojo, ha
|
|
645
593
|
// "before". Note that chaining assumes that chained methods do not
|
646
594
|
// return any value: any returned value will be discarded.
|
647
595
|
//
|
648
|
-
//
|
649
|
-
// |
|
596
|
+
// example:
|
597
|
+
// | declare("my.classes.bar", my.classes.foo, {
|
650
598
|
// | // properties to be added to the class prototype
|
651
599
|
// | someValue: 2,
|
652
600
|
// | // initialization function
|
@@ -659,30 +607,30 @@ define("dojo/_base/declare", ["./kernel", "../has", "./lang"], function(dojo, ha
|
|
659
607
|
// | }
|
660
608
|
// | });
|
661
609
|
//
|
662
|
-
//
|
663
|
-
// | var MyBase =
|
610
|
+
// example:
|
611
|
+
// | var MyBase = declare(null, {
|
664
612
|
// | // constructor, properties, and methods go here
|
665
613
|
// | // ...
|
666
614
|
// | });
|
667
|
-
// | var MyClass1 =
|
615
|
+
// | var MyClass1 = declare(MyBase, {
|
668
616
|
// | // constructor, properties, and methods go here
|
669
617
|
// | // ...
|
670
618
|
// | });
|
671
|
-
// | var MyClass2 =
|
619
|
+
// | var MyClass2 = declare(MyBase, {
|
672
620
|
// | // constructor, properties, and methods go here
|
673
621
|
// | // ...
|
674
622
|
// | });
|
675
|
-
// | var MyDiamond =
|
623
|
+
// | var MyDiamond = declare([MyClass1, MyClass2], {
|
676
624
|
// | // constructor, properties, and methods go here
|
677
625
|
// | // ...
|
678
626
|
// | });
|
679
627
|
//
|
680
|
-
//
|
628
|
+
// example:
|
681
629
|
// | var F = function(){ console.log("raw constructor"); };
|
682
630
|
// | F.prototype.method = function(){
|
683
631
|
// | console.log("raw method");
|
684
632
|
// | };
|
685
|
-
// | var A =
|
633
|
+
// | var A = declare(F, {
|
686
634
|
// | constructor: function(){
|
687
635
|
// | console.log("A.constructor");
|
688
636
|
// | },
|
@@ -700,13 +648,13 @@ define("dojo/_base/declare", ["./kernel", "../has", "./lang"], function(dojo, ha
|
|
700
648
|
// | // raw method
|
701
649
|
// | // ...back in A
|
702
650
|
//
|
703
|
-
//
|
704
|
-
// | var A =
|
651
|
+
// example:
|
652
|
+
// | var A = declare(null, {
|
705
653
|
// | "-chains-": {
|
706
654
|
// | destroy: "before"
|
707
655
|
// | }
|
708
656
|
// | });
|
709
|
-
// | var B =
|
657
|
+
// | var B = declare(A, {
|
710
658
|
// | constructor: function(){
|
711
659
|
// | console.log("B.constructor");
|
712
660
|
// | },
|
@@ -714,7 +662,7 @@ define("dojo/_base/declare", ["./kernel", "../has", "./lang"], function(dojo, ha
|
|
714
662
|
// | console.log("B.destroy");
|
715
663
|
// | }
|
716
664
|
// | });
|
717
|
-
// | var C =
|
665
|
+
// | var C = declare(B, {
|
718
666
|
// | constructor: function(){
|
719
667
|
// | console.log("C.constructor");
|
720
668
|
// | },
|
@@ -729,13 +677,13 @@ define("dojo/_base/declare", ["./kernel", "../has", "./lang"], function(dojo, ha
|
|
729
677
|
// | // C.destroy
|
730
678
|
// | // B.destroy
|
731
679
|
//
|
732
|
-
//
|
733
|
-
// | var A =
|
680
|
+
// example:
|
681
|
+
// | var A = declare(null, {
|
734
682
|
// | "-chains-": {
|
735
683
|
// | constructor: "manual"
|
736
684
|
// | }
|
737
685
|
// | });
|
738
|
-
// | var B =
|
686
|
+
// | var B = declare(A, {
|
739
687
|
// | constructor: function(){
|
740
688
|
// | // ...
|
741
689
|
// | // call the base constructor with new parameters
|
@@ -744,8 +692,8 @@ define("dojo/_base/declare", ["./kernel", "../has", "./lang"], function(dojo, ha
|
|
744
692
|
// | }
|
745
693
|
// | });
|
746
694
|
//
|
747
|
-
//
|
748
|
-
// | var A =
|
695
|
+
// example:
|
696
|
+
// | var A = declare(null, {
|
749
697
|
// | "-chains-": {
|
750
698
|
// | m1: "before"
|
751
699
|
// | },
|
@@ -756,7 +704,7 @@ define("dojo/_base/declare", ["./kernel", "../has", "./lang"], function(dojo, ha
|
|
756
704
|
// | console.log("A.m2");
|
757
705
|
// | }
|
758
706
|
// | });
|
759
|
-
// | var B =
|
707
|
+
// | var B = declare(A, {
|
760
708
|
// | "-chains-": {
|
761
709
|
// | m2: "after"
|
762
710
|
// | },
|
@@ -776,273 +724,320 @@ define("dojo/_base/declare", ["./kernel", "../has", "./lang"], function(dojo, ha
|
|
776
724
|
// | // prints:
|
777
725
|
// | // A.m2
|
778
726
|
// | // B.m2
|
779
|
-
return new Function(); // Function
|
780
|
-
};
|
781
|
-
=====*/
|
782
727
|
|
783
|
-
|
784
|
-
|
785
|
-
|
786
|
-
|
787
|
-
|
788
|
-
|
789
|
-
|
790
|
-
// source: Object
|
791
|
-
// Source object for new properties.
|
792
|
-
// description:
|
793
|
-
// This function is used to mix in properties like lang.mixin does,
|
794
|
-
// but it skips a constructor property and decorates functions like
|
795
|
-
// dojo.declare does.
|
796
|
-
//
|
797
|
-
// It is meant to be used with classes and objects produced with
|
798
|
-
// dojo.declare. Functions mixed in with dojo.safeMixin can use
|
799
|
-
// this.inherited() like normal methods.
|
800
|
-
//
|
801
|
-
// This function is used to implement extend() method of a constructor
|
802
|
-
// produced with dojo.declare().
|
803
|
-
//
|
804
|
-
// example:
|
805
|
-
// | var A = dojo.declare(null, {
|
806
|
-
// | m1: function(){
|
807
|
-
// | console.log("A.m1");
|
808
|
-
// | },
|
809
|
-
// | m2: function(){
|
810
|
-
// | console.log("A.m2");
|
811
|
-
// | }
|
812
|
-
// | });
|
813
|
-
// | var B = dojo.declare(A, {
|
814
|
-
// | m1: function(){
|
815
|
-
// | this.inherited(arguments);
|
816
|
-
// | console.log("B.m1");
|
817
|
-
// | }
|
818
|
-
// | });
|
819
|
-
// | B.extend({
|
820
|
-
// | m2: function(){
|
821
|
-
// | this.inherited(arguments);
|
822
|
-
// | console.log("B.m2");
|
823
|
-
// | }
|
824
|
-
// | });
|
825
|
-
// | var x = new B();
|
826
|
-
// | dojo.safeMixin(x, {
|
827
|
-
// | m1: function(){
|
828
|
-
// | this.inherited(arguments);
|
829
|
-
// | console.log("X.m1");
|
830
|
-
// | },
|
831
|
-
// | m2: function(){
|
832
|
-
// | this.inherited(arguments);
|
833
|
-
// | console.log("X.m2");
|
834
|
-
// | }
|
835
|
-
// | });
|
836
|
-
// | x.m2();
|
837
|
-
// | // prints:
|
838
|
-
// | // A.m1
|
839
|
-
// | // B.m1
|
840
|
-
// | // X.m1
|
841
|
-
};
|
842
|
-
=====*/
|
728
|
+
// crack parameters
|
729
|
+
if(typeof className != "string"){
|
730
|
+
props = superclass;
|
731
|
+
superclass = className;
|
732
|
+
className = "";
|
733
|
+
}
|
734
|
+
props = props || {};
|
843
735
|
|
844
|
-
|
845
|
-
Object.inherited = function(name, args, newArgs){
|
846
|
-
// summary:
|
847
|
-
// Calls a super method.
|
848
|
-
// name: String?
|
849
|
-
// The optional method name. Should be the same as the caller's
|
850
|
-
// name. Usually "name" is specified in complex dynamic cases, when
|
851
|
-
// the calling method was dynamically added, undecorated by
|
852
|
-
// dojo.declare, and it cannot be determined.
|
853
|
-
// args: Arguments
|
854
|
-
// The caller supply this argument, which should be the original
|
855
|
-
// "arguments".
|
856
|
-
// newArgs: Object?
|
857
|
-
// If "true", the found function will be returned without
|
858
|
-
// executing it.
|
859
|
-
// If Array, it will be used to call a super method. Otherwise
|
860
|
-
// "args" will be used.
|
861
|
-
// returns:
|
862
|
-
// Whatever is returned by a super method, or a super method itself,
|
863
|
-
// if "true" was specified as newArgs.
|
864
|
-
// description:
|
865
|
-
// This method is used inside method of classes produced with
|
866
|
-
// dojo.declare to call a super method (next in the chain). It is
|
867
|
-
// used for manually controlled chaining. Consider using the regular
|
868
|
-
// chaining, because it is faster. Use "this.inherited()" only in
|
869
|
-
// complex cases.
|
870
|
-
//
|
871
|
-
// This method cannot me called from automatically chained
|
872
|
-
// constructors including the case of a special (legacy)
|
873
|
-
// constructor chaining. It cannot be called from chained methods.
|
874
|
-
//
|
875
|
-
// If "this.inherited()" cannot find the next-in-chain method, it
|
876
|
-
// does nothing and returns "undefined". The last method in chain
|
877
|
-
// can be a default method implemented in Object, which will be
|
878
|
-
// called last.
|
879
|
-
//
|
880
|
-
// If "name" is specified, it is assumed that the method that
|
881
|
-
// received "args" is the parent method for this call. It is looked
|
882
|
-
// up in the chain list and if it is found the next-in-chain method
|
883
|
-
// is called. If it is not found, the first-in-chain method is
|
884
|
-
// called.
|
885
|
-
//
|
886
|
-
// If "name" is not specified, it will be derived from the calling
|
887
|
-
// method (using a methoid property "nom").
|
888
|
-
//
|
889
|
-
// example:
|
890
|
-
// | var B = dojo.declare(A, {
|
891
|
-
// | method1: function(a, b, c){
|
892
|
-
// | this.inherited(arguments);
|
893
|
-
// | },
|
894
|
-
// | method2: function(a, b){
|
895
|
-
// | return this.inherited(arguments, [a + b]);
|
896
|
-
// | }
|
897
|
-
// | });
|
898
|
-
// | // next method is not in the chain list because it is added
|
899
|
-
// | // manually after the class was created.
|
900
|
-
// | B.prototype.method3 = function(){
|
901
|
-
// | console.log("This is a dynamically-added method.");
|
902
|
-
// | this.inherited("method3", arguments);
|
903
|
-
// | };
|
904
|
-
// example:
|
905
|
-
// | var B = dojo.declare(A, {
|
906
|
-
// | method: function(a, b){
|
907
|
-
// | var super = this.inherited(arguments, true);
|
908
|
-
// | // ...
|
909
|
-
// | if(!super){
|
910
|
-
// | console.log("there is no super method");
|
911
|
-
// | return 0;
|
912
|
-
// | }
|
913
|
-
// | return super.apply(this, arguments);
|
914
|
-
// | }
|
915
|
-
// | });
|
916
|
-
return {}; // Object
|
917
|
-
}
|
918
|
-
=====*/
|
736
|
+
var proto, i, t, ctor, name, bases, chains, mixins = 1, parents = superclass;
|
919
737
|
|
920
|
-
|
921
|
-
|
922
|
-
|
923
|
-
|
924
|
-
|
925
|
-
|
926
|
-
|
927
|
-
|
928
|
-
|
929
|
-
|
930
|
-
|
931
|
-
|
932
|
-
|
933
|
-
|
934
|
-
|
935
|
-
|
936
|
-
|
937
|
-
|
938
|
-
|
939
|
-
|
940
|
-
|
941
|
-
|
942
|
-
|
943
|
-
|
944
|
-
|
945
|
-
|
946
|
-
|
947
|
-
|
948
|
-
|
949
|
-
|
950
|
-
|
951
|
-
|
952
|
-
|
953
|
-
|
738
|
+
// build a prototype
|
739
|
+
if(opts.call(superclass) == "[object Array]"){
|
740
|
+
// C3 MRO
|
741
|
+
bases = c3mro(superclass, className);
|
742
|
+
t = bases[0];
|
743
|
+
mixins = bases.length - t;
|
744
|
+
superclass = bases[mixins];
|
745
|
+
}else{
|
746
|
+
bases = [0];
|
747
|
+
if(superclass){
|
748
|
+
if(opts.call(superclass) == "[object Function]"){
|
749
|
+
t = superclass._meta;
|
750
|
+
bases = bases.concat(t ? t.bases : superclass);
|
751
|
+
}else{
|
752
|
+
err("base class is not a callable constructor.", className);
|
753
|
+
}
|
754
|
+
}else if(superclass !== null){
|
755
|
+
err("unknown base class. Did you use dojo.require to pull it in?", className);
|
756
|
+
}
|
757
|
+
}
|
758
|
+
if(superclass){
|
759
|
+
for(i = mixins - 1;; --i){
|
760
|
+
proto = forceNew(superclass);
|
761
|
+
if(!i){
|
762
|
+
// stop if nothing to add (the last base)
|
763
|
+
break;
|
764
|
+
}
|
765
|
+
// mix in properties
|
766
|
+
t = bases[i];
|
767
|
+
(t._meta ? mixOwn : mix)(proto, t.prototype);
|
768
|
+
// chain in new constructor
|
769
|
+
ctor = new Function;
|
770
|
+
ctor.superclass = superclass;
|
771
|
+
ctor.prototype = proto;
|
772
|
+
superclass = proto.constructor = ctor;
|
773
|
+
}
|
774
|
+
}else{
|
775
|
+
proto = {};
|
776
|
+
}
|
777
|
+
// add all properties
|
778
|
+
declare.safeMixin(proto, props);
|
779
|
+
// add constructor
|
780
|
+
t = props.constructor;
|
781
|
+
if(t !== op.constructor){
|
782
|
+
t.nom = cname;
|
783
|
+
proto.constructor = t;
|
784
|
+
}
|
954
785
|
|
955
|
-
|
956
|
-
|
957
|
-
|
958
|
-
|
959
|
-
|
960
|
-
|
961
|
-
|
962
|
-
|
963
|
-
|
964
|
-
|
965
|
-
|
966
|
-
//
|
967
|
-
|
968
|
-
|
969
|
-
|
970
|
-
|
971
|
-
//
|
972
|
-
|
973
|
-
|
974
|
-
|
975
|
-
|
976
|
-
|
977
|
-
|
978
|
-
|
979
|
-
|
980
|
-
//
|
981
|
-
|
982
|
-
|
983
|
-
|
984
|
-
|
985
|
-
|
986
|
-
//
|
987
|
-
|
988
|
-
|
989
|
-
|
990
|
-
|
991
|
-
|
992
|
-
//
|
993
|
-
|
994
|
-
|
995
|
-
|
996
|
-
|
997
|
-
|
998
|
-
|
999
|
-
|
1000
|
-
|
1001
|
-
//
|
1002
|
-
//
|
1003
|
-
|
1004
|
-
//
|
1005
|
-
// | console.log(a.isInstanceOf(D)); // false
|
1006
|
-
// | console.log(b.isInstanceOf(D)); // false
|
1007
|
-
// | console.log(c.isInstanceOf(D)); // false
|
1008
|
-
// | console.log(d.isInstanceOf(D)); // true
|
1009
|
-
return {}; // Object
|
786
|
+
// collect chains and flags
|
787
|
+
for(i = mixins - 1; i; --i){ // intentional assignment
|
788
|
+
t = bases[i]._meta;
|
789
|
+
if(t && t.chains){
|
790
|
+
chains = mix(chains || {}, t.chains);
|
791
|
+
}
|
792
|
+
}
|
793
|
+
if(proto["-chains-"]){
|
794
|
+
chains = mix(chains || {}, proto["-chains-"]);
|
795
|
+
}
|
796
|
+
|
797
|
+
// build ctor
|
798
|
+
t = !chains || !chains.hasOwnProperty(cname);
|
799
|
+
bases[0] = ctor = (chains && chains.constructor === "manual") ? simpleConstructor(bases) :
|
800
|
+
(bases.length == 1 ? singleConstructor(props.constructor, t) : chainedConstructor(bases, t));
|
801
|
+
|
802
|
+
// add meta information to the constructor
|
803
|
+
ctor._meta = {bases: bases, hidden: props, chains: chains,
|
804
|
+
parents: parents, ctor: props.constructor};
|
805
|
+
ctor.superclass = superclass && superclass.prototype;
|
806
|
+
ctor.extend = extend;
|
807
|
+
ctor.createSubclass = createSubclass;
|
808
|
+
ctor.prototype = proto;
|
809
|
+
proto.constructor = ctor;
|
810
|
+
|
811
|
+
// add "standard" methods to the prototype
|
812
|
+
proto.getInherited = getInherited;
|
813
|
+
proto.isInstanceOf = isInstanceOf;
|
814
|
+
proto.inherited = inheritedImpl;
|
815
|
+
proto.__inherited = inherited;
|
816
|
+
|
817
|
+
// add name if specified
|
818
|
+
if(className){
|
819
|
+
proto.declaredClass = className;
|
820
|
+
lang.setObject(className, ctor);
|
821
|
+
}
|
822
|
+
|
823
|
+
// build chains and add them to the prototype
|
824
|
+
if(chains){
|
825
|
+
for(name in chains){
|
826
|
+
if(proto[name] && typeof chains[name] == "string" && name != cname){
|
827
|
+
t = proto[name] = chain(name, bases, chains[name] === "after");
|
828
|
+
t.nom = name;
|
829
|
+
}
|
830
|
+
}
|
831
|
+
}
|
832
|
+
// chained methods do not return values
|
833
|
+
// no need to chain "invisible" functions
|
834
|
+
|
835
|
+
return ctor; // Function
|
1010
836
|
}
|
1011
|
-
=====*/
|
1012
837
|
|
1013
838
|
/*=====
|
1014
|
-
|
1015
|
-
//
|
1016
|
-
//
|
1017
|
-
//
|
1018
|
-
|
1019
|
-
|
1020
|
-
|
1021
|
-
|
1022
|
-
|
1023
|
-
|
1024
|
-
|
1025
|
-
|
1026
|
-
|
1027
|
-
|
1028
|
-
|
1029
|
-
|
1030
|
-
|
1031
|
-
|
1032
|
-
|
1033
|
-
|
1034
|
-
|
1035
|
-
|
1036
|
-
|
1037
|
-
|
1038
|
-
|
1039
|
-
|
1040
|
-
|
1041
|
-
|
1042
|
-
|
839
|
+
declare.__DeclareCreatedObject = {
|
840
|
+
// summary:
|
841
|
+
// dojo/_base/declare() returns a constructor `C`. `new C()` returns an Object with the following
|
842
|
+
// methods, in addition to the methods and properties specified via the arguments passed to declare().
|
843
|
+
|
844
|
+
inherited: function(name, args, newArgs){
|
845
|
+
// summary:
|
846
|
+
// Calls a super method.
|
847
|
+
// name: String?
|
848
|
+
// The optional method name. Should be the same as the caller's
|
849
|
+
// name. Usually "name" is specified in complex dynamic cases, when
|
850
|
+
// the calling method was dynamically added, undecorated by
|
851
|
+
// declare(), and it cannot be determined.
|
852
|
+
// args: Arguments
|
853
|
+
// The caller supply this argument, which should be the original
|
854
|
+
// "arguments".
|
855
|
+
// newArgs: Object?
|
856
|
+
// If "true", the found function will be returned without
|
857
|
+
// executing it.
|
858
|
+
// If Array, it will be used to call a super method. Otherwise
|
859
|
+
// "args" will be used.
|
860
|
+
// returns:
|
861
|
+
// Whatever is returned by a super method, or a super method itself,
|
862
|
+
// if "true" was specified as newArgs.
|
863
|
+
// description:
|
864
|
+
// This method is used inside method of classes produced with
|
865
|
+
// declare() to call a super method (next in the chain). It is
|
866
|
+
// used for manually controlled chaining. Consider using the regular
|
867
|
+
// chaining, because it is faster. Use "this.inherited()" only in
|
868
|
+
// complex cases.
|
869
|
+
//
|
870
|
+
// This method cannot me called from automatically chained
|
871
|
+
// constructors including the case of a special (legacy)
|
872
|
+
// constructor chaining. It cannot be called from chained methods.
|
873
|
+
//
|
874
|
+
// If "this.inherited()" cannot find the next-in-chain method, it
|
875
|
+
// does nothing and returns "undefined". The last method in chain
|
876
|
+
// can be a default method implemented in Object, which will be
|
877
|
+
// called last.
|
878
|
+
//
|
879
|
+
// If "name" is specified, it is assumed that the method that
|
880
|
+
// received "args" is the parent method for this call. It is looked
|
881
|
+
// up in the chain list and if it is found the next-in-chain method
|
882
|
+
// is called. If it is not found, the first-in-chain method is
|
883
|
+
// called.
|
884
|
+
//
|
885
|
+
// If "name" is not specified, it will be derived from the calling
|
886
|
+
// method (using a methoid property "nom").
|
887
|
+
//
|
888
|
+
// example:
|
889
|
+
// | var B = declare(A, {
|
890
|
+
// | method1: function(a, b, c){
|
891
|
+
// | this.inherited(arguments);
|
892
|
+
// | },
|
893
|
+
// | method2: function(a, b){
|
894
|
+
// | return this.inherited(arguments, [a + b]);
|
895
|
+
// | }
|
896
|
+
// | });
|
897
|
+
// | // next method is not in the chain list because it is added
|
898
|
+
// | // manually after the class was created.
|
899
|
+
// | B.prototype.method3 = function(){
|
900
|
+
// | console.log("This is a dynamically-added method.");
|
901
|
+
// | this.inherited("method3", arguments);
|
902
|
+
// | };
|
903
|
+
// example:
|
904
|
+
// | var B = declare(A, {
|
905
|
+
// | method: function(a, b){
|
906
|
+
// | var super = this.inherited(arguments, true);
|
907
|
+
// | // ...
|
908
|
+
// | if(!super){
|
909
|
+
// | console.log("there is no super method");
|
910
|
+
// | return 0;
|
911
|
+
// | }
|
912
|
+
// | return super.apply(this, arguments);
|
913
|
+
// | }
|
914
|
+
// | });
|
915
|
+
return {}; // Object
|
916
|
+
},
|
917
|
+
|
918
|
+
getInherited: function(name, args){
|
919
|
+
// summary:
|
920
|
+
// Returns a super method.
|
921
|
+
// name: String?
|
922
|
+
// The optional method name. Should be the same as the caller's
|
923
|
+
// name. Usually "name" is specified in complex dynamic cases, when
|
924
|
+
// the calling method was dynamically added, undecorated by
|
925
|
+
// declare(), and it cannot be determined.
|
926
|
+
// args: Arguments
|
927
|
+
// The caller supply this argument, which should be the original
|
928
|
+
// "arguments".
|
929
|
+
// returns:
|
930
|
+
// Returns a super method (Function) or "undefined".
|
931
|
+
// description:
|
932
|
+
// This method is a convenience method for "this.inherited()".
|
933
|
+
// It uses the same algorithm but instead of executing a super
|
934
|
+
// method, it returns it, or "undefined" if not found.
|
935
|
+
//
|
936
|
+
// example:
|
937
|
+
// | var B = declare(A, {
|
938
|
+
// | method: function(a, b){
|
939
|
+
// | var super = this.getInherited(arguments);
|
940
|
+
// | // ...
|
941
|
+
// | if(!super){
|
942
|
+
// | console.log("there is no super method");
|
943
|
+
// | return 0;
|
944
|
+
// | }
|
945
|
+
// | return super.apply(this, arguments);
|
946
|
+
// | }
|
947
|
+
// | });
|
948
|
+
return {}; // Object
|
949
|
+
},
|
950
|
+
|
951
|
+
isInstanceOf: function(cls){
|
952
|
+
// summary:
|
953
|
+
// Checks the inheritance chain to see if it is inherited from this
|
954
|
+
// class.
|
955
|
+
// cls: Function
|
956
|
+
// Class constructor.
|
957
|
+
// returns:
|
958
|
+
// "true", if this object is inherited from this class, "false"
|
959
|
+
// otherwise.
|
960
|
+
// description:
|
961
|
+
// This method is used with instances of classes produced with
|
962
|
+
// declare() to determine of they support a certain interface or
|
963
|
+
// not. It models "instanceof" operator.
|
964
|
+
//
|
965
|
+
// example:
|
966
|
+
// | var A = declare(null, {
|
967
|
+
// | // constructor, properties, and methods go here
|
968
|
+
// | // ...
|
969
|
+
// | });
|
970
|
+
// | var B = declare(null, {
|
971
|
+
// | // constructor, properties, and methods go here
|
972
|
+
// | // ...
|
973
|
+
// | });
|
974
|
+
// | var C = declare([A, B], {
|
975
|
+
// | // constructor, properties, and methods go here
|
976
|
+
// | // ...
|
977
|
+
// | });
|
978
|
+
// | var D = declare(A, {
|
979
|
+
// | // constructor, properties, and methods go here
|
980
|
+
// | // ...
|
981
|
+
// | });
|
982
|
+
// |
|
983
|
+
// | var a = new A(), b = new B(), c = new C(), d = new D();
|
984
|
+
// |
|
985
|
+
// | console.log(a.isInstanceOf(A)); // true
|
986
|
+
// | console.log(b.isInstanceOf(A)); // false
|
987
|
+
// | console.log(c.isInstanceOf(A)); // true
|
988
|
+
// | console.log(d.isInstanceOf(A)); // true
|
989
|
+
// |
|
990
|
+
// | console.log(a.isInstanceOf(B)); // false
|
991
|
+
// | console.log(b.isInstanceOf(B)); // true
|
992
|
+
// | console.log(c.isInstanceOf(B)); // true
|
993
|
+
// | console.log(d.isInstanceOf(B)); // false
|
994
|
+
// |
|
995
|
+
// | console.log(a.isInstanceOf(C)); // false
|
996
|
+
// | console.log(b.isInstanceOf(C)); // false
|
997
|
+
// | console.log(c.isInstanceOf(C)); // true
|
998
|
+
// | console.log(d.isInstanceOf(C)); // false
|
999
|
+
// |
|
1000
|
+
// | console.log(a.isInstanceOf(D)); // false
|
1001
|
+
// | console.log(b.isInstanceOf(D)); // false
|
1002
|
+
// | console.log(c.isInstanceOf(D)); // false
|
1003
|
+
// | console.log(d.isInstanceOf(D)); // true
|
1004
|
+
return {}; // Object
|
1005
|
+
},
|
1006
|
+
|
1007
|
+
extend: function(source){
|
1008
|
+
// summary:
|
1009
|
+
// Adds all properties and methods of source to constructor's
|
1010
|
+
// prototype, making them available to all instances created with
|
1011
|
+
// constructor. This method is specific to constructors created with
|
1012
|
+
// declare().
|
1013
|
+
// source: Object
|
1014
|
+
// Source object which properties are going to be copied to the
|
1015
|
+
// constructor's prototype.
|
1016
|
+
// description:
|
1017
|
+
// Adds source properties to the constructor's prototype. It can
|
1018
|
+
// override existing properties.
|
1019
|
+
//
|
1020
|
+
// This method is similar to dojo.extend function, but it is specific
|
1021
|
+
// to constructors produced by declare(). It is implemented
|
1022
|
+
// using dojo.safeMixin, and it skips a constructor property,
|
1023
|
+
// and properly decorates copied functions.
|
1024
|
+
//
|
1025
|
+
// example:
|
1026
|
+
// | var A = declare(null, {
|
1027
|
+
// | m1: function(){},
|
1028
|
+
// | s1: "Popokatepetl"
|
1029
|
+
// | });
|
1030
|
+
// | A.extend({
|
1031
|
+
// | m1: function(){},
|
1032
|
+
// | m2: function(){},
|
1033
|
+
// | f1: true,
|
1034
|
+
// | d1: 42
|
1035
|
+
// | });
|
1036
|
+
}
|
1043
1037
|
};
|
1044
1038
|
=====*/
|
1045
1039
|
|
1040
|
+
// For back-compat, remove for 2.0
|
1046
1041
|
dojo.safeMixin = declare.safeMixin = safeMixin;
|
1047
1042
|
dojo.declare = declare;
|
1048
1043
|
|