dojo-rails 0.9.9 → 0.9.10
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/dojo/rails/version.rb +1 -1
- data/lib/dojo/version.rb +2 -2
- data/vendor/assets/javascripts/dojo.js +1 -1
- data/vendor/assets/javascripts/dojo/AdapterRegistry.js.uncompressed.js +11 -18
- data/vendor/assets/javascripts/dojo/Deferred.js +178 -0
- data/vendor/assets/javascripts/dojo/Deferred.js.uncompressed.js +314 -0
- data/vendor/assets/javascripts/dojo/DeferredList.js.uncompressed.js +4 -6
- data/vendor/assets/javascripts/dojo/Evented.js.uncompressed.js +15 -12
- data/vendor/assets/javascripts/dojo/LICENSE +1 -1
- data/vendor/assets/javascripts/dojo/NodeList-data.js.uncompressed.js +84 -73
- data/vendor/assets/javascripts/dojo/NodeList-dom.js +1 -1
- data/vendor/assets/javascripts/dojo/NodeList-dom.js.uncompressed.js +121 -66
- data/vendor/assets/javascripts/dojo/NodeList-fx.js +28 -27
- data/vendor/assets/javascripts/dojo/NodeList-fx.js.uncompressed.js +46 -47
- data/vendor/assets/javascripts/dojo/NodeList-html.js.uncompressed.js +19 -21
- data/vendor/assets/javascripts/dojo/NodeList-manipulate.js.uncompressed.js +172 -178
- data/vendor/assets/javascripts/dojo/NodeList-traverse.js.uncompressed.js +125 -130
- data/vendor/assets/javascripts/dojo/NodeList.js +10 -0
- data/vendor/assets/javascripts/dojo/NodeList.js.uncompressed.js +6 -0
- data/vendor/assets/javascripts/dojo/OpenAjax.js +13 -15
- data/vendor/assets/javascripts/dojo/Stateful.js +65 -41
- data/vendor/assets/javascripts/dojo/Stateful.js.uncompressed.js +110 -36
- data/vendor/assets/javascripts/dojo/_base/Color.js.uncompressed.js +34 -40
- data/vendor/assets/javascripts/dojo/_base/Deferred.js +84 -84
- data/vendor/assets/javascripts/dojo/_base/Deferred.js.uncompressed.js +57 -74
- data/vendor/assets/javascripts/dojo/_base/NodeList.js +2 -3
- data/vendor/assets/javascripts/dojo/_base/NodeList.js.uncompressed.js +58 -48
- data/vendor/assets/javascripts/dojo/_base/array.js +63 -67
- data/vendor/assets/javascripts/dojo/_base/array.js.uncompressed.js +259 -259
- data/vendor/assets/javascripts/dojo/_base/browser.js.uncompressed.js +10 -3
- data/vendor/assets/javascripts/dojo/_base/config.js.uncompressed.js +85 -72
- data/vendor/assets/javascripts/dojo/_base/configFirefoxExtension.js +15 -13
- data/vendor/assets/javascripts/dojo/_base/configNode.js +5 -5
- data/vendor/assets/javascripts/dojo/_base/configRhino.js +1 -1
- data/vendor/assets/javascripts/dojo/_base/configSpidermonkey.js +5 -9
- data/vendor/assets/javascripts/dojo/_base/connect.js +1 -1
- data/vendor/assets/javascripts/dojo/_base/connect.js.uncompressed.js +177 -203
- data/vendor/assets/javascripts/dojo/_base/declare.js +94 -90
- data/vendor/assets/javascripts/dojo/_base/declare.js.uncompressed.js +397 -402
- data/vendor/assets/javascripts/dojo/_base/event.js +16 -13
- data/vendor/assets/javascripts/dojo/_base/event.js.uncompressed.js +41 -33
- data/vendor/assets/javascripts/dojo/_base/fx.js +187 -183
- data/vendor/assets/javascripts/dojo/_base/fx.js.uncompressed.js +134 -130
- data/vendor/assets/javascripts/dojo/_base/html.js.uncompressed.js +14 -11
- data/vendor/assets/javascripts/dojo/_base/json.js.uncompressed.js +12 -6
- data/vendor/assets/javascripts/dojo/_base/kernel.js +35 -38
- data/vendor/assets/javascripts/dojo/_base/kernel.js.uncompressed.js +59 -62
- data/vendor/assets/javascripts/dojo/_base/lang.js +99 -98
- data/vendor/assets/javascripts/dojo/_base/lang.js.uncompressed.js +435 -537
- data/vendor/assets/javascripts/dojo/_base/loader.js +179 -154
- data/vendor/assets/javascripts/dojo/_base/loader.js.uncompressed.js +252 -194
- data/vendor/assets/javascripts/dojo/_base/query.js +2 -2
- data/vendor/assets/javascripts/dojo/_base/query.js.uncompressed.js +12 -2
- data/vendor/assets/javascripts/dojo/_base/sniff.js +6 -58
- data/vendor/assets/javascripts/dojo/_base/sniff.js.uncompressed.js +60 -151
- data/vendor/assets/javascripts/dojo/_base/unload.js +10 -9
- data/vendor/assets/javascripts/dojo/_base/unload.js.uncompressed.js +44 -43
- data/vendor/assets/javascripts/dojo/_base/url.js.uncompressed.js +1 -3
- data/vendor/assets/javascripts/dojo/_base/window.js +32 -35
- data/vendor/assets/javascripts/dojo/_base/window.js.uncompressed.js +117 -109
- data/vendor/assets/javascripts/dojo/_base/xhr.js +147 -263
- data/vendor/assets/javascripts/dojo/_base/xhr.js.uncompressed.js +253 -378
- data/vendor/assets/javascripts/dojo/_firebug/firebug.js +459 -458
- data/vendor/assets/javascripts/dojo/_firebug/firebug.js.uncompressed.js +39 -31
- data/vendor/assets/javascripts/dojo/aspect.js +71 -63
- data/vendor/assets/javascripts/dojo/aspect.js.uncompressed.js +111 -99
- data/vendor/assets/javascripts/dojo/back.js +11 -10
- data/vendor/assets/javascripts/dojo/back.js.uncompressed.js +59 -59
- data/vendor/assets/javascripts/dojo/behavior.js +49 -47
- data/vendor/assets/javascripts/dojo/behavior.js.uncompressed.js +26 -25
- data/vendor/assets/javascripts/dojo/cache.js +1 -1
- data/vendor/assets/javascripts/dojo/cache.js.uncompressed.js +2 -4
- data/vendor/assets/javascripts/dojo/cldr/monetary.js +13 -12
- data/vendor/assets/javascripts/dojo/cldr/monetary.js.uncompressed.js +15 -10
- data/vendor/assets/javascripts/dojo/cldr/nls/ar/buddhist.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/ar/buddhist.js.uncompressed.js +85 -70
- data/vendor/assets/javascripts/dojo/cldr/nls/ar/currency.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/ar/currency.js.uncompressed.js +6 -6
- data/vendor/assets/javascripts/dojo/cldr/nls/ar/gregorian.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/ar/gregorian.js.uncompressed.js +157 -141
- data/vendor/assets/javascripts/dojo/cldr/nls/ar/hebrew.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/ar/hebrew.js.uncompressed.js +62 -45
- data/vendor/assets/javascripts/dojo/cldr/nls/ar/islamic.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/ar/islamic.js.uncompressed.js +112 -80
- data/vendor/assets/javascripts/dojo/cldr/nls/ar/number.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/ar/number.js.uncompressed.js +11 -10
- data/vendor/assets/javascripts/dojo/cldr/nls/buddhist.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/buddhist.js.uncompressed.js +110 -109
- data/vendor/assets/javascripts/dojo/cldr/nls/ca/currency.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/ca/currency.js.uncompressed.js +6 -6
- data/vendor/assets/javascripts/dojo/cldr/nls/ca/gregorian.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/ca/gregorian.js.uncompressed.js +176 -161
- data/vendor/assets/javascripts/dojo/cldr/nls/ca/number.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/ca/number.js.uncompressed.js +9 -10
- data/vendor/assets/javascripts/dojo/cldr/nls/cs/buddhist.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/cs/buddhist.js.uncompressed.js +170 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/cs/currency.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/cs/currency.js.uncompressed.js +9 -9
- data/vendor/assets/javascripts/dojo/cldr/nls/cs/gregorian.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/cs/gregorian.js.uncompressed.js +166 -139
- data/vendor/assets/javascripts/dojo/cldr/nls/cs/islamic.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/cs/islamic.js.uncompressed.js +99 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/cs/number.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/cs/number.js.uncompressed.js +9 -10
- data/vendor/assets/javascripts/dojo/cldr/nls/currency.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/currency.js.uncompressed.js +5 -4
- data/vendor/assets/javascripts/dojo/cldr/nls/da/buddhist.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/da/buddhist.js.uncompressed.js +91 -89
- data/vendor/assets/javascripts/dojo/cldr/nls/da/currency.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/da/currency.js.uncompressed.js +6 -6
- data/vendor/assets/javascripts/dojo/cldr/nls/da/gregorian.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/da/gregorian.js.uncompressed.js +174 -156
- data/vendor/assets/javascripts/dojo/cldr/nls/da/islamic.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/da/islamic.js.uncompressed.js +60 -56
- data/vendor/assets/javascripts/dojo/cldr/nls/da/number.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/da/number.js.uncompressed.js +9 -10
- data/vendor/assets/javascripts/dojo/cldr/nls/de/buddhist.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/de/buddhist.js.uncompressed.js +92 -80
- data/vendor/assets/javascripts/dojo/cldr/nls/de/currency.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/de/currency.js.uncompressed.js +8 -8
- data/vendor/assets/javascripts/dojo/cldr/nls/de/gregorian.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/de/gregorian.js.uncompressed.js +176 -158
- data/vendor/assets/javascripts/dojo/cldr/nls/de/islamic.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/de/islamic.js.uncompressed.js +63 -143
- data/vendor/assets/javascripts/dojo/cldr/nls/de/number.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/de/number.js.uncompressed.js +9 -10
- data/vendor/assets/javascripts/dojo/cldr/nls/el/buddhist.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/el/buddhist.js.uncompressed.js +144 -70
- data/vendor/assets/javascripts/dojo/cldr/nls/el/currency.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/el/currency.js.uncompressed.js +6 -5
- data/vendor/assets/javascripts/dojo/cldr/nls/el/gregorian.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/el/gregorian.js.uncompressed.js +170 -153
- data/vendor/assets/javascripts/dojo/cldr/nls/el/hebrew.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/el/hebrew.js.uncompressed.js +78 -37
- data/vendor/assets/javascripts/dojo/cldr/nls/el/number.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/el/number.js.uncompressed.js +9 -9
- data/vendor/assets/javascripts/dojo/cldr/nls/en-au/gregorian.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/en-au/gregorian.js.uncompressed.js +15 -8
- data/vendor/assets/javascripts/dojo/cldr/nls/en-ca/gregorian.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/en-ca/gregorian.js.uncompressed.js +12 -10
- data/vendor/assets/javascripts/dojo/cldr/nls/en-gb/buddhist.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/en-gb/buddhist.js.uncompressed.js +69 -64
- data/vendor/assets/javascripts/dojo/cldr/nls/en-gb/gregorian.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/en-gb/gregorian.js.uncompressed.js +16 -12
- data/vendor/assets/javascripts/dojo/cldr/nls/en-gb/islamic.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/en-gb/islamic.js.uncompressed.js +40 -127
- data/vendor/assets/javascripts/dojo/cldr/nls/en/buddhist.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/en/buddhist.js.uncompressed.js +77 -72
- data/vendor/assets/javascripts/dojo/cldr/nls/en/currency.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/en/currency.js.uncompressed.js +7 -7
- data/vendor/assets/javascripts/dojo/cldr/nls/en/gregorian.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/en/gregorian.js.uncompressed.js +154 -140
- data/vendor/assets/javascripts/dojo/cldr/nls/en/islamic.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/en/islamic.js.uncompressed.js +52 -139
- data/vendor/assets/javascripts/dojo/cldr/nls/en/number.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/en/number.js.uncompressed.js +9 -11
- data/vendor/assets/javascripts/dojo/cldr/nls/es/buddhist.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/es/buddhist.js.uncompressed.js +104 -78
- data/vendor/assets/javascripts/dojo/cldr/nls/es/currency.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/es/currency.js.uncompressed.js +8 -7
- data/vendor/assets/javascripts/dojo/cldr/nls/es/gregorian.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/es/gregorian.js.uncompressed.js +177 -156
- data/vendor/assets/javascripts/dojo/cldr/nls/es/islamic.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/es/islamic.js.uncompressed.js +74 -145
- data/vendor/assets/javascripts/dojo/cldr/nls/es/number.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/es/number.js.uncompressed.js +9 -9
- data/vendor/assets/javascripts/dojo/cldr/nls/fi/buddhist.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/fi/buddhist.js.uncompressed.js +150 -102
- data/vendor/assets/javascripts/dojo/cldr/nls/fi/currency.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/fi/currency.js.uncompressed.js +7 -12
- data/vendor/assets/javascripts/dojo/cldr/nls/fi/gregorian.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/fi/gregorian.js.uncompressed.js +163 -144
- data/vendor/assets/javascripts/dojo/cldr/nls/fi/hebrew.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/fi/hebrew.js.uncompressed.js +130 -95
- data/vendor/assets/javascripts/dojo/cldr/nls/fi/islamic.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/fi/islamic.js.uncompressed.js +119 -83
- data/vendor/assets/javascripts/dojo/cldr/nls/fi/number.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/fi/number.js.uncompressed.js +9 -10
- data/vendor/assets/javascripts/dojo/cldr/nls/fr-ch/gregorian.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/fr-ch/gregorian.js.uncompressed.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/fr-ch/number.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/fr-ch/number.js.uncompressed.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/fr/buddhist.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/fr/buddhist.js.uncompressed.js +160 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/fr/currency.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/fr/currency.js.uncompressed.js +11 -12
- data/vendor/assets/javascripts/dojo/cldr/nls/fr/gregorian.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/fr/gregorian.js.uncompressed.js +171 -157
- data/vendor/assets/javascripts/dojo/cldr/nls/fr/hebrew.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/fr/hebrew.js.uncompressed.js +139 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/fr/islamic.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/fr/islamic.js.uncompressed.js +177 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/fr/number.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/fr/number.js.uncompressed.js +9 -10
- data/vendor/assets/javascripts/dojo/cldr/nls/gregorian.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/gregorian.js.uncompressed.js +127 -125
- data/vendor/assets/javascripts/dojo/cldr/nls/he/currency.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/he/currency.js.uncompressed.js +6 -6
- data/vendor/assets/javascripts/dojo/cldr/nls/he/gregorian.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/he/gregorian.js.uncompressed.js +168 -140
- data/vendor/assets/javascripts/dojo/cldr/nls/he/hebrew.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/he/hebrew.js.uncompressed.js +83 -40
- data/vendor/assets/javascripts/dojo/cldr/nls/he/islamic.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/he/islamic.js.uncompressed.js +56 -40
- data/vendor/assets/javascripts/dojo/cldr/nls/he/number.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/he/number.js.uncompressed.js +9 -10
- data/vendor/assets/javascripts/dojo/cldr/nls/hebrew.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/hebrew.js.uncompressed.js +138 -132
- data/vendor/assets/javascripts/dojo/cldr/nls/hu/buddhist.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/hu/buddhist.js.uncompressed.js +209 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/hu/currency.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/hu/currency.js.uncompressed.js +7 -7
- data/vendor/assets/javascripts/dojo/cldr/nls/hu/gregorian.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/hu/gregorian.js.uncompressed.js +161 -138
- data/vendor/assets/javascripts/dojo/cldr/nls/hu/hebrew.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/hu/hebrew.js.uncompressed.js +187 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/hu/islamic.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/hu/islamic.js.uncompressed.js +199 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/hu/number.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/hu/number.js.uncompressed.js +8 -9
- data/vendor/assets/javascripts/dojo/cldr/nls/islamic.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/islamic.js.uncompressed.js +137 -132
- data/vendor/assets/javascripts/dojo/cldr/nls/it/buddhist.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/it/buddhist.js.uncompressed.js +192 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/it/currency.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/it/currency.js.uncompressed.js +6 -6
- data/vendor/assets/javascripts/dojo/cldr/nls/it/gregorian.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/it/gregorian.js.uncompressed.js +161 -146
- data/vendor/assets/javascripts/dojo/cldr/nls/it/islamic.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/it/islamic.js.uncompressed.js +104 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/it/number.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/it/number.js.uncompressed.js +9 -3
- data/vendor/assets/javascripts/dojo/cldr/nls/ja/buddhist.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ja/buddhist.js.uncompressed.js +101 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ja/currency.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/ja/currency.js.uncompressed.js +8 -8
- data/vendor/assets/javascripts/dojo/cldr/nls/ja/gregorian.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/ja/gregorian.js.uncompressed.js +159 -139
- data/vendor/assets/javascripts/dojo/cldr/nls/ja/hebrew.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ja/hebrew.js.uncompressed.js +168 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ja/islamic.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ja/islamic.js.uncompressed.js +128 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ja/number.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/ja/number.js.uncompressed.js +5 -3
- data/vendor/assets/javascripts/dojo/cldr/nls/ko/buddhist.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ko/buddhist.js.uncompressed.js +127 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ko/currency.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/ko/currency.js.uncompressed.js +6 -6
- data/vendor/assets/javascripts/dojo/cldr/nls/ko/gregorian.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/ko/gregorian.js.uncompressed.js +153 -137
- data/vendor/assets/javascripts/dojo/cldr/nls/ko/number.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/ko/number.js.uncompressed.js +9 -10
- data/vendor/assets/javascripts/dojo/cldr/nls/nb/buddhist.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/nb/buddhist.js.uncompressed.js +206 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/nb/currency.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/nb/currency.js.uncompressed.js +6 -14
- data/vendor/assets/javascripts/dojo/cldr/nls/nb/gregorian.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/nb/gregorian.js.uncompressed.js +176 -153
- data/vendor/assets/javascripts/dojo/cldr/nls/nb/islamic.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/nb/islamic.js.uncompressed.js +133 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/nb/number.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/nb/number.js.uncompressed.js +9 -10
- data/vendor/assets/javascripts/dojo/cldr/nls/nl/buddhist.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/nl/buddhist.js.uncompressed.js +133 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/nl/currency.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/nl/currency.js.uncompressed.js +6 -6
- data/vendor/assets/javascripts/dojo/cldr/nls/nl/gregorian.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/nl/gregorian.js.uncompressed.js +180 -162
- data/vendor/assets/javascripts/dojo/cldr/nls/nl/hebrew.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/nl/hebrew.js.uncompressed.js +123 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/nl/islamic.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/nl/islamic.js.uncompressed.js +163 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/nl/number.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/nl/number.js.uncompressed.js +9 -10
- data/vendor/assets/javascripts/dojo/cldr/nls/number.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/number.js.uncompressed.js +17 -19
- data/vendor/assets/javascripts/dojo/cldr/nls/pl/buddhist.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/pl/buddhist.js.uncompressed.js +203 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/pl/currency.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/pl/currency.js.uncompressed.js +6 -6
- data/vendor/assets/javascripts/dojo/cldr/nls/pl/gregorian.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/pl/gregorian.js.uncompressed.js +169 -149
- data/vendor/assets/javascripts/dojo/cldr/nls/pl/hebrew.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/pl/hebrew.js.uncompressed.js +166 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/pl/islamic.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/pl/islamic.js.uncompressed.js +196 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/pl/number.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/pl/number.js.uncompressed.js +9 -10
- data/vendor/assets/javascripts/dojo/cldr/nls/pt-pt/buddhist.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/pt-pt/buddhist.js.uncompressed.js +127 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/pt-pt/currency.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/pt-pt/currency.js.uncompressed.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/pt-pt/gregorian.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/pt-pt/gregorian.js.uncompressed.js +78 -62
- data/vendor/assets/javascripts/dojo/cldr/nls/pt-pt/islamic.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/pt-pt/islamic.js.uncompressed.js +82 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/pt-pt/number.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/pt-pt/number.js.uncompressed.js +3 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/pt/buddhist.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/pt/buddhist.js.uncompressed.js +130 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/pt/currency.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/pt/currency.js.uncompressed.js +6 -6
- data/vendor/assets/javascripts/dojo/cldr/nls/pt/gregorian.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/pt/gregorian.js.uncompressed.js +185 -166
- data/vendor/assets/javascripts/dojo/cldr/nls/pt/hebrew.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/pt/hebrew.js.uncompressed.js +137 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/pt/islamic.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/pt/islamic.js.uncompressed.js +101 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/pt/number.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/pt/number.js.uncompressed.js +9 -10
- data/vendor/assets/javascripts/dojo/cldr/nls/ro/buddhist.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/ro/buddhist.js.uncompressed.js +148 -62
- data/vendor/assets/javascripts/dojo/cldr/nls/ro/currency.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/ro/currency.js.uncompressed.js +6 -5
- data/vendor/assets/javascripts/dojo/cldr/nls/ro/gregorian.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/ro/gregorian.js.uncompressed.js +170 -159
- data/vendor/assets/javascripts/dojo/cldr/nls/ro/hebrew.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ro/hebrew.js.uncompressed.js +169 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ro/islamic.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ro/islamic.js.uncompressed.js +117 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ro/number.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/ro/number.js.uncompressed.js +9 -10
- data/vendor/assets/javascripts/dojo/cldr/nls/ru/buddhist.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ru/buddhist.js.uncompressed.js +203 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ru/currency.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/ru/currency.js.uncompressed.js +7 -6
- data/vendor/assets/javascripts/dojo/cldr/nls/ru/gregorian.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/ru/gregorian.js.uncompressed.js +184 -155
- data/vendor/assets/javascripts/dojo/cldr/nls/ru/hebrew.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ru/hebrew.js.uncompressed.js +169 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ru/islamic.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ru/islamic.js.uncompressed.js +197 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ru/number.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/ru/number.js.uncompressed.js +10 -10
- data/vendor/assets/javascripts/dojo/cldr/nls/sk/currency.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/sk/currency.js.uncompressed.js +7 -7
- data/vendor/assets/javascripts/dojo/cldr/nls/sk/gregorian.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/sk/gregorian.js.uncompressed.js +172 -148
- data/vendor/assets/javascripts/dojo/cldr/nls/sk/number.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/sk/number.js.uncompressed.js +5 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/sl/currency.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/sl/currency.js.uncompressed.js +7 -7
- data/vendor/assets/javascripts/dojo/cldr/nls/sl/gregorian.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/sl/gregorian.js.uncompressed.js +157 -134
- data/vendor/assets/javascripts/dojo/cldr/nls/sl/number.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/sl/number.js.uncompressed.js +9 -10
- data/vendor/assets/javascripts/dojo/cldr/nls/sv/buddhist.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/sv/buddhist.js.uncompressed.js +209 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/sv/currency.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/sv/currency.js.uncompressed.js +7 -9
- data/vendor/assets/javascripts/dojo/cldr/nls/sv/gregorian.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/sv/gregorian.js.uncompressed.js +164 -152
- data/vendor/assets/javascripts/dojo/cldr/nls/sv/hebrew.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/sv/hebrew.js.uncompressed.js +167 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/sv/islamic.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/sv/islamic.js.uncompressed.js +189 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/sv/number.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/sv/number.js.uncompressed.js +9 -10
- data/vendor/assets/javascripts/dojo/cldr/nls/th/buddhist.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/th/buddhist.js.uncompressed.js +91 -65
- data/vendor/assets/javascripts/dojo/cldr/nls/th/currency.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/th/currency.js.uncompressed.js +7 -7
- data/vendor/assets/javascripts/dojo/cldr/nls/th/gregorian.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/th/gregorian.js.uncompressed.js +161 -138
- data/vendor/assets/javascripts/dojo/cldr/nls/th/hebrew.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/th/hebrew.js.uncompressed.js +139 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/th/islamic.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/th/islamic.js.uncompressed.js +134 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/th/number.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/th/number.js.uncompressed.js +9 -10
- data/vendor/assets/javascripts/dojo/cldr/nls/tr/buddhist.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/tr/buddhist.js.uncompressed.js +203 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/tr/currency.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/tr/currency.js.uncompressed.js +8 -8
- data/vendor/assets/javascripts/dojo/cldr/nls/tr/gregorian.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/tr/gregorian.js.uncompressed.js +160 -146
- data/vendor/assets/javascripts/dojo/cldr/nls/tr/hebrew.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/tr/hebrew.js.uncompressed.js +161 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/tr/islamic.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/tr/islamic.js.uncompressed.js +181 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/tr/number.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/tr/number.js.uncompressed.js +9 -10
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-hant/buddhist.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-hant/buddhist.js.uncompressed.js +141 -95
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-hant/currency.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-hant/currency.js.uncompressed.js +7 -6
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-hant/gregorian.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-hant/gregorian.js.uncompressed.js +144 -146
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-hant/hebrew.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-hant/hebrew.js.uncompressed.js +182 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-hant/islamic.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-hant/islamic.js.uncompressed.js +153 -54
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-hant/number.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-hant/number.js.uncompressed.js +2 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-hk/currency.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-hk/currency.js.uncompressed.js +6 -6
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-hk/gregorian.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-hk/gregorian.js.uncompressed.js +34 -37
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-hk/number.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-hk/number.js.uncompressed.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-tw/currency.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-tw/currency.js.uncompressed.js +5 -4
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-tw/gregorian.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-tw/gregorian.js.uncompressed.js +51 -49
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-tw/number.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-tw/number.js.uncompressed.js +7 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/zh/buddhist.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/zh/buddhist.js.uncompressed.js +205 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/zh/currency.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/zh/currency.js.uncompressed.js +6 -6
- data/vendor/assets/javascripts/dojo/cldr/nls/zh/gregorian.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/zh/gregorian.js.uncompressed.js +152 -135
- data/vendor/assets/javascripts/dojo/cldr/nls/zh/hebrew.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/zh/hebrew.js.uncompressed.js +181 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/zh/islamic.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/zh/islamic.js.uncompressed.js +137 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/zh/number.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/zh/number.js.uncompressed.js +4 -3
- data/vendor/assets/javascripts/dojo/cldr/supplemental.js +25 -28
- data/vendor/assets/javascripts/dojo/cldr/supplemental.js.uncompressed.js +46 -39
- data/vendor/assets/javascripts/dojo/colors.js +2 -1
- data/vendor/assets/javascripts/dojo/colors.js.uncompressed.js +22 -22
- data/vendor/assets/javascripts/dojo/cookie.js.uncompressed.js +30 -30
- data/vendor/assets/javascripts/dojo/currency.js +14 -13
- data/vendor/assets/javascripts/dojo/currency.js.uncompressed.js +64 -66
- data/vendor/assets/javascripts/dojo/data/ItemFileReadStore.js +138 -138
- data/vendor/assets/javascripts/dojo/data/ItemFileReadStore.js.uncompressed.js +251 -245
- data/vendor/assets/javascripts/dojo/data/ItemFileWriteStore.js +1 -1
- data/vendor/assets/javascripts/dojo/data/ItemFileWriteStore.js.uncompressed.js +80 -69
- data/vendor/assets/javascripts/dojo/data/ObjectStore.js +176 -169
- data/vendor/assets/javascripts/dojo/data/ObjectStore.js.uncompressed.js +122 -83
- data/vendor/assets/javascripts/dojo/data/api/Identity.js +6 -7
- data/vendor/assets/javascripts/dojo/data/api/Identity.js.uncompressed.js +35 -33
- data/vendor/assets/javascripts/dojo/data/api/Item.js +10 -0
- data/vendor/assets/javascripts/dojo/data/api/Item.js.uncompressed.js +13 -0
- data/vendor/assets/javascripts/dojo/data/api/Notification.js +5 -6
- data/vendor/assets/javascripts/dojo/data/api/Notification.js.uncompressed.js +39 -51
- data/vendor/assets/javascripts/dojo/data/api/Read.js +2 -3
- data/vendor/assets/javascripts/dojo/data/api/Read.js.uncompressed.js +85 -84
- data/vendor/assets/javascripts/dojo/data/api/Request.js +2 -3
- data/vendor/assets/javascripts/dojo/data/api/Request.js.uncompressed.js +10 -13
- data/vendor/assets/javascripts/dojo/data/api/Write.js +9 -10
- data/vendor/assets/javascripts/dojo/data/api/Write.js.uncompressed.js +28 -43
- data/vendor/assets/javascripts/dojo/data/util/filter.js +3 -2
- data/vendor/assets/javascripts/dojo/data/util/filter.js.uncompressed.js +19 -16
- data/vendor/assets/javascripts/dojo/data/util/simpleFetch.js +37 -40
- data/vendor/assets/javascripts/dojo/data/util/simpleFetch.js.uncompressed.js +202 -57
- data/vendor/assets/javascripts/dojo/data/util/sorter.js +3 -2
- data/vendor/assets/javascripts/dojo/data/util/sorter.js.uncompressed.js +16 -16
- data/vendor/assets/javascripts/dojo/date.js +106 -105
- data/vendor/assets/javascripts/dojo/date.js.uncompressed.js +46 -47
- data/vendor/assets/javascripts/dojo/date/locale.js +196 -183
- data/vendor/assets/javascripts/dojo/date/locale.js.uncompressed.js +105 -81
- data/vendor/assets/javascripts/dojo/date/stamp.js +10 -9
- data/vendor/assets/javascripts/dojo/date/stamp.js.uncompressed.js +40 -42
- data/vendor/assets/javascripts/dojo/dnd/AutoSource.js +2 -2
- data/vendor/assets/javascripts/dojo/dnd/AutoSource.js.uncompressed.js +3 -4
- data/vendor/assets/javascripts/dojo/dnd/Avatar.js +32 -30
- data/vendor/assets/javascripts/dojo/dnd/Avatar.js.uncompressed.js +45 -34
- data/vendor/assets/javascripts/dojo/dnd/Container.js +99 -96
- data/vendor/assets/javascripts/dojo/dnd/Container.js.uncompressed.js +123 -99
- data/vendor/assets/javascripts/dojo/dnd/Manager.js +58 -52
- data/vendor/assets/javascripts/dojo/dnd/Manager.js.uncompressed.js +52 -42
- data/vendor/assets/javascripts/dojo/dnd/Moveable.js +41 -39
- data/vendor/assets/javascripts/dojo/dnd/Moveable.js.uncompressed.js +72 -60
- data/vendor/assets/javascripts/dojo/dnd/Mover.js +19 -17
- data/vendor/assets/javascripts/dojo/dnd/Mover.js.uncompressed.js +37 -32
- data/vendor/assets/javascripts/dojo/dnd/Selector.js +52 -50
- data/vendor/assets/javascripts/dojo/dnd/Selector.js.uncompressed.js +51 -46
- data/vendor/assets/javascripts/dojo/dnd/Source.js +109 -106
- data/vendor/assets/javascripts/dojo/dnd/Source.js.uncompressed.js +60 -67
- data/vendor/assets/javascripts/dojo/dnd/Target.js +3 -3
- data/vendor/assets/javascripts/dojo/dnd/Target.js.uncompressed.js +7 -7
- data/vendor/assets/javascripts/dojo/dnd/TimedMoveable.js +19 -20
- data/vendor/assets/javascripts/dojo/dnd/TimedMoveable.js.uncompressed.js +9 -14
- data/vendor/assets/javascripts/dojo/dnd/autoscroll.js +48 -39
- data/vendor/assets/javascripts/dojo/dnd/autoscroll.js.uncompressed.js +77 -46
- data/vendor/assets/javascripts/dojo/dnd/common.js +11 -10
- data/vendor/assets/javascripts/dojo/dnd/common.js.uncompressed.js +19 -13
- data/vendor/assets/javascripts/dojo/dnd/move.js +31 -34
- data/vendor/assets/javascripts/dojo/dnd/move.js.uncompressed.js +31 -27
- data/vendor/assets/javascripts/dojo/dojo.js +12 -1869
- data/vendor/assets/javascripts/dojo/dojo.js.uncompressed.js +7168 -5874
- data/vendor/assets/javascripts/dojo/dojo.profile.js +6 -6
- data/vendor/assets/javascripts/dojo/dom-attr.js +30 -31
- data/vendor/assets/javascripts/dojo/dom-attr.js.uncompressed.js +71 -89
- data/vendor/assets/javascripts/dojo/dom-class.js.uncompressed.js +161 -155
- data/vendor/assets/javascripts/dojo/dom-construct.js +1 -1
- data/vendor/assets/javascripts/dojo/dom-construct.js.uncompressed.js +159 -202
- data/vendor/assets/javascripts/dojo/dom-form.js.uncompressed.js +60 -77
- data/vendor/assets/javascripts/dojo/dom-geometry.js +43 -45
- data/vendor/assets/javascripts/dojo/dom-geometry.js.uncompressed.js +257 -403
- data/vendor/assets/javascripts/dojo/dom-prop.js +36 -37
- data/vendor/assets/javascripts/dojo/dom-prop.js.uncompressed.js +33 -42
- data/vendor/assets/javascripts/dojo/dom-style.js +2 -2
- data/vendor/assets/javascripts/dojo/dom-style.js.uncompressed.js +127 -142
- data/vendor/assets/javascripts/dojo/dom.js +3 -1
- data/vendor/assets/javascripts/dojo/dom.js.uncompressed.js +77 -85
- data/vendor/assets/javascripts/dojo/domReady.js +2 -2
- data/vendor/assets/javascripts/dojo/domReady.js.uncompressed.js +4 -2
- data/vendor/assets/javascripts/dojo/errors/CancelError.js +10 -0
- data/vendor/assets/javascripts/dojo/errors/CancelError.js.uncompressed.js +13 -0
- data/vendor/assets/javascripts/dojo/errors/RequestError.js +12 -0
- data/vendor/assets/javascripts/dojo/errors/RequestError.js.uncompressed.js +15 -0
- data/vendor/assets/javascripts/dojo/errors/RequestTimeoutError.js +10 -0
- data/vendor/assets/javascripts/dojo/errors/RequestTimeoutError.js.uncompressed.js +15 -0
- data/vendor/assets/javascripts/dojo/errors/create.js +36 -0
- data/vendor/assets/javascripts/dojo/errors/create.js.uncompressed.js +41 -0
- data/vendor/assets/javascripts/dojo/fx.js.uncompressed.js +27 -34
- data/vendor/assets/javascripts/dojo/fx/Toggler.js.uncompressed.js +9 -11
- data/vendor/assets/javascripts/dojo/fx/easing.js.uncompressed.js +7 -15
- data/vendor/assets/javascripts/dojo/gears.js +10 -9
- data/vendor/assets/javascripts/dojo/gears.js.uncompressed.js +18 -14
- data/vendor/assets/javascripts/dojo/has.js +35 -35
- data/vendor/assets/javascripts/dojo/has.js.uncompressed.js +55 -60
- data/vendor/assets/javascripts/dojo/hash.js +74 -74
- data/vendor/assets/javascripts/dojo/hash.js.uncompressed.js +62 -49
- data/vendor/assets/javascripts/dojo/hccss.js +23 -0
- data/vendor/assets/javascripts/dojo/hccss.js.uncompressed.js +51 -0
- data/vendor/assets/javascripts/dojo/html.js +81 -64
- data/vendor/assets/javascripts/dojo/html.js.uncompressed.js +107 -76
- data/vendor/assets/javascripts/dojo/i18n.js +155 -139
- data/vendor/assets/javascripts/dojo/i18n.js.uncompressed.js +234 -198
- data/vendor/assets/javascripts/dojo/io-query.js +28 -30
- data/vendor/assets/javascripts/dojo/io-query.js.uncompressed.js +14 -15
- data/vendor/assets/javascripts/dojo/io/iframe.js +49 -207
- data/vendor/assets/javascripts/dojo/io/iframe.js.uncompressed.js +127 -313
- data/vendor/assets/javascripts/dojo/io/script.js +60 -84
- data/vendor/assets/javascripts/dojo/io/script.js.uncompressed.js +121 -128
- data/vendor/assets/javascripts/dojo/jaxer.js +2 -1
- data/vendor/assets/javascripts/dojo/jaxer.js.uncompressed.js +2 -4
- data/vendor/assets/javascripts/dojo/json.js +2 -0
- data/vendor/assets/javascripts/dojo/json.js.uncompressed.js +38 -35
- data/vendor/assets/javascripts/dojo/keys.js +2 -2
- data/vendor/assets/javascripts/dojo/keys.js.uncompressed.js +73 -76
- data/vendor/assets/javascripts/dojo/main.js +10 -10
- data/vendor/assets/javascripts/dojo/main.js.uncompressed.js +13 -11
- data/vendor/assets/javascripts/dojo/mouse.js +25 -4
- data/vendor/assets/javascripts/dojo/mouse.js.uncompressed.js +78 -34
- data/vendor/assets/javascripts/dojo/nls/az/colors.js.uncompressed.js +2 -4
- data/vendor/assets/javascripts/dojo/nls/colors.js.uncompressed.js +1 -1
- data/vendor/assets/javascripts/dojo/nls/he/colors.js.uncompressed.js +2 -5
- data/vendor/assets/javascripts/dojo/nls/hr/colors.js +1 -1
- data/vendor/assets/javascripts/dojo/nls/hr/colors.js.uncompressed.js +149 -149
- data/vendor/assets/javascripts/dojo/nls/sl/colors.js +1 -1
- data/vendor/assets/javascripts/dojo/nls/sl/colors.js.uncompressed.js +7 -7
- data/vendor/assets/javascripts/dojo/node.js +18 -0
- data/vendor/assets/javascripts/dojo/node.js.uncompressed.js +27 -0
- data/vendor/assets/javascripts/dojo/number.js +38 -37
- data/vendor/assets/javascripts/dojo/number.js.uncompressed.js +94 -122
- data/vendor/assets/javascripts/dojo/on.js +146 -116
- data/vendor/assets/javascripts/dojo/on.js.uncompressed.js +135 -92
- data/vendor/assets/javascripts/dojo/package.json +1 -1
- data/vendor/assets/javascripts/dojo/parser.js +325 -200
- data/vendor/assets/javascripts/dojo/parser.js.uncompressed.js +677 -406
- data/vendor/assets/javascripts/dojo/promise/Promise.js +37 -0
- data/vendor/assets/javascripts/dojo/promise/Promise.js.uncompressed.js +133 -0
- data/vendor/assets/javascripts/dojo/promise/all.js +60 -0
- data/vendor/assets/javascripts/dojo/promise/all.js.uncompressed.js +76 -0
- data/vendor/assets/javascripts/dojo/promise/first.js +34 -0
- data/vendor/assets/javascripts/dojo/promise/first.js.uncompressed.js +49 -0
- data/vendor/assets/javascripts/dojo/promise/instrumentation.js +86 -0
- data/vendor/assets/javascripts/dojo/promise/instrumentation.js.uncompressed.js +103 -0
- data/vendor/assets/javascripts/dojo/promise/tracer.js +37 -0
- data/vendor/assets/javascripts/dojo/promise/tracer.js.uncompressed.js +85 -0
- data/vendor/assets/javascripts/dojo/query.js +8 -8
- data/vendor/assets/javascripts/dojo/query.js.uncompressed.js +206 -214
- data/vendor/assets/javascripts/dojo/ready.js +1 -7
- data/vendor/assets/javascripts/dojo/ready.js.uncompressed.js +31 -33
- data/vendor/assets/javascripts/dojo/regexp.js +14 -13
- data/vendor/assets/javascripts/dojo/regexp.js.uncompressed.js +15 -18
- data/vendor/assets/javascripts/dojo/request.js +10 -0
- data/vendor/assets/javascripts/dojo/request.js.uncompressed.js +75 -0
- data/vendor/assets/javascripts/dojo/request/default.js +28 -0
- data/vendor/assets/javascripts/dojo/request/default.js.uncompressed.js +32 -0
- data/vendor/assets/javascripts/dojo/request/handlers.js +47 -0
- data/vendor/assets/javascripts/dojo/request/handlers.js.uncompressed.js +62 -0
- data/vendor/assets/javascripts/dojo/request/iframe.js +290 -0
- data/vendor/assets/javascripts/dojo/request/iframe.js.uncompressed.js +429 -0
- data/vendor/assets/javascripts/dojo/request/node.js +81 -0
- data/vendor/assets/javascripts/dojo/request/node.js.uncompressed.js +188 -0
- data/vendor/assets/javascripts/dojo/request/notify.js +38 -0
- data/vendor/assets/javascripts/dojo/request/notify.js.uncompressed.js +73 -0
- data/vendor/assets/javascripts/dojo/request/registry.js +68 -0
- data/vendor/assets/javascripts/dojo/request/registry.js.uncompressed.js +85 -0
- data/vendor/assets/javascripts/dojo/request/script.js +111 -0
- data/vendor/assets/javascripts/dojo/request/script.js.uncompressed.js +211 -0
- data/vendor/assets/javascripts/dojo/request/util.js +113 -0
- data/vendor/assets/javascripts/dojo/request/util.js.uncompressed.js +145 -0
- data/vendor/assets/javascripts/dojo/request/watch.js +73 -0
- data/vendor/assets/javascripts/dojo/request/watch.js.uncompressed.js +109 -0
- data/vendor/assets/javascripts/dojo/request/xhr.js +184 -0
- data/vendor/assets/javascripts/dojo/request/xhr.js.uncompressed.js +317 -0
- data/vendor/assets/javascripts/dojo/resources/dnd.css +3 -3
- data/vendor/assets/javascripts/dojo/router.js +10 -0
- data/vendor/assets/javascripts/dojo/router.js.uncompressed.js +28 -0
- data/vendor/assets/javascripts/dojo/router/RouterBase.js +160 -0
- data/vendor/assets/javascripts/dojo/router/RouterBase.js.uncompressed.js +350 -0
- data/vendor/assets/javascripts/dojo/rpc/JsonService.js +20 -21
- data/vendor/assets/javascripts/dojo/rpc/JsonService.js.uncompressed.js +29 -27
- data/vendor/assets/javascripts/dojo/rpc/JsonpService.js +14 -15
- data/vendor/assets/javascripts/dojo/rpc/JsonpService.js.uncompressed.js +28 -29
- data/vendor/assets/javascripts/dojo/rpc/RpcService.js +50 -51
- data/vendor/assets/javascripts/dojo/rpc/RpcService.js.uncompressed.js +39 -36
- data/vendor/assets/javascripts/dojo/selector/_loader.js.uncompressed.js +4 -2
- data/vendor/assets/javascripts/dojo/selector/acme.js +442 -408
- data/vendor/assets/javascripts/dojo/selector/acme.js.uncompressed.js +160 -147
- data/vendor/assets/javascripts/dojo/selector/lite.js +136 -127
- data/vendor/assets/javascripts/dojo/selector/lite.js.uncompressed.js +62 -43
- data/vendor/assets/javascripts/dojo/sniff.js +41 -0
- data/vendor/assets/javascripts/dojo/sniff.js.uncompressed.js +70 -0
- data/vendor/assets/javascripts/dojo/store/Cache.js +7 -6
- data/vendor/assets/javascripts/dojo/store/Cache.js.uncompressed.js +48 -51
- data/vendor/assets/javascripts/dojo/store/DataStore.js +88 -65
- data/vendor/assets/javascripts/dojo/store/DataStore.js.uncompressed.js +48 -16
- data/vendor/assets/javascripts/dojo/store/JsonRest.js +44 -40
- data/vendor/assets/javascripts/dojo/store/JsonRest.js.uncompressed.js +74 -40
- data/vendor/assets/javascripts/dojo/store/Memory.js +30 -29
- data/vendor/assets/javascripts/dojo/store/Memory.js.uncompressed.js +40 -37
- data/vendor/assets/javascripts/dojo/store/Observable.js +90 -79
- data/vendor/assets/javascripts/dojo/store/Observable.js.uncompressed.js +35 -23
- data/vendor/assets/javascripts/dojo/store/README +5 -9
- data/vendor/assets/javascripts/dojo/store/api/Store.js +12 -24
- data/vendor/assets/javascripts/dojo/store/api/Store.js.uncompressed.js +31 -41
- data/vendor/assets/javascripts/dojo/store/util/QueryResults.js +4 -4
- data/vendor/assets/javascripts/dojo/store/util/QueryResults.js.uncompressed.js +13 -14
- data/vendor/assets/javascripts/dojo/store/util/SimpleQueryEngine.js +11 -10
- data/vendor/assets/javascripts/dojo/store/util/SimpleQueryEngine.js.uncompressed.js +18 -16
- data/vendor/assets/javascripts/dojo/string.js +23 -22
- data/vendor/assets/javascripts/dojo/string.js.uncompressed.js +38 -38
- data/vendor/assets/javascripts/dojo/text.js +50 -50
- data/vendor/assets/javascripts/dojo/text.js.uncompressed.js +129 -127
- data/vendor/assets/javascripts/dojo/topic.js.uncompressed.js +17 -12
- data/vendor/assets/javascripts/dojo/touch.js +35 -7
- data/vendor/assets/javascripts/dojo/touch.js.uncompressed.js +146 -34
- data/vendor/assets/javascripts/dojo/uacss.js +1 -1
- data/vendor/assets/javascripts/dojo/uacss.js.uncompressed.js +19 -10
- data/vendor/assets/javascripts/dojo/when.js +31 -0
- data/vendor/assets/javascripts/dojo/when.js.uncompressed.js +55 -0
- data/vendor/assets/javascripts/dojo/window.js +26 -27
- data/vendor/assets/javascripts/dojo/window.js.uncompressed.js +160 -161
- metadata +152 -6
- data/Gemfile +0 -4
- data/LICENSE +0 -22
- data/Rakefile +0 -3
- data/vendor/assets/javascripts/dojo/resources/_modules.js +0 -36
@@ -5,7 +5,7 @@
|
|
5
5
|
*/
|
6
6
|
|
7
7
|
//>>built
|
8
|
-
define("dojo/dom-geometry",["./
|
8
|
+
define("dojo/dom-geometry",["./sniff","./_base/window","./dom","./dom-style"],function(_1,_2,_3,_4){
|
9
9
|
var _5={};
|
10
10
|
_5.boxModel="content-box";
|
11
11
|
if(_1("ie")){
|
@@ -30,9 +30,6 @@ return {l:p.l+b.l,t:p.t+b.t,r:p.r+b.r,b:p.b+b.b,w:p.w+b.w,h:p.h+b.h};
|
|
30
30
|
_5.getMarginExtents=function getMarginExtents(_d,_e){
|
31
31
|
_d=_3.byId(_d);
|
32
32
|
var s=_e||_4.getComputedStyle(_d),px=_4.toPixelValue,l=px(_d,s.marginLeft),t=px(_d,s.marginTop),r=px(_d,s.marginRight),b=px(_d,s.marginBottom);
|
33
|
-
if(_1("webkit")&&(s.position!="absolute")){
|
34
|
-
r=l;
|
35
|
-
}
|
36
33
|
return {l:l,t:t,r:r,b:b,w:l+r,h:t+b};
|
37
34
|
};
|
38
35
|
_5.getMarginBox=function getMarginBox(_f,_10){
|
@@ -41,7 +38,8 @@ var s=_10||_4.getComputedStyle(_f),me=_5.getMarginExtents(_f,s),l=_f.offsetLeft-
|
|
41
38
|
if(_1("mozilla")){
|
42
39
|
var sl=parseFloat(s.left),st=parseFloat(s.top);
|
43
40
|
if(!isNaN(sl)&&!isNaN(st)){
|
44
|
-
l=sl
|
41
|
+
l=sl;
|
42
|
+
t=st;
|
45
43
|
}else{
|
46
44
|
if(p&&p.style){
|
47
45
|
pcs=_4.getComputedStyle(p);
|
@@ -137,15 +135,19 @@ h=Math.max(h-pb.h-mb.h,0);
|
|
137
135
|
}
|
138
136
|
_13(_1c,box.l,box.t,w,h);
|
139
137
|
};
|
140
|
-
_5.isBodyLtr=function isBodyLtr(){
|
141
|
-
|
138
|
+
_5.isBodyLtr=function isBodyLtr(doc){
|
139
|
+
doc=doc||_2.doc;
|
140
|
+
return (_2.body(doc).dir||doc.documentElement.dir||"ltr").toLowerCase()=="ltr";
|
142
141
|
};
|
143
|
-
_5.docScroll=function docScroll(){
|
142
|
+
_5.docScroll=function docScroll(doc){
|
143
|
+
doc=doc||_2.doc;
|
144
144
|
var _1e=_2.doc.parentWindow||_2.doc.defaultView;
|
145
|
-
return "pageXOffset" in _1e?{x:_1e.pageXOffset,y:_1e.pageYOffset}:(_1e=_1("quirks")?_2.body():
|
145
|
+
return "pageXOffset" in _1e?{x:_1e.pageXOffset,y:_1e.pageYOffset}:(_1e=_1("quirks")?_2.body(doc):doc.documentElement)&&{x:_5.fixIeBiDiScrollLeft(_1e.scrollLeft||0,doc),y:_1e.scrollTop||0};
|
146
146
|
};
|
147
|
-
|
148
|
-
|
147
|
+
if(_1("ie")){
|
148
|
+
_5.getIeDocumentElementOffset=function getIeDocumentElementOffset(doc){
|
149
|
+
doc=doc||_2.doc;
|
150
|
+
var de=doc.documentElement;
|
149
151
|
if(_1("ie")<8){
|
150
152
|
var r=de.getBoundingClientRect(),l=r.left,t=r.top;
|
151
153
|
if(_1("ie")<7){
|
@@ -157,57 +159,53 @@ return {x:l<0?0:l,y:t<0?0:t};
|
|
157
159
|
return {x:0,y:0};
|
158
160
|
}
|
159
161
|
};
|
160
|
-
|
162
|
+
}
|
163
|
+
_5.fixIeBiDiScrollLeft=function fixIeBiDiScrollLeft(_1f,doc){
|
164
|
+
doc=doc||_2.doc;
|
161
165
|
var ie=_1("ie");
|
162
|
-
if(ie&&!_5.isBodyLtr()){
|
163
|
-
var qk=_1("quirks"),de=qk?_2.body():
|
164
|
-
if(ie==6&&!qk&&
|
166
|
+
if(ie&&!_5.isBodyLtr(doc)){
|
167
|
+
var qk=_1("quirks"),de=qk?_2.body(doc):doc.documentElement,_20=_2.global;
|
168
|
+
if(ie==6&&!qk&&_20.frameElement&&de.scrollHeight>de.clientHeight){
|
165
169
|
_1f+=de.clientLeft;
|
166
170
|
}
|
167
171
|
return (ie<8||qk)?(_1f+de.clientWidth-de.scrollWidth):-_1f;
|
168
172
|
}
|
169
173
|
return _1f;
|
170
174
|
};
|
171
|
-
_5.position=function(
|
172
|
-
|
173
|
-
var db=_2.body(),
|
175
|
+
_5.position=function(_21,_22){
|
176
|
+
_21=_3.byId(_21);
|
177
|
+
var db=_2.body(_21.ownerDocument),ret=_21.getBoundingClientRect();
|
174
178
|
ret={x:ret.left,y:ret.top,w:ret.right-ret.left,h:ret.bottom-ret.top};
|
175
179
|
if(_1("ie")){
|
176
|
-
var
|
177
|
-
ret.x-=
|
178
|
-
ret.y-=
|
179
|
-
}else{
|
180
|
-
if(_1("ff")==3){
|
181
|
-
var cs=_4.getComputedStyle(dh),px=_4.toPixelValue;
|
182
|
-
ret.x-=px(dh,cs.marginLeft)+px(dh,cs.borderLeftWidth);
|
183
|
-
ret.y-=px(dh,cs.marginTop)+px(dh,cs.borderTopWidth);
|
184
|
-
}
|
180
|
+
var _23=_5.getIeDocumentElementOffset(_21.ownerDocument);
|
181
|
+
ret.x-=_23.x+(_1("quirks")?db.clientLeft+db.offsetLeft:0);
|
182
|
+
ret.y-=_23.y+(_1("quirks")?db.clientTop+db.offsetTop:0);
|
185
183
|
}
|
186
|
-
if(
|
187
|
-
var
|
188
|
-
ret.x+=
|
189
|
-
ret.y+=
|
184
|
+
if(_22){
|
185
|
+
var _24=_5.docScroll(_21.ownerDocument);
|
186
|
+
ret.x+=_24.x;
|
187
|
+
ret.y+=_24.y;
|
190
188
|
}
|
191
189
|
return ret;
|
192
190
|
};
|
193
|
-
_5.getMarginSize=function getMarginSize(
|
194
|
-
|
195
|
-
var me=_5.getMarginExtents(
|
196
|
-
var
|
197
|
-
return {w:(
|
191
|
+
_5.getMarginSize=function getMarginSize(_25,_26){
|
192
|
+
_25=_3.byId(_25);
|
193
|
+
var me=_5.getMarginExtents(_25,_26||_4.getComputedStyle(_25));
|
194
|
+
var _27=_25.getBoundingClientRect();
|
195
|
+
return {w:(_27.right-_27.left)+me.w,h:(_27.bottom-_27.top)+me.h};
|
198
196
|
};
|
199
|
-
_5.normalizeEvent=function(
|
200
|
-
if(!("layerX" in
|
201
|
-
|
202
|
-
|
197
|
+
_5.normalizeEvent=function(_28){
|
198
|
+
if(!("layerX" in _28)){
|
199
|
+
_28.layerX=_28.offsetX;
|
200
|
+
_28.layerY=_28.offsetY;
|
203
201
|
}
|
204
202
|
if(!_1("dom-addeventlistener")){
|
205
|
-
var se=
|
203
|
+
var se=_28.target;
|
206
204
|
var doc=(se&&se.ownerDocument)||document;
|
207
|
-
var
|
208
|
-
var
|
209
|
-
|
210
|
-
|
205
|
+
var _29=_1("quirks")?doc.body:doc.documentElement;
|
206
|
+
var _2a=_5.getIeDocumentElementOffset(doc);
|
207
|
+
_28.pageX=_28.clientX+_5.fixIeBiDiScrollLeft(_29.scrollLeft||0,doc)-_2a.x;
|
208
|
+
_28.pageY=_28.clientY+(_29.scrollTop||0)-_2a.y;
|
211
209
|
}
|
212
210
|
};
|
213
211
|
return _5;
|
@@ -1,11 +1,13 @@
|
|
1
|
-
define("dojo/dom-geometry", ["./
|
1
|
+
define("dojo/dom-geometry", ["./sniff", "./_base/window","./dom", "./dom-style"],
|
2
2
|
function(has, win, dom, style){
|
3
3
|
// module:
|
4
4
|
// dojo/dom-geometry
|
5
|
-
// summary:
|
6
|
-
// This module defines the core dojo DOM geometry API.
|
7
5
|
|
8
|
-
|
6
|
+
// the result object
|
7
|
+
var geom = {
|
8
|
+
// summary:
|
9
|
+
// This module defines the core dojo DOM geometry API.
|
10
|
+
};
|
9
11
|
|
10
12
|
// Box functions will assume this model.
|
11
13
|
// On IE/Opera, BORDER_BOX will be set if the primary document is in quirks mode.
|
@@ -25,17 +27,12 @@ define("dojo/dom-geometry", ["./_base/sniff", "./_base/window","./dom", "./dom-s
|
|
25
27
|
// IIRC, earlier versions of Opera did in fact use border-box.
|
26
28
|
// Opera guys, this is really confusing. Opera being broken in quirks mode is not our fault.
|
27
29
|
|
28
|
-
|
30
|
+
if(has("ie") /*|| has("opera")*/){
|
29
31
|
// client code may have to adjust if compatMode varies across iframes
|
30
32
|
geom.boxModel = document.compatMode == "BackCompat" ? "border-box" : "content-box";
|
31
33
|
}
|
32
|
-
|
33
|
-
// =============================
|
34
|
-
// Box Functions
|
35
|
-
// =============================
|
36
34
|
|
37
|
-
|
38
|
-
dojo.getPadExtents = function(node, computedStyle){
|
35
|
+
geom.getPadExtents = function getPadExtents(/*DomNode*/ node, /*Object*/ computedStyle){
|
39
36
|
// summary:
|
40
37
|
// Returns object with special values specifically useful for node
|
41
38
|
// fitting.
|
@@ -50,348 +47,72 @@ define("dojo/dom-geometry", ["./_base/sniff", "./_base/window","./dom", "./dom-s
|
|
50
47
|
// directly, and will use the ...box... functions instead.
|
51
48
|
// node: DOMNode
|
52
49
|
// computedStyle: Object?
|
53
|
-
//
|
54
|
-
//
|
55
|
-
// dojo.getComputedStyle to get one. It is a better way, calling
|
56
|
-
// dojo.computedStyle once, and then pass the reference to this
|
57
|
-
// computedStyle parameter. Wherever possible, reuse the returned
|
58
|
-
// object of dojo.getComputedStyle.
|
59
|
-
|
50
|
+
// This parameter accepts computed styles object.
|
51
|
+
// If this parameter is omitted, the functions will call
|
52
|
+
// dojo.getComputedStyle to get one. It is a better way, calling
|
53
|
+
// dojo.computedStyle once, and then pass the reference to this
|
54
|
+
// computedStyle parameter. Wherever possible, reuse the returned
|
55
|
+
// object of dojo/dom-style.getComputedStyle().
|
60
56
|
|
57
|
+
node = dom.byId(node);
|
58
|
+
var s = computedStyle || style.getComputedStyle(node), px = style.toPixelValue,
|
59
|
+
l = px(node, s.paddingLeft), t = px(node, s.paddingTop), r = px(node, s.paddingRight), b = px(node, s.paddingBottom);
|
60
|
+
return {l: l, t: t, r: r, b: b, w: l + r, h: t + b};
|
61
61
|
};
|
62
|
-
=====*/
|
63
62
|
|
64
|
-
|
65
|
-
dojo._getPadExtents = function(node, computedStyle){
|
66
|
-
// summary:
|
67
|
-
// Existing alias for `dojo.getPadExtents`. Deprecated, will be removed in 2.0.
|
68
|
-
};
|
69
|
-
=====*/
|
63
|
+
var none = "none";
|
70
64
|
|
71
|
-
|
72
|
-
dojo.getBorderExtents = function(node, computedStyle){
|
65
|
+
geom.getBorderExtents = function getBorderExtents(/*DomNode*/ node, /*Object*/ computedStyle){
|
73
66
|
// summary:
|
74
67
|
// returns an object with properties useful for noting the border
|
75
68
|
// dimensions.
|
76
69
|
// description:
|
77
|
-
//
|
78
|
-
//
|
79
|
-
//
|
70
|
+
// - l/t/r/b = the sum of left/top/right/bottom border (respectively)
|
71
|
+
// - w = the sum of the left and right border
|
72
|
+
// - h = the sum of the top and bottom border
|
80
73
|
//
|
81
74
|
// The w/h are used for calculating boxes.
|
82
75
|
// Normally application code will not need to invoke this
|
83
76
|
// directly, and will use the ...box... functions instead.
|
84
77
|
// node: DOMNode
|
85
78
|
// computedStyle: Object?
|
86
|
-
//
|
87
|
-
//
|
88
|
-
// dojo.getComputedStyle to get one. It is a better way, calling
|
89
|
-
// dojo.computedStyle once, and then pass the reference to this
|
90
|
-
// computedStyle parameter. Wherever possible, reuse the returned
|
91
|
-
// object of dojo.getComputedStyle.
|
92
|
-
|
93
|
-
|
94
|
-
};
|
95
|
-
=====*/
|
79
|
+
// This parameter accepts computed styles object.
|
80
|
+
// If this parameter is omitted, the functions will call
|
81
|
+
// dojo.getComputedStyle to get one. It is a better way, calling
|
82
|
+
// dojo.computedStyle once, and then pass the reference to this
|
83
|
+
// computedStyle parameter. Wherever possible, reuse the returned
|
84
|
+
// object of dojo/dom-style.getComputedStyle().
|
96
85
|
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
86
|
+
node = dom.byId(node);
|
87
|
+
var px = style.toPixelValue, s = computedStyle || style.getComputedStyle(node),
|
88
|
+
l = s.borderLeftStyle != none ? px(node, s.borderLeftWidth) : 0,
|
89
|
+
t = s.borderTopStyle != none ? px(node, s.borderTopWidth) : 0,
|
90
|
+
r = s.borderRightStyle != none ? px(node, s.borderRightWidth) : 0,
|
91
|
+
b = s.borderBottomStyle != none ? px(node, s.borderBottomWidth) : 0;
|
92
|
+
return {l: l, t: t, r: r, b: b, w: l + r, h: t + b};
|
101
93
|
};
|
102
|
-
=====*/
|
103
94
|
|
104
|
-
|
105
|
-
dojo.getPadBorderExtents = function(node, computedStyle){
|
95
|
+
geom.getPadBorderExtents = function getPadBorderExtents(/*DomNode*/ node, /*Object*/ computedStyle){
|
106
96
|
// summary:
|
107
97
|
// Returns object with properties useful for box fitting with
|
108
98
|
// regards to padding.
|
109
99
|
// description:
|
110
|
-
//
|
111
|
-
//
|
112
|
-
//
|
100
|
+
// - l/t/r/b = the sum of left/top/right/bottom padding and left/top/right/bottom border (respectively)
|
101
|
+
// - w = the sum of the left and right padding and border
|
102
|
+
// - h = the sum of the top and bottom padding and border
|
113
103
|
//
|
114
104
|
// The w/h are used for calculating boxes.
|
115
105
|
// Normally application code will not need to invoke this
|
116
106
|
// directly, and will use the ...box... functions instead.
|
117
107
|
// node: DOMNode
|
118
108
|
// computedStyle: Object?
|
119
|
-
//
|
120
|
-
//
|
121
|
-
// dojo.getComputedStyle to get one. It is a better way, calling
|
122
|
-
// dojo.computedStyle once, and then pass the reference to this
|
123
|
-
// computedStyle parameter. Wherever possible, reuse the returned
|
124
|
-
// object of dojo.getComputedStyle.
|
125
|
-
|
126
|
-
|
127
|
-
};
|
128
|
-
=====*/
|
129
|
-
|
130
|
-
/*=====
|
131
|
-
dojo._getPadBorderExtents = function(node, computedStyle){
|
132
|
-
// summary:
|
133
|
-
// Existing alias for `dojo.getPadBorderExtents`. Deprecated, will be removed in 2.0.
|
134
|
-
};
|
135
|
-
=====*/
|
136
|
-
|
137
|
-
/*=====
|
138
|
-
dojo.getMarginExtents = function(node, computedStyle){
|
139
|
-
// summary:
|
140
|
-
// returns object with properties useful for box fitting with
|
141
|
-
// regards to box margins (i.e., the outer-box).
|
142
|
-
//
|
143
|
-
// * l/t = marginLeft, marginTop, respectively
|
144
|
-
// * w = total width, margin inclusive
|
145
|
-
// * h = total height, margin inclusive
|
146
|
-
//
|
147
|
-
// The w/h are used for calculating boxes.
|
148
|
-
// Normally application code will not need to invoke this
|
149
|
-
// directly, and will use the ...box... functions instead.
|
150
|
-
// node: DOMNode
|
151
|
-
// computedStyle: Object?
|
152
|
-
// This parameter accepts computed styles object.
|
153
|
-
// If this parameter is omitted, the functions will call
|
154
|
-
// dojo.getComputedStyle to get one. It is a better way, calling
|
155
|
-
// dojo.computedStyle once, and then pass the reference to this
|
156
|
-
// computedStyle parameter. Wherever possible, reuse the returned
|
157
|
-
// object of dojo.getComputedStyle.
|
158
|
-
};
|
159
|
-
=====*/
|
160
|
-
|
161
|
-
/*=====
|
162
|
-
dojo._getMarginExtents = function(node, computedStyle){
|
163
|
-
// summary:
|
164
|
-
// Existing alias for `dojo.getMarginExtents`. Deprecated, will be removed in 2.0.
|
165
|
-
};
|
166
|
-
=====*/
|
167
|
-
|
168
|
-
/*=====
|
169
|
-
dojo.getMarginSize = function(node, computedStyle){
|
170
|
-
// summary:
|
171
|
-
// returns an object that encodes the width and height of
|
172
|
-
// the node's margin box
|
173
|
-
// node: DOMNode|String
|
174
|
-
// computedStyle: Object?
|
175
|
-
// This parameter accepts computed styles object.
|
176
|
-
// If this parameter is omitted, the functions will call
|
177
|
-
// dojo.getComputedStyle to get one. It is a better way, calling
|
178
|
-
// dojo.computedStyle once, and then pass the reference to this
|
179
|
-
// computedStyle parameter. Wherever possible, reuse the returned
|
180
|
-
// object of dojo.getComputedStyle.
|
181
|
-
};
|
182
|
-
=====*/
|
183
|
-
|
184
|
-
/*=====
|
185
|
-
dojo._getMarginSize = function(node, computedStyle){
|
186
|
-
// summary:
|
187
|
-
// Existing alias for `dojo.getMarginSize`. Deprecated, will be removed in 2.0.
|
188
|
-
};
|
189
|
-
=====*/
|
190
|
-
|
191
|
-
/*=====
|
192
|
-
dojo.getMarginBox = function(node, computedStyle){
|
193
|
-
// summary:
|
194
|
-
// returns an object that encodes the width, height, left and top
|
195
|
-
// positions of the node's margin box.
|
196
|
-
// node: DOMNode
|
197
|
-
// computedStyle: Object?
|
198
|
-
// This parameter accepts computed styles object.
|
199
|
-
// If this parameter is omitted, the functions will call
|
200
|
-
// dojo.getComputedStyle to get one. It is a better way, calling
|
201
|
-
// dojo.computedStyle once, and then pass the reference to this
|
202
|
-
// computedStyle parameter. Wherever possible, reuse the returned
|
203
|
-
// object of dojo.getComputedStyle.
|
204
|
-
};
|
205
|
-
=====*/
|
206
|
-
|
207
|
-
/*=====
|
208
|
-
dojo._getMarginBox = function(node, computedStyle){
|
209
|
-
// summary:
|
210
|
-
// Existing alias for `dojo.getMarginBox`. Deprecated, will be removed in 2.0.
|
211
|
-
};
|
212
|
-
=====*/
|
213
|
-
|
214
|
-
/*=====
|
215
|
-
dojo.setMarginBox = function(node, box, computedStyle){
|
216
|
-
// summary:
|
217
|
-
// sets the size of the node's margin box and placement
|
218
|
-
// (left/top), irrespective of box model. Think of it as a
|
219
|
-
// passthrough to setBox that handles box-model vagaries for
|
220
|
-
// you.
|
221
|
-
// node: DOMNode
|
222
|
-
// box: Object
|
223
|
-
// hash with optional "l", "t", "w", and "h" properties for "left", "right", "width", and "height"
|
224
|
-
// respectively. All specified properties should have numeric values in whole pixels.
|
225
|
-
// computedStyle: Object?
|
226
|
-
// This parameter accepts computed styles object.
|
227
|
-
// If this parameter is omitted, the functions will call
|
228
|
-
// dojo.getComputedStyle to get one. It is a better way, calling
|
229
|
-
// dojo.computedStyle once, and then pass the reference to this
|
230
|
-
// computedStyle parameter. Wherever possible, reuse the returned
|
231
|
-
// object of dojo.getComputedStyle.
|
232
|
-
};
|
233
|
-
=====*/
|
234
|
-
|
235
|
-
/*=====
|
236
|
-
dojo.getContentBox = function(node, computedStyle){
|
237
|
-
// summary:
|
238
|
-
// Returns an object that encodes the width, height, left and top
|
239
|
-
// positions of the node's content box, irrespective of the
|
240
|
-
// current box model.
|
241
|
-
// node: DOMNode
|
242
|
-
// computedStyle: Object?
|
243
|
-
// This parameter accepts computed styles object.
|
244
|
-
// If this parameter is omitted, the functions will call
|
245
|
-
// dojo.getComputedStyle to get one. It is a better way, calling
|
246
|
-
// dojo.computedStyle once, and then pass the reference to this
|
247
|
-
// computedStyle parameter. Wherever possible, reuse the returned
|
248
|
-
// object of dojo.getComputedStyle.
|
249
|
-
};
|
250
|
-
=====*/
|
251
|
-
|
252
|
-
/*=====
|
253
|
-
dojo._getContentBox = function(node, computedStyle){
|
254
|
-
// summary:
|
255
|
-
// Existing alias for `dojo.getContentBox`. Deprecated, will be removed in 2.0.
|
256
|
-
};
|
257
|
-
=====*/
|
258
|
-
|
259
|
-
/*=====
|
260
|
-
dojo.setContentSize = function(node, box, computedStyle){
|
261
|
-
// summary:
|
262
|
-
// Sets the size of the node's contents, irrespective of margins,
|
263
|
-
// padding, or borders.
|
264
|
-
// node: DOMNode
|
265
|
-
// box: Object
|
266
|
-
// hash with optional "w", and "h" properties for "width", and "height"
|
267
|
-
// respectively. All specified properties should have numeric values in whole pixels.
|
268
|
-
// computedStyle: Object?
|
269
|
-
// This parameter accepts computed styles object.
|
270
|
-
// If this parameter is omitted, the functions will call
|
271
|
-
// dojo.getComputedStyle to get one. It is a better way, calling
|
272
|
-
// dojo.computedStyle once, and then pass the reference to this
|
273
|
-
// computedStyle parameter. Wherever possible, reuse the returned
|
274
|
-
// object of dojo.getComputedStyle.
|
275
|
-
};
|
276
|
-
=====*/
|
277
|
-
|
278
|
-
/*=====
|
279
|
-
dojo.isBodyLtr = function(){
|
280
|
-
// summary:
|
281
|
-
// Returns true if the current language is left-to-right, and false otherwise.
|
282
|
-
// returns: Boolean
|
283
|
-
};
|
284
|
-
=====*/
|
285
|
-
|
286
|
-
/*=====
|
287
|
-
dojo._isBodyLtr = function(){
|
288
|
-
// summary:
|
289
|
-
// Existing alias for `dojo.isBodyLtr`. Deprecated, will be removed in 2.0.
|
290
|
-
};
|
291
|
-
=====*/
|
292
|
-
|
293
|
-
/*=====
|
294
|
-
dojo.docScroll = function(){
|
295
|
-
// summary:
|
296
|
-
// Returns an object with {node, x, y} with corresponding offsets.
|
297
|
-
// returns: Object
|
298
|
-
};
|
299
|
-
=====*/
|
300
|
-
|
301
|
-
/*=====
|
302
|
-
dojo._docScroll = function(){
|
303
|
-
// summary:
|
304
|
-
// Existing alias for `dojo.docScroll`. Deprecated, will be removed in 2.0.
|
305
|
-
};
|
306
|
-
=====*/
|
307
|
-
|
308
|
-
/*=====
|
309
|
-
dojo.getIeDocumentElementOffset = function(){
|
310
|
-
// summary:
|
311
|
-
// returns the offset in x and y from the document body to the
|
312
|
-
// visual edge of the page for IE
|
313
|
-
// description:
|
314
|
-
// The following values in IE contain an offset:
|
315
|
-
// | event.clientX
|
316
|
-
// | event.clientY
|
317
|
-
// | node.getBoundingClientRect().left
|
318
|
-
// | node.getBoundingClientRect().top
|
319
|
-
// But other position related values do not contain this offset,
|
320
|
-
// such as node.offsetLeft, node.offsetTop, node.style.left and
|
321
|
-
// node.style.top. The offset is always (2, 2) in LTR direction.
|
322
|
-
// When the body is in RTL direction, the offset counts the width
|
323
|
-
// of left scroll bar's width. This function computes the actual
|
324
|
-
// offset.
|
325
|
-
};
|
326
|
-
=====*/
|
327
|
-
|
328
|
-
/*=====
|
329
|
-
dojo._getIeDocumentElementOffset = function(){
|
330
|
-
// summary:
|
331
|
-
// Existing alias for `dojo.getIeDocumentElementOffset`. Deprecated, will be removed in 2.0.
|
332
|
-
};
|
333
|
-
=====*/
|
334
|
-
|
335
|
-
/*=====
|
336
|
-
dojo.fixIeBiDiScrollLeft = function(scrollLeft){
|
337
|
-
// summary:
|
338
|
-
// In RTL direction, scrollLeft should be a negative value, but IE
|
339
|
-
// returns a positive one. All codes using documentElement.scrollLeft
|
340
|
-
// must call this function to fix this error, otherwise the position
|
341
|
-
// will offset to right when there is a horizontal scrollbar.
|
342
|
-
// scrollLeft: NUmber
|
343
|
-
// returns: Number
|
344
|
-
};
|
345
|
-
=====*/
|
346
|
-
|
347
|
-
/*=====
|
348
|
-
dojo._fixIeBiDiScrollLeft = function(scrollLeft){
|
349
|
-
// summary:
|
350
|
-
// Existing alias for `dojo.fixIeBiDiScrollLeft`. Deprecated, will be removed in 2.0.
|
351
|
-
};
|
352
|
-
=====*/
|
353
|
-
|
354
|
-
/*=====
|
355
|
-
dojo.position = function(node, includeScroll){
|
356
|
-
// summary:
|
357
|
-
// Gets the position and size of the passed element relative to
|
358
|
-
// the viewport (if includeScroll==false), or relative to the
|
359
|
-
// document root (if includeScroll==true).
|
360
|
-
//
|
361
|
-
// description:
|
362
|
-
// Returns an object of the form:
|
363
|
-
// { x: 100, y: 300, w: 20, h: 15 }
|
364
|
-
// If includeScroll==true, the x and y values will include any
|
365
|
-
// document offsets that may affect the position relative to the
|
366
|
-
// viewport.
|
367
|
-
// Uses the border-box model (inclusive of border and padding but
|
368
|
-
// not margin). Does not act as a setter.
|
369
|
-
// node: DOMNode|String
|
370
|
-
// includeScroll: Boolean?
|
371
|
-
// returns: Object
|
372
|
-
};
|
373
|
-
=====*/
|
109
|
+
// This parameter accepts computed styles object.
|
110
|
+
// If this parameter is omitted, the functions will call
|
111
|
+
// dojo.getComputedStyle to get one. It is a better way, calling
|
112
|
+
// dojo.computedStyle once, and then pass the reference to this
|
113
|
+
// computedStyle parameter. Wherever possible, reuse the returned
|
114
|
+
// object of dojo/dom-style.getComputedStyle().
|
374
115
|
|
375
|
-
geom.getPadExtents = function getPadExtents(/*DomNode*/node, /*Object*/computedStyle){
|
376
|
-
node = dom.byId(node);
|
377
|
-
var s = computedStyle || style.getComputedStyle(node), px = style.toPixelValue,
|
378
|
-
l = px(node, s.paddingLeft), t = px(node, s.paddingTop), r = px(node, s.paddingRight), b = px(node, s.paddingBottom);
|
379
|
-
return {l: l, t: t, r: r, b: b, w: l + r, h: t + b};
|
380
|
-
};
|
381
|
-
|
382
|
-
var none = "none";
|
383
|
-
|
384
|
-
geom.getBorderExtents = function getBorderExtents(/*DomNode*/node, /*Object*/computedStyle){
|
385
|
-
node = dom.byId(node);
|
386
|
-
var px = style.toPixelValue, s = computedStyle || style.getComputedStyle(node),
|
387
|
-
l = s.borderLeftStyle != none ? px(node, s.borderLeftWidth) : 0,
|
388
|
-
t = s.borderTopStyle != none ? px(node, s.borderTopWidth) : 0,
|
389
|
-
r = s.borderRightStyle != none ? px(node, s.borderRightWidth) : 0,
|
390
|
-
b = s.borderBottomStyle != none ? px(node, s.borderBottomWidth) : 0;
|
391
|
-
return {l: l, t: t, r: r, b: b, w: l + r, h: t + b};
|
392
|
-
};
|
393
|
-
|
394
|
-
geom.getPadBorderExtents = function getPadBorderExtents(/*DomNode*/node, /*Object*/computedStyle){
|
395
116
|
node = dom.byId(node);
|
396
117
|
var s = computedStyle || style.getComputedStyle(node),
|
397
118
|
p = geom.getPadExtents(node, s),
|
@@ -407,18 +128,29 @@ define("dojo/dom-geometry", ["./_base/sniff", "./_base/window","./dom", "./dom-s
|
|
407
128
|
};
|
408
129
|
|
409
130
|
geom.getMarginExtents = function getMarginExtents(node, computedStyle){
|
131
|
+
// summary:
|
132
|
+
// returns object with properties useful for box fitting with
|
133
|
+
// regards to box margins (i.e., the outer-box).
|
134
|
+
//
|
135
|
+
// - l/t = marginLeft, marginTop, respectively
|
136
|
+
// - w = total width, margin inclusive
|
137
|
+
// - h = total height, margin inclusive
|
138
|
+
//
|
139
|
+
// The w/h are used for calculating boxes.
|
140
|
+
// Normally application code will not need to invoke this
|
141
|
+
// directly, and will use the ...box... functions instead.
|
142
|
+
// node: DOMNode
|
143
|
+
// computedStyle: Object?
|
144
|
+
// This parameter accepts computed styles object.
|
145
|
+
// If this parameter is omitted, the functions will call
|
146
|
+
// dojo.getComputedStyle to get one. It is a better way, calling
|
147
|
+
// dojo.computedStyle once, and then pass the reference to this
|
148
|
+
// computedStyle parameter. Wherever possible, reuse the returned
|
149
|
+
// object of dojo/dom-style.getComputedStyle().
|
150
|
+
|
410
151
|
node = dom.byId(node);
|
411
152
|
var s = computedStyle || style.getComputedStyle(node), px = style.toPixelValue,
|
412
153
|
l = px(node, s.marginLeft), t = px(node, s.marginTop), r = px(node, s.marginRight), b = px(node, s.marginBottom);
|
413
|
-
if(has("webkit") && (s.position != "absolute")){
|
414
|
-
// FIXME: Safari's version of the computed right margin
|
415
|
-
// is the space between our right edge and the right edge
|
416
|
-
// of our offsetParent.
|
417
|
-
// What we are looking for is the actual margin value as
|
418
|
-
// determined by CSS.
|
419
|
-
// Hack solution is to assume left/right margins are the same.
|
420
|
-
r = l;
|
421
|
-
}
|
422
154
|
return {l: l, t: t, r: r, b: b, w: l + r, h: t + b};
|
423
155
|
};
|
424
156
|
|
@@ -437,14 +169,23 @@ define("dojo/dom-geometry", ["./_base/sniff", "./_base/window","./dom", "./dom-s
|
|
437
169
|
// 2. factoring the shared code wastes cycles (function call overhead)
|
438
170
|
// 3. duplicating the shared code wastes bytes
|
439
171
|
|
440
|
-
geom.getMarginBox = function getMarginBox(/*DomNode*/node, /*Object*/computedStyle){
|
172
|
+
geom.getMarginBox = function getMarginBox(/*DomNode*/ node, /*Object*/ computedStyle){
|
441
173
|
// summary:
|
442
174
|
// returns an object that encodes the width, height, left and top
|
443
175
|
// positions of the node's margin box.
|
176
|
+
// node: DOMNode
|
177
|
+
// computedStyle: Object?
|
178
|
+
// This parameter accepts computed styles object.
|
179
|
+
// If this parameter is omitted, the functions will call
|
180
|
+
// dojo.getComputedStyle to get one. It is a better way, calling
|
181
|
+
// dojo.computedStyle once, and then pass the reference to this
|
182
|
+
// computedStyle parameter. Wherever possible, reuse the returned
|
183
|
+
// object of dojo/dom-style.getComputedStyle().
|
184
|
+
|
444
185
|
node = dom.byId(node);
|
445
186
|
var s = computedStyle || style.getComputedStyle(node), me = geom.getMarginExtents(node, s),
|
446
187
|
l = node.offsetLeft - me.l, t = node.offsetTop - me.t, p = node.parentNode, px = style.toPixelValue, pcs;
|
447
|
-
|
188
|
+
if(has("mozilla")){
|
448
189
|
// Mozilla:
|
449
190
|
// If offsetParent has a computed overflow != visible, the offsetLeft is decreased
|
450
191
|
// by the parent's border.
|
@@ -452,7 +193,8 @@ define("dojo/dom-geometry", ["./_base/sniff", "./_base/window","./dom", "./dom-s
|
|
452
193
|
// computed left/top which is more stable.
|
453
194
|
var sl = parseFloat(s.left), st = parseFloat(s.top);
|
454
195
|
if(!isNaN(sl) && !isNaN(st)){
|
455
|
-
l = sl
|
196
|
+
l = sl;
|
197
|
+
t = st;
|
456
198
|
}else{
|
457
199
|
// If child's computed left/top are not parseable as a number (e.g. "auto"), we
|
458
200
|
// have no choice but to examine the parent's computed style.
|
@@ -472,10 +214,23 @@ define("dojo/dom-geometry", ["./_base/sniff", "./_base/window","./dom", "./dom-s
|
|
472
214
|
t -= pcs.borderTopStyle != none ? px(node, pcs.borderTopWidth) : 0;
|
473
215
|
}
|
474
216
|
}
|
475
|
-
|
217
|
+
return {l: l, t: t, w: node.offsetWidth + me.w, h: node.offsetHeight + me.h};
|
476
218
|
};
|
477
219
|
|
478
220
|
geom.getContentBox = function getContentBox(node, computedStyle){
|
221
|
+
// summary:
|
222
|
+
// Returns an object that encodes the width, height, left and top
|
223
|
+
// positions of the node's content box, irrespective of the
|
224
|
+
// current box model.
|
225
|
+
// node: DOMNode
|
226
|
+
// computedStyle: Object?
|
227
|
+
// This parameter accepts computed styles object.
|
228
|
+
// If this parameter is omitted, the functions will call
|
229
|
+
// dojo.getComputedStyle to get one. It is a better way, calling
|
230
|
+
// dojo.computedStyle once, and then pass the reference to this
|
231
|
+
// computedStyle parameter. Wherever possible, reuse the returned
|
232
|
+
// object of dojo/dom-style.getComputedStyle().
|
233
|
+
|
479
234
|
// clientWidth/Height are important since the automatically account for scrollbars
|
480
235
|
// fallback to offsetWidth/Height for special cases (see #3378)
|
481
236
|
node = dom.byId(node);
|
@@ -489,18 +244,18 @@ define("dojo/dom-geometry", ["./_base/sniff", "./_base/window","./dom", "./dom-s
|
|
489
244
|
be.w = be.h = 0;
|
490
245
|
}
|
491
246
|
// On Opera, offsetLeft includes the parent's border
|
492
|
-
|
247
|
+
if(has("opera")){
|
493
248
|
pe.l += be.l;
|
494
249
|
pe.t += be.t;
|
495
250
|
}
|
496
|
-
|
251
|
+
return {l: pe.l, t: pe.t, w: w - pe.w - be.w, h: h - pe.h - be.h};
|
497
252
|
};
|
498
253
|
|
499
254
|
// Box setters depend on box context because interpretation of width/height styles
|
500
255
|
// vary wrt box context.
|
501
256
|
//
|
502
|
-
// The value of
|
503
|
-
//
|
257
|
+
// The value of boxModel is used to determine box context.
|
258
|
+
// boxModel can be set directly to change behavior.
|
504
259
|
//
|
505
260
|
// Beware of display: inline objects that have padding styles
|
506
261
|
// because the user agent ignores padding (it's a bogus setup anyway)
|
@@ -513,7 +268,7 @@ define("dojo/dom-geometry", ["./_base/sniff", "./_base/window","./dom", "./dom-s
|
|
513
268
|
// In particular, margins on TABLE do not seems to appear
|
514
269
|
// at all in computedStyle on Mozilla.
|
515
270
|
|
516
|
-
function setBox(/*DomNode*/node, /*Number?*/l, /*Number?*/t, /*Number?*/w, /*Number?*/h, /*String?*/u){
|
271
|
+
function setBox(/*DomNode*/ node, /*Number?*/ l, /*Number?*/ t, /*Number?*/ w, /*Number?*/ h, /*String?*/ u){
|
517
272
|
// summary:
|
518
273
|
// sets width/height/left/top in the current (native) box-model
|
519
274
|
// dimensions. Uses the unit passed in u.
|
@@ -546,14 +301,14 @@ define("dojo/dom-geometry", ["./_base/sniff", "./_base/window","./dom", "./dom-s
|
|
546
301
|
}
|
547
302
|
}
|
548
303
|
|
549
|
-
function isButtonTag(/*DomNode*/node){
|
304
|
+
function isButtonTag(/*DomNode*/ node){
|
550
305
|
// summary:
|
551
306
|
// True if the node is BUTTON or INPUT.type="button".
|
552
307
|
return node.tagName.toLowerCase() == "button" ||
|
553
308
|
node.tagName.toLowerCase() == "input" && (node.getAttribute("type") || "").toLowerCase() == "button"; // boolean
|
554
309
|
}
|
555
310
|
|
556
|
-
function usesBorderBox(/*DomNode*/node){
|
311
|
+
function usesBorderBox(/*DomNode*/ node){
|
557
312
|
// summary:
|
558
313
|
// True if the node uses border-box layout.
|
559
314
|
|
@@ -567,10 +322,21 @@ define("dojo/dom-geometry", ["./_base/sniff", "./_base/window","./dom", "./dom-s
|
|
567
322
|
return geom.boxModel == "border-box" || node.tagName.toLowerCase() == "table" || isButtonTag(node); // boolean
|
568
323
|
}
|
569
324
|
|
570
|
-
geom.setContentSize = function setContentSize(/*DomNode*/node, /*Object*/box, /*Object*/computedStyle){
|
325
|
+
geom.setContentSize = function setContentSize(/*DomNode*/ node, /*Object*/ box, /*Object*/ computedStyle){
|
571
326
|
// summary:
|
572
327
|
// Sets the size of the node's contents, irrespective of margins,
|
573
328
|
// padding, or borders.
|
329
|
+
// node: DOMNode
|
330
|
+
// box: Object
|
331
|
+
// hash with optional "w", and "h" properties for "width", and "height"
|
332
|
+
// respectively. All specified properties should have numeric values in whole pixels.
|
333
|
+
// computedStyle: Object?
|
334
|
+
// This parameter accepts computed styles object.
|
335
|
+
// If this parameter is omitted, the functions will call
|
336
|
+
// dojo.getComputedStyle to get one. It is a better way, calling
|
337
|
+
// dojo.computedStyle once, and then pass the reference to this
|
338
|
+
// computedStyle parameter. Wherever possible, reuse the returned
|
339
|
+
// object of dojo/dom-style.getComputedStyle().
|
574
340
|
|
575
341
|
node = dom.byId(node);
|
576
342
|
var w = box.w, h = box.h;
|
@@ -588,12 +354,29 @@ define("dojo/dom-geometry", ["./_base/sniff", "./_base/window","./dom", "./dom-s
|
|
588
354
|
|
589
355
|
var nilExtents = {l: 0, t: 0, w: 0, h: 0};
|
590
356
|
|
591
|
-
geom.setMarginBox = function setMarginBox(/*DomNode*/node, /*Object*/box, /*Object*/computedStyle){
|
357
|
+
geom.setMarginBox = function setMarginBox(/*DomNode*/ node, /*Object*/ box, /*Object*/ computedStyle){
|
358
|
+
// summary:
|
359
|
+
// sets the size of the node's margin box and placement
|
360
|
+
// (left/top), irrespective of box model. Think of it as a
|
361
|
+
// passthrough to setBox that handles box-model vagaries for
|
362
|
+
// you.
|
363
|
+
// node: DOMNode
|
364
|
+
// box: Object
|
365
|
+
// hash with optional "l", "t", "w", and "h" properties for "left", "right", "width", and "height"
|
366
|
+
// respectively. All specified properties should have numeric values in whole pixels.
|
367
|
+
// computedStyle: Object?
|
368
|
+
// This parameter accepts computed styles object.
|
369
|
+
// If this parameter is omitted, the functions will call
|
370
|
+
// dojo.getComputedStyle to get one. It is a better way, calling
|
371
|
+
// dojo.computedStyle once, and then pass the reference to this
|
372
|
+
// computedStyle parameter. Wherever possible, reuse the returned
|
373
|
+
// object of dojo/dom-style.getComputedStyle().
|
374
|
+
|
592
375
|
node = dom.byId(node);
|
593
376
|
var s = computedStyle || style.getComputedStyle(node), w = box.w, h = box.h,
|
594
377
|
// Some elements have special padding, margin, and box-model settings.
|
595
378
|
// To use box functions you may need to set padding, margin explicitly.
|
596
|
-
// Controlling box-model is harder, in a pinch you might set dojo.boxModel.
|
379
|
+
// Controlling box-model is harder, in a pinch you might set dojo/dom-geometry.boxModel.
|
597
380
|
pb = usesBorderBox(node) ? nilExtents : geom.getPadBorderExtents(node, s),
|
598
381
|
mb = geom.getMarginExtents(node, s);
|
599
382
|
if(has("webkit")){
|
@@ -623,84 +406,143 @@ define("dojo/dom-geometry", ["./_base/sniff", "./_base/window","./dom", "./dom-s
|
|
623
406
|
// Positioning
|
624
407
|
// =============================
|
625
408
|
|
626
|
-
geom.isBodyLtr = function isBodyLtr(){
|
627
|
-
|
628
|
-
|
409
|
+
geom.isBodyLtr = function isBodyLtr(/*Document?*/ doc){
|
410
|
+
// summary:
|
411
|
+
// Returns true if the current language is left-to-right, and false otherwise.
|
412
|
+
// doc: Document?
|
413
|
+
// Optional document to query. If unspecified, use win.doc.
|
414
|
+
// returns: Boolean
|
629
415
|
|
630
|
-
|
631
|
-
|
632
|
-
return "pageXOffset" in node ? {x: node.pageXOffset, y: node.pageYOffset } :
|
633
|
-
(node = has("quirks") ? win.body() : win.doc.documentElement,
|
634
|
-
{x: geom.fixIeBiDiScrollLeft(node.scrollLeft || 0), y: node.scrollTop || 0 });
|
416
|
+
doc = doc || win.doc;
|
417
|
+
return (win.body(doc).dir || doc.documentElement.dir || "ltr").toLowerCase() == "ltr"; // Boolean
|
635
418
|
};
|
636
419
|
|
637
|
-
|
638
|
-
//
|
639
|
-
|
640
|
-
|
420
|
+
geom.docScroll = function docScroll(/*Document?*/ doc){
|
421
|
+
// summary:
|
422
|
+
// Returns an object with {node, x, y} with corresponding offsets.
|
423
|
+
// doc: Document?
|
424
|
+
// Optional document to query. If unspecified, use win.doc.
|
425
|
+
// returns: Object
|
641
426
|
|
642
|
-
|
643
|
-
|
644
|
-
|
645
|
-
|
646
|
-
|
647
|
-
|
427
|
+
doc = doc || win.doc;
|
428
|
+
var node = win.doc.parentWindow || win.doc.defaultView; // use UI window, not dojo.global window. TODO: use dojo/window::get() except for circular dependency problem
|
429
|
+
return "pageXOffset" in node ? {x: node.pageXOffset, y: node.pageYOffset } :
|
430
|
+
(node = has("quirks") ? win.body(doc) : doc.documentElement) &&
|
431
|
+
{x: geom.fixIeBiDiScrollLeft(node.scrollLeft || 0, doc), y: node.scrollTop || 0 };
|
432
|
+
};
|
433
|
+
|
434
|
+
if(has("ie")){
|
435
|
+
geom.getIeDocumentElementOffset = function getIeDocumentElementOffset(/*Document?*/ doc){
|
436
|
+
// summary:
|
437
|
+
// returns the offset in x and y from the document body to the
|
438
|
+
// visual edge of the page for IE
|
439
|
+
// doc: Document?
|
440
|
+
// Optional document to query. If unspecified, use win.doc.
|
441
|
+
// description:
|
442
|
+
// The following values in IE contain an offset:
|
443
|
+
// | event.clientX
|
444
|
+
// | event.clientY
|
445
|
+
// | node.getBoundingClientRect().left
|
446
|
+
// | node.getBoundingClientRect().top
|
447
|
+
// But other position related values do not contain this offset,
|
448
|
+
// such as node.offsetLeft, node.offsetTop, node.style.left and
|
449
|
+
// node.style.top. The offset is always (2, 2) in LTR direction.
|
450
|
+
// When the body is in RTL direction, the offset counts the width
|
451
|
+
// of left scroll bar's width. This function computes the actual
|
452
|
+
// offset.
|
453
|
+
|
454
|
+
//NOTE: assumes we're being called in an IE browser
|
455
|
+
|
456
|
+
doc = doc || win.doc;
|
457
|
+
var de = doc.documentElement; // only deal with HTML element here, position() handles body/quirks
|
458
|
+
|
459
|
+
if(has("ie") < 8){
|
460
|
+
var r = de.getBoundingClientRect(), // works well for IE6+
|
461
|
+
l = r.left, t = r.top;
|
462
|
+
if(has("ie") < 7){
|
463
|
+
l += de.clientLeft; // scrollbar size in strict/RTL, or,
|
464
|
+
t += de.clientTop; // HTML border size in strict
|
465
|
+
}
|
466
|
+
return {
|
467
|
+
x: l < 0 ? 0 : l, // FRAME element border size can lead to inaccurate negative values
|
468
|
+
y: t < 0 ? 0 : t
|
469
|
+
};
|
470
|
+
}else{
|
471
|
+
return {
|
472
|
+
x: 0,
|
473
|
+
y: 0
|
474
|
+
};
|
648
475
|
}
|
649
|
-
|
650
|
-
|
651
|
-
|
652
|
-
|
653
|
-
|
654
|
-
|
655
|
-
|
656
|
-
|
657
|
-
|
658
|
-
|
659
|
-
|
660
|
-
|
661
|
-
|
476
|
+
};
|
477
|
+
}
|
478
|
+
|
479
|
+
geom.fixIeBiDiScrollLeft = function fixIeBiDiScrollLeft(/*Integer*/ scrollLeft, /*Document?*/ doc){
|
480
|
+
// summary:
|
481
|
+
// In RTL direction, scrollLeft should be a negative value, but IE
|
482
|
+
// returns a positive one. All codes using documentElement.scrollLeft
|
483
|
+
// must call this function to fix this error, otherwise the position
|
484
|
+
// will offset to right when there is a horizontal scrollbar.
|
485
|
+
// scrollLeft: Number
|
486
|
+
// doc: Document?
|
487
|
+
// Optional document to query. If unspecified, use win.doc.
|
488
|
+
// returns: Number
|
489
|
+
|
662
490
|
// In RTL direction, scrollLeft should be a negative value, but IE
|
663
491
|
// returns a positive one. All codes using documentElement.scrollLeft
|
664
492
|
// must call this function to fix this error, otherwise the position
|
665
493
|
// will offset to right when there is a horizontal scrollbar.
|
666
494
|
|
667
|
-
|
668
|
-
|
495
|
+
doc = doc || win.doc;
|
496
|
+
var ie = has("ie");
|
497
|
+
if(ie && !geom.isBodyLtr(doc)){
|
669
498
|
var qk = has("quirks"),
|
670
|
-
de = qk ? win.body() :
|
671
|
-
|
499
|
+
de = qk ? win.body(doc) : doc.documentElement,
|
500
|
+
pwin = win.global; // TODO: use winUtils.get(doc) after resolving circular dependency b/w dom-geometry.js and dojo/window.js
|
501
|
+
if(ie == 6 && !qk && pwin.frameElement && de.scrollHeight > de.clientHeight){
|
672
502
|
scrollLeft += de.clientLeft; // workaround ie6+strict+rtl+iframe+vertical-scrollbar bug where clientWidth is too small by clientLeft pixels
|
673
503
|
}
|
674
504
|
return (ie < 8 || qk) ? (scrollLeft + de.clientWidth - de.scrollWidth) : -scrollLeft; // Integer
|
675
505
|
}
|
676
|
-
|
506
|
+
return scrollLeft; // Integer
|
677
507
|
};
|
678
508
|
|
679
|
-
geom.position = function(/*DomNode*/node, /*Boolean?*/includeScroll){
|
509
|
+
geom.position = function(/*DomNode*/ node, /*Boolean?*/ includeScroll){
|
510
|
+
// summary:
|
511
|
+
// Gets the position and size of the passed element relative to
|
512
|
+
// the viewport (if includeScroll==false), or relative to the
|
513
|
+
// document root (if includeScroll==true).
|
514
|
+
//
|
515
|
+
// description:
|
516
|
+
// Returns an object of the form:
|
517
|
+
// `{ x: 100, y: 300, w: 20, h: 15 }`.
|
518
|
+
// If includeScroll==true, the x and y values will include any
|
519
|
+
// document offsets that may affect the position relative to the
|
520
|
+
// viewport.
|
521
|
+
// Uses the border-box model (inclusive of border and padding but
|
522
|
+
// not margin). Does not act as a setter.
|
523
|
+
// node: DOMNode|String
|
524
|
+
// includeScroll: Boolean?
|
525
|
+
// returns: Object
|
526
|
+
|
680
527
|
node = dom.byId(node);
|
681
|
-
var db = win.body(),
|
682
|
-
dh = db.parentNode,
|
528
|
+
var db = win.body(node.ownerDocument),
|
683
529
|
ret = node.getBoundingClientRect();
|
684
530
|
ret = {x: ret.left, y: ret.top, w: ret.right - ret.left, h: ret.bottom - ret.top};
|
685
|
-
|
531
|
+
|
532
|
+
if(has("ie")){
|
686
533
|
// On IE there's a 2px offset that we need to adjust for, see dojo.getIeDocumentElementOffset()
|
687
|
-
var offset = geom.getIeDocumentElementOffset();
|
534
|
+
var offset = geom.getIeDocumentElementOffset(node.ownerDocument);
|
688
535
|
|
689
536
|
// fixes the position in IE, quirks mode
|
690
537
|
ret.x -= offset.x + (has("quirks") ? db.clientLeft + db.offsetLeft : 0);
|
691
538
|
ret.y -= offset.y + (has("quirks") ? db.clientTop + db.offsetTop : 0);
|
692
|
-
}else if(has("ff") == 3){
|
693
|
-
// In FF3 you have to subtract the document element margins.
|
694
|
-
// Fixed in FF3.5 though.
|
695
|
-
var cs = style.getComputedStyle(dh), px = style.toPixelValue;
|
696
|
-
ret.x -= px(dh, cs.marginLeft) + px(dh, cs.borderLeftWidth);
|
697
|
-
ret.y -= px(dh, cs.marginTop) + px(dh, cs.borderTopWidth);
|
698
539
|
}
|
699
|
-
|
540
|
+
|
541
|
+
// account for document scrolling
|
700
542
|
// if offsetParent is used, ret value already includes scroll position
|
701
543
|
// so we may have to actually remove that value if !includeScroll
|
702
544
|
if(includeScroll){
|
703
|
-
var scroll = geom.docScroll();
|
545
|
+
var scroll = geom.docScroll(node.ownerDocument);
|
704
546
|
ret.x += scroll.x;
|
705
547
|
ret.y += scroll.y;
|
706
548
|
}
|
@@ -710,20 +552,32 @@ define("dojo/dom-geometry", ["./_base/sniff", "./_base/window","./dom", "./dom-s
|
|
710
552
|
|
711
553
|
// random "private" functions wildly used throughout the toolkit
|
712
554
|
|
713
|
-
geom.getMarginSize = function getMarginSize(/*DomNode*/node, /*Object*/computedStyle){
|
555
|
+
geom.getMarginSize = function getMarginSize(/*DomNode*/ node, /*Object*/ computedStyle){
|
556
|
+
// summary:
|
557
|
+
// returns an object that encodes the width and height of
|
558
|
+
// the node's margin box
|
559
|
+
// node: DOMNode|String
|
560
|
+
// computedStyle: Object?
|
561
|
+
// This parameter accepts computed styles object.
|
562
|
+
// If this parameter is omitted, the functions will call
|
563
|
+
// dojo.getComputedStyle to get one. It is a better way, calling
|
564
|
+
// dojo.computedStyle once, and then pass the reference to this
|
565
|
+
// computedStyle parameter. Wherever possible, reuse the returned
|
566
|
+
// object of dojo/dom-style.getComputedStyle().
|
567
|
+
|
714
568
|
node = dom.byId(node);
|
715
569
|
var me = geom.getMarginExtents(node, computedStyle || style.getComputedStyle(node));
|
716
570
|
var size = node.getBoundingClientRect();
|
717
571
|
return {
|
718
572
|
w: (size.right - size.left) + me.w,
|
719
573
|
h: (size.bottom - size.top) + me.h
|
720
|
-
}
|
574
|
+
};
|
721
575
|
};
|
722
576
|
|
723
577
|
geom.normalizeEvent = function(event){
|
724
578
|
// summary:
|
725
|
-
//
|
726
|
-
//
|
579
|
+
// Normalizes the geometry of a DOM event, normalizing the pageX, pageY,
|
580
|
+
// offsetX, offsetY, layerX, and layerX properties
|
727
581
|
// event: Object
|
728
582
|
if(!("layerX" in event)){
|
729
583
|
event.layerX = event.offsetX;
|
@@ -739,8 +593,8 @@ define("dojo/dom-geometry", ["./_base/sniff", "./_base/window","./dom", "./dom-s
|
|
739
593
|
// DO NOT replace the following to use dojo.body(), in IE, document.documentElement should be used
|
740
594
|
// here rather than document.body
|
741
595
|
var docBody = has("quirks") ? doc.body : doc.documentElement;
|
742
|
-
var offset = geom.getIeDocumentElementOffset();
|
743
|
-
event.pageX = event.clientX + geom.fixIeBiDiScrollLeft(docBody.scrollLeft || 0) - offset.x;
|
596
|
+
var offset = geom.getIeDocumentElementOffset(doc);
|
597
|
+
event.pageX = event.clientX + geom.fixIeBiDiScrollLeft(docBody.scrollLeft || 0, doc) - offset.x;
|
744
598
|
event.pageY = event.clientY + (docBody.scrollTop || 0) - offset.y;
|
745
599
|
}
|
746
600
|
};
|