dojo-rails 0.9.8 → 0.9.9
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +18 -0
- data/Gemfile +4 -0
- data/LICENSE +22 -0
- data/Rakefile +3 -0
- data/dojo-rails.gemspec +20 -0
- data/lib/dojo-rails.rb +1 -0
- data/lib/dojo/rails.rb +2 -0
- data/lib/dojo/rails/engine.rb +6 -0
- data/lib/dojo/rails/version.rb +9 -0
- data/lib/dojo/version.rb +7 -0
- data/vendor/assets/javascripts/dojo.js +15 -0
- data/vendor/assets/javascripts/dojo/AdapterRegistry.js +38 -0
- data/vendor/assets/javascripts/dojo/AdapterRegistry.js.uncompressed.js +113 -0
- data/vendor/assets/javascripts/dojo/DeferredList.js +57 -0
- data/vendor/assets/javascripts/dojo/DeferredList.js.uncompressed.js +86 -0
- data/vendor/assets/javascripts/dojo/Evented.js +23 -0
- data/vendor/assets/javascripts/dojo/Evented.js.uncompressed.js +32 -0
- data/vendor/assets/javascripts/dojo/LICENSE +195 -0
- data/vendor/assets/javascripts/dojo/NodeList-data.js +59 -0
- data/vendor/assets/javascripts/dojo/NodeList-data.js.uncompressed.js +181 -0
- data/vendor/assets/javascripts/dojo/NodeList-dom.js +122 -0
- data/vendor/assets/javascripts/dojo/NodeList-dom.js.uncompressed.js +454 -0
- data/vendor/assets/javascripts/dojo/NodeList-fx.js +39 -0
- data/vendor/assets/javascripts/dojo/NodeList-fx.js.uncompressed.js +222 -0
- data/vendor/assets/javascripts/dojo/NodeList-html.js +20 -0
- data/vendor/assets/javascripts/dojo/NodeList-html.js.uncompressed.js +55 -0
- data/vendor/assets/javascripts/dojo/NodeList-manipulate.js +210 -0
- data/vendor/assets/javascripts/dojo/NodeList-manipulate.js.uncompressed.js +730 -0
- data/vendor/assets/javascripts/dojo/NodeList-traverse.js +124 -0
- data/vendor/assets/javascripts/dojo/NodeList-traverse.js.uncompressed.js +508 -0
- data/vendor/assets/javascripts/dojo/OpenAjax.js +194 -0
- data/vendor/assets/javascripts/dojo/Stateful.js +67 -0
- data/vendor/assets/javascripts/dojo/Stateful.js.uncompressed.js +139 -0
- data/vendor/assets/javascripts/dojo/_base/Color.js +96 -0
- data/vendor/assets/javascripts/dojo/_base/Color.js.uncompressed.js +220 -0
- data/vendor/assets/javascripts/dojo/_base/Deferred.js +129 -0
- data/vendor/assets/javascripts/dojo/_base/Deferred.js.uncompressed.js +366 -0
- data/vendor/assets/javascripts/dojo/_base/NodeList.js +24 -0
- data/vendor/assets/javascripts/dojo/_base/NodeList.js.uncompressed.js +100 -0
- data/vendor/assets/javascripts/dojo/_base/array.js +142 -0
- data/vendor/assets/javascripts/dojo/_base/array.js.uncompressed.js +343 -0
- data/vendor/assets/javascripts/dojo/_base/browser.js +13 -0
- data/vendor/assets/javascripts/dojo/_base/browser.js.uncompressed.js +21 -0
- data/vendor/assets/javascripts/dojo/_base/config.js +26 -0
- data/vendor/assets/javascripts/dojo/_base/config.js.uncompressed.js +174 -0
- data/vendor/assets/javascripts/dojo/_base/configFirefoxExtension.js +334 -0
- data/vendor/assets/javascripts/dojo/_base/configNode.js +87 -0
- data/vendor/assets/javascripts/dojo/_base/configRhino.js +121 -0
- data/vendor/assets/javascripts/dojo/_base/configSpidermonkey.js +84 -0
- data/vendor/assets/javascripts/dojo/_base/connect.js +163 -0
- data/vendor/assets/javascripts/dojo/_base/connect.js.uncompressed.js +400 -0
- data/vendor/assets/javascripts/dojo/_base/declare.js +430 -0
- data/vendor/assets/javascripts/dojo/_base/declare.js.uncompressed.js +1050 -0
- data/vendor/assets/javascripts/dojo/_base/event.js +36 -0
- data/vendor/assets/javascripts/dojo/_base/event.js.uncompressed.js +51 -0
- data/vendor/assets/javascripts/dojo/_base/fx.js +295 -0
- data/vendor/assets/javascripts/dojo/_base/fx.js.uncompressed.js +666 -0
- data/vendor/assets/javascripts/dojo/_base/html.js +88 -0
- data/vendor/assets/javascripts/dojo/_base/html.js.uncompressed.js +389 -0
- data/vendor/assets/javascripts/dojo/_base/json.js +26 -0
- data/vendor/assets/javascripts/dojo/_base/json.js.uncompressed.js +85 -0
- data/vendor/assets/javascripts/dojo/_base/kernel.js +114 -0
- data/vendor/assets/javascripts/dojo/_base/kernel.js.uncompressed.js +302 -0
- data/vendor/assets/javascripts/dojo/_base/lang.js +178 -0
- data/vendor/assets/javascripts/dojo/_base/lang.js.uncompressed.js +707 -0
- data/vendor/assets/javascripts/dojo/_base/loader.js +258 -0
- data/vendor/assets/javascripts/dojo/_base/loader.js.uncompressed.js +718 -0
- data/vendor/assets/javascripts/dojo/_base/query.js +10 -0
- data/vendor/assets/javascripts/dojo/_base/query.js.uncompressed.js +3 -0
- data/vendor/assets/javascripts/dojo/_base/sniff.js +68 -0
- data/vendor/assets/javascripts/dojo/_base/sniff.js.uncompressed.js +187 -0
- data/vendor/assets/javascripts/dojo/_base/unload.js +21 -0
- data/vendor/assets/javascripts/dojo/_base/unload.js.uncompressed.js +81 -0
- data/vendor/assets/javascripts/dojo/_base/url.js +88 -0
- data/vendor/assets/javascripts/dojo/_base/url.js.uncompressed.js +111 -0
- data/vendor/assets/javascripts/dojo/_base/window.js +55 -0
- data/vendor/assets/javascripts/dojo/_base/window.js.uncompressed.js +126 -0
- data/vendor/assets/javascripts/dojo/_base/xhr.js +381 -0
- data/vendor/assets/javascripts/dojo/_base/xhr.js.uncompressed.js +830 -0
- data/vendor/assets/javascripts/dojo/_firebug/LICENSE +37 -0
- data/vendor/assets/javascripts/dojo/_firebug/errorIcon.png +0 -0
- data/vendor/assets/javascripts/dojo/_firebug/firebug.css +208 -0
- data/vendor/assets/javascripts/dojo/_firebug/firebug.js +897 -0
- data/vendor/assets/javascripts/dojo/_firebug/firebug.js.uncompressed.js +1183 -0
- data/vendor/assets/javascripts/dojo/_firebug/infoIcon.png +0 -0
- data/vendor/assets/javascripts/dojo/_firebug/tab_lft_norm.png +0 -0
- data/vendor/assets/javascripts/dojo/_firebug/tab_lft_over.png +0 -0
- data/vendor/assets/javascripts/dojo/_firebug/tab_rgt_norm.png +0 -0
- data/vendor/assets/javascripts/dojo/_firebug/tab_rgt_over.png +0 -0
- data/vendor/assets/javascripts/dojo/_firebug/warningIcon.png +0 -0
- data/vendor/assets/javascripts/dojo/aspect.js +98 -0
- data/vendor/assets/javascripts/dojo/aspect.js.uncompressed.js +207 -0
- data/vendor/assets/javascripts/dojo/back.js +238 -0
- data/vendor/assets/javascripts/dojo/back.js.uncompressed.js +397 -0
- data/vendor/assets/javascripts/dojo/behavior.js +92 -0
- data/vendor/assets/javascripts/dojo/behavior.js.uncompressed.js +248 -0
- data/vendor/assets/javascripts/dojo/cache.js +10 -0
- data/vendor/assets/javascripts/dojo/cache.js.uncompressed.js +9 -0
- data/vendor/assets/javascripts/dojo/cldr/LICENSE +29 -0
- data/vendor/assets/javascripts/dojo/cldr/README +18 -0
- data/vendor/assets/javascripts/dojo/cldr/monetary.js +23 -0
- data/vendor/assets/javascripts/dojo/cldr/monetary.js.uncompressed.js +35 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ar/buddhist.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ar/buddhist.js.uncompressed.js +115 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ar/currency.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ar/currency.js.uncompressed.js +16 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ar/gregorian.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ar/gregorian.js.uncompressed.js +240 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ar/hebrew.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ar/hebrew.js.uncompressed.js +124 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ar/islamic.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ar/islamic.js.uncompressed.js +156 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ar/number.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ar/number.js.uncompressed.js +18 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/buddhist.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/buddhist.js.uncompressed.js +267 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ca/currency.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ca/currency.js.uncompressed.js +15 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ca/gregorian.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ca/gregorian.js.uncompressed.js +235 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ca/number.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ca/number.js.uncompressed.js +22 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/cs/currency.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/cs/currency.js.uncompressed.js +15 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/cs/gregorian.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/cs/gregorian.js.uncompressed.js +215 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/cs/number.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/cs/number.js.uncompressed.js +22 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/currency.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/currency.js.uncompressed.js +48 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/da/buddhist.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/da/buddhist.js.uncompressed.js +141 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/da/currency.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/da/currency.js.uncompressed.js +16 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/da/gregorian.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/da/gregorian.js.uncompressed.js +237 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/da/islamic.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/da/islamic.js.uncompressed.js +87 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/da/number.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/da/number.js.uncompressed.js +22 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/de/buddhist.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/de/buddhist.js.uncompressed.js +130 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/de/currency.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/de/currency.js.uncompressed.js +17 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/de/gregorian.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/de/gregorian.js.uncompressed.js +237 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/de/islamic.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/de/islamic.js.uncompressed.js +172 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/de/number.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/de/number.js.uncompressed.js +22 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/el/buddhist.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/el/buddhist.js.uncompressed.js +120 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/el/currency.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/el/currency.js.uncompressed.js +15 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/el/gregorian.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/el/gregorian.js.uncompressed.js +241 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/el/hebrew.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/el/hebrew.js.uncompressed.js +73 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/el/number.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/el/number.js.uncompressed.js +20 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/en-au/currency.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/en-au/currency.js.uncompressed.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/en-au/gregorian.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/en-au/gregorian.js.uncompressed.js +17 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/en-au/number.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/en-au/number.js.uncompressed.js +7 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/en-ca/currency.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/en-ca/currency.js.uncompressed.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/en-ca/gregorian.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/en-ca/gregorian.js.uncompressed.js +20 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/en-gb/buddhist.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/en-gb/buddhist.js.uncompressed.js +101 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/en-gb/gregorian.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/en-gb/gregorian.js.uncompressed.js +23 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/en-gb/islamic.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/en-gb/islamic.js.uncompressed.js +153 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/en-gb/number.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/en-gb/number.js.uncompressed.js +7 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/en/buddhist.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/en/buddhist.js.uncompressed.js +109 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/en/currency.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/en/currency.js.uncompressed.js +17 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/en/gregorian.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/en/gregorian.js.uncompressed.js +229 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/en/islamic.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/en/islamic.js.uncompressed.js +166 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/en/number.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/en/number.js.uncompressed.js +23 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/es/buddhist.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/es/buddhist.js.uncompressed.js +125 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/es/currency.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/es/currency.js.uncompressed.js +15 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/es/gregorian.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/es/gregorian.js.uncompressed.js +238 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/es/islamic.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/es/islamic.js.uncompressed.js +179 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/es/number.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/es/number.js.uncompressed.js +21 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/fi/buddhist.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/fi/buddhist.js.uncompressed.js +166 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/fi/currency.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/fi/currency.js.uncompressed.js +22 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/fi/gregorian.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/fi/gregorian.js.uncompressed.js +239 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/fi/hebrew.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/fi/hebrew.js.uncompressed.js +176 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/fi/islamic.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/fi/islamic.js.uncompressed.js +155 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/fi/number.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/fi/number.js.uncompressed.js +22 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/fr-ch/gregorian.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/fr-ch/gregorian.js.uncompressed.js +9 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/fr-ch/number.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/fr-ch/number.js.uncompressed.js +9 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/fr/currency.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/fr/currency.js.uncompressed.js +23 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/fr/gregorian.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/fr/gregorian.js.uncompressed.js +247 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/fr/number.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/fr/number.js.uncompressed.js +22 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/gregorian.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/gregorian.js.uncompressed.js +294 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/he/currency.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/he/currency.js.uncompressed.js +15 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/he/gregorian.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/he/gregorian.js.uncompressed.js +213 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/he/hebrew.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/he/hebrew.js.uncompressed.js +125 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/he/islamic.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/he/islamic.js.uncompressed.js +119 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/he/number.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/he/number.js.uncompressed.js +22 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/hebrew.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/hebrew.js.uncompressed.js +265 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/hu/currency.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/hu/currency.js.uncompressed.js +17 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/hu/gregorian.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/hu/gregorian.js.uncompressed.js +227 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/hu/number.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/hu/number.js.uncompressed.js +21 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/islamic.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/islamic.js.uncompressed.js +264 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/it/currency.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/it/currency.js.uncompressed.js +15 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/it/gregorian.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/it/gregorian.js.uncompressed.js +235 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/it/number.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/it/number.js.uncompressed.js +12 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ja/currency.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ja/currency.js.uncompressed.js +18 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ja/gregorian.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ja/gregorian.js.uncompressed.js +222 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ja/number.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ja/number.js.uncompressed.js +12 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ko/currency.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ko/currency.js.uncompressed.js +15 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ko/gregorian.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ko/gregorian.js.uncompressed.js +243 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ko/number.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ko/number.js.uncompressed.js +22 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/nb/currency.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/nb/currency.js.uncompressed.js +23 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/nb/gregorian.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/nb/gregorian.js.uncompressed.js +234 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/nb/number.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/nb/number.js.uncompressed.js +22 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/nl/currency.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/nl/currency.js.uncompressed.js +15 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/nl/gregorian.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/nl/gregorian.js.uncompressed.js +233 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/nl/number.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/nl/number.js.uncompressed.js +22 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/number.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/number.js.uncompressed.js +64 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/pl/currency.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/pl/currency.js.uncompressed.js +15 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/pl/gregorian.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/pl/gregorian.js.uncompressed.js +242 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/pl/number.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/pl/number.js.uncompressed.js +22 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/pt-pt/gregorian.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/pt-pt/gregorian.js.uncompressed.js +141 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/pt-pt/number.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/pt-pt/number.js.uncompressed.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/pt/currency.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/pt/currency.js.uncompressed.js +15 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/pt/gregorian.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/pt/gregorian.js.uncompressed.js +237 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/pt/number.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/pt/number.js.uncompressed.js +22 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ro/buddhist.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ro/buddhist.js.uncompressed.js +121 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ro/currency.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ro/currency.js.uncompressed.js +15 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ro/gregorian.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ro/gregorian.js.uncompressed.js +251 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ro/number.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ro/number.js.uncompressed.js +22 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ru/currency.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ru/currency.js.uncompressed.js +16 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ru/gregorian.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ru/gregorian.js.uncompressed.js +232 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ru/number.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ru/number.js.uncompressed.js +21 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/sk/currency.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/sk/currency.js.uncompressed.js +15 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/sk/gregorian.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/sk/gregorian.js.uncompressed.js +225 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/sk/number.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/sk/number.js.uncompressed.js +9 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/sl/currency.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/sl/currency.js.uncompressed.js +17 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/sl/gregorian.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/sl/gregorian.js.uncompressed.js +218 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/sl/number.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/sl/number.js.uncompressed.js +22 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/sv/currency.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/sv/currency.js.uncompressed.js +18 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/sv/gregorian.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/sv/gregorian.js.uncompressed.js +245 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/sv/number.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/sv/number.js.uncompressed.js +22 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/th/buddhist.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/th/buddhist.js.uncompressed.js +118 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/th/currency.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/th/currency.js.uncompressed.js +16 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/th/gregorian.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/th/gregorian.js.uncompressed.js +232 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/th/number.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/th/number.js.uncompressed.js +22 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/tr/currency.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/tr/currency.js.uncompressed.js +17 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/tr/gregorian.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/tr/gregorian.js.uncompressed.js +239 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/tr/number.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/tr/number.js.uncompressed.js +22 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-hant/buddhist.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-hant/buddhist.js.uncompressed.js +146 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-hant/currency.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-hant/currency.js.uncompressed.js +16 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-hant/gregorian.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-hant/gregorian.js.uncompressed.js +228 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-hant/islamic.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-hant/islamic.js.uncompressed.js +87 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-hant/number.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-hant/number.js.uncompressed.js +7 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-hk/currency.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-hk/currency.js.uncompressed.js +15 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-hk/gregorian.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-hk/gregorian.js.uncompressed.js +85 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-hk/number.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-hk/number.js.uncompressed.js +7 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-tw/currency.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-tw/currency.js.uncompressed.js +14 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-tw/gregorian.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-tw/gregorian.js.uncompressed.js +80 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/zh/currency.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/zh/currency.js.uncompressed.js +16 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/zh/gregorian.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/zh/gregorian.js.uncompressed.js +247 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/zh/number.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/zh/number.js.uncompressed.js +12 -0
- data/vendor/assets/javascripts/dojo/cldr/supplemental.js +44 -0
- data/vendor/assets/javascripts/dojo/cldr/supplemental.js.uncompressed.js +77 -0
- data/vendor/assets/javascripts/dojo/colors.js +74 -0
- data/vendor/assets/javascripts/dojo/colors.js.uncompressed.js +232 -0
- data/vendor/assets/javascripts/dojo/cookie.js +49 -0
- data/vendor/assets/javascripts/dojo/cookie.js.uncompressed.js +98 -0
- data/vendor/assets/javascripts/dojo/currency.js +32 -0
- data/vendor/assets/javascripts/dojo/currency.js.uncompressed.js +132 -0
- data/vendor/assets/javascripts/dojo/data/ItemFileReadStore.js +561 -0
- data/vendor/assets/javascripts/dojo/data/ItemFileReadStore.js.uncompressed.js +945 -0
- data/vendor/assets/javascripts/dojo/data/ItemFileWriteStore.js +499 -0
- data/vendor/assets/javascripts/dojo/data/ItemFileWriteStore.js.uncompressed.js +805 -0
- data/vendor/assets/javascripts/dojo/data/ObjectStore.js +285 -0
- data/vendor/assets/javascripts/dojo/data/ObjectStore.js.uncompressed.js +505 -0
- data/vendor/assets/javascripts/dojo/data/api/Identity.js +21 -0
- data/vendor/assets/javascripts/dojo/data/api/Identity.js.uncompressed.js +107 -0
- data/vendor/assets/javascripts/dojo/data/api/Notification.js +19 -0
- data/vendor/assets/javascripts/dojo/data/api/Notification.js.uncompressed.js +122 -0
- data/vendor/assets/javascripts/dojo/data/api/Read.js +39 -0
- data/vendor/assets/javascripts/dojo/data/api/Read.js.uncompressed.js +485 -0
- data/vendor/assets/javascripts/dojo/data/api/Request.js +13 -0
- data/vendor/assets/javascripts/dojo/data/api/Request.js.uncompressed.js +36 -0
- data/vendor/assets/javascripts/dojo/data/api/Write.js +29 -0
- data/vendor/assets/javascripts/dojo/data/api/Write.js.uncompressed.js +221 -0
- data/vendor/assets/javascripts/dojo/data/util/filter.js +52 -0
- data/vendor/assets/javascripts/dojo/data/util/filter.js.uncompressed.js +74 -0
- data/vendor/assets/javascripts/dojo/data/util/simpleFetch.js +63 -0
- data/vendor/assets/javascripts/dojo/data/util/simpleFetch.js.uncompressed.js +95 -0
- data/vendor/assets/javascripts/dojo/data/util/sorter.js +66 -0
- data/vendor/assets/javascripts/dojo/data/util/sorter.js.uncompressed.js +99 -0
- data/vendor/assets/javascripts/dojo/date.js +213 -0
- data/vendor/assets/javascripts/dojo/date.js.uncompressed.js +347 -0
- data/vendor/assets/javascripts/dojo/date/locale.js +452 -0
- data/vendor/assets/javascripts/dojo/date/locale.js.uncompressed.js +670 -0
- data/vendor/assets/javascripts/dojo/date/stamp.js +82 -0
- data/vendor/assets/javascripts/dojo/date/stamp.js.uncompressed.js +146 -0
- data/vendor/assets/javascripts/dojo/dnd/AutoSource.js +12 -0
- data/vendor/assets/javascripts/dojo/dnd/AutoSource.js.uncompressed.js +13 -0
- data/vendor/assets/javascripts/dojo/dnd/Avatar.js +62 -0
- data/vendor/assets/javascripts/dojo/dnd/Avatar.js.uncompressed.js +111 -0
- data/vendor/assets/javascripts/dojo/dnd/Container.js +231 -0
- data/vendor/assets/javascripts/dojo/dnd/Container.js.uncompressed.js +432 -0
- data/vendor/assets/javascripts/dojo/dnd/Manager.js +122 -0
- data/vendor/assets/javascripts/dojo/dnd/Manager.js.uncompressed.js +213 -0
- data/vendor/assets/javascripts/dojo/dnd/Moveable.js +75 -0
- data/vendor/assets/javascripts/dojo/dnd/Moveable.js.uncompressed.js +173 -0
- data/vendor/assets/javascripts/dojo/dnd/Mover.js +62 -0
- data/vendor/assets/javascripts/dojo/dnd/Mover.js.uncompressed.js +119 -0
- data/vendor/assets/javascripts/dojo/dnd/Selector.js +233 -0
- data/vendor/assets/javascripts/dojo/dnd/Selector.js.uncompressed.js +324 -0
- data/vendor/assets/javascripts/dojo/dnd/Source.js +284 -0
- data/vendor/assets/javascripts/dojo/dnd/Source.js.uncompressed.js +513 -0
- data/vendor/assets/javascripts/dojo/dnd/Target.js +13 -0
- data/vendor/assets/javascripts/dojo/dnd/Target.js.uncompressed.js +13 -0
- data/vendor/assets/javascripts/dojo/dnd/TimedMoveable.js +34 -0
- data/vendor/assets/javascripts/dojo/dnd/TimedMoveable.js.uncompressed.js +69 -0
- data/vendor/assets/javascripts/dojo/dnd/autoscroll.js +96 -0
- data/vendor/assets/javascripts/dojo/dnd/autoscroll.js.uncompressed.js +118 -0
- data/vendor/assets/javascripts/dojo/dnd/common.js +28 -0
- data/vendor/assets/javascripts/dojo/dnd/common.js.uncompressed.js +35 -0
- data/vendor/assets/javascripts/dojo/dnd/move.js +66 -0
- data/vendor/assets/javascripts/dojo/dnd/move.js.uncompressed.js +143 -0
- data/vendor/assets/javascripts/dojo/dojo.js +1872 -0
- data/vendor/assets/javascripts/dojo/dojo.js.uncompressed.js +16408 -0
- data/vendor/assets/javascripts/dojo/dojo.profile.js +40 -0
- data/vendor/assets/javascripts/dojo/dom-attr.js +62 -0
- data/vendor/assets/javascripts/dojo/dom-attr.js.uncompressed.js +238 -0
- data/vendor/assets/javascripts/dojo/dom-class.js +89 -0
- data/vendor/assets/javascripts/dojo/dom-class.js.uncompressed.js +320 -0
- data/vendor/assets/javascripts/dojo/dom-construct.js +141 -0
- data/vendor/assets/javascripts/dojo/dom-construct.js.uncompressed.js +376 -0
- data/vendor/assets/javascripts/dojo/dom-form.js +81 -0
- data/vendor/assets/javascripts/dojo/dom-form.js.uncompressed.js +166 -0
- data/vendor/assets/javascripts/dojo/dom-geometry.js +214 -0
- data/vendor/assets/javascripts/dojo/dom-geometry.js.uncompressed.js +751 -0
- data/vendor/assets/javascripts/dojo/dom-prop.js +69 -0
- data/vendor/assets/javascripts/dojo/dom-prop.js.uncompressed.js +190 -0
- data/vendor/assets/javascripts/dojo/dom-style.js +158 -0
- data/vendor/assets/javascripts/dojo/dom-style.js.uncompressed.js +321 -0
- data/vendor/assets/javascripts/dojo/dom.js +74 -0
- data/vendor/assets/javascripts/dojo/dom.js.uncompressed.js +156 -0
- data/vendor/assets/javascripts/dojo/domReady.js +95 -0
- data/vendor/assets/javascripts/dojo/domReady.js.uncompressed.js +95 -0
- data/vendor/assets/javascripts/dojo/fx.js +260 -0
- data/vendor/assets/javascripts/dojo/fx.js.uncompressed.js +426 -0
- data/vendor/assets/javascripts/dojo/fx/Toggler.js +28 -0
- data/vendor/assets/javascripts/dojo/fx/Toggler.js.uncompressed.js +103 -0
- data/vendor/assets/javascripts/dojo/fx/easing.js +166 -0
- data/vendor/assets/javascripts/dojo/fx/easing.js.uncompressed.js +284 -0
- data/vendor/assets/javascripts/dojo/gears.js +44 -0
- data/vendor/assets/javascripts/dojo/gears.js.uncompressed.js +61 -0
- data/vendor/assets/javascripts/dojo/has.js +66 -0
- data/vendor/assets/javascripts/dojo/has.js.uncompressed.js +178 -0
- data/vendor/assets/javascripts/dojo/hash.js +137 -0
- data/vendor/assets/javascripts/dojo/hash.js.uncompressed.js +243 -0
- data/vendor/assets/javascripts/dojo/html.js +148 -0
- data/vendor/assets/javascripts/dojo/html.js.uncompressed.js +342 -0
- data/vendor/assets/javascripts/dojo/i18n.js +211 -0
- data/vendor/assets/javascripts/dojo/i18n.js.uncompressed.js +514 -0
- data/vendor/assets/javascripts/dojo/io-query.js +53 -0
- data/vendor/assets/javascripts/dojo/io-query.js.uncompressed.js +98 -0
- data/vendor/assets/javascripts/dojo/io/iframe.js +230 -0
- data/vendor/assets/javascripts/dojo/io/iframe.js.uncompressed.js +376 -0
- data/vendor/assets/javascripts/dojo/io/script.js +114 -0
- data/vendor/assets/javascripts/dojo/io/script.js.uncompressed.js +256 -0
- data/vendor/assets/javascripts/dojo/jaxer.js +18 -0
- data/vendor/assets/javascripts/dojo/jaxer.js.uncompressed.js +19 -0
- data/vendor/assets/javascripts/dojo/json.js +102 -0
- data/vendor/assets/javascripts/dojo/json.js.uncompressed.js +149 -0
- data/vendor/assets/javascripts/dojo/keys.js +10 -0
- data/vendor/assets/javascripts/dojo/keys.js.uncompressed.js +80 -0
- data/vendor/assets/javascripts/dojo/loadInit.js +12 -0
- data/vendor/assets/javascripts/dojo/loadInit.js.uncompressed.js +7 -0
- data/vendor/assets/javascripts/dojo/main.js +29 -0
- data/vendor/assets/javascripts/dojo/main.js.uncompressed.js +50 -0
- data/vendor/assets/javascripts/dojo/mouse.js +48 -0
- data/vendor/assets/javascripts/dojo/mouse.js.uncompressed.js +127 -0
- data/vendor/assets/javascripts/dojo/nls/ar/colors.js +8 -0
- data/vendor/assets/javascripts/dojo/nls/ar/colors.js.uncompressed.js +156 -0
- data/vendor/assets/javascripts/dojo/nls/az/colors.js +8 -0
- data/vendor/assets/javascripts/dojo/nls/az/colors.js.uncompressed.js +153 -0
- data/vendor/assets/javascripts/dojo/nls/ca/colors.js +8 -0
- data/vendor/assets/javascripts/dojo/nls/ca/colors.js.uncompressed.js +156 -0
- data/vendor/assets/javascripts/dojo/nls/colors.js +8 -0
- data/vendor/assets/javascripts/dojo/nls/colors.js.uncompressed.js +191 -0
- data/vendor/assets/javascripts/dojo/nls/cs/colors.js +8 -0
- data/vendor/assets/javascripts/dojo/nls/cs/colors.js.uncompressed.js +156 -0
- data/vendor/assets/javascripts/dojo/nls/da/colors.js +8 -0
- data/vendor/assets/javascripts/dojo/nls/da/colors.js.uncompressed.js +156 -0
- data/vendor/assets/javascripts/dojo/nls/de/colors.js +8 -0
- data/vendor/assets/javascripts/dojo/nls/de/colors.js.uncompressed.js +156 -0
- data/vendor/assets/javascripts/dojo/nls/el/colors.js +8 -0
- data/vendor/assets/javascripts/dojo/nls/el/colors.js.uncompressed.js +156 -0
- data/vendor/assets/javascripts/dojo/nls/es/colors.js +8 -0
- data/vendor/assets/javascripts/dojo/nls/es/colors.js.uncompressed.js +156 -0
- data/vendor/assets/javascripts/dojo/nls/fi/colors.js +8 -0
- data/vendor/assets/javascripts/dojo/nls/fi/colors.js.uncompressed.js +156 -0
- data/vendor/assets/javascripts/dojo/nls/fr/colors.js +8 -0
- data/vendor/assets/javascripts/dojo/nls/fr/colors.js.uncompressed.js +156 -0
- data/vendor/assets/javascripts/dojo/nls/he/colors.js +8 -0
- data/vendor/assets/javascripts/dojo/nls/he/colors.js.uncompressed.js +158 -0
- data/vendor/assets/javascripts/dojo/nls/hr/colors.js +8 -0
- data/vendor/assets/javascripts/dojo/nls/hr/colors.js.uncompressed.js +156 -0
- data/vendor/assets/javascripts/dojo/nls/hu/colors.js +8 -0
- data/vendor/assets/javascripts/dojo/nls/hu/colors.js.uncompressed.js +156 -0
- data/vendor/assets/javascripts/dojo/nls/it/colors.js +8 -0
- data/vendor/assets/javascripts/dojo/nls/it/colors.js.uncompressed.js +156 -0
- data/vendor/assets/javascripts/dojo/nls/ja/colors.js +8 -0
- data/vendor/assets/javascripts/dojo/nls/ja/colors.js.uncompressed.js +156 -0
- data/vendor/assets/javascripts/dojo/nls/kk/colors.js +8 -0
- data/vendor/assets/javascripts/dojo/nls/kk/colors.js.uncompressed.js +156 -0
- data/vendor/assets/javascripts/dojo/nls/ko/colors.js +8 -0
- data/vendor/assets/javascripts/dojo/nls/ko/colors.js.uncompressed.js +156 -0
- data/vendor/assets/javascripts/dojo/nls/nb/colors.js +8 -0
- data/vendor/assets/javascripts/dojo/nls/nb/colors.js.uncompressed.js +156 -0
- data/vendor/assets/javascripts/dojo/nls/nl/colors.js +8 -0
- data/vendor/assets/javascripts/dojo/nls/nl/colors.js.uncompressed.js +156 -0
- data/vendor/assets/javascripts/dojo/nls/pl/colors.js +8 -0
- data/vendor/assets/javascripts/dojo/nls/pl/colors.js.uncompressed.js +156 -0
- data/vendor/assets/javascripts/dojo/nls/pt-pt/colors.js +8 -0
- data/vendor/assets/javascripts/dojo/nls/pt-pt/colors.js.uncompressed.js +156 -0
- data/vendor/assets/javascripts/dojo/nls/pt/colors.js +8 -0
- data/vendor/assets/javascripts/dojo/nls/pt/colors.js.uncompressed.js +156 -0
- data/vendor/assets/javascripts/dojo/nls/ro/colors.js +8 -0
- data/vendor/assets/javascripts/dojo/nls/ro/colors.js.uncompressed.js +156 -0
- data/vendor/assets/javascripts/dojo/nls/ru/colors.js +8 -0
- data/vendor/assets/javascripts/dojo/nls/ru/colors.js.uncompressed.js +156 -0
- data/vendor/assets/javascripts/dojo/nls/sk/colors.js +8 -0
- data/vendor/assets/javascripts/dojo/nls/sk/colors.js.uncompressed.js +156 -0
- data/vendor/assets/javascripts/dojo/nls/sl/colors.js +8 -0
- data/vendor/assets/javascripts/dojo/nls/sl/colors.js.uncompressed.js +156 -0
- data/vendor/assets/javascripts/dojo/nls/sv/colors.js +8 -0
- data/vendor/assets/javascripts/dojo/nls/sv/colors.js.uncompressed.js +156 -0
- data/vendor/assets/javascripts/dojo/nls/th/colors.js +8 -0
- data/vendor/assets/javascripts/dojo/nls/th/colors.js.uncompressed.js +156 -0
- data/vendor/assets/javascripts/dojo/nls/tr/colors.js +8 -0
- data/vendor/assets/javascripts/dojo/nls/tr/colors.js.uncompressed.js +156 -0
- data/vendor/assets/javascripts/dojo/nls/zh-tw/colors.js +8 -0
- data/vendor/assets/javascripts/dojo/nls/zh-tw/colors.js.uncompressed.js +156 -0
- data/vendor/assets/javascripts/dojo/nls/zh/colors.js +8 -0
- data/vendor/assets/javascripts/dojo/nls/zh/colors.js.uncompressed.js +156 -0
- data/vendor/assets/javascripts/dojo/number.js +305 -0
- data/vendor/assets/javascripts/dojo/number.js.uncompressed.js +576 -0
- data/vendor/assets/javascripts/dojo/on.js +311 -0
- data/vendor/assets/javascripts/dojo/on.js.uncompressed.js +474 -0
- data/vendor/assets/javascripts/dojo/package.json +23 -0
- data/vendor/assets/javascripts/dojo/parser.js +299 -0
- data/vendor/assets/javascripts/dojo/parser.js.uncompressed.js +594 -0
- data/vendor/assets/javascripts/dojo/query.js +195 -0
- data/vendor/assets/javascripts/dojo/query.js.uncompressed.js +713 -0
- data/vendor/assets/javascripts/dojo/ready.js +82 -0
- data/vendor/assets/javascripts/dojo/ready.js.uncompressed.js +138 -0
- data/vendor/assets/javascripts/dojo/regexp.js +32 -0
- data/vendor/assets/javascripts/dojo/regexp.js.uncompressed.js +73 -0
- data/vendor/assets/javascripts/dojo/require.js +12 -0
- data/vendor/assets/javascripts/dojo/require.js.uncompressed.js +7 -0
- data/vendor/assets/javascripts/dojo/resources/LICENSE +30 -0
- data/vendor/assets/javascripts/dojo/resources/_modules.js +36 -0
- data/vendor/assets/javascripts/dojo/resources/blank.gif +0 -0
- data/vendor/assets/javascripts/dojo/resources/blank.html +1 -0
- data/vendor/assets/javascripts/dojo/resources/dnd.css +14 -0
- data/vendor/assets/javascripts/dojo/resources/dojo.css +98 -0
- data/vendor/assets/javascripts/dojo/resources/iframe_history.html +44 -0
- data/vendor/assets/javascripts/dojo/resources/images/dndCopy.png +0 -0
- data/vendor/assets/javascripts/dojo/resources/images/dndMove.png +0 -0
- data/vendor/assets/javascripts/dojo/resources/images/dndNoCopy.png +0 -0
- data/vendor/assets/javascripts/dojo/resources/images/dndNoMove.png +0 -0
- data/vendor/assets/javascripts/dojo/rpc/JsonService.js +34 -0
- data/vendor/assets/javascripts/dojo/rpc/JsonService.js.uncompressed.js +85 -0
- data/vendor/assets/javascripts/dojo/rpc/JsonpService.js +29 -0
- data/vendor/assets/javascripts/dojo/rpc/JsonpService.js.uncompressed.js +67 -0
- data/vendor/assets/javascripts/dojo/rpc/RpcService.js +87 -0
- data/vendor/assets/javascripts/dojo/rpc/RpcService.js.uncompressed.js +175 -0
- data/vendor/assets/javascripts/dojo/selector/_loader.js +40 -0
- data/vendor/assets/javascripts/dojo/selector/_loader.js.uncompressed.js +45 -0
- data/vendor/assets/javascripts/dojo/selector/acme.js +765 -0
- data/vendor/assets/javascripts/dojo/selector/acme.js.uncompressed.js +1480 -0
- data/vendor/assets/javascripts/dojo/selector/lite.js +213 -0
- data/vendor/assets/javascripts/dojo/selector/lite.js.uncompressed.js +264 -0
- data/vendor/assets/javascripts/dojo/store/Cache.js +47 -0
- data/vendor/assets/javascripts/dojo/store/Cache.js.uncompressed.js +148 -0
- data/vendor/assets/javascripts/dojo/store/DataStore.js +103 -0
- data/vendor/assets/javascripts/dojo/store/DataStore.js.uncompressed.js +170 -0
- data/vendor/assets/javascripts/dojo/store/JsonRest.js +56 -0
- data/vendor/assets/javascripts/dojo/store/JsonRest.js.uncompressed.js +155 -0
- data/vendor/assets/javascripts/dojo/store/Memory.js +55 -0
- data/vendor/assets/javascripts/dojo/store/Memory.js.uncompressed.js +161 -0
- data/vendor/assets/javascripts/dojo/store/Observable.js +125 -0
- data/vendor/assets/javascripts/dojo/store/Observable.js.uncompressed.js +175 -0
- data/vendor/assets/javascripts/dojo/store/README +10 -0
- data/vendor/assets/javascripts/dojo/store/api/Store.js +52 -0
- data/vendor/assets/javascripts/dojo/store/api/Store.js.uncompressed.js +297 -0
- data/vendor/assets/javascripts/dojo/store/util/QueryResults.js +39 -0
- data/vendor/assets/javascripts/dojo/store/util/QueryResults.js.uncompressed.js +64 -0
- data/vendor/assets/javascripts/dojo/store/util/SimpleQueryEngine.js +63 -0
- data/vendor/assets/javascripts/dojo/store/util/SimpleQueryEngine.js.uncompressed.js +108 -0
- data/vendor/assets/javascripts/dojo/string.js +57 -0
- data/vendor/assets/javascripts/dojo/string.js.uncompressed.js +162 -0
- data/vendor/assets/javascripts/dojo/text.js +99 -0
- data/vendor/assets/javascripts/dojo/text.js.uncompressed.js +212 -0
- data/vendor/assets/javascripts/dojo/topic.js +15 -0
- data/vendor/assets/javascripts/dojo/topic.js.uncompressed.js +33 -0
- data/vendor/assets/javascripts/dojo/touch.js +17 -0
- data/vendor/assets/javascripts/dojo/touch.js.uncompressed.js +89 -0
- data/vendor/assets/javascripts/dojo/uacss.js +25 -0
- data/vendor/assets/javascripts/dojo/uacss.js.uncompressed.js +66 -0
- data/vendor/assets/javascripts/dojo/window.js +119 -0
- data/vendor/assets/javascripts/dojo/window.js.uncompressed.js +169 -0
- metadata +613 -3
@@ -0,0 +1,284 @@
|
|
1
|
+
/*
|
2
|
+
Copyright (c) 2004-2011, The Dojo Foundation All Rights Reserved.
|
3
|
+
Available via Academic Free License >= 2.1 OR the modified BSD license.
|
4
|
+
see: http://dojotoolkit.org/license for details
|
5
|
+
*/
|
6
|
+
|
7
|
+
//>>built
|
8
|
+
define("dojo/dnd/Source",["../main","./Selector","./Manager"],function(_1,_2,_3){
|
9
|
+
if(!_1.isAsync){
|
10
|
+
_1.ready(0,function(){
|
11
|
+
var _4=["dojo/dnd/AutoSource","dojo/dnd/Target"];
|
12
|
+
require(_4);
|
13
|
+
});
|
14
|
+
}
|
15
|
+
return _1.declare("dojo.dnd.Source",_2,{isSource:true,horizontal:false,copyOnly:false,selfCopy:false,selfAccept:true,skipForm:false,withHandles:false,autoSync:false,delay:0,accept:["text"],generateText:true,constructor:function(_5,_6){
|
16
|
+
_1.mixin(this,_1.mixin({},_6));
|
17
|
+
var _7=this.accept;
|
18
|
+
if(_7.length){
|
19
|
+
this.accept={};
|
20
|
+
for(var i=0;i<_7.length;++i){
|
21
|
+
this.accept[_7[i]]=1;
|
22
|
+
}
|
23
|
+
}
|
24
|
+
this.isDragging=false;
|
25
|
+
this.mouseDown=false;
|
26
|
+
this.targetAnchor=null;
|
27
|
+
this.targetBox=null;
|
28
|
+
this.before=true;
|
29
|
+
this._lastX=0;
|
30
|
+
this._lastY=0;
|
31
|
+
this.sourceState="";
|
32
|
+
if(this.isSource){
|
33
|
+
_1.addClass(this.node,"dojoDndSource");
|
34
|
+
}
|
35
|
+
this.targetState="";
|
36
|
+
if(this.accept){
|
37
|
+
_1.addClass(this.node,"dojoDndTarget");
|
38
|
+
}
|
39
|
+
if(this.horizontal){
|
40
|
+
_1.addClass(this.node,"dojoDndHorizontal");
|
41
|
+
}
|
42
|
+
this.topics=[_1.subscribe("/dnd/source/over",this,"onDndSourceOver"),_1.subscribe("/dnd/start",this,"onDndStart"),_1.subscribe("/dnd/drop",this,"onDndDrop"),_1.subscribe("/dnd/cancel",this,"onDndCancel")];
|
43
|
+
},checkAcceptance:function(_8,_9){
|
44
|
+
if(this==_8){
|
45
|
+
return !this.copyOnly||this.selfAccept;
|
46
|
+
}
|
47
|
+
for(var i=0;i<_9.length;++i){
|
48
|
+
var _a=_8.getItem(_9[i].id).type;
|
49
|
+
var _b=false;
|
50
|
+
for(var j=0;j<_a.length;++j){
|
51
|
+
if(_a[j] in this.accept){
|
52
|
+
_b=true;
|
53
|
+
break;
|
54
|
+
}
|
55
|
+
}
|
56
|
+
if(!_b){
|
57
|
+
return false;
|
58
|
+
}
|
59
|
+
}
|
60
|
+
return true;
|
61
|
+
},copyState:function(_c,_d){
|
62
|
+
if(_c){
|
63
|
+
return true;
|
64
|
+
}
|
65
|
+
if(arguments.length<2){
|
66
|
+
_d=this==_3.manager().target;
|
67
|
+
}
|
68
|
+
if(_d){
|
69
|
+
if(this.copyOnly){
|
70
|
+
return this.selfCopy;
|
71
|
+
}
|
72
|
+
}else{
|
73
|
+
return this.copyOnly;
|
74
|
+
}
|
75
|
+
return false;
|
76
|
+
},destroy:function(){
|
77
|
+
_1.dnd.Source.superclass.destroy.call(this);
|
78
|
+
_1.forEach(this.topics,_1.unsubscribe);
|
79
|
+
this.targetAnchor=null;
|
80
|
+
},onMouseMove:function(e){
|
81
|
+
if(this.isDragging&&this.targetState=="Disabled"){
|
82
|
+
return;
|
83
|
+
}
|
84
|
+
_1.dnd.Source.superclass.onMouseMove.call(this,e);
|
85
|
+
var m=_3.manager();
|
86
|
+
if(!this.isDragging){
|
87
|
+
if(this.mouseDown&&this.isSource&&(Math.abs(e.pageX-this._lastX)>this.delay||Math.abs(e.pageY-this._lastY)>this.delay)){
|
88
|
+
var _e=this.getSelectedNodes();
|
89
|
+
if(_e.length){
|
90
|
+
m.startDrag(this,_e,this.copyState(_1.isCopyKey(e),true));
|
91
|
+
}
|
92
|
+
}
|
93
|
+
}
|
94
|
+
if(this.isDragging){
|
95
|
+
var _f=false;
|
96
|
+
if(this.current){
|
97
|
+
if(!this.targetBox||this.targetAnchor!=this.current){
|
98
|
+
this.targetBox=_1.position(this.current,true);
|
99
|
+
}
|
100
|
+
if(this.horizontal){
|
101
|
+
_f=(e.pageX-this.targetBox.x)<(this.targetBox.w/2);
|
102
|
+
}else{
|
103
|
+
_f=(e.pageY-this.targetBox.y)<(this.targetBox.h/2);
|
104
|
+
}
|
105
|
+
}
|
106
|
+
if(this.current!=this.targetAnchor||_f!=this.before){
|
107
|
+
this._markTargetAnchor(_f);
|
108
|
+
m.canDrop(!this.current||m.source!=this||!(this.current.id in this.selection));
|
109
|
+
}
|
110
|
+
}
|
111
|
+
},onMouseDown:function(e){
|
112
|
+
if(!this.mouseDown&&this._legalMouseDown(e)&&(!this.skipForm||!_1.dnd.isFormElement(e))){
|
113
|
+
this.mouseDown=true;
|
114
|
+
this._lastX=e.pageX;
|
115
|
+
this._lastY=e.pageY;
|
116
|
+
_1.dnd.Source.superclass.onMouseDown.call(this,e);
|
117
|
+
}
|
118
|
+
},onMouseUp:function(e){
|
119
|
+
if(this.mouseDown){
|
120
|
+
this.mouseDown=false;
|
121
|
+
_1.dnd.Source.superclass.onMouseUp.call(this,e);
|
122
|
+
}
|
123
|
+
},onDndSourceOver:function(_10){
|
124
|
+
if(this!=_10){
|
125
|
+
this.mouseDown=false;
|
126
|
+
if(this.targetAnchor){
|
127
|
+
this._unmarkTargetAnchor();
|
128
|
+
}
|
129
|
+
}else{
|
130
|
+
if(this.isDragging){
|
131
|
+
var m=_3.manager();
|
132
|
+
m.canDrop(this.targetState!="Disabled"&&(!this.current||m.source!=this||!(this.current.id in this.selection)));
|
133
|
+
}
|
134
|
+
}
|
135
|
+
},onDndStart:function(_11,_12,_13){
|
136
|
+
if(this.autoSync){
|
137
|
+
this.sync();
|
138
|
+
}
|
139
|
+
if(this.isSource){
|
140
|
+
this._changeState("Source",this==_11?(_13?"Copied":"Moved"):"");
|
141
|
+
}
|
142
|
+
var _14=this.accept&&this.checkAcceptance(_11,_12);
|
143
|
+
this._changeState("Target",_14?"":"Disabled");
|
144
|
+
if(this==_11){
|
145
|
+
_3.manager().overSource(this);
|
146
|
+
}
|
147
|
+
this.isDragging=true;
|
148
|
+
},onDndDrop:function(_15,_16,_17,_18){
|
149
|
+
if(this==_18){
|
150
|
+
this.onDrop(_15,_16,_17);
|
151
|
+
}
|
152
|
+
this.onDndCancel();
|
153
|
+
},onDndCancel:function(){
|
154
|
+
if(this.targetAnchor){
|
155
|
+
this._unmarkTargetAnchor();
|
156
|
+
this.targetAnchor=null;
|
157
|
+
}
|
158
|
+
this.before=true;
|
159
|
+
this.isDragging=false;
|
160
|
+
this.mouseDown=false;
|
161
|
+
this._changeState("Source","");
|
162
|
+
this._changeState("Target","");
|
163
|
+
},onDrop:function(_19,_1a,_1b){
|
164
|
+
if(this!=_19){
|
165
|
+
this.onDropExternal(_19,_1a,_1b);
|
166
|
+
}else{
|
167
|
+
this.onDropInternal(_1a,_1b);
|
168
|
+
}
|
169
|
+
},onDropExternal:function(_1c,_1d,_1e){
|
170
|
+
var _1f=this._normalizedCreator;
|
171
|
+
if(this.creator){
|
172
|
+
this._normalizedCreator=function(_20,_21){
|
173
|
+
return _1f.call(this,_1c.getItem(_20.id).data,_21);
|
174
|
+
};
|
175
|
+
}else{
|
176
|
+
if(_1e){
|
177
|
+
this._normalizedCreator=function(_22,_23){
|
178
|
+
var t=_1c.getItem(_22.id);
|
179
|
+
var n=_22.cloneNode(true);
|
180
|
+
n.id=_1.dnd.getUniqueId();
|
181
|
+
return {node:n,data:t.data,type:t.type};
|
182
|
+
};
|
183
|
+
}else{
|
184
|
+
this._normalizedCreator=function(_24,_25){
|
185
|
+
var t=_1c.getItem(_24.id);
|
186
|
+
_1c.delItem(_24.id);
|
187
|
+
return {node:_24,data:t.data,type:t.type};
|
188
|
+
};
|
189
|
+
}
|
190
|
+
}
|
191
|
+
this.selectNone();
|
192
|
+
if(!_1e&&!this.creator){
|
193
|
+
_1c.selectNone();
|
194
|
+
}
|
195
|
+
this.insertNodes(true,_1d,this.before,this.current);
|
196
|
+
if(!_1e&&this.creator){
|
197
|
+
_1c.deleteSelectedNodes();
|
198
|
+
}
|
199
|
+
this._normalizedCreator=_1f;
|
200
|
+
},onDropInternal:function(_26,_27){
|
201
|
+
var _28=this._normalizedCreator;
|
202
|
+
if(this.current&&this.current.id in this.selection){
|
203
|
+
return;
|
204
|
+
}
|
205
|
+
if(_27){
|
206
|
+
if(this.creator){
|
207
|
+
this._normalizedCreator=function(_29,_2a){
|
208
|
+
return _28.call(this,this.getItem(_29.id).data,_2a);
|
209
|
+
};
|
210
|
+
}else{
|
211
|
+
this._normalizedCreator=function(_2b,_2c){
|
212
|
+
var t=this.getItem(_2b.id);
|
213
|
+
var n=_2b.cloneNode(true);
|
214
|
+
n.id=_1.dnd.getUniqueId();
|
215
|
+
return {node:n,data:t.data,type:t.type};
|
216
|
+
};
|
217
|
+
}
|
218
|
+
}else{
|
219
|
+
if(!this.current){
|
220
|
+
return;
|
221
|
+
}
|
222
|
+
this._normalizedCreator=function(_2d,_2e){
|
223
|
+
var t=this.getItem(_2d.id);
|
224
|
+
return {node:_2d,data:t.data,type:t.type};
|
225
|
+
};
|
226
|
+
}
|
227
|
+
this._removeSelection();
|
228
|
+
this.insertNodes(true,_26,this.before,this.current);
|
229
|
+
this._normalizedCreator=_28;
|
230
|
+
},onDraggingOver:function(){
|
231
|
+
},onDraggingOut:function(){
|
232
|
+
},onOverEvent:function(){
|
233
|
+
_1.dnd.Source.superclass.onOverEvent.call(this);
|
234
|
+
_3.manager().overSource(this);
|
235
|
+
if(this.isDragging&&this.targetState!="Disabled"){
|
236
|
+
this.onDraggingOver();
|
237
|
+
}
|
238
|
+
},onOutEvent:function(){
|
239
|
+
_1.dnd.Source.superclass.onOutEvent.call(this);
|
240
|
+
_3.manager().outSource(this);
|
241
|
+
if(this.isDragging&&this.targetState!="Disabled"){
|
242
|
+
this.onDraggingOut();
|
243
|
+
}
|
244
|
+
},_markTargetAnchor:function(_2f){
|
245
|
+
if(this.current==this.targetAnchor&&this.before==_2f){
|
246
|
+
return;
|
247
|
+
}
|
248
|
+
if(this.targetAnchor){
|
249
|
+
this._removeItemClass(this.targetAnchor,this.before?"Before":"After");
|
250
|
+
}
|
251
|
+
this.targetAnchor=this.current;
|
252
|
+
this.targetBox=null;
|
253
|
+
this.before=_2f;
|
254
|
+
if(this.targetAnchor){
|
255
|
+
this._addItemClass(this.targetAnchor,this.before?"Before":"After");
|
256
|
+
}
|
257
|
+
},_unmarkTargetAnchor:function(){
|
258
|
+
if(!this.targetAnchor){
|
259
|
+
return;
|
260
|
+
}
|
261
|
+
this._removeItemClass(this.targetAnchor,this.before?"Before":"After");
|
262
|
+
this.targetAnchor=null;
|
263
|
+
this.targetBox=null;
|
264
|
+
this.before=true;
|
265
|
+
},_markDndStatus:function(_30){
|
266
|
+
this._changeState("Source",_30?"Copied":"Moved");
|
267
|
+
},_legalMouseDown:function(e){
|
268
|
+
if(!_1.mouseButtons.isLeft(e)){
|
269
|
+
return false;
|
270
|
+
}
|
271
|
+
if(!this.withHandles){
|
272
|
+
return true;
|
273
|
+
}
|
274
|
+
for(var _31=e.target;_31&&_31!==this.node;_31=_31.parentNode){
|
275
|
+
if(_1.hasClass(_31,"dojoDndHandle")){
|
276
|
+
return true;
|
277
|
+
}
|
278
|
+
if(_1.hasClass(_31,"dojoDndItem")||_1.hasClass(_31,"dojoDndIgnore")){
|
279
|
+
break;
|
280
|
+
}
|
281
|
+
}
|
282
|
+
return false;
|
283
|
+
}});
|
284
|
+
});
|
@@ -0,0 +1,513 @@
|
|
1
|
+
define("dojo/dnd/Source", ["../main", "./Selector", "./Manager"], function(dojo, Selector, Manager) {
|
2
|
+
// module:
|
3
|
+
// dojo/dnd/Source
|
4
|
+
// summary:
|
5
|
+
// TODOC
|
6
|
+
|
7
|
+
/*=====
|
8
|
+
Selector = dojo.dnd.Selector;
|
9
|
+
=====*/
|
10
|
+
|
11
|
+
/*
|
12
|
+
Container property:
|
13
|
+
"Horizontal"- if this is the horizontal container
|
14
|
+
Source states:
|
15
|
+
"" - normal state
|
16
|
+
"Moved" - this source is being moved
|
17
|
+
"Copied" - this source is being copied
|
18
|
+
Target states:
|
19
|
+
"" - normal state
|
20
|
+
"Disabled" - the target cannot accept an avatar
|
21
|
+
Target anchor state:
|
22
|
+
"" - item is not selected
|
23
|
+
"Before" - insert point is before the anchor
|
24
|
+
"After" - insert point is after the anchor
|
25
|
+
*/
|
26
|
+
|
27
|
+
/*=====
|
28
|
+
dojo.dnd.__SourceArgs = function(){
|
29
|
+
// summary:
|
30
|
+
// a dict of parameters for DnD Source configuration. Note that any
|
31
|
+
// property on Source elements may be configured, but this is the
|
32
|
+
// short-list
|
33
|
+
// isSource: Boolean?
|
34
|
+
// can be used as a DnD source. Defaults to true.
|
35
|
+
// accept: Array?
|
36
|
+
// list of accepted types (text strings) for a target; defaults to
|
37
|
+
// ["text"]
|
38
|
+
// autoSync: Boolean
|
39
|
+
// if true refreshes the node list on every operation; false by default
|
40
|
+
// copyOnly: Boolean?
|
41
|
+
// copy items, if true, use a state of Ctrl key otherwise,
|
42
|
+
// see selfCopy and selfAccept for more details
|
43
|
+
// delay: Number
|
44
|
+
// the move delay in pixels before detecting a drag; 0 by default
|
45
|
+
// horizontal: Boolean?
|
46
|
+
// a horizontal container, if true, vertical otherwise or when omitted
|
47
|
+
// selfCopy: Boolean?
|
48
|
+
// copy items by default when dropping on itself,
|
49
|
+
// false by default, works only if copyOnly is true
|
50
|
+
// selfAccept: Boolean?
|
51
|
+
// accept its own items when copyOnly is true,
|
52
|
+
// true by default, works only if copyOnly is true
|
53
|
+
// withHandles: Boolean?
|
54
|
+
// allows dragging only by handles, false by default
|
55
|
+
// generateText: Boolean?
|
56
|
+
// generate text node for drag and drop, true by default
|
57
|
+
this.isSource = isSource;
|
58
|
+
this.accept = accept;
|
59
|
+
this.autoSync = autoSync;
|
60
|
+
this.copyOnly = copyOnly;
|
61
|
+
this.delay = delay;
|
62
|
+
this.horizontal = horizontal;
|
63
|
+
this.selfCopy = selfCopy;
|
64
|
+
this.selfAccept = selfAccept;
|
65
|
+
this.withHandles = withHandles;
|
66
|
+
this.generateText = true;
|
67
|
+
}
|
68
|
+
=====*/
|
69
|
+
|
70
|
+
// For back-compat, remove in 2.0.
|
71
|
+
if(!dojo.isAsync){
|
72
|
+
dojo.ready(0, function(){
|
73
|
+
var requires = ["dojo/dnd/AutoSource", "dojo/dnd/Target"];
|
74
|
+
require(requires); // use indirection so modules not rolled into a build
|
75
|
+
})
|
76
|
+
}
|
77
|
+
|
78
|
+
return dojo.declare("dojo.dnd.Source", Selector, {
|
79
|
+
// summary:
|
80
|
+
// a Source object, which can be used as a DnD source, or a DnD target
|
81
|
+
|
82
|
+
// object attributes (for markup)
|
83
|
+
isSource: true,
|
84
|
+
horizontal: false,
|
85
|
+
copyOnly: false,
|
86
|
+
selfCopy: false,
|
87
|
+
selfAccept: true,
|
88
|
+
skipForm: false,
|
89
|
+
withHandles: false,
|
90
|
+
autoSync: false,
|
91
|
+
delay: 0, // pixels
|
92
|
+
accept: ["text"],
|
93
|
+
generateText: true,
|
94
|
+
|
95
|
+
constructor: function(/*DOMNode|String*/node, /*dojo.dnd.__SourceArgs?*/params){
|
96
|
+
// summary:
|
97
|
+
// a constructor of the Source
|
98
|
+
// node:
|
99
|
+
// node or node's id to build the source on
|
100
|
+
// params:
|
101
|
+
// any property of this class may be configured via the params
|
102
|
+
// object which is mixed-in to the `dojo.dnd.Source` instance
|
103
|
+
dojo.mixin(this, dojo.mixin({}, params));
|
104
|
+
var type = this.accept;
|
105
|
+
if(type.length){
|
106
|
+
this.accept = {};
|
107
|
+
for(var i = 0; i < type.length; ++i){
|
108
|
+
this.accept[type[i]] = 1;
|
109
|
+
}
|
110
|
+
}
|
111
|
+
// class-specific variables
|
112
|
+
this.isDragging = false;
|
113
|
+
this.mouseDown = false;
|
114
|
+
this.targetAnchor = null;
|
115
|
+
this.targetBox = null;
|
116
|
+
this.before = true;
|
117
|
+
this._lastX = 0;
|
118
|
+
this._lastY = 0;
|
119
|
+
// states
|
120
|
+
this.sourceState = "";
|
121
|
+
if(this.isSource){
|
122
|
+
dojo.addClass(this.node, "dojoDndSource");
|
123
|
+
}
|
124
|
+
this.targetState = "";
|
125
|
+
if(this.accept){
|
126
|
+
dojo.addClass(this.node, "dojoDndTarget");
|
127
|
+
}
|
128
|
+
if(this.horizontal){
|
129
|
+
dojo.addClass(this.node, "dojoDndHorizontal");
|
130
|
+
}
|
131
|
+
// set up events
|
132
|
+
this.topics = [
|
133
|
+
dojo.subscribe("/dnd/source/over", this, "onDndSourceOver"),
|
134
|
+
dojo.subscribe("/dnd/start", this, "onDndStart"),
|
135
|
+
dojo.subscribe("/dnd/drop", this, "onDndDrop"),
|
136
|
+
dojo.subscribe("/dnd/cancel", this, "onDndCancel")
|
137
|
+
];
|
138
|
+
},
|
139
|
+
|
140
|
+
// methods
|
141
|
+
checkAcceptance: function(source, nodes){
|
142
|
+
// summary:
|
143
|
+
// checks if the target can accept nodes from this source
|
144
|
+
// source: Object
|
145
|
+
// the source which provides items
|
146
|
+
// nodes: Array
|
147
|
+
// the list of transferred items
|
148
|
+
if(this == source){
|
149
|
+
return !this.copyOnly || this.selfAccept;
|
150
|
+
}
|
151
|
+
for(var i = 0; i < nodes.length; ++i){
|
152
|
+
var type = source.getItem(nodes[i].id).type;
|
153
|
+
// type instanceof Array
|
154
|
+
var flag = false;
|
155
|
+
for(var j = 0; j < type.length; ++j){
|
156
|
+
if(type[j] in this.accept){
|
157
|
+
flag = true;
|
158
|
+
break;
|
159
|
+
}
|
160
|
+
}
|
161
|
+
if(!flag){
|
162
|
+
return false; // Boolean
|
163
|
+
}
|
164
|
+
}
|
165
|
+
return true; // Boolean
|
166
|
+
},
|
167
|
+
copyState: function(keyPressed, self){
|
168
|
+
// summary:
|
169
|
+
// Returns true if we need to copy items, false to move.
|
170
|
+
// It is separated to be overwritten dynamically, if needed.
|
171
|
+
// keyPressed: Boolean
|
172
|
+
// the "copy" key was pressed
|
173
|
+
// self: Boolean?
|
174
|
+
// optional flag that means that we are about to drop on itself
|
175
|
+
|
176
|
+
if(keyPressed){ return true; }
|
177
|
+
if(arguments.length < 2){
|
178
|
+
self = this == Manager.manager().target;
|
179
|
+
}
|
180
|
+
if(self){
|
181
|
+
if(this.copyOnly){
|
182
|
+
return this.selfCopy;
|
183
|
+
}
|
184
|
+
}else{
|
185
|
+
return this.copyOnly;
|
186
|
+
}
|
187
|
+
return false; // Boolean
|
188
|
+
},
|
189
|
+
destroy: function(){
|
190
|
+
// summary:
|
191
|
+
// prepares the object to be garbage-collected
|
192
|
+
dojo.dnd.Source.superclass.destroy.call(this);
|
193
|
+
dojo.forEach(this.topics, dojo.unsubscribe);
|
194
|
+
this.targetAnchor = null;
|
195
|
+
},
|
196
|
+
|
197
|
+
// mouse event processors
|
198
|
+
onMouseMove: function(e){
|
199
|
+
// summary:
|
200
|
+
// event processor for onmousemove
|
201
|
+
// e: Event
|
202
|
+
// mouse event
|
203
|
+
if(this.isDragging && this.targetState == "Disabled"){ return; }
|
204
|
+
dojo.dnd.Source.superclass.onMouseMove.call(this, e);
|
205
|
+
var m = Manager.manager();
|
206
|
+
if(!this.isDragging){
|
207
|
+
if(this.mouseDown && this.isSource &&
|
208
|
+
(Math.abs(e.pageX - this._lastX) > this.delay || Math.abs(e.pageY - this._lastY) > this.delay)){
|
209
|
+
var nodes = this.getSelectedNodes();
|
210
|
+
if(nodes.length){
|
211
|
+
m.startDrag(this, nodes, this.copyState(dojo.isCopyKey(e), true));
|
212
|
+
}
|
213
|
+
}
|
214
|
+
}
|
215
|
+
if(this.isDragging){
|
216
|
+
// calculate before/after
|
217
|
+
var before = false;
|
218
|
+
if(this.current){
|
219
|
+
if(!this.targetBox || this.targetAnchor != this.current){
|
220
|
+
this.targetBox = dojo.position(this.current, true);
|
221
|
+
}
|
222
|
+
if(this.horizontal){
|
223
|
+
before = (e.pageX - this.targetBox.x) < (this.targetBox.w / 2);
|
224
|
+
}else{
|
225
|
+
before = (e.pageY - this.targetBox.y) < (this.targetBox.h / 2);
|
226
|
+
}
|
227
|
+
}
|
228
|
+
if(this.current != this.targetAnchor || before != this.before){
|
229
|
+
this._markTargetAnchor(before);
|
230
|
+
m.canDrop(!this.current || m.source != this || !(this.current.id in this.selection));
|
231
|
+
}
|
232
|
+
}
|
233
|
+
},
|
234
|
+
onMouseDown: function(e){
|
235
|
+
// summary:
|
236
|
+
// event processor for onmousedown
|
237
|
+
// e: Event
|
238
|
+
// mouse event
|
239
|
+
if(!this.mouseDown && this._legalMouseDown(e) && (!this.skipForm || !dojo.dnd.isFormElement(e))){
|
240
|
+
this.mouseDown = true;
|
241
|
+
this._lastX = e.pageX;
|
242
|
+
this._lastY = e.pageY;
|
243
|
+
dojo.dnd.Source.superclass.onMouseDown.call(this, e);
|
244
|
+
}
|
245
|
+
},
|
246
|
+
onMouseUp: function(e){
|
247
|
+
// summary:
|
248
|
+
// event processor for onmouseup
|
249
|
+
// e: Event
|
250
|
+
// mouse event
|
251
|
+
if(this.mouseDown){
|
252
|
+
this.mouseDown = false;
|
253
|
+
dojo.dnd.Source.superclass.onMouseUp.call(this, e);
|
254
|
+
}
|
255
|
+
},
|
256
|
+
|
257
|
+
// topic event processors
|
258
|
+
onDndSourceOver: function(source){
|
259
|
+
// summary:
|
260
|
+
// topic event processor for /dnd/source/over, called when detected a current source
|
261
|
+
// source: Object
|
262
|
+
// the source which has the mouse over it
|
263
|
+
if(this != source){
|
264
|
+
this.mouseDown = false;
|
265
|
+
if(this.targetAnchor){
|
266
|
+
this._unmarkTargetAnchor();
|
267
|
+
}
|
268
|
+
}else if(this.isDragging){
|
269
|
+
var m = Manager.manager();
|
270
|
+
m.canDrop(this.targetState != "Disabled" && (!this.current || m.source != this || !(this.current.id in this.selection)));
|
271
|
+
}
|
272
|
+
},
|
273
|
+
onDndStart: function(source, nodes, copy){
|
274
|
+
// summary:
|
275
|
+
// topic event processor for /dnd/start, called to initiate the DnD operation
|
276
|
+
// source: Object
|
277
|
+
// the source which provides items
|
278
|
+
// nodes: Array
|
279
|
+
// the list of transferred items
|
280
|
+
// copy: Boolean
|
281
|
+
// copy items, if true, move items otherwise
|
282
|
+
if(this.autoSync){ this.sync(); }
|
283
|
+
if(this.isSource){
|
284
|
+
this._changeState("Source", this == source ? (copy ? "Copied" : "Moved") : "");
|
285
|
+
}
|
286
|
+
var accepted = this.accept && this.checkAcceptance(source, nodes);
|
287
|
+
this._changeState("Target", accepted ? "" : "Disabled");
|
288
|
+
if(this == source){
|
289
|
+
Manager.manager().overSource(this);
|
290
|
+
}
|
291
|
+
this.isDragging = true;
|
292
|
+
},
|
293
|
+
onDndDrop: function(source, nodes, copy, target){
|
294
|
+
// summary:
|
295
|
+
// topic event processor for /dnd/drop, called to finish the DnD operation
|
296
|
+
// source: Object
|
297
|
+
// the source which provides items
|
298
|
+
// nodes: Array
|
299
|
+
// the list of transferred items
|
300
|
+
// copy: Boolean
|
301
|
+
// copy items, if true, move items otherwise
|
302
|
+
// target: Object
|
303
|
+
// the target which accepts items
|
304
|
+
if(this == target){
|
305
|
+
// this one is for us => move nodes!
|
306
|
+
this.onDrop(source, nodes, copy);
|
307
|
+
}
|
308
|
+
this.onDndCancel();
|
309
|
+
},
|
310
|
+
onDndCancel: function(){
|
311
|
+
// summary:
|
312
|
+
// topic event processor for /dnd/cancel, called to cancel the DnD operation
|
313
|
+
if(this.targetAnchor){
|
314
|
+
this._unmarkTargetAnchor();
|
315
|
+
this.targetAnchor = null;
|
316
|
+
}
|
317
|
+
this.before = true;
|
318
|
+
this.isDragging = false;
|
319
|
+
this.mouseDown = false;
|
320
|
+
this._changeState("Source", "");
|
321
|
+
this._changeState("Target", "");
|
322
|
+
},
|
323
|
+
|
324
|
+
// local events
|
325
|
+
onDrop: function(source, nodes, copy){
|
326
|
+
// summary:
|
327
|
+
// called only on the current target, when drop is performed
|
328
|
+
// source: Object
|
329
|
+
// the source which provides items
|
330
|
+
// nodes: Array
|
331
|
+
// the list of transferred items
|
332
|
+
// copy: Boolean
|
333
|
+
// copy items, if true, move items otherwise
|
334
|
+
|
335
|
+
if(this != source){
|
336
|
+
this.onDropExternal(source, nodes, copy);
|
337
|
+
}else{
|
338
|
+
this.onDropInternal(nodes, copy);
|
339
|
+
}
|
340
|
+
},
|
341
|
+
onDropExternal: function(source, nodes, copy){
|
342
|
+
// summary:
|
343
|
+
// called only on the current target, when drop is performed
|
344
|
+
// from an external source
|
345
|
+
// source: Object
|
346
|
+
// the source which provides items
|
347
|
+
// nodes: Array
|
348
|
+
// the list of transferred items
|
349
|
+
// copy: Boolean
|
350
|
+
// copy items, if true, move items otherwise
|
351
|
+
|
352
|
+
var oldCreator = this._normalizedCreator;
|
353
|
+
// transferring nodes from the source to the target
|
354
|
+
if(this.creator){
|
355
|
+
// use defined creator
|
356
|
+
this._normalizedCreator = function(node, hint){
|
357
|
+
return oldCreator.call(this, source.getItem(node.id).data, hint);
|
358
|
+
};
|
359
|
+
}else{
|
360
|
+
// we have no creator defined => move/clone nodes
|
361
|
+
if(copy){
|
362
|
+
// clone nodes
|
363
|
+
this._normalizedCreator = function(node, hint){
|
364
|
+
var t = source.getItem(node.id);
|
365
|
+
var n = node.cloneNode(true);
|
366
|
+
n.id = dojo.dnd.getUniqueId();
|
367
|
+
return {node: n, data: t.data, type: t.type};
|
368
|
+
};
|
369
|
+
}else{
|
370
|
+
// move nodes
|
371
|
+
this._normalizedCreator = function(node, hint){
|
372
|
+
var t = source.getItem(node.id);
|
373
|
+
source.delItem(node.id);
|
374
|
+
return {node: node, data: t.data, type: t.type};
|
375
|
+
};
|
376
|
+
}
|
377
|
+
}
|
378
|
+
this.selectNone();
|
379
|
+
if(!copy && !this.creator){
|
380
|
+
source.selectNone();
|
381
|
+
}
|
382
|
+
this.insertNodes(true, nodes, this.before, this.current);
|
383
|
+
if(!copy && this.creator){
|
384
|
+
source.deleteSelectedNodes();
|
385
|
+
}
|
386
|
+
this._normalizedCreator = oldCreator;
|
387
|
+
},
|
388
|
+
onDropInternal: function(nodes, copy){
|
389
|
+
// summary:
|
390
|
+
// called only on the current target, when drop is performed
|
391
|
+
// from the same target/source
|
392
|
+
// nodes: Array
|
393
|
+
// the list of transferred items
|
394
|
+
// copy: Boolean
|
395
|
+
// copy items, if true, move items otherwise
|
396
|
+
|
397
|
+
var oldCreator = this._normalizedCreator;
|
398
|
+
// transferring nodes within the single source
|
399
|
+
if(this.current && this.current.id in this.selection){
|
400
|
+
// do nothing
|
401
|
+
return;
|
402
|
+
}
|
403
|
+
if(copy){
|
404
|
+
if(this.creator){
|
405
|
+
// create new copies of data items
|
406
|
+
this._normalizedCreator = function(node, hint){
|
407
|
+
return oldCreator.call(this, this.getItem(node.id).data, hint);
|
408
|
+
};
|
409
|
+
}else{
|
410
|
+
// clone nodes
|
411
|
+
this._normalizedCreator = function(node, hint){
|
412
|
+
var t = this.getItem(node.id);
|
413
|
+
var n = node.cloneNode(true);
|
414
|
+
n.id = dojo.dnd.getUniqueId();
|
415
|
+
return {node: n, data: t.data, type: t.type};
|
416
|
+
};
|
417
|
+
}
|
418
|
+
}else{
|
419
|
+
// move nodes
|
420
|
+
if(!this.current){
|
421
|
+
// do nothing
|
422
|
+
return;
|
423
|
+
}
|
424
|
+
this._normalizedCreator = function(node, hint){
|
425
|
+
var t = this.getItem(node.id);
|
426
|
+
return {node: node, data: t.data, type: t.type};
|
427
|
+
};
|
428
|
+
}
|
429
|
+
this._removeSelection();
|
430
|
+
this.insertNodes(true, nodes, this.before, this.current);
|
431
|
+
this._normalizedCreator = oldCreator;
|
432
|
+
},
|
433
|
+
onDraggingOver: function(){
|
434
|
+
// summary:
|
435
|
+
// called during the active DnD operation, when items
|
436
|
+
// are dragged over this target, and it is not disabled
|
437
|
+
},
|
438
|
+
onDraggingOut: function(){
|
439
|
+
// summary:
|
440
|
+
// called during the active DnD operation, when items
|
441
|
+
// are dragged away from this target, and it is not disabled
|
442
|
+
},
|
443
|
+
|
444
|
+
// utilities
|
445
|
+
onOverEvent: function(){
|
446
|
+
// summary:
|
447
|
+
// this function is called once, when mouse is over our container
|
448
|
+
dojo.dnd.Source.superclass.onOverEvent.call(this);
|
449
|
+
Manager.manager().overSource(this);
|
450
|
+
if(this.isDragging && this.targetState != "Disabled"){
|
451
|
+
this.onDraggingOver();
|
452
|
+
}
|
453
|
+
},
|
454
|
+
onOutEvent: function(){
|
455
|
+
// summary:
|
456
|
+
// this function is called once, when mouse is out of our container
|
457
|
+
dojo.dnd.Source.superclass.onOutEvent.call(this);
|
458
|
+
Manager.manager().outSource(this);
|
459
|
+
if(this.isDragging && this.targetState != "Disabled"){
|
460
|
+
this.onDraggingOut();
|
461
|
+
}
|
462
|
+
},
|
463
|
+
_markTargetAnchor: function(before){
|
464
|
+
// summary:
|
465
|
+
// assigns a class to the current target anchor based on "before" status
|
466
|
+
// before: Boolean
|
467
|
+
// insert before, if true, after otherwise
|
468
|
+
if(this.current == this.targetAnchor && this.before == before){ return; }
|
469
|
+
if(this.targetAnchor){
|
470
|
+
this._removeItemClass(this.targetAnchor, this.before ? "Before" : "After");
|
471
|
+
}
|
472
|
+
this.targetAnchor = this.current;
|
473
|
+
this.targetBox = null;
|
474
|
+
this.before = before;
|
475
|
+
if(this.targetAnchor){
|
476
|
+
this._addItemClass(this.targetAnchor, this.before ? "Before" : "After");
|
477
|
+
}
|
478
|
+
},
|
479
|
+
_unmarkTargetAnchor: function(){
|
480
|
+
// summary:
|
481
|
+
// removes a class of the current target anchor based on "before" status
|
482
|
+
if(!this.targetAnchor){ return; }
|
483
|
+
this._removeItemClass(this.targetAnchor, this.before ? "Before" : "After");
|
484
|
+
this.targetAnchor = null;
|
485
|
+
this.targetBox = null;
|
486
|
+
this.before = true;
|
487
|
+
},
|
488
|
+
_markDndStatus: function(copy){
|
489
|
+
// summary:
|
490
|
+
// changes source's state based on "copy" status
|
491
|
+
this._changeState("Source", copy ? "Copied" : "Moved");
|
492
|
+
},
|
493
|
+
_legalMouseDown: function(e){
|
494
|
+
// summary:
|
495
|
+
// checks if user clicked on "approved" items
|
496
|
+
// e: Event
|
497
|
+
// mouse event
|
498
|
+
|
499
|
+
// accept only the left mouse button
|
500
|
+
if(!dojo.mouseButtons.isLeft(e)){ return false; }
|
501
|
+
|
502
|
+
if(!this.withHandles){ return true; }
|
503
|
+
|
504
|
+
// check for handles
|
505
|
+
for(var node = e.target; node && node !== this.node; node = node.parentNode){
|
506
|
+
if(dojo.hasClass(node, "dojoDndHandle")){ return true; }
|
507
|
+
if(dojo.hasClass(node, "dojoDndItem") || dojo.hasClass(node, "dojoDndIgnore")){ break; }
|
508
|
+
}
|
509
|
+
return false; // Boolean
|
510
|
+
}
|
511
|
+
});
|
512
|
+
|
513
|
+
});
|