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,816 +0,0 @@
|
|
1
|
-
define("dojo/data/ItemFileWriteStore", ["../_base/lang", "../_base/declare", "../_base/array", "../_base/json", "../_base/kernel",
|
2
|
-
"./ItemFileReadStore", "../date/stamp"
|
3
|
-
], function(lang, declare, arrayUtil, jsonUtil, kernel, ItemFileReadStore, dateStamp){
|
4
|
-
|
5
|
-
// module:
|
6
|
-
// dojo/data/ItemFileWriteStore
|
7
|
-
|
8
|
-
return declare("dojo.data.ItemFileWriteStore", ItemFileReadStore, {
|
9
|
-
// summary:
|
10
|
-
// TODOC
|
11
|
-
|
12
|
-
constructor: function(/* object */ keywordParameters){
|
13
|
-
// keywordParameters:
|
14
|
-
// The structure of the typeMap object is as follows:
|
15
|
-
// | {
|
16
|
-
// | type0: function || object,
|
17
|
-
// | type1: function || object,
|
18
|
-
// | ...
|
19
|
-
// | typeN: function || object
|
20
|
-
// | }
|
21
|
-
// Where if it is a function, it is assumed to be an object constructor that takes the
|
22
|
-
// value of _value as the initialization parameters. It is serialized assuming object.toString()
|
23
|
-
// serialization. If it is an object, then it is assumed
|
24
|
-
// to be an object of general form:
|
25
|
-
// | {
|
26
|
-
// | type: function, //constructor.
|
27
|
-
// | deserialize: function(value) //The function that parses the value and constructs the object defined by type appropriately.
|
28
|
-
// | serialize: function(object) //The function that converts the object back into the proper file format form.
|
29
|
-
// | }
|
30
|
-
|
31
|
-
// ItemFileWriteStore extends ItemFileReadStore to implement these additional dojo.data APIs
|
32
|
-
this._features['dojo.data.api.Write'] = true;
|
33
|
-
this._features['dojo.data.api.Notification'] = true;
|
34
|
-
|
35
|
-
// For keeping track of changes so that we can implement isDirty and revert
|
36
|
-
this._pending = {
|
37
|
-
_newItems:{},
|
38
|
-
_modifiedItems:{},
|
39
|
-
_deletedItems:{}
|
40
|
-
};
|
41
|
-
|
42
|
-
if(!this._datatypeMap['Date'].serialize){
|
43
|
-
this._datatypeMap['Date'].serialize = function(obj){
|
44
|
-
return dateStamp.toISOString(obj, {zulu:true});
|
45
|
-
};
|
46
|
-
}
|
47
|
-
//Disable only if explicitly set to false.
|
48
|
-
if(keywordParameters && (keywordParameters.referenceIntegrity === false)){
|
49
|
-
this.referenceIntegrity = false;
|
50
|
-
}
|
51
|
-
|
52
|
-
// this._saveInProgress is set to true, briefly, from when save() is first called to when it completes
|
53
|
-
this._saveInProgress = false;
|
54
|
-
},
|
55
|
-
|
56
|
-
referenceIntegrity: true, //Flag that defaultly enabled reference integrity tracking. This way it can also be disabled pogrammatially or declaratively.
|
57
|
-
|
58
|
-
_assert: function(/* boolean */ condition){
|
59
|
-
if(!condition){
|
60
|
-
throw new Error("assertion failed in ItemFileWriteStore");
|
61
|
-
}
|
62
|
-
},
|
63
|
-
|
64
|
-
_getIdentifierAttribute: function(){
|
65
|
-
// this._assert((identifierAttribute === Number) || (dojo.isString(identifierAttribute)));
|
66
|
-
return this.getFeatures()['dojo.data.api.Identity'];
|
67
|
-
},
|
68
|
-
|
69
|
-
|
70
|
-
/* dojo/data/api/Write */
|
71
|
-
|
72
|
-
newItem: function(/* Object? */ keywordArgs, /* Object? */ parentInfo){
|
73
|
-
// summary:
|
74
|
-
// See dojo/data/api/Write.newItem()
|
75
|
-
|
76
|
-
this._assert(!this._saveInProgress);
|
77
|
-
|
78
|
-
if(!this._loadFinished){
|
79
|
-
// We need to do this here so that we'll be able to find out what
|
80
|
-
// identifierAttribute was specified in the data file.
|
81
|
-
this._forceLoad();
|
82
|
-
}
|
83
|
-
|
84
|
-
if(typeof keywordArgs != "object" && typeof keywordArgs != "undefined"){
|
85
|
-
throw new Error("newItem() was passed something other than an object");
|
86
|
-
}
|
87
|
-
var newIdentity = null;
|
88
|
-
var identifierAttribute = this._getIdentifierAttribute();
|
89
|
-
if(identifierAttribute === Number){
|
90
|
-
newIdentity = this._arrayOfAllItems.length;
|
91
|
-
}else{
|
92
|
-
newIdentity = keywordArgs[identifierAttribute];
|
93
|
-
if(typeof newIdentity === "undefined"){
|
94
|
-
throw new Error("newItem() was not passed an identity for the new item");
|
95
|
-
}
|
96
|
-
if(lang.isArray(newIdentity)){
|
97
|
-
throw new Error("newItem() was not passed an single-valued identity");
|
98
|
-
}
|
99
|
-
}
|
100
|
-
|
101
|
-
// make sure this identity is not already in use by another item, if identifiers were
|
102
|
-
// defined in the file. Otherwise it would be the item count,
|
103
|
-
// which should always be unique in this case.
|
104
|
-
if(this._itemsByIdentity){
|
105
|
-
this._assert(typeof this._itemsByIdentity[newIdentity] === "undefined");
|
106
|
-
}
|
107
|
-
this._assert(typeof this._pending._newItems[newIdentity] === "undefined");
|
108
|
-
this._assert(typeof this._pending._deletedItems[newIdentity] === "undefined");
|
109
|
-
|
110
|
-
var newItem = {};
|
111
|
-
newItem[this._storeRefPropName] = this;
|
112
|
-
newItem[this._itemNumPropName] = this._arrayOfAllItems.length;
|
113
|
-
if(this._itemsByIdentity){
|
114
|
-
this._itemsByIdentity[newIdentity] = newItem;
|
115
|
-
//We have to set the identifier now, otherwise we can't look it
|
116
|
-
//up at calls to setValueorValues in parentInfo handling.
|
117
|
-
newItem[identifierAttribute] = [newIdentity];
|
118
|
-
}
|
119
|
-
this._arrayOfAllItems.push(newItem);
|
120
|
-
|
121
|
-
//We need to construct some data for the onNew call too...
|
122
|
-
var pInfo = null;
|
123
|
-
|
124
|
-
// Now we need to check to see where we want to assign this thingm if any.
|
125
|
-
if(parentInfo && parentInfo.parent && parentInfo.attribute){
|
126
|
-
pInfo = {
|
127
|
-
item: parentInfo.parent,
|
128
|
-
attribute: parentInfo.attribute,
|
129
|
-
oldValue: undefined
|
130
|
-
};
|
131
|
-
|
132
|
-
//See if it is multi-valued or not and handle appropriately
|
133
|
-
//Generally, all attributes are multi-valued for this store
|
134
|
-
//So, we only need to append if there are already values present.
|
135
|
-
var values = this.getValues(parentInfo.parent, parentInfo.attribute);
|
136
|
-
if(values && values.length > 0){
|
137
|
-
var tempValues = values.slice(0, values.length);
|
138
|
-
if(values.length === 1){
|
139
|
-
pInfo.oldValue = values[0];
|
140
|
-
}else{
|
141
|
-
pInfo.oldValue = values.slice(0, values.length);
|
142
|
-
}
|
143
|
-
tempValues.push(newItem);
|
144
|
-
this._setValueOrValues(parentInfo.parent, parentInfo.attribute, tempValues, false);
|
145
|
-
pInfo.newValue = this.getValues(parentInfo.parent, parentInfo.attribute);
|
146
|
-
}else{
|
147
|
-
this._setValueOrValues(parentInfo.parent, parentInfo.attribute, newItem, false);
|
148
|
-
pInfo.newValue = newItem;
|
149
|
-
}
|
150
|
-
}else{
|
151
|
-
//Toplevel item, add to both top list as well as all list.
|
152
|
-
newItem[this._rootItemPropName]=true;
|
153
|
-
this._arrayOfTopLevelItems.push(newItem);
|
154
|
-
}
|
155
|
-
|
156
|
-
this._pending._newItems[newIdentity] = newItem;
|
157
|
-
|
158
|
-
//Clone over the properties to the new item
|
159
|
-
for(var key in keywordArgs){
|
160
|
-
if(key === this._storeRefPropName || key === this._itemNumPropName){
|
161
|
-
// Bummer, the user is trying to do something like
|
162
|
-
// newItem({_S:"foo"}). Unfortunately, our superclass,
|
163
|
-
// ItemFileReadStore, is already using _S in each of our items
|
164
|
-
// to hold private info. To avoid a naming collision, we
|
165
|
-
// need to move all our private info to some other property
|
166
|
-
// of all the items/objects. So, we need to iterate over all
|
167
|
-
// the items and do something like:
|
168
|
-
// item.__S = item._S;
|
169
|
-
// item._S = undefined;
|
170
|
-
// But first we have to make sure the new "__S" variable is
|
171
|
-
// not in use, which means we have to iterate over all the
|
172
|
-
// items checking for that.
|
173
|
-
throw new Error("encountered bug in ItemFileWriteStore.newItem");
|
174
|
-
}
|
175
|
-
var value = keywordArgs[key];
|
176
|
-
if(!lang.isArray(value)){
|
177
|
-
value = [value];
|
178
|
-
}
|
179
|
-
newItem[key] = value;
|
180
|
-
if(this.referenceIntegrity){
|
181
|
-
for(var i = 0; i < value.length; i++){
|
182
|
-
var val = value[i];
|
183
|
-
if(this.isItem(val)){
|
184
|
-
this._addReferenceToMap(val, newItem, key);
|
185
|
-
}
|
186
|
-
}
|
187
|
-
}
|
188
|
-
}
|
189
|
-
this.onNew(newItem, pInfo); // dojo/data/api/Notification call
|
190
|
-
return newItem; // item
|
191
|
-
},
|
192
|
-
|
193
|
-
_removeArrayElement: function(/* Array */ array, /* anything */ element){
|
194
|
-
var index = arrayUtil.indexOf(array, element);
|
195
|
-
if(index != -1){
|
196
|
-
array.splice(index, 1);
|
197
|
-
return true;
|
198
|
-
}
|
199
|
-
return false;
|
200
|
-
},
|
201
|
-
|
202
|
-
deleteItem: function(/* dojo/data/api/Item */ item){
|
203
|
-
// summary:
|
204
|
-
// See dojo/data/api/Write.deleteItem()
|
205
|
-
this._assert(!this._saveInProgress);
|
206
|
-
this._assertIsItem(item);
|
207
|
-
|
208
|
-
// Remove this item from the _arrayOfAllItems, but leave a null value in place
|
209
|
-
// of the item, so as not to change the length of the array, so that in newItem()
|
210
|
-
// we can still safely do: newIdentity = this._arrayOfAllItems.length;
|
211
|
-
var indexInArrayOfAllItems = item[this._itemNumPropName];
|
212
|
-
var identity = this.getIdentity(item);
|
213
|
-
|
214
|
-
//If we have reference integrity on, we need to do reference cleanup for the deleted item
|
215
|
-
if(this.referenceIntegrity){
|
216
|
-
//First scan all the attributes of this items for references and clean them up in the map
|
217
|
-
//As this item is going away, no need to track its references anymore.
|
218
|
-
|
219
|
-
//Get the attributes list before we generate the backup so it
|
220
|
-
//doesn't pollute the attributes list.
|
221
|
-
var attributes = this.getAttributes(item);
|
222
|
-
|
223
|
-
//Backup the map, we'll have to restore it potentially, in a revert.
|
224
|
-
if(item[this._reverseRefMap]){
|
225
|
-
item["backup_" + this._reverseRefMap] = lang.clone(item[this._reverseRefMap]);
|
226
|
-
}
|
227
|
-
|
228
|
-
//TODO: This causes a reversion problem. This list won't be restored on revert since it is
|
229
|
-
//attached to the 'value'. item, not ours. Need to back tese up somehow too.
|
230
|
-
//Maybe build a map of the backup of the entries and attach it to the deleted item to be restored
|
231
|
-
//later. Or just record them and call _addReferenceToMap on them in revert.
|
232
|
-
arrayUtil.forEach(attributes, function(attribute){
|
233
|
-
arrayUtil.forEach(this.getValues(item, attribute), function(value){
|
234
|
-
if(this.isItem(value)){
|
235
|
-
//We have to back up all the references we had to others so they can be restored on a revert.
|
236
|
-
if(!item["backupRefs_" + this._reverseRefMap]){
|
237
|
-
item["backupRefs_" + this._reverseRefMap] = [];
|
238
|
-
}
|
239
|
-
item["backupRefs_" + this._reverseRefMap].push({id: this.getIdentity(value), attr: attribute});
|
240
|
-
this._removeReferenceFromMap(value, item, attribute);
|
241
|
-
}
|
242
|
-
}, this);
|
243
|
-
}, this);
|
244
|
-
|
245
|
-
//Next, see if we have references to this item, if we do, we have to clean them up too.
|
246
|
-
var references = item[this._reverseRefMap];
|
247
|
-
if(references){
|
248
|
-
//Look through all the items noted as references to clean them up.
|
249
|
-
for(var itemId in references){
|
250
|
-
var containingItem = null;
|
251
|
-
if(this._itemsByIdentity){
|
252
|
-
containingItem = this._itemsByIdentity[itemId];
|
253
|
-
}else{
|
254
|
-
containingItem = this._arrayOfAllItems[itemId];
|
255
|
-
}
|
256
|
-
//We have a reference to a containing item, now we have to process the
|
257
|
-
//attributes and clear all references to the item being deleted.
|
258
|
-
if(containingItem){
|
259
|
-
for(var attribute in references[itemId]){
|
260
|
-
var oldValues = this.getValues(containingItem, attribute) || [];
|
261
|
-
var newValues = arrayUtil.filter(oldValues, function(possibleItem){
|
262
|
-
return !(this.isItem(possibleItem) && this.getIdentity(possibleItem) == identity);
|
263
|
-
}, this);
|
264
|
-
//Remove the note of the reference to the item and set the values on the modified attribute.
|
265
|
-
this._removeReferenceFromMap(item, containingItem, attribute);
|
266
|
-
if(newValues.length < oldValues.length){
|
267
|
-
this._setValueOrValues(containingItem, attribute, newValues, true);
|
268
|
-
}
|
269
|
-
}
|
270
|
-
}
|
271
|
-
}
|
272
|
-
}
|
273
|
-
}
|
274
|
-
|
275
|
-
this._arrayOfAllItems[indexInArrayOfAllItems] = null;
|
276
|
-
|
277
|
-
item[this._storeRefPropName] = null;
|
278
|
-
if(this._itemsByIdentity){
|
279
|
-
delete this._itemsByIdentity[identity];
|
280
|
-
}
|
281
|
-
this._pending._deletedItems[identity] = item;
|
282
|
-
|
283
|
-
//Remove from the toplevel items, if necessary...
|
284
|
-
if(item[this._rootItemPropName]){
|
285
|
-
this._removeArrayElement(this._arrayOfTopLevelItems, item);
|
286
|
-
}
|
287
|
-
this.onDelete(item); // dojo/data/api/Notification call
|
288
|
-
return true;
|
289
|
-
},
|
290
|
-
|
291
|
-
setValue: function(/* dojo/data/api/Item */ item, /* attribute-name-string */ attribute, /* almost anything */ value){
|
292
|
-
// summary:
|
293
|
-
// See dojo/data/api/Write.set()
|
294
|
-
return this._setValueOrValues(item, attribute, value, true); // boolean
|
295
|
-
},
|
296
|
-
|
297
|
-
setValues: function(/* dojo/data/api/Item */ item, /* attribute-name-string */ attribute, /* array */ values){
|
298
|
-
// summary:
|
299
|
-
// See dojo/data/api/Write.setValues()
|
300
|
-
return this._setValueOrValues(item, attribute, values, true); // boolean
|
301
|
-
},
|
302
|
-
|
303
|
-
unsetAttribute: function(/* dojo/data/api/Item */ item, /* attribute-name-string */ attribute){
|
304
|
-
// summary:
|
305
|
-
// See dojo/data/api/Write.unsetAttribute()
|
306
|
-
return this._setValueOrValues(item, attribute, [], true);
|
307
|
-
},
|
308
|
-
|
309
|
-
_setValueOrValues: function(/* dojo/data/api/Item */ item, /* attribute-name-string */ attribute, /* anything */ newValueOrValues, /*boolean?*/ callOnSet){
|
310
|
-
this._assert(!this._saveInProgress);
|
311
|
-
|
312
|
-
// Check for valid arguments
|
313
|
-
this._assertIsItem(item);
|
314
|
-
this._assert(lang.isString(attribute));
|
315
|
-
this._assert(typeof newValueOrValues !== "undefined");
|
316
|
-
|
317
|
-
// Make sure the user isn't trying to change the item's identity
|
318
|
-
var identifierAttribute = this._getIdentifierAttribute();
|
319
|
-
if(attribute == identifierAttribute){
|
320
|
-
throw new Error("ItemFileWriteStore does not have support for changing the value of an item's identifier.");
|
321
|
-
}
|
322
|
-
|
323
|
-
// To implement the Notification API, we need to make a note of what
|
324
|
-
// the old attribute value was, so that we can pass that info when
|
325
|
-
// we call the onSet method.
|
326
|
-
var oldValueOrValues = this._getValueOrValues(item, attribute);
|
327
|
-
|
328
|
-
var identity = this.getIdentity(item);
|
329
|
-
if(!this._pending._modifiedItems[identity]){
|
330
|
-
// Before we actually change the item, we make a copy of it to
|
331
|
-
// record the original state, so that we'll be able to revert if
|
332
|
-
// the revert method gets called. If the item has already been
|
333
|
-
// modified then there's no need to do this now, since we already
|
334
|
-
// have a record of the original state.
|
335
|
-
var copyOfItemState = {};
|
336
|
-
for(var key in item){
|
337
|
-
if((key === this._storeRefPropName) || (key === this._itemNumPropName) || (key === this._rootItemPropName)){
|
338
|
-
copyOfItemState[key] = item[key];
|
339
|
-
}else if(key === this._reverseRefMap){
|
340
|
-
copyOfItemState[key] = lang.clone(item[key]);
|
341
|
-
}else{
|
342
|
-
copyOfItemState[key] = item[key].slice(0, item[key].length);
|
343
|
-
}
|
344
|
-
}
|
345
|
-
// Now mark the item as dirty, and save the copy of the original state
|
346
|
-
this._pending._modifiedItems[identity] = copyOfItemState;
|
347
|
-
}
|
348
|
-
|
349
|
-
// Okay, now we can actually change this attribute on the item
|
350
|
-
var success = false;
|
351
|
-
|
352
|
-
if(lang.isArray(newValueOrValues) && newValueOrValues.length === 0){
|
353
|
-
|
354
|
-
// If we were passed an empty array as the value, that counts
|
355
|
-
// as "unsetting" the attribute, so we need to remove this
|
356
|
-
// attribute from the item.
|
357
|
-
success = delete item[attribute];
|
358
|
-
newValueOrValues = undefined; // used in the onSet Notification call below
|
359
|
-
|
360
|
-
if(this.referenceIntegrity && oldValueOrValues){
|
361
|
-
var oldValues = oldValueOrValues;
|
362
|
-
if(!lang.isArray(oldValues)){
|
363
|
-
oldValues = [oldValues];
|
364
|
-
}
|
365
|
-
for(var i = 0; i < oldValues.length; i++){
|
366
|
-
var value = oldValues[i];
|
367
|
-
if(this.isItem(value)){
|
368
|
-
this._removeReferenceFromMap(value, item, attribute);
|
369
|
-
}
|
370
|
-
}
|
371
|
-
}
|
372
|
-
}else{
|
373
|
-
var newValueArray;
|
374
|
-
if(lang.isArray(newValueOrValues)){
|
375
|
-
// Unfortunately, it's not safe to just do this:
|
376
|
-
// newValueArray = newValueOrValues;
|
377
|
-
// Instead, we need to copy the array, which slice() does very nicely.
|
378
|
-
// This is so that our internal data structure won't
|
379
|
-
// get corrupted if the user mucks with the values array *after*
|
380
|
-
// calling setValues().
|
381
|
-
newValueArray = newValueOrValues.slice(0, newValueOrValues.length);
|
382
|
-
}else{
|
383
|
-
newValueArray = [newValueOrValues];
|
384
|
-
}
|
385
|
-
|
386
|
-
//We need to handle reference integrity if this is on.
|
387
|
-
//In the case of set, we need to see if references were added or removed
|
388
|
-
//and update the reference tracking map accordingly.
|
389
|
-
if(this.referenceIntegrity){
|
390
|
-
if(oldValueOrValues){
|
391
|
-
var oldValues = oldValueOrValues;
|
392
|
-
if(!lang.isArray(oldValues)){
|
393
|
-
oldValues = [oldValues];
|
394
|
-
}
|
395
|
-
//Use an associative map to determine what was added/removed from the list.
|
396
|
-
//Should be O(n) performant. First look at all the old values and make a list of them
|
397
|
-
//Then for any item not in the old list, we add it. If it was already present, we remove it.
|
398
|
-
//Then we pass over the map and any references left it it need to be removed (IE, no match in
|
399
|
-
//the new values list).
|
400
|
-
var map = {};
|
401
|
-
arrayUtil.forEach(oldValues, function(possibleItem){
|
402
|
-
if(this.isItem(possibleItem)){
|
403
|
-
var id = this.getIdentity(possibleItem);
|
404
|
-
map[id.toString()] = true;
|
405
|
-
}
|
406
|
-
}, this);
|
407
|
-
arrayUtil.forEach(newValueArray, function(possibleItem){
|
408
|
-
if(this.isItem(possibleItem)){
|
409
|
-
var id = this.getIdentity(possibleItem);
|
410
|
-
if(map[id.toString()]){
|
411
|
-
delete map[id.toString()];
|
412
|
-
}else{
|
413
|
-
this._addReferenceToMap(possibleItem, item, attribute);
|
414
|
-
}
|
415
|
-
}
|
416
|
-
}, this);
|
417
|
-
for(var rId in map){
|
418
|
-
var removedItem;
|
419
|
-
if(this._itemsByIdentity){
|
420
|
-
removedItem = this._itemsByIdentity[rId];
|
421
|
-
}else{
|
422
|
-
removedItem = this._arrayOfAllItems[rId];
|
423
|
-
}
|
424
|
-
this._removeReferenceFromMap(removedItem, item, attribute);
|
425
|
-
}
|
426
|
-
}else{
|
427
|
-
//Everything is new (no old values) so we have to just
|
428
|
-
//insert all the references, if any.
|
429
|
-
for(var i = 0; i < newValueArray.length; i++){
|
430
|
-
var value = newValueArray[i];
|
431
|
-
if(this.isItem(value)){
|
432
|
-
this._addReferenceToMap(value, item, attribute);
|
433
|
-
}
|
434
|
-
}
|
435
|
-
}
|
436
|
-
}
|
437
|
-
item[attribute] = newValueArray;
|
438
|
-
success = true;
|
439
|
-
}
|
440
|
-
|
441
|
-
// Now we make the dojo/data/api/Notification call
|
442
|
-
if(callOnSet){
|
443
|
-
this.onSet(item, attribute, oldValueOrValues, newValueOrValues);
|
444
|
-
}
|
445
|
-
return success; // boolean
|
446
|
-
},
|
447
|
-
|
448
|
-
_addReferenceToMap: function(/* dojo/data/api/Item */ refItem, /* dojo/data/api/Item */ parentItem, /* string */ attribute){
|
449
|
-
// summary:
|
450
|
-
// Method to add an reference map entry for an item and attribute.
|
451
|
-
// description:
|
452
|
-
// Method to add an reference map entry for an item and attribute.
|
453
|
-
// refItem:
|
454
|
-
// The item that is referenced.
|
455
|
-
// parentItem:
|
456
|
-
// The item that holds the new reference to refItem.
|
457
|
-
// attribute:
|
458
|
-
// The attribute on parentItem that contains the new reference.
|
459
|
-
|
460
|
-
var parentId = this.getIdentity(parentItem);
|
461
|
-
var references = refItem[this._reverseRefMap];
|
462
|
-
|
463
|
-
if(!references){
|
464
|
-
references = refItem[this._reverseRefMap] = {};
|
465
|
-
}
|
466
|
-
var itemRef = references[parentId];
|
467
|
-
if(!itemRef){
|
468
|
-
itemRef = references[parentId] = {};
|
469
|
-
}
|
470
|
-
itemRef[attribute] = true;
|
471
|
-
},
|
472
|
-
|
473
|
-
_removeReferenceFromMap: function(/* dojo/data/api/Item */ refItem, /* dojo/data/api/Item */ parentItem, /* string */ attribute){
|
474
|
-
// summary:
|
475
|
-
// Method to remove an reference map entry for an item and attribute.
|
476
|
-
// description:
|
477
|
-
// Method to remove an reference map entry for an item and attribute. This will
|
478
|
-
// also perform cleanup on the map such that if there are no more references at all to
|
479
|
-
// the item, its reference object and entry are removed.
|
480
|
-
// refItem:
|
481
|
-
// The item that is referenced.
|
482
|
-
// parentItem:
|
483
|
-
// The item holding a reference to refItem.
|
484
|
-
// attribute:
|
485
|
-
// The attribute on parentItem that contains the reference.
|
486
|
-
var identity = this.getIdentity(parentItem);
|
487
|
-
var references = refItem[this._reverseRefMap];
|
488
|
-
var itemId;
|
489
|
-
if(references){
|
490
|
-
for(itemId in references){
|
491
|
-
if(itemId == identity){
|
492
|
-
delete references[itemId][attribute];
|
493
|
-
if(this._isEmpty(references[itemId])){
|
494
|
-
delete references[itemId];
|
495
|
-
}
|
496
|
-
}
|
497
|
-
}
|
498
|
-
if(this._isEmpty(references)){
|
499
|
-
delete refItem[this._reverseRefMap];
|
500
|
-
}
|
501
|
-
}
|
502
|
-
},
|
503
|
-
|
504
|
-
_dumpReferenceMap: function(){
|
505
|
-
// summary:
|
506
|
-
// Function to dump the reverse reference map of all items in the store for debug purposes.
|
507
|
-
// description:
|
508
|
-
// Function to dump the reverse reference map of all items in the store for debug purposes.
|
509
|
-
var i;
|
510
|
-
for(i = 0; i < this._arrayOfAllItems.length; i++){
|
511
|
-
var item = this._arrayOfAllItems[i];
|
512
|
-
if(item && item[this._reverseRefMap]){
|
513
|
-
console.log("Item: [" + this.getIdentity(item) + "] is referenced by: " + jsonUtil.toJson(item[this._reverseRefMap]));
|
514
|
-
}
|
515
|
-
}
|
516
|
-
},
|
517
|
-
|
518
|
-
_getValueOrValues: function(/* dojo/data/api/Item */ item, /* attribute-name-string */ attribute){
|
519
|
-
var valueOrValues = undefined;
|
520
|
-
if(this.hasAttribute(item, attribute)){
|
521
|
-
var valueArray = this.getValues(item, attribute);
|
522
|
-
if(valueArray.length == 1){
|
523
|
-
valueOrValues = valueArray[0];
|
524
|
-
}else{
|
525
|
-
valueOrValues = valueArray;
|
526
|
-
}
|
527
|
-
}
|
528
|
-
return valueOrValues;
|
529
|
-
},
|
530
|
-
|
531
|
-
_flatten: function(/* anything */ value){
|
532
|
-
if(this.isItem(value)){
|
533
|
-
// Given an item, return an serializable object that provides a
|
534
|
-
// reference to the item.
|
535
|
-
// For example, given kermit:
|
536
|
-
// var kermit = store.newItem({id:2, name:"Kermit"});
|
537
|
-
// we want to return
|
538
|
-
// {_reference:2}
|
539
|
-
return {_reference: this.getIdentity(value)};
|
540
|
-
}else{
|
541
|
-
if(typeof value === "object"){
|
542
|
-
for(var type in this._datatypeMap){
|
543
|
-
var typeMap = this._datatypeMap[type];
|
544
|
-
if(lang.isObject(typeMap) && !lang.isFunction(typeMap)){
|
545
|
-
if(value instanceof typeMap.type){
|
546
|
-
if(!typeMap.serialize){
|
547
|
-
throw new Error("ItemFileWriteStore: No serializer defined for type mapping: [" + type + "]");
|
548
|
-
}
|
549
|
-
return {_type: type, _value: typeMap.serialize(value)};
|
550
|
-
}
|
551
|
-
}else if(value instanceof typeMap){
|
552
|
-
//SImple mapping, therefore, return as a toString serialization.
|
553
|
-
return {_type: type, _value: value.toString()};
|
554
|
-
}
|
555
|
-
}
|
556
|
-
}
|
557
|
-
return value;
|
558
|
-
}
|
559
|
-
},
|
560
|
-
|
561
|
-
_getNewFileContentString: function(){
|
562
|
-
// summary:
|
563
|
-
// Generate a string that can be saved to a file.
|
564
|
-
// The result should look similar to:
|
565
|
-
// http://trac.dojotoolkit.org/browser/dojo/trunk/tests/data/countries.json
|
566
|
-
var serializableStructure = {};
|
567
|
-
|
568
|
-
var identifierAttribute = this._getIdentifierAttribute();
|
569
|
-
if(identifierAttribute !== Number){
|
570
|
-
serializableStructure.identifier = identifierAttribute;
|
571
|
-
}
|
572
|
-
if(this._labelAttr){
|
573
|
-
serializableStructure.label = this._labelAttr;
|
574
|
-
}
|
575
|
-
serializableStructure.items = [];
|
576
|
-
for(var i = 0; i < this._arrayOfAllItems.length; ++i){
|
577
|
-
var item = this._arrayOfAllItems[i];
|
578
|
-
if(item !== null){
|
579
|
-
var serializableItem = {};
|
580
|
-
for(var key in item){
|
581
|
-
if(key !== this._storeRefPropName && key !== this._itemNumPropName && key !== this._reverseRefMap && key !== this._rootItemPropName){
|
582
|
-
var valueArray = this.getValues(item, key);
|
583
|
-
if(valueArray.length == 1){
|
584
|
-
serializableItem[key] = this._flatten(valueArray[0]);
|
585
|
-
}else{
|
586
|
-
var serializableArray = [];
|
587
|
-
for(var j = 0; j < valueArray.length; ++j){
|
588
|
-
serializableArray.push(this._flatten(valueArray[j]));
|
589
|
-
serializableItem[key] = serializableArray;
|
590
|
-
}
|
591
|
-
}
|
592
|
-
}
|
593
|
-
}
|
594
|
-
serializableStructure.items.push(serializableItem);
|
595
|
-
}
|
596
|
-
}
|
597
|
-
var prettyPrint = true;
|
598
|
-
return jsonUtil.toJson(serializableStructure, prettyPrint);
|
599
|
-
},
|
600
|
-
|
601
|
-
_isEmpty: function(something){
|
602
|
-
// summary:
|
603
|
-
// Function to determine if an array or object has no properties or values.
|
604
|
-
// something:
|
605
|
-
// The array or object to examine.
|
606
|
-
var empty = true;
|
607
|
-
if(lang.isObject(something)){
|
608
|
-
var i;
|
609
|
-
for(i in something){
|
610
|
-
empty = false;
|
611
|
-
break;
|
612
|
-
}
|
613
|
-
}else if(lang.isArray(something)){
|
614
|
-
if(something.length > 0){
|
615
|
-
empty = false;
|
616
|
-
}
|
617
|
-
}
|
618
|
-
return empty; //boolean
|
619
|
-
},
|
620
|
-
|
621
|
-
save: function(/* object */ keywordArgs){
|
622
|
-
// summary:
|
623
|
-
// See dojo/data/api/Write.save()
|
624
|
-
this._assert(!this._saveInProgress);
|
625
|
-
|
626
|
-
// this._saveInProgress is set to true, briefly, from when save is first called to when it completes
|
627
|
-
this._saveInProgress = true;
|
628
|
-
|
629
|
-
var self = this;
|
630
|
-
var saveCompleteCallback = function(){
|
631
|
-
self._pending = {
|
632
|
-
_newItems:{},
|
633
|
-
_modifiedItems:{},
|
634
|
-
_deletedItems:{}
|
635
|
-
};
|
636
|
-
|
637
|
-
self._saveInProgress = false; // must come after this._pending is cleared, but before any callbacks
|
638
|
-
if(keywordArgs && keywordArgs.onComplete){
|
639
|
-
var scope = keywordArgs.scope || kernel.global;
|
640
|
-
keywordArgs.onComplete.call(scope);
|
641
|
-
}
|
642
|
-
};
|
643
|
-
var saveFailedCallback = function(err){
|
644
|
-
self._saveInProgress = false;
|
645
|
-
if(keywordArgs && keywordArgs.onError){
|
646
|
-
var scope = keywordArgs.scope || kernel.global;
|
647
|
-
keywordArgs.onError.call(scope, err);
|
648
|
-
}
|
649
|
-
};
|
650
|
-
|
651
|
-
if(this._saveEverything){
|
652
|
-
var newFileContentString = this._getNewFileContentString();
|
653
|
-
this._saveEverything(saveCompleteCallback, saveFailedCallback, newFileContentString);
|
654
|
-
}
|
655
|
-
if(this._saveCustom){
|
656
|
-
this._saveCustom(saveCompleteCallback, saveFailedCallback);
|
657
|
-
}
|
658
|
-
if(!this._saveEverything && !this._saveCustom){
|
659
|
-
// Looks like there is no user-defined save-handler function.
|
660
|
-
// That's fine, it just means the datastore is acting as a "mock-write"
|
661
|
-
// store -- changes get saved in memory but don't get saved to disk.
|
662
|
-
saveCompleteCallback();
|
663
|
-
}
|
664
|
-
},
|
665
|
-
|
666
|
-
revert: function(){
|
667
|
-
// summary:
|
668
|
-
// See dojo/data/api/Write.revert()
|
669
|
-
this._assert(!this._saveInProgress);
|
670
|
-
|
671
|
-
var identity;
|
672
|
-
for(identity in this._pending._modifiedItems){
|
673
|
-
// find the original item and the modified item that replaced it
|
674
|
-
var copyOfItemState = this._pending._modifiedItems[identity];
|
675
|
-
var modifiedItem = null;
|
676
|
-
if(this._itemsByIdentity){
|
677
|
-
modifiedItem = this._itemsByIdentity[identity];
|
678
|
-
}else{
|
679
|
-
modifiedItem = this._arrayOfAllItems[identity];
|
680
|
-
}
|
681
|
-
|
682
|
-
// Restore the original item into a full-fledged item again, we want to try to
|
683
|
-
// keep the same object instance as if we don't it, causes bugs like #9022.
|
684
|
-
copyOfItemState[this._storeRefPropName] = this;
|
685
|
-
for(var key in modifiedItem){
|
686
|
-
delete modifiedItem[key];
|
687
|
-
}
|
688
|
-
lang.mixin(modifiedItem, copyOfItemState);
|
689
|
-
}
|
690
|
-
var deletedItem;
|
691
|
-
for(identity in this._pending._deletedItems){
|
692
|
-
deletedItem = this._pending._deletedItems[identity];
|
693
|
-
deletedItem[this._storeRefPropName] = this;
|
694
|
-
var index = deletedItem[this._itemNumPropName];
|
695
|
-
|
696
|
-
//Restore the reverse refererence map, if any.
|
697
|
-
if(deletedItem["backup_" + this._reverseRefMap]){
|
698
|
-
deletedItem[this._reverseRefMap] = deletedItem["backup_" + this._reverseRefMap];
|
699
|
-
delete deletedItem["backup_" + this._reverseRefMap];
|
700
|
-
}
|
701
|
-
this._arrayOfAllItems[index] = deletedItem;
|
702
|
-
if(this._itemsByIdentity){
|
703
|
-
this._itemsByIdentity[identity] = deletedItem;
|
704
|
-
}
|
705
|
-
if(deletedItem[this._rootItemPropName]){
|
706
|
-
this._arrayOfTopLevelItems.push(deletedItem);
|
707
|
-
}
|
708
|
-
}
|
709
|
-
//We have to pass through it again and restore the reference maps after all the
|
710
|
-
//undeletes have occurred.
|
711
|
-
for(identity in this._pending._deletedItems){
|
712
|
-
deletedItem = this._pending._deletedItems[identity];
|
713
|
-
if(deletedItem["backupRefs_" + this._reverseRefMap]){
|
714
|
-
arrayUtil.forEach(deletedItem["backupRefs_" + this._reverseRefMap], function(reference){
|
715
|
-
var refItem;
|
716
|
-
if(this._itemsByIdentity){
|
717
|
-
refItem = this._itemsByIdentity[reference.id];
|
718
|
-
}else{
|
719
|
-
refItem = this._arrayOfAllItems[reference.id];
|
720
|
-
}
|
721
|
-
this._addReferenceToMap(refItem, deletedItem, reference.attr);
|
722
|
-
}, this);
|
723
|
-
delete deletedItem["backupRefs_" + this._reverseRefMap];
|
724
|
-
}
|
725
|
-
}
|
726
|
-
|
727
|
-
for(identity in this._pending._newItems){
|
728
|
-
var newItem = this._pending._newItems[identity];
|
729
|
-
newItem[this._storeRefPropName] = null;
|
730
|
-
// null out the new item, but don't change the array index so
|
731
|
-
// so we can keep using _arrayOfAllItems.length.
|
732
|
-
this._arrayOfAllItems[newItem[this._itemNumPropName]] = null;
|
733
|
-
if(newItem[this._rootItemPropName]){
|
734
|
-
this._removeArrayElement(this._arrayOfTopLevelItems, newItem);
|
735
|
-
}
|
736
|
-
if(this._itemsByIdentity){
|
737
|
-
delete this._itemsByIdentity[identity];
|
738
|
-
}
|
739
|
-
}
|
740
|
-
|
741
|
-
this._pending = {
|
742
|
-
_newItems:{},
|
743
|
-
_modifiedItems:{},
|
744
|
-
_deletedItems:{}
|
745
|
-
};
|
746
|
-
return true; // boolean
|
747
|
-
},
|
748
|
-
|
749
|
-
isDirty: function(/* item? */ item){
|
750
|
-
// summary:
|
751
|
-
// See dojo/data/api/Write.isDirty()
|
752
|
-
if(item){
|
753
|
-
// return true if the item is dirty
|
754
|
-
var identity = this.getIdentity(item);
|
755
|
-
return new Boolean(this._pending._newItems[identity] ||
|
756
|
-
this._pending._modifiedItems[identity] ||
|
757
|
-
this._pending._deletedItems[identity]).valueOf(); // boolean
|
758
|
-
}else{
|
759
|
-
// return true if the store is dirty -- which means return true
|
760
|
-
// if there are any new items, dirty items, or modified items
|
761
|
-
return !this._isEmpty(this._pending._newItems) ||
|
762
|
-
!this._isEmpty(this._pending._modifiedItems) ||
|
763
|
-
!this._isEmpty(this._pending._deletedItems); // boolean
|
764
|
-
}
|
765
|
-
},
|
766
|
-
|
767
|
-
/* dojo/data/api/Notification */
|
768
|
-
|
769
|
-
onSet: function(/* dojo/data/api/Item */ item,
|
770
|
-
/*attribute-name-string*/ attribute,
|
771
|
-
/*object|array*/ oldValue,
|
772
|
-
/*object|array*/ newValue){
|
773
|
-
// summary:
|
774
|
-
// See dojo/data/api/Notification.onSet()
|
775
|
-
|
776
|
-
// No need to do anything. This method is here just so that the
|
777
|
-
// client code can connect observers to it.
|
778
|
-
},
|
779
|
-
|
780
|
-
onNew: function(/* dojo/data/api/Item */ newItem, /*object?*/ parentInfo){
|
781
|
-
// summary:
|
782
|
-
// See dojo/data/api/Notification.onNew()
|
783
|
-
|
784
|
-
// No need to do anything. This method is here just so that the
|
785
|
-
// client code can connect observers to it.
|
786
|
-
},
|
787
|
-
|
788
|
-
onDelete: function(/* dojo/data/api/Item */ deletedItem){
|
789
|
-
// summary:
|
790
|
-
// See dojo/data/api/Notification.onDelete()
|
791
|
-
|
792
|
-
// No need to do anything. This method is here just so that the
|
793
|
-
// client code can connect observers to it.
|
794
|
-
},
|
795
|
-
|
796
|
-
close: function(/* object? */ request){
|
797
|
-
// summary:
|
798
|
-
// Over-ride of base close function of ItemFileReadStore to add in check for store state.
|
799
|
-
// description:
|
800
|
-
// Over-ride of base close function of ItemFileReadStore to add in check for store state.
|
801
|
-
// If the store is still dirty (unsaved changes), then an error will be thrown instead of
|
802
|
-
// clearing the internal state for reload from the url.
|
803
|
-
|
804
|
-
//Clear if not dirty ... or throw an error
|
805
|
-
if(this.clearOnClose){
|
806
|
-
if(!this.isDirty()){
|
807
|
-
this.inherited(arguments);
|
808
|
-
}else{
|
809
|
-
//Only throw an error if the store was dirty and we were loading from a url (cannot reload from url until state is saved).
|
810
|
-
throw new Error("dojo.data.ItemFileWriteStore: There are unsaved changes present in the store. Please save or revert the changes before invoking close.");
|
811
|
-
}
|
812
|
-
}
|
813
|
-
}
|
814
|
-
});
|
815
|
-
|
816
|
-
});
|