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,36 @@
|
|
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/_base/event",["./kernel","../on","../has","../dom-geometry"],function(_1,on,_2,_3){
|
9
|
+
if(on._fixEvent){
|
10
|
+
var _4=on._fixEvent;
|
11
|
+
on._fixEvent=function(_5,se){
|
12
|
+
_5=_4(_5,se);
|
13
|
+
if(_5){
|
14
|
+
_3.normalizeEvent(_5);
|
15
|
+
}
|
16
|
+
return _5;
|
17
|
+
};
|
18
|
+
}
|
19
|
+
_1.fixEvent=function(_6,_7){
|
20
|
+
if(on._fixEvent){
|
21
|
+
return on._fixEvent(_6,_7);
|
22
|
+
}
|
23
|
+
return _6;
|
24
|
+
};
|
25
|
+
_1.stopEvent=function(_8){
|
26
|
+
if(_2("dom-addeventlistener")||(_8&&_8.preventDefault)){
|
27
|
+
_8.preventDefault();
|
28
|
+
_8.stopPropagation();
|
29
|
+
}else{
|
30
|
+
_8=_8||window.event;
|
31
|
+
_8.cancelBubble=true;
|
32
|
+
on._preventDefault.call(_8);
|
33
|
+
}
|
34
|
+
};
|
35
|
+
return {fix:_1.fixEvent,stop:_1.stopEvent};
|
36
|
+
});
|
@@ -0,0 +1,51 @@
|
|
1
|
+
define("dojo/_base/event", ["./kernel", "../on", "../has", "../dom-geometry"], function(dojo, on, has, dom){
|
2
|
+
// module:
|
3
|
+
// dojo/_base/event
|
4
|
+
// summary:
|
5
|
+
// This module defines dojo DOM event API.
|
6
|
+
if(on._fixEvent){
|
7
|
+
var fixEvent = on._fixEvent;
|
8
|
+
on._fixEvent = function(evt, se){
|
9
|
+
// add some additional normalization for back-compat, this isn't in on.js because it is somewhat more expensive
|
10
|
+
evt = fixEvent(evt, se);
|
11
|
+
if(evt){
|
12
|
+
dom.normalizeEvent(evt);
|
13
|
+
}
|
14
|
+
return evt;
|
15
|
+
};
|
16
|
+
}
|
17
|
+
dojo.fixEvent = function(/*Event*/ evt, /*DOMNode*/ sender){
|
18
|
+
// summary:
|
19
|
+
// normalizes properties on the event object including event
|
20
|
+
// bubbling methods, keystroke normalization, and x/y positions
|
21
|
+
// evt: Event
|
22
|
+
// native event object
|
23
|
+
// sender: DOMNode
|
24
|
+
// node to treat as "currentTarget"
|
25
|
+
if(on._fixEvent){
|
26
|
+
return on._fixEvent(evt, sender);
|
27
|
+
}
|
28
|
+
return evt; // Event
|
29
|
+
};
|
30
|
+
|
31
|
+
dojo.stopEvent = function(/*Event*/ evt){
|
32
|
+
// summary:
|
33
|
+
// prevents propagation and clobbers the default action of the
|
34
|
+
// passed event
|
35
|
+
// evt: Event
|
36
|
+
// The event object. If omitted, window.event is used on IE.
|
37
|
+
if(has("dom-addeventlistener") || (evt && evt.preventDefault)){
|
38
|
+
evt.preventDefault();
|
39
|
+
evt.stopPropagation();
|
40
|
+
}else{
|
41
|
+
evt = evt || window.event;
|
42
|
+
evt.cancelBubble = true;
|
43
|
+
on._preventDefault.call(evt);
|
44
|
+
}
|
45
|
+
};
|
46
|
+
|
47
|
+
return {
|
48
|
+
fix: dojo.fixEvent,
|
49
|
+
stop: dojo.stopEvent
|
50
|
+
};
|
51
|
+
});
|
@@ -0,0 +1,295 @@
|
|
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/_base/fx",["./kernel","./lang","../Evented","./Color","./connect","./sniff","../dom","../dom-style"],function(_1,_2,_3,_4,_5,_6,_7,_8){
|
9
|
+
var _9=_2.mixin;
|
10
|
+
_1._Line=function(_a,_b){
|
11
|
+
this.start=_a;
|
12
|
+
this.end=_b;
|
13
|
+
};
|
14
|
+
_1._Line.prototype.getValue=function(n){
|
15
|
+
return ((this.end-this.start)*n)+this.start;
|
16
|
+
};
|
17
|
+
_1.Animation=function(_c){
|
18
|
+
_9(this,_c);
|
19
|
+
if(_2.isArray(this.curve)){
|
20
|
+
this.curve=new _1._Line(this.curve[0],this.curve[1]);
|
21
|
+
}
|
22
|
+
};
|
23
|
+
_1.Animation.prototype=new _3();
|
24
|
+
_1._Animation=_1.Animation;
|
25
|
+
_2.extend(_1.Animation,{duration:350,repeat:0,rate:20,_percent:0,_startRepeatCount:0,_getStep:function(){
|
26
|
+
var _d=this._percent,_e=this.easing;
|
27
|
+
return _e?_e(_d):_d;
|
28
|
+
},_fire:function(_f,_10){
|
29
|
+
var a=_10||[];
|
30
|
+
if(this[_f]){
|
31
|
+
if(_1.config.debugAtAllCosts){
|
32
|
+
this[_f].apply(this,a);
|
33
|
+
}else{
|
34
|
+
try{
|
35
|
+
this[_f].apply(this,a);
|
36
|
+
}
|
37
|
+
catch(e){
|
38
|
+
console.error("exception in animation handler for:",_f);
|
39
|
+
console.error(e);
|
40
|
+
}
|
41
|
+
}
|
42
|
+
}
|
43
|
+
return this;
|
44
|
+
},play:function(_11,_12){
|
45
|
+
var _13=this;
|
46
|
+
if(_13._delayTimer){
|
47
|
+
_13._clearTimer();
|
48
|
+
}
|
49
|
+
if(_12){
|
50
|
+
_13._stopTimer();
|
51
|
+
_13._active=_13._paused=false;
|
52
|
+
_13._percent=0;
|
53
|
+
}else{
|
54
|
+
if(_13._active&&!_13._paused){
|
55
|
+
return _13;
|
56
|
+
}
|
57
|
+
}
|
58
|
+
_13._fire("beforeBegin",[_13.node]);
|
59
|
+
var de=_11||_13.delay,_14=_2.hitch(_13,"_play",_12);
|
60
|
+
if(de>0){
|
61
|
+
_13._delayTimer=setTimeout(_14,de);
|
62
|
+
return _13;
|
63
|
+
}
|
64
|
+
_14();
|
65
|
+
return _13;
|
66
|
+
},_play:function(_15){
|
67
|
+
var _16=this;
|
68
|
+
if(_16._delayTimer){
|
69
|
+
_16._clearTimer();
|
70
|
+
}
|
71
|
+
_16._startTime=new Date().valueOf();
|
72
|
+
if(_16._paused){
|
73
|
+
_16._startTime-=_16.duration*_16._percent;
|
74
|
+
}
|
75
|
+
_16._active=true;
|
76
|
+
_16._paused=false;
|
77
|
+
var _17=_16.curve.getValue(_16._getStep());
|
78
|
+
if(!_16._percent){
|
79
|
+
if(!_16._startRepeatCount){
|
80
|
+
_16._startRepeatCount=_16.repeat;
|
81
|
+
}
|
82
|
+
_16._fire("onBegin",[_17]);
|
83
|
+
}
|
84
|
+
_16._fire("onPlay",[_17]);
|
85
|
+
_16._cycle();
|
86
|
+
return _16;
|
87
|
+
},pause:function(){
|
88
|
+
var _18=this;
|
89
|
+
if(_18._delayTimer){
|
90
|
+
_18._clearTimer();
|
91
|
+
}
|
92
|
+
_18._stopTimer();
|
93
|
+
if(!_18._active){
|
94
|
+
return _18;
|
95
|
+
}
|
96
|
+
_18._paused=true;
|
97
|
+
_18._fire("onPause",[_18.curve.getValue(_18._getStep())]);
|
98
|
+
return _18;
|
99
|
+
},gotoPercent:function(_19,_1a){
|
100
|
+
var _1b=this;
|
101
|
+
_1b._stopTimer();
|
102
|
+
_1b._active=_1b._paused=true;
|
103
|
+
_1b._percent=_19;
|
104
|
+
if(_1a){
|
105
|
+
_1b.play();
|
106
|
+
}
|
107
|
+
return _1b;
|
108
|
+
},stop:function(_1c){
|
109
|
+
var _1d=this;
|
110
|
+
if(_1d._delayTimer){
|
111
|
+
_1d._clearTimer();
|
112
|
+
}
|
113
|
+
if(!_1d._timer){
|
114
|
+
return _1d;
|
115
|
+
}
|
116
|
+
_1d._stopTimer();
|
117
|
+
if(_1c){
|
118
|
+
_1d._percent=1;
|
119
|
+
}
|
120
|
+
_1d._fire("onStop",[_1d.curve.getValue(_1d._getStep())]);
|
121
|
+
_1d._active=_1d._paused=false;
|
122
|
+
return _1d;
|
123
|
+
},status:function(){
|
124
|
+
if(this._active){
|
125
|
+
return this._paused?"paused":"playing";
|
126
|
+
}
|
127
|
+
return "stopped";
|
128
|
+
},_cycle:function(){
|
129
|
+
var _1e=this;
|
130
|
+
if(_1e._active){
|
131
|
+
var _1f=new Date().valueOf();
|
132
|
+
var _20=(_1f-_1e._startTime)/(_1e.duration);
|
133
|
+
if(_20>=1){
|
134
|
+
_20=1;
|
135
|
+
}
|
136
|
+
_1e._percent=_20;
|
137
|
+
if(_1e.easing){
|
138
|
+
_20=_1e.easing(_20);
|
139
|
+
}
|
140
|
+
_1e._fire("onAnimate",[_1e.curve.getValue(_20)]);
|
141
|
+
if(_1e._percent<1){
|
142
|
+
_1e._startTimer();
|
143
|
+
}else{
|
144
|
+
_1e._active=false;
|
145
|
+
if(_1e.repeat>0){
|
146
|
+
_1e.repeat--;
|
147
|
+
_1e.play(null,true);
|
148
|
+
}else{
|
149
|
+
if(_1e.repeat==-1){
|
150
|
+
_1e.play(null,true);
|
151
|
+
}else{
|
152
|
+
if(_1e._startRepeatCount){
|
153
|
+
_1e.repeat=_1e._startRepeatCount;
|
154
|
+
_1e._startRepeatCount=0;
|
155
|
+
}
|
156
|
+
}
|
157
|
+
}
|
158
|
+
_1e._percent=0;
|
159
|
+
_1e._fire("onEnd",[_1e.node]);
|
160
|
+
!_1e.repeat&&_1e._stopTimer();
|
161
|
+
}
|
162
|
+
}
|
163
|
+
return _1e;
|
164
|
+
},_clearTimer:function(){
|
165
|
+
clearTimeout(this._delayTimer);
|
166
|
+
delete this._delayTimer;
|
167
|
+
}});
|
168
|
+
var ctr=0,_21=null,_22={run:function(){
|
169
|
+
}};
|
170
|
+
_2.extend(_1.Animation,{_startTimer:function(){
|
171
|
+
if(!this._timer){
|
172
|
+
this._timer=_5.connect(_22,"run",this,"_cycle");
|
173
|
+
ctr++;
|
174
|
+
}
|
175
|
+
if(!_21){
|
176
|
+
_21=setInterval(_2.hitch(_22,"run"),this.rate);
|
177
|
+
}
|
178
|
+
},_stopTimer:function(){
|
179
|
+
if(this._timer){
|
180
|
+
_5.disconnect(this._timer);
|
181
|
+
this._timer=null;
|
182
|
+
ctr--;
|
183
|
+
}
|
184
|
+
if(ctr<=0){
|
185
|
+
clearInterval(_21);
|
186
|
+
_21=null;
|
187
|
+
ctr=0;
|
188
|
+
}
|
189
|
+
}});
|
190
|
+
var _23=_6("ie")?function(_24){
|
191
|
+
var ns=_24.style;
|
192
|
+
if(!ns.width.length&&_8.get(_24,"width")=="auto"){
|
193
|
+
ns.width="auto";
|
194
|
+
}
|
195
|
+
}:function(){
|
196
|
+
};
|
197
|
+
_1._fade=function(_25){
|
198
|
+
_25.node=_7.byId(_25.node);
|
199
|
+
var _26=_9({properties:{}},_25),_27=(_26.properties.opacity={});
|
200
|
+
_27.start=!("start" in _26)?function(){
|
201
|
+
return +_8.get(_26.node,"opacity")||0;
|
202
|
+
}:_26.start;
|
203
|
+
_27.end=_26.end;
|
204
|
+
var _28=_1.animateProperty(_26);
|
205
|
+
_5.connect(_28,"beforeBegin",_2.partial(_23,_26.node));
|
206
|
+
return _28;
|
207
|
+
};
|
208
|
+
_1.fadeIn=function(_29){
|
209
|
+
return _1._fade(_9({end:1},_29));
|
210
|
+
};
|
211
|
+
_1.fadeOut=function(_2a){
|
212
|
+
return _1._fade(_9({end:0},_2a));
|
213
|
+
};
|
214
|
+
_1._defaultEasing=function(n){
|
215
|
+
return 0.5+((Math.sin((n+1.5)*Math.PI))/2);
|
216
|
+
};
|
217
|
+
var _2b=function(_2c){
|
218
|
+
this._properties=_2c;
|
219
|
+
for(var p in _2c){
|
220
|
+
var _2d=_2c[p];
|
221
|
+
if(_2d.start instanceof _4){
|
222
|
+
_2d.tempColor=new _4();
|
223
|
+
}
|
224
|
+
}
|
225
|
+
};
|
226
|
+
_2b.prototype.getValue=function(r){
|
227
|
+
var ret={};
|
228
|
+
for(var p in this._properties){
|
229
|
+
var _2e=this._properties[p],_2f=_2e.start;
|
230
|
+
if(_2f instanceof _4){
|
231
|
+
ret[p]=_4.blendColors(_2f,_2e.end,r,_2e.tempColor).toCss();
|
232
|
+
}else{
|
233
|
+
if(!_2.isArray(_2f)){
|
234
|
+
ret[p]=((_2e.end-_2f)*r)+_2f+(p!="opacity"?_2e.units||"px":0);
|
235
|
+
}
|
236
|
+
}
|
237
|
+
}
|
238
|
+
return ret;
|
239
|
+
};
|
240
|
+
_1.animateProperty=function(_30){
|
241
|
+
var n=_30.node=_7.byId(_30.node);
|
242
|
+
if(!_30.easing){
|
243
|
+
_30.easing=_1._defaultEasing;
|
244
|
+
}
|
245
|
+
var _31=new _1.Animation(_30);
|
246
|
+
_5.connect(_31,"beforeBegin",_31,function(){
|
247
|
+
var pm={};
|
248
|
+
for(var p in this.properties){
|
249
|
+
if(p=="width"||p=="height"){
|
250
|
+
this.node.display="block";
|
251
|
+
}
|
252
|
+
var _32=this.properties[p];
|
253
|
+
if(_2.isFunction(_32)){
|
254
|
+
_32=_32(n);
|
255
|
+
}
|
256
|
+
_32=pm[p]=_9({},(_2.isObject(_32)?_32:{end:_32}));
|
257
|
+
if(_2.isFunction(_32.start)){
|
258
|
+
_32.start=_32.start(n);
|
259
|
+
}
|
260
|
+
if(_2.isFunction(_32.end)){
|
261
|
+
_32.end=_32.end(n);
|
262
|
+
}
|
263
|
+
var _33=(p.toLowerCase().indexOf("color")>=0);
|
264
|
+
function _34(_35,p){
|
265
|
+
var v={height:_35.offsetHeight,width:_35.offsetWidth}[p];
|
266
|
+
if(v!==undefined){
|
267
|
+
return v;
|
268
|
+
}
|
269
|
+
v=_8.get(_35,p);
|
270
|
+
return (p=="opacity")?+v:(_33?v:parseFloat(v));
|
271
|
+
};
|
272
|
+
if(!("end" in _32)){
|
273
|
+
_32.end=_34(n,p);
|
274
|
+
}else{
|
275
|
+
if(!("start" in _32)){
|
276
|
+
_32.start=_34(n,p);
|
277
|
+
}
|
278
|
+
}
|
279
|
+
if(_33){
|
280
|
+
_32.start=new _4(_32.start);
|
281
|
+
_32.end=new _4(_32.end);
|
282
|
+
}else{
|
283
|
+
_32.start=(p=="opacity")?+_32.start:parseFloat(_32.start);
|
284
|
+
}
|
285
|
+
}
|
286
|
+
this.curve=new _2b(pm);
|
287
|
+
});
|
288
|
+
_5.connect(_31,"onAnimate",_2.hitch(_8,"set",_31.node));
|
289
|
+
return _31;
|
290
|
+
};
|
291
|
+
_1.anim=function(_36,_37,_38,_39,_3a,_3b){
|
292
|
+
return _1.animateProperty({node:_36,duration:_38||_1.Animation.prototype.duration,properties:_37,easing:_39,onEnd:_3a}).play(_3b||0);
|
293
|
+
};
|
294
|
+
return {_Line:_1._Line,Animation:_1.Animation,_fade:_1._fade,fadeIn:_1.fadeIn,fadeOut:_1.fadeOut,_defaultEasing:_1._defaultEasing,animateProperty:_1.animateProperty,anim:_1.anim};
|
295
|
+
});
|
@@ -0,0 +1,666 @@
|
|
1
|
+
define("dojo/_base/fx", ["./kernel", "./lang", "../Evented", "./Color", "./connect", "./sniff", "../dom", "../dom-style"], function(dojo, lang, Evented, Color, connect, has, dom, style){
|
2
|
+
// module:
|
3
|
+
// dojo/_base/fx
|
4
|
+
// summary:
|
5
|
+
// This module defines the base dojo.fx implementation.
|
6
|
+
// notes:
|
7
|
+
// Animation loosely package based on Dan Pupius' work, contributed under CLA; see
|
8
|
+
// http://pupius.co.uk/js/Toolkit.Drawing.js
|
9
|
+
|
10
|
+
var _mixin = lang.mixin;
|
11
|
+
|
12
|
+
dojo._Line = function(/*int*/ start, /*int*/ end){
|
13
|
+
// summary:
|
14
|
+
// dojo._Line is the object used to generate values from a start value
|
15
|
+
// to an end value
|
16
|
+
// start: int
|
17
|
+
// Beginning value for range
|
18
|
+
// end: int
|
19
|
+
// Ending value for range
|
20
|
+
this.start = start;
|
21
|
+
this.end = end;
|
22
|
+
};
|
23
|
+
|
24
|
+
dojo._Line.prototype.getValue = function(/*float*/ n){
|
25
|
+
// summary: Returns the point on the line
|
26
|
+
// n: a floating point number greater than 0 and less than 1
|
27
|
+
return ((this.end - this.start) * n) + this.start; // Decimal
|
28
|
+
};
|
29
|
+
|
30
|
+
dojo.Animation = function(args){
|
31
|
+
// summary:
|
32
|
+
// A generic animation class that fires callbacks into its handlers
|
33
|
+
// object at various states.
|
34
|
+
// description:
|
35
|
+
// A generic animation class that fires callbacks into its handlers
|
36
|
+
// object at various states. Nearly all dojo animation functions
|
37
|
+
// return an instance of this method, usually without calling the
|
38
|
+
// .play() method beforehand. Therefore, you will likely need to
|
39
|
+
// call .play() on instances of `dojo.Animation` when one is
|
40
|
+
// returned.
|
41
|
+
// args: Object
|
42
|
+
// The 'magic argument', mixing all the properties into this
|
43
|
+
// animation instance.
|
44
|
+
|
45
|
+
_mixin(this, args);
|
46
|
+
if(lang.isArray(this.curve)){
|
47
|
+
this.curve = new dojo._Line(this.curve[0], this.curve[1]);
|
48
|
+
}
|
49
|
+
|
50
|
+
};
|
51
|
+
dojo.Animation.prototype = new Evented();
|
52
|
+
// Alias to drop come 2.0:
|
53
|
+
dojo._Animation = dojo.Animation;
|
54
|
+
|
55
|
+
lang.extend(dojo.Animation, {
|
56
|
+
// duration: Integer
|
57
|
+
// The time in milliseonds the animation will take to run
|
58
|
+
duration: 350,
|
59
|
+
|
60
|
+
/*=====
|
61
|
+
// curve: dojo._Line|Array
|
62
|
+
// A two element array of start and end values, or a `dojo._Line` instance to be
|
63
|
+
// used in the Animation.
|
64
|
+
curve: null,
|
65
|
+
|
66
|
+
// easing: Function?
|
67
|
+
// A Function to adjust the acceleration (or deceleration) of the progress
|
68
|
+
// across a dojo._Line
|
69
|
+
easing: null,
|
70
|
+
=====*/
|
71
|
+
|
72
|
+
// repeat: Integer?
|
73
|
+
// The number of times to loop the animation
|
74
|
+
repeat: 0,
|
75
|
+
|
76
|
+
// rate: Integer?
|
77
|
+
// the time in milliseconds to wait before advancing to next frame
|
78
|
+
// (used as a fps timer: 1000/rate = fps)
|
79
|
+
rate: 20 /* 50 fps */,
|
80
|
+
|
81
|
+
/*=====
|
82
|
+
// delay: Integer?
|
83
|
+
// The time in milliseconds to wait before starting animation after it
|
84
|
+
// has been .play()'ed
|
85
|
+
delay: null,
|
86
|
+
|
87
|
+
// beforeBegin: Event?
|
88
|
+
// Synthetic event fired before a dojo.Animation begins playing (synchronous)
|
89
|
+
beforeBegin: null,
|
90
|
+
|
91
|
+
// onBegin: Event?
|
92
|
+
// Synthetic event fired as a dojo.Animation begins playing (useful?)
|
93
|
+
onBegin: null,
|
94
|
+
|
95
|
+
// onAnimate: Event?
|
96
|
+
// Synthetic event fired at each interval of a `dojo.Animation`
|
97
|
+
onAnimate: null,
|
98
|
+
|
99
|
+
// onEnd: Event?
|
100
|
+
// Synthetic event fired after the final frame of a `dojo.Animation`
|
101
|
+
onEnd: null,
|
102
|
+
|
103
|
+
// onPlay: Event?
|
104
|
+
// Synthetic event fired any time a `dojo.Animation` is play()'ed
|
105
|
+
onPlay: null,
|
106
|
+
|
107
|
+
// onPause: Event?
|
108
|
+
// Synthetic event fired when a `dojo.Animation` is paused
|
109
|
+
onPause: null,
|
110
|
+
|
111
|
+
// onStop: Event
|
112
|
+
// Synthetic event fires when a `dojo.Animation` is stopped
|
113
|
+
onStop: null,
|
114
|
+
|
115
|
+
=====*/
|
116
|
+
|
117
|
+
_percent: 0,
|
118
|
+
_startRepeatCount: 0,
|
119
|
+
|
120
|
+
_getStep: function(){
|
121
|
+
var _p = this._percent,
|
122
|
+
_e = this.easing
|
123
|
+
;
|
124
|
+
return _e ? _e(_p) : _p;
|
125
|
+
},
|
126
|
+
_fire: function(/*Event*/ evt, /*Array?*/ args){
|
127
|
+
// summary:
|
128
|
+
// Convenience function. Fire event "evt" and pass it the
|
129
|
+
// arguments specified in "args".
|
130
|
+
// description:
|
131
|
+
// Convenience function. Fire event "evt" and pass it the
|
132
|
+
// arguments specified in "args".
|
133
|
+
// Fires the callback in the scope of the `dojo.Animation`
|
134
|
+
// instance.
|
135
|
+
// evt:
|
136
|
+
// The event to fire.
|
137
|
+
// args:
|
138
|
+
// The arguments to pass to the event.
|
139
|
+
var a = args||[];
|
140
|
+
if(this[evt]){
|
141
|
+
if(dojo.config.debugAtAllCosts){
|
142
|
+
this[evt].apply(this, a);
|
143
|
+
}else{
|
144
|
+
try{
|
145
|
+
this[evt].apply(this, a);
|
146
|
+
}catch(e){
|
147
|
+
// squelch and log because we shouldn't allow exceptions in
|
148
|
+
// synthetic event handlers to cause the internal timer to run
|
149
|
+
// amuck, potentially pegging the CPU. I'm not a fan of this
|
150
|
+
// squelch, but hopefully logging will make it clear what's
|
151
|
+
// going on
|
152
|
+
console.error("exception in animation handler for:", evt);
|
153
|
+
console.error(e);
|
154
|
+
}
|
155
|
+
}
|
156
|
+
}
|
157
|
+
return this; // dojo.Animation
|
158
|
+
},
|
159
|
+
|
160
|
+
play: function(/*int?*/ delay, /*Boolean?*/ gotoStart){
|
161
|
+
// summary:
|
162
|
+
// Start the animation.
|
163
|
+
// delay:
|
164
|
+
// How many milliseconds to delay before starting.
|
165
|
+
// gotoStart:
|
166
|
+
// If true, starts the animation from the beginning; otherwise,
|
167
|
+
// starts it from its current position.
|
168
|
+
// returns: dojo.Animation
|
169
|
+
// The instance to allow chaining.
|
170
|
+
|
171
|
+
var _t = this;
|
172
|
+
if(_t._delayTimer){ _t._clearTimer(); }
|
173
|
+
if(gotoStart){
|
174
|
+
_t._stopTimer();
|
175
|
+
_t._active = _t._paused = false;
|
176
|
+
_t._percent = 0;
|
177
|
+
}else if(_t._active && !_t._paused){
|
178
|
+
return _t;
|
179
|
+
}
|
180
|
+
|
181
|
+
_t._fire("beforeBegin", [_t.node]);
|
182
|
+
|
183
|
+
var de = delay || _t.delay,
|
184
|
+
_p = lang.hitch(_t, "_play", gotoStart);
|
185
|
+
|
186
|
+
if(de > 0){
|
187
|
+
_t._delayTimer = setTimeout(_p, de);
|
188
|
+
return _t;
|
189
|
+
}
|
190
|
+
_p();
|
191
|
+
return _t; // dojo.Animation
|
192
|
+
},
|
193
|
+
|
194
|
+
_play: function(gotoStart){
|
195
|
+
var _t = this;
|
196
|
+
if(_t._delayTimer){ _t._clearTimer(); }
|
197
|
+
_t._startTime = new Date().valueOf();
|
198
|
+
if(_t._paused){
|
199
|
+
_t._startTime -= _t.duration * _t._percent;
|
200
|
+
}
|
201
|
+
|
202
|
+
_t._active = true;
|
203
|
+
_t._paused = false;
|
204
|
+
var value = _t.curve.getValue(_t._getStep());
|
205
|
+
if(!_t._percent){
|
206
|
+
if(!_t._startRepeatCount){
|
207
|
+
_t._startRepeatCount = _t.repeat;
|
208
|
+
}
|
209
|
+
_t._fire("onBegin", [value]);
|
210
|
+
}
|
211
|
+
|
212
|
+
_t._fire("onPlay", [value]);
|
213
|
+
|
214
|
+
_t._cycle();
|
215
|
+
return _t; // dojo.Animation
|
216
|
+
},
|
217
|
+
|
218
|
+
pause: function(){
|
219
|
+
// summary: Pauses a running animation.
|
220
|
+
var _t = this;
|
221
|
+
if(_t._delayTimer){ _t._clearTimer(); }
|
222
|
+
_t._stopTimer();
|
223
|
+
if(!_t._active){ return _t; /*dojo.Animation*/ }
|
224
|
+
_t._paused = true;
|
225
|
+
_t._fire("onPause", [_t.curve.getValue(_t._getStep())]);
|
226
|
+
return _t; // dojo.Animation
|
227
|
+
},
|
228
|
+
|
229
|
+
gotoPercent: function(/*Decimal*/ percent, /*Boolean?*/ andPlay){
|
230
|
+
// summary:
|
231
|
+
// Sets the progress of the animation.
|
232
|
+
// percent:
|
233
|
+
// A percentage in decimal notation (between and including 0.0 and 1.0).
|
234
|
+
// andPlay:
|
235
|
+
// If true, play the animation after setting the progress.
|
236
|
+
var _t = this;
|
237
|
+
_t._stopTimer();
|
238
|
+
_t._active = _t._paused = true;
|
239
|
+
_t._percent = percent;
|
240
|
+
if(andPlay){ _t.play(); }
|
241
|
+
return _t; // dojo.Animation
|
242
|
+
},
|
243
|
+
|
244
|
+
stop: function(/*boolean?*/ gotoEnd){
|
245
|
+
// summary: Stops a running animation.
|
246
|
+
// gotoEnd: If true, the animation will end.
|
247
|
+
var _t = this;
|
248
|
+
if(_t._delayTimer){ _t._clearTimer(); }
|
249
|
+
if(!_t._timer){ return _t; /* dojo.Animation */ }
|
250
|
+
_t._stopTimer();
|
251
|
+
if(gotoEnd){
|
252
|
+
_t._percent = 1;
|
253
|
+
}
|
254
|
+
_t._fire("onStop", [_t.curve.getValue(_t._getStep())]);
|
255
|
+
_t._active = _t._paused = false;
|
256
|
+
return _t; // dojo.Animation
|
257
|
+
},
|
258
|
+
|
259
|
+
status: function(){
|
260
|
+
// summary:
|
261
|
+
// Returns a string token representation of the status of
|
262
|
+
// the animation, one of: "paused", "playing", "stopped"
|
263
|
+
if(this._active){
|
264
|
+
return this._paused ? "paused" : "playing"; // String
|
265
|
+
}
|
266
|
+
return "stopped"; // String
|
267
|
+
},
|
268
|
+
|
269
|
+
_cycle: function(){
|
270
|
+
var _t = this;
|
271
|
+
if(_t._active){
|
272
|
+
var curr = new Date().valueOf();
|
273
|
+
var step = (curr - _t._startTime) / (_t.duration);
|
274
|
+
|
275
|
+
if(step >= 1){
|
276
|
+
step = 1;
|
277
|
+
}
|
278
|
+
_t._percent = step;
|
279
|
+
|
280
|
+
// Perform easing
|
281
|
+
if(_t.easing){
|
282
|
+
step = _t.easing(step);
|
283
|
+
}
|
284
|
+
|
285
|
+
_t._fire("onAnimate", [_t.curve.getValue(step)]);
|
286
|
+
|
287
|
+
if(_t._percent < 1){
|
288
|
+
_t._startTimer();
|
289
|
+
}else{
|
290
|
+
_t._active = false;
|
291
|
+
|
292
|
+
if(_t.repeat > 0){
|
293
|
+
_t.repeat--;
|
294
|
+
_t.play(null, true);
|
295
|
+
}else if(_t.repeat == -1){
|
296
|
+
_t.play(null, true);
|
297
|
+
}else{
|
298
|
+
if(_t._startRepeatCount){
|
299
|
+
_t.repeat = _t._startRepeatCount;
|
300
|
+
_t._startRepeatCount = 0;
|
301
|
+
}
|
302
|
+
}
|
303
|
+
_t._percent = 0;
|
304
|
+
_t._fire("onEnd", [_t.node]);
|
305
|
+
!_t.repeat && _t._stopTimer();
|
306
|
+
}
|
307
|
+
}
|
308
|
+
return _t; // dojo.Animation
|
309
|
+
},
|
310
|
+
|
311
|
+
_clearTimer: function(){
|
312
|
+
// summary: Clear the play delay timer
|
313
|
+
clearTimeout(this._delayTimer);
|
314
|
+
delete this._delayTimer;
|
315
|
+
}
|
316
|
+
|
317
|
+
});
|
318
|
+
|
319
|
+
// the local timer, stubbed into all Animation instances
|
320
|
+
var ctr = 0,
|
321
|
+
timer = null,
|
322
|
+
runner = {
|
323
|
+
run: function(){}
|
324
|
+
};
|
325
|
+
|
326
|
+
lang.extend(dojo.Animation, {
|
327
|
+
|
328
|
+
_startTimer: function(){
|
329
|
+
if(!this._timer){
|
330
|
+
this._timer = connect.connect(runner, "run", this, "_cycle");
|
331
|
+
ctr++;
|
332
|
+
}
|
333
|
+
if(!timer){
|
334
|
+
timer = setInterval(lang.hitch(runner, "run"), this.rate);
|
335
|
+
}
|
336
|
+
},
|
337
|
+
|
338
|
+
_stopTimer: function(){
|
339
|
+
if(this._timer){
|
340
|
+
connect.disconnect(this._timer);
|
341
|
+
this._timer = null;
|
342
|
+
ctr--;
|
343
|
+
}
|
344
|
+
if(ctr <= 0){
|
345
|
+
clearInterval(timer);
|
346
|
+
timer = null;
|
347
|
+
ctr = 0;
|
348
|
+
}
|
349
|
+
}
|
350
|
+
|
351
|
+
});
|
352
|
+
|
353
|
+
var _makeFadeable =
|
354
|
+
has("ie") ? function(node){
|
355
|
+
// only set the zoom if the "tickle" value would be the same as the
|
356
|
+
// default
|
357
|
+
var ns = node.style;
|
358
|
+
// don't set the width to auto if it didn't already cascade that way.
|
359
|
+
// We don't want to f anyones designs
|
360
|
+
if(!ns.width.length && style.get(node, "width") == "auto"){
|
361
|
+
ns.width = "auto";
|
362
|
+
}
|
363
|
+
} :
|
364
|
+
function(){};
|
365
|
+
|
366
|
+
dojo._fade = function(/*Object*/ args){
|
367
|
+
// summary:
|
368
|
+
// Returns an animation that will fade the node defined by
|
369
|
+
// args.node from the start to end values passed (args.start
|
370
|
+
// args.end) (end is mandatory, start is optional)
|
371
|
+
|
372
|
+
args.node = dom.byId(args.node);
|
373
|
+
var fArgs = _mixin({ properties: {} }, args),
|
374
|
+
props = (fArgs.properties.opacity = {});
|
375
|
+
|
376
|
+
props.start = !("start" in fArgs) ?
|
377
|
+
function(){
|
378
|
+
return +style.get(fArgs.node, "opacity")||0;
|
379
|
+
} : fArgs.start;
|
380
|
+
props.end = fArgs.end;
|
381
|
+
|
382
|
+
var anim = dojo.animateProperty(fArgs);
|
383
|
+
connect.connect(anim, "beforeBegin", lang.partial(_makeFadeable, fArgs.node));
|
384
|
+
|
385
|
+
return anim; // dojo.Animation
|
386
|
+
};
|
387
|
+
|
388
|
+
/*=====
|
389
|
+
dojo.__FadeArgs = function(node, duration, easing){
|
390
|
+
// node: DOMNode|String
|
391
|
+
// The node referenced in the animation
|
392
|
+
// duration: Integer?
|
393
|
+
// Duration of the animation in milliseconds.
|
394
|
+
// easing: Function?
|
395
|
+
// An easing function.
|
396
|
+
this.node = node;
|
397
|
+
this.duration = duration;
|
398
|
+
this.easing = easing;
|
399
|
+
}
|
400
|
+
=====*/
|
401
|
+
|
402
|
+
dojo.fadeIn = function(/*dojo.__FadeArgs*/ args){
|
403
|
+
// summary:
|
404
|
+
// Returns an animation that will fade node defined in 'args' from
|
405
|
+
// its current opacity to fully opaque.
|
406
|
+
return dojo._fade(_mixin({ end: 1 }, args)); // dojo.Animation
|
407
|
+
};
|
408
|
+
|
409
|
+
dojo.fadeOut = function(/*dojo.__FadeArgs*/ args){
|
410
|
+
// summary:
|
411
|
+
// Returns an animation that will fade node defined in 'args'
|
412
|
+
// from its current opacity to fully transparent.
|
413
|
+
return dojo._fade(_mixin({ end: 0 }, args)); // dojo.Animation
|
414
|
+
};
|
415
|
+
|
416
|
+
dojo._defaultEasing = function(/*Decimal?*/ n){
|
417
|
+
// summary: The default easing function for dojo.Animation(s)
|
418
|
+
return 0.5 + ((Math.sin((n + 1.5) * Math.PI)) / 2); // Decimal
|
419
|
+
};
|
420
|
+
|
421
|
+
var PropLine = function(properties){
|
422
|
+
// PropLine is an internal class which is used to model the values of
|
423
|
+
// an a group of CSS properties across an animation lifecycle. In
|
424
|
+
// particular, the "getValue" function handles getting interpolated
|
425
|
+
// values between start and end for a particular CSS value.
|
426
|
+
this._properties = properties;
|
427
|
+
for(var p in properties){
|
428
|
+
var prop = properties[p];
|
429
|
+
if(prop.start instanceof Color){
|
430
|
+
// create a reusable temp color object to keep intermediate results
|
431
|
+
prop.tempColor = new Color();
|
432
|
+
}
|
433
|
+
}
|
434
|
+
};
|
435
|
+
|
436
|
+
PropLine.prototype.getValue = function(r){
|
437
|
+
var ret = {};
|
438
|
+
for(var p in this._properties){
|
439
|
+
var prop = this._properties[p],
|
440
|
+
start = prop.start;
|
441
|
+
if(start instanceof Color){
|
442
|
+
ret[p] = Color.blendColors(start, prop.end, r, prop.tempColor).toCss();
|
443
|
+
}else if(!lang.isArray(start)){
|
444
|
+
ret[p] = ((prop.end - start) * r) + start + (p != "opacity" ? prop.units || "px" : 0);
|
445
|
+
}
|
446
|
+
}
|
447
|
+
return ret;
|
448
|
+
};
|
449
|
+
|
450
|
+
/*=====
|
451
|
+
dojo.declare("dojo.__AnimArgs", [dojo.__FadeArgs], {
|
452
|
+
// Properties: Object?
|
453
|
+
// A hash map of style properties to Objects describing the transition,
|
454
|
+
// such as the properties of dojo._Line with an additional 'units' property
|
455
|
+
properties: {}
|
456
|
+
|
457
|
+
//TODOC: add event callbacks
|
458
|
+
});
|
459
|
+
=====*/
|
460
|
+
|
461
|
+
dojo.animateProperty = function(/*dojo.__AnimArgs*/ args){
|
462
|
+
// summary:
|
463
|
+
// Returns an animation that will transition the properties of
|
464
|
+
// node defined in `args` depending how they are defined in
|
465
|
+
// `args.properties`
|
466
|
+
//
|
467
|
+
// description:
|
468
|
+
// `dojo.animateProperty` is the foundation of most `dojo.fx`
|
469
|
+
// animations. It takes an object of "properties" corresponding to
|
470
|
+
// style properties, and animates them in parallel over a set
|
471
|
+
// duration.
|
472
|
+
//
|
473
|
+
// example:
|
474
|
+
// A simple animation that changes the width of the specified node.
|
475
|
+
// | dojo.animateProperty({
|
476
|
+
// | node: "nodeId",
|
477
|
+
// | properties: { width: 400 },
|
478
|
+
// | }).play();
|
479
|
+
// Dojo figures out the start value for the width and converts the
|
480
|
+
// integer specified for the width to the more expressive but
|
481
|
+
// verbose form `{ width: { end: '400', units: 'px' } }` which you
|
482
|
+
// can also specify directly. Defaults to 'px' if ommitted.
|
483
|
+
//
|
484
|
+
// example:
|
485
|
+
// Animate width, height, and padding over 2 seconds... the
|
486
|
+
// pedantic way:
|
487
|
+
// | dojo.animateProperty({ node: node, duration:2000,
|
488
|
+
// | properties: {
|
489
|
+
// | width: { start: '200', end: '400', units:"px" },
|
490
|
+
// | height: { start:'200', end: '400', units:"px" },
|
491
|
+
// | paddingTop: { start:'5', end:'50', units:"px" }
|
492
|
+
// | }
|
493
|
+
// | }).play();
|
494
|
+
// Note 'paddingTop' is used over 'padding-top'. Multi-name CSS properties
|
495
|
+
// are written using "mixed case", as the hyphen is illegal as an object key.
|
496
|
+
//
|
497
|
+
// example:
|
498
|
+
// Plug in a different easing function and register a callback for
|
499
|
+
// when the animation ends. Easing functions accept values between
|
500
|
+
// zero and one and return a value on that basis. In this case, an
|
501
|
+
// exponential-in curve.
|
502
|
+
// | dojo.animateProperty({
|
503
|
+
// | node: "nodeId",
|
504
|
+
// | // dojo figures out the start value
|
505
|
+
// | properties: { width: { end: 400 } },
|
506
|
+
// | easing: function(n){
|
507
|
+
// | return (n==0) ? 0 : Math.pow(2, 10 * (n - 1));
|
508
|
+
// | },
|
509
|
+
// | onEnd: function(node){
|
510
|
+
// | // called when the animation finishes. The animation
|
511
|
+
// | // target is passed to this function
|
512
|
+
// | }
|
513
|
+
// | }).play(500); // delay playing half a second
|
514
|
+
//
|
515
|
+
// example:
|
516
|
+
// Like all `dojo.Animation`s, animateProperty returns a handle to the
|
517
|
+
// Animation instance, which fires the events common to Dojo FX. Use `dojo.connect`
|
518
|
+
// to access these events outside of the Animation definiton:
|
519
|
+
// | var anim = dojo.animateProperty({
|
520
|
+
// | node:"someId",
|
521
|
+
// | properties:{
|
522
|
+
// | width:400, height:500
|
523
|
+
// | }
|
524
|
+
// | });
|
525
|
+
// | dojo.connect(anim,"onEnd", function(){
|
526
|
+
// | console.log("animation ended");
|
527
|
+
// | });
|
528
|
+
// | // play the animation now:
|
529
|
+
// | anim.play();
|
530
|
+
//
|
531
|
+
// example:
|
532
|
+
// Each property can be a function whose return value is substituted along.
|
533
|
+
// Additionally, each measurement (eg: start, end) can be a function. The node
|
534
|
+
// reference is passed direcly to callbacks.
|
535
|
+
// | dojo.animateProperty({
|
536
|
+
// | node:"mine",
|
537
|
+
// | properties:{
|
538
|
+
// | height:function(node){
|
539
|
+
// | // shrink this node by 50%
|
540
|
+
// | return dojo.position(node).h / 2
|
541
|
+
// | },
|
542
|
+
// | width:{
|
543
|
+
// | start:function(node){ return 100; },
|
544
|
+
// | end:function(node){ return 200; }
|
545
|
+
// | }
|
546
|
+
// | }
|
547
|
+
// | }).play();
|
548
|
+
//
|
549
|
+
|
550
|
+
var n = args.node = dom.byId(args.node);
|
551
|
+
if(!args.easing){ args.easing = dojo._defaultEasing; }
|
552
|
+
|
553
|
+
var anim = new dojo.Animation(args);
|
554
|
+
connect.connect(anim, "beforeBegin", anim, function(){
|
555
|
+
var pm = {};
|
556
|
+
for(var p in this.properties){
|
557
|
+
// Make shallow copy of properties into pm because we overwrite
|
558
|
+
// some values below. In particular if start/end are functions
|
559
|
+
// we don't want to overwrite them or the functions won't be
|
560
|
+
// called if the animation is reused.
|
561
|
+
if(p == "width" || p == "height"){
|
562
|
+
this.node.display = "block";
|
563
|
+
}
|
564
|
+
var prop = this.properties[p];
|
565
|
+
if(lang.isFunction(prop)){
|
566
|
+
prop = prop(n);
|
567
|
+
}
|
568
|
+
prop = pm[p] = _mixin({}, (lang.isObject(prop) ? prop: { end: prop }));
|
569
|
+
|
570
|
+
if(lang.isFunction(prop.start)){
|
571
|
+
prop.start = prop.start(n);
|
572
|
+
}
|
573
|
+
if(lang.isFunction(prop.end)){
|
574
|
+
prop.end = prop.end(n);
|
575
|
+
}
|
576
|
+
var isColor = (p.toLowerCase().indexOf("color") >= 0);
|
577
|
+
function getStyle(node, p){
|
578
|
+
// dojo.style(node, "height") can return "auto" or "" on IE; this is more reliable:
|
579
|
+
var v = { height: node.offsetHeight, width: node.offsetWidth }[p];
|
580
|
+
if(v !== undefined){ return v; }
|
581
|
+
v = style.get(node, p);
|
582
|
+
return (p == "opacity") ? +v : (isColor ? v : parseFloat(v));
|
583
|
+
}
|
584
|
+
if(!("end" in prop)){
|
585
|
+
prop.end = getStyle(n, p);
|
586
|
+
}else if(!("start" in prop)){
|
587
|
+
prop.start = getStyle(n, p);
|
588
|
+
}
|
589
|
+
|
590
|
+
if(isColor){
|
591
|
+
prop.start = new Color(prop.start);
|
592
|
+
prop.end = new Color(prop.end);
|
593
|
+
}else{
|
594
|
+
prop.start = (p == "opacity") ? +prop.start : parseFloat(prop.start);
|
595
|
+
}
|
596
|
+
}
|
597
|
+
this.curve = new PropLine(pm);
|
598
|
+
});
|
599
|
+
connect.connect(anim, "onAnimate", lang.hitch(style, "set", anim.node));
|
600
|
+
return anim; // dojo.Animation
|
601
|
+
};
|
602
|
+
|
603
|
+
dojo.anim = function( /*DOMNode|String*/ node,
|
604
|
+
/*Object*/ properties,
|
605
|
+
/*Integer?*/ duration,
|
606
|
+
/*Function?*/ easing,
|
607
|
+
/*Function?*/ onEnd,
|
608
|
+
/*Integer?*/ delay){
|
609
|
+
// summary:
|
610
|
+
// A simpler interface to `dojo.animateProperty()`, also returns
|
611
|
+
// an instance of `dojo.Animation` but begins the animation
|
612
|
+
// immediately, unlike nearly every other Dojo animation API.
|
613
|
+
// description:
|
614
|
+
// `dojo.anim` is a simpler (but somewhat less powerful) version
|
615
|
+
// of `dojo.animateProperty`. It uses defaults for many basic properties
|
616
|
+
// and allows for positional parameters to be used in place of the
|
617
|
+
// packed "property bag" which is used for other Dojo animation
|
618
|
+
// methods.
|
619
|
+
//
|
620
|
+
// The `dojo.Animation` object returned from `dojo.anim` will be
|
621
|
+
// already playing when it is returned from this function, so
|
622
|
+
// calling play() on it again is (usually) a no-op.
|
623
|
+
// node:
|
624
|
+
// a DOM node or the id of a node to animate CSS properties on
|
625
|
+
// duration:
|
626
|
+
// The number of milliseconds over which the animation
|
627
|
+
// should run. Defaults to the global animation default duration
|
628
|
+
// (350ms).
|
629
|
+
// easing:
|
630
|
+
// An easing function over which to calculate acceleration
|
631
|
+
// and deceleration of the animation through its duration.
|
632
|
+
// A default easing algorithm is provided, but you may
|
633
|
+
// plug in any you wish. A large selection of easing algorithms
|
634
|
+
// are available in `dojo.fx.easing`.
|
635
|
+
// onEnd:
|
636
|
+
// A function to be called when the animation finishes
|
637
|
+
// running.
|
638
|
+
// delay:
|
639
|
+
// The number of milliseconds to delay beginning the
|
640
|
+
// animation by. The default is 0.
|
641
|
+
// example:
|
642
|
+
// Fade out a node
|
643
|
+
// | dojo.anim("id", { opacity: 0 });
|
644
|
+
// example:
|
645
|
+
// Fade out a node over a full second
|
646
|
+
// | dojo.anim("id", { opacity: 0 }, 1000);
|
647
|
+
return dojo.animateProperty({ // dojo.Animation
|
648
|
+
node: node,
|
649
|
+
duration: duration || dojo.Animation.prototype.duration,
|
650
|
+
properties: properties,
|
651
|
+
easing: easing,
|
652
|
+
onEnd: onEnd
|
653
|
+
}).play(delay || 0);
|
654
|
+
};
|
655
|
+
|
656
|
+
return {
|
657
|
+
_Line: dojo._Line,
|
658
|
+
Animation: dojo.Animation,
|
659
|
+
_fade: dojo._fade,
|
660
|
+
fadeIn: dojo.fadeIn,
|
661
|
+
fadeOut: dojo.fadeOut,
|
662
|
+
_defaultEasing: dojo._defaultEasing,
|
663
|
+
animateProperty: dojo.animateProperty,
|
664
|
+
anim: dojo.anim
|
665
|
+
};
|
666
|
+
});
|