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,23 @@
|
|
1
|
+
{
|
2
|
+
"name": "dojo",
|
3
|
+
"version":"1.7.3",
|
4
|
+
"directories": {
|
5
|
+
"lib": "."
|
6
|
+
},
|
7
|
+
"main": "main",
|
8
|
+
"description": "Dojo core is a powerful, lightweight library that makes common tasks quicker and easier. Animate elements, manipulate the DOM, and query with easy CSS syntax, all without sacrificing performance.",
|
9
|
+
"licenses": [
|
10
|
+
{
|
11
|
+
"type": "AFLv2.1",
|
12
|
+
"url": "http://trac.dojotoolkit.org/browser/dojo/trunk/LICENSE#L43"
|
13
|
+
},
|
14
|
+
{
|
15
|
+
"type": "BSD",
|
16
|
+
"url": "http://trac.dojotoolkit.org/browser/dojo/trunk/LICENSE#L13"
|
17
|
+
}
|
18
|
+
],
|
19
|
+
"bugs": "http://bugs.dojotoolkit.org/",
|
20
|
+
"keywords": ["JavaScript", "Dojo", "Toolkit"],
|
21
|
+
"homepage": "http://dojotoolkit.org/",
|
22
|
+
"dojoBuild": "dojo.profile.js"
|
23
|
+
}
|
@@ -0,0 +1,299 @@
|
|
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/parser",["./_base/kernel","./_base/lang","./_base/array","./_base/html","./_base/window","./_base/url","./_base/json","./aspect","./date/stamp","./query","./on","./ready"],function(_1,_2,_3,_4,_5,_6,_7,_8,_9,_a,_b){
|
9
|
+
new Date("X");
|
10
|
+
var _c={"dom-attributes-explicit":document.createElement("div").attributes.length<40};
|
11
|
+
function _d(_e){
|
12
|
+
return _c[_e];
|
13
|
+
};
|
14
|
+
_1.parser=new function(){
|
15
|
+
var _f={};
|
16
|
+
function _10(_11){
|
17
|
+
var map={};
|
18
|
+
for(var _12 in _11){
|
19
|
+
if(_12.charAt(0)=="_"){
|
20
|
+
continue;
|
21
|
+
}
|
22
|
+
map[_12.toLowerCase()]=_12;
|
23
|
+
}
|
24
|
+
return map;
|
25
|
+
};
|
26
|
+
_8.after(_2,"extend",function(){
|
27
|
+
_f={};
|
28
|
+
},true);
|
29
|
+
var _13={};
|
30
|
+
this._functionFromScript=function(_14,_15){
|
31
|
+
var _16="";
|
32
|
+
var _17="";
|
33
|
+
var _18=(_14.getAttribute(_15+"args")||_14.getAttribute("args"));
|
34
|
+
if(_18){
|
35
|
+
_3.forEach(_18.split(/\s*,\s*/),function(_19,idx){
|
36
|
+
_16+="var "+_19+" = arguments["+idx+"]; ";
|
37
|
+
});
|
38
|
+
}
|
39
|
+
var _1a=_14.getAttribute("with");
|
40
|
+
if(_1a&&_1a.length){
|
41
|
+
_3.forEach(_1a.split(/\s*,\s*/),function(_1b){
|
42
|
+
_16+="with("+_1b+"){";
|
43
|
+
_17+="}";
|
44
|
+
});
|
45
|
+
}
|
46
|
+
return new Function(_16+_14.innerHTML+_17);
|
47
|
+
};
|
48
|
+
this.instantiate=function(_1c,_1d,_1e){
|
49
|
+
var _1f=[],_1d=_1d||{};
|
50
|
+
_1e=_1e||{};
|
51
|
+
var _20=(_1e.scope||_1._scopeName)+"Type",_21="data-"+(_1e.scope||_1._scopeName)+"-",_22=_21+"type",_23=_21+"props",_24=_21+"attach-point",_25=_21+"attach-event",_26=_21+"id";
|
52
|
+
var _27={};
|
53
|
+
_3.forEach([_23,_22,_20,_26,"jsId",_24,_25,"dojoAttachPoint","dojoAttachEvent","class","style"],function(_28){
|
54
|
+
_27[_28.toLowerCase()]=_28.replace(_1e.scope,"dojo");
|
55
|
+
});
|
56
|
+
_3.forEach(_1c,function(obj){
|
57
|
+
if(!obj){
|
58
|
+
return;
|
59
|
+
}
|
60
|
+
var _29=obj.node||obj,_2a=_20 in _1d?_1d[_20]:obj.node?obj.type:(_29.getAttribute(_22)||_29.getAttribute(_20)),_2b=_13[_2a]||(_13[_2a]=_2.getObject(_2a)),_2c=_2b&&_2b.prototype;
|
61
|
+
if(!_2b){
|
62
|
+
throw new Error("Could not load class '"+_2a);
|
63
|
+
}
|
64
|
+
var _2d={};
|
65
|
+
if(_1e.defaults){
|
66
|
+
_2.mixin(_2d,_1e.defaults);
|
67
|
+
}
|
68
|
+
if(obj.inherited){
|
69
|
+
_2.mixin(_2d,obj.inherited);
|
70
|
+
}
|
71
|
+
var _2e;
|
72
|
+
if(_d("dom-attributes-explicit")){
|
73
|
+
_2e=_29.attributes;
|
74
|
+
}else{
|
75
|
+
var _2f=/^input$|^img$/i.test(_29.nodeName)?_29:_29.cloneNode(false),_30=_2f.outerHTML.replace(/=[^\s"']+|="[^"]*"|='[^']*'/g,"").replace(/^\s*<[a-zA-Z0-9]*/,"").replace(/>.*$/,"");
|
76
|
+
_2e=_3.map(_30.split(/\s+/),function(_31){
|
77
|
+
var _32=_31.toLowerCase();
|
78
|
+
return {name:_31,value:(_29.nodeName=="LI"&&_31=="value")||_32=="enctype"?_29.getAttribute(_32):_29.getAttributeNode(_32).value,specified:true};
|
79
|
+
});
|
80
|
+
}
|
81
|
+
var i=0,_33;
|
82
|
+
while(_33=_2e[i++]){
|
83
|
+
if(!_33||!_33.specified){
|
84
|
+
continue;
|
85
|
+
}
|
86
|
+
var _34=_33.name,_35=_34.toLowerCase(),_36=_33.value;
|
87
|
+
if(_35 in _27){
|
88
|
+
switch(_27[_35]){
|
89
|
+
case "data-dojo-props":
|
90
|
+
var _37=_36;
|
91
|
+
break;
|
92
|
+
case "data-dojo-id":
|
93
|
+
case "jsId":
|
94
|
+
var _38=_36;
|
95
|
+
break;
|
96
|
+
case "data-dojo-attach-point":
|
97
|
+
case "dojoAttachPoint":
|
98
|
+
_2d.dojoAttachPoint=_36;
|
99
|
+
break;
|
100
|
+
case "data-dojo-attach-event":
|
101
|
+
case "dojoAttachEvent":
|
102
|
+
_2d.dojoAttachEvent=_36;
|
103
|
+
break;
|
104
|
+
case "class":
|
105
|
+
_2d["class"]=_29.className;
|
106
|
+
break;
|
107
|
+
case "style":
|
108
|
+
_2d["style"]=_29.style&&_29.style.cssText;
|
109
|
+
break;
|
110
|
+
}
|
111
|
+
}else{
|
112
|
+
if(!(_34 in _2c)){
|
113
|
+
var map=(_f[_2a]||(_f[_2a]=_10(_2c)));
|
114
|
+
_34=map[_35]||_34;
|
115
|
+
}
|
116
|
+
if(_34 in _2c){
|
117
|
+
switch(typeof _2c[_34]){
|
118
|
+
case "string":
|
119
|
+
_2d[_34]=_36;
|
120
|
+
break;
|
121
|
+
case "number":
|
122
|
+
_2d[_34]=_36.length?Number(_36):NaN;
|
123
|
+
break;
|
124
|
+
case "boolean":
|
125
|
+
_2d[_34]=_36.toLowerCase()!="false";
|
126
|
+
break;
|
127
|
+
case "function":
|
128
|
+
if(_36===""||_36.search(/[^\w\.]+/i)!=-1){
|
129
|
+
_2d[_34]=new Function(_36);
|
130
|
+
}else{
|
131
|
+
_2d[_34]=_2.getObject(_36,false)||new Function(_36);
|
132
|
+
}
|
133
|
+
break;
|
134
|
+
default:
|
135
|
+
var _39=_2c[_34];
|
136
|
+
_2d[_34]=(_39&&"length" in _39)?(_36?_36.split(/\s*,\s*/):[]):(_39 instanceof Date)?(_36==""?new Date(""):_36=="now"?new Date():_9.fromISOString(_36)):(_39 instanceof _1._Url)?(_1.baseUrl+_36):_7.fromJson(_36);
|
137
|
+
}
|
138
|
+
}else{
|
139
|
+
_2d[_34]=_36;
|
140
|
+
}
|
141
|
+
}
|
142
|
+
}
|
143
|
+
if(_37){
|
144
|
+
try{
|
145
|
+
_37=_7.fromJson.call(_1e.propsThis,"{"+_37+"}");
|
146
|
+
_2.mixin(_2d,_37);
|
147
|
+
}
|
148
|
+
catch(e){
|
149
|
+
throw new Error(e.toString()+" in data-dojo-props='"+_37+"'");
|
150
|
+
}
|
151
|
+
}
|
152
|
+
_2.mixin(_2d,_1d);
|
153
|
+
var _3a=obj.node?obj.scripts:(_2b&&(_2b._noScript||_2c._noScript)?[]:_a("> script[type^='dojo/']",_29));
|
154
|
+
var _3b=[],_3c=[],_3d=[],on=[];
|
155
|
+
if(_3a){
|
156
|
+
for(i=0;i<_3a.length;i++){
|
157
|
+
var _3e=_3a[i];
|
158
|
+
_29.removeChild(_3e);
|
159
|
+
var _3f=(_3e.getAttribute(_21+"event")||_3e.getAttribute("event")),_40=_3e.getAttribute(_21+"prop"),_2a=_3e.getAttribute("type"),nf=this._functionFromScript(_3e,_21);
|
160
|
+
if(_3f){
|
161
|
+
if(_2a=="dojo/connect"){
|
162
|
+
_3b.push({event:_3f,func:nf});
|
163
|
+
}else{
|
164
|
+
if(_2a=="dojo/on"){
|
165
|
+
on.push({event:_3f,func:nf});
|
166
|
+
}else{
|
167
|
+
_2d[_3f]=nf;
|
168
|
+
}
|
169
|
+
}
|
170
|
+
}else{
|
171
|
+
if(_2a=="dojo/watch"){
|
172
|
+
_3d.push({prop:_40,func:nf});
|
173
|
+
}else{
|
174
|
+
_3c.push(nf);
|
175
|
+
}
|
176
|
+
}
|
177
|
+
}
|
178
|
+
}
|
179
|
+
var _41=_2b.markupFactory||_2c.markupFactory;
|
180
|
+
var _42=_41?_41(_2d,_29,_2b):new _2b(_2d,_29);
|
181
|
+
_1f.push(_42);
|
182
|
+
if(_38){
|
183
|
+
_2.setObject(_38,_42);
|
184
|
+
}
|
185
|
+
for(i=0;i<_3b.length;i++){
|
186
|
+
_8.after(_42,_3b[i].event,_1.hitch(_42,_3b[i].func),true);
|
187
|
+
}
|
188
|
+
for(i=0;i<_3c.length;i++){
|
189
|
+
_3c[i].call(_42);
|
190
|
+
}
|
191
|
+
for(i=0;i<_3d.length;i++){
|
192
|
+
_42.watch(_3d[i].prop,_3d[i].func);
|
193
|
+
}
|
194
|
+
for(i=0;i<on.length;i++){
|
195
|
+
_b(_42,on[i].event,on[i].func);
|
196
|
+
}
|
197
|
+
},this);
|
198
|
+
if(!_1d._started){
|
199
|
+
_3.forEach(_1f,function(_43){
|
200
|
+
if(!_1e.noStart&&_43&&_2.isFunction(_43.startup)&&!_43._started){
|
201
|
+
_43.startup();
|
202
|
+
}
|
203
|
+
});
|
204
|
+
}
|
205
|
+
return _1f;
|
206
|
+
};
|
207
|
+
this.parse=function(_44,_45){
|
208
|
+
var _46;
|
209
|
+
if(!_45&&_44&&_44.rootNode){
|
210
|
+
_45=_44;
|
211
|
+
_46=_45.rootNode;
|
212
|
+
}else{
|
213
|
+
_46=_44;
|
214
|
+
}
|
215
|
+
_46=_46?_4.byId(_46):_5.body();
|
216
|
+
_45=_45||{};
|
217
|
+
var _47=(_45.scope||_1._scopeName)+"Type",_48="data-"+(_45.scope||_1._scopeName)+"-",_49=_48+"type",_4a=_48+"textdir";
|
218
|
+
var _4b=[];
|
219
|
+
var _4c=_46.firstChild;
|
220
|
+
var _4d=_45&&_45.inherited;
|
221
|
+
if(!_4d){
|
222
|
+
function _4e(_4f,_50){
|
223
|
+
return (_4f.getAttribute&&_4f.getAttribute(_50))||(_4f!==_5.doc&&_4f!==_5.doc.documentElement&&_4f.parentNode?_4e(_4f.parentNode,_50):null);
|
224
|
+
};
|
225
|
+
_4d={dir:_4e(_46,"dir"),lang:_4e(_46,"lang"),textDir:_4e(_46,_4a)};
|
226
|
+
for(var key in _4d){
|
227
|
+
if(!_4d[key]){
|
228
|
+
delete _4d[key];
|
229
|
+
}
|
230
|
+
}
|
231
|
+
}
|
232
|
+
var _51={inherited:_4d};
|
233
|
+
var _52;
|
234
|
+
var _53;
|
235
|
+
function _54(_55){
|
236
|
+
if(!_55.inherited){
|
237
|
+
_55.inherited={};
|
238
|
+
var _56=_55.node,_57=_54(_55.parent);
|
239
|
+
var _58={dir:_56.getAttribute("dir")||_57.dir,lang:_56.getAttribute("lang")||_57.lang,textDir:_56.getAttribute(_4a)||_57.textDir};
|
240
|
+
for(var key in _58){
|
241
|
+
if(_58[key]){
|
242
|
+
_55.inherited[key]=_58[key];
|
243
|
+
}
|
244
|
+
}
|
245
|
+
}
|
246
|
+
return _55.inherited;
|
247
|
+
};
|
248
|
+
while(true){
|
249
|
+
if(!_4c){
|
250
|
+
if(!_51||!_51.node){
|
251
|
+
break;
|
252
|
+
}
|
253
|
+
_4c=_51.node.nextSibling;
|
254
|
+
_52=_51.scripts;
|
255
|
+
_53=false;
|
256
|
+
_51=_51.parent;
|
257
|
+
continue;
|
258
|
+
}
|
259
|
+
if(_4c.nodeType!=1){
|
260
|
+
_4c=_4c.nextSibling;
|
261
|
+
continue;
|
262
|
+
}
|
263
|
+
if(_52&&_4c.nodeName.toLowerCase()=="script"){
|
264
|
+
_59=_4c.getAttribute("type");
|
265
|
+
if(_59&&/^dojo\/\w/i.test(_59)){
|
266
|
+
_52.push(_4c);
|
267
|
+
}
|
268
|
+
_4c=_4c.nextSibling;
|
269
|
+
continue;
|
270
|
+
}
|
271
|
+
if(_53){
|
272
|
+
_4c=_4c.nextSibling;
|
273
|
+
continue;
|
274
|
+
}
|
275
|
+
var _59=_4c.getAttribute(_49)||_4c.getAttribute(_47);
|
276
|
+
var _5a=_4c.firstChild;
|
277
|
+
if(!_59&&(!_5a||(_5a.nodeType==3&&!_5a.nextSibling))){
|
278
|
+
_4c=_4c.nextSibling;
|
279
|
+
continue;
|
280
|
+
}
|
281
|
+
var _5b={node:_4c,scripts:_52,parent:_51};
|
282
|
+
var _5c=_59&&(_13[_59]||(_13[_59]=_2.getObject(_59))),_5d=_5c&&!_5c.prototype._noScript?[]:null;
|
283
|
+
if(_59){
|
284
|
+
_4b.push({"type":_59,node:_4c,scripts:_5d,inherited:_54(_5b)});
|
285
|
+
}
|
286
|
+
_4c=_5a;
|
287
|
+
_52=_5d;
|
288
|
+
_53=_5c&&_5c.prototype.stopParser&&!(_45&&_45.template);
|
289
|
+
_51=_5b;
|
290
|
+
}
|
291
|
+
var _5e=_45&&_45.template?{template:true}:null;
|
292
|
+
return this.instantiate(_4b,_5e,_45);
|
293
|
+
};
|
294
|
+
}();
|
295
|
+
if(_1.config.parseOnLoad){
|
296
|
+
_1.ready(100,_1.parser,"parse");
|
297
|
+
}
|
298
|
+
return _1.parser;
|
299
|
+
});
|
@@ -0,0 +1,594 @@
|
|
1
|
+
define(
|
2
|
+
"dojo/parser", ["./_base/kernel", "./_base/lang", "./_base/array", "./_base/html", "./_base/window", "./_base/url",
|
3
|
+
"./_base/json", "./aspect", "./date/stamp", "./query", "./on", "./ready"],
|
4
|
+
function(dojo, dlang, darray, dhtml, dwindow, _Url, djson, aspect, dates, query, don){
|
5
|
+
|
6
|
+
// module:
|
7
|
+
// dojo/parser
|
8
|
+
// summary:
|
9
|
+
// The Dom/Widget parsing package
|
10
|
+
|
11
|
+
new Date("X"); // workaround for #11279, new Date("") == NaN
|
12
|
+
|
13
|
+
var features = {
|
14
|
+
// Feature detection for when node.attributes only lists the attributes specified in the markup
|
15
|
+
// rather than old IE/quirks behavior where it lists every default value too
|
16
|
+
"dom-attributes-explicit": document.createElement("div").attributes.length < 40
|
17
|
+
};
|
18
|
+
function has(feature){
|
19
|
+
return features[feature];
|
20
|
+
}
|
21
|
+
|
22
|
+
|
23
|
+
dojo.parser = new function(){
|
24
|
+
// summary:
|
25
|
+
// The Dom/Widget parsing package
|
26
|
+
|
27
|
+
var _nameMap = {
|
28
|
+
// Map from widget name (ex: "dijit.form.Button") to structure mapping
|
29
|
+
// lowercase version of attribute names to the version in the widget ex:
|
30
|
+
// {
|
31
|
+
// label: "label",
|
32
|
+
// onclick: "onClick"
|
33
|
+
// }
|
34
|
+
};
|
35
|
+
function getNameMap(proto){
|
36
|
+
// summary:
|
37
|
+
// Returns map from lowercase name to attribute name in class, ex: {onclick: "onClick"}
|
38
|
+
var map = {};
|
39
|
+
for(var name in proto){
|
40
|
+
if(name.charAt(0)=="_"){ continue; } // skip internal properties
|
41
|
+
map[name.toLowerCase()] = name;
|
42
|
+
}
|
43
|
+
return map;
|
44
|
+
}
|
45
|
+
// Widgets like BorderContainer add properties to _Widget via dojo.extend().
|
46
|
+
// If BorderContainer is loaded after _Widget's parameter list has been cached,
|
47
|
+
// we need to refresh that parameter list (for _Widget and all widgets that extend _Widget).
|
48
|
+
aspect.after(dlang, "extend", function(){
|
49
|
+
_nameMap = {};
|
50
|
+
}, true);
|
51
|
+
|
52
|
+
// Map from widget name (ex: "dijit.form.Button") to constructor
|
53
|
+
var _ctorMap = {};
|
54
|
+
|
55
|
+
this._functionFromScript = function(script, attrData){
|
56
|
+
// summary:
|
57
|
+
// Convert a <script type="dojo/method" args="a, b, c"> ... </script>
|
58
|
+
// into a function
|
59
|
+
// script: DOMNode
|
60
|
+
// The <script> DOMNode
|
61
|
+
// attrData: String
|
62
|
+
// For HTML5 compliance, searches for attrData + "args" (typically
|
63
|
+
// "data-dojo-args") instead of "args"
|
64
|
+
var preamble = "";
|
65
|
+
var suffix = "";
|
66
|
+
var argsStr = (script.getAttribute(attrData + "args") || script.getAttribute("args"));
|
67
|
+
if(argsStr){
|
68
|
+
darray.forEach(argsStr.split(/\s*,\s*/), function(part, idx){
|
69
|
+
preamble += "var "+part+" = arguments["+idx+"]; ";
|
70
|
+
});
|
71
|
+
}
|
72
|
+
var withStr = script.getAttribute("with");
|
73
|
+
if(withStr && withStr.length){
|
74
|
+
darray.forEach(withStr.split(/\s*,\s*/), function(part){
|
75
|
+
preamble += "with("+part+"){";
|
76
|
+
suffix += "}";
|
77
|
+
});
|
78
|
+
}
|
79
|
+
return new Function(preamble+script.innerHTML+suffix);
|
80
|
+
};
|
81
|
+
|
82
|
+
this.instantiate = /*====== dojo.parser.instantiate= ======*/function(nodes, mixin, args){
|
83
|
+
// summary:
|
84
|
+
// Takes array of nodes, and turns them into class instances and
|
85
|
+
// potentially calls a startup method to allow them to connect with
|
86
|
+
// any children.
|
87
|
+
// nodes: Array
|
88
|
+
// Array of nodes or objects like
|
89
|
+
// | {
|
90
|
+
// | type: "dijit.form.Button",
|
91
|
+
// | node: DOMNode,
|
92
|
+
// | scripts: [ ... ], // array of <script type="dojo/..."> children of node
|
93
|
+
// | inherited: { ... } // settings inherited from ancestors like dir, theme, etc.
|
94
|
+
// | }
|
95
|
+
// mixin: Object?
|
96
|
+
// An object that will be mixed in with each node in the array.
|
97
|
+
// Values in the mixin will override values in the node, if they
|
98
|
+
// exist.
|
99
|
+
// args: Object?
|
100
|
+
// An object used to hold kwArgs for instantiation.
|
101
|
+
// See parse.args argument for details.
|
102
|
+
|
103
|
+
var thelist = [],
|
104
|
+
mixin = mixin||{};
|
105
|
+
args = args||{};
|
106
|
+
|
107
|
+
// Precompute names of special attributes we are looking for
|
108
|
+
// TODO: for 2.0 default to data-dojo- regardless of scopeName (or maybe scopeName won't exist in 2.0)
|
109
|
+
var dojoType = (args.scope || dojo._scopeName) + "Type", // typically "dojoType"
|
110
|
+
attrData = "data-" + (args.scope || dojo._scopeName) + "-",// typically "data-dojo-"
|
111
|
+
dataDojoType = attrData + "type", // typically "data-dojo-type"
|
112
|
+
dataDojoProps = attrData + "props", // typically "data-dojo-props"
|
113
|
+
dataDojoAttachPoint = attrData + "attach-point",
|
114
|
+
dataDojoAttachEvent = attrData + "attach-event",
|
115
|
+
dataDojoId = attrData + "id";
|
116
|
+
|
117
|
+
// And make hash to quickly check if a given attribute is special, and to map the name to something friendly
|
118
|
+
var specialAttrs = {};
|
119
|
+
darray.forEach([dataDojoProps, dataDojoType, dojoType, dataDojoId, "jsId", dataDojoAttachPoint,
|
120
|
+
dataDojoAttachEvent, "dojoAttachPoint", "dojoAttachEvent", "class", "style"], function(name){
|
121
|
+
specialAttrs[name.toLowerCase()] = name.replace(args.scope, "dojo");
|
122
|
+
});
|
123
|
+
|
124
|
+
darray.forEach(nodes, function(obj){
|
125
|
+
if(!obj){ return; }
|
126
|
+
|
127
|
+
var node = obj.node || obj,
|
128
|
+
type = dojoType in mixin ? mixin[dojoType] : obj.node ? obj.type : (node.getAttribute(dataDojoType) || node.getAttribute(dojoType)),
|
129
|
+
ctor = _ctorMap[type] || (_ctorMap[type] = dlang.getObject(type)),
|
130
|
+
proto = ctor && ctor.prototype;
|
131
|
+
if(!ctor){
|
132
|
+
throw new Error("Could not load class '" + type);
|
133
|
+
}
|
134
|
+
|
135
|
+
// Setup hash to hold parameter settings for this widget. Start with the parameter
|
136
|
+
// settings inherited from ancestors ("dir" and "lang").
|
137
|
+
// Inherited setting may later be overridden by explicit settings on node itself.
|
138
|
+
var params = {};
|
139
|
+
|
140
|
+
if(args.defaults){
|
141
|
+
// settings for the document itself (or whatever subtree is being parsed)
|
142
|
+
dlang.mixin(params, args.defaults);
|
143
|
+
}
|
144
|
+
if(obj.inherited){
|
145
|
+
// settings from dir=rtl or lang=... on a node above this node
|
146
|
+
dlang.mixin(params, obj.inherited);
|
147
|
+
}
|
148
|
+
|
149
|
+
// Get list of attributes explicitly listed in the markup
|
150
|
+
var attributes;
|
151
|
+
if(has("dom-attributes-explicit")){
|
152
|
+
// Standard path to get list of user specified attributes
|
153
|
+
attributes = node.attributes;
|
154
|
+
}else{
|
155
|
+
// Special path for IE, avoid (sometimes >100) bogus entries in node.attributes
|
156
|
+
var clone = /^input$|^img$/i.test(node.nodeName) ? node : node.cloneNode(false),
|
157
|
+
attrs = clone.outerHTML.replace(/=[^\s"']+|="[^"]*"|='[^']*'/g, "").replace(/^\s*<[a-zA-Z0-9]*/, "").replace(/>.*$/, "");
|
158
|
+
|
159
|
+
attributes = darray.map(attrs.split(/\s+/), function(name){
|
160
|
+
var lcName = name.toLowerCase();
|
161
|
+
return {
|
162
|
+
name: name,
|
163
|
+
// getAttribute() doesn't work for button.value, returns innerHTML of button.
|
164
|
+
// but getAttributeNode().value doesn't work for the form.encType or li.value
|
165
|
+
value: (node.nodeName == "LI" && name == "value") || lcName == "enctype" ?
|
166
|
+
node.getAttribute(lcName) : node.getAttributeNode(lcName).value,
|
167
|
+
specified: true
|
168
|
+
};
|
169
|
+
});
|
170
|
+
}
|
171
|
+
|
172
|
+
// Read in attributes and process them, including data-dojo-props, data-dojo-type,
|
173
|
+
// dojoAttachPoint, etc., as well as normal foo=bar attributes.
|
174
|
+
var i=0, item;
|
175
|
+
while(item = attributes[i++]){
|
176
|
+
if(!item || !item.specified){
|
177
|
+
continue;
|
178
|
+
}
|
179
|
+
|
180
|
+
var name = item.name,
|
181
|
+
lcName = name.toLowerCase(),
|
182
|
+
value = item.value;
|
183
|
+
|
184
|
+
if(lcName in specialAttrs){
|
185
|
+
switch(specialAttrs[lcName]){
|
186
|
+
|
187
|
+
// Data-dojo-props. Save for later to make sure it overrides direct foo=bar settings
|
188
|
+
case "data-dojo-props":
|
189
|
+
var extra = value;
|
190
|
+
break;
|
191
|
+
|
192
|
+
// data-dojo-id or jsId. TODO: drop jsId in 2.0
|
193
|
+
case "data-dojo-id":
|
194
|
+
case "jsId":
|
195
|
+
var jsname = value;
|
196
|
+
break;
|
197
|
+
|
198
|
+
// For the benefit of _Templated
|
199
|
+
case "data-dojo-attach-point":
|
200
|
+
case "dojoAttachPoint":
|
201
|
+
params.dojoAttachPoint = value;
|
202
|
+
break;
|
203
|
+
case "data-dojo-attach-event":
|
204
|
+
case "dojoAttachEvent":
|
205
|
+
params.dojoAttachEvent = value;
|
206
|
+
break;
|
207
|
+
|
208
|
+
// Special parameter handling needed for IE
|
209
|
+
case "class":
|
210
|
+
params["class"] = node.className;
|
211
|
+
break;
|
212
|
+
case "style":
|
213
|
+
params["style"] = node.style && node.style.cssText;
|
214
|
+
break;
|
215
|
+
}
|
216
|
+
}else{
|
217
|
+
// Normal attribute, ex: value="123"
|
218
|
+
|
219
|
+
// Find attribute in widget corresponding to specified name.
|
220
|
+
// May involve case conversion, ex: onclick --> onClick
|
221
|
+
if(!(name in proto)){
|
222
|
+
var map = (_nameMap[type] || (_nameMap[type] = getNameMap(proto)));
|
223
|
+
name = map[lcName] || name;
|
224
|
+
}
|
225
|
+
|
226
|
+
// Set params[name] to value, doing type conversion
|
227
|
+
if(name in proto){
|
228
|
+
switch(typeof proto[name]){
|
229
|
+
case "string":
|
230
|
+
params[name] = value;
|
231
|
+
break;
|
232
|
+
case "number":
|
233
|
+
params[name] = value.length ? Number(value) : NaN;
|
234
|
+
break;
|
235
|
+
case "boolean":
|
236
|
+
// for checked/disabled value might be "" or "checked". interpret as true.
|
237
|
+
params[name] = value.toLowerCase() != "false";
|
238
|
+
break;
|
239
|
+
case "function":
|
240
|
+
if(value === "" || value.search(/[^\w\.]+/i) != -1){
|
241
|
+
// The user has specified some text for a function like "return x+5"
|
242
|
+
params[name] = new Function(value);
|
243
|
+
}else{
|
244
|
+
// The user has specified the name of a function like "myOnClick"
|
245
|
+
// or a single word function "return"
|
246
|
+
params[name] = dlang.getObject(value, false) || new Function(value);
|
247
|
+
}
|
248
|
+
break;
|
249
|
+
default:
|
250
|
+
var pVal = proto[name];
|
251
|
+
params[name] =
|
252
|
+
(pVal && "length" in pVal) ? (value ? value.split(/\s*,\s*/) : []) : // array
|
253
|
+
(pVal instanceof Date) ?
|
254
|
+
(value == "" ? new Date("") : // the NaN of dates
|
255
|
+
value == "now" ? new Date() : // current date
|
256
|
+
dates.fromISOString(value)) :
|
257
|
+
(pVal instanceof dojo._Url) ? (dojo.baseUrl + value) :
|
258
|
+
djson.fromJson(value);
|
259
|
+
}
|
260
|
+
}else{
|
261
|
+
params[name] = value;
|
262
|
+
}
|
263
|
+
}
|
264
|
+
}
|
265
|
+
|
266
|
+
// Mix things found in data-dojo-props into the params, overriding any direct settings
|
267
|
+
if(extra){
|
268
|
+
try{
|
269
|
+
extra = djson.fromJson.call(args.propsThis, "{" + extra + "}");
|
270
|
+
dlang.mixin(params, extra);
|
271
|
+
}catch(e){
|
272
|
+
// give the user a pointer to their invalid parameters. FIXME: can we kill this in production?
|
273
|
+
throw new Error(e.toString() + " in data-dojo-props='" + extra + "'");
|
274
|
+
}
|
275
|
+
}
|
276
|
+
|
277
|
+
// Any parameters specified in "mixin" override everything else.
|
278
|
+
dlang.mixin(params, mixin);
|
279
|
+
|
280
|
+
var scripts = obj.node ? obj.scripts : (ctor && (ctor._noScript || proto._noScript) ? [] :
|
281
|
+
query("> script[type^='dojo/']", node));
|
282
|
+
|
283
|
+
// Process <script type="dojo/*"> script tags
|
284
|
+
// <script type="dojo/method" event="foo"> tags are added to params, and passed to
|
285
|
+
// the widget on instantiation.
|
286
|
+
// <script type="dojo/method"> tags (with no event) are executed after instantiation
|
287
|
+
// <script type="dojo/connect" data-dojo-event="foo"> tags are dojo.connected after instantiation
|
288
|
+
// <script type="dojo/watch" data-dojo-prop="foo"> tags are dojo.watch after instantiation
|
289
|
+
// <script type="dojo/on" data-dojo-event="foo"> tags are dojo.on after instantiation
|
290
|
+
// note: dojo/* script tags cannot exist in self closing widgets, like <input />
|
291
|
+
var connects = [], // functions to connect after instantiation
|
292
|
+
calls = [], // functions to call after instantiation
|
293
|
+
watch = [], //functions to watch after instantiation
|
294
|
+
on = []; //functions to on after instantiation
|
295
|
+
|
296
|
+
if(scripts){
|
297
|
+
for(i=0; i<scripts.length; i++){
|
298
|
+
var script = scripts[i];
|
299
|
+
node.removeChild(script);
|
300
|
+
// FIXME: drop event="" support in 2.0. use data-dojo-event="" instead
|
301
|
+
var event = (script.getAttribute(attrData + "event") || script.getAttribute("event")),
|
302
|
+
prop = script.getAttribute(attrData + "prop"),
|
303
|
+
type = script.getAttribute("type"),
|
304
|
+
nf = this._functionFromScript(script, attrData);
|
305
|
+
if(event){
|
306
|
+
if(type == "dojo/connect"){
|
307
|
+
connects.push({event: event, func: nf});
|
308
|
+
}else if(type == "dojo/on"){
|
309
|
+
on.push({event: event, func: nf});
|
310
|
+
}else{
|
311
|
+
params[event] = nf;
|
312
|
+
}
|
313
|
+
}else if(type == "dojo/watch"){
|
314
|
+
watch.push({prop: prop, func: nf});
|
315
|
+
}else{
|
316
|
+
calls.push(nf);
|
317
|
+
}
|
318
|
+
}
|
319
|
+
}
|
320
|
+
|
321
|
+
// create the instance
|
322
|
+
var markupFactory = ctor.markupFactory || proto.markupFactory;
|
323
|
+
var instance = markupFactory ? markupFactory(params, node, ctor) : new ctor(params, node);
|
324
|
+
thelist.push(instance);
|
325
|
+
|
326
|
+
// map it to the JS namespace if that makes sense
|
327
|
+
if(jsname){
|
328
|
+
dlang.setObject(jsname, instance);
|
329
|
+
}
|
330
|
+
|
331
|
+
// process connections and startup functions
|
332
|
+
for(i=0; i<connects.length; i++){
|
333
|
+
aspect.after(instance, connects[i].event, dojo.hitch(instance, connects[i].func), true);
|
334
|
+
}
|
335
|
+
for(i=0; i<calls.length; i++){
|
336
|
+
calls[i].call(instance);
|
337
|
+
}
|
338
|
+
for(i=0; i<watch.length; i++){
|
339
|
+
instance.watch(watch[i].prop, watch[i].func);
|
340
|
+
}
|
341
|
+
for(i=0; i<on.length; i++){
|
342
|
+
don(instance, on[i].event, on[i].func);
|
343
|
+
}
|
344
|
+
}, this);
|
345
|
+
|
346
|
+
// Call startup on each top level instance if it makes sense (as for
|
347
|
+
// widgets). Parent widgets will recursively call startup on their
|
348
|
+
// (non-top level) children
|
349
|
+
if(!mixin._started){
|
350
|
+
darray.forEach(thelist, function(instance){
|
351
|
+
if( !args.noStart && instance &&
|
352
|
+
dlang.isFunction(instance.startup) &&
|
353
|
+
!instance._started
|
354
|
+
){
|
355
|
+
instance.startup();
|
356
|
+
}
|
357
|
+
});
|
358
|
+
}
|
359
|
+
return thelist;
|
360
|
+
};
|
361
|
+
|
362
|
+
this.parse = /*====== dojo.parser.parse= ======*/ function(rootNode, args){
|
363
|
+
// summary:
|
364
|
+
// Scan the DOM for class instances, and instantiate them.
|
365
|
+
//
|
366
|
+
// description:
|
367
|
+
// Search specified node (or root node) recursively for class instances,
|
368
|
+
// and instantiate them. Searches for either data-dojo-type="Class" or
|
369
|
+
// dojoType="Class" where "Class" is a a fully qualified class name,
|
370
|
+
// like `dijit.form.Button`
|
371
|
+
//
|
372
|
+
// Using `data-dojo-type`:
|
373
|
+
// Attributes using can be mixed into the parameters used to instantiate the
|
374
|
+
// Class by using a `data-dojo-props` attribute on the node being converted.
|
375
|
+
// `data-dojo-props` should be a string attribute to be converted from JSON.
|
376
|
+
//
|
377
|
+
// Using `dojoType`:
|
378
|
+
// Attributes are read from the original domNode and converted to appropriate
|
379
|
+
// types by looking up the Class prototype values. This is the default behavior
|
380
|
+
// from Dojo 1.0 to Dojo 1.5. `dojoType` support is deprecated, and will
|
381
|
+
// go away in Dojo 2.0.
|
382
|
+
//
|
383
|
+
// rootNode: DomNode?
|
384
|
+
// A default starting root node from which to start the parsing. Can be
|
385
|
+
// omitted, defaulting to the entire document. If omitted, the `args`
|
386
|
+
// object can be passed in this place. If the `args` object has a
|
387
|
+
// `rootNode` member, that is used.
|
388
|
+
//
|
389
|
+
// args: Object
|
390
|
+
// a kwArgs object passed along to instantiate()
|
391
|
+
//
|
392
|
+
// * noStart: Boolean?
|
393
|
+
// when set will prevent the parser from calling .startup()
|
394
|
+
// when locating the nodes.
|
395
|
+
// * rootNode: DomNode?
|
396
|
+
// identical to the function's `rootNode` argument, though
|
397
|
+
// allowed to be passed in via this `args object.
|
398
|
+
// * template: Boolean
|
399
|
+
// If true, ignores ContentPane's stopParser flag and parses contents inside of
|
400
|
+
// a ContentPane inside of a template. This allows dojoAttachPoint on widgets/nodes
|
401
|
+
// nested inside the ContentPane to work.
|
402
|
+
// * inherited: Object
|
403
|
+
// Hash possibly containing dir and lang settings to be applied to
|
404
|
+
// parsed widgets, unless there's another setting on a sub-node that overrides
|
405
|
+
// * scope: String
|
406
|
+
// Root for attribute names to search for. If scopeName is dojo,
|
407
|
+
// will search for data-dojo-type (or dojoType). For backwards compatibility
|
408
|
+
// reasons defaults to dojo._scopeName (which is "dojo" except when
|
409
|
+
// multi-version support is used, when it will be something like dojo16, dojo20, etc.)
|
410
|
+
// * propsThis: Object
|
411
|
+
// If specified, "this" referenced from data-dojo-props will refer to propsThis.
|
412
|
+
// Intended for use from the widgets-in-template feature of `dijit._WidgetsInTemplateMixin`
|
413
|
+
//
|
414
|
+
// example:
|
415
|
+
// Parse all widgets on a page:
|
416
|
+
// | dojo.parser.parse();
|
417
|
+
//
|
418
|
+
// example:
|
419
|
+
// Parse all classes within the node with id="foo"
|
420
|
+
// | dojo.parser.parse(dojo.byId('foo'));
|
421
|
+
//
|
422
|
+
// example:
|
423
|
+
// Parse all classes in a page, but do not call .startup() on any
|
424
|
+
// child
|
425
|
+
// | dojo.parser.parse({ noStart: true })
|
426
|
+
//
|
427
|
+
// example:
|
428
|
+
// Parse all classes in a node, but do not call .startup()
|
429
|
+
// | dojo.parser.parse(someNode, { noStart:true });
|
430
|
+
// | // or
|
431
|
+
// | dojo.parser.parse({ noStart:true, rootNode: someNode });
|
432
|
+
|
433
|
+
// determine the root node based on the passed arguments.
|
434
|
+
var root;
|
435
|
+
if(!args && rootNode && rootNode.rootNode){
|
436
|
+
args = rootNode;
|
437
|
+
root = args.rootNode;
|
438
|
+
}else{
|
439
|
+
root = rootNode;
|
440
|
+
}
|
441
|
+
root = root ? dhtml.byId(root) : dwindow.body();
|
442
|
+
args = args || {};
|
443
|
+
|
444
|
+
var dojoType = (args.scope || dojo._scopeName) + "Type", // typically "dojoType"
|
445
|
+
attrData = "data-" + (args.scope || dojo._scopeName) + "-", // typically "data-dojo-"
|
446
|
+
dataDojoType = attrData + "type", // typically "data-dojo-type"
|
447
|
+
dataDojoTextDir = attrData + "textdir"; // typically "data-dojo-textdir"
|
448
|
+
|
449
|
+
// List of all nodes on page w/dojoType specified
|
450
|
+
var list = [];
|
451
|
+
|
452
|
+
// Info on DOMNode currently being processed
|
453
|
+
var node = root.firstChild;
|
454
|
+
|
455
|
+
// Info on parent of DOMNode currently being processed
|
456
|
+
// - inherited: dir, lang, and textDir setting of parent, or inherited by parent
|
457
|
+
// - parent: pointer to identical structure for my parent (or null if no parent)
|
458
|
+
// - scripts: if specified, collects <script type="dojo/..."> type nodes from children
|
459
|
+
var inherited = args && args.inherited;
|
460
|
+
if(!inherited){
|
461
|
+
function findAncestorAttr(node, attr){
|
462
|
+
return (node.getAttribute && node.getAttribute(attr)) ||
|
463
|
+
(node !== dwindow.doc && node !== dwindow.doc.documentElement && node.parentNode ? findAncestorAttr(node.parentNode, attr) : null);
|
464
|
+
}
|
465
|
+
inherited = {
|
466
|
+
dir: findAncestorAttr(root, "dir"),
|
467
|
+
lang: findAncestorAttr(root, "lang"),
|
468
|
+
textDir: findAncestorAttr(root, dataDojoTextDir)
|
469
|
+
};
|
470
|
+
for(var key in inherited){
|
471
|
+
if(!inherited[key]){ delete inherited[key]; }
|
472
|
+
}
|
473
|
+
}
|
474
|
+
var parent = {
|
475
|
+
inherited: inherited
|
476
|
+
};
|
477
|
+
|
478
|
+
// For collecting <script type="dojo/..."> type nodes (when null, we don't need to collect)
|
479
|
+
var scripts;
|
480
|
+
|
481
|
+
// when true, only look for <script type="dojo/..."> tags, and don't recurse to children
|
482
|
+
var scriptsOnly;
|
483
|
+
|
484
|
+
function getEffective(parent){
|
485
|
+
// summary:
|
486
|
+
// Get effective dir, lang, textDir settings for specified obj
|
487
|
+
// (matching "parent" object structure above), and do caching.
|
488
|
+
// Take care not to return null entries.
|
489
|
+
if(!parent.inherited){
|
490
|
+
parent.inherited = {};
|
491
|
+
var node = parent.node,
|
492
|
+
grandparent = getEffective(parent.parent);
|
493
|
+
var inherited = {
|
494
|
+
dir: node.getAttribute("dir") || grandparent.dir,
|
495
|
+
lang: node.getAttribute("lang") || grandparent.lang,
|
496
|
+
textDir: node.getAttribute(dataDojoTextDir) || grandparent.textDir
|
497
|
+
};
|
498
|
+
for(var key in inherited){
|
499
|
+
if(inherited[key]){
|
500
|
+
parent.inherited[key] = inherited[key];
|
501
|
+
}
|
502
|
+
}
|
503
|
+
}
|
504
|
+
return parent.inherited;
|
505
|
+
}
|
506
|
+
|
507
|
+
// DFS on DOM tree, collecting nodes with data-dojo-type specified.
|
508
|
+
while(true){
|
509
|
+
if(!node){
|
510
|
+
// Finished this level, continue to parent's next sibling
|
511
|
+
if(!parent || !parent.node){
|
512
|
+
break;
|
513
|
+
}
|
514
|
+
node = parent.node.nextSibling;
|
515
|
+
scripts = parent.scripts;
|
516
|
+
scriptsOnly = false;
|
517
|
+
parent = parent.parent;
|
518
|
+
continue;
|
519
|
+
}
|
520
|
+
|
521
|
+
if(node.nodeType != 1){
|
522
|
+
// Text or comment node, skip to next sibling
|
523
|
+
node = node.nextSibling;
|
524
|
+
continue;
|
525
|
+
}
|
526
|
+
|
527
|
+
if(scripts && node.nodeName.toLowerCase() == "script"){
|
528
|
+
// Save <script type="dojo/..."> for parent, then continue to next sibling
|
529
|
+
type = node.getAttribute("type");
|
530
|
+
if(type && /^dojo\/\w/i.test(type)){
|
531
|
+
scripts.push(node);
|
532
|
+
}
|
533
|
+
node = node.nextSibling;
|
534
|
+
continue;
|
535
|
+
}
|
536
|
+
if(scriptsOnly){
|
537
|
+
node = node.nextSibling;
|
538
|
+
continue;
|
539
|
+
}
|
540
|
+
|
541
|
+
// Check for data-dojo-type attribute, fallback to backward compatible dojoType
|
542
|
+
var type = node.getAttribute(dataDojoType) || node.getAttribute(dojoType);
|
543
|
+
|
544
|
+
// Short circuit for leaf nodes containing nothing [but text]
|
545
|
+
var firstChild = node.firstChild;
|
546
|
+
if(!type && (!firstChild || (firstChild.nodeType == 3 && !firstChild.nextSibling))){
|
547
|
+
node = node.nextSibling;
|
548
|
+
continue;
|
549
|
+
}
|
550
|
+
|
551
|
+
// Setup data structure to save info on current node for when we return from processing descendant nodes
|
552
|
+
var current = {
|
553
|
+
node: node,
|
554
|
+
scripts: scripts,
|
555
|
+
parent: parent
|
556
|
+
};
|
557
|
+
|
558
|
+
// If dojoType/data-dojo-type specified, add to output array of nodes to instantiate
|
559
|
+
var ctor = type && (_ctorMap[type] || (_ctorMap[type] = dlang.getObject(type))), // note: won't find classes declared via dojo.Declaration
|
560
|
+
childScripts = ctor && !ctor.prototype._noScript ? [] : null; // <script> nodes that are parent's children
|
561
|
+
if(type){
|
562
|
+
list.push({
|
563
|
+
"type": type,
|
564
|
+
node: node,
|
565
|
+
scripts: childScripts,
|
566
|
+
inherited: getEffective(current) // dir & lang settings for current node, explicit or inherited
|
567
|
+
});
|
568
|
+
}
|
569
|
+
|
570
|
+
// Recurse, collecting <script type="dojo/..."> children, and also looking for
|
571
|
+
// descendant nodes with dojoType specified (unless the widget has the stopParser flag).
|
572
|
+
// When finished with children, go to my next sibling.
|
573
|
+
node = firstChild;
|
574
|
+
scripts = childScripts;
|
575
|
+
scriptsOnly = ctor && ctor.prototype.stopParser && !(args && args.template);
|
576
|
+
parent = current;
|
577
|
+
|
578
|
+
}
|
579
|
+
|
580
|
+
// go build the object instances
|
581
|
+
var mixin = args && args.template ? {template: true} : null;
|
582
|
+
return this.instantiate(list, mixin, args); // Array
|
583
|
+
};
|
584
|
+
}();
|
585
|
+
|
586
|
+
|
587
|
+
//Register the parser callback. It should be the first callback
|
588
|
+
//after the a11y test.
|
589
|
+
if(dojo.config.parseOnLoad){
|
590
|
+
dojo.ready(100, dojo.parser, "parse");
|
591
|
+
}
|
592
|
+
|
593
|
+
return dojo.parser;
|
594
|
+
});
|