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,221 +0,0 @@
|
|
1
|
-
define("dojo/NodeList-fx", ["./query", "./_base/lang", "./_base/connect", "./_base/fx", "./fx"],
|
2
|
-
function(query, lang, connectLib, baseFx, coreFx){
|
3
|
-
|
4
|
-
// module:
|
5
|
-
// dojo/NodeList-fx
|
6
|
-
|
7
|
-
/*=====
|
8
|
-
return function(){
|
9
|
-
// summary:
|
10
|
-
// Adds dojo.fx animation support to dojo.query() by extending the NodeList class
|
11
|
-
// with additional FX functions. NodeList is the array-like object used to hold query results.
|
12
|
-
};
|
13
|
-
=====*/
|
14
|
-
|
15
|
-
var NodeList = query.NodeList;
|
16
|
-
|
17
|
-
lang.extend(NodeList, {
|
18
|
-
_anim: function(obj, method, args){
|
19
|
-
args = args||{};
|
20
|
-
var a = coreFx.combine(
|
21
|
-
this.map(function(item){
|
22
|
-
var tmpArgs = { node: item };
|
23
|
-
lang.mixin(tmpArgs, args);
|
24
|
-
return obj[method](tmpArgs);
|
25
|
-
})
|
26
|
-
);
|
27
|
-
return args.auto ? a.play() && this : a; // dojo/_base/fx.Animation|dojo/NodeList
|
28
|
-
},
|
29
|
-
|
30
|
-
wipeIn: function(args){
|
31
|
-
// summary:
|
32
|
-
// wipe in all elements of this NodeList via `dojo/fx.wipeIn()`
|
33
|
-
//
|
34
|
-
// args: Object?
|
35
|
-
// Additional dojo/_base/fx.Animation arguments to mix into this set with the addition of
|
36
|
-
// an `auto` parameter.
|
37
|
-
//
|
38
|
-
// returns: dojo/_base/fx.Animation|dojo/NodeList
|
39
|
-
// A special args member `auto` can be passed to automatically play the animation.
|
40
|
-
// If args.auto is present, the original dojo/NodeList will be returned for further
|
41
|
-
// chaining. Otherwise the dojo/_base/fx.Animation instance is returned and must be .play()'ed
|
42
|
-
//
|
43
|
-
// example:
|
44
|
-
// Fade in all tables with class "blah":
|
45
|
-
// | dojo.query("table.blah").wipeIn().play();
|
46
|
-
//
|
47
|
-
// example:
|
48
|
-
// Utilizing `auto` to get the NodeList back:
|
49
|
-
// | dojo.query(".titles").wipeIn({ auto:true }).onclick(someFunction);
|
50
|
-
//
|
51
|
-
return this._anim(coreFx, "wipeIn", args); // dojo/_base/fx.Animation|dojo/NodeList
|
52
|
-
},
|
53
|
-
|
54
|
-
wipeOut: function(args){
|
55
|
-
// summary:
|
56
|
-
// wipe out all elements of this NodeList via `dojo/fx.wipeOut()`
|
57
|
-
//
|
58
|
-
// args: Object?
|
59
|
-
// Additional dojo/_base/fx.Animation arguments to mix into this set with the addition of
|
60
|
-
// an `auto` parameter.
|
61
|
-
//
|
62
|
-
// returns: dojo/_base/fx.Animation|dojo/NodeList
|
63
|
-
// A special args member `auto` can be passed to automatically play the animation.
|
64
|
-
// If args.auto is present, the original dojo/NodeList will be returned for further
|
65
|
-
// chaining. Otherwise the dojo/_base/fx.Animation instance is returned and must be .play()'ed
|
66
|
-
//
|
67
|
-
// example:
|
68
|
-
// Wipe out all tables with class "blah":
|
69
|
-
// | dojo.query("table.blah").wipeOut().play();
|
70
|
-
return this._anim(coreFx, "wipeOut", args); // dojo/_base/fx.Animation|dojo/NodeList
|
71
|
-
},
|
72
|
-
|
73
|
-
slideTo: function(args){
|
74
|
-
// summary:
|
75
|
-
// slide all elements of the node list to the specified place via `dojo/fx.slideTo()`
|
76
|
-
//
|
77
|
-
// args: Object?
|
78
|
-
// Additional dojo/_base/fx.Animation arguments to mix into this set with the addition of
|
79
|
-
// an `auto` parameter.
|
80
|
-
//
|
81
|
-
// returns: dojo/_base/fx.Animation|dojo/NodeList
|
82
|
-
// A special args member `auto` can be passed to automatically play the animation.
|
83
|
-
// If args.auto is present, the original dojo/NodeList will be returned for further
|
84
|
-
// chaining. Otherwise the dojo/_base/fx.Animation instance is returned and must be .play()'ed
|
85
|
-
//
|
86
|
-
// example:
|
87
|
-
// | Move all tables with class "blah" to 300/300:
|
88
|
-
// | dojo.query("table.blah").slideTo({
|
89
|
-
// | left: 40,
|
90
|
-
// | top: 50
|
91
|
-
// | }).play();
|
92
|
-
return this._anim(coreFx, "slideTo", args); // dojo/_base/fx.Animation|dojo/NodeList
|
93
|
-
},
|
94
|
-
|
95
|
-
|
96
|
-
fadeIn: function(args){
|
97
|
-
// summary:
|
98
|
-
// fade in all elements of this NodeList via `dojo.fadeIn`
|
99
|
-
//
|
100
|
-
// args: Object?
|
101
|
-
// Additional dojo/_base/fx.Animation arguments to mix into this set with the addition of
|
102
|
-
// an `auto` parameter.
|
103
|
-
//
|
104
|
-
// returns: dojo/_base/fx.Animation|dojo/NodeList
|
105
|
-
// A special args member `auto` can be passed to automatically play the animation.
|
106
|
-
// If args.auto is present, the original dojo/NodeList will be returned for further
|
107
|
-
// chaining. Otherwise the dojo/_base/fx.Animation instance is returned and must be .play()'ed
|
108
|
-
//
|
109
|
-
// example:
|
110
|
-
// Fade in all tables with class "blah":
|
111
|
-
// | dojo.query("table.blah").fadeIn().play();
|
112
|
-
return this._anim(baseFx, "fadeIn", args); // dojo/_base/fx.Animation|dojo/NodeList
|
113
|
-
},
|
114
|
-
|
115
|
-
fadeOut: function(args){
|
116
|
-
// summary:
|
117
|
-
// fade out all elements of this NodeList via `dojo.fadeOut`
|
118
|
-
//
|
119
|
-
// args: Object?
|
120
|
-
// Additional dojo/_base/fx.Animation arguments to mix into this set with the addition of
|
121
|
-
// an `auto` parameter.
|
122
|
-
//
|
123
|
-
// returns: dojo/_base/fx.Animation|dojo/NodeList
|
124
|
-
// A special args member `auto` can be passed to automatically play the animation.
|
125
|
-
// If args.auto is present, the original dojo/NodeList will be returned for further
|
126
|
-
// chaining. Otherwise the dojo/_base/fx.Animation instance is returned and must be .play()'ed
|
127
|
-
//
|
128
|
-
// example:
|
129
|
-
// Fade out all elements with class "zork":
|
130
|
-
// | dojo.query(".zork").fadeOut().play();
|
131
|
-
// example:
|
132
|
-
// Fade them on a delay and do something at the end:
|
133
|
-
// | var fo = dojo.query(".zork").fadeOut();
|
134
|
-
// | dojo.connect(fo, "onEnd", function(){ /*...*/ });
|
135
|
-
// | fo.play();
|
136
|
-
// example:
|
137
|
-
// Using `auto`:
|
138
|
-
// | dojo.query("li").fadeOut({ auto:true }).filter(filterFn).forEach(doit);
|
139
|
-
//
|
140
|
-
return this._anim(baseFx, "fadeOut", args); // dojo/_base/fx.Animation|dojo/NodeList
|
141
|
-
},
|
142
|
-
|
143
|
-
animateProperty: function(args){
|
144
|
-
// summary:
|
145
|
-
// Animate all elements of this NodeList across the properties specified.
|
146
|
-
// syntax identical to `dojo.animateProperty`
|
147
|
-
//
|
148
|
-
// args: Object?
|
149
|
-
// Additional dojo/_base/fx.Animation arguments to mix into this set with the addition of
|
150
|
-
// an `auto` parameter.
|
151
|
-
//
|
152
|
-
// returns: dojo/_base/fx.Animation|dojo/NodeList
|
153
|
-
// A special args member `auto` can be passed to automatically play the animation.
|
154
|
-
// If args.auto is present, the original dojo/NodeList will be returned for further
|
155
|
-
// chaining. Otherwise the dojo/_base/fx.Animation instance is returned and must be .play()'ed
|
156
|
-
//
|
157
|
-
// example:
|
158
|
-
// | dojo.query(".zork").animateProperty({
|
159
|
-
// | duration: 500,
|
160
|
-
// | properties: {
|
161
|
-
// | color: { start: "black", end: "white" },
|
162
|
-
// | left: { end: 300 }
|
163
|
-
// | }
|
164
|
-
// | }).play();
|
165
|
-
//
|
166
|
-
// example:
|
167
|
-
// | dojo.query(".grue").animateProperty({
|
168
|
-
// | auto:true,
|
169
|
-
// | properties: {
|
170
|
-
// | height:240
|
171
|
-
// | }
|
172
|
-
// | }).onclick(handler);
|
173
|
-
return this._anim(baseFx, "animateProperty", args); // dojo/_base/fx.Animation|dojo/NodeList
|
174
|
-
},
|
175
|
-
|
176
|
-
anim: function( /*Object*/ properties,
|
177
|
-
/*Integer?*/ duration,
|
178
|
-
/*Function?*/ easing,
|
179
|
-
/*Function?*/ onEnd,
|
180
|
-
/*Integer?*/ delay){
|
181
|
-
// summary:
|
182
|
-
// Animate one or more CSS properties for all nodes in this list.
|
183
|
-
// The returned animation object will already be playing when it
|
184
|
-
// is returned. See the docs for `dojo.anim` for full details.
|
185
|
-
// properties: Object
|
186
|
-
// the properties to animate. does NOT support the `auto` parameter like other
|
187
|
-
// NodeList-fx methods.
|
188
|
-
// duration: Integer?
|
189
|
-
// Optional. The time to run the animations for
|
190
|
-
// easing: Function?
|
191
|
-
// Optional. The easing function to use.
|
192
|
-
// onEnd: Function?
|
193
|
-
// A function to be called when the animation ends
|
194
|
-
// delay:
|
195
|
-
// how long to delay playing the returned animation
|
196
|
-
// example:
|
197
|
-
// Another way to fade out:
|
198
|
-
// | dojo.query(".thinger").anim({ opacity: 0 });
|
199
|
-
// example:
|
200
|
-
// animate all elements with the "thigner" class to a width of 500
|
201
|
-
// pixels over half a second
|
202
|
-
// | dojo.query(".thinger").anim({ width: 500 }, 700);
|
203
|
-
var canim = coreFx.combine(
|
204
|
-
this.map(function(item){
|
205
|
-
return baseFx.animateProperty({
|
206
|
-
node: item,
|
207
|
-
properties: properties,
|
208
|
-
duration: duration||350,
|
209
|
-
easing: easing
|
210
|
-
});
|
211
|
-
})
|
212
|
-
);
|
213
|
-
if(onEnd){
|
214
|
-
connectLib.connect(canim, "onEnd", onEnd);
|
215
|
-
}
|
216
|
-
return canim.play(delay||0); // dojo/_base/fx.Animation
|
217
|
-
}
|
218
|
-
});
|
219
|
-
|
220
|
-
return NodeList;
|
221
|
-
});
|
@@ -1,53 +0,0 @@
|
|
1
|
-
define("dojo/NodeList-html", ["./query", "./_base/lang", "./html"], function(query, lang, html){
|
2
|
-
|
3
|
-
// module:
|
4
|
-
// dojo/NodeList-html
|
5
|
-
|
6
|
-
/*=====
|
7
|
-
return function(){
|
8
|
-
// summary:
|
9
|
-
// Adds a chainable html method to dojo.query() / NodeList instances for setting/replacing node content
|
10
|
-
};
|
11
|
-
=====*/
|
12
|
-
|
13
|
-
var NodeList = query.NodeList;
|
14
|
-
|
15
|
-
|
16
|
-
lang.extend(NodeList, {
|
17
|
-
html: function(/* String|DomNode|NodeList? */ content, /* Object? */params){
|
18
|
-
// summary:
|
19
|
-
// see `dojo/html.set()`. Set the content of all elements of this NodeList
|
20
|
-
//
|
21
|
-
// content:
|
22
|
-
// An html string, node or enumerable list of nodes for insertion into the dom
|
23
|
-
//
|
24
|
-
// params:
|
25
|
-
// Optional flags/properties to configure the content-setting. See dojo/html._ContentSetter
|
26
|
-
//
|
27
|
-
// description:
|
28
|
-
// Based around `dojo/html.set()`, set the content of the Elements in a
|
29
|
-
// NodeList to the given content (string/node/nodelist), with optional arguments
|
30
|
-
// to further tune the set content behavior.
|
31
|
-
//
|
32
|
-
// example:
|
33
|
-
// | query(".thingList").html("<li data-dojo-type='dojo/dnd/Moveable'>1</li><li data-dojo-type='dojo/dnd/Moveable'>2</li><li data-dojo-type='dojo/dnd/Moveable'>3</li>",
|
34
|
-
// | {
|
35
|
-
// | parseContent: true,
|
36
|
-
// | onBegin: function(){
|
37
|
-
// | this.content = this.content.replace(/([0-9])/g, this.id + ": $1");
|
38
|
-
// | this.inherited("onBegin", arguments);
|
39
|
-
// | }
|
40
|
-
// | }).removeClass("notdone").addClass("done");
|
41
|
-
|
42
|
-
var dhs = new html._ContentSetter(params || {});
|
43
|
-
this.forEach(function(elm){
|
44
|
-
dhs.node = elm;
|
45
|
-
dhs.set(content);
|
46
|
-
dhs.tearDown();
|
47
|
-
});
|
48
|
-
return this; // dojo/NodeList
|
49
|
-
}
|
50
|
-
});
|
51
|
-
|
52
|
-
return NodeList;
|
53
|
-
});
|
@@ -1,724 +0,0 @@
|
|
1
|
-
define("dojo/NodeList-manipulate", ["./query", "./_base/lang", "./_base/array", "./dom-construct", "./NodeList-dom"], function(dquery, lang, array, construct){
|
2
|
-
// module:
|
3
|
-
// dojo/NodeList-manipulate
|
4
|
-
|
5
|
-
/*=====
|
6
|
-
return function(){
|
7
|
-
// summary:
|
8
|
-
// Adds chainable methods to dojo.query() / NodeList instances for manipulating HTML
|
9
|
-
// and DOM nodes and their properties.
|
10
|
-
};
|
11
|
-
=====*/
|
12
|
-
|
13
|
-
var NodeList = dquery.NodeList;
|
14
|
-
|
15
|
-
//TODO: add a way to parse for widgets in the injected markup?
|
16
|
-
|
17
|
-
function getText(/*DOMNode*/node){
|
18
|
-
// summary:
|
19
|
-
// recursion method for text() to use. Gets text value for a node.
|
20
|
-
// description:
|
21
|
-
// Juse uses nodedValue so things like <br/> tags do not end up in
|
22
|
-
// the text as any sort of line return.
|
23
|
-
var text = "", ch = node.childNodes;
|
24
|
-
for(var i = 0, n; n = ch[i]; i++){
|
25
|
-
//Skip comments.
|
26
|
-
if(n.nodeType != 8){
|
27
|
-
if(n.nodeType == 1){
|
28
|
-
text += getText(n);
|
29
|
-
}else{
|
30
|
-
text += n.nodeValue;
|
31
|
-
}
|
32
|
-
}
|
33
|
-
}
|
34
|
-
return text;
|
35
|
-
}
|
36
|
-
|
37
|
-
function getWrapInsertion(/*DOMNode*/node){
|
38
|
-
// summary:
|
39
|
-
// finds the innermost element to use for wrap insertion.
|
40
|
-
|
41
|
-
//Make it easy, assume single nesting, no siblings.
|
42
|
-
while(node.childNodes[0] && node.childNodes[0].nodeType == 1){
|
43
|
-
node = node.childNodes[0];
|
44
|
-
}
|
45
|
-
return node; //DOMNode
|
46
|
-
}
|
47
|
-
|
48
|
-
function makeWrapNode(/*DOMNode||String*/html, /*DOMNode*/refNode){
|
49
|
-
// summary:
|
50
|
-
// convert HTML into nodes if it is not already a node.
|
51
|
-
if(typeof html == "string"){
|
52
|
-
html = construct.toDom(html, (refNode && refNode.ownerDocument));
|
53
|
-
if(html.nodeType == 11){
|
54
|
-
//DocumentFragment cannot handle cloneNode, so choose first child.
|
55
|
-
html = html.childNodes[0];
|
56
|
-
}
|
57
|
-
}else if(html.nodeType == 1 && html.parentNode){
|
58
|
-
//This element is already in the DOM clone it, but not its children.
|
59
|
-
html = html.cloneNode(false);
|
60
|
-
}
|
61
|
-
return html; /*DOMNode*/
|
62
|
-
}
|
63
|
-
|
64
|
-
lang.extend(NodeList, {
|
65
|
-
_placeMultiple: function(/*String||Node||NodeList*/query, /*String*/position){
|
66
|
-
// summary:
|
67
|
-
// private method for inserting queried nodes into all nodes in this NodeList
|
68
|
-
// at different positions. Differs from NodeList.place because it will clone
|
69
|
-
// the nodes in this NodeList if the query matches more than one element.
|
70
|
-
var nl2 = typeof query == "string" || query.nodeType ? dquery(query) : query;
|
71
|
-
var toAdd = [];
|
72
|
-
for(var i = 0; i < nl2.length; i++){
|
73
|
-
//Go backwards in DOM to make dom insertions easier via insertBefore
|
74
|
-
var refNode = nl2[i];
|
75
|
-
var length = this.length;
|
76
|
-
for(var j = length - 1, item; item = this[j]; j--){
|
77
|
-
if(i > 0){
|
78
|
-
//Need to clone the item. This also means
|
79
|
-
//it needs to be added to the current NodeList
|
80
|
-
//so it can also be the target of other chaining operations.
|
81
|
-
item = this._cloneNode(item);
|
82
|
-
toAdd.unshift(item);
|
83
|
-
}
|
84
|
-
if(j == length - 1){
|
85
|
-
construct.place(item, refNode, position);
|
86
|
-
}else{
|
87
|
-
refNode.parentNode.insertBefore(item, refNode);
|
88
|
-
}
|
89
|
-
refNode = item;
|
90
|
-
}
|
91
|
-
}
|
92
|
-
|
93
|
-
if(toAdd.length){
|
94
|
-
//Add the toAdd items to the current NodeList. Build up list of args
|
95
|
-
//to pass to splice.
|
96
|
-
toAdd.unshift(0);
|
97
|
-
toAdd.unshift(this.length - 1);
|
98
|
-
Array.prototype.splice.apply(this, toAdd);
|
99
|
-
}
|
100
|
-
|
101
|
-
return this; // dojo/NodeList
|
102
|
-
},
|
103
|
-
|
104
|
-
innerHTML: function(/*String|DOMNode|NodeList?*/ value){
|
105
|
-
// summary:
|
106
|
-
// allows setting the innerHTML of each node in the NodeList,
|
107
|
-
// if there is a value passed in, otherwise, reads the innerHTML value of the first node.
|
108
|
-
// description:
|
109
|
-
// This method is simpler than the dojo/NodeList.html() method provided by
|
110
|
-
// `dojo/NodeList-html`. This method just does proper innerHTML insertion of HTML fragments,
|
111
|
-
// and it allows for the innerHTML to be read for the first node in the node list.
|
112
|
-
// Since dojo/NodeList-html already took the "html" name, this method is called
|
113
|
-
// "innerHTML". However, if dojo/NodeList-html has not been loaded yet, this
|
114
|
-
// module will define an "html" method that can be used instead. Be careful if you
|
115
|
-
// are working in an environment where it is possible that dojo/NodeList-html could
|
116
|
-
// have been loaded, since its definition of "html" will take precedence.
|
117
|
-
// The nodes represented by the value argument will be cloned if more than one
|
118
|
-
// node is in this NodeList. The nodes in this NodeList are returned in the "set"
|
119
|
-
// usage of this method, not the HTML that was inserted.
|
120
|
-
// returns:
|
121
|
-
// if no value is passed, the result is String, the innerHTML of the first node.
|
122
|
-
// If a value is passed, the return is this dojo/NodeList
|
123
|
-
// example:
|
124
|
-
// assume a DOM created by this markup:
|
125
|
-
// | <div id="foo"></div>
|
126
|
-
// | <div id="bar"></div>
|
127
|
-
// This code inserts `<p>Hello World</p>` into both divs:
|
128
|
-
// | dojo.query("div").innerHTML("<p>Hello World</p>");
|
129
|
-
// example:
|
130
|
-
// assume a DOM created by this markup:
|
131
|
-
// | <div id="foo"><p>Hello Mars</p></div>
|
132
|
-
// | <div id="bar"><p>Hello World</p></div>
|
133
|
-
// This code returns `<p>Hello Mars</p>`:
|
134
|
-
// | var message = dojo.query("div").innerHTML();
|
135
|
-
if(arguments.length){
|
136
|
-
return this.addContent(value, "only"); // dojo/NodeList
|
137
|
-
}else{
|
138
|
-
return this[0].innerHTML; //String
|
139
|
-
}
|
140
|
-
},
|
141
|
-
|
142
|
-
/*=====
|
143
|
-
html: function(value){
|
144
|
-
// summary:
|
145
|
-
// see the information for "innerHTML". "html" is an alias for "innerHTML", but is
|
146
|
-
// only defined if dojo/NodeList-html has not been loaded.
|
147
|
-
// description:
|
148
|
-
// An alias for the "innerHTML" method, but only defined if there is not an existing
|
149
|
-
// "html" method on dojo/NodeList. Be careful if you are working in an environment
|
150
|
-
// where it is possible that dojo/NodeList-html could have been loaded, since its
|
151
|
-
// definition of "html" will take precedence. If you are not sure if dojo/NodeList-html
|
152
|
-
// could be loaded, use the "innerHTML" method.
|
153
|
-
// value: String|DOMNode|NodeList?
|
154
|
-
// The HTML fragment to use as innerHTML. If value is not passed, then the innerHTML
|
155
|
-
// of the first element in this NodeList is returned.
|
156
|
-
// returns:
|
157
|
-
// if no value is passed, the result is String, the innerHTML of the first node.
|
158
|
-
// If a value is passed, the return is this dojo/NodeList
|
159
|
-
return; // dojo/NodeList|String
|
160
|
-
},
|
161
|
-
=====*/
|
162
|
-
|
163
|
-
text: function(/*String*/value){
|
164
|
-
// summary:
|
165
|
-
// allows setting the text value of each node in the NodeList,
|
166
|
-
// if there is a value passed in, otherwise, returns the text value for all the
|
167
|
-
// nodes in the NodeList in one string.
|
168
|
-
// example:
|
169
|
-
// assume a DOM created by this markup:
|
170
|
-
// | <div id="foo"></div>
|
171
|
-
// | <div id="bar"></div>
|
172
|
-
// This code inserts "Hello World" into both divs:
|
173
|
-
// | dojo.query("div").text("Hello World");
|
174
|
-
// example:
|
175
|
-
// assume a DOM created by this markup:
|
176
|
-
// | <div id="foo"><p>Hello Mars <span>today</span></p></div>
|
177
|
-
// | <div id="bar"><p>Hello World</p></div>
|
178
|
-
// This code returns "Hello Mars today":
|
179
|
-
// | var message = dojo.query("div").text();
|
180
|
-
// returns:
|
181
|
-
// if no value is passed, the result is String, the text value of the first node.
|
182
|
-
// If a value is passed, the return is this dojo/NodeList
|
183
|
-
if(arguments.length){
|
184
|
-
for(var i = 0, node; node = this[i]; i++){
|
185
|
-
if(node.nodeType == 1){
|
186
|
-
construct.empty(node);
|
187
|
-
node.appendChild(node.ownerDocument.createTextNode(value));
|
188
|
-
}
|
189
|
-
}
|
190
|
-
return this; // dojo/NodeList
|
191
|
-
}else{
|
192
|
-
var result = "";
|
193
|
-
for(i = 0; node = this[i]; i++){
|
194
|
-
result += getText(node);
|
195
|
-
}
|
196
|
-
return result; //String
|
197
|
-
}
|
198
|
-
},
|
199
|
-
|
200
|
-
val: function(/*String||Array*/value){
|
201
|
-
// summary:
|
202
|
-
// If a value is passed, allows seting the value property of form elements in this
|
203
|
-
// NodeList, or properly selecting/checking the right value for radio/checkbox/select
|
204
|
-
// elements. If no value is passed, the value of the first node in this NodeList
|
205
|
-
// is returned.
|
206
|
-
// returns:
|
207
|
-
// if no value is passed, the result is String or an Array, for the value of the
|
208
|
-
// first node.
|
209
|
-
// If a value is passed, the return is this dojo/NodeList
|
210
|
-
// example:
|
211
|
-
// assume a DOM created by this markup:
|
212
|
-
// | <input type="text" value="foo">
|
213
|
-
// | <select multiple>
|
214
|
-
// | <option value="red" selected>Red</option>
|
215
|
-
// | <option value="blue">Blue</option>
|
216
|
-
// | <option value="yellow" selected>Yellow</option>
|
217
|
-
// | </select>
|
218
|
-
// This code gets and sets the values for the form fields above:
|
219
|
-
// | dojo.query('[type="text"]').val(); //gets value foo
|
220
|
-
// | dojo.query('[type="text"]').val("bar"); //sets the input's value to "bar"
|
221
|
-
// | dojo.query("select").val() //gets array value ["red", "yellow"]
|
222
|
-
// | dojo.query("select").val(["blue", "yellow"]) //Sets the blue and yellow options to selected.
|
223
|
-
|
224
|
-
//Special work for input elements.
|
225
|
-
if(arguments.length){
|
226
|
-
var isArray = lang.isArray(value);
|
227
|
-
for(var index = 0, node; node = this[index]; index++){
|
228
|
-
var name = node.nodeName.toUpperCase();
|
229
|
-
var type = node.type;
|
230
|
-
var newValue = isArray ? value[index] : value;
|
231
|
-
|
232
|
-
if(name == "SELECT"){
|
233
|
-
var opts = node.options;
|
234
|
-
for(var i = 0; i < opts.length; i++){
|
235
|
-
var opt = opts[i];
|
236
|
-
if(node.multiple){
|
237
|
-
opt.selected = (array.indexOf(value, opt.value) != -1);
|
238
|
-
}else{
|
239
|
-
opt.selected = (opt.value == newValue);
|
240
|
-
}
|
241
|
-
}
|
242
|
-
}else if(type == "checkbox" || type == "radio"){
|
243
|
-
node.checked = (node.value == newValue);
|
244
|
-
}else{
|
245
|
-
node.value = newValue;
|
246
|
-
}
|
247
|
-
}
|
248
|
-
return this; // dojo/NodeList
|
249
|
-
}else{
|
250
|
-
//node already declared above.
|
251
|
-
node = this[0];
|
252
|
-
if(!node || node.nodeType != 1){
|
253
|
-
return undefined;
|
254
|
-
}
|
255
|
-
value = node.value || "";
|
256
|
-
if(node.nodeName.toUpperCase() == "SELECT" && node.multiple){
|
257
|
-
//A multivalued selectbox. Do the pain.
|
258
|
-
value = [];
|
259
|
-
//opts declared above in if block.
|
260
|
-
opts = node.options;
|
261
|
-
//i declared above in if block;
|
262
|
-
for(i = 0; i < opts.length; i++){
|
263
|
-
//opt declared above in if block
|
264
|
-
opt = opts[i];
|
265
|
-
if(opt.selected){
|
266
|
-
value.push(opt.value);
|
267
|
-
}
|
268
|
-
}
|
269
|
-
if(!value.length){
|
270
|
-
value = null;
|
271
|
-
}
|
272
|
-
}
|
273
|
-
return value; //String||Array
|
274
|
-
}
|
275
|
-
},
|
276
|
-
|
277
|
-
append: function(/*String||DOMNode||NodeList*/content){
|
278
|
-
// summary:
|
279
|
-
// appends the content to every node in the NodeList.
|
280
|
-
// description:
|
281
|
-
// The content will be cloned if the length of NodeList
|
282
|
-
// is greater than 1. Only the DOM nodes are cloned, not
|
283
|
-
// any attached event handlers.
|
284
|
-
// returns:
|
285
|
-
// dojo/NodeList, the nodes currently in this NodeList will be returned,
|
286
|
-
// not the appended content.
|
287
|
-
// example:
|
288
|
-
// assume a DOM created by this markup:
|
289
|
-
// | <div id="foo"><p>Hello Mars</p></div>
|
290
|
-
// | <div id="bar"><p>Hello World</p></div>
|
291
|
-
// Running this code:
|
292
|
-
// | dojo.query("div").append("<span>append</span>");
|
293
|
-
// Results in this DOM structure:
|
294
|
-
// | <div id="foo"><p>Hello Mars</p><span>append</span></div>
|
295
|
-
// | <div id="bar"><p>Hello World</p><span>append</span></div>
|
296
|
-
return this.addContent(content, "last"); // dojo/NodeList
|
297
|
-
},
|
298
|
-
|
299
|
-
appendTo: function(/*String*/query){
|
300
|
-
// summary:
|
301
|
-
// appends nodes in this NodeList to the nodes matched by
|
302
|
-
// the query passed to appendTo.
|
303
|
-
// description:
|
304
|
-
// The nodes in this NodeList will be cloned if the query
|
305
|
-
// matches more than one element. Only the DOM nodes are cloned, not
|
306
|
-
// any attached event handlers.
|
307
|
-
// returns:
|
308
|
-
// dojo/NodeList, the nodes currently in this NodeList will be returned,
|
309
|
-
// not the matched nodes from the query.
|
310
|
-
// example:
|
311
|
-
// assume a DOM created by this markup:
|
312
|
-
// | <span>append</span>
|
313
|
-
// | <p>Hello Mars</p>
|
314
|
-
// | <p>Hello World</p>
|
315
|
-
// Running this code:
|
316
|
-
// | dojo.query("span").appendTo("p");
|
317
|
-
// Results in this DOM structure:
|
318
|
-
// | <p>Hello Mars<span>append</span></p>
|
319
|
-
// | <p>Hello World<span>append</span></p>
|
320
|
-
return this._placeMultiple(query, "last"); // dojo/NodeList
|
321
|
-
},
|
322
|
-
|
323
|
-
prepend: function(/*String||DOMNode||NodeList*/content){
|
324
|
-
// summary:
|
325
|
-
// prepends the content to every node in the NodeList.
|
326
|
-
// description:
|
327
|
-
// The content will be cloned if the length of NodeList
|
328
|
-
// is greater than 1. Only the DOM nodes are cloned, not
|
329
|
-
// any attached event handlers.
|
330
|
-
// returns:
|
331
|
-
// dojo/NodeList, the nodes currently in this NodeList will be returned,
|
332
|
-
// not the appended content.
|
333
|
-
// assume a DOM created by this markup:
|
334
|
-
// | <div id="foo"><p>Hello Mars</p></div>
|
335
|
-
// | <div id="bar"><p>Hello World</p></div>
|
336
|
-
// Running this code:
|
337
|
-
// | dojo.query("div").prepend("<span>prepend</span>");
|
338
|
-
// Results in this DOM structure:
|
339
|
-
// | <div id="foo"><span>prepend</span><p>Hello Mars</p></div>
|
340
|
-
// | <div id="bar"><span>prepend</span><p>Hello World</p></div>
|
341
|
-
return this.addContent(content, "first"); // dojo/NodeList
|
342
|
-
},
|
343
|
-
|
344
|
-
prependTo: function(/*String*/query){
|
345
|
-
// summary:
|
346
|
-
// prepends nodes in this NodeList to the nodes matched by
|
347
|
-
// the query passed to prependTo.
|
348
|
-
// description:
|
349
|
-
// The nodes in this NodeList will be cloned if the query
|
350
|
-
// matches more than one element. Only the DOM nodes are cloned, not
|
351
|
-
// any attached event handlers.
|
352
|
-
// returns:
|
353
|
-
// dojo/NodeList, the nodes currently in this NodeList will be returned,
|
354
|
-
// not the matched nodes from the query.
|
355
|
-
// example:
|
356
|
-
// assume a DOM created by this markup:
|
357
|
-
// | <span>prepend</span>
|
358
|
-
// | <p>Hello Mars</p>
|
359
|
-
// | <p>Hello World</p>
|
360
|
-
// Running this code:
|
361
|
-
// | dojo.query("span").prependTo("p");
|
362
|
-
// Results in this DOM structure:
|
363
|
-
// | <p><span>prepend</span>Hello Mars</p>
|
364
|
-
// | <p><span>prepend</span>Hello World</p>
|
365
|
-
return this._placeMultiple(query, "first"); // dojo/NodeList
|
366
|
-
},
|
367
|
-
|
368
|
-
after: function(/*String||Element||NodeList*/content){
|
369
|
-
// summary:
|
370
|
-
// Places the content after every node in the NodeList.
|
371
|
-
// description:
|
372
|
-
// The content will be cloned if the length of NodeList
|
373
|
-
// is greater than 1. Only the DOM nodes are cloned, not
|
374
|
-
// any attached event handlers.
|
375
|
-
// returns:
|
376
|
-
// dojo/NodeList, the nodes currently in this NodeList will be returned,
|
377
|
-
// not the appended content.
|
378
|
-
// example:
|
379
|
-
// assume a DOM created by this markup:
|
380
|
-
// | <div id="foo"><p>Hello Mars</p></div>
|
381
|
-
// | <div id="bar"><p>Hello World</p></div>
|
382
|
-
// Running this code:
|
383
|
-
// | dojo.query("div").after("<span>after</span>");
|
384
|
-
// Results in this DOM structure:
|
385
|
-
// | <div id="foo"><p>Hello Mars</p></div><span>after</span>
|
386
|
-
// | <div id="bar"><p>Hello World</p></div><span>after</span>
|
387
|
-
return this.addContent(content, "after"); // dojo/NodeList
|
388
|
-
},
|
389
|
-
|
390
|
-
insertAfter: function(/*String*/query){
|
391
|
-
// summary:
|
392
|
-
// The nodes in this NodeList will be placed after the nodes
|
393
|
-
// matched by the query passed to insertAfter.
|
394
|
-
// description:
|
395
|
-
// The nodes in this NodeList will be cloned if the query
|
396
|
-
// matches more than one element. Only the DOM nodes are cloned, not
|
397
|
-
// any attached event handlers.
|
398
|
-
// returns:
|
399
|
-
// dojo/NodeList, the nodes currently in this NodeList will be returned,
|
400
|
-
// not the matched nodes from the query.
|
401
|
-
// example:
|
402
|
-
// assume a DOM created by this markup:
|
403
|
-
// | <span>after</span>
|
404
|
-
// | <p>Hello Mars</p>
|
405
|
-
// | <p>Hello World</p>
|
406
|
-
// Running this code:
|
407
|
-
// | dojo.query("span").insertAfter("p");
|
408
|
-
// Results in this DOM structure:
|
409
|
-
// | <p>Hello Mars</p><span>after</span>
|
410
|
-
// | <p>Hello World</p><span>after</span>
|
411
|
-
return this._placeMultiple(query, "after"); // dojo/NodeList
|
412
|
-
},
|
413
|
-
|
414
|
-
before: function(/*String||DOMNode||NodeList*/content){
|
415
|
-
// summary:
|
416
|
-
// Places the content before every node in the NodeList.
|
417
|
-
// description:
|
418
|
-
// The content will be cloned if the length of NodeList
|
419
|
-
// is greater than 1. Only the DOM nodes are cloned, not
|
420
|
-
// any attached event handlers.
|
421
|
-
// returns:
|
422
|
-
// dojo/NodeList, the nodes currently in this NodeList will be returned,
|
423
|
-
// not the appended content.
|
424
|
-
// example:
|
425
|
-
// assume a DOM created by this markup:
|
426
|
-
// | <div id="foo"><p>Hello Mars</p></div>
|
427
|
-
// | <div id="bar"><p>Hello World</p></div>
|
428
|
-
// Running this code:
|
429
|
-
// | dojo.query("div").before("<span>before</span>");
|
430
|
-
// Results in this DOM structure:
|
431
|
-
// | <span>before</span><div id="foo"><p>Hello Mars</p></div>
|
432
|
-
// | <span>before</span><div id="bar"><p>Hello World</p></div>
|
433
|
-
return this.addContent(content, "before"); // dojo/NodeList
|
434
|
-
},
|
435
|
-
|
436
|
-
insertBefore: function(/*String*/query){
|
437
|
-
// summary:
|
438
|
-
// The nodes in this NodeList will be placed after the nodes
|
439
|
-
// matched by the query passed to insertAfter.
|
440
|
-
// description:
|
441
|
-
// The nodes in this NodeList will be cloned if the query
|
442
|
-
// matches more than one element. Only the DOM nodes are cloned, not
|
443
|
-
// any attached event handlers.
|
444
|
-
// returns:
|
445
|
-
// dojo/NodeList, the nodes currently in this NodeList will be returned,
|
446
|
-
// not the matched nodes from the query.
|
447
|
-
// example:
|
448
|
-
// assume a DOM created by this markup:
|
449
|
-
// | <span>before</span>
|
450
|
-
// | <p>Hello Mars</p>
|
451
|
-
// | <p>Hello World</p>
|
452
|
-
// Running this code:
|
453
|
-
// | dojo.query("span").insertBefore("p");
|
454
|
-
// Results in this DOM structure:
|
455
|
-
// | <span>before</span><p>Hello Mars</p>
|
456
|
-
// | <span>before</span><p>Hello World</p>
|
457
|
-
return this._placeMultiple(query, "before"); // dojo/NodeList
|
458
|
-
},
|
459
|
-
|
460
|
-
/*=====
|
461
|
-
remove: function(simpleFilter){
|
462
|
-
// summary:
|
463
|
-
// alias for dojo/NodeList's orphan method. Removes elements
|
464
|
-
// in this list that match the simple filter from their parents
|
465
|
-
// and returns them as a new NodeList.
|
466
|
-
// simpleFilter: String
|
467
|
-
// single-expression CSS rule. For example, ".thinger" or
|
468
|
-
// "#someId[attrName='value']" but not "div > span". In short,
|
469
|
-
// anything which does not invoke a descent to evaluate but
|
470
|
-
// can instead be used to test a single node is acceptable.
|
471
|
-
|
472
|
-
return; // dojo/NodeList
|
473
|
-
},
|
474
|
-
=====*/
|
475
|
-
remove: NodeList.prototype.orphan,
|
476
|
-
|
477
|
-
wrap: function(/*String||DOMNode*/html){
|
478
|
-
// summary:
|
479
|
-
// Wrap each node in the NodeList with html passed to wrap.
|
480
|
-
// description:
|
481
|
-
// html will be cloned if the NodeList has more than one
|
482
|
-
// element. Only DOM nodes are cloned, not any attached
|
483
|
-
// event handlers.
|
484
|
-
// returns:
|
485
|
-
// the nodes in the current NodeList will be returned,
|
486
|
-
// not the nodes from html argument.
|
487
|
-
// example:
|
488
|
-
// assume a DOM created by this markup:
|
489
|
-
// | <b>one</b>
|
490
|
-
// | <b>two</b>
|
491
|
-
// Running this code:
|
492
|
-
// | dojo.query("b").wrap("<div><span></span></div>");
|
493
|
-
// Results in this DOM structure:
|
494
|
-
// | <div><span><b>one</b></span></div>
|
495
|
-
// | <div><span><b>two</b></span></div>
|
496
|
-
if(this[0]){
|
497
|
-
html = makeWrapNode(html, this[0]);
|
498
|
-
|
499
|
-
//Now cycle through the elements and do the insertion.
|
500
|
-
for(var i = 0, node; node = this[i]; i++){
|
501
|
-
//Always clone because if html is used to hold one of
|
502
|
-
//the "this" nodes, then on the clone of html it will contain
|
503
|
-
//that "this" node, and that would be bad.
|
504
|
-
var clone = this._cloneNode(html);
|
505
|
-
if(node.parentNode){
|
506
|
-
node.parentNode.replaceChild(clone, node);
|
507
|
-
}
|
508
|
-
//Find deepest element and insert old node in it.
|
509
|
-
var insertion = getWrapInsertion(clone);
|
510
|
-
insertion.appendChild(node);
|
511
|
-
}
|
512
|
-
}
|
513
|
-
return this; // dojo/NodeList
|
514
|
-
},
|
515
|
-
|
516
|
-
wrapAll: function(/*String||DOMNode*/html){
|
517
|
-
// summary:
|
518
|
-
// Insert html where the first node in this NodeList lives, then place all
|
519
|
-
// nodes in this NodeList as the child of the html.
|
520
|
-
// returns:
|
521
|
-
// the nodes in the current NodeList will be returned,
|
522
|
-
// not the nodes from html argument.
|
523
|
-
// example:
|
524
|
-
// assume a DOM created by this markup:
|
525
|
-
// | <div class="container">
|
526
|
-
// | <div class="red">Red One</div>
|
527
|
-
// | <div class="blue">Blue One</div>
|
528
|
-
// | <div class="red">Red Two</div>
|
529
|
-
// | <div class="blue">Blue Two</div>
|
530
|
-
// | </div>
|
531
|
-
// Running this code:
|
532
|
-
// | dojo.query(".red").wrapAll('<div class="allRed"></div>');
|
533
|
-
// Results in this DOM structure:
|
534
|
-
// | <div class="container">
|
535
|
-
// | <div class="allRed">
|
536
|
-
// | <div class="red">Red One</div>
|
537
|
-
// | <div class="red">Red Two</div>
|
538
|
-
// | </div>
|
539
|
-
// | <div class="blue">Blue One</div>
|
540
|
-
// | <div class="blue">Blue Two</div>
|
541
|
-
// | </div>
|
542
|
-
if(this[0]){
|
543
|
-
html = makeWrapNode(html, this[0]);
|
544
|
-
|
545
|
-
//Place the wrap HTML in place of the first node.
|
546
|
-
this[0].parentNode.replaceChild(html, this[0]);
|
547
|
-
|
548
|
-
//Now cycle through the elements and move them inside
|
549
|
-
//the wrap.
|
550
|
-
var insertion = getWrapInsertion(html);
|
551
|
-
for(var i = 0, node; node = this[i]; i++){
|
552
|
-
insertion.appendChild(node);
|
553
|
-
}
|
554
|
-
}
|
555
|
-
return this; // dojo/NodeList
|
556
|
-
},
|
557
|
-
|
558
|
-
wrapInner: function(/*String||DOMNode*/html){
|
559
|
-
// summary:
|
560
|
-
// For each node in the NodeList, wrap all its children with the passed in html.
|
561
|
-
// description:
|
562
|
-
// html will be cloned if the NodeList has more than one
|
563
|
-
// element. Only DOM nodes are cloned, not any attached
|
564
|
-
// event handlers.
|
565
|
-
// returns:
|
566
|
-
// the nodes in the current NodeList will be returned,
|
567
|
-
// not the nodes from html argument.
|
568
|
-
// example:
|
569
|
-
// assume a DOM created by this markup:
|
570
|
-
// | <div class="container">
|
571
|
-
// | <div class="red">Red One</div>
|
572
|
-
// | <div class="blue">Blue One</div>
|
573
|
-
// | <div class="red">Red Two</div>
|
574
|
-
// | <div class="blue">Blue Two</div>
|
575
|
-
// | </div>
|
576
|
-
// Running this code:
|
577
|
-
// | dojo.query(".red").wrapInner('<span class="special"></span>');
|
578
|
-
// Results in this DOM structure:
|
579
|
-
// | <div class="container">
|
580
|
-
// | <div class="red"><span class="special">Red One</span></div>
|
581
|
-
// | <div class="blue">Blue One</div>
|
582
|
-
// | <div class="red"><span class="special">Red Two</span></div>
|
583
|
-
// | <div class="blue">Blue Two</div>
|
584
|
-
// | </div>
|
585
|
-
if(this[0]){
|
586
|
-
html = makeWrapNode(html, this[0]);
|
587
|
-
for(var i = 0; i < this.length; i++){
|
588
|
-
//Always clone because if html is used to hold one of
|
589
|
-
//the "this" nodes, then on the clone of html it will contain
|
590
|
-
//that "this" node, and that would be bad.
|
591
|
-
var clone = this._cloneNode(html);
|
592
|
-
|
593
|
-
//Need to convert the childNodes to an array since wrapAll modifies the
|
594
|
-
//DOM and can change the live childNodes NodeList.
|
595
|
-
this._wrap(lang._toArray(this[i].childNodes), null, this._NodeListCtor).wrapAll(clone);
|
596
|
-
}
|
597
|
-
}
|
598
|
-
return this; // dojo/NodeList
|
599
|
-
},
|
600
|
-
|
601
|
-
replaceWith: function(/*String||DOMNode||NodeList*/content){
|
602
|
-
// summary:
|
603
|
-
// Replaces each node in ths NodeList with the content passed to replaceWith.
|
604
|
-
// description:
|
605
|
-
// The content will be cloned if the length of NodeList
|
606
|
-
// is greater than 1. Only the DOM nodes are cloned, not
|
607
|
-
// any attached event handlers.
|
608
|
-
// returns:
|
609
|
-
// The nodes currently in this NodeList will be returned, not the replacing content.
|
610
|
-
// Note that the returned nodes have been removed from the DOM.
|
611
|
-
// example:
|
612
|
-
// assume a DOM created by this markup:
|
613
|
-
// | <div class="container">
|
614
|
-
// | <div class="red">Red One</div>
|
615
|
-
// | <div class="blue">Blue One</div>
|
616
|
-
// | <div class="red">Red Two</div>
|
617
|
-
// | <div class="blue">Blue Two</div>
|
618
|
-
// | </div>
|
619
|
-
// Running this code:
|
620
|
-
// | dojo.query(".red").replaceWith('<div class="green">Green</div>');
|
621
|
-
// Results in this DOM structure:
|
622
|
-
// | <div class="container">
|
623
|
-
// | <div class="green">Green</div>
|
624
|
-
// | <div class="blue">Blue One</div>
|
625
|
-
// | <div class="green">Green</div>
|
626
|
-
// | <div class="blue">Blue Two</div>
|
627
|
-
// | </div>
|
628
|
-
content = this._normalize(content, this[0]);
|
629
|
-
for(var i = 0, node; node = this[i]; i++){
|
630
|
-
this._place(content, node, "before", i > 0);
|
631
|
-
node.parentNode.removeChild(node);
|
632
|
-
}
|
633
|
-
return this; // dojo/NodeList
|
634
|
-
},
|
635
|
-
|
636
|
-
replaceAll: function(/*String*/query){
|
637
|
-
// summary:
|
638
|
-
// replaces nodes matched by the query passed to replaceAll with the nodes
|
639
|
-
// in this NodeList.
|
640
|
-
// description:
|
641
|
-
// The nodes in this NodeList will be cloned if the query
|
642
|
-
// matches more than one element. Only the DOM nodes are cloned, not
|
643
|
-
// any attached event handlers.
|
644
|
-
// returns:
|
645
|
-
// The nodes currently in this NodeList will be returned, not the matched nodes
|
646
|
-
// from the query. The nodes currently in this NodeLIst could have
|
647
|
-
// been cloned, so the returned NodeList will include the cloned nodes.
|
648
|
-
// example:
|
649
|
-
// assume a DOM created by this markup:
|
650
|
-
// | <div class="container">
|
651
|
-
// | <div class="spacer">___</div>
|
652
|
-
// | <div class="red">Red One</div>
|
653
|
-
// | <div class="spacer">___</div>
|
654
|
-
// | <div class="blue">Blue One</div>
|
655
|
-
// | <div class="spacer">___</div>
|
656
|
-
// | <div class="red">Red Two</div>
|
657
|
-
// | <div class="spacer">___</div>
|
658
|
-
// | <div class="blue">Blue Two</div>
|
659
|
-
// | </div>
|
660
|
-
// Running this code:
|
661
|
-
// | dojo.query(".red").replaceAll(".blue");
|
662
|
-
// Results in this DOM structure:
|
663
|
-
// | <div class="container">
|
664
|
-
// | <div class="spacer">___</div>
|
665
|
-
// | <div class="spacer">___</div>
|
666
|
-
// | <div class="red">Red One</div>
|
667
|
-
// | <div class="red">Red Two</div>
|
668
|
-
// | <div class="spacer">___</div>
|
669
|
-
// | <div class="spacer">___</div>
|
670
|
-
// | <div class="red">Red One</div>
|
671
|
-
// | <div class="red">Red Two</div>
|
672
|
-
// | </div>
|
673
|
-
var nl = dquery(query);
|
674
|
-
var content = this._normalize(this, this[0]);
|
675
|
-
for(var i = 0, node; node = nl[i]; i++){
|
676
|
-
this._place(content, node, "before", i > 0);
|
677
|
-
node.parentNode.removeChild(node);
|
678
|
-
}
|
679
|
-
return this; // dojo/NodeList
|
680
|
-
},
|
681
|
-
|
682
|
-
clone: function(){
|
683
|
-
// summary:
|
684
|
-
// Clones all the nodes in this NodeList and returns them as a new NodeList.
|
685
|
-
// description:
|
686
|
-
// Only the DOM nodes are cloned, not any attached event handlers.
|
687
|
-
// returns:
|
688
|
-
// a cloned set of the original nodes.
|
689
|
-
// example:
|
690
|
-
// assume a DOM created by this markup:
|
691
|
-
// | <div class="container">
|
692
|
-
// | <div class="red">Red One</div>
|
693
|
-
// | <div class="blue">Blue One</div>
|
694
|
-
// | <div class="red">Red Two</div>
|
695
|
-
// | <div class="blue">Blue Two</div>
|
696
|
-
// | </div>
|
697
|
-
// Running this code:
|
698
|
-
// | dojo.query(".red").clone().appendTo(".container");
|
699
|
-
// Results in this DOM structure:
|
700
|
-
// | <div class="container">
|
701
|
-
// | <div class="red">Red One</div>
|
702
|
-
// | <div class="blue">Blue One</div>
|
703
|
-
// | <div class="red">Red Two</div>
|
704
|
-
// | <div class="blue">Blue Two</div>
|
705
|
-
// | <div class="red">Red One</div>
|
706
|
-
// | <div class="red">Red Two</div>
|
707
|
-
// | </div>
|
708
|
-
|
709
|
-
//TODO: need option to clone events?
|
710
|
-
var ary = [];
|
711
|
-
for(var i = 0; i < this.length; i++){
|
712
|
-
ary.push(this._cloneNode(this[i]));
|
713
|
-
}
|
714
|
-
return this._wrap(ary, this, this._NodeListCtor); // dojo/NodeList
|
715
|
-
}
|
716
|
-
});
|
717
|
-
|
718
|
-
//set up html method if one does not exist
|
719
|
-
if(!NodeList.prototype.html){
|
720
|
-
NodeList.prototype.html = NodeList.prototype.innerHTML;
|
721
|
-
}
|
722
|
-
|
723
|
-
return NodeList;
|
724
|
-
});
|