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,243 @@
|
|
1
|
+
define("dojo/hash", ["./_base/kernel", "require", "./_base/connect", "./_base/lang", "./ready", "./_base/sniff"],
|
2
|
+
function(dojo, require, connect, lang, ready, has) {
|
3
|
+
// module:
|
4
|
+
// dojo/hash
|
5
|
+
// summary:
|
6
|
+
// TODOC
|
7
|
+
|
8
|
+
|
9
|
+
//TODOC: where does this go?
|
10
|
+
// summary:
|
11
|
+
// Methods for monitoring and updating the hash in the browser URL.
|
12
|
+
//
|
13
|
+
// example:
|
14
|
+
// dojo.subscribe("/dojo/hashchange", context, callback);
|
15
|
+
//
|
16
|
+
// function callback (hashValue){
|
17
|
+
// // do something based on the hash value.
|
18
|
+
// }
|
19
|
+
|
20
|
+
dojo.hash = function(/* String? */ hash, /* Boolean? */ replace){
|
21
|
+
// summary:
|
22
|
+
// Gets or sets the hash string.
|
23
|
+
// description:
|
24
|
+
// Handles getting and setting of location.hash.
|
25
|
+
// - If no arguments are passed, acts as a getter.
|
26
|
+
// - If a string is passed, acts as a setter.
|
27
|
+
// hash:
|
28
|
+
// the hash is set - #string.
|
29
|
+
// replace:
|
30
|
+
// If true, updates the hash value in the current history
|
31
|
+
// state instead of creating a new history state.
|
32
|
+
// returns:
|
33
|
+
// when used as a getter, returns the current hash string.
|
34
|
+
// when used as a setter, returns the new hash string.
|
35
|
+
|
36
|
+
// getter
|
37
|
+
if(!arguments.length){
|
38
|
+
return _getHash();
|
39
|
+
}
|
40
|
+
// setter
|
41
|
+
if(hash.charAt(0) == "#"){
|
42
|
+
hash = hash.substring(1);
|
43
|
+
}
|
44
|
+
if(replace){
|
45
|
+
_replace(hash);
|
46
|
+
}else{
|
47
|
+
location.href = "#" + hash;
|
48
|
+
}
|
49
|
+
return hash; // String
|
50
|
+
};
|
51
|
+
|
52
|
+
// Global vars
|
53
|
+
var _recentHash, _ieUriMonitor, _connect,
|
54
|
+
_pollFrequency = dojo.config.hashPollFrequency || 100;
|
55
|
+
|
56
|
+
//Internal functions
|
57
|
+
function _getSegment(str, delimiter){
|
58
|
+
var i = str.indexOf(delimiter);
|
59
|
+
return (i >= 0) ? str.substring(i+1) : "";
|
60
|
+
}
|
61
|
+
|
62
|
+
function _getHash(){
|
63
|
+
return _getSegment(location.href, "#");
|
64
|
+
}
|
65
|
+
|
66
|
+
function _dispatchEvent(){
|
67
|
+
connect.publish("/dojo/hashchange", [_getHash()]);
|
68
|
+
}
|
69
|
+
|
70
|
+
function _pollLocation(){
|
71
|
+
if(_getHash() === _recentHash){
|
72
|
+
return;
|
73
|
+
}
|
74
|
+
_recentHash = _getHash();
|
75
|
+
_dispatchEvent();
|
76
|
+
}
|
77
|
+
|
78
|
+
function _replace(hash){
|
79
|
+
if(_ieUriMonitor){
|
80
|
+
if(_ieUriMonitor.isTransitioning()){
|
81
|
+
setTimeout(lang.hitch(null,_replace,hash), _pollFrequency);
|
82
|
+
return;
|
83
|
+
}
|
84
|
+
var href = _ieUriMonitor.iframe.location.href;
|
85
|
+
var index = href.indexOf('?');
|
86
|
+
// main frame will detect and update itself
|
87
|
+
_ieUriMonitor.iframe.location.replace(href.substring(0, index) + "?" + hash);
|
88
|
+
return;
|
89
|
+
}
|
90
|
+
location.replace("#"+hash);
|
91
|
+
!_connect && _pollLocation();
|
92
|
+
}
|
93
|
+
|
94
|
+
function IEUriMonitor(){
|
95
|
+
// summary:
|
96
|
+
// Determine if the browser's URI has changed or if the user has pressed the
|
97
|
+
// back or forward button. If so, call _dispatchEvent.
|
98
|
+
//
|
99
|
+
// description:
|
100
|
+
// IE doesn't add changes to the URI's hash into the history unless the hash
|
101
|
+
// value corresponds to an actual named anchor in the document. To get around
|
102
|
+
// this IE difference, we use a background IFrame to maintain a back-forward
|
103
|
+
// history, by updating the IFrame's query string to correspond to the
|
104
|
+
// value of the main browser location's hash value.
|
105
|
+
//
|
106
|
+
// E.g. if the value of the browser window's location changes to
|
107
|
+
//
|
108
|
+
// #action=someAction
|
109
|
+
//
|
110
|
+
// ... then we'd update the IFrame's source to:
|
111
|
+
//
|
112
|
+
// ?action=someAction
|
113
|
+
//
|
114
|
+
// This design leads to a somewhat complex state machine, which is
|
115
|
+
// described below:
|
116
|
+
//
|
117
|
+
// s1: Stable state - neither the window's location has changed nor
|
118
|
+
// has the IFrame's location. Note that this is the 99.9% case, so
|
119
|
+
// we optimize for it.
|
120
|
+
// Transitions: s1, s2, s3
|
121
|
+
// s2: Window's location changed - when a user clicks a hyperlink or
|
122
|
+
// code programmatically changes the window's URI.
|
123
|
+
// Transitions: s4
|
124
|
+
// s3: Iframe's location changed as a result of user pressing back or
|
125
|
+
// forward - when the user presses back or forward, the location of
|
126
|
+
// the background's iframe changes to the previous or next value in
|
127
|
+
// its history.
|
128
|
+
// Transitions: s1
|
129
|
+
// s4: IEUriMonitor has programmatically changed the location of the
|
130
|
+
// background iframe, but it's location hasn't yet changed. In this
|
131
|
+
// case we do nothing because we need to wait for the iframe's
|
132
|
+
// location to reflect its actual state.
|
133
|
+
// Transitions: s4, s5
|
134
|
+
// s5: IEUriMonitor has programmatically changed the location of the
|
135
|
+
// background iframe, and the iframe's location has caught up with
|
136
|
+
// reality. In this case we need to transition to s1.
|
137
|
+
// Transitions: s1
|
138
|
+
//
|
139
|
+
// The hashchange event is always dispatched on the transition back to s1.
|
140
|
+
//
|
141
|
+
|
142
|
+
// create and append iframe
|
143
|
+
var ifr = document.createElement("iframe"),
|
144
|
+
IFRAME_ID = "dojo-hash-iframe",
|
145
|
+
ifrSrc = dojo.config.dojoBlankHtmlUrl || require.toUrl("./resources/blank.html");
|
146
|
+
|
147
|
+
if(dojo.config.useXDomain && !dojo.config.dojoBlankHtmlUrl){
|
148
|
+
console.warn("dojo.hash: When using cross-domain Dojo builds,"
|
149
|
+
+ " please save dojo/resources/blank.html to your domain and set djConfig.dojoBlankHtmlUrl"
|
150
|
+
+ " to the path on your domain to blank.html");
|
151
|
+
}
|
152
|
+
|
153
|
+
ifr.id = IFRAME_ID;
|
154
|
+
ifr.src = ifrSrc + "?" + _getHash();
|
155
|
+
ifr.style.display = "none";
|
156
|
+
document.body.appendChild(ifr);
|
157
|
+
|
158
|
+
this.iframe = dojo.global[IFRAME_ID];
|
159
|
+
var recentIframeQuery, transitioning, expectedIFrameQuery, docTitle, ifrOffline,
|
160
|
+
iframeLoc = this.iframe.location;
|
161
|
+
|
162
|
+
function resetState(){
|
163
|
+
_recentHash = _getHash();
|
164
|
+
recentIframeQuery = ifrOffline ? _recentHash : _getSegment(iframeLoc.href, "?");
|
165
|
+
transitioning = false;
|
166
|
+
expectedIFrameQuery = null;
|
167
|
+
}
|
168
|
+
|
169
|
+
this.isTransitioning = function(){
|
170
|
+
return transitioning;
|
171
|
+
};
|
172
|
+
|
173
|
+
this.pollLocation = function(){
|
174
|
+
if(!ifrOffline) {
|
175
|
+
try{
|
176
|
+
//see if we can access the iframe's location without a permission denied error
|
177
|
+
var iframeSearch = _getSegment(iframeLoc.href, "?");
|
178
|
+
//good, the iframe is same origin (no thrown exception)
|
179
|
+
if(document.title != docTitle){ //sync title of main window with title of iframe.
|
180
|
+
docTitle = this.iframe.document.title = document.title;
|
181
|
+
}
|
182
|
+
}catch(e){
|
183
|
+
//permission denied - server cannot be reached.
|
184
|
+
ifrOffline = true;
|
185
|
+
console.error("dojo.hash: Error adding history entry. Server unreachable.");
|
186
|
+
}
|
187
|
+
}
|
188
|
+
var hash = _getHash();
|
189
|
+
if(transitioning && _recentHash === hash){
|
190
|
+
// we're in an iframe transition (s4 or s5)
|
191
|
+
if(ifrOffline || iframeSearch === expectedIFrameQuery){
|
192
|
+
// s5 (iframe caught up to main window or iframe offline), transition back to s1
|
193
|
+
resetState();
|
194
|
+
_dispatchEvent();
|
195
|
+
}else{
|
196
|
+
// s4 (waiting for iframe to catch up to main window)
|
197
|
+
setTimeout(lang.hitch(this,this.pollLocation),0);
|
198
|
+
return;
|
199
|
+
}
|
200
|
+
}else if(_recentHash === hash && (ifrOffline || recentIframeQuery === iframeSearch)){
|
201
|
+
// we're in stable state (s1, iframe query == main window hash), do nothing
|
202
|
+
}else{
|
203
|
+
// the user has initiated a URL change somehow.
|
204
|
+
// sync iframe query <-> main window hash
|
205
|
+
if(_recentHash !== hash){
|
206
|
+
// s2 (main window location changed), set iframe url and transition to s4
|
207
|
+
_recentHash = hash;
|
208
|
+
transitioning = true;
|
209
|
+
expectedIFrameQuery = hash;
|
210
|
+
ifr.src = ifrSrc + "?" + expectedIFrameQuery;
|
211
|
+
ifrOffline = false; //we're updating the iframe src - set offline to false so we can check again on next poll.
|
212
|
+
setTimeout(lang.hitch(this,this.pollLocation),0); //yielded transition to s4 while iframe reloads.
|
213
|
+
return;
|
214
|
+
}else if(!ifrOffline){
|
215
|
+
// s3 (iframe location changed via back/forward button), set main window url and transition to s1.
|
216
|
+
location.href = "#" + iframeLoc.search.substring(1);
|
217
|
+
resetState();
|
218
|
+
_dispatchEvent();
|
219
|
+
}
|
220
|
+
}
|
221
|
+
setTimeout(lang.hitch(this,this.pollLocation), _pollFrequency);
|
222
|
+
};
|
223
|
+
resetState(); // initialize state (transition to s1)
|
224
|
+
setTimeout(lang.hitch(this,this.pollLocation), _pollFrequency);
|
225
|
+
}
|
226
|
+
ready(function(){
|
227
|
+
if("onhashchange" in dojo.global && (!has("ie") || (has("ie") >= 8 && document.compatMode != "BackCompat"))){ //need this IE browser test because "onhashchange" exists in IE8 in IE7 mode
|
228
|
+
_connect = connect.connect(dojo.global,"onhashchange",_dispatchEvent);
|
229
|
+
}else{
|
230
|
+
if(document.addEventListener){ // Non-IE
|
231
|
+
_recentHash = _getHash();
|
232
|
+
setInterval(_pollLocation, _pollFrequency); //Poll the window location for changes
|
233
|
+
}else if(document.attachEvent){ // IE7-
|
234
|
+
//Use hidden iframe in versions of IE that don't have onhashchange event
|
235
|
+
_ieUriMonitor = new IEUriMonitor();
|
236
|
+
}
|
237
|
+
// else non-supported browser, do nothing.
|
238
|
+
}
|
239
|
+
});
|
240
|
+
|
241
|
+
return dojo.hash;
|
242
|
+
|
243
|
+
});
|
@@ -0,0 +1,148 @@
|
|
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/html",["./_base/kernel","./_base/lang","./_base/array","./_base/declare","./dom","./dom-construct","./parser"],function(_1,_2,_3,_4,_5,_6,_7){
|
9
|
+
_2.getObject("html",true,_1);
|
10
|
+
var _8=0;
|
11
|
+
_1.html._secureForInnerHtml=function(_9){
|
12
|
+
return _9.replace(/(?:\s*<!DOCTYPE\s[^>]+>|<title[^>]*>[\s\S]*?<\/title>)/ig,"");
|
13
|
+
};
|
14
|
+
_1.html._emptyNode=_6.empty;
|
15
|
+
_1.html._setNodeContent=function(_a,_b){
|
16
|
+
_6.empty(_a);
|
17
|
+
if(_b){
|
18
|
+
if(typeof _b=="string"){
|
19
|
+
_b=_6.toDom(_b,_a.ownerDocument);
|
20
|
+
}
|
21
|
+
if(!_b.nodeType&&_2.isArrayLike(_b)){
|
22
|
+
for(var _c=_b.length,i=0;i<_b.length;i=_c==_b.length?i+1:0){
|
23
|
+
_6.place(_b[i],_a,"last");
|
24
|
+
}
|
25
|
+
}else{
|
26
|
+
_6.place(_b,_a,"last");
|
27
|
+
}
|
28
|
+
}
|
29
|
+
return _a;
|
30
|
+
};
|
31
|
+
_4("dojo.html._ContentSetter",null,{node:"",content:"",id:"",cleanContent:false,extractContent:false,parseContent:false,parserScope:_1._scopeName,startup:true,constructor:function(_d,_e){
|
32
|
+
_2.mixin(this,_d||{});
|
33
|
+
_e=this.node=_5.byId(this.node||_e);
|
34
|
+
if(!this.id){
|
35
|
+
this.id=["Setter",(_e)?_e.id||_e.tagName:"",_8++].join("_");
|
36
|
+
}
|
37
|
+
},set:function(_f,_10){
|
38
|
+
if(undefined!==_f){
|
39
|
+
this.content=_f;
|
40
|
+
}
|
41
|
+
if(_10){
|
42
|
+
this._mixin(_10);
|
43
|
+
}
|
44
|
+
this.onBegin();
|
45
|
+
this.setContent();
|
46
|
+
this.onEnd();
|
47
|
+
return this.node;
|
48
|
+
},setContent:function(){
|
49
|
+
var _11=this.node;
|
50
|
+
if(!_11){
|
51
|
+
throw new Error(this.declaredClass+": setContent given no node");
|
52
|
+
}
|
53
|
+
try{
|
54
|
+
_11=_1.html._setNodeContent(_11,this.content);
|
55
|
+
}
|
56
|
+
catch(e){
|
57
|
+
var _12=this.onContentError(e);
|
58
|
+
try{
|
59
|
+
_11.innerHTML=_12;
|
60
|
+
}
|
61
|
+
catch(e){
|
62
|
+
console.error("Fatal "+this.declaredClass+".setContent could not change content due to "+e.message,e);
|
63
|
+
}
|
64
|
+
}
|
65
|
+
this.node=_11;
|
66
|
+
},empty:function(){
|
67
|
+
if(this.parseResults&&this.parseResults.length){
|
68
|
+
_3.forEach(this.parseResults,function(w){
|
69
|
+
if(w.destroy){
|
70
|
+
w.destroy();
|
71
|
+
}
|
72
|
+
});
|
73
|
+
delete this.parseResults;
|
74
|
+
}
|
75
|
+
_1.html._emptyNode(this.node);
|
76
|
+
},onBegin:function(){
|
77
|
+
var _13=this.content;
|
78
|
+
if(_2.isString(_13)){
|
79
|
+
if(this.cleanContent){
|
80
|
+
_13=_1.html._secureForInnerHtml(_13);
|
81
|
+
}
|
82
|
+
if(this.extractContent){
|
83
|
+
var _14=_13.match(/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im);
|
84
|
+
if(_14){
|
85
|
+
_13=_14[1];
|
86
|
+
}
|
87
|
+
}
|
88
|
+
}
|
89
|
+
this.empty();
|
90
|
+
this.content=_13;
|
91
|
+
return this.node;
|
92
|
+
},onEnd:function(){
|
93
|
+
if(this.parseContent){
|
94
|
+
this._parse();
|
95
|
+
}
|
96
|
+
return this.node;
|
97
|
+
},tearDown:function(){
|
98
|
+
delete this.parseResults;
|
99
|
+
delete this.node;
|
100
|
+
delete this.content;
|
101
|
+
},onContentError:function(err){
|
102
|
+
return "Error occured setting content: "+err;
|
103
|
+
},_mixin:function(_15){
|
104
|
+
var _16={},key;
|
105
|
+
for(key in _15){
|
106
|
+
if(key in _16){
|
107
|
+
continue;
|
108
|
+
}
|
109
|
+
this[key]=_15[key];
|
110
|
+
}
|
111
|
+
},_parse:function(){
|
112
|
+
var _17=this.node;
|
113
|
+
try{
|
114
|
+
var _18={};
|
115
|
+
_3.forEach(["dir","lang","textDir"],function(_19){
|
116
|
+
if(this[_19]){
|
117
|
+
_18[_19]=this[_19];
|
118
|
+
}
|
119
|
+
},this);
|
120
|
+
this.parseResults=_7.parse({rootNode:_17,noStart:!this.startup,inherited:_18,scope:this.parserScope});
|
121
|
+
}
|
122
|
+
catch(e){
|
123
|
+
this._onError("Content",e,"Error parsing in _ContentSetter#"+this.id);
|
124
|
+
}
|
125
|
+
},_onError:function(_1a,err,_1b){
|
126
|
+
var _1c=this["on"+_1a+"Error"].call(this,err);
|
127
|
+
if(_1b){
|
128
|
+
console.error(_1b,err);
|
129
|
+
}else{
|
130
|
+
if(_1c){
|
131
|
+
_1.html._setNodeContent(this.node,_1c,true);
|
132
|
+
}
|
133
|
+
}
|
134
|
+
}});
|
135
|
+
_1.html.set=function(_1d,_1e,_1f){
|
136
|
+
if(undefined==_1e){
|
137
|
+
console.warn("dojo.html.set: no cont argument provided, using empty string");
|
138
|
+
_1e="";
|
139
|
+
}
|
140
|
+
if(!_1f){
|
141
|
+
return _1.html._setNodeContent(_1d,_1e,true);
|
142
|
+
}else{
|
143
|
+
var op=new _1.html._ContentSetter(_2.mixin(_1f,{content:_1e,node:_1d}));
|
144
|
+
return op.set();
|
145
|
+
}
|
146
|
+
};
|
147
|
+
return _1.html;
|
148
|
+
});
|
@@ -0,0 +1,342 @@
|
|
1
|
+
define("dojo/html", ["./_base/kernel", "./_base/lang", "./_base/array", "./_base/declare", "./dom", "./dom-construct", "./parser"], function(dojo, lang, darray, declare, dom, domConstruct, parser) {
|
2
|
+
// module:
|
3
|
+
// dojo/html
|
4
|
+
// summary:
|
5
|
+
// TODOC
|
6
|
+
|
7
|
+
lang.getObject("html", true, dojo);
|
8
|
+
|
9
|
+
// the parser might be needed..
|
10
|
+
|
11
|
+
// idCounter is incremented with each instantiation to allow asignment of a unique id for tracking, logging purposes
|
12
|
+
var idCounter = 0;
|
13
|
+
|
14
|
+
dojo.html._secureForInnerHtml = function(/*String*/ cont){
|
15
|
+
// summary:
|
16
|
+
// removes !DOCTYPE and title elements from the html string.
|
17
|
+
//
|
18
|
+
// khtml is picky about dom faults, you can't attach a style or <title> node as child of body
|
19
|
+
// must go into head, so we need to cut out those tags
|
20
|
+
// cont:
|
21
|
+
// An html string for insertion into the dom
|
22
|
+
//
|
23
|
+
return cont.replace(/(?:\s*<!DOCTYPE\s[^>]+>|<title[^>]*>[\s\S]*?<\/title>)/ig, ""); // String
|
24
|
+
};
|
25
|
+
|
26
|
+
/*====
|
27
|
+
dojo.html._emptyNode = function(node){
|
28
|
+
// summary:
|
29
|
+
// removes all child nodes from the given node
|
30
|
+
// node: DOMNode
|
31
|
+
// the parent element
|
32
|
+
};
|
33
|
+
=====*/
|
34
|
+
dojo.html._emptyNode = domConstruct.empty;
|
35
|
+
|
36
|
+
dojo.html._setNodeContent = function(/* DomNode */ node, /* String|DomNode|NodeList */ cont){
|
37
|
+
// summary:
|
38
|
+
// inserts the given content into the given node
|
39
|
+
// node:
|
40
|
+
// the parent element
|
41
|
+
// content:
|
42
|
+
// the content to be set on the parent element.
|
43
|
+
// This can be an html string, a node reference or a NodeList, dojo.NodeList, Array or other enumerable list of nodes
|
44
|
+
|
45
|
+
// always empty
|
46
|
+
domConstruct.empty(node);
|
47
|
+
|
48
|
+
if(cont) {
|
49
|
+
if(typeof cont == "string") {
|
50
|
+
cont = domConstruct.toDom(cont, node.ownerDocument);
|
51
|
+
}
|
52
|
+
if(!cont.nodeType && lang.isArrayLike(cont)) {
|
53
|
+
// handle as enumerable, but it may shrink as we enumerate it
|
54
|
+
for(var startlen=cont.length, i=0; i<cont.length; i=startlen==cont.length ? i+1 : 0) {
|
55
|
+
domConstruct.place( cont[i], node, "last");
|
56
|
+
}
|
57
|
+
} else {
|
58
|
+
// pass nodes, documentFragments and unknowns through to dojo.place
|
59
|
+
domConstruct.place(cont, node, "last");
|
60
|
+
}
|
61
|
+
}
|
62
|
+
|
63
|
+
// return DomNode
|
64
|
+
return node;
|
65
|
+
};
|
66
|
+
|
67
|
+
// we wrap up the content-setting operation in a object
|
68
|
+
declare("dojo.html._ContentSetter", null,
|
69
|
+
{
|
70
|
+
// node: DomNode|String
|
71
|
+
// An node which will be the parent element that we set content into
|
72
|
+
node: "",
|
73
|
+
|
74
|
+
// content: String|DomNode|DomNode[]
|
75
|
+
// The content to be placed in the node. Can be an HTML string, a node reference, or a enumerable list of nodes
|
76
|
+
content: "",
|
77
|
+
|
78
|
+
// id: String?
|
79
|
+
// Usually only used internally, and auto-generated with each instance
|
80
|
+
id: "",
|
81
|
+
|
82
|
+
// cleanContent: Boolean
|
83
|
+
// Should the content be treated as a full html document,
|
84
|
+
// and the real content stripped of <html>, <body> wrapper before injection
|
85
|
+
cleanContent: false,
|
86
|
+
|
87
|
+
// extractContent: Boolean
|
88
|
+
// Should the content be treated as a full html document, and the real content stripped of <html>, <body> wrapper before injection
|
89
|
+
extractContent: false,
|
90
|
+
|
91
|
+
// parseContent: Boolean
|
92
|
+
// Should the node by passed to the parser after the new content is set
|
93
|
+
parseContent: false,
|
94
|
+
|
95
|
+
// parserScope: String
|
96
|
+
// Flag passed to parser. Root for attribute names to search for. If scopeName is dojo,
|
97
|
+
// will search for data-dojo-type (or dojoType). For backwards compatibility
|
98
|
+
// reasons defaults to dojo._scopeName (which is "dojo" except when
|
99
|
+
// multi-version support is used, when it will be something like dojo16, dojo20, etc.)
|
100
|
+
parserScope: dojo._scopeName,
|
101
|
+
|
102
|
+
// startup: Boolean
|
103
|
+
// Start the child widgets after parsing them. Only obeyed if parseContent is true.
|
104
|
+
startup: true,
|
105
|
+
|
106
|
+
// lifecyle methods
|
107
|
+
constructor: function(/* Object */params, /* String|DomNode */node){
|
108
|
+
// summary:
|
109
|
+
// Provides a configurable, extensible object to wrap the setting on content on a node
|
110
|
+
// call the set() method to actually set the content..
|
111
|
+
|
112
|
+
// the original params are mixed directly into the instance "this"
|
113
|
+
lang.mixin(this, params || {});
|
114
|
+
|
115
|
+
// give precedence to params.node vs. the node argument
|
116
|
+
// and ensure its a node, not an id string
|
117
|
+
node = this.node = dom.byId( this.node || node );
|
118
|
+
|
119
|
+
if(!this.id){
|
120
|
+
this.id = [
|
121
|
+
"Setter",
|
122
|
+
(node) ? node.id || node.tagName : "",
|
123
|
+
idCounter++
|
124
|
+
].join("_");
|
125
|
+
}
|
126
|
+
},
|
127
|
+
set: function(/* String|DomNode|NodeList? */ cont, /* Object? */ params){
|
128
|
+
// summary:
|
129
|
+
// front-end to the set-content sequence
|
130
|
+
// cont:
|
131
|
+
// An html string, node or enumerable list of nodes for insertion into the dom
|
132
|
+
// If not provided, the object's content property will be used
|
133
|
+
if(undefined !== cont){
|
134
|
+
this.content = cont;
|
135
|
+
}
|
136
|
+
// in the re-use scenario, set needs to be able to mixin new configuration
|
137
|
+
if(params){
|
138
|
+
this._mixin(params);
|
139
|
+
}
|
140
|
+
|
141
|
+
this.onBegin();
|
142
|
+
this.setContent();
|
143
|
+
this.onEnd();
|
144
|
+
|
145
|
+
return this.node;
|
146
|
+
},
|
147
|
+
setContent: function(){
|
148
|
+
// summary:
|
149
|
+
// sets the content on the node
|
150
|
+
|
151
|
+
var node = this.node;
|
152
|
+
if(!node) {
|
153
|
+
// can't proceed
|
154
|
+
throw new Error(this.declaredClass + ": setContent given no node");
|
155
|
+
}
|
156
|
+
try{
|
157
|
+
node = dojo.html._setNodeContent(node, this.content);
|
158
|
+
}catch(e){
|
159
|
+
// check if a domfault occurs when we are appending this.errorMessage
|
160
|
+
// like for instance if domNode is a UL and we try append a DIV
|
161
|
+
|
162
|
+
// FIXME: need to allow the user to provide a content error message string
|
163
|
+
var errMess = this.onContentError(e);
|
164
|
+
try{
|
165
|
+
node.innerHTML = errMess;
|
166
|
+
}catch(e){
|
167
|
+
console.error('Fatal ' + this.declaredClass + '.setContent could not change content due to '+e.message, e);
|
168
|
+
}
|
169
|
+
}
|
170
|
+
// always put back the node for the next method
|
171
|
+
this.node = node; // DomNode
|
172
|
+
},
|
173
|
+
|
174
|
+
empty: function() {
|
175
|
+
// summary
|
176
|
+
// cleanly empty out existing content
|
177
|
+
|
178
|
+
// destroy any widgets from a previous run
|
179
|
+
// NOTE: if you dont want this you'll need to empty
|
180
|
+
// the parseResults array property yourself to avoid bad things happenning
|
181
|
+
if(this.parseResults && this.parseResults.length) {
|
182
|
+
darray.forEach(this.parseResults, function(w) {
|
183
|
+
if(w.destroy){
|
184
|
+
w.destroy();
|
185
|
+
}
|
186
|
+
});
|
187
|
+
delete this.parseResults;
|
188
|
+
}
|
189
|
+
// this is fast, but if you know its already empty or safe, you could
|
190
|
+
// override empty to skip this step
|
191
|
+
dojo.html._emptyNode(this.node);
|
192
|
+
},
|
193
|
+
|
194
|
+
onBegin: function(){
|
195
|
+
// summary
|
196
|
+
// Called after instantiation, but before set();
|
197
|
+
// It allows modification of any of the object properties
|
198
|
+
// - including the node and content provided - before the set operation actually takes place
|
199
|
+
// This default implementation checks for cleanContent and extractContent flags to
|
200
|
+
// optionally pre-process html string content
|
201
|
+
var cont = this.content;
|
202
|
+
|
203
|
+
if(lang.isString(cont)){
|
204
|
+
if(this.cleanContent){
|
205
|
+
cont = dojo.html._secureForInnerHtml(cont);
|
206
|
+
}
|
207
|
+
|
208
|
+
if(this.extractContent){
|
209
|
+
var match = cont.match(/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im);
|
210
|
+
if(match){ cont = match[1]; }
|
211
|
+
}
|
212
|
+
}
|
213
|
+
|
214
|
+
// clean out the node and any cruft associated with it - like widgets
|
215
|
+
this.empty();
|
216
|
+
|
217
|
+
this.content = cont;
|
218
|
+
return this.node; /* DomNode */
|
219
|
+
},
|
220
|
+
|
221
|
+
onEnd: function(){
|
222
|
+
// summary
|
223
|
+
// Called after set(), when the new content has been pushed into the node
|
224
|
+
// It provides an opportunity for post-processing before handing back the node to the caller
|
225
|
+
// This default implementation checks a parseContent flag to optionally run the dojo parser over the new content
|
226
|
+
if(this.parseContent){
|
227
|
+
// populates this.parseResults if you need those..
|
228
|
+
this._parse();
|
229
|
+
}
|
230
|
+
return this.node; /* DomNode */
|
231
|
+
},
|
232
|
+
|
233
|
+
tearDown: function(){
|
234
|
+
// summary
|
235
|
+
// manually reset the Setter instance if its being re-used for example for another set()
|
236
|
+
// description
|
237
|
+
// tearDown() is not called automatically.
|
238
|
+
// In normal use, the Setter instance properties are simply allowed to fall out of scope
|
239
|
+
// but the tearDown method can be called to explicitly reset this instance.
|
240
|
+
delete this.parseResults;
|
241
|
+
delete this.node;
|
242
|
+
delete this.content;
|
243
|
+
},
|
244
|
+
|
245
|
+
onContentError: function(err){
|
246
|
+
return "Error occured setting content: " + err;
|
247
|
+
},
|
248
|
+
|
249
|
+
_mixin: function(params){
|
250
|
+
// mix properties/methods into the instance
|
251
|
+
// TODO: the intention with tearDown is to put the Setter's state
|
252
|
+
// back to that of the original constructor (vs. deleting/resetting everything regardless of ctor params)
|
253
|
+
// so we could do something here to move the original properties aside for later restoration
|
254
|
+
var empty = {}, key;
|
255
|
+
for(key in params){
|
256
|
+
if(key in empty){ continue; }
|
257
|
+
// TODO: here's our opportunity to mask the properties we dont consider configurable/overridable
|
258
|
+
// .. but history shows we'll almost always guess wrong
|
259
|
+
this[key] = params[key];
|
260
|
+
}
|
261
|
+
},
|
262
|
+
_parse: function(){
|
263
|
+
// summary:
|
264
|
+
// runs the dojo parser over the node contents, storing any results in this.parseResults
|
265
|
+
// Any errors resulting from parsing are passed to _onError for handling
|
266
|
+
|
267
|
+
var rootNode = this.node;
|
268
|
+
try{
|
269
|
+
// store the results (widgets, whatever) for potential retrieval
|
270
|
+
var inherited = {};
|
271
|
+
darray.forEach(["dir", "lang", "textDir"], function(name){
|
272
|
+
if(this[name]){
|
273
|
+
inherited[name] = this[name];
|
274
|
+
}
|
275
|
+
}, this);
|
276
|
+
this.parseResults = parser.parse({
|
277
|
+
rootNode: rootNode,
|
278
|
+
noStart: !this.startup,
|
279
|
+
inherited: inherited,
|
280
|
+
scope: this.parserScope
|
281
|
+
});
|
282
|
+
}catch(e){
|
283
|
+
this._onError('Content', e, "Error parsing in _ContentSetter#"+this.id);
|
284
|
+
}
|
285
|
+
},
|
286
|
+
|
287
|
+
_onError: function(type, err, consoleText){
|
288
|
+
// summary:
|
289
|
+
// shows user the string that is returned by on[type]Error
|
290
|
+
// overide/implement on[type]Error and return your own string to customize
|
291
|
+
var errText = this['on' + type + 'Error'].call(this, err);
|
292
|
+
if(consoleText){
|
293
|
+
console.error(consoleText, err);
|
294
|
+
}else if(errText){ // a empty string won't change current content
|
295
|
+
dojo.html._setNodeContent(this.node, errText, true);
|
296
|
+
}
|
297
|
+
}
|
298
|
+
}); // end dojo.declare()
|
299
|
+
|
300
|
+
dojo.html.set = function(/* DomNode */ node, /* String|DomNode|NodeList */ cont, /* Object? */ params){
|
301
|
+
// summary:
|
302
|
+
// inserts (replaces) the given content into the given node. dojo.place(cont, node, "only")
|
303
|
+
// may be a better choice for simple HTML insertion.
|
304
|
+
// description:
|
305
|
+
// Unless you need to use the params capabilities of this method, you should use
|
306
|
+
// dojo.place(cont, node, "only"). dojo.place() has more robust support for injecting
|
307
|
+
// an HTML string into the DOM, but it only handles inserting an HTML string as DOM
|
308
|
+
// elements, or inserting a DOM node. dojo.place does not handle NodeList insertions
|
309
|
+
// or the other capabilities as defined by the params object for this method.
|
310
|
+
// node:
|
311
|
+
// the parent element that will receive the content
|
312
|
+
// cont:
|
313
|
+
// the content to be set on the parent element.
|
314
|
+
// This can be an html string, a node reference or a NodeList, dojo.NodeList, Array or other enumerable list of nodes
|
315
|
+
// params:
|
316
|
+
// Optional flags/properties to configure the content-setting. See dojo.html._ContentSetter
|
317
|
+
// example:
|
318
|
+
// A safe string/node/nodelist content replacement/injection with hooks for extension
|
319
|
+
// Example Usage:
|
320
|
+
// dojo.html.set(node, "some string");
|
321
|
+
// dojo.html.set(node, contentNode, {options});
|
322
|
+
// dojo.html.set(node, myNode.childNodes, {options});
|
323
|
+
if(undefined == cont){
|
324
|
+
console.warn("dojo.html.set: no cont argument provided, using empty string");
|
325
|
+
cont = "";
|
326
|
+
}
|
327
|
+
if(!params){
|
328
|
+
// simple and fast
|
329
|
+
return dojo.html._setNodeContent(node, cont, true);
|
330
|
+
}else{
|
331
|
+
// more options but slower
|
332
|
+
// note the arguments are reversed in order, to match the convention for instantiation via the parser
|
333
|
+
var op = new dojo.html._ContentSetter(lang.mixin(
|
334
|
+
params,
|
335
|
+
{ content: cont, node: node }
|
336
|
+
));
|
337
|
+
return op.set();
|
338
|
+
}
|
339
|
+
};
|
340
|
+
|
341
|
+
return dojo.html;
|
342
|
+
});
|