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
@@ -1,9 +1,26 @@
|
|
1
|
-
define("dojo/dnd/Container", [
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
1
|
+
define("dojo/dnd/Container", [
|
2
|
+
"../_base/array",
|
3
|
+
"../_base/declare",
|
4
|
+
"../_base/event",
|
5
|
+
"../_base/kernel",
|
6
|
+
"../_base/lang",
|
7
|
+
"../_base/window",
|
8
|
+
"../dom",
|
9
|
+
"../dom-class",
|
10
|
+
"../dom-construct",
|
11
|
+
"../Evented",
|
12
|
+
"../has",
|
13
|
+
"../on",
|
14
|
+
"../query",
|
15
|
+
"../ready",
|
16
|
+
"../touch",
|
17
|
+
"./common"
|
18
|
+
], function(
|
19
|
+
array, declare, event, kernel, lang, win,
|
20
|
+
dom, domClass, domConstruct, Evented, has, on, query, ready, touch, dnd){
|
6
21
|
|
22
|
+
// module:
|
23
|
+
// dojo/dnd/Container
|
7
24
|
|
8
25
|
/*
|
9
26
|
Container states:
|
@@ -14,62 +31,28 @@ define("dojo/dnd/Container", ["../main", "../Evented", "./common", "../parser"],
|
|
14
31
|
"Over" - mouse over a container item
|
15
32
|
*/
|
16
33
|
|
17
|
-
/*=====
|
18
|
-
dojo.declare("dojo.dnd.__ContainerArgs", [], {
|
19
|
-
creator: function(){
|
20
|
-
// summary:
|
21
|
-
// a creator function, which takes a data item, and returns an object like that:
|
22
|
-
// {node: newNode, data: usedData, type: arrayOfStrings}
|
23
|
-
},
|
24
|
-
|
25
|
-
// skipForm: Boolean
|
26
|
-
// don't start the drag operation, if clicked on form elements
|
27
|
-
skipForm: false,
|
28
|
-
|
29
|
-
// dropParent: Node||String
|
30
|
-
// node or node's id to use as the parent node for dropped items
|
31
|
-
// (must be underneath the 'node' parameter in the DOM)
|
32
|
-
dropParent: null,
|
33
|
-
|
34
|
-
// _skipStartup: Boolean
|
35
|
-
// skip startup(), which collects children, for deferred initialization
|
36
|
-
// (this is used in the markup mode)
|
37
|
-
_skipStartup: false
|
38
|
-
});
|
39
|
-
|
40
|
-
dojo.dnd.Item = function(){
|
41
|
-
// summary:
|
42
|
-
// Represents (one of) the source node(s) being dragged.
|
43
|
-
// Contains (at least) the "type" and "data" attributes.
|
44
|
-
// type: String[]
|
45
|
-
// Type(s) of this item, by default this is ["text"]
|
46
|
-
// data: Object
|
47
|
-
// Logical representation of the object being dragged.
|
48
|
-
// If the drag object's type is "text" then data is a String,
|
49
|
-
// if it's another type then data could be a different Object,
|
50
|
-
// perhaps a name/value hash.
|
51
34
|
|
52
|
-
this.type = type;
|
53
|
-
this.data = data;
|
54
|
-
}
|
55
|
-
=====*/
|
56
35
|
|
57
|
-
|
36
|
+
var Container = declare("dojo.dnd.Container", Evented, {
|
58
37
|
// summary:
|
59
38
|
// a Container object, which knows when mouse hovers over it,
|
60
39
|
// and over which element it hovers
|
61
40
|
|
62
41
|
// object attributes (for markup)
|
63
42
|
skipForm: false,
|
64
|
-
|
43
|
+
// allowNested: Boolean
|
44
|
+
// Indicates whether to allow dnd item nodes to be nested within other elements.
|
45
|
+
// By default this is false, indicating that only direct children of the container can
|
46
|
+
// be draggable dnd item nodes
|
47
|
+
allowNested: false,
|
65
48
|
/*=====
|
66
49
|
// current: DomNode
|
67
50
|
// The DOM node the mouse is currently hovered over
|
68
51
|
current: null,
|
69
52
|
|
70
|
-
// map: Hash<String,
|
53
|
+
// map: Hash<String, Container.Item>
|
71
54
|
// Map from an item's id (which is also the DOMNode's id) to
|
72
|
-
// the dojo
|
55
|
+
// the dojo/dnd/Container.Item itself.
|
73
56
|
map: {},
|
74
57
|
=====*/
|
75
58
|
|
@@ -78,13 +61,13 @@ dojo.declare("dojo.dnd.Container", Evented, {
|
|
78
61
|
// a constructor of the Container
|
79
62
|
// node: Node
|
80
63
|
// node or node's id to build the container on
|
81
|
-
// params:
|
64
|
+
// params: Container.__ContainerArgs
|
82
65
|
// a dictionary of parameters
|
83
|
-
this.node =
|
66
|
+
this.node = dom.byId(node);
|
84
67
|
if(!params){ params = {}; }
|
85
68
|
this.creator = params.creator || null;
|
86
69
|
this.skipForm = params.skipForm;
|
87
|
-
this.parent = params.dropParent &&
|
70
|
+
this.parent = params.dropParent && dom.byId(params.dropParent);
|
88
71
|
|
89
72
|
// class-specific variables
|
90
73
|
this.map = {};
|
@@ -92,7 +75,7 @@ dojo.declare("dojo.dnd.Container", Evented, {
|
|
92
75
|
|
93
76
|
// states
|
94
77
|
this.containerState = "";
|
95
|
-
|
78
|
+
domClass.add(this.node, "dojoDndContainer");
|
96
79
|
|
97
80
|
// mark up children
|
98
81
|
if(!(params && params._skipStartup)){
|
@@ -101,11 +84,11 @@ dojo.declare("dojo.dnd.Container", Evented, {
|
|
101
84
|
|
102
85
|
// set up events
|
103
86
|
this.events = [
|
104
|
-
|
105
|
-
|
87
|
+
on(this.node, touch.over, lang.hitch(this, "onMouseOver")),
|
88
|
+
on(this.node, touch.out, lang.hitch(this, "onMouseOut")),
|
106
89
|
// cancel text selection and text dragging
|
107
|
-
|
108
|
-
|
90
|
+
on(this.node, "dragstart", lang.hitch(this, "onSelectStart")),
|
91
|
+
on(this.node, "selectstart", lang.hitch(this, "onSelectStart"))
|
109
92
|
];
|
110
93
|
},
|
111
94
|
|
@@ -119,9 +102,9 @@ dojo.declare("dojo.dnd.Container", Evented, {
|
|
119
102
|
getItem: function(/*String*/ key){
|
120
103
|
// summary:
|
121
104
|
// returns a data item by its key (id)
|
122
|
-
return this.map[key]; //
|
105
|
+
return this.map[key]; // Container.Item
|
123
106
|
},
|
124
|
-
setItem: function(/*String*/ key, /*
|
107
|
+
setItem: function(/*String*/ key, /*Container.Item*/ data){
|
125
108
|
// summary:
|
126
109
|
// associates a data item with its key (id)
|
127
110
|
this.map[key] = data;
|
@@ -135,8 +118,8 @@ dojo.declare("dojo.dnd.Container", Evented, {
|
|
135
118
|
// summary:
|
136
119
|
// iterates over a data map skipping members that
|
137
120
|
// are present in the empty object (IE and/or 3rd-party libraries).
|
138
|
-
o = o ||
|
139
|
-
var m = this.map, e =
|
121
|
+
o = o || kernel.global;
|
122
|
+
var m = this.map, e = dnd._empty;
|
140
123
|
for(var i in m){
|
141
124
|
if(i in e){ continue; }
|
142
125
|
f.call(o, m[i], i, this);
|
@@ -153,7 +136,7 @@ dojo.declare("dojo.dnd.Container", Evented, {
|
|
153
136
|
getAllNodes: function(){
|
154
137
|
// summary:
|
155
138
|
// returns a list (an array) of all valid child nodes
|
156
|
-
return
|
139
|
+
return query((this.allowNested ? "" : "> ") + ".dojoDndItem", this.parent); // NodeList
|
157
140
|
},
|
158
141
|
sync: function(){
|
159
142
|
// summary:
|
@@ -167,7 +150,7 @@ dojo.declare("dojo.dnd.Container", Evented, {
|
|
167
150
|
return;
|
168
151
|
}
|
169
152
|
}else{
|
170
|
-
node.id =
|
153
|
+
node.id = dnd.getUniqueId();
|
171
154
|
}
|
172
155
|
var type = node.getAttribute("dndType"),
|
173
156
|
data = node.getAttribute("dndData");
|
@@ -199,15 +182,16 @@ dojo.declare("dojo.dnd.Container", Evented, {
|
|
199
182
|
anchor = anchor.nextSibling;
|
200
183
|
}
|
201
184
|
}
|
185
|
+
var i, t;
|
202
186
|
if(anchor){
|
203
|
-
for(
|
204
|
-
|
187
|
+
for(i = 0; i < data.length; ++i){
|
188
|
+
t = this._normalizedCreator(data[i]);
|
205
189
|
this.setItem(t.node.id, {data: t.data, type: t.type});
|
206
|
-
|
190
|
+
anchor.parentNode.insertBefore(t.node, anchor);
|
207
191
|
}
|
208
192
|
}else{
|
209
|
-
for(
|
210
|
-
|
193
|
+
for(i = 0; i < data.length; ++i){
|
194
|
+
t = this._normalizedCreator(data[i]);
|
211
195
|
this.setItem(t.node.id, {data: t.data, type: t.type});
|
212
196
|
this.parent.appendChild(t.node);
|
213
197
|
}
|
@@ -217,15 +201,15 @@ dojo.declare("dojo.dnd.Container", Evented, {
|
|
217
201
|
destroy: function(){
|
218
202
|
// summary:
|
219
203
|
// prepares this object to be garbage-collected
|
220
|
-
|
204
|
+
array.forEach(this.events, function(handle){ handle.remove(); });
|
221
205
|
this.clearItems();
|
222
206
|
this.node = this.parent = this.current = null;
|
223
207
|
},
|
224
208
|
|
225
209
|
// markup methods
|
226
|
-
markupFactory: function(params, node,
|
210
|
+
markupFactory: function(params, node, Ctor){
|
227
211
|
params._skipStartup = true;
|
228
|
-
return new
|
212
|
+
return new Ctor(node, params);
|
229
213
|
},
|
230
214
|
startup: function(){
|
231
215
|
// summary:
|
@@ -240,7 +224,7 @@ dojo.declare("dojo.dnd.Container", Evented, {
|
|
240
224
|
if(c && c.length){ this.parent = c[0]; }
|
241
225
|
}
|
242
226
|
}
|
243
|
-
this.defaultCreator =
|
227
|
+
this.defaultCreator = dnd._defaultCreator(this.parent);
|
244
228
|
|
245
229
|
// process specially marked children
|
246
230
|
this.sync();
|
@@ -249,7 +233,7 @@ dojo.declare("dojo.dnd.Container", Evented, {
|
|
249
233
|
// mouse events
|
250
234
|
onMouseOver: function(e){
|
251
235
|
// summary:
|
252
|
-
// event processor for onmouseover
|
236
|
+
// event processor for onmouseover or touch, to mark that element as the current element
|
253
237
|
// e: Event
|
254
238
|
// mouse event
|
255
239
|
var n = e.relatedTarget;
|
@@ -296,8 +280,8 @@ dojo.declare("dojo.dnd.Container", Evented, {
|
|
296
280
|
// event processor for onselectevent and ondragevent
|
297
281
|
// e: Event
|
298
282
|
// mouse event
|
299
|
-
if(!this.skipForm || !
|
300
|
-
|
283
|
+
if(!this.skipForm || !dnd.isFormElement(e)){
|
284
|
+
event.stop(e);
|
301
285
|
}
|
302
286
|
},
|
303
287
|
|
@@ -319,8 +303,8 @@ dojo.declare("dojo.dnd.Container", Evented, {
|
|
319
303
|
// new state
|
320
304
|
var prefix = "dojoDnd" + type;
|
321
305
|
var state = type.toLowerCase() + "State";
|
322
|
-
//
|
323
|
-
|
306
|
+
//domClass.replace(this.node, prefix + newState, prefix + this[state]);
|
307
|
+
domClass.replace(this.node, prefix + newState, prefix + this[state]);
|
324
308
|
this[state] = newState;
|
325
309
|
},
|
326
310
|
_addItemClass: function(node, type){
|
@@ -330,7 +314,7 @@ dojo.declare("dojo.dnd.Container", Evented, {
|
|
330
314
|
// a node
|
331
315
|
// type: String
|
332
316
|
// a variable suffix for a class name
|
333
|
-
|
317
|
+
domClass.add(node, "dojoDndItem" + type);
|
334
318
|
},
|
335
319
|
_removeItemClass: function(node, type){
|
336
320
|
// summary:
|
@@ -339,7 +323,7 @@ dojo.declare("dojo.dnd.Container", Evented, {
|
|
339
323
|
// a node
|
340
324
|
// type: String
|
341
325
|
// a variable suffix for a class name
|
342
|
-
|
326
|
+
domClass.remove(node, "dojoDndItem" + type);
|
343
327
|
},
|
344
328
|
_getChildByEvent: function(e){
|
345
329
|
// summary:
|
@@ -349,66 +333,66 @@ dojo.declare("dojo.dnd.Container", Evented, {
|
|
349
333
|
var node = e.target;
|
350
334
|
if(node){
|
351
335
|
for(var parent = node.parentNode; parent; node = parent, parent = node.parentNode){
|
352
|
-
if(parent == this.parent &&
|
336
|
+
if((parent == this.parent || this.allowNested) && domClass.contains(node, "dojoDndItem")){ return node; }
|
353
337
|
}
|
354
338
|
}
|
355
339
|
return null;
|
356
340
|
},
|
357
|
-
_normalizedCreator: function(/*
|
341
|
+
_normalizedCreator: function(/*Container.Item*/ item, /*String*/ hint){
|
358
342
|
// summary:
|
359
343
|
// adds all necessary data to the output of the user-supplied creator function
|
360
344
|
var t = (this.creator || this.defaultCreator).call(this, item, hint);
|
361
|
-
if(!
|
362
|
-
if(!t.node.id){ t.node.id =
|
363
|
-
|
345
|
+
if(!lang.isArray(t.type)){ t.type = ["text"]; }
|
346
|
+
if(!t.node.id){ t.node.id = dnd.getUniqueId(); }
|
347
|
+
domClass.add(t.node, "dojoDndItem");
|
364
348
|
return t;
|
365
349
|
}
|
366
350
|
});
|
367
351
|
|
368
|
-
|
352
|
+
dnd._createNode = function(tag){
|
369
353
|
// summary:
|
370
354
|
// returns a function, which creates an element of given tag
|
371
355
|
// (SPAN by default) and sets its innerHTML to given text
|
372
356
|
// tag: String
|
373
357
|
// a tag name or empty for SPAN
|
374
|
-
if(!tag){ return
|
358
|
+
if(!tag){ return dnd._createSpan; }
|
375
359
|
return function(text){ // Function
|
376
|
-
return
|
360
|
+
return domConstruct.create(tag, {innerHTML: text}); // Node
|
377
361
|
};
|
378
362
|
};
|
379
363
|
|
380
|
-
|
364
|
+
dnd._createTrTd = function(text){
|
381
365
|
// summary:
|
382
366
|
// creates a TR/TD structure with given text as an innerHTML of TD
|
383
367
|
// text: String
|
384
368
|
// a text for TD
|
385
|
-
var tr =
|
386
|
-
|
369
|
+
var tr = domConstruct.create("tr");
|
370
|
+
domConstruct.create("td", {innerHTML: text}, tr);
|
387
371
|
return tr; // Node
|
388
372
|
};
|
389
373
|
|
390
|
-
|
374
|
+
dnd._createSpan = function(text){
|
391
375
|
// summary:
|
392
376
|
// creates a SPAN element with given text as its innerHTML
|
393
377
|
// text: String
|
394
378
|
// a text for SPAN
|
395
|
-
return
|
379
|
+
return domConstruct.create("span", {innerHTML: text}); // Node
|
396
380
|
};
|
397
381
|
|
398
|
-
//
|
382
|
+
// dnd._defaultCreatorNodes: Object
|
399
383
|
// a dictionary that maps container tag names to child tag names
|
400
|
-
|
384
|
+
dnd._defaultCreatorNodes = {ul: "li", ol: "li", div: "div", p: "div"};
|
401
385
|
|
402
|
-
|
386
|
+
dnd._defaultCreator = function(node){
|
403
387
|
// summary:
|
404
388
|
// takes a parent node, and returns an appropriate creator function
|
405
389
|
// node: Node
|
406
390
|
// a container node
|
407
391
|
var tag = node.tagName.toLowerCase();
|
408
|
-
var c = tag == "tbody" || tag == "thead" ?
|
409
|
-
|
392
|
+
var c = tag == "tbody" || tag == "thead" ? dnd._createTrTd :
|
393
|
+
dnd._createNode(dnd._defaultCreatorNodes[tag]);
|
410
394
|
return function(item, hint){ // Function
|
411
|
-
var isObj = item &&
|
395
|
+
var isObj = item && lang.isObject(item), data, type, n;
|
412
396
|
if(isObj && item.tagName && item.nodeType && item.getAttribute){
|
413
397
|
// process a DOM node
|
414
398
|
data = item.getAttribute("dndData") || item.innerHTML;
|
@@ -419,14 +403,54 @@ dojo.dnd._defaultCreator = function(node){
|
|
419
403
|
// process a DnD item object or a string
|
420
404
|
data = (isObj && item.data) ? item.data : item;
|
421
405
|
type = (isObj && item.type) ? item.type : ["text"];
|
422
|
-
n = (hint == "avatar" ?
|
406
|
+
n = (hint == "avatar" ? dnd._createSpan : c)(String(data));
|
423
407
|
}
|
424
408
|
if(!n.id){
|
425
|
-
n.id =
|
409
|
+
n.id = dnd.getUniqueId();
|
426
410
|
}
|
427
411
|
return {node: n, data: data, type: type};
|
428
412
|
};
|
429
413
|
};
|
430
414
|
|
431
|
-
|
415
|
+
/*=====
|
416
|
+
Container.__ContainerArgs = declare([], {
|
417
|
+
creator: function(){
|
418
|
+
// summary:
|
419
|
+
// a creator function, which takes a data item, and returns an object like that:
|
420
|
+
// {node: newNode, data: usedData, type: arrayOfStrings}
|
421
|
+
},
|
422
|
+
|
423
|
+
// skipForm: Boolean
|
424
|
+
// don't start the drag operation, if clicked on form elements
|
425
|
+
skipForm: false,
|
426
|
+
|
427
|
+
// dropParent: Node||String
|
428
|
+
// node or node's id to use as the parent node for dropped items
|
429
|
+
// (must be underneath the 'node' parameter in the DOM)
|
430
|
+
dropParent: null,
|
431
|
+
|
432
|
+
// _skipStartup: Boolean
|
433
|
+
// skip startup(), which collects children, for deferred initialization
|
434
|
+
// (this is used in the markup mode)
|
435
|
+
_skipStartup: false
|
436
|
+
});
|
437
|
+
|
438
|
+
Container.Item = function(){
|
439
|
+
// summary:
|
440
|
+
// Represents (one of) the source node(s) being dragged.
|
441
|
+
// Contains (at least) the "type" and "data" attributes.
|
442
|
+
// type: String[]
|
443
|
+
// Type(s) of this item, by default this is ["text"]
|
444
|
+
// data: Object
|
445
|
+
// Logical representation of the object being dragged.
|
446
|
+
// If the drag object's type is "text" then data is a String,
|
447
|
+
// if it's another type then data could be a different Object,
|
448
|
+
// perhaps a name/value hash.
|
449
|
+
|
450
|
+
this.type = type;
|
451
|
+
this.data = data;
|
452
|
+
};
|
453
|
+
=====*/
|
454
|
+
|
455
|
+
return Container;
|
432
456
|
});
|
@@ -5,8 +5,8 @@
|
|
5
5
|
*/
|
6
6
|
|
7
7
|
//>>built
|
8
|
-
define("dojo/dnd/Manager",["../
|
9
|
-
var
|
8
|
+
define("dojo/dnd/Manager",["../_base/array","../_base/declare","../_base/event","../_base/lang","../_base/window","../dom-class","../Evented","../has","../keys","../on","../topic","../touch","./common","./autoscroll","./Avatar"],function(_1,_2,_3,_4,_5,_6,_7,_8,_9,on,_a,_b,_c,_d,_e){
|
9
|
+
var _f=_2("dojo.dnd.Manager",[_7],{constructor:function(){
|
10
10
|
this.avatar=null;
|
11
11
|
this.source=null;
|
12
12
|
this.nodes=[];
|
@@ -14,109 +14,115 @@ this.copy=true;
|
|
14
14
|
this.target=null;
|
15
15
|
this.canDropFlag=false;
|
16
16
|
this.events=[];
|
17
|
-
},OFFSET_X:16,OFFSET_Y:16,overSource:function(
|
17
|
+
},OFFSET_X:_8("touch")?0:16,OFFSET_Y:_8("touch")?-64:16,overSource:function(_10){
|
18
18
|
if(this.avatar){
|
19
|
-
this.target=(
|
19
|
+
this.target=(_10&&_10.targetState!="Disabled")?_10:null;
|
20
20
|
this.canDropFlag=Boolean(this.target);
|
21
21
|
this.avatar.update();
|
22
22
|
}
|
23
|
-
|
24
|
-
},outSource:function(
|
23
|
+
_a.publish("/dnd/source/over",_10);
|
24
|
+
},outSource:function(_11){
|
25
25
|
if(this.avatar){
|
26
|
-
if(this.target==
|
26
|
+
if(this.target==_11){
|
27
27
|
this.target=null;
|
28
28
|
this.canDropFlag=false;
|
29
29
|
this.avatar.update();
|
30
|
-
|
30
|
+
_a.publish("/dnd/source/over",null);
|
31
31
|
}
|
32
32
|
}else{
|
33
|
-
|
33
|
+
_a.publish("/dnd/source/over",null);
|
34
34
|
}
|
35
|
-
},startDrag:function(
|
36
|
-
|
37
|
-
this.
|
38
|
-
this.
|
35
|
+
},startDrag:function(_12,_13,_14){
|
36
|
+
_d.autoScrollStart(_5.doc);
|
37
|
+
this.source=_12;
|
38
|
+
this.nodes=_13;
|
39
|
+
this.copy=Boolean(_14);
|
39
40
|
this.avatar=this.makeAvatar();
|
40
|
-
|
41
|
-
|
42
|
-
this.events=[
|
43
|
-
var c="dojoDnd"+(
|
44
|
-
|
45
|
-
},canDrop:function(
|
46
|
-
var
|
47
|
-
if(this.canDropFlag!=
|
48
|
-
this.canDropFlag=
|
41
|
+
_5.body().appendChild(this.avatar.node);
|
42
|
+
_a.publish("/dnd/start",_12,_13,this.copy);
|
43
|
+
this.events=[on(_5.doc,_b.move,_4.hitch(this,"onMouseMove")),on(_5.doc,_b.release,_4.hitch(this,"onMouseUp")),on(_5.doc,"keydown",_4.hitch(this,"onKeyDown")),on(_5.doc,"keyup",_4.hitch(this,"onKeyUp")),on(_5.doc,"dragstart",_3.stop),on(_5.body(),"selectstart",_3.stop)];
|
44
|
+
var c="dojoDnd"+(_14?"Copy":"Move");
|
45
|
+
_6.add(_5.body(),c);
|
46
|
+
},canDrop:function(_15){
|
47
|
+
var _16=Boolean(this.target&&_15);
|
48
|
+
if(this.canDropFlag!=_16){
|
49
|
+
this.canDropFlag=_16;
|
49
50
|
this.avatar.update();
|
50
51
|
}
|
51
52
|
},stopDrag:function(){
|
52
|
-
|
53
|
-
_1.forEach(this.events,
|
53
|
+
_6.remove(_5.body(),["dojoDndCopy","dojoDndMove"]);
|
54
|
+
_1.forEach(this.events,function(_17){
|
55
|
+
_17.remove();
|
56
|
+
});
|
54
57
|
this.events=[];
|
55
58
|
this.avatar.destroy();
|
56
59
|
this.avatar=null;
|
57
60
|
this.source=this.target=null;
|
58
61
|
this.nodes=[];
|
59
62
|
},makeAvatar:function(){
|
60
|
-
return new
|
63
|
+
return new _e(this);
|
61
64
|
},updateAvatar:function(){
|
62
65
|
this.avatar.update();
|
63
66
|
},onMouseMove:function(e){
|
64
67
|
var a=this.avatar;
|
65
68
|
if(a){
|
66
|
-
|
69
|
+
_d.autoScrollNodes(e);
|
67
70
|
var s=a.node.style;
|
68
71
|
s.left=(e.pageX+this.OFFSET_X)+"px";
|
69
72
|
s.top=(e.pageY+this.OFFSET_Y)+"px";
|
70
|
-
var
|
71
|
-
if(this.copy!=
|
72
|
-
this._setCopyStatus(
|
73
|
+
var _18=Boolean(this.source.copyState(_c.getCopyKeyState(e)));
|
74
|
+
if(this.copy!=_18){
|
75
|
+
this._setCopyStatus(_18);
|
76
|
+
}
|
73
77
|
}
|
78
|
+
if(_8("touch")){
|
79
|
+
e.preventDefault();
|
74
80
|
}
|
75
81
|
},onMouseUp:function(e){
|
76
82
|
if(this.avatar){
|
77
83
|
if(this.target&&this.canDropFlag){
|
78
|
-
var
|
79
|
-
|
80
|
-
|
84
|
+
var _19=Boolean(this.source.copyState(_c.getCopyKeyState(e)));
|
85
|
+
_a.publish("/dnd/drop/before",this.source,this.nodes,_19,this.target,e);
|
86
|
+
_a.publish("/dnd/drop",this.source,this.nodes,_19,this.target,e);
|
81
87
|
}else{
|
82
|
-
|
88
|
+
_a.publish("/dnd/cancel");
|
83
89
|
}
|
84
90
|
this.stopDrag();
|
85
91
|
}
|
86
92
|
},onKeyDown:function(e){
|
87
93
|
if(this.avatar){
|
88
94
|
switch(e.keyCode){
|
89
|
-
case
|
90
|
-
var
|
91
|
-
if(this.copy!=
|
92
|
-
this._setCopyStatus(
|
95
|
+
case _9.CTRL:
|
96
|
+
var _1a=Boolean(this.source.copyState(true));
|
97
|
+
if(this.copy!=_1a){
|
98
|
+
this._setCopyStatus(_1a);
|
93
99
|
}
|
94
100
|
break;
|
95
|
-
case
|
96
|
-
|
101
|
+
case _9.ESCAPE:
|
102
|
+
_a.publish("/dnd/cancel");
|
97
103
|
this.stopDrag();
|
98
104
|
break;
|
99
105
|
}
|
100
106
|
}
|
101
107
|
},onKeyUp:function(e){
|
102
|
-
if(this.avatar&&e.keyCode==
|
103
|
-
var
|
104
|
-
if(this.copy!=
|
105
|
-
this._setCopyStatus(
|
108
|
+
if(this.avatar&&e.keyCode==_9.CTRL){
|
109
|
+
var _1b=Boolean(this.source.copyState(false));
|
110
|
+
if(this.copy!=_1b){
|
111
|
+
this._setCopyStatus(_1b);
|
106
112
|
}
|
107
113
|
}
|
108
|
-
},_setCopyStatus:function(
|
109
|
-
this.copy=
|
114
|
+
},_setCopyStatus:function(_1c){
|
115
|
+
this.copy=_1c;
|
110
116
|
this.source._markDndStatus(this.copy);
|
111
117
|
this.updateAvatar();
|
112
|
-
|
118
|
+
_6.replace(_5.body(),"dojoDnd"+(this.copy?"Copy":"Move"),"dojoDnd"+(this.copy?"Move":"Copy"));
|
113
119
|
}});
|
114
|
-
|
115
|
-
|
116
|
-
if(!
|
117
|
-
|
120
|
+
_c._manager=null;
|
121
|
+
_f.manager=_c.manager=function(){
|
122
|
+
if(!_c._manager){
|
123
|
+
_c._manager=new _f();
|
118
124
|
}
|
119
|
-
return
|
125
|
+
return _c._manager;
|
120
126
|
};
|
121
|
-
return
|
127
|
+
return _f;
|
122
128
|
});
|