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,329 +0,0 @@
|
|
1
|
-
define("dojo/dnd/Selector", [
|
2
|
-
"../_base/array", "../_base/declare", "../_base/event", "../_base/kernel", "../_base/lang",
|
3
|
-
"../dom", "../dom-construct", "../mouse", "../_base/NodeList", "../on", "../touch", "./common", "./Container"
|
4
|
-
], function(array, declare, event, kernel, lang, dom, domConstruct, mouse, NodeList, on, touch, dnd, Container){
|
5
|
-
|
6
|
-
// module:
|
7
|
-
// dojo/dnd/Selector
|
8
|
-
|
9
|
-
/*
|
10
|
-
Container item states:
|
11
|
-
"" - an item is not selected
|
12
|
-
"Selected" - an item is selected
|
13
|
-
"Anchor" - an item is selected, and is an anchor for a "shift" selection
|
14
|
-
*/
|
15
|
-
|
16
|
-
/*=====
|
17
|
-
var __SelectorArgs = declare([Container.__ContainerArgs], {
|
18
|
-
// singular: Boolean
|
19
|
-
// allows selection of only one element, if true
|
20
|
-
singular: false,
|
21
|
-
|
22
|
-
// autoSync: Boolean
|
23
|
-
// autosynchronizes the source with its list of DnD nodes,
|
24
|
-
autoSync: false
|
25
|
-
});
|
26
|
-
=====*/
|
27
|
-
|
28
|
-
var Selector = declare("dojo.dnd.Selector", Container, {
|
29
|
-
// summary:
|
30
|
-
// a Selector object, which knows how to select its children
|
31
|
-
|
32
|
-
/*=====
|
33
|
-
// selection: Set<String>
|
34
|
-
// The set of id's that are currently selected, such that this.selection[id] == 1
|
35
|
-
// if the node w/that id is selected. Can iterate over selected node's id's like:
|
36
|
-
// | for(var id in this.selection)
|
37
|
-
selection: {},
|
38
|
-
=====*/
|
39
|
-
|
40
|
-
constructor: function(node, params){
|
41
|
-
// summary:
|
42
|
-
// constructor of the Selector
|
43
|
-
// node: Node||String
|
44
|
-
// node or node's id to build the selector on
|
45
|
-
// params: __SelectorArgs?
|
46
|
-
// a dictionary of parameters
|
47
|
-
if(!params){ params = {}; }
|
48
|
-
this.singular = params.singular;
|
49
|
-
this.autoSync = params.autoSync;
|
50
|
-
// class-specific variables
|
51
|
-
this.selection = {};
|
52
|
-
this.anchor = null;
|
53
|
-
this.simpleSelection = false;
|
54
|
-
// set up events
|
55
|
-
this.events.push(
|
56
|
-
on(this.node, touch.press, lang.hitch(this, "onMouseDown")),
|
57
|
-
on(this.node, touch.release, lang.hitch(this, "onMouseUp"))
|
58
|
-
);
|
59
|
-
},
|
60
|
-
|
61
|
-
// object attributes (for markup)
|
62
|
-
singular: false, // is singular property
|
63
|
-
|
64
|
-
// methods
|
65
|
-
getSelectedNodes: function(){
|
66
|
-
// summary:
|
67
|
-
// returns a list (an array) of selected nodes
|
68
|
-
var t = new NodeList();
|
69
|
-
var e = dnd._empty;
|
70
|
-
for(var i in this.selection){
|
71
|
-
if(i in e){ continue; }
|
72
|
-
t.push(dom.byId(i));
|
73
|
-
}
|
74
|
-
return t; // NodeList
|
75
|
-
},
|
76
|
-
selectNone: function(){
|
77
|
-
// summary:
|
78
|
-
// unselects all items
|
79
|
-
return this._removeSelection()._removeAnchor(); // self
|
80
|
-
},
|
81
|
-
selectAll: function(){
|
82
|
-
// summary:
|
83
|
-
// selects all items
|
84
|
-
this.forInItems(function(data, id){
|
85
|
-
this._addItemClass(dom.byId(id), "Selected");
|
86
|
-
this.selection[id] = 1;
|
87
|
-
}, this);
|
88
|
-
return this._removeAnchor(); // self
|
89
|
-
},
|
90
|
-
deleteSelectedNodes: function(){
|
91
|
-
// summary:
|
92
|
-
// deletes all selected items
|
93
|
-
var e = dnd._empty;
|
94
|
-
for(var i in this.selection){
|
95
|
-
if(i in e){ continue; }
|
96
|
-
var n = dom.byId(i);
|
97
|
-
this.delItem(i);
|
98
|
-
domConstruct.destroy(n);
|
99
|
-
}
|
100
|
-
this.anchor = null;
|
101
|
-
this.selection = {};
|
102
|
-
return this; // self
|
103
|
-
},
|
104
|
-
forInSelectedItems: function(/*Function*/ f, /*Object?*/ o){
|
105
|
-
// summary:
|
106
|
-
// iterates over selected items;
|
107
|
-
// see `dojo/dnd/Container.forInItems()` for details
|
108
|
-
o = o || kernel.global;
|
109
|
-
var s = this.selection, e = dnd._empty;
|
110
|
-
for(var i in s){
|
111
|
-
if(i in e){ continue; }
|
112
|
-
f.call(o, this.getItem(i), i, this);
|
113
|
-
}
|
114
|
-
},
|
115
|
-
sync: function(){
|
116
|
-
// summary:
|
117
|
-
// sync up the node list with the data map
|
118
|
-
|
119
|
-
Selector.superclass.sync.call(this);
|
120
|
-
|
121
|
-
// fix the anchor
|
122
|
-
if(this.anchor){
|
123
|
-
if(!this.getItem(this.anchor.id)){
|
124
|
-
this.anchor = null;
|
125
|
-
}
|
126
|
-
}
|
127
|
-
|
128
|
-
// fix the selection
|
129
|
-
var t = [], e = dnd._empty;
|
130
|
-
for(var i in this.selection){
|
131
|
-
if(i in e){ continue; }
|
132
|
-
if(!this.getItem(i)){
|
133
|
-
t.push(i);
|
134
|
-
}
|
135
|
-
}
|
136
|
-
array.forEach(t, function(i){
|
137
|
-
delete this.selection[i];
|
138
|
-
}, this);
|
139
|
-
|
140
|
-
return this; // self
|
141
|
-
},
|
142
|
-
insertNodes: function(addSelected, data, before, anchor){
|
143
|
-
// summary:
|
144
|
-
// inserts new data items (see `dojo/dnd/Container.insertNodes()` method for details)
|
145
|
-
// addSelected: Boolean
|
146
|
-
// all new nodes will be added to selected items, if true, no selection change otherwise
|
147
|
-
// data: Array
|
148
|
-
// a list of data items, which should be processed by the creator function
|
149
|
-
// before: Boolean
|
150
|
-
// insert before the anchor, if true, and after the anchor otherwise
|
151
|
-
// anchor: Node
|
152
|
-
// the anchor node to be used as a point of insertion
|
153
|
-
var oldCreator = this._normalizedCreator;
|
154
|
-
this._normalizedCreator = function(item, hint){
|
155
|
-
var t = oldCreator.call(this, item, hint);
|
156
|
-
if(addSelected){
|
157
|
-
if(!this.anchor){
|
158
|
-
this.anchor = t.node;
|
159
|
-
this._removeItemClass(t.node, "Selected");
|
160
|
-
this._addItemClass(this.anchor, "Anchor");
|
161
|
-
}else if(this.anchor != t.node){
|
162
|
-
this._removeItemClass(t.node, "Anchor");
|
163
|
-
this._addItemClass(t.node, "Selected");
|
164
|
-
}
|
165
|
-
this.selection[t.node.id] = 1;
|
166
|
-
}else{
|
167
|
-
this._removeItemClass(t.node, "Selected");
|
168
|
-
this._removeItemClass(t.node, "Anchor");
|
169
|
-
}
|
170
|
-
return t;
|
171
|
-
};
|
172
|
-
Selector.superclass.insertNodes.call(this, data, before, anchor);
|
173
|
-
this._normalizedCreator = oldCreator;
|
174
|
-
return this; // self
|
175
|
-
},
|
176
|
-
destroy: function(){
|
177
|
-
// summary:
|
178
|
-
// prepares the object to be garbage-collected
|
179
|
-
Selector.superclass.destroy.call(this);
|
180
|
-
this.selection = this.anchor = null;
|
181
|
-
},
|
182
|
-
|
183
|
-
// mouse events
|
184
|
-
onMouseDown: function(e){
|
185
|
-
// summary:
|
186
|
-
// event processor for onmousedown
|
187
|
-
// e: Event
|
188
|
-
// mouse event
|
189
|
-
if(this.autoSync){ this.sync(); }
|
190
|
-
if(!this.current){ return; }
|
191
|
-
if(!this.singular && !dnd.getCopyKeyState(e) && !e.shiftKey && (this.current.id in this.selection)){
|
192
|
-
this.simpleSelection = true;
|
193
|
-
if(mouse.isLeft(e)){
|
194
|
-
// accept the left button and stop the event
|
195
|
-
// for IE we don't stop event when multiple buttons are pressed
|
196
|
-
event.stop(e);
|
197
|
-
}
|
198
|
-
return;
|
199
|
-
}
|
200
|
-
if(!this.singular && e.shiftKey){
|
201
|
-
if(!dnd.getCopyKeyState(e)){
|
202
|
-
this._removeSelection();
|
203
|
-
}
|
204
|
-
var c = this.getAllNodes();
|
205
|
-
if(c.length){
|
206
|
-
if(!this.anchor){
|
207
|
-
this.anchor = c[0];
|
208
|
-
this._addItemClass(this.anchor, "Anchor");
|
209
|
-
}
|
210
|
-
this.selection[this.anchor.id] = 1;
|
211
|
-
if(this.anchor != this.current){
|
212
|
-
var i = 0, node;
|
213
|
-
for(; i < c.length; ++i){
|
214
|
-
node = c[i];
|
215
|
-
if(node == this.anchor || node == this.current){ break; }
|
216
|
-
}
|
217
|
-
for(++i; i < c.length; ++i){
|
218
|
-
node = c[i];
|
219
|
-
if(node == this.anchor || node == this.current){ break; }
|
220
|
-
this._addItemClass(node, "Selected");
|
221
|
-
this.selection[node.id] = 1;
|
222
|
-
}
|
223
|
-
this._addItemClass(this.current, "Selected");
|
224
|
-
this.selection[this.current.id] = 1;
|
225
|
-
}
|
226
|
-
}
|
227
|
-
}else{
|
228
|
-
if(this.singular){
|
229
|
-
if(this.anchor == this.current){
|
230
|
-
if(dnd.getCopyKeyState(e)){
|
231
|
-
this.selectNone();
|
232
|
-
}
|
233
|
-
}else{
|
234
|
-
this.selectNone();
|
235
|
-
this.anchor = this.current;
|
236
|
-
this._addItemClass(this.anchor, "Anchor");
|
237
|
-
this.selection[this.current.id] = 1;
|
238
|
-
}
|
239
|
-
}else{
|
240
|
-
if(dnd.getCopyKeyState(e)){
|
241
|
-
if(this.anchor == this.current){
|
242
|
-
delete this.selection[this.anchor.id];
|
243
|
-
this._removeAnchor();
|
244
|
-
}else{
|
245
|
-
if(this.current.id in this.selection){
|
246
|
-
this._removeItemClass(this.current, "Selected");
|
247
|
-
delete this.selection[this.current.id];
|
248
|
-
}else{
|
249
|
-
if(this.anchor){
|
250
|
-
this._removeItemClass(this.anchor, "Anchor");
|
251
|
-
this._addItemClass(this.anchor, "Selected");
|
252
|
-
}
|
253
|
-
this.anchor = this.current;
|
254
|
-
this._addItemClass(this.current, "Anchor");
|
255
|
-
this.selection[this.current.id] = 1;
|
256
|
-
}
|
257
|
-
}
|
258
|
-
}else{
|
259
|
-
if(!(this.current.id in this.selection)){
|
260
|
-
this.selectNone();
|
261
|
-
this.anchor = this.current;
|
262
|
-
this._addItemClass(this.current, "Anchor");
|
263
|
-
this.selection[this.current.id] = 1;
|
264
|
-
}
|
265
|
-
}
|
266
|
-
}
|
267
|
-
}
|
268
|
-
event.stop(e);
|
269
|
-
},
|
270
|
-
onMouseUp: function(/*===== e =====*/){
|
271
|
-
// summary:
|
272
|
-
// event processor for onmouseup
|
273
|
-
// e: Event
|
274
|
-
// mouse event
|
275
|
-
if(!this.simpleSelection){ return; }
|
276
|
-
this.simpleSelection = false;
|
277
|
-
this.selectNone();
|
278
|
-
if(this.current){
|
279
|
-
this.anchor = this.current;
|
280
|
-
this._addItemClass(this.anchor, "Anchor");
|
281
|
-
this.selection[this.current.id] = 1;
|
282
|
-
}
|
283
|
-
},
|
284
|
-
onMouseMove: function(/*===== e =====*/){
|
285
|
-
// summary:
|
286
|
-
// event processor for onmousemove
|
287
|
-
// e: Event
|
288
|
-
// mouse event
|
289
|
-
this.simpleSelection = false;
|
290
|
-
},
|
291
|
-
|
292
|
-
// utilities
|
293
|
-
onOverEvent: function(){
|
294
|
-
// summary:
|
295
|
-
// this function is called once, when mouse is over our container
|
296
|
-
this.onmousemoveEvent = on(this.node, touch.move, lang.hitch(this, "onMouseMove"));
|
297
|
-
},
|
298
|
-
onOutEvent: function(){
|
299
|
-
// summary:
|
300
|
-
// this function is called once, when mouse is out of our container
|
301
|
-
if(this.onmousemoveEvent){
|
302
|
-
this.onmousemoveEvent.remove();
|
303
|
-
delete this.onmousemoveEvent;
|
304
|
-
}
|
305
|
-
},
|
306
|
-
_removeSelection: function(){
|
307
|
-
// summary:
|
308
|
-
// unselects all items
|
309
|
-
var e = dnd._empty;
|
310
|
-
for(var i in this.selection){
|
311
|
-
if(i in e){ continue; }
|
312
|
-
var node = dom.byId(i);
|
313
|
-
if(node){ this._removeItemClass(node, "Selected"); }
|
314
|
-
}
|
315
|
-
this.selection = {};
|
316
|
-
return this; // self
|
317
|
-
},
|
318
|
-
_removeAnchor: function(){
|
319
|
-
if(this.anchor){
|
320
|
-
this._removeItemClass(this.anchor, "Anchor");
|
321
|
-
this.anchor = null;
|
322
|
-
}
|
323
|
-
return this; // self
|
324
|
-
}
|
325
|
-
});
|
326
|
-
|
327
|
-
return Selector;
|
328
|
-
|
329
|
-
});
|
@@ -1,506 +0,0 @@
|
|
1
|
-
define("dojo/dnd/Source", [
|
2
|
-
"../_base/array", "../_base/connect", "../_base/declare", "../_base/kernel", "../_base/lang",
|
3
|
-
"../dom-class", "../dom-geometry", "../mouse", "../ready", "../topic",
|
4
|
-
"./common", "./Selector", "./Manager"
|
5
|
-
], function(array, connect, declare, kernel, lang, domClass, domGeom, mouse, ready, topic,
|
6
|
-
dnd, Selector, Manager){
|
7
|
-
|
8
|
-
// module:
|
9
|
-
// dojo/dnd/Source
|
10
|
-
|
11
|
-
/*
|
12
|
-
Container property:
|
13
|
-
"Horizontal"- if this is the horizontal container
|
14
|
-
Source states:
|
15
|
-
"" - normal state
|
16
|
-
"Moved" - this source is being moved
|
17
|
-
"Copied" - this source is being copied
|
18
|
-
Target states:
|
19
|
-
"" - normal state
|
20
|
-
"Disabled" - the target cannot accept an avatar
|
21
|
-
Target anchor state:
|
22
|
-
"" - item is not selected
|
23
|
-
"Before" - insert point is before the anchor
|
24
|
-
"After" - insert point is after the anchor
|
25
|
-
*/
|
26
|
-
|
27
|
-
/*=====
|
28
|
-
var __SourceArgs = {
|
29
|
-
// summary:
|
30
|
-
// a dict of parameters for DnD Source configuration. Note that any
|
31
|
-
// property on Source elements may be configured, but this is the
|
32
|
-
// short-list
|
33
|
-
// isSource: Boolean?
|
34
|
-
// can be used as a DnD source. Defaults to true.
|
35
|
-
// accept: Array?
|
36
|
-
// list of accepted types (text strings) for a target; defaults to
|
37
|
-
// ["text"]
|
38
|
-
// autoSync: Boolean
|
39
|
-
// if true refreshes the node list on every operation; false by default
|
40
|
-
// copyOnly: Boolean?
|
41
|
-
// copy items, if true, use a state of Ctrl key otherwise,
|
42
|
-
// see selfCopy and selfAccept for more details
|
43
|
-
// delay: Number
|
44
|
-
// the move delay in pixels before detecting a drag; 0 by default
|
45
|
-
// horizontal: Boolean?
|
46
|
-
// a horizontal container, if true, vertical otherwise or when omitted
|
47
|
-
// selfCopy: Boolean?
|
48
|
-
// copy items by default when dropping on itself,
|
49
|
-
// false by default, works only if copyOnly is true
|
50
|
-
// selfAccept: Boolean?
|
51
|
-
// accept its own items when copyOnly is true,
|
52
|
-
// true by default, works only if copyOnly is true
|
53
|
-
// withHandles: Boolean?
|
54
|
-
// allows dragging only by handles, false by default
|
55
|
-
// generateText: Boolean?
|
56
|
-
// generate text node for drag and drop, true by default
|
57
|
-
};
|
58
|
-
=====*/
|
59
|
-
|
60
|
-
// For back-compat, remove in 2.0.
|
61
|
-
if(!kernel.isAsync){
|
62
|
-
ready(0, function(){
|
63
|
-
var requires = ["dojo/dnd/AutoSource", "dojo/dnd/Target"];
|
64
|
-
require(requires); // use indirection so modules not rolled into a build
|
65
|
-
});
|
66
|
-
}
|
67
|
-
|
68
|
-
var Source = declare("dojo.dnd.Source", Selector, {
|
69
|
-
// summary:
|
70
|
-
// a Source object, which can be used as a DnD source, or a DnD target
|
71
|
-
|
72
|
-
// object attributes (for markup)
|
73
|
-
isSource: true,
|
74
|
-
horizontal: false,
|
75
|
-
copyOnly: false,
|
76
|
-
selfCopy: false,
|
77
|
-
selfAccept: true,
|
78
|
-
skipForm: false,
|
79
|
-
withHandles: false,
|
80
|
-
autoSync: false,
|
81
|
-
delay: 0, // pixels
|
82
|
-
accept: ["text"],
|
83
|
-
generateText: true,
|
84
|
-
|
85
|
-
constructor: function(/*DOMNode|String*/ node, /*__SourceArgs?*/ params){
|
86
|
-
// summary:
|
87
|
-
// a constructor of the Source
|
88
|
-
// node:
|
89
|
-
// node or node's id to build the source on
|
90
|
-
// params:
|
91
|
-
// any property of this class may be configured via the params
|
92
|
-
// object which is mixed-in to the `dojo/dnd/Source` instance
|
93
|
-
lang.mixin(this, lang.mixin({}, params));
|
94
|
-
var type = this.accept;
|
95
|
-
if(type.length){
|
96
|
-
this.accept = {};
|
97
|
-
for(var i = 0; i < type.length; ++i){
|
98
|
-
this.accept[type[i]] = 1;
|
99
|
-
}
|
100
|
-
}
|
101
|
-
// class-specific variables
|
102
|
-
this.isDragging = false;
|
103
|
-
this.mouseDown = false;
|
104
|
-
this.targetAnchor = null;
|
105
|
-
this.targetBox = null;
|
106
|
-
this.before = true;
|
107
|
-
this._lastX = 0;
|
108
|
-
this._lastY = 0;
|
109
|
-
// states
|
110
|
-
this.sourceState = "";
|
111
|
-
if(this.isSource){
|
112
|
-
domClass.add(this.node, "dojoDndSource");
|
113
|
-
}
|
114
|
-
this.targetState = "";
|
115
|
-
if(this.accept){
|
116
|
-
domClass.add(this.node, "dojoDndTarget");
|
117
|
-
}
|
118
|
-
if(this.horizontal){
|
119
|
-
domClass.add(this.node, "dojoDndHorizontal");
|
120
|
-
}
|
121
|
-
// set up events
|
122
|
-
this.topics = [
|
123
|
-
topic.subscribe("/dnd/source/over", lang.hitch(this, "onDndSourceOver")),
|
124
|
-
topic.subscribe("/dnd/start", lang.hitch(this, "onDndStart")),
|
125
|
-
topic.subscribe("/dnd/drop", lang.hitch(this, "onDndDrop")),
|
126
|
-
topic.subscribe("/dnd/cancel", lang.hitch(this, "onDndCancel"))
|
127
|
-
];
|
128
|
-
},
|
129
|
-
|
130
|
-
// methods
|
131
|
-
checkAcceptance: function(source, nodes){
|
132
|
-
// summary:
|
133
|
-
// checks if the target can accept nodes from this source
|
134
|
-
// source: Object
|
135
|
-
// the source which provides items
|
136
|
-
// nodes: Array
|
137
|
-
// the list of transferred items
|
138
|
-
if(this == source){
|
139
|
-
return !this.copyOnly || this.selfAccept;
|
140
|
-
}
|
141
|
-
for(var i = 0; i < nodes.length; ++i){
|
142
|
-
var type = source.getItem(nodes[i].id).type;
|
143
|
-
// type instanceof Array
|
144
|
-
var flag = false;
|
145
|
-
for(var j = 0; j < type.length; ++j){
|
146
|
-
if(type[j] in this.accept){
|
147
|
-
flag = true;
|
148
|
-
break;
|
149
|
-
}
|
150
|
-
}
|
151
|
-
if(!flag){
|
152
|
-
return false; // Boolean
|
153
|
-
}
|
154
|
-
}
|
155
|
-
return true; // Boolean
|
156
|
-
},
|
157
|
-
copyState: function(keyPressed, self){
|
158
|
-
// summary:
|
159
|
-
// Returns true if we need to copy items, false to move.
|
160
|
-
// It is separated to be overwritten dynamically, if needed.
|
161
|
-
// keyPressed: Boolean
|
162
|
-
// the "copy" key was pressed
|
163
|
-
// self: Boolean?
|
164
|
-
// optional flag that means that we are about to drop on itself
|
165
|
-
|
166
|
-
if(keyPressed){ return true; }
|
167
|
-
if(arguments.length < 2){
|
168
|
-
self = this == Manager.manager().target;
|
169
|
-
}
|
170
|
-
if(self){
|
171
|
-
if(this.copyOnly){
|
172
|
-
return this.selfCopy;
|
173
|
-
}
|
174
|
-
}else{
|
175
|
-
return this.copyOnly;
|
176
|
-
}
|
177
|
-
return false; // Boolean
|
178
|
-
},
|
179
|
-
destroy: function(){
|
180
|
-
// summary:
|
181
|
-
// prepares the object to be garbage-collected
|
182
|
-
Source.superclass.destroy.call(this);
|
183
|
-
array.forEach(this.topics, function(t){t.remove();});
|
184
|
-
this.targetAnchor = null;
|
185
|
-
},
|
186
|
-
|
187
|
-
// mouse event processors
|
188
|
-
onMouseMove: function(e){
|
189
|
-
// summary:
|
190
|
-
// event processor for onmousemove
|
191
|
-
// e: Event
|
192
|
-
// mouse event
|
193
|
-
if(this.isDragging && this.targetState == "Disabled"){ return; }
|
194
|
-
Source.superclass.onMouseMove.call(this, e);
|
195
|
-
var m = Manager.manager();
|
196
|
-
if(!this.isDragging){
|
197
|
-
if(this.mouseDown && this.isSource &&
|
198
|
-
(Math.abs(e.pageX - this._lastX) > this.delay || Math.abs(e.pageY - this._lastY) > this.delay)){
|
199
|
-
var nodes = this.getSelectedNodes();
|
200
|
-
if(nodes.length){
|
201
|
-
m.startDrag(this, nodes, this.copyState(dnd.getCopyKeyState(e), true));
|
202
|
-
}
|
203
|
-
}
|
204
|
-
}
|
205
|
-
if(this.isDragging){
|
206
|
-
// calculate before/after
|
207
|
-
var before = false;
|
208
|
-
if(this.current){
|
209
|
-
if(!this.targetBox || this.targetAnchor != this.current){
|
210
|
-
this.targetBox = domGeom.position(this.current, true);
|
211
|
-
}
|
212
|
-
if(this.horizontal){
|
213
|
-
// In LTR mode, the left part of the object means "before", but in RTL mode it means "after".
|
214
|
-
before = (e.pageX - this.targetBox.x < this.targetBox.w / 2) == domGeom.isBodyLtr(this.current.ownerDocument);
|
215
|
-
}else{
|
216
|
-
before = (e.pageY - this.targetBox.y) < (this.targetBox.h / 2);
|
217
|
-
}
|
218
|
-
}
|
219
|
-
if(this.current != this.targetAnchor || before != this.before){
|
220
|
-
this._markTargetAnchor(before);
|
221
|
-
m.canDrop(!this.current || m.source != this || !(this.current.id in this.selection));
|
222
|
-
}
|
223
|
-
}
|
224
|
-
},
|
225
|
-
onMouseDown: function(e){
|
226
|
-
// summary:
|
227
|
-
// event processor for onmousedown
|
228
|
-
// e: Event
|
229
|
-
// mouse event
|
230
|
-
if(!this.mouseDown && this._legalMouseDown(e) && (!this.skipForm || !dnd.isFormElement(e))){
|
231
|
-
this.mouseDown = true;
|
232
|
-
this._lastX = e.pageX;
|
233
|
-
this._lastY = e.pageY;
|
234
|
-
Source.superclass.onMouseDown.call(this, e);
|
235
|
-
}
|
236
|
-
},
|
237
|
-
onMouseUp: function(e){
|
238
|
-
// summary:
|
239
|
-
// event processor for onmouseup
|
240
|
-
// e: Event
|
241
|
-
// mouse event
|
242
|
-
if(this.mouseDown){
|
243
|
-
this.mouseDown = false;
|
244
|
-
Source.superclass.onMouseUp.call(this, e);
|
245
|
-
}
|
246
|
-
},
|
247
|
-
|
248
|
-
// topic event processors
|
249
|
-
onDndSourceOver: function(source){
|
250
|
-
// summary:
|
251
|
-
// topic event processor for /dnd/source/over, called when detected a current source
|
252
|
-
// source: Object
|
253
|
-
// the source which has the mouse over it
|
254
|
-
if(this !== source){
|
255
|
-
this.mouseDown = false;
|
256
|
-
if(this.targetAnchor){
|
257
|
-
this._unmarkTargetAnchor();
|
258
|
-
}
|
259
|
-
}else if(this.isDragging){
|
260
|
-
var m = Manager.manager();
|
261
|
-
m.canDrop(this.targetState != "Disabled" && (!this.current || m.source != this || !(this.current.id in this.selection)));
|
262
|
-
}
|
263
|
-
},
|
264
|
-
onDndStart: function(source, nodes, copy){
|
265
|
-
// summary:
|
266
|
-
// topic event processor for /dnd/start, called to initiate the DnD operation
|
267
|
-
// source: Object
|
268
|
-
// the source which provides items
|
269
|
-
// nodes: Array
|
270
|
-
// the list of transferred items
|
271
|
-
// copy: Boolean
|
272
|
-
// copy items, if true, move items otherwise
|
273
|
-
if(this.autoSync){ this.sync(); }
|
274
|
-
if(this.isSource){
|
275
|
-
this._changeState("Source", this == source ? (copy ? "Copied" : "Moved") : "");
|
276
|
-
}
|
277
|
-
var accepted = this.accept && this.checkAcceptance(source, nodes);
|
278
|
-
this._changeState("Target", accepted ? "" : "Disabled");
|
279
|
-
if(this == source){
|
280
|
-
Manager.manager().overSource(this);
|
281
|
-
}
|
282
|
-
this.isDragging = true;
|
283
|
-
},
|
284
|
-
onDndDrop: function(source, nodes, copy, target){
|
285
|
-
// summary:
|
286
|
-
// topic event processor for /dnd/drop, called to finish the DnD operation
|
287
|
-
// source: Object
|
288
|
-
// the source which provides items
|
289
|
-
// nodes: Array
|
290
|
-
// the list of transferred items
|
291
|
-
// copy: Boolean
|
292
|
-
// copy items, if true, move items otherwise
|
293
|
-
// target: Object
|
294
|
-
// the target which accepts items
|
295
|
-
if(this == target){
|
296
|
-
// this one is for us => move nodes!
|
297
|
-
this.onDrop(source, nodes, copy);
|
298
|
-
}
|
299
|
-
this.onDndCancel();
|
300
|
-
},
|
301
|
-
onDndCancel: function(){
|
302
|
-
// summary:
|
303
|
-
// topic event processor for /dnd/cancel, called to cancel the DnD operation
|
304
|
-
if(this.targetAnchor){
|
305
|
-
this._unmarkTargetAnchor();
|
306
|
-
this.targetAnchor = null;
|
307
|
-
}
|
308
|
-
this.before = true;
|
309
|
-
this.isDragging = false;
|
310
|
-
this.mouseDown = false;
|
311
|
-
this._changeState("Source", "");
|
312
|
-
this._changeState("Target", "");
|
313
|
-
},
|
314
|
-
|
315
|
-
// local events
|
316
|
-
onDrop: function(source, nodes, copy){
|
317
|
-
// summary:
|
318
|
-
// called only on the current target, when drop is performed
|
319
|
-
// source: Object
|
320
|
-
// the source which provides items
|
321
|
-
// nodes: Array
|
322
|
-
// the list of transferred items
|
323
|
-
// copy: Boolean
|
324
|
-
// copy items, if true, move items otherwise
|
325
|
-
|
326
|
-
if(this != source){
|
327
|
-
this.onDropExternal(source, nodes, copy);
|
328
|
-
}else{
|
329
|
-
this.onDropInternal(nodes, copy);
|
330
|
-
}
|
331
|
-
},
|
332
|
-
onDropExternal: function(source, nodes, copy){
|
333
|
-
// summary:
|
334
|
-
// called only on the current target, when drop is performed
|
335
|
-
// from an external source
|
336
|
-
// source: Object
|
337
|
-
// the source which provides items
|
338
|
-
// nodes: Array
|
339
|
-
// the list of transferred items
|
340
|
-
// copy: Boolean
|
341
|
-
// copy items, if true, move items otherwise
|
342
|
-
|
343
|
-
var oldCreator = this._normalizedCreator;
|
344
|
-
// transferring nodes from the source to the target
|
345
|
-
if(this.creator){
|
346
|
-
// use defined creator
|
347
|
-
this._normalizedCreator = function(node, hint){
|
348
|
-
return oldCreator.call(this, source.getItem(node.id).data, hint);
|
349
|
-
};
|
350
|
-
}else{
|
351
|
-
// we have no creator defined => move/clone nodes
|
352
|
-
if(copy){
|
353
|
-
// clone nodes
|
354
|
-
this._normalizedCreator = function(node /*=====, hint =====*/){
|
355
|
-
var t = source.getItem(node.id);
|
356
|
-
var n = node.cloneNode(true);
|
357
|
-
n.id = dnd.getUniqueId();
|
358
|
-
return {node: n, data: t.data, type: t.type};
|
359
|
-
};
|
360
|
-
}else{
|
361
|
-
// move nodes
|
362
|
-
this._normalizedCreator = function(node /*=====, hint =====*/){
|
363
|
-
var t = source.getItem(node.id);
|
364
|
-
source.delItem(node.id);
|
365
|
-
return {node: node, data: t.data, type: t.type};
|
366
|
-
};
|
367
|
-
}
|
368
|
-
}
|
369
|
-
this.selectNone();
|
370
|
-
if(!copy && !this.creator){
|
371
|
-
source.selectNone();
|
372
|
-
}
|
373
|
-
this.insertNodes(true, nodes, this.before, this.current);
|
374
|
-
if(!copy && this.creator){
|
375
|
-
source.deleteSelectedNodes();
|
376
|
-
}
|
377
|
-
this._normalizedCreator = oldCreator;
|
378
|
-
},
|
379
|
-
onDropInternal: function(nodes, copy){
|
380
|
-
// summary:
|
381
|
-
// called only on the current target, when drop is performed
|
382
|
-
// from the same target/source
|
383
|
-
// nodes: Array
|
384
|
-
// the list of transferred items
|
385
|
-
// copy: Boolean
|
386
|
-
// copy items, if true, move items otherwise
|
387
|
-
|
388
|
-
var oldCreator = this._normalizedCreator;
|
389
|
-
// transferring nodes within the single source
|
390
|
-
if(this.current && this.current.id in this.selection){
|
391
|
-
// do nothing
|
392
|
-
return;
|
393
|
-
}
|
394
|
-
if(copy){
|
395
|
-
if(this.creator){
|
396
|
-
// create new copies of data items
|
397
|
-
this._normalizedCreator = function(node, hint){
|
398
|
-
return oldCreator.call(this, this.getItem(node.id).data, hint);
|
399
|
-
};
|
400
|
-
}else{
|
401
|
-
// clone nodes
|
402
|
-
this._normalizedCreator = function(node/*=====, hint =====*/){
|
403
|
-
var t = this.getItem(node.id);
|
404
|
-
var n = node.cloneNode(true);
|
405
|
-
n.id = dnd.getUniqueId();
|
406
|
-
return {node: n, data: t.data, type: t.type};
|
407
|
-
};
|
408
|
-
}
|
409
|
-
}else{
|
410
|
-
// move nodes
|
411
|
-
if(!this.current){
|
412
|
-
// do nothing
|
413
|
-
return;
|
414
|
-
}
|
415
|
-
this._normalizedCreator = function(node /*=====, hint =====*/){
|
416
|
-
var t = this.getItem(node.id);
|
417
|
-
return {node: node, data: t.data, type: t.type};
|
418
|
-
};
|
419
|
-
}
|
420
|
-
this._removeSelection();
|
421
|
-
this.insertNodes(true, nodes, this.before, this.current);
|
422
|
-
this._normalizedCreator = oldCreator;
|
423
|
-
},
|
424
|
-
onDraggingOver: function(){
|
425
|
-
// summary:
|
426
|
-
// called during the active DnD operation, when items
|
427
|
-
// are dragged over this target, and it is not disabled
|
428
|
-
},
|
429
|
-
onDraggingOut: function(){
|
430
|
-
// summary:
|
431
|
-
// called during the active DnD operation, when items
|
432
|
-
// are dragged away from this target, and it is not disabled
|
433
|
-
},
|
434
|
-
|
435
|
-
// utilities
|
436
|
-
onOverEvent: function(){
|
437
|
-
// summary:
|
438
|
-
// this function is called once, when mouse is over our container
|
439
|
-
Source.superclass.onOverEvent.call(this);
|
440
|
-
Manager.manager().overSource(this);
|
441
|
-
if(this.isDragging && this.targetState != "Disabled"){
|
442
|
-
this.onDraggingOver();
|
443
|
-
}
|
444
|
-
},
|
445
|
-
onOutEvent: function(){
|
446
|
-
// summary:
|
447
|
-
// this function is called once, when mouse is out of our container
|
448
|
-
Source.superclass.onOutEvent.call(this);
|
449
|
-
Manager.manager().outSource(this);
|
450
|
-
if(this.isDragging && this.targetState != "Disabled"){
|
451
|
-
this.onDraggingOut();
|
452
|
-
}
|
453
|
-
},
|
454
|
-
_markTargetAnchor: function(before){
|
455
|
-
// summary:
|
456
|
-
// assigns a class to the current target anchor based on "before" status
|
457
|
-
// before: Boolean
|
458
|
-
// insert before, if true, after otherwise
|
459
|
-
if(this.current == this.targetAnchor && this.before == before){ return; }
|
460
|
-
if(this.targetAnchor){
|
461
|
-
this._removeItemClass(this.targetAnchor, this.before ? "Before" : "After");
|
462
|
-
}
|
463
|
-
this.targetAnchor = this.current;
|
464
|
-
this.targetBox = null;
|
465
|
-
this.before = before;
|
466
|
-
if(this.targetAnchor){
|
467
|
-
this._addItemClass(this.targetAnchor, this.before ? "Before" : "After");
|
468
|
-
}
|
469
|
-
},
|
470
|
-
_unmarkTargetAnchor: function(){
|
471
|
-
// summary:
|
472
|
-
// removes a class of the current target anchor based on "before" status
|
473
|
-
if(!this.targetAnchor){ return; }
|
474
|
-
this._removeItemClass(this.targetAnchor, this.before ? "Before" : "After");
|
475
|
-
this.targetAnchor = null;
|
476
|
-
this.targetBox = null;
|
477
|
-
this.before = true;
|
478
|
-
},
|
479
|
-
_markDndStatus: function(copy){
|
480
|
-
// summary:
|
481
|
-
// changes source's state based on "copy" status
|
482
|
-
this._changeState("Source", copy ? "Copied" : "Moved");
|
483
|
-
},
|
484
|
-
_legalMouseDown: function(e){
|
485
|
-
// summary:
|
486
|
-
// checks if user clicked on "approved" items
|
487
|
-
// e: Event
|
488
|
-
// mouse event
|
489
|
-
|
490
|
-
// accept only the left mouse button, or the left finger
|
491
|
-
if(e.type != "touchstart" && !mouse.isLeft(e)){ return false; }
|
492
|
-
|
493
|
-
if(!this.withHandles){ return true; }
|
494
|
-
|
495
|
-
// check for handles
|
496
|
-
for(var node = e.target; node && node !== this.node; node = node.parentNode){
|
497
|
-
if(domClass.contains(node, "dojoDndHandle")){ return true; }
|
498
|
-
if(domClass.contains(node, "dojoDndItem") || domClass.contains(node, "dojoDndIgnore")){ break; }
|
499
|
-
}
|
500
|
-
return false; // Boolean
|
501
|
-
}
|
502
|
-
});
|
503
|
-
|
504
|
-
return Source;
|
505
|
-
|
506
|
-
});
|