dojo-rails 0.11.0 → 0.14.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +2 -0
- data/.rspec +1 -0
- data/CHANGELOG.md +11 -0
- data/CONTRIBUTING.md +31 -0
- data/Gemfile +3 -0
- data/README.md +82 -40
- data/Rakefile +6 -0
- data/app/helpers/dojo_helper.rb +23 -0
- data/dojo-rails.gemspec +12 -6
- data/lib/dojo/rails/version.rb +1 -1
- data/lib/dojo/version.rb +2 -2
- data/spec/dummy_app/Gemfile +38 -0
- data/spec/dummy_app/Rakefile +7 -0
- data/spec/dummy_app/app/assets/javascripts/application.js +15 -0
- data/spec/dummy_app/app/assets/stylesheets/application.css +13 -0
- data/spec/dummy_app/app/controllers/application_controller.rb +3 -0
- data/spec/dummy_app/app/helpers/application_helper.rb +2 -0
- data/spec/dummy_app/app/mailers/.gitkeep +0 -0
- data/spec/dummy_app/app/models/.gitkeep +0 -0
- data/spec/dummy_app/app/views/layouts/application.html.erb +14 -0
- data/spec/dummy_app/config.ru +4 -0
- data/spec/dummy_app/config/application.rb +62 -0
- data/spec/dummy_app/config/boot.rb +6 -0
- data/spec/dummy_app/config/database.yml +25 -0
- data/spec/dummy_app/config/environment.rb +5 -0
- data/spec/dummy_app/config/environments/development.rb +37 -0
- data/spec/dummy_app/config/environments/production.rb +67 -0
- data/spec/dummy_app/config/environments/test.rb +37 -0
- data/spec/dummy_app/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/dummy_app/config/initializers/inflections.rb +15 -0
- data/spec/dummy_app/config/initializers/mime_types.rb +5 -0
- data/spec/dummy_app/config/initializers/secret_token.rb +7 -0
- data/spec/dummy_app/config/initializers/session_store.rb +8 -0
- data/spec/dummy_app/config/initializers/wrap_parameters.rb +14 -0
- data/spec/dummy_app/config/locales/en.yml +5 -0
- data/spec/dummy_app/config/routes.rb +58 -0
- data/spec/dummy_app/db/seeds.rb +7 -0
- data/spec/dummy_app/lib/assets/.gitkeep +0 -0
- data/spec/dummy_app/lib/tasks/.gitkeep +0 -0
- data/spec/dummy_app/log/.gitkeep +0 -0
- data/spec/dummy_app/public/404.html +26 -0
- data/spec/dummy_app/public/422.html +26 -0
- data/spec/dummy_app/public/500.html +25 -0
- data/spec/dummy_app/public/favicon.ico +0 -0
- data/spec/dummy_app/public/index.html +241 -0
- data/spec/dummy_app/public/robots.txt +5 -0
- data/spec/dummy_app/script/rails +6 -0
- data/spec/helpers/dojo_helper_spec.rb +23 -0
- data/spec/spec_helper.rb +13 -0
- data/vendor/assets/{javascripts/dojo → images}/_firebug/errorIcon.png +0 -0
- data/vendor/assets/{javascripts/dojo → images}/_firebug/infoIcon.png +0 -0
- data/vendor/assets/{javascripts/dojo → images}/_firebug/tab_lft_norm.png +0 -0
- data/vendor/assets/{javascripts/dojo → images}/_firebug/tab_lft_over.png +0 -0
- data/vendor/assets/{javascripts/dojo → images}/_firebug/tab_rgt_norm.png +0 -0
- data/vendor/assets/images/_firebug/tab_rgt_over.png +0 -0
- data/vendor/assets/{javascripts/dojo → images}/_firebug/warningIcon.png +0 -0
- data/vendor/assets/images/resources/blank.gif +0 -0
- data/vendor/assets/images/resources/images/dndCopy.png +0 -0
- data/vendor/assets/images/resources/images/dndMove.png +0 -0
- data/vendor/assets/images/resources/images/dndNoCopy.png +0 -0
- data/vendor/assets/images/resources/images/dndNoMove.png +0 -0
- data/vendor/assets/javascripts/dojo.js +231 -7
- data/vendor/assets/javascripts/dojo/AdapterRegistry.js +1 -1
- data/vendor/assets/javascripts/dojo/Deferred.js +14 -8
- data/vendor/assets/javascripts/dojo/DeferredList.js +1 -1
- data/vendor/assets/javascripts/dojo/Evented.js +1 -1
- data/vendor/assets/javascripts/dojo/NodeList-data.js +1 -1
- data/vendor/assets/javascripts/dojo/NodeList-dom.js +1 -1
- data/vendor/assets/javascripts/dojo/NodeList-fx.js +1 -1
- data/vendor/assets/javascripts/dojo/NodeList-html.js +1 -1
- data/vendor/assets/javascripts/dojo/NodeList-manipulate.js +1 -1
- data/vendor/assets/javascripts/dojo/NodeList-traverse.js +1 -1
- data/vendor/assets/javascripts/dojo/NodeList.js +1 -1
- data/vendor/assets/javascripts/dojo/Stateful.js +2 -2
- data/vendor/assets/javascripts/dojo/_base/Color.js +1 -1
- data/vendor/assets/javascripts/dojo/_base/Deferred.js +1 -1
- data/vendor/assets/javascripts/dojo/_base/NodeList.js +1 -1
- data/vendor/assets/javascripts/dojo/_base/array.js +1 -1
- data/vendor/assets/javascripts/dojo/_base/browser.js +1 -1
- data/vendor/assets/javascripts/dojo/_base/config.js +1 -1
- data/vendor/assets/javascripts/dojo/_base/connect.js +1 -1
- data/vendor/assets/javascripts/dojo/_base/declare.js +1 -1
- data/vendor/assets/javascripts/dojo/_base/event.js +1 -1
- data/vendor/assets/javascripts/dojo/_base/fx.js +1 -1
- data/vendor/assets/javascripts/dojo/_base/html.js +1 -1
- data/vendor/assets/javascripts/dojo/_base/json.js +1 -1
- data/vendor/assets/javascripts/dojo/_base/kernel.js +3 -3
- data/vendor/assets/javascripts/dojo/_base/lang.js +1 -1
- data/vendor/assets/javascripts/dojo/_base/loader.js +1 -1
- data/vendor/assets/javascripts/dojo/_base/query.js +1 -1
- data/vendor/assets/javascripts/dojo/_base/sniff.js +1 -1
- data/vendor/assets/javascripts/dojo/_base/unload.js +1 -1
- data/vendor/assets/javascripts/dojo/_base/url.js +1 -1
- data/vendor/assets/javascripts/dojo/_base/window.js +1 -1
- data/vendor/assets/javascripts/dojo/_base/xhr.js +9 -1
- data/vendor/assets/javascripts/dojo/_firebug/firebug.js +1 -1
- data/vendor/assets/javascripts/dojo/aspect.js +43 -41
- data/vendor/assets/javascripts/dojo/back.js +1 -1
- data/vendor/assets/javascripts/dojo/behavior.js +1 -1
- data/vendor/assets/javascripts/dojo/cache.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/monetary.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/ar/buddhist.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/ar/currency.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/ar/gregorian.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/ar/hebrew.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/ar/islamic.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/ar/number.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/buddhist.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/ca/buddhist.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/ca/currency.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/ca/gregorian.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/ca/number.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/cs/buddhist.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/cs/currency.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/cs/gregorian.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/cs/islamic.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/cs/number.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/currency.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/da/buddhist.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/da/currency.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/da/gregorian.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/da/islamic.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/da/number.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/de/buddhist.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/de/currency.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/de/gregorian.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/de/islamic.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/de/number.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/el/buddhist.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/el/currency.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/el/gregorian.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/el/hebrew.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/el/number.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/en-au/currency.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/en-au/gregorian.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/en-au/number.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/en-ca/currency.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/en-ca/gregorian.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/en-gb/buddhist.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/en-gb/currency.js +8 -0
- data/vendor/assets/javascripts/dojo/cldr/nls/en-gb/gregorian.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/en-gb/islamic.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/en-gb/number.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/en/buddhist.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/en/currency.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/en/gregorian.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/en/islamic.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/en/number.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/es/buddhist.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/es/currency.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/es/gregorian.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/es/islamic.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/es/number.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/fi/buddhist.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/fi/currency.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/fi/gregorian.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/fi/hebrew.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/fi/islamic.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/fi/number.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/fr-ch/gregorian.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/fr-ch/number.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/fr/buddhist.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/fr/currency.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/fr/gregorian.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/fr/hebrew.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/fr/islamic.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/fr/number.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/gregorian.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/he/currency.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/he/gregorian.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/he/hebrew.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/he/islamic.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/he/number.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/hebrew.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/hu/buddhist.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/hu/currency.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/hu/gregorian.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/hu/hebrew.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/hu/islamic.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/hu/number.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/islamic.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/it/buddhist.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/it/currency.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/it/gregorian.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/it/islamic.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/it/number.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/ja/buddhist.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/ja/currency.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/ja/gregorian.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/ja/hebrew.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/ja/islamic.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/ja/number.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/ko/buddhist.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/ko/currency.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/ko/gregorian.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/ko/number.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/nb/buddhist.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/nb/currency.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/nb/gregorian.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/nb/islamic.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/nb/number.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/nl/buddhist.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/nl/currency.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/nl/gregorian.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/nl/hebrew.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/nl/islamic.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/nl/number.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/number.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/pl/buddhist.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/pl/currency.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/pl/gregorian.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/pl/hebrew.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/pl/islamic.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/pl/number.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/pt-pt/buddhist.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/pt-pt/currency.js +1 -1
- data/vendor/assets/javascripts/dojo/cldr/nls/pt-pt/gregorian.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/pt-pt/islamic.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/pt-pt/number.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/pt/buddhist.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/pt/currency.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/pt/gregorian.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/pt/hebrew.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/pt/islamic.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/pt/number.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/ro/buddhist.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/ro/currency.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/ro/gregorian.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/ro/hebrew.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/ro/islamic.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/ro/number.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/ru/buddhist.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/ru/currency.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/ru/gregorian.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/ru/hebrew.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/ru/islamic.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/ru/number.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/sk/currency.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/sk/gregorian.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/sk/number.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/sl/currency.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/sl/gregorian.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/sl/number.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/sv/buddhist.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/sv/currency.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/sv/gregorian.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/sv/hebrew.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/sv/islamic.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/sv/number.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/th/buddhist.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/th/currency.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/th/gregorian.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/th/hebrew.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/th/islamic.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/th/number.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/tr/buddhist.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/tr/currency.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/tr/gregorian.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/tr/hebrew.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/tr/islamic.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/tr/number.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-hant/buddhist.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-hant/currency.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-hant/gregorian.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-hant/hebrew.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-hant/islamic.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-hant/number.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-hk/currency.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-hk/gregorian.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-hk/number.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-tw/currency.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-tw/gregorian.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-tw/number.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/zh/buddhist.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/zh/currency.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/zh/gregorian.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/zh/hebrew.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/zh/islamic.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/nls/zh/number.js +2 -2
- data/vendor/assets/javascripts/dojo/cldr/supplemental.js +1 -1
- data/vendor/assets/javascripts/dojo/colors.js +1 -1
- data/vendor/assets/javascripts/dojo/cookie.js +1 -1
- data/vendor/assets/javascripts/dojo/currency.js +1 -1
- data/vendor/assets/javascripts/dojo/data/ItemFileReadStore.js +1 -1
- data/vendor/assets/javascripts/dojo/data/ItemFileWriteStore.js +1 -1
- data/vendor/assets/javascripts/dojo/data/ObjectStore.js +1 -1
- data/vendor/assets/javascripts/dojo/data/api/Identity.js +1 -1
- data/vendor/assets/javascripts/dojo/data/api/Item.js +1 -1
- data/vendor/assets/javascripts/dojo/data/api/Notification.js +1 -1
- data/vendor/assets/javascripts/dojo/data/api/Read.js +1 -1
- data/vendor/assets/javascripts/dojo/data/api/Request.js +1 -1
- data/vendor/assets/javascripts/dojo/data/api/Write.js +1 -1
- data/vendor/assets/javascripts/dojo/data/util/filter.js +1 -1
- data/vendor/assets/javascripts/dojo/data/util/simpleFetch.js +1 -1
- data/vendor/assets/javascripts/dojo/data/util/sorter.js +1 -1
- data/vendor/assets/javascripts/dojo/date.js +1 -1
- data/vendor/assets/javascripts/dojo/date/locale.js +2 -2
- data/vendor/assets/javascripts/dojo/date/stamp.js +1 -1
- data/vendor/assets/javascripts/dojo/dnd/AutoSource.js +1 -1
- data/vendor/assets/javascripts/dojo/dnd/Avatar.js +1 -1
- data/vendor/assets/javascripts/dojo/dnd/Container.js +1 -1
- data/vendor/assets/javascripts/dojo/dnd/Manager.js +1 -1
- data/vendor/assets/javascripts/dojo/dnd/Moveable.js +1 -1
- data/vendor/assets/javascripts/dojo/dnd/Mover.js +1 -1
- data/vendor/assets/javascripts/dojo/dnd/Selector.js +1 -1
- data/vendor/assets/javascripts/dojo/dnd/Source.js +1 -1
- data/vendor/assets/javascripts/dojo/dnd/Target.js +1 -1
- data/vendor/assets/javascripts/dojo/dnd/TimedMoveable.js +1 -1
- data/vendor/assets/javascripts/dojo/dnd/autoscroll.js +1 -1
- data/vendor/assets/javascripts/dojo/dnd/common.js +2 -3
- data/vendor/assets/javascripts/dojo/dnd/move.js +2 -2
- data/vendor/assets/javascripts/dojo/dojo.js +2 -2
- data/vendor/assets/javascripts/dojo/dom-attr.js +1 -1
- data/vendor/assets/javascripts/dojo/dom-class.js +1 -1
- data/vendor/assets/javascripts/dojo/dom-construct.js +71 -66
- data/vendor/assets/javascripts/dojo/dom-form.js +1 -1
- data/vendor/assets/javascripts/dojo/dom-geometry.js +2 -2
- data/vendor/assets/javascripts/dojo/dom-prop.js +1 -1
- data/vendor/assets/javascripts/dojo/dom-style.js +3 -3
- data/vendor/assets/javascripts/dojo/dom.js +44 -30
- data/vendor/assets/javascripts/dojo/domReady.js +1 -1
- data/vendor/assets/javascripts/dojo/errors/CancelError.js +1 -1
- data/vendor/assets/javascripts/dojo/errors/RequestError.js +1 -1
- data/vendor/assets/javascripts/dojo/errors/RequestTimeoutError.js +1 -1
- data/vendor/assets/javascripts/dojo/errors/create.js +1 -1
- data/vendor/assets/javascripts/dojo/fx.js +1 -1
- data/vendor/assets/javascripts/dojo/fx/Toggler.js +1 -1
- data/vendor/assets/javascripts/dojo/fx/easing.js +1 -1
- data/vendor/assets/javascripts/dojo/gears.js +1 -1
- data/vendor/assets/javascripts/dojo/has.js +2 -2
- data/vendor/assets/javascripts/dojo/hash.js +1 -1
- data/vendor/assets/javascripts/dojo/hccss.js +16 -12
- data/vendor/assets/javascripts/dojo/html.js +4 -2
- data/vendor/assets/javascripts/dojo/i18n.js +1 -1
- data/vendor/assets/javascripts/dojo/io-query.js +1 -1
- data/vendor/assets/javascripts/dojo/io/iframe.js +3 -3
- data/vendor/assets/javascripts/dojo/io/script.js +81 -58
- data/vendor/assets/javascripts/dojo/jaxer.js +1 -1
- data/vendor/assets/javascripts/dojo/json.js +1 -1
- data/vendor/assets/javascripts/dojo/keys.js +1 -1
- data/vendor/assets/javascripts/dojo/loadInit.js +1 -1
- data/vendor/assets/javascripts/dojo/main.js +1 -1
- data/vendor/assets/javascripts/dojo/mouse.js +2 -2
- data/vendor/assets/javascripts/dojo/nls/ar/colors.js +1 -1
- data/vendor/assets/javascripts/dojo/nls/az/colors.js +1 -1
- data/vendor/assets/javascripts/dojo/nls/ca/colors.js +1 -1
- data/vendor/assets/javascripts/dojo/nls/colors.js +1 -1
- data/vendor/assets/javascripts/dojo/nls/cs/colors.js +1 -1
- data/vendor/assets/javascripts/dojo/nls/da/colors.js +1 -1
- data/vendor/assets/javascripts/dojo/nls/de/colors.js +1 -1
- data/vendor/assets/javascripts/dojo/nls/el/colors.js +1 -1
- data/vendor/assets/javascripts/dojo/nls/es/colors.js +1 -1
- data/vendor/assets/javascripts/dojo/nls/fi/colors.js +1 -1
- data/vendor/assets/javascripts/dojo/nls/fr/colors.js +1 -1
- data/vendor/assets/javascripts/dojo/nls/he/colors.js +2 -2
- data/vendor/assets/javascripts/dojo/nls/hr/colors.js +1 -1
- data/vendor/assets/javascripts/dojo/nls/hu/colors.js +1 -1
- data/vendor/assets/javascripts/dojo/nls/it/colors.js +1 -1
- data/vendor/assets/javascripts/dojo/nls/ja/colors.js +1 -1
- data/vendor/assets/javascripts/dojo/nls/kk/colors.js +1 -1
- data/vendor/assets/javascripts/dojo/nls/ko/colors.js +1 -1
- data/vendor/assets/javascripts/dojo/nls/nb/colors.js +1 -1
- data/vendor/assets/javascripts/dojo/nls/nl/colors.js +1 -1
- data/vendor/assets/javascripts/dojo/nls/pl/colors.js +1 -1
- data/vendor/assets/javascripts/dojo/nls/pt-pt/colors.js +1 -1
- data/vendor/assets/javascripts/dojo/nls/pt/colors.js +1 -1
- data/vendor/assets/javascripts/dojo/nls/ro/colors.js +1 -1
- data/vendor/assets/javascripts/dojo/nls/ru/colors.js +1 -1
- data/vendor/assets/javascripts/dojo/nls/sk/colors.js +1 -1
- data/vendor/assets/javascripts/dojo/nls/sl/colors.js +1 -1
- data/vendor/assets/javascripts/dojo/nls/sv/colors.js +1 -1
- data/vendor/assets/javascripts/dojo/nls/th/colors.js +2 -2
- data/vendor/assets/javascripts/dojo/nls/tr/colors.js +1 -1
- data/vendor/assets/javascripts/dojo/nls/zh-tw/colors.js +1 -1
- data/vendor/assets/javascripts/dojo/nls/zh/colors.js +1 -1
- data/vendor/assets/javascripts/dojo/node.js +18 -3
- data/vendor/assets/javascripts/dojo/number.js +7 -2
- data/vendor/assets/javascripts/dojo/on.js +12 -8
- data/vendor/assets/javascripts/dojo/package.json +1 -1
- data/vendor/assets/javascripts/dojo/parser.js +264 -264
- data/vendor/assets/javascripts/dojo/promise/Promise.js +1 -1
- data/vendor/assets/javascripts/dojo/promise/all.js +1 -1
- data/vendor/assets/javascripts/dojo/promise/first.js +1 -1
- data/vendor/assets/javascripts/dojo/promise/instrumentation.js +3 -1
- data/vendor/assets/javascripts/dojo/promise/tracer.js +1 -1
- data/vendor/assets/javascripts/dojo/query.js +1 -1
- data/vendor/assets/javascripts/dojo/ready.js +3 -3
- data/vendor/assets/javascripts/dojo/regexp.js +1 -1
- data/vendor/assets/javascripts/dojo/request.js +1 -1
- data/vendor/assets/javascripts/dojo/request/default.js +1 -1
- data/vendor/assets/javascripts/dojo/request/handlers.js +30 -24
- data/vendor/assets/javascripts/dojo/request/iframe.js +8 -7
- data/vendor/assets/javascripts/dojo/request/node.js +6 -1
- data/vendor/assets/javascripts/dojo/request/notify.js +17 -17
- data/vendor/assets/javascripts/dojo/request/registry.js +1 -1
- data/vendor/assets/javascripts/dojo/request/script.js +47 -44
- data/vendor/assets/javascripts/dojo/request/util.js +79 -71
- data/vendor/assets/javascripts/dojo/request/watch.js +2 -2
- data/vendor/assets/javascripts/dojo/request/xhr.js +36 -34
- data/vendor/assets/javascripts/dojo/require.js +1 -1
- data/vendor/assets/javascripts/dojo/router.js +1 -1
- data/vendor/assets/javascripts/dojo/router/RouterBase.js +1 -1
- data/vendor/assets/javascripts/dojo/rpc/JsonService.js +1 -1
- data/vendor/assets/javascripts/dojo/rpc/JsonpService.js +1 -1
- data/vendor/assets/javascripts/dojo/rpc/RpcService.js +1 -1
- data/vendor/assets/javascripts/dojo/selector/_loader.js +1 -1
- data/vendor/assets/javascripts/dojo/selector/acme.js +2 -2
- data/vendor/assets/javascripts/dojo/selector/lite.js +1 -1
- data/vendor/assets/javascripts/dojo/sniff.js +1 -1
- data/vendor/assets/javascripts/dojo/store/Cache.js +2 -1
- data/vendor/assets/javascripts/dojo/store/DataStore.js +1 -1
- data/vendor/assets/javascripts/dojo/store/JsonRest.js +1 -1
- data/vendor/assets/javascripts/dojo/store/Memory.js +1 -1
- data/vendor/assets/javascripts/dojo/store/Observable.js +2 -2
- data/vendor/assets/javascripts/dojo/store/api/Store.js +1 -1
- data/vendor/assets/javascripts/dojo/store/util/QueryResults.js +1 -1
- data/vendor/assets/javascripts/dojo/store/util/SimpleQueryEngine.js +1 -1
- data/vendor/assets/javascripts/dojo/string.js +1 -1
- data/vendor/assets/javascripts/dojo/text.js +1 -1
- data/vendor/assets/javascripts/dojo/topic.js +1 -1
- data/vendor/assets/javascripts/dojo/touch.js +55 -30
- data/vendor/assets/javascripts/dojo/uacss.js +10 -2
- data/vendor/assets/javascripts/dojo/when.js +3 -3
- data/vendor/assets/javascripts/dojo/window.js +98 -77
- data/vendor/assets/stylesheets/_firebug/firebug.css +208 -0
- data/vendor/assets/stylesheets/resources/dnd.css +14 -0
- data/vendor/assets/stylesheets/resources/dojo.css +98 -0
- metadata +204 -396
- data/LICENSE +0 -19
- data/TODO.md +0 -18
- data/vendor/assets/javascripts/dojo/AdapterRegistry.js.uncompressed.js +0 -106
- data/vendor/assets/javascripts/dojo/Deferred.js.uncompressed.js +0 -314
- data/vendor/assets/javascripts/dojo/DeferredList.js.uncompressed.js +0 -84
- data/vendor/assets/javascripts/dojo/Evented.js.uncompressed.js +0 -35
- data/vendor/assets/javascripts/dojo/LICENSE +0 -195
- data/vendor/assets/javascripts/dojo/NodeList-data.js.uncompressed.js +0 -192
- data/vendor/assets/javascripts/dojo/NodeList-dom.js.uncompressed.js +0 -509
- data/vendor/assets/javascripts/dojo/NodeList-fx.js.uncompressed.js +0 -221
- data/vendor/assets/javascripts/dojo/NodeList-html.js.uncompressed.js +0 -53
- data/vendor/assets/javascripts/dojo/NodeList-manipulate.js.uncompressed.js +0 -724
- data/vendor/assets/javascripts/dojo/NodeList-traverse.js.uncompressed.js +0 -503
- data/vendor/assets/javascripts/dojo/NodeList.js.uncompressed.js +0 -6
- data/vendor/assets/javascripts/dojo/Stateful.js.uncompressed.js +0 -213
- data/vendor/assets/javascripts/dojo/_base/Color.js.uncompressed.js +0 -214
- data/vendor/assets/javascripts/dojo/_base/Deferred.js.uncompressed.js +0 -349
- data/vendor/assets/javascripts/dojo/_base/NodeList.js.uncompressed.js +0 -110
- data/vendor/assets/javascripts/dojo/_base/array.js.uncompressed.js +0 -343
- data/vendor/assets/javascripts/dojo/_base/browser.js.uncompressed.js +0 -28
- data/vendor/assets/javascripts/dojo/_base/config.js.uncompressed.js +0 -187
- data/vendor/assets/javascripts/dojo/_base/connect.js.uncompressed.js +0 -374
- data/vendor/assets/javascripts/dojo/_base/declare.js.uncompressed.js +0 -1045
- data/vendor/assets/javascripts/dojo/_base/event.js.uncompressed.js +0 -59
- data/vendor/assets/javascripts/dojo/_base/fx.js.uncompressed.js +0 -670
- data/vendor/assets/javascripts/dojo/_base/html.js.uncompressed.js +0 -392
- data/vendor/assets/javascripts/dojo/_base/json.js.uncompressed.js +0 -91
- data/vendor/assets/javascripts/dojo/_base/kernel.js.uncompressed.js +0 -299
- data/vendor/assets/javascripts/dojo/_base/lang.js.uncompressed.js +0 -605
- data/vendor/assets/javascripts/dojo/_base/loader.js.uncompressed.js +0 -776
- data/vendor/assets/javascripts/dojo/_base/query.js.uncompressed.js +0 -13
- data/vendor/assets/javascripts/dojo/_base/sniff.js.uncompressed.js +0 -96
- data/vendor/assets/javascripts/dojo/_base/unload.js.uncompressed.js +0 -82
- data/vendor/assets/javascripts/dojo/_base/url.js.uncompressed.js +0 -109
- data/vendor/assets/javascripts/dojo/_base/window.js.uncompressed.js +0 -134
- data/vendor/assets/javascripts/dojo/_base/xhr.js.uncompressed.js +0 -705
- data/vendor/assets/javascripts/dojo/_firebug/firebug.js.uncompressed.js +0 -1191
- data/vendor/assets/javascripts/dojo/aspect.js.uncompressed.js +0 -219
- data/vendor/assets/javascripts/dojo/back.js.uncompressed.js +0 -397
- data/vendor/assets/javascripts/dojo/behavior.js.uncompressed.js +0 -249
- data/vendor/assets/javascripts/dojo/cache.js.uncompressed.js +0 -7
- data/vendor/assets/javascripts/dojo/cldr/monetary.js.uncompressed.js +0 -40
- data/vendor/assets/javascripts/dojo/cldr/nls/ar/buddhist.js.uncompressed.js +0 -130
- data/vendor/assets/javascripts/dojo/cldr/nls/ar/currency.js.uncompressed.js +0 -16
- data/vendor/assets/javascripts/dojo/cldr/nls/ar/gregorian.js.uncompressed.js +0 -256
- data/vendor/assets/javascripts/dojo/cldr/nls/ar/hebrew.js.uncompressed.js +0 -141
- data/vendor/assets/javascripts/dojo/cldr/nls/ar/islamic.js.uncompressed.js +0 -188
- data/vendor/assets/javascripts/dojo/cldr/nls/ar/number.js.uncompressed.js +0 -19
- data/vendor/assets/javascripts/dojo/cldr/nls/buddhist.js.uncompressed.js +0 -268
- data/vendor/assets/javascripts/dojo/cldr/nls/ca/currency.js.uncompressed.js +0 -15
- data/vendor/assets/javascripts/dojo/cldr/nls/ca/gregorian.js.uncompressed.js +0 -250
- data/vendor/assets/javascripts/dojo/cldr/nls/ca/number.js.uncompressed.js +0 -21
- data/vendor/assets/javascripts/dojo/cldr/nls/cs/buddhist.js.uncompressed.js +0 -170
- data/vendor/assets/javascripts/dojo/cldr/nls/cs/currency.js.uncompressed.js +0 -15
- data/vendor/assets/javascripts/dojo/cldr/nls/cs/gregorian.js.uncompressed.js +0 -242
- data/vendor/assets/javascripts/dojo/cldr/nls/cs/islamic.js.uncompressed.js +0 -99
- data/vendor/assets/javascripts/dojo/cldr/nls/cs/number.js.uncompressed.js +0 -21
- data/vendor/assets/javascripts/dojo/cldr/nls/currency.js.uncompressed.js +0 -49
- data/vendor/assets/javascripts/dojo/cldr/nls/da/buddhist.js.uncompressed.js +0 -143
- data/vendor/assets/javascripts/dojo/cldr/nls/da/currency.js.uncompressed.js +0 -16
- data/vendor/assets/javascripts/dojo/cldr/nls/da/gregorian.js.uncompressed.js +0 -255
- data/vendor/assets/javascripts/dojo/cldr/nls/da/islamic.js.uncompressed.js +0 -91
- data/vendor/assets/javascripts/dojo/cldr/nls/da/number.js.uncompressed.js +0 -21
- data/vendor/assets/javascripts/dojo/cldr/nls/de/buddhist.js.uncompressed.js +0 -142
- data/vendor/assets/javascripts/dojo/cldr/nls/de/currency.js.uncompressed.js +0 -17
- data/vendor/assets/javascripts/dojo/cldr/nls/de/gregorian.js.uncompressed.js +0 -255
- data/vendor/assets/javascripts/dojo/cldr/nls/de/islamic.js.uncompressed.js +0 -92
- data/vendor/assets/javascripts/dojo/cldr/nls/de/number.js.uncompressed.js +0 -21
- data/vendor/assets/javascripts/dojo/cldr/nls/el/buddhist.js.uncompressed.js +0 -194
- data/vendor/assets/javascripts/dojo/cldr/nls/el/currency.js.uncompressed.js +0 -16
- data/vendor/assets/javascripts/dojo/cldr/nls/el/gregorian.js.uncompressed.js +0 -258
- data/vendor/assets/javascripts/dojo/cldr/nls/el/hebrew.js.uncompressed.js +0 -114
- data/vendor/assets/javascripts/dojo/cldr/nls/el/number.js.uncompressed.js +0 -20
- data/vendor/assets/javascripts/dojo/cldr/nls/en-au/currency.js.uncompressed.js +0 -8
- data/vendor/assets/javascripts/dojo/cldr/nls/en-au/gregorian.js.uncompressed.js +0 -24
- data/vendor/assets/javascripts/dojo/cldr/nls/en-au/number.js.uncompressed.js +0 -7
- data/vendor/assets/javascripts/dojo/cldr/nls/en-ca/currency.js.uncompressed.js +0 -8
- data/vendor/assets/javascripts/dojo/cldr/nls/en-ca/gregorian.js.uncompressed.js +0 -22
- data/vendor/assets/javascripts/dojo/cldr/nls/en-gb/buddhist.js.uncompressed.js +0 -106
- data/vendor/assets/javascripts/dojo/cldr/nls/en-gb/gregorian.js.uncompressed.js +0 -27
- data/vendor/assets/javascripts/dojo/cldr/nls/en-gb/islamic.js.uncompressed.js +0 -66
- data/vendor/assets/javascripts/dojo/cldr/nls/en-gb/number.js.uncompressed.js +0 -7
- data/vendor/assets/javascripts/dojo/cldr/nls/en/buddhist.js.uncompressed.js +0 -114
- data/vendor/assets/javascripts/dojo/cldr/nls/en/currency.js.uncompressed.js +0 -17
- data/vendor/assets/javascripts/dojo/cldr/nls/en/gregorian.js.uncompressed.js +0 -243
- data/vendor/assets/javascripts/dojo/cldr/nls/en/islamic.js.uncompressed.js +0 -79
- data/vendor/assets/javascripts/dojo/cldr/nls/en/number.js.uncompressed.js +0 -21
- data/vendor/assets/javascripts/dojo/cldr/nls/es/buddhist.js.uncompressed.js +0 -151
- data/vendor/assets/javascripts/dojo/cldr/nls/es/currency.js.uncompressed.js +0 -16
- data/vendor/assets/javascripts/dojo/cldr/nls/es/gregorian.js.uncompressed.js +0 -259
- data/vendor/assets/javascripts/dojo/cldr/nls/es/islamic.js.uncompressed.js +0 -108
- data/vendor/assets/javascripts/dojo/cldr/nls/es/number.js.uncompressed.js +0 -21
- data/vendor/assets/javascripts/dojo/cldr/nls/fi/buddhist.js.uncompressed.js +0 -214
- data/vendor/assets/javascripts/dojo/cldr/nls/fi/currency.js.uncompressed.js +0 -17
- data/vendor/assets/javascripts/dojo/cldr/nls/fi/gregorian.js.uncompressed.js +0 -258
- data/vendor/assets/javascripts/dojo/cldr/nls/fi/hebrew.js.uncompressed.js +0 -211
- data/vendor/assets/javascripts/dojo/cldr/nls/fi/islamic.js.uncompressed.js +0 -191
- data/vendor/assets/javascripts/dojo/cldr/nls/fi/number.js.uncompressed.js +0 -21
- data/vendor/assets/javascripts/dojo/cldr/nls/fr-ch/gregorian.js.uncompressed.js +0 -9
- data/vendor/assets/javascripts/dojo/cldr/nls/fr-ch/number.js.uncompressed.js +0 -9
- data/vendor/assets/javascripts/dojo/cldr/nls/fr/buddhist.js.uncompressed.js +0 -160
- data/vendor/assets/javascripts/dojo/cldr/nls/fr/currency.js.uncompressed.js +0 -22
- data/vendor/assets/javascripts/dojo/cldr/nls/fr/gregorian.js.uncompressed.js +0 -261
- data/vendor/assets/javascripts/dojo/cldr/nls/fr/hebrew.js.uncompressed.js +0 -139
- data/vendor/assets/javascripts/dojo/cldr/nls/fr/islamic.js.uncompressed.js +0 -177
- data/vendor/assets/javascripts/dojo/cldr/nls/fr/number.js.uncompressed.js +0 -21
- data/vendor/assets/javascripts/dojo/cldr/nls/gregorian.js.uncompressed.js +0 -296
- data/vendor/assets/javascripts/dojo/cldr/nls/he/currency.js.uncompressed.js +0 -15
- data/vendor/assets/javascripts/dojo/cldr/nls/he/gregorian.js.uncompressed.js +0 -241
- data/vendor/assets/javascripts/dojo/cldr/nls/he/hebrew.js.uncompressed.js +0 -168
- data/vendor/assets/javascripts/dojo/cldr/nls/he/islamic.js.uncompressed.js +0 -135
- data/vendor/assets/javascripts/dojo/cldr/nls/he/number.js.uncompressed.js +0 -21
- data/vendor/assets/javascripts/dojo/cldr/nls/hebrew.js.uncompressed.js +0 -271
- data/vendor/assets/javascripts/dojo/cldr/nls/hu/buddhist.js.uncompressed.js +0 -209
- data/vendor/assets/javascripts/dojo/cldr/nls/hu/currency.js.uncompressed.js +0 -17
- data/vendor/assets/javascripts/dojo/cldr/nls/hu/gregorian.js.uncompressed.js +0 -250
- data/vendor/assets/javascripts/dojo/cldr/nls/hu/hebrew.js.uncompressed.js +0 -187
- data/vendor/assets/javascripts/dojo/cldr/nls/hu/islamic.js.uncompressed.js +0 -199
- data/vendor/assets/javascripts/dojo/cldr/nls/hu/number.js.uncompressed.js +0 -20
- data/vendor/assets/javascripts/dojo/cldr/nls/islamic.js.uncompressed.js +0 -269
- data/vendor/assets/javascripts/dojo/cldr/nls/it/buddhist.js.uncompressed.js +0 -192
- data/vendor/assets/javascripts/dojo/cldr/nls/it/currency.js.uncompressed.js +0 -15
- data/vendor/assets/javascripts/dojo/cldr/nls/it/gregorian.js.uncompressed.js +0 -250
- data/vendor/assets/javascripts/dojo/cldr/nls/it/islamic.js.uncompressed.js +0 -104
- data/vendor/assets/javascripts/dojo/cldr/nls/it/number.js.uncompressed.js +0 -18
- data/vendor/assets/javascripts/dojo/cldr/nls/ja/buddhist.js.uncompressed.js +0 -101
- data/vendor/assets/javascripts/dojo/cldr/nls/ja/currency.js.uncompressed.js +0 -18
- data/vendor/assets/javascripts/dojo/cldr/nls/ja/gregorian.js.uncompressed.js +0 -242
- data/vendor/assets/javascripts/dojo/cldr/nls/ja/hebrew.js.uncompressed.js +0 -168
- data/vendor/assets/javascripts/dojo/cldr/nls/ja/islamic.js.uncompressed.js +0 -128
- data/vendor/assets/javascripts/dojo/cldr/nls/ja/number.js.uncompressed.js +0 -14
- data/vendor/assets/javascripts/dojo/cldr/nls/ko/buddhist.js.uncompressed.js +0 -127
- data/vendor/assets/javascripts/dojo/cldr/nls/ko/currency.js.uncompressed.js +0 -15
- data/vendor/assets/javascripts/dojo/cldr/nls/ko/gregorian.js.uncompressed.js +0 -259
- data/vendor/assets/javascripts/dojo/cldr/nls/ko/number.js.uncompressed.js +0 -21
- data/vendor/assets/javascripts/dojo/cldr/nls/nb/buddhist.js.uncompressed.js +0 -206
- data/vendor/assets/javascripts/dojo/cldr/nls/nb/currency.js.uncompressed.js +0 -15
- data/vendor/assets/javascripts/dojo/cldr/nls/nb/gregorian.js.uncompressed.js +0 -257
- data/vendor/assets/javascripts/dojo/cldr/nls/nb/islamic.js.uncompressed.js +0 -133
- data/vendor/assets/javascripts/dojo/cldr/nls/nb/number.js.uncompressed.js +0 -21
- data/vendor/assets/javascripts/dojo/cldr/nls/nl/buddhist.js.uncompressed.js +0 -133
- data/vendor/assets/javascripts/dojo/cldr/nls/nl/currency.js.uncompressed.js +0 -15
- data/vendor/assets/javascripts/dojo/cldr/nls/nl/gregorian.js.uncompressed.js +0 -251
- data/vendor/assets/javascripts/dojo/cldr/nls/nl/hebrew.js.uncompressed.js +0 -123
- data/vendor/assets/javascripts/dojo/cldr/nls/nl/islamic.js.uncompressed.js +0 -163
- data/vendor/assets/javascripts/dojo/cldr/nls/nl/number.js.uncompressed.js +0 -21
- data/vendor/assets/javascripts/dojo/cldr/nls/number.js.uncompressed.js +0 -62
- data/vendor/assets/javascripts/dojo/cldr/nls/pl/buddhist.js.uncompressed.js +0 -203
- data/vendor/assets/javascripts/dojo/cldr/nls/pl/currency.js.uncompressed.js +0 -15
- data/vendor/assets/javascripts/dojo/cldr/nls/pl/gregorian.js.uncompressed.js +0 -262
- data/vendor/assets/javascripts/dojo/cldr/nls/pl/hebrew.js.uncompressed.js +0 -166
- data/vendor/assets/javascripts/dojo/cldr/nls/pl/islamic.js.uncompressed.js +0 -196
- data/vendor/assets/javascripts/dojo/cldr/nls/pl/number.js.uncompressed.js +0 -21
- data/vendor/assets/javascripts/dojo/cldr/nls/pt-pt/buddhist.js.uncompressed.js +0 -127
- data/vendor/assets/javascripts/dojo/cldr/nls/pt-pt/currency.js.uncompressed.js +0 -8
- data/vendor/assets/javascripts/dojo/cldr/nls/pt-pt/gregorian.js.uncompressed.js +0 -157
- data/vendor/assets/javascripts/dojo/cldr/nls/pt-pt/islamic.js.uncompressed.js +0 -82
- data/vendor/assets/javascripts/dojo/cldr/nls/pt-pt/number.js.uncompressed.js +0 -9
- data/vendor/assets/javascripts/dojo/cldr/nls/pt/buddhist.js.uncompressed.js +0 -130
- data/vendor/assets/javascripts/dojo/cldr/nls/pt/currency.js.uncompressed.js +0 -15
- data/vendor/assets/javascripts/dojo/cldr/nls/pt/gregorian.js.uncompressed.js +0 -256
- data/vendor/assets/javascripts/dojo/cldr/nls/pt/hebrew.js.uncompressed.js +0 -137
- data/vendor/assets/javascripts/dojo/cldr/nls/pt/islamic.js.uncompressed.js +0 -101
- data/vendor/assets/javascripts/dojo/cldr/nls/pt/number.js.uncompressed.js +0 -21
- data/vendor/assets/javascripts/dojo/cldr/nls/ro/buddhist.js.uncompressed.js +0 -207
- data/vendor/assets/javascripts/dojo/cldr/nls/ro/currency.js.uncompressed.js +0 -16
- data/vendor/assets/javascripts/dojo/cldr/nls/ro/gregorian.js.uncompressed.js +0 -262
- data/vendor/assets/javascripts/dojo/cldr/nls/ro/hebrew.js.uncompressed.js +0 -169
- data/vendor/assets/javascripts/dojo/cldr/nls/ro/islamic.js.uncompressed.js +0 -117
- data/vendor/assets/javascripts/dojo/cldr/nls/ro/number.js.uncompressed.js +0 -21
- data/vendor/assets/javascripts/dojo/cldr/nls/ru/buddhist.js.uncompressed.js +0 -203
- data/vendor/assets/javascripts/dojo/cldr/nls/ru/currency.js.uncompressed.js +0 -17
- data/vendor/assets/javascripts/dojo/cldr/nls/ru/gregorian.js.uncompressed.js +0 -261
- data/vendor/assets/javascripts/dojo/cldr/nls/ru/hebrew.js.uncompressed.js +0 -169
- data/vendor/assets/javascripts/dojo/cldr/nls/ru/islamic.js.uncompressed.js +0 -197
- data/vendor/assets/javascripts/dojo/cldr/nls/ru/number.js.uncompressed.js +0 -21
- data/vendor/assets/javascripts/dojo/cldr/nls/sk/currency.js.uncompressed.js +0 -15
- data/vendor/assets/javascripts/dojo/cldr/nls/sk/gregorian.js.uncompressed.js +0 -249
- data/vendor/assets/javascripts/dojo/cldr/nls/sk/number.js.uncompressed.js +0 -12
- data/vendor/assets/javascripts/dojo/cldr/nls/sl/currency.js.uncompressed.js +0 -17
- data/vendor/assets/javascripts/dojo/cldr/nls/sl/gregorian.js.uncompressed.js +0 -241
- data/vendor/assets/javascripts/dojo/cldr/nls/sl/number.js.uncompressed.js +0 -21
- data/vendor/assets/javascripts/dojo/cldr/nls/sv/buddhist.js.uncompressed.js +0 -209
- data/vendor/assets/javascripts/dojo/cldr/nls/sv/currency.js.uncompressed.js +0 -16
- data/vendor/assets/javascripts/dojo/cldr/nls/sv/gregorian.js.uncompressed.js +0 -257
- data/vendor/assets/javascripts/dojo/cldr/nls/sv/hebrew.js.uncompressed.js +0 -167
- data/vendor/assets/javascripts/dojo/cldr/nls/sv/islamic.js.uncompressed.js +0 -189
- data/vendor/assets/javascripts/dojo/cldr/nls/sv/number.js.uncompressed.js +0 -21
- data/vendor/assets/javascripts/dojo/cldr/nls/th/buddhist.js.uncompressed.js +0 -144
- data/vendor/assets/javascripts/dojo/cldr/nls/th/currency.js.uncompressed.js +0 -16
- data/vendor/assets/javascripts/dojo/cldr/nls/th/gregorian.js.uncompressed.js +0 -255
- data/vendor/assets/javascripts/dojo/cldr/nls/th/hebrew.js.uncompressed.js +0 -139
- data/vendor/assets/javascripts/dojo/cldr/nls/th/islamic.js.uncompressed.js +0 -134
- data/vendor/assets/javascripts/dojo/cldr/nls/th/number.js.uncompressed.js +0 -21
- data/vendor/assets/javascripts/dojo/cldr/nls/tr/buddhist.js.uncompressed.js +0 -203
- data/vendor/assets/javascripts/dojo/cldr/nls/tr/currency.js.uncompressed.js +0 -17
- data/vendor/assets/javascripts/dojo/cldr/nls/tr/gregorian.js.uncompressed.js +0 -253
- data/vendor/assets/javascripts/dojo/cldr/nls/tr/hebrew.js.uncompressed.js +0 -161
- data/vendor/assets/javascripts/dojo/cldr/nls/tr/islamic.js.uncompressed.js +0 -181
- data/vendor/assets/javascripts/dojo/cldr/nls/tr/number.js.uncompressed.js +0 -21
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-hant/buddhist.js.uncompressed.js +0 -192
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-hant/currency.js.uncompressed.js +0 -17
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-hant/gregorian.js.uncompressed.js +0 -226
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-hant/hebrew.js.uncompressed.js +0 -182
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-hant/islamic.js.uncompressed.js +0 -186
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-hant/number.js.uncompressed.js +0 -9
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-hk/currency.js.uncompressed.js +0 -15
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-hk/gregorian.js.uncompressed.js +0 -82
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-hk/number.js.uncompressed.js +0 -7
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-tw/currency.js.uncompressed.js +0 -15
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-tw/gregorian.js.uncompressed.js +0 -82
- data/vendor/assets/javascripts/dojo/cldr/nls/zh-tw/number.js.uncompressed.js +0 -7
- data/vendor/assets/javascripts/dojo/cldr/nls/zh/buddhist.js.uncompressed.js +0 -205
- data/vendor/assets/javascripts/dojo/cldr/nls/zh/currency.js.uncompressed.js +0 -16
- data/vendor/assets/javascripts/dojo/cldr/nls/zh/gregorian.js.uncompressed.js +0 -264
- data/vendor/assets/javascripts/dojo/cldr/nls/zh/hebrew.js.uncompressed.js +0 -181
- data/vendor/assets/javascripts/dojo/cldr/nls/zh/islamic.js.uncompressed.js +0 -137
- data/vendor/assets/javascripts/dojo/cldr/nls/zh/number.js.uncompressed.js +0 -13
- data/vendor/assets/javascripts/dojo/cldr/supplemental.js.uncompressed.js +0 -84
- data/vendor/assets/javascripts/dojo/colors.js.uncompressed.js +0 -232
- data/vendor/assets/javascripts/dojo/cookie.js.uncompressed.js +0 -98
- data/vendor/assets/javascripts/dojo/currency.js.uncompressed.js +0 -130
- data/vendor/assets/javascripts/dojo/data/ItemFileReadStore.js.uncompressed.js +0 -951
- data/vendor/assets/javascripts/dojo/data/ItemFileWriteStore.js.uncompressed.js +0 -816
- data/vendor/assets/javascripts/dojo/data/ObjectStore.js.uncompressed.js +0 -544
- data/vendor/assets/javascripts/dojo/data/api/Identity.js.uncompressed.js +0 -109
- data/vendor/assets/javascripts/dojo/data/api/Item.js.uncompressed.js +0 -13
- data/vendor/assets/javascripts/dojo/data/api/Notification.js.uncompressed.js +0 -110
- data/vendor/assets/javascripts/dojo/data/api/Read.js.uncompressed.js +0 -486
- data/vendor/assets/javascripts/dojo/data/api/Request.js.uncompressed.js +0 -33
- data/vendor/assets/javascripts/dojo/data/api/Write.js.uncompressed.js +0 -206
- data/vendor/assets/javascripts/dojo/data/util/filter.js.uncompressed.js +0 -77
- data/vendor/assets/javascripts/dojo/data/util/simpleFetch.js.uncompressed.js +0 -240
- data/vendor/assets/javascripts/dojo/data/util/sorter.js.uncompressed.js +0 -99
- data/vendor/assets/javascripts/dojo/date.js.uncompressed.js +0 -346
- data/vendor/assets/javascripts/dojo/date/locale.js.uncompressed.js +0 -694
- data/vendor/assets/javascripts/dojo/date/stamp.js.uncompressed.js +0 -144
- data/vendor/assets/javascripts/dojo/dnd/AutoSource.js.uncompressed.js +0 -12
- data/vendor/assets/javascripts/dojo/dnd/Avatar.js.uncompressed.js +0 -122
- data/vendor/assets/javascripts/dojo/dnd/Container.js.uncompressed.js +0 -456
- data/vendor/assets/javascripts/dojo/dnd/Manager.js.uncompressed.js +0 -223
- data/vendor/assets/javascripts/dojo/dnd/Moveable.js.uncompressed.js +0 -185
- data/vendor/assets/javascripts/dojo/dnd/Mover.js.uncompressed.js +0 -124
- data/vendor/assets/javascripts/dojo/dnd/Selector.js.uncompressed.js +0 -329
- data/vendor/assets/javascripts/dojo/dnd/Source.js.uncompressed.js +0 -506
- data/vendor/assets/javascripts/dojo/dnd/Target.js.uncompressed.js +0 -13
- data/vendor/assets/javascripts/dojo/dnd/TimedMoveable.js.uncompressed.js +0 -64
- data/vendor/assets/javascripts/dojo/dnd/autoscroll.js.uncompressed.js +0 -149
- data/vendor/assets/javascripts/dojo/dnd/common.js.uncompressed.js +0 -41
- data/vendor/assets/javascripts/dojo/dnd/move.js.uncompressed.js +0 -147
- data/vendor/assets/javascripts/dojo/dojo.js.uncompressed.js +0 -17702
- data/vendor/assets/javascripts/dojo/dom-attr.js.uncompressed.js +0 -220
- data/vendor/assets/javascripts/dojo/dom-class.js.uncompressed.js +0 -326
- data/vendor/assets/javascripts/dojo/dom-construct.js.uncompressed.js +0 -333
- data/vendor/assets/javascripts/dojo/dom-form.js.uncompressed.js +0 -149
- data/vendor/assets/javascripts/dojo/dom-geometry.js.uncompressed.js +0 -605
- data/vendor/assets/javascripts/dojo/dom-prop.js.uncompressed.js +0 -181
- data/vendor/assets/javascripts/dojo/dom-style.js.uncompressed.js +0 -306
- data/vendor/assets/javascripts/dojo/dom.js.uncompressed.js +0 -148
- data/vendor/assets/javascripts/dojo/domReady.js.uncompressed.js +0 -97
- data/vendor/assets/javascripts/dojo/errors/CancelError.js.uncompressed.js +0 -13
- data/vendor/assets/javascripts/dojo/errors/RequestError.js.uncompressed.js +0 -15
- data/vendor/assets/javascripts/dojo/errors/RequestTimeoutError.js.uncompressed.js +0 -15
- data/vendor/assets/javascripts/dojo/errors/create.js.uncompressed.js +0 -41
- data/vendor/assets/javascripts/dojo/fx.js.uncompressed.js +0 -419
- data/vendor/assets/javascripts/dojo/fx/Toggler.js.uncompressed.js +0 -101
- data/vendor/assets/javascripts/dojo/fx/easing.js.uncompressed.js +0 -276
- data/vendor/assets/javascripts/dojo/gears.js.uncompressed.js +0 -65
- data/vendor/assets/javascripts/dojo/has.js.uncompressed.js +0 -173
- data/vendor/assets/javascripts/dojo/hash.js.uncompressed.js +0 -256
- data/vendor/assets/javascripts/dojo/hccss.js.uncompressed.js +0 -51
- data/vendor/assets/javascripts/dojo/html.js.uncompressed.js +0 -373
- data/vendor/assets/javascripts/dojo/i18n.js.uncompressed.js +0 -550
- data/vendor/assets/javascripts/dojo/io-query.js.uncompressed.js +0 -97
- data/vendor/assets/javascripts/dojo/io/iframe.js.uncompressed.js +0 -190
- data/vendor/assets/javascripts/dojo/io/script.js.uncompressed.js +0 -249
- data/vendor/assets/javascripts/dojo/jaxer.js.uncompressed.js +0 -17
- data/vendor/assets/javascripts/dojo/json.js.uncompressed.js +0 -152
- data/vendor/assets/javascripts/dojo/keys.js.uncompressed.js +0 -77
- data/vendor/assets/javascripts/dojo/loadInit.js.uncompressed.js +0 -7
- data/vendor/assets/javascripts/dojo/main.js.uncompressed.js +0 -52
- data/vendor/assets/javascripts/dojo/mouse.js.uncompressed.js +0 -171
- data/vendor/assets/javascripts/dojo/nls/ar/colors.js.uncompressed.js +0 -156
- data/vendor/assets/javascripts/dojo/nls/az/colors.js.uncompressed.js +0 -151
- data/vendor/assets/javascripts/dojo/nls/ca/colors.js.uncompressed.js +0 -156
- data/vendor/assets/javascripts/dojo/nls/cs/colors.js.uncompressed.js +0 -156
- data/vendor/assets/javascripts/dojo/nls/da/colors.js.uncompressed.js +0 -156
- data/vendor/assets/javascripts/dojo/nls/de/colors.js.uncompressed.js +0 -156
- data/vendor/assets/javascripts/dojo/nls/el/colors.js.uncompressed.js +0 -156
- data/vendor/assets/javascripts/dojo/nls/es/colors.js.uncompressed.js +0 -156
- data/vendor/assets/javascripts/dojo/nls/fi/colors.js.uncompressed.js +0 -156
- data/vendor/assets/javascripts/dojo/nls/fr/colors.js.uncompressed.js +0 -156
- data/vendor/assets/javascripts/dojo/nls/he/colors.js.uncompressed.js +0 -155
- data/vendor/assets/javascripts/dojo/nls/hr/colors.js.uncompressed.js +0 -156
- data/vendor/assets/javascripts/dojo/nls/hu/colors.js.uncompressed.js +0 -156
- data/vendor/assets/javascripts/dojo/nls/it/colors.js.uncompressed.js +0 -156
- data/vendor/assets/javascripts/dojo/nls/ja/colors.js.uncompressed.js +0 -156
- data/vendor/assets/javascripts/dojo/nls/kk/colors.js.uncompressed.js +0 -156
- data/vendor/assets/javascripts/dojo/nls/ko/colors.js.uncompressed.js +0 -156
- data/vendor/assets/javascripts/dojo/nls/nb/colors.js.uncompressed.js +0 -156
- data/vendor/assets/javascripts/dojo/nls/nl/colors.js.uncompressed.js +0 -156
- data/vendor/assets/javascripts/dojo/nls/pl/colors.js.uncompressed.js +0 -156
- data/vendor/assets/javascripts/dojo/nls/pt-pt/colors.js.uncompressed.js +0 -156
- data/vendor/assets/javascripts/dojo/nls/pt/colors.js.uncompressed.js +0 -156
- data/vendor/assets/javascripts/dojo/nls/ro/colors.js.uncompressed.js +0 -156
- data/vendor/assets/javascripts/dojo/nls/ru/colors.js.uncompressed.js +0 -156
- data/vendor/assets/javascripts/dojo/nls/sk/colors.js.uncompressed.js +0 -156
- data/vendor/assets/javascripts/dojo/nls/sl/colors.js.uncompressed.js +0 -156
- data/vendor/assets/javascripts/dojo/nls/sv/colors.js.uncompressed.js +0 -156
- data/vendor/assets/javascripts/dojo/nls/th/colors.js.uncompressed.js +0 -156
- data/vendor/assets/javascripts/dojo/nls/tr/colors.js.uncompressed.js +0 -156
- data/vendor/assets/javascripts/dojo/nls/zh-tw/colors.js.uncompressed.js +0 -156
- data/vendor/assets/javascripts/dojo/nls/zh/colors.js.uncompressed.js +0 -156
- data/vendor/assets/javascripts/dojo/node.js.uncompressed.js +0 -27
- data/vendor/assets/javascripts/dojo/number.js.uncompressed.js +0 -548
- data/vendor/assets/javascripts/dojo/on.js.uncompressed.js +0 -517
- data/vendor/assets/javascripts/dojo/parser.js.uncompressed.js +0 -865
- data/vendor/assets/javascripts/dojo/promise/Promise.js.uncompressed.js +0 -133
- data/vendor/assets/javascripts/dojo/promise/all.js.uncompressed.js +0 -76
- data/vendor/assets/javascripts/dojo/promise/first.js.uncompressed.js +0 -49
- data/vendor/assets/javascripts/dojo/promise/instrumentation.js.uncompressed.js +0 -103
- data/vendor/assets/javascripts/dojo/promise/tracer.js.uncompressed.js +0 -85
- data/vendor/assets/javascripts/dojo/query.js.uncompressed.js +0 -705
- data/vendor/assets/javascripts/dojo/ready.js.uncompressed.js +0 -136
- data/vendor/assets/javascripts/dojo/regexp.js.uncompressed.js +0 -70
- data/vendor/assets/javascripts/dojo/request.js.uncompressed.js +0 -75
- data/vendor/assets/javascripts/dojo/request/default.js.uncompressed.js +0 -32
- data/vendor/assets/javascripts/dojo/request/handlers.js.uncompressed.js +0 -62
- data/vendor/assets/javascripts/dojo/request/iframe.js.uncompressed.js +0 -429
- data/vendor/assets/javascripts/dojo/request/node.js.uncompressed.js +0 -188
- data/vendor/assets/javascripts/dojo/request/notify.js.uncompressed.js +0 -73
- data/vendor/assets/javascripts/dojo/request/registry.js.uncompressed.js +0 -85
- data/vendor/assets/javascripts/dojo/request/script.js.uncompressed.js +0 -211
- data/vendor/assets/javascripts/dojo/request/util.js.uncompressed.js +0 -145
- data/vendor/assets/javascripts/dojo/request/watch.js.uncompressed.js +0 -109
- data/vendor/assets/javascripts/dojo/request/xhr.js.uncompressed.js +0 -317
- data/vendor/assets/javascripts/dojo/require.js.uncompressed.js +0 -7
- data/vendor/assets/javascripts/dojo/router.js.uncompressed.js +0 -28
- data/vendor/assets/javascripts/dojo/router/RouterBase.js.uncompressed.js +0 -350
- data/vendor/assets/javascripts/dojo/rpc/JsonService.js.uncompressed.js +0 -87
- data/vendor/assets/javascripts/dojo/rpc/JsonpService.js.uncompressed.js +0 -66
- data/vendor/assets/javascripts/dojo/rpc/RpcService.js.uncompressed.js +0 -178
- data/vendor/assets/javascripts/dojo/selector/_loader.js.uncompressed.js +0 -47
- data/vendor/assets/javascripts/dojo/selector/acme.js.uncompressed.js +0 -1493
- data/vendor/assets/javascripts/dojo/selector/lite.js.uncompressed.js +0 -283
- data/vendor/assets/javascripts/dojo/sniff.js.uncompressed.js +0 -70
- data/vendor/assets/javascripts/dojo/store/Cache.js.uncompressed.js +0 -145
- data/vendor/assets/javascripts/dojo/store/DataStore.js.uncompressed.js +0 -202
- data/vendor/assets/javascripts/dojo/store/JsonRest.js.uncompressed.js +0 -189
- data/vendor/assets/javascripts/dojo/store/Memory.js.uncompressed.js +0 -164
- data/vendor/assets/javascripts/dojo/store/Observable.js.uncompressed.js +0 -187
- data/vendor/assets/javascripts/dojo/store/api/Store.js.uncompressed.js +0 -287
- data/vendor/assets/javascripts/dojo/store/util/QueryResults.js.uncompressed.js +0 -63
- data/vendor/assets/javascripts/dojo/store/util/SimpleQueryEngine.js.uncompressed.js +0 -110
- data/vendor/assets/javascripts/dojo/string.js.uncompressed.js +0 -162
- data/vendor/assets/javascripts/dojo/text.js.uncompressed.js +0 -214
- data/vendor/assets/javascripts/dojo/topic.js.uncompressed.js +0 -38
- data/vendor/assets/javascripts/dojo/touch.js.uncompressed.js +0 -201
- data/vendor/assets/javascripts/dojo/uacss.js.uncompressed.js +0 -75
- data/vendor/assets/javascripts/dojo/when.js.uncompressed.js +0 -55
- data/vendor/assets/javascripts/dojo/window.js.uncompressed.js +0 -168
@@ -1,865 +0,0 @@
|
|
1
|
-
define(
|
2
|
-
"dojo/parser", ["./_base/kernel", "./_base/lang", "./_base/array", "./_base/config", "./_base/html", "./_base/window", "./_base/url",
|
3
|
-
"./_base/json", "./aspect", "./date/stamp", "./Deferred", "./has", "./query", "./on", "./ready"],
|
4
|
-
function(dojo, dlang, darray, config, dhtml, dwindow, _Url, djson, aspect, dates, Deferred, has, query, don, ready){
|
5
|
-
|
6
|
-
// module:
|
7
|
-
// dojo/parser
|
8
|
-
|
9
|
-
new Date("X"); // workaround for #11279, new Date("") == NaN
|
10
|
-
|
11
|
-
|
12
|
-
// Widgets like BorderContainer add properties to _Widget via dojo.extend().
|
13
|
-
// If BorderContainer is loaded after _Widget's parameter list has been cached,
|
14
|
-
// we need to refresh that parameter list (for _Widget and all widgets that extend _Widget).
|
15
|
-
var extendCnt = 0;
|
16
|
-
aspect.after(dlang, "extend", function(){
|
17
|
-
extendCnt++;
|
18
|
-
}, true);
|
19
|
-
|
20
|
-
function getNameMap(ctor){
|
21
|
-
// summary:
|
22
|
-
// Returns map from lowercase name to attribute name in class, ex: {onclick: "onClick"}
|
23
|
-
var map = ctor._nameCaseMap, proto = ctor.prototype;
|
24
|
-
|
25
|
-
// Create the map if it's undefined.
|
26
|
-
// Refresh the map if a superclass was possibly extended with new methods since the map was created.
|
27
|
-
if(!map || map._extendCnt < extendCnt){
|
28
|
-
map = ctor._nameCaseMap = {};
|
29
|
-
for(var name in proto){
|
30
|
-
if(name.charAt(0) === "_"){ continue; } // skip internal properties
|
31
|
-
map[name.toLowerCase()] = name;
|
32
|
-
}
|
33
|
-
map._extendCnt = extendCnt;
|
34
|
-
}
|
35
|
-
return map;
|
36
|
-
}
|
37
|
-
|
38
|
-
// Map from widget name or list of widget names(ex: "dijit/form/Button,acme/MyMixin") to a constructor.
|
39
|
-
var _ctorMap = {};
|
40
|
-
|
41
|
-
function getCtor(/*String[]*/ types){
|
42
|
-
// summary:
|
43
|
-
// Retrieves a constructor. If the types array contains more than one class/MID then the
|
44
|
-
// subsequent classes will be mixed into the first class and a unique constructor will be
|
45
|
-
// returned for that array.
|
46
|
-
|
47
|
-
var ts = types.join();
|
48
|
-
if(!_ctorMap[ts]){
|
49
|
-
var mixins = [];
|
50
|
-
for(var i = 0, l = types.length; i < l; i++){
|
51
|
-
var t = types[i];
|
52
|
-
// TODO: Consider swapping getObject and require in the future
|
53
|
-
mixins[mixins.length] = (_ctorMap[t] = _ctorMap[t] || (dlang.getObject(t) || (~t.indexOf('/') && require(t))));
|
54
|
-
}
|
55
|
-
var ctor = mixins.shift();
|
56
|
-
_ctorMap[ts] = mixins.length ? (ctor.createSubclass ? ctor.createSubclass(mixins) : ctor.extend.apply(ctor, mixins)) : ctor;
|
57
|
-
}
|
58
|
-
|
59
|
-
return _ctorMap[ts];
|
60
|
-
}
|
61
|
-
|
62
|
-
var parser = {
|
63
|
-
// summary:
|
64
|
-
// The Dom/Widget parsing package
|
65
|
-
|
66
|
-
_clearCache: function(){
|
67
|
-
// summary:
|
68
|
-
// Clear cached data. Used mainly for benchmarking.
|
69
|
-
extendCnt++;
|
70
|
-
_ctorMap = {};
|
71
|
-
},
|
72
|
-
|
73
|
-
_functionFromScript: function(script, attrData){
|
74
|
-
// summary:
|
75
|
-
// Convert a `<script type="dojo/method" args="a, b, c"> ... </script>`
|
76
|
-
// into a function
|
77
|
-
// script: DOMNode
|
78
|
-
// The `<script>` DOMNode
|
79
|
-
// attrData: String
|
80
|
-
// For HTML5 compliance, searches for attrData + "args" (typically
|
81
|
-
// "data-dojo-args") instead of "args"
|
82
|
-
var preamble = "",
|
83
|
-
suffix = "",
|
84
|
-
argsStr = (script.getAttribute(attrData + "args") || script.getAttribute("args")),
|
85
|
-
withStr = script.getAttribute("with");
|
86
|
-
|
87
|
-
// Convert any arguments supplied in script tag into an array to be passed to the
|
88
|
-
var fnArgs = (argsStr || "").split(/\s*,\s*/);
|
89
|
-
|
90
|
-
if(withStr && withStr.length){
|
91
|
-
darray.forEach(withStr.split(/\s*,\s*/), function(part){
|
92
|
-
preamble += "with("+part+"){";
|
93
|
-
suffix += "}";
|
94
|
-
});
|
95
|
-
}
|
96
|
-
|
97
|
-
return new Function(fnArgs, preamble + script.innerHTML + suffix);
|
98
|
-
},
|
99
|
-
|
100
|
-
instantiate: function(nodes, mixin, options){
|
101
|
-
// summary:
|
102
|
-
// Takes array of nodes, and turns them into class instances and
|
103
|
-
// potentially calls a startup method to allow them to connect with
|
104
|
-
// any children.
|
105
|
-
// nodes: Array
|
106
|
-
// Array of DOM nodes
|
107
|
-
// mixin: Object?
|
108
|
-
// An object that will be mixed in with each node in the array.
|
109
|
-
// Values in the mixin will override values in the node, if they
|
110
|
-
// exist.
|
111
|
-
// options: Object?
|
112
|
-
// An object used to hold kwArgs for instantiation.
|
113
|
-
// See parse.options argument for details.
|
114
|
-
|
115
|
-
mixin = mixin || {};
|
116
|
-
options = options || {};
|
117
|
-
|
118
|
-
var dojoType = (options.scope || dojo._scopeName) + "Type", // typically "dojoType"
|
119
|
-
attrData = "data-" + (options.scope || dojo._scopeName) + "-",// typically "data-dojo-"
|
120
|
-
dataDojoType = attrData + "type", // typically "data-dojo-type"
|
121
|
-
dataDojoMixins = attrData + "mixins"; // typically "data-dojo-mixins"
|
122
|
-
|
123
|
-
var list = [];
|
124
|
-
darray.forEach(nodes, function(node){
|
125
|
-
var type = dojoType in mixin ? mixin[dojoType] : node.getAttribute(dataDojoType) || node.getAttribute(dojoType);
|
126
|
-
if(type){
|
127
|
-
var mixinsValue = node.getAttribute(dataDojoMixins),
|
128
|
-
types = mixinsValue ? [type].concat(mixinsValue.split(/\s*,\s*/)) : [type];
|
129
|
-
|
130
|
-
list.push({
|
131
|
-
node: node,
|
132
|
-
types: types
|
133
|
-
});
|
134
|
-
}
|
135
|
-
});
|
136
|
-
|
137
|
-
// Instantiate the nodes and return the objects
|
138
|
-
return this._instantiate(list, mixin, options);
|
139
|
-
},
|
140
|
-
|
141
|
-
_instantiate: function(nodes, mixin, options){
|
142
|
-
// summary:
|
143
|
-
// Takes array of objects representing nodes, and turns them into class instances and
|
144
|
-
// potentially calls a startup method to allow them to connect with
|
145
|
-
// any children.
|
146
|
-
// nodes: Array
|
147
|
-
// Array of objects like
|
148
|
-
// | {
|
149
|
-
// | ctor: Function (may be null)
|
150
|
-
// | types: ["dijit/form/Button", "acme/MyMixin"] (used if ctor not specified)
|
151
|
-
// | node: DOMNode,
|
152
|
-
// | scripts: [ ... ], // array of <script type="dojo/..."> children of node
|
153
|
-
// | inherited: { ... } // settings inherited from ancestors like dir, theme, etc.
|
154
|
-
// | }
|
155
|
-
// mixin: Object
|
156
|
-
// An object that will be mixed in with each node in the array.
|
157
|
-
// Values in the mixin will override values in the node, if they
|
158
|
-
// exist.
|
159
|
-
// options: Object
|
160
|
-
// An options object used to hold kwArgs for instantiation.
|
161
|
-
// See parse.options argument for details.
|
162
|
-
|
163
|
-
// Call widget constructors
|
164
|
-
var thelist = darray.map(nodes, function(obj){
|
165
|
-
var ctor = obj.ctor || getCtor(obj.types);
|
166
|
-
// If we still haven't resolved a ctor, it is fatal now
|
167
|
-
if(!ctor){
|
168
|
-
throw new Error("Unable to resolve constructor for: '" + obj.types.join() + "'");
|
169
|
-
}
|
170
|
-
return this.construct(ctor, obj.node, mixin, options, obj.scripts, obj.inherited);
|
171
|
-
}, this);
|
172
|
-
|
173
|
-
// Call startup on each top level instance if it makes sense (as for
|
174
|
-
// widgets). Parent widgets will recursively call startup on their
|
175
|
-
// (non-top level) children
|
176
|
-
if(!mixin._started && !options.noStart){
|
177
|
-
darray.forEach(thelist, function(instance){
|
178
|
-
if(typeof instance.startup === "function" && !instance._started){
|
179
|
-
instance.startup();
|
180
|
-
}
|
181
|
-
});
|
182
|
-
}
|
183
|
-
|
184
|
-
return thelist;
|
185
|
-
},
|
186
|
-
|
187
|
-
construct: function(ctor, node, mixin, options, scripts, inherited){
|
188
|
-
// summary:
|
189
|
-
// Calls new ctor(params, node), where params is the hash of parameters specified on the node,
|
190
|
-
// excluding data-dojo-type and data-dojo-mixins. Does not call startup(). Returns the widget.
|
191
|
-
// ctor: Function
|
192
|
-
// Widget constructor.
|
193
|
-
// node: DOMNode
|
194
|
-
// This node will be replaced/attached to by the widget. It also specifies the arguments to pass to ctor.
|
195
|
-
// mixin: Object?
|
196
|
-
// Attributes in this object will be passed as parameters to ctor,
|
197
|
-
// overriding attributes specified on the node.
|
198
|
-
// options: Object?
|
199
|
-
// An options object used to hold kwArgs for instantiation. See parse.options argument for details.
|
200
|
-
// scripts: DomNode[]?
|
201
|
-
// Array of `<script type="dojo/*">` DOMNodes. If not specified, will search for `<script>` tags inside node.
|
202
|
-
// inherited: Object?
|
203
|
-
// Settings from dir=rtl or lang=... on a node above this node. Overrides options.inherited.
|
204
|
-
|
205
|
-
var proto = ctor && ctor.prototype;
|
206
|
-
options = options || {};
|
207
|
-
|
208
|
-
// Setup hash to hold parameter settings for this widget. Start with the parameter
|
209
|
-
// settings inherited from ancestors ("dir" and "lang").
|
210
|
-
// Inherited setting may later be overridden by explicit settings on node itself.
|
211
|
-
var params = {};
|
212
|
-
|
213
|
-
if(options.defaults){
|
214
|
-
// settings for the document itself (or whatever subtree is being parsed)
|
215
|
-
dlang.mixin(params, options.defaults);
|
216
|
-
}
|
217
|
-
if(inherited){
|
218
|
-
// settings from dir=rtl or lang=... on a node above this node
|
219
|
-
dlang.mixin(params, inherited);
|
220
|
-
}
|
221
|
-
|
222
|
-
// Get list of attributes explicitly listed in the markup
|
223
|
-
var attributes;
|
224
|
-
if(has("dom-attributes-explicit")){
|
225
|
-
// Standard path to get list of user specified attributes
|
226
|
-
attributes = node.attributes;
|
227
|
-
}else if(has("dom-attributes-specified-flag")){
|
228
|
-
// Special processing needed for IE8, to skip a few faux values in attributes[]
|
229
|
-
attributes = darray.filter(node.attributes, function(a){ return a.specified;});
|
230
|
-
}else{
|
231
|
-
// Special path for IE6-7, avoid (sometimes >100) bogus entries in node.attributes
|
232
|
-
var clone = /^input$|^img$/i.test(node.nodeName) ? node : node.cloneNode(false),
|
233
|
-
attrs = clone.outerHTML.replace(/=[^\s"']+|="[^"]*"|='[^']*'/g, "").replace(/^\s*<[a-zA-Z0-9]*\s*/, "").replace(/\s*>.*$/, "");
|
234
|
-
|
235
|
-
attributes = darray.map(attrs.split(/\s+/), function(name){
|
236
|
-
var lcName = name.toLowerCase();
|
237
|
-
return {
|
238
|
-
name: name,
|
239
|
-
// getAttribute() doesn't work for button.value, returns innerHTML of button.
|
240
|
-
// but getAttributeNode().value doesn't work for the form.encType or li.value
|
241
|
-
value: (node.nodeName == "LI" && name == "value") || lcName == "enctype" ?
|
242
|
-
node.getAttribute(lcName) : node.getAttributeNode(lcName).value
|
243
|
-
};
|
244
|
-
});
|
245
|
-
}
|
246
|
-
|
247
|
-
// Hash to convert scoped attribute name (ex: data-dojo17-params) to something friendly (ex: data-dojo-params)
|
248
|
-
// TODO: remove scope for 2.0
|
249
|
-
var scope = options.scope || dojo._scopeName,
|
250
|
-
attrData = "data-" + scope + "-", // typically "data-dojo-"
|
251
|
-
hash = {};
|
252
|
-
if(scope !== "dojo"){
|
253
|
-
hash[attrData + "props"] = "data-dojo-props";
|
254
|
-
hash[attrData + "type"] = "data-dojo-type";
|
255
|
-
hash[attrData + "mixins"] = "data-dojo-mixins";
|
256
|
-
hash[scope + "type"] = "dojoType";
|
257
|
-
hash[attrData + "id"] = "data-dojo-id";
|
258
|
-
}
|
259
|
-
|
260
|
-
// Read in attributes and process them, including data-dojo-props, data-dojo-type,
|
261
|
-
// dojoAttachPoint, etc., as well as normal foo=bar attributes.
|
262
|
-
var i=0, item, funcAttrs=[], jsname, extra;
|
263
|
-
while(item = attributes[i++]){
|
264
|
-
var name = item.name,
|
265
|
-
lcName = name.toLowerCase(),
|
266
|
-
value = item.value;
|
267
|
-
|
268
|
-
switch(hash[lcName] || lcName){
|
269
|
-
// Already processed, just ignore
|
270
|
-
case "data-dojo-type":
|
271
|
-
case "dojotype":
|
272
|
-
case "data-dojo-mixins":
|
273
|
-
break;
|
274
|
-
|
275
|
-
// Data-dojo-props. Save for later to make sure it overrides direct foo=bar settings
|
276
|
-
case "data-dojo-props":
|
277
|
-
extra = value;
|
278
|
-
break;
|
279
|
-
|
280
|
-
// data-dojo-id or jsId. TODO: drop jsId in 2.0
|
281
|
-
case "data-dojo-id":
|
282
|
-
case "jsid":
|
283
|
-
jsname = value;
|
284
|
-
break;
|
285
|
-
|
286
|
-
// For the benefit of _Templated
|
287
|
-
case "data-dojo-attach-point":
|
288
|
-
case "dojoattachpoint":
|
289
|
-
params.dojoAttachPoint = value;
|
290
|
-
break;
|
291
|
-
case "data-dojo-attach-event":
|
292
|
-
case "dojoattachevent":
|
293
|
-
params.dojoAttachEvent = value;
|
294
|
-
break;
|
295
|
-
|
296
|
-
// Special parameter handling needed for IE
|
297
|
-
case "class":
|
298
|
-
params["class"] = node.className;
|
299
|
-
break;
|
300
|
-
case "style":
|
301
|
-
params["style"] = node.style && node.style.cssText;
|
302
|
-
break;
|
303
|
-
default:
|
304
|
-
// Normal attribute, ex: value="123"
|
305
|
-
|
306
|
-
// Find attribute in widget corresponding to specified name.
|
307
|
-
// May involve case conversion, ex: onclick --> onClick
|
308
|
-
if(!(name in proto)){
|
309
|
-
var map = getNameMap(ctor);
|
310
|
-
name = map[lcName] || name;
|
311
|
-
}
|
312
|
-
|
313
|
-
// Set params[name] to value, doing type conversion
|
314
|
-
if(name in proto){
|
315
|
-
switch(typeof proto[name]){
|
316
|
-
case "string":
|
317
|
-
params[name] = value;
|
318
|
-
break;
|
319
|
-
case "number":
|
320
|
-
params[name] = value.length ? Number(value) : NaN;
|
321
|
-
break;
|
322
|
-
case "boolean":
|
323
|
-
// for checked/disabled value might be "" or "checked". interpret as true.
|
324
|
-
params[name] = value.toLowerCase() != "false";
|
325
|
-
break;
|
326
|
-
case "function":
|
327
|
-
if(value === "" || value.search(/[^\w\.]+/i) != -1){
|
328
|
-
// The user has specified some text for a function like "return x+5"
|
329
|
-
params[name] = new Function(value);
|
330
|
-
}else{
|
331
|
-
// The user has specified the name of a global function like "myOnClick"
|
332
|
-
// or a single word function "return"
|
333
|
-
params[name] = dlang.getObject(value, false) || new Function(value);
|
334
|
-
}
|
335
|
-
funcAttrs.push(name); // prevent "double connect", see #15026
|
336
|
-
break;
|
337
|
-
default:
|
338
|
-
var pVal = proto[name];
|
339
|
-
params[name] =
|
340
|
-
(pVal && "length" in pVal) ? (value ? value.split(/\s*,\s*/) : []) : // array
|
341
|
-
(pVal instanceof Date) ?
|
342
|
-
(value == "" ? new Date("") : // the NaN of dates
|
343
|
-
value == "now" ? new Date() : // current date
|
344
|
-
dates.fromISOString(value)) :
|
345
|
-
(pVal instanceof _Url) ? (dojo.baseUrl + value) :
|
346
|
-
djson.fromJson(value);
|
347
|
-
}
|
348
|
-
}else{
|
349
|
-
params[name] = value;
|
350
|
-
}
|
351
|
-
}
|
352
|
-
}
|
353
|
-
|
354
|
-
// Remove function attributes from DOMNode to prevent "double connect" problem, see #15026.
|
355
|
-
// Do this as a separate loop since attributes[] is often a live collection (depends on the browser though).
|
356
|
-
for(var j=0; j<funcAttrs.length; j++){
|
357
|
-
var lcfname = funcAttrs[j].toLowerCase();
|
358
|
-
node.removeAttribute(lcfname);
|
359
|
-
node[lcfname] = null;
|
360
|
-
}
|
361
|
-
|
362
|
-
// Mix things found in data-dojo-props into the params, overriding any direct settings
|
363
|
-
if(extra){
|
364
|
-
try{
|
365
|
-
extra = djson.fromJson.call(options.propsThis, "{" + extra + "}");
|
366
|
-
dlang.mixin(params, extra);
|
367
|
-
}catch(e){
|
368
|
-
// give the user a pointer to their invalid parameters. FIXME: can we kill this in production?
|
369
|
-
throw new Error(e.toString() + " in data-dojo-props='" + extra + "'");
|
370
|
-
}
|
371
|
-
}
|
372
|
-
|
373
|
-
// Any parameters specified in "mixin" override everything else.
|
374
|
-
dlang.mixin(params, mixin);
|
375
|
-
|
376
|
-
// Get <script> nodes associated with this widget, if they weren't specified explicitly
|
377
|
-
if(!scripts){
|
378
|
-
scripts = (ctor && (ctor._noScript || proto._noScript) ? [] : query("> script[type^='dojo/']", node));
|
379
|
-
}
|
380
|
-
|
381
|
-
// Process <script type="dojo/*"> script tags
|
382
|
-
// <script type="dojo/method" event="foo"> tags are added to params, and passed to
|
383
|
-
// the widget on instantiation.
|
384
|
-
// <script type="dojo/method"> tags (with no event) are executed after instantiation
|
385
|
-
// <script type="dojo/connect" data-dojo-event="foo"> tags are dojo.connected after instantiation
|
386
|
-
// <script type="dojo/watch" data-dojo-prop="foo"> tags are dojo.watch after instantiation
|
387
|
-
// <script type="dojo/on" data-dojo-event="foo"> tags are dojo.on after instantiation
|
388
|
-
// note: dojo/* script tags cannot exist in self closing widgets, like <input />
|
389
|
-
var aspects = [], // aspects to connect after instantiation
|
390
|
-
calls = [], // functions to call after instantiation
|
391
|
-
watches = [], // functions to watch after instantiation
|
392
|
-
ons = []; // functions to on after instantiation
|
393
|
-
|
394
|
-
if(scripts){
|
395
|
-
for(i=0; i<scripts.length; i++){
|
396
|
-
var script = scripts[i];
|
397
|
-
node.removeChild(script);
|
398
|
-
// FIXME: drop event="" support in 2.0. use data-dojo-event="" instead
|
399
|
-
var event = (script.getAttribute(attrData + "event") || script.getAttribute("event")),
|
400
|
-
prop = script.getAttribute(attrData + "prop"),
|
401
|
-
method = script.getAttribute(attrData + "method"),
|
402
|
-
advice = script.getAttribute(attrData + "advice"),
|
403
|
-
scriptType = script.getAttribute("type"),
|
404
|
-
nf = this._functionFromScript(script, attrData);
|
405
|
-
if(event){
|
406
|
-
if(scriptType == "dojo/connect"){
|
407
|
-
aspects.push({ method: event, func: nf });
|
408
|
-
}else if(scriptType == "dojo/on"){
|
409
|
-
ons.push({ event: event, func: nf });
|
410
|
-
}else{
|
411
|
-
params[event] = nf;
|
412
|
-
}
|
413
|
-
}else if(scriptType == "dojo/aspect"){
|
414
|
-
aspects.push({ method: method, advice: advice, func: nf });
|
415
|
-
}else if(scriptType == "dojo/watch"){
|
416
|
-
watches.push({ prop: prop, func: nf });
|
417
|
-
}else{
|
418
|
-
calls.push(nf);
|
419
|
-
}
|
420
|
-
}
|
421
|
-
}
|
422
|
-
|
423
|
-
// create the instance
|
424
|
-
var markupFactory = ctor.markupFactory || proto.markupFactory;
|
425
|
-
var instance = markupFactory ? markupFactory(params, node, ctor) : new ctor(params, node);
|
426
|
-
|
427
|
-
// map it to the JS namespace if that makes sense
|
428
|
-
if(jsname){
|
429
|
-
dlang.setObject(jsname, instance);
|
430
|
-
}
|
431
|
-
|
432
|
-
// process connections and startup functions
|
433
|
-
for(i=0; i<aspects.length; i++){
|
434
|
-
aspect[aspects[i].advice || "after"](instance, aspects[i].method, dlang.hitch(instance, aspects[i].func), true);
|
435
|
-
}
|
436
|
-
for(i=0; i<calls.length; i++){
|
437
|
-
calls[i].call(instance);
|
438
|
-
}
|
439
|
-
for(i=0; i<watches.length; i++){
|
440
|
-
instance.watch(watches[i].prop, watches[i].func);
|
441
|
-
}
|
442
|
-
for(i=0; i<ons.length; i++){
|
443
|
-
don(instance, ons[i].event, ons[i].func);
|
444
|
-
}
|
445
|
-
|
446
|
-
return instance;
|
447
|
-
},
|
448
|
-
|
449
|
-
scan: function(root, options){
|
450
|
-
// summary:
|
451
|
-
// Scan a DOM tree and return an array of objects representing the DOMNodes
|
452
|
-
// that need to be turned into widgets.
|
453
|
-
// description:
|
454
|
-
// Search specified node (or document root node) recursively for class instances
|
455
|
-
// and return an array of objects that represent potential widgets to be
|
456
|
-
// instantiated. Searches for either data-dojo-type="MID" or dojoType="MID" where
|
457
|
-
// "MID" is a module ID like "dijit/form/Button" or a fully qualified Class name
|
458
|
-
// like "dijit/form/Button". If the MID is not currently available, scan will
|
459
|
-
// attempt to require() in the module.
|
460
|
-
//
|
461
|
-
// See parser.parse() for details of markup.
|
462
|
-
// root: DomNode?
|
463
|
-
// A default starting root node from which to start the parsing. Can be
|
464
|
-
// omitted, defaulting to the entire document. If omitted, the `options`
|
465
|
-
// object can be passed in this place. If the `options` object has a
|
466
|
-
// `rootNode` member, that is used.
|
467
|
-
// options: Object
|
468
|
-
// a kwArgs options object, see parse() for details
|
469
|
-
//
|
470
|
-
// returns: Promise
|
471
|
-
// A promise that is resolved with the nodes that have been parsed.
|
472
|
-
|
473
|
-
var list = [], // Output List
|
474
|
-
mids = [], // An array of modules that are not yet loaded
|
475
|
-
midsHash = {}; // Used to keep the mids array unique
|
476
|
-
|
477
|
-
var dojoType = (options.scope || dojo._scopeName) + "Type", // typically "dojoType"
|
478
|
-
attrData = "data-" + (options.scope || dojo._scopeName) + "-", // typically "data-dojo-"
|
479
|
-
dataDojoType = attrData + "type", // typically "data-dojo-type"
|
480
|
-
dataDojoTextDir = attrData + "textdir", // typically "data-dojo-textdir"
|
481
|
-
dataDojoMixins = attrData + "mixins"; // typically "data-dojo-mixins"
|
482
|
-
|
483
|
-
// Info on DOMNode currently being processed
|
484
|
-
var node = root.firstChild;
|
485
|
-
|
486
|
-
// Info on parent of DOMNode currently being processed
|
487
|
-
// - inherited: dir, lang, and textDir setting of parent, or inherited by parent
|
488
|
-
// - parent: pointer to identical structure for my parent (or null if no parent)
|
489
|
-
// - scripts: if specified, collects <script type="dojo/..."> type nodes from children
|
490
|
-
var inherited = options.inherited;
|
491
|
-
if(!inherited){
|
492
|
-
function findAncestorAttr(node, attr){
|
493
|
-
return (node.getAttribute && node.getAttribute(attr)) ||
|
494
|
-
(node.parentNode && findAncestorAttr(node.parentNode, attr));
|
495
|
-
}
|
496
|
-
inherited = {
|
497
|
-
dir: findAncestorAttr(root, "dir"),
|
498
|
-
lang: findAncestorAttr(root, "lang"),
|
499
|
-
textDir: findAncestorAttr(root, dataDojoTextDir)
|
500
|
-
};
|
501
|
-
for(var key in inherited){
|
502
|
-
if(!inherited[key]){ delete inherited[key]; }
|
503
|
-
}
|
504
|
-
}
|
505
|
-
|
506
|
-
// Metadata about parent node
|
507
|
-
var parent = {
|
508
|
-
inherited: inherited
|
509
|
-
};
|
510
|
-
|
511
|
-
// For collecting <script type="dojo/..."> type nodes (when null, we don't need to collect)
|
512
|
-
var scripts;
|
513
|
-
|
514
|
-
// when true, only look for <script type="dojo/..."> tags, and don't recurse to children
|
515
|
-
var scriptsOnly;
|
516
|
-
|
517
|
-
function getEffective(parent){
|
518
|
-
// summary:
|
519
|
-
// Get effective dir, lang, textDir settings for specified obj
|
520
|
-
// (matching "parent" object structure above), and do caching.
|
521
|
-
// Take care not to return null entries.
|
522
|
-
if(!parent.inherited){
|
523
|
-
parent.inherited = {};
|
524
|
-
var node = parent.node,
|
525
|
-
grandparent = getEffective(parent.parent);
|
526
|
-
var inherited = {
|
527
|
-
dir: node.getAttribute("dir") || grandparent.dir,
|
528
|
-
lang: node.getAttribute("lang") || grandparent.lang,
|
529
|
-
textDir: node.getAttribute(dataDojoTextDir) || grandparent.textDir
|
530
|
-
};
|
531
|
-
for(var key in inherited){
|
532
|
-
if(inherited[key]){
|
533
|
-
parent.inherited[key] = inherited[key];
|
534
|
-
}
|
535
|
-
}
|
536
|
-
}
|
537
|
-
return parent.inherited;
|
538
|
-
}
|
539
|
-
|
540
|
-
// DFS on DOM tree, collecting nodes with data-dojo-type specified.
|
541
|
-
while(true){
|
542
|
-
if(!node){
|
543
|
-
// Finished this level, continue to parent's next sibling
|
544
|
-
if(!parent || !parent.node){
|
545
|
-
break;
|
546
|
-
}
|
547
|
-
node = parent.node.nextSibling;
|
548
|
-
scripts = parent.scripts;
|
549
|
-
scriptsOnly = false;
|
550
|
-
parent = parent.parent;
|
551
|
-
continue;
|
552
|
-
}
|
553
|
-
|
554
|
-
if(node.nodeType != 1){
|
555
|
-
// Text or comment node, skip to next sibling
|
556
|
-
node = node.nextSibling;
|
557
|
-
continue;
|
558
|
-
}
|
559
|
-
|
560
|
-
if(scripts && node.nodeName.toLowerCase() == "script"){
|
561
|
-
// Save <script type="dojo/..."> for parent, then continue to next sibling
|
562
|
-
type = node.getAttribute("type");
|
563
|
-
if(type && /^dojo\/\w/i.test(type)){
|
564
|
-
scripts.push(node);
|
565
|
-
}
|
566
|
-
node = node.nextSibling;
|
567
|
-
continue;
|
568
|
-
}
|
569
|
-
if(scriptsOnly){
|
570
|
-
// scriptsOnly flag is set, we have already collected scripts if the parent wants them, so now we shouldn't
|
571
|
-
// continue further analysis of the node and will continue to the next sibling
|
572
|
-
node = node.nextSibling;
|
573
|
-
continue;
|
574
|
-
}
|
575
|
-
|
576
|
-
// Check for data-dojo-type attribute, fallback to backward compatible dojoType
|
577
|
-
// TODO: Remove dojoType in 2.0
|
578
|
-
var type = node.getAttribute(dataDojoType) || node.getAttribute(dojoType);
|
579
|
-
|
580
|
-
// Short circuit for leaf nodes containing nothing [but text]
|
581
|
-
var firstChild = node.firstChild;
|
582
|
-
if(!type && (!firstChild || (firstChild.nodeType == 3 && !firstChild.nextSibling))){
|
583
|
-
node = node.nextSibling;
|
584
|
-
continue;
|
585
|
-
}
|
586
|
-
|
587
|
-
// Meta data about current node
|
588
|
-
var current;
|
589
|
-
|
590
|
-
var ctor = null;
|
591
|
-
if(type){
|
592
|
-
// If dojoType/data-dojo-type specified, add to output array of nodes to instantiate.
|
593
|
-
var mixinsValue = node.getAttribute(dataDojoMixins),
|
594
|
-
types = mixinsValue ? [type].concat(mixinsValue.split(/\s*,\s*/)) : [type];
|
595
|
-
|
596
|
-
// Note: won't find classes declared via dojo/Declaration or any modules that haven't been
|
597
|
-
// loaded yet so use try/catch to avoid throw from require()
|
598
|
-
try{
|
599
|
-
ctor = getCtor(types);
|
600
|
-
}catch(e){}
|
601
|
-
|
602
|
-
// If the constructor was not found, check to see if it has modules that can be loaded
|
603
|
-
if(!ctor){
|
604
|
-
darray.forEach(types, function(t){
|
605
|
-
if(~t.indexOf('/') && !midsHash[t]){
|
606
|
-
// If the type looks like a MID and it currently isn't in the array of MIDs to load, add it.
|
607
|
-
midsHash[t] = true;
|
608
|
-
mids[mids.length] = t;
|
609
|
-
}
|
610
|
-
});
|
611
|
-
}
|
612
|
-
|
613
|
-
var childScripts = ctor && !ctor.prototype._noScript ? [] : null; // <script> nodes that are parent's children
|
614
|
-
|
615
|
-
// Setup meta data about this widget node, and save it to list of nodes to instantiate
|
616
|
-
current = {
|
617
|
-
types: types,
|
618
|
-
ctor: ctor,
|
619
|
-
parent: parent,
|
620
|
-
node: node,
|
621
|
-
scripts: childScripts
|
622
|
-
};
|
623
|
-
current.inherited = getEffective(current); // dir & lang settings for current node, explicit or inherited
|
624
|
-
list.push(current);
|
625
|
-
}else{
|
626
|
-
// Meta data about this non-widget node
|
627
|
-
current = {
|
628
|
-
node: node,
|
629
|
-
scripts: scripts,
|
630
|
-
parent: parent
|
631
|
-
};
|
632
|
-
}
|
633
|
-
|
634
|
-
// Recurse, collecting <script type="dojo/..."> children, and also looking for
|
635
|
-
// descendant nodes with dojoType specified (unless the widget has the stopParser flag).
|
636
|
-
// When finished with children, go to my next sibling.
|
637
|
-
node = firstChild;
|
638
|
-
scripts = childScripts;
|
639
|
-
scriptsOnly = ctor && ctor.prototype.stopParser && !(options.template);
|
640
|
-
parent = current;
|
641
|
-
}
|
642
|
-
|
643
|
-
var d = new Deferred();
|
644
|
-
|
645
|
-
// If there are modules to load then require them in
|
646
|
-
if(mids.length){
|
647
|
-
// Warn that there are modules being auto-required
|
648
|
-
if(has("dojo-debug-messages")){
|
649
|
-
console.warn("WARNING: Modules being Auto-Required: " + mids.join(", "));
|
650
|
-
}
|
651
|
-
require(mids, function(){
|
652
|
-
// Go through list of widget nodes, filling in missing constructors, and filtering out nodes that shouldn't
|
653
|
-
// be instantiated due to a stopParser flag on an ancestor that we belatedly learned about due to
|
654
|
-
// auto-require of a module like ContentPane. Assumes list is in DFS order.
|
655
|
-
d.resolve(darray.filter(list, function(widget){
|
656
|
-
if(!widget.ctor){
|
657
|
-
// Attempt to find the constructor again. Still won't find classes defined via
|
658
|
-
// dijit/Declaration so need to try/catch.
|
659
|
-
try{
|
660
|
-
widget.ctor = getCtor(widget.types);
|
661
|
-
}catch(e){}
|
662
|
-
}
|
663
|
-
|
664
|
-
// Get the parent widget
|
665
|
-
var parent = widget.parent;
|
666
|
-
while(parent && !parent.types){
|
667
|
-
parent = parent.parent;
|
668
|
-
}
|
669
|
-
|
670
|
-
// Return false if this node should be skipped due to stopParser on an ancestor.
|
671
|
-
// Since list[] is in DFS order, this loop will always set parent.instantiateChildren before
|
672
|
-
// trying to compute widget.instantiate.
|
673
|
-
var proto = widget.ctor && widget.ctor.prototype;
|
674
|
-
widget.instantiateChildren = !(proto && proto.stopParser && !(options.template));
|
675
|
-
widget.instantiate = !parent || (parent.instantiate && parent.instantiateChildren);
|
676
|
-
return widget.instantiate;
|
677
|
-
}));
|
678
|
-
});
|
679
|
-
}else{
|
680
|
-
// There were no modules to load, so just resolve with the parsed nodes. This separate code path is for
|
681
|
-
// efficiency, to avoid running the require() and the callback code above.
|
682
|
-
d.resolve(list);
|
683
|
-
}
|
684
|
-
|
685
|
-
// Return the promise
|
686
|
-
return d.promise;
|
687
|
-
},
|
688
|
-
|
689
|
-
_require: function(/*DOMNode*/ script){
|
690
|
-
// summary:
|
691
|
-
// Helper for _scanAMD(). Takes a `<script type=dojo/require>bar: "acme/bar", ...</script>` node,
|
692
|
-
// calls require() to load the specified modules and (asynchronously) assign them to the specified global
|
693
|
-
// variables, and returns a Promise for when that operation completes.
|
694
|
-
//
|
695
|
-
// In the example above, it is effectively doing a require(["acme/bar", ...], function(a){ bar = a; }).
|
696
|
-
|
697
|
-
var hash = djson.fromJson("{" + script.innerHTML + "}"),
|
698
|
-
vars = [],
|
699
|
-
mids = [],
|
700
|
-
d = new Deferred();
|
701
|
-
|
702
|
-
for(var name in hash){
|
703
|
-
vars.push(name);
|
704
|
-
mids.push(hash[name]);
|
705
|
-
}
|
706
|
-
|
707
|
-
require(mids, function(){
|
708
|
-
for(var i=0; i<vars.length; i++){
|
709
|
-
dlang.setObject(vars[i], arguments[i]);
|
710
|
-
}
|
711
|
-
d.resolve(arguments);
|
712
|
-
});
|
713
|
-
|
714
|
-
return d.promise;
|
715
|
-
},
|
716
|
-
|
717
|
-
_scanAmd: function(root){
|
718
|
-
// summary:
|
719
|
-
// Scans the DOM for any declarative requires and returns their values.
|
720
|
-
// description:
|
721
|
-
// Looks for `<script type=dojo/require>bar: "acme/bar", ...</script>` node, calls require() to load the
|
722
|
-
// specified modules and (asynchronously) assign them to the specified global variables,
|
723
|
-
// and returns a Promise for when those operations complete.
|
724
|
-
// root: DomNode
|
725
|
-
// The node to base the scan from.
|
726
|
-
|
727
|
-
// Promise that resolves when all the <script type=dojo/require> nodes have finished loading.
|
728
|
-
var deferred = new Deferred(),
|
729
|
-
promise = deferred.promise;
|
730
|
-
deferred.resolve(true);
|
731
|
-
|
732
|
-
var self = this;
|
733
|
-
query("script[type='dojo/require']", root).forEach(function(node){
|
734
|
-
// Fire off require() call for specified modules. Chain this require to fire after
|
735
|
-
// any previous requires complete, so that layers can be loaded before individual module require()'s fire.
|
736
|
-
promise = promise.then(function(){ return self._require(node); });
|
737
|
-
|
738
|
-
// Remove from DOM so it isn't seen again
|
739
|
-
node.parentNode.removeChild(node);
|
740
|
-
});
|
741
|
-
|
742
|
-
return promise;
|
743
|
-
},
|
744
|
-
|
745
|
-
parse: function(rootNode, options){
|
746
|
-
// summary:
|
747
|
-
// Scan the DOM for class instances, and instantiate them.
|
748
|
-
// description:
|
749
|
-
// Search specified node (or root node) recursively for class instances,
|
750
|
-
// and instantiate them. Searches for either data-dojo-type="Class" or
|
751
|
-
// dojoType="Class" where "Class" is a a fully qualified class name,
|
752
|
-
// like `dijit/form/Button`
|
753
|
-
//
|
754
|
-
// Using `data-dojo-type`:
|
755
|
-
// Attributes using can be mixed into the parameters used to instantiate the
|
756
|
-
// Class by using a `data-dojo-props` attribute on the node being converted.
|
757
|
-
// `data-dojo-props` should be a string attribute to be converted from JSON.
|
758
|
-
//
|
759
|
-
// Using `dojoType`:
|
760
|
-
// Attributes are read from the original domNode and converted to appropriate
|
761
|
-
// types by looking up the Class prototype values. This is the default behavior
|
762
|
-
// from Dojo 1.0 to Dojo 1.5. `dojoType` support is deprecated, and will
|
763
|
-
// go away in Dojo 2.0.
|
764
|
-
// rootNode: DomNode?
|
765
|
-
// A default starting root node from which to start the parsing. Can be
|
766
|
-
// omitted, defaulting to the entire document. If omitted, the `options`
|
767
|
-
// object can be passed in this place. If the `options` object has a
|
768
|
-
// `rootNode` member, that is used.
|
769
|
-
// options: Object?
|
770
|
-
// A hash of options.
|
771
|
-
//
|
772
|
-
// - noStart: Boolean?:
|
773
|
-
// when set will prevent the parser from calling .startup()
|
774
|
-
// when locating the nodes.
|
775
|
-
// - rootNode: DomNode?:
|
776
|
-
// identical to the function's `rootNode` argument, though
|
777
|
-
// allowed to be passed in via this `options object.
|
778
|
-
// - template: Boolean:
|
779
|
-
// If true, ignores ContentPane's stopParser flag and parses contents inside of
|
780
|
-
// a ContentPane inside of a template. This allows dojoAttachPoint on widgets/nodes
|
781
|
-
// nested inside the ContentPane to work.
|
782
|
-
// - inherited: Object:
|
783
|
-
// Hash possibly containing dir and lang settings to be applied to
|
784
|
-
// parsed widgets, unless there's another setting on a sub-node that overrides
|
785
|
-
// - scope: String:
|
786
|
-
// Root for attribute names to search for. If scopeName is dojo,
|
787
|
-
// will search for data-dojo-type (or dojoType). For backwards compatibility
|
788
|
-
// reasons defaults to dojo._scopeName (which is "dojo" except when
|
789
|
-
// multi-version support is used, when it will be something like dojo16, dojo20, etc.)
|
790
|
-
// - propsThis: Object:
|
791
|
-
// If specified, "this" referenced from data-dojo-props will refer to propsThis.
|
792
|
-
// Intended for use from the widgets-in-template feature of `dijit._WidgetsInTemplateMixin`
|
793
|
-
// returns: Mixed
|
794
|
-
// Returns a blended object that is an array of the instantiated objects, but also can include
|
795
|
-
// a promise that is resolved with the instantiated objects. This is done for backwards
|
796
|
-
// compatibility. If the parser auto-requires modules, it will always behave in a promise
|
797
|
-
// fashion and `parser.parse().then(function(instances){...})` should be used.
|
798
|
-
// example:
|
799
|
-
// Parse all widgets on a page:
|
800
|
-
// | parser.parse();
|
801
|
-
// example:
|
802
|
-
// Parse all classes within the node with id="foo"
|
803
|
-
// | parser.parse(dojo.byId('foo'));
|
804
|
-
// example:
|
805
|
-
// Parse all classes in a page, but do not call .startup() on any
|
806
|
-
// child
|
807
|
-
// | parser.parse({ noStart: true })
|
808
|
-
// example:
|
809
|
-
// Parse all classes in a node, but do not call .startup()
|
810
|
-
// | parser.parse(someNode, { noStart:true });
|
811
|
-
// | // or
|
812
|
-
// | parser.parse({ noStart:true, rootNode: someNode });
|
813
|
-
|
814
|
-
// determine the root node and options based on the passed arguments.
|
815
|
-
var root;
|
816
|
-
if(!options && rootNode && rootNode.rootNode){
|
817
|
-
options = rootNode;
|
818
|
-
root = options.rootNode;
|
819
|
-
}else if(rootNode && dlang.isObject(rootNode) && !("nodeType" in rootNode)){
|
820
|
-
options = rootNode;
|
821
|
-
}else{
|
822
|
-
root = rootNode;
|
823
|
-
}
|
824
|
-
root = root ? dhtml.byId(root) : dwindow.body();
|
825
|
-
|
826
|
-
options = options || {};
|
827
|
-
|
828
|
-
var mixin = options.template ? { template: true } : {},
|
829
|
-
instances = [],
|
830
|
-
self = this;
|
831
|
-
|
832
|
-
// First scan for any <script type=dojo/require> nodes, and execute.
|
833
|
-
// Then scan for all nodes with data-dojo-type, and load any unloaded modules.
|
834
|
-
// Then build the object instances. Add instances to already existing (but empty) instances[] array,
|
835
|
-
// which may already have been returned to caller. Also, use otherwise to collect and throw any errors
|
836
|
-
// that occur during the parse().
|
837
|
-
var p =
|
838
|
-
this._scanAmd(root, options).then(function(){
|
839
|
-
return self.scan(root, options);
|
840
|
-
}).then(function(parsedNodes){
|
841
|
-
return instances = instances.concat(self._instantiate(parsedNodes, mixin, options));
|
842
|
-
}).otherwise(function(e){
|
843
|
-
// TODO Modify to follow better pattern for promise error managment when available
|
844
|
-
console.error("dojo/parser::parse() error", e);
|
845
|
-
throw e;
|
846
|
-
});
|
847
|
-
|
848
|
-
// Blend the array with the promise
|
849
|
-
dlang.mixin(instances, p);
|
850
|
-
return instances;
|
851
|
-
}
|
852
|
-
};
|
853
|
-
|
854
|
-
if( 1 ){
|
855
|
-
dojo.parser = parser;
|
856
|
-
}
|
857
|
-
|
858
|
-
// Register the parser callback. It should be the first callback
|
859
|
-
// after the a11y test.
|
860
|
-
if(config.parseOnLoad){
|
861
|
-
ready(100, parser, "parse");
|
862
|
-
}
|
863
|
-
|
864
|
-
return parser;
|
865
|
-
});
|