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.
Files changed (790) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +2 -0
  3. data/.rspec +1 -0
  4. data/CHANGELOG.md +11 -0
  5. data/CONTRIBUTING.md +31 -0
  6. data/Gemfile +3 -0
  7. data/README.md +82 -40
  8. data/Rakefile +6 -0
  9. data/app/helpers/dojo_helper.rb +23 -0
  10. data/dojo-rails.gemspec +12 -6
  11. data/lib/dojo/rails/version.rb +1 -1
  12. data/lib/dojo/version.rb +2 -2
  13. data/spec/dummy_app/Gemfile +38 -0
  14. data/spec/dummy_app/Rakefile +7 -0
  15. data/spec/dummy_app/app/assets/javascripts/application.js +15 -0
  16. data/spec/dummy_app/app/assets/stylesheets/application.css +13 -0
  17. data/spec/dummy_app/app/controllers/application_controller.rb +3 -0
  18. data/spec/dummy_app/app/helpers/application_helper.rb +2 -0
  19. data/spec/dummy_app/app/mailers/.gitkeep +0 -0
  20. data/spec/dummy_app/app/models/.gitkeep +0 -0
  21. data/spec/dummy_app/app/views/layouts/application.html.erb +14 -0
  22. data/spec/dummy_app/config.ru +4 -0
  23. data/spec/dummy_app/config/application.rb +62 -0
  24. data/spec/dummy_app/config/boot.rb +6 -0
  25. data/spec/dummy_app/config/database.yml +25 -0
  26. data/spec/dummy_app/config/environment.rb +5 -0
  27. data/spec/dummy_app/config/environments/development.rb +37 -0
  28. data/spec/dummy_app/config/environments/production.rb +67 -0
  29. data/spec/dummy_app/config/environments/test.rb +37 -0
  30. data/spec/dummy_app/config/initializers/backtrace_silencers.rb +7 -0
  31. data/spec/dummy_app/config/initializers/inflections.rb +15 -0
  32. data/spec/dummy_app/config/initializers/mime_types.rb +5 -0
  33. data/spec/dummy_app/config/initializers/secret_token.rb +7 -0
  34. data/spec/dummy_app/config/initializers/session_store.rb +8 -0
  35. data/spec/dummy_app/config/initializers/wrap_parameters.rb +14 -0
  36. data/spec/dummy_app/config/locales/en.yml +5 -0
  37. data/spec/dummy_app/config/routes.rb +58 -0
  38. data/spec/dummy_app/db/seeds.rb +7 -0
  39. data/spec/dummy_app/lib/assets/.gitkeep +0 -0
  40. data/spec/dummy_app/lib/tasks/.gitkeep +0 -0
  41. data/spec/dummy_app/log/.gitkeep +0 -0
  42. data/spec/dummy_app/public/404.html +26 -0
  43. data/spec/dummy_app/public/422.html +26 -0
  44. data/spec/dummy_app/public/500.html +25 -0
  45. data/spec/dummy_app/public/favicon.ico +0 -0
  46. data/spec/dummy_app/public/index.html +241 -0
  47. data/spec/dummy_app/public/robots.txt +5 -0
  48. data/spec/dummy_app/script/rails +6 -0
  49. data/spec/helpers/dojo_helper_spec.rb +23 -0
  50. data/spec/spec_helper.rb +13 -0
  51. data/vendor/assets/{javascripts/dojo → images}/_firebug/errorIcon.png +0 -0
  52. data/vendor/assets/{javascripts/dojo → images}/_firebug/infoIcon.png +0 -0
  53. data/vendor/assets/{javascripts/dojo → images}/_firebug/tab_lft_norm.png +0 -0
  54. data/vendor/assets/{javascripts/dojo → images}/_firebug/tab_lft_over.png +0 -0
  55. data/vendor/assets/{javascripts/dojo → images}/_firebug/tab_rgt_norm.png +0 -0
  56. data/vendor/assets/images/_firebug/tab_rgt_over.png +0 -0
  57. data/vendor/assets/{javascripts/dojo → images}/_firebug/warningIcon.png +0 -0
  58. data/vendor/assets/images/resources/blank.gif +0 -0
  59. data/vendor/assets/images/resources/images/dndCopy.png +0 -0
  60. data/vendor/assets/images/resources/images/dndMove.png +0 -0
  61. data/vendor/assets/images/resources/images/dndNoCopy.png +0 -0
  62. data/vendor/assets/images/resources/images/dndNoMove.png +0 -0
  63. data/vendor/assets/javascripts/dojo.js +231 -7
  64. data/vendor/assets/javascripts/dojo/AdapterRegistry.js +1 -1
  65. data/vendor/assets/javascripts/dojo/Deferred.js +14 -8
  66. data/vendor/assets/javascripts/dojo/DeferredList.js +1 -1
  67. data/vendor/assets/javascripts/dojo/Evented.js +1 -1
  68. data/vendor/assets/javascripts/dojo/NodeList-data.js +1 -1
  69. data/vendor/assets/javascripts/dojo/NodeList-dom.js +1 -1
  70. data/vendor/assets/javascripts/dojo/NodeList-fx.js +1 -1
  71. data/vendor/assets/javascripts/dojo/NodeList-html.js +1 -1
  72. data/vendor/assets/javascripts/dojo/NodeList-manipulate.js +1 -1
  73. data/vendor/assets/javascripts/dojo/NodeList-traverse.js +1 -1
  74. data/vendor/assets/javascripts/dojo/NodeList.js +1 -1
  75. data/vendor/assets/javascripts/dojo/Stateful.js +2 -2
  76. data/vendor/assets/javascripts/dojo/_base/Color.js +1 -1
  77. data/vendor/assets/javascripts/dojo/_base/Deferred.js +1 -1
  78. data/vendor/assets/javascripts/dojo/_base/NodeList.js +1 -1
  79. data/vendor/assets/javascripts/dojo/_base/array.js +1 -1
  80. data/vendor/assets/javascripts/dojo/_base/browser.js +1 -1
  81. data/vendor/assets/javascripts/dojo/_base/config.js +1 -1
  82. data/vendor/assets/javascripts/dojo/_base/connect.js +1 -1
  83. data/vendor/assets/javascripts/dojo/_base/declare.js +1 -1
  84. data/vendor/assets/javascripts/dojo/_base/event.js +1 -1
  85. data/vendor/assets/javascripts/dojo/_base/fx.js +1 -1
  86. data/vendor/assets/javascripts/dojo/_base/html.js +1 -1
  87. data/vendor/assets/javascripts/dojo/_base/json.js +1 -1
  88. data/vendor/assets/javascripts/dojo/_base/kernel.js +3 -3
  89. data/vendor/assets/javascripts/dojo/_base/lang.js +1 -1
  90. data/vendor/assets/javascripts/dojo/_base/loader.js +1 -1
  91. data/vendor/assets/javascripts/dojo/_base/query.js +1 -1
  92. data/vendor/assets/javascripts/dojo/_base/sniff.js +1 -1
  93. data/vendor/assets/javascripts/dojo/_base/unload.js +1 -1
  94. data/vendor/assets/javascripts/dojo/_base/url.js +1 -1
  95. data/vendor/assets/javascripts/dojo/_base/window.js +1 -1
  96. data/vendor/assets/javascripts/dojo/_base/xhr.js +9 -1
  97. data/vendor/assets/javascripts/dojo/_firebug/firebug.js +1 -1
  98. data/vendor/assets/javascripts/dojo/aspect.js +43 -41
  99. data/vendor/assets/javascripts/dojo/back.js +1 -1
  100. data/vendor/assets/javascripts/dojo/behavior.js +1 -1
  101. data/vendor/assets/javascripts/dojo/cache.js +1 -1
  102. data/vendor/assets/javascripts/dojo/cldr/monetary.js +1 -1
  103. data/vendor/assets/javascripts/dojo/cldr/nls/ar/buddhist.js +2 -2
  104. data/vendor/assets/javascripts/dojo/cldr/nls/ar/currency.js +2 -2
  105. data/vendor/assets/javascripts/dojo/cldr/nls/ar/gregorian.js +2 -2
  106. data/vendor/assets/javascripts/dojo/cldr/nls/ar/hebrew.js +2 -2
  107. data/vendor/assets/javascripts/dojo/cldr/nls/ar/islamic.js +2 -2
  108. data/vendor/assets/javascripts/dojo/cldr/nls/ar/number.js +2 -2
  109. data/vendor/assets/javascripts/dojo/cldr/nls/buddhist.js +2 -2
  110. data/vendor/assets/javascripts/dojo/cldr/nls/ca/buddhist.js +8 -0
  111. data/vendor/assets/javascripts/dojo/cldr/nls/ca/currency.js +2 -2
  112. data/vendor/assets/javascripts/dojo/cldr/nls/ca/gregorian.js +2 -2
  113. data/vendor/assets/javascripts/dojo/cldr/nls/ca/number.js +2 -2
  114. data/vendor/assets/javascripts/dojo/cldr/nls/cs/buddhist.js +2 -2
  115. data/vendor/assets/javascripts/dojo/cldr/nls/cs/currency.js +2 -2
  116. data/vendor/assets/javascripts/dojo/cldr/nls/cs/gregorian.js +2 -2
  117. data/vendor/assets/javascripts/dojo/cldr/nls/cs/islamic.js +2 -2
  118. data/vendor/assets/javascripts/dojo/cldr/nls/cs/number.js +2 -2
  119. data/vendor/assets/javascripts/dojo/cldr/nls/currency.js +2 -2
  120. data/vendor/assets/javascripts/dojo/cldr/nls/da/buddhist.js +2 -2
  121. data/vendor/assets/javascripts/dojo/cldr/nls/da/currency.js +2 -2
  122. data/vendor/assets/javascripts/dojo/cldr/nls/da/gregorian.js +2 -2
  123. data/vendor/assets/javascripts/dojo/cldr/nls/da/islamic.js +2 -2
  124. data/vendor/assets/javascripts/dojo/cldr/nls/da/number.js +2 -2
  125. data/vendor/assets/javascripts/dojo/cldr/nls/de/buddhist.js +2 -2
  126. data/vendor/assets/javascripts/dojo/cldr/nls/de/currency.js +2 -2
  127. data/vendor/assets/javascripts/dojo/cldr/nls/de/gregorian.js +2 -2
  128. data/vendor/assets/javascripts/dojo/cldr/nls/de/islamic.js +2 -2
  129. data/vendor/assets/javascripts/dojo/cldr/nls/de/number.js +2 -2
  130. data/vendor/assets/javascripts/dojo/cldr/nls/el/buddhist.js +2 -2
  131. data/vendor/assets/javascripts/dojo/cldr/nls/el/currency.js +2 -2
  132. data/vendor/assets/javascripts/dojo/cldr/nls/el/gregorian.js +2 -2
  133. data/vendor/assets/javascripts/dojo/cldr/nls/el/hebrew.js +2 -2
  134. data/vendor/assets/javascripts/dojo/cldr/nls/el/number.js +2 -2
  135. data/vendor/assets/javascripts/dojo/cldr/nls/en-au/currency.js +1 -1
  136. data/vendor/assets/javascripts/dojo/cldr/nls/en-au/gregorian.js +2 -2
  137. data/vendor/assets/javascripts/dojo/cldr/nls/en-au/number.js +1 -1
  138. data/vendor/assets/javascripts/dojo/cldr/nls/en-ca/currency.js +1 -1
  139. data/vendor/assets/javascripts/dojo/cldr/nls/en-ca/gregorian.js +2 -2
  140. data/vendor/assets/javascripts/dojo/cldr/nls/en-gb/buddhist.js +2 -2
  141. data/vendor/assets/javascripts/dojo/cldr/nls/en-gb/currency.js +8 -0
  142. data/vendor/assets/javascripts/dojo/cldr/nls/en-gb/gregorian.js +2 -2
  143. data/vendor/assets/javascripts/dojo/cldr/nls/en-gb/islamic.js +2 -2
  144. data/vendor/assets/javascripts/dojo/cldr/nls/en-gb/number.js +2 -2
  145. data/vendor/assets/javascripts/dojo/cldr/nls/en/buddhist.js +2 -2
  146. data/vendor/assets/javascripts/dojo/cldr/nls/en/currency.js +2 -2
  147. data/vendor/assets/javascripts/dojo/cldr/nls/en/gregorian.js +2 -2
  148. data/vendor/assets/javascripts/dojo/cldr/nls/en/islamic.js +2 -2
  149. data/vendor/assets/javascripts/dojo/cldr/nls/en/number.js +2 -2
  150. data/vendor/assets/javascripts/dojo/cldr/nls/es/buddhist.js +2 -2
  151. data/vendor/assets/javascripts/dojo/cldr/nls/es/currency.js +2 -2
  152. data/vendor/assets/javascripts/dojo/cldr/nls/es/gregorian.js +2 -2
  153. data/vendor/assets/javascripts/dojo/cldr/nls/es/islamic.js +2 -2
  154. data/vendor/assets/javascripts/dojo/cldr/nls/es/number.js +2 -2
  155. data/vendor/assets/javascripts/dojo/cldr/nls/fi/buddhist.js +2 -2
  156. data/vendor/assets/javascripts/dojo/cldr/nls/fi/currency.js +2 -2
  157. data/vendor/assets/javascripts/dojo/cldr/nls/fi/gregorian.js +2 -2
  158. data/vendor/assets/javascripts/dojo/cldr/nls/fi/hebrew.js +2 -2
  159. data/vendor/assets/javascripts/dojo/cldr/nls/fi/islamic.js +2 -2
  160. data/vendor/assets/javascripts/dojo/cldr/nls/fi/number.js +2 -2
  161. data/vendor/assets/javascripts/dojo/cldr/nls/fr-ch/gregorian.js +2 -2
  162. data/vendor/assets/javascripts/dojo/cldr/nls/fr-ch/number.js +2 -2
  163. data/vendor/assets/javascripts/dojo/cldr/nls/fr/buddhist.js +2 -2
  164. data/vendor/assets/javascripts/dojo/cldr/nls/fr/currency.js +2 -2
  165. data/vendor/assets/javascripts/dojo/cldr/nls/fr/gregorian.js +2 -2
  166. data/vendor/assets/javascripts/dojo/cldr/nls/fr/hebrew.js +2 -2
  167. data/vendor/assets/javascripts/dojo/cldr/nls/fr/islamic.js +2 -2
  168. data/vendor/assets/javascripts/dojo/cldr/nls/fr/number.js +2 -2
  169. data/vendor/assets/javascripts/dojo/cldr/nls/gregorian.js +2 -2
  170. data/vendor/assets/javascripts/dojo/cldr/nls/he/currency.js +2 -2
  171. data/vendor/assets/javascripts/dojo/cldr/nls/he/gregorian.js +2 -2
  172. data/vendor/assets/javascripts/dojo/cldr/nls/he/hebrew.js +2 -2
  173. data/vendor/assets/javascripts/dojo/cldr/nls/he/islamic.js +2 -2
  174. data/vendor/assets/javascripts/dojo/cldr/nls/he/number.js +2 -2
  175. data/vendor/assets/javascripts/dojo/cldr/nls/hebrew.js +2 -2
  176. data/vendor/assets/javascripts/dojo/cldr/nls/hu/buddhist.js +2 -2
  177. data/vendor/assets/javascripts/dojo/cldr/nls/hu/currency.js +2 -2
  178. data/vendor/assets/javascripts/dojo/cldr/nls/hu/gregorian.js +2 -2
  179. data/vendor/assets/javascripts/dojo/cldr/nls/hu/hebrew.js +2 -2
  180. data/vendor/assets/javascripts/dojo/cldr/nls/hu/islamic.js +2 -2
  181. data/vendor/assets/javascripts/dojo/cldr/nls/hu/number.js +2 -2
  182. data/vendor/assets/javascripts/dojo/cldr/nls/islamic.js +2 -2
  183. data/vendor/assets/javascripts/dojo/cldr/nls/it/buddhist.js +2 -2
  184. data/vendor/assets/javascripts/dojo/cldr/nls/it/currency.js +2 -2
  185. data/vendor/assets/javascripts/dojo/cldr/nls/it/gregorian.js +2 -2
  186. data/vendor/assets/javascripts/dojo/cldr/nls/it/islamic.js +2 -2
  187. data/vendor/assets/javascripts/dojo/cldr/nls/it/number.js +2 -2
  188. data/vendor/assets/javascripts/dojo/cldr/nls/ja/buddhist.js +2 -2
  189. data/vendor/assets/javascripts/dojo/cldr/nls/ja/currency.js +2 -2
  190. data/vendor/assets/javascripts/dojo/cldr/nls/ja/gregorian.js +2 -2
  191. data/vendor/assets/javascripts/dojo/cldr/nls/ja/hebrew.js +2 -2
  192. data/vendor/assets/javascripts/dojo/cldr/nls/ja/islamic.js +2 -2
  193. data/vendor/assets/javascripts/dojo/cldr/nls/ja/number.js +2 -2
  194. data/vendor/assets/javascripts/dojo/cldr/nls/ko/buddhist.js +2 -2
  195. data/vendor/assets/javascripts/dojo/cldr/nls/ko/currency.js +2 -2
  196. data/vendor/assets/javascripts/dojo/cldr/nls/ko/gregorian.js +2 -2
  197. data/vendor/assets/javascripts/dojo/cldr/nls/ko/number.js +2 -2
  198. data/vendor/assets/javascripts/dojo/cldr/nls/nb/buddhist.js +2 -2
  199. data/vendor/assets/javascripts/dojo/cldr/nls/nb/currency.js +2 -2
  200. data/vendor/assets/javascripts/dojo/cldr/nls/nb/gregorian.js +2 -2
  201. data/vendor/assets/javascripts/dojo/cldr/nls/nb/islamic.js +2 -2
  202. data/vendor/assets/javascripts/dojo/cldr/nls/nb/number.js +2 -2
  203. data/vendor/assets/javascripts/dojo/cldr/nls/nl/buddhist.js +2 -2
  204. data/vendor/assets/javascripts/dojo/cldr/nls/nl/currency.js +2 -2
  205. data/vendor/assets/javascripts/dojo/cldr/nls/nl/gregorian.js +2 -2
  206. data/vendor/assets/javascripts/dojo/cldr/nls/nl/hebrew.js +2 -2
  207. data/vendor/assets/javascripts/dojo/cldr/nls/nl/islamic.js +2 -2
  208. data/vendor/assets/javascripts/dojo/cldr/nls/nl/number.js +2 -2
  209. data/vendor/assets/javascripts/dojo/cldr/nls/number.js +2 -2
  210. data/vendor/assets/javascripts/dojo/cldr/nls/pl/buddhist.js +2 -2
  211. data/vendor/assets/javascripts/dojo/cldr/nls/pl/currency.js +2 -2
  212. data/vendor/assets/javascripts/dojo/cldr/nls/pl/gregorian.js +2 -2
  213. data/vendor/assets/javascripts/dojo/cldr/nls/pl/hebrew.js +2 -2
  214. data/vendor/assets/javascripts/dojo/cldr/nls/pl/islamic.js +2 -2
  215. data/vendor/assets/javascripts/dojo/cldr/nls/pl/number.js +2 -2
  216. data/vendor/assets/javascripts/dojo/cldr/nls/pt-pt/buddhist.js +2 -2
  217. data/vendor/assets/javascripts/dojo/cldr/nls/pt-pt/currency.js +1 -1
  218. data/vendor/assets/javascripts/dojo/cldr/nls/pt-pt/gregorian.js +2 -2
  219. data/vendor/assets/javascripts/dojo/cldr/nls/pt-pt/islamic.js +2 -2
  220. data/vendor/assets/javascripts/dojo/cldr/nls/pt-pt/number.js +2 -2
  221. data/vendor/assets/javascripts/dojo/cldr/nls/pt/buddhist.js +2 -2
  222. data/vendor/assets/javascripts/dojo/cldr/nls/pt/currency.js +2 -2
  223. data/vendor/assets/javascripts/dojo/cldr/nls/pt/gregorian.js +2 -2
  224. data/vendor/assets/javascripts/dojo/cldr/nls/pt/hebrew.js +2 -2
  225. data/vendor/assets/javascripts/dojo/cldr/nls/pt/islamic.js +2 -2
  226. data/vendor/assets/javascripts/dojo/cldr/nls/pt/number.js +2 -2
  227. data/vendor/assets/javascripts/dojo/cldr/nls/ro/buddhist.js +2 -2
  228. data/vendor/assets/javascripts/dojo/cldr/nls/ro/currency.js +2 -2
  229. data/vendor/assets/javascripts/dojo/cldr/nls/ro/gregorian.js +2 -2
  230. data/vendor/assets/javascripts/dojo/cldr/nls/ro/hebrew.js +2 -2
  231. data/vendor/assets/javascripts/dojo/cldr/nls/ro/islamic.js +2 -2
  232. data/vendor/assets/javascripts/dojo/cldr/nls/ro/number.js +2 -2
  233. data/vendor/assets/javascripts/dojo/cldr/nls/ru/buddhist.js +2 -2
  234. data/vendor/assets/javascripts/dojo/cldr/nls/ru/currency.js +2 -2
  235. data/vendor/assets/javascripts/dojo/cldr/nls/ru/gregorian.js +2 -2
  236. data/vendor/assets/javascripts/dojo/cldr/nls/ru/hebrew.js +2 -2
  237. data/vendor/assets/javascripts/dojo/cldr/nls/ru/islamic.js +2 -2
  238. data/vendor/assets/javascripts/dojo/cldr/nls/ru/number.js +2 -2
  239. data/vendor/assets/javascripts/dojo/cldr/nls/sk/currency.js +2 -2
  240. data/vendor/assets/javascripts/dojo/cldr/nls/sk/gregorian.js +2 -2
  241. data/vendor/assets/javascripts/dojo/cldr/nls/sk/number.js +2 -2
  242. data/vendor/assets/javascripts/dojo/cldr/nls/sl/currency.js +2 -2
  243. data/vendor/assets/javascripts/dojo/cldr/nls/sl/gregorian.js +2 -2
  244. data/vendor/assets/javascripts/dojo/cldr/nls/sl/number.js +2 -2
  245. data/vendor/assets/javascripts/dojo/cldr/nls/sv/buddhist.js +2 -2
  246. data/vendor/assets/javascripts/dojo/cldr/nls/sv/currency.js +2 -2
  247. data/vendor/assets/javascripts/dojo/cldr/nls/sv/gregorian.js +2 -2
  248. data/vendor/assets/javascripts/dojo/cldr/nls/sv/hebrew.js +2 -2
  249. data/vendor/assets/javascripts/dojo/cldr/nls/sv/islamic.js +2 -2
  250. data/vendor/assets/javascripts/dojo/cldr/nls/sv/number.js +2 -2
  251. data/vendor/assets/javascripts/dojo/cldr/nls/th/buddhist.js +2 -2
  252. data/vendor/assets/javascripts/dojo/cldr/nls/th/currency.js +2 -2
  253. data/vendor/assets/javascripts/dojo/cldr/nls/th/gregorian.js +2 -2
  254. data/vendor/assets/javascripts/dojo/cldr/nls/th/hebrew.js +2 -2
  255. data/vendor/assets/javascripts/dojo/cldr/nls/th/islamic.js +2 -2
  256. data/vendor/assets/javascripts/dojo/cldr/nls/th/number.js +2 -2
  257. data/vendor/assets/javascripts/dojo/cldr/nls/tr/buddhist.js +2 -2
  258. data/vendor/assets/javascripts/dojo/cldr/nls/tr/currency.js +2 -2
  259. data/vendor/assets/javascripts/dojo/cldr/nls/tr/gregorian.js +2 -2
  260. data/vendor/assets/javascripts/dojo/cldr/nls/tr/hebrew.js +2 -2
  261. data/vendor/assets/javascripts/dojo/cldr/nls/tr/islamic.js +2 -2
  262. data/vendor/assets/javascripts/dojo/cldr/nls/tr/number.js +2 -2
  263. data/vendor/assets/javascripts/dojo/cldr/nls/zh-hant/buddhist.js +2 -2
  264. data/vendor/assets/javascripts/dojo/cldr/nls/zh-hant/currency.js +2 -2
  265. data/vendor/assets/javascripts/dojo/cldr/nls/zh-hant/gregorian.js +2 -2
  266. data/vendor/assets/javascripts/dojo/cldr/nls/zh-hant/hebrew.js +2 -2
  267. data/vendor/assets/javascripts/dojo/cldr/nls/zh-hant/islamic.js +2 -2
  268. data/vendor/assets/javascripts/dojo/cldr/nls/zh-hant/number.js +2 -2
  269. data/vendor/assets/javascripts/dojo/cldr/nls/zh-hk/currency.js +2 -2
  270. data/vendor/assets/javascripts/dojo/cldr/nls/zh-hk/gregorian.js +2 -2
  271. data/vendor/assets/javascripts/dojo/cldr/nls/zh-hk/number.js +2 -2
  272. data/vendor/assets/javascripts/dojo/cldr/nls/zh-tw/currency.js +2 -2
  273. data/vendor/assets/javascripts/dojo/cldr/nls/zh-tw/gregorian.js +2 -2
  274. data/vendor/assets/javascripts/dojo/cldr/nls/zh-tw/number.js +2 -2
  275. data/vendor/assets/javascripts/dojo/cldr/nls/zh/buddhist.js +2 -2
  276. data/vendor/assets/javascripts/dojo/cldr/nls/zh/currency.js +2 -2
  277. data/vendor/assets/javascripts/dojo/cldr/nls/zh/gregorian.js +2 -2
  278. data/vendor/assets/javascripts/dojo/cldr/nls/zh/hebrew.js +2 -2
  279. data/vendor/assets/javascripts/dojo/cldr/nls/zh/islamic.js +2 -2
  280. data/vendor/assets/javascripts/dojo/cldr/nls/zh/number.js +2 -2
  281. data/vendor/assets/javascripts/dojo/cldr/supplemental.js +1 -1
  282. data/vendor/assets/javascripts/dojo/colors.js +1 -1
  283. data/vendor/assets/javascripts/dojo/cookie.js +1 -1
  284. data/vendor/assets/javascripts/dojo/currency.js +1 -1
  285. data/vendor/assets/javascripts/dojo/data/ItemFileReadStore.js +1 -1
  286. data/vendor/assets/javascripts/dojo/data/ItemFileWriteStore.js +1 -1
  287. data/vendor/assets/javascripts/dojo/data/ObjectStore.js +1 -1
  288. data/vendor/assets/javascripts/dojo/data/api/Identity.js +1 -1
  289. data/vendor/assets/javascripts/dojo/data/api/Item.js +1 -1
  290. data/vendor/assets/javascripts/dojo/data/api/Notification.js +1 -1
  291. data/vendor/assets/javascripts/dojo/data/api/Read.js +1 -1
  292. data/vendor/assets/javascripts/dojo/data/api/Request.js +1 -1
  293. data/vendor/assets/javascripts/dojo/data/api/Write.js +1 -1
  294. data/vendor/assets/javascripts/dojo/data/util/filter.js +1 -1
  295. data/vendor/assets/javascripts/dojo/data/util/simpleFetch.js +1 -1
  296. data/vendor/assets/javascripts/dojo/data/util/sorter.js +1 -1
  297. data/vendor/assets/javascripts/dojo/date.js +1 -1
  298. data/vendor/assets/javascripts/dojo/date/locale.js +2 -2
  299. data/vendor/assets/javascripts/dojo/date/stamp.js +1 -1
  300. data/vendor/assets/javascripts/dojo/dnd/AutoSource.js +1 -1
  301. data/vendor/assets/javascripts/dojo/dnd/Avatar.js +1 -1
  302. data/vendor/assets/javascripts/dojo/dnd/Container.js +1 -1
  303. data/vendor/assets/javascripts/dojo/dnd/Manager.js +1 -1
  304. data/vendor/assets/javascripts/dojo/dnd/Moveable.js +1 -1
  305. data/vendor/assets/javascripts/dojo/dnd/Mover.js +1 -1
  306. data/vendor/assets/javascripts/dojo/dnd/Selector.js +1 -1
  307. data/vendor/assets/javascripts/dojo/dnd/Source.js +1 -1
  308. data/vendor/assets/javascripts/dojo/dnd/Target.js +1 -1
  309. data/vendor/assets/javascripts/dojo/dnd/TimedMoveable.js +1 -1
  310. data/vendor/assets/javascripts/dojo/dnd/autoscroll.js +1 -1
  311. data/vendor/assets/javascripts/dojo/dnd/common.js +2 -3
  312. data/vendor/assets/javascripts/dojo/dnd/move.js +2 -2
  313. data/vendor/assets/javascripts/dojo/dojo.js +2 -2
  314. data/vendor/assets/javascripts/dojo/dom-attr.js +1 -1
  315. data/vendor/assets/javascripts/dojo/dom-class.js +1 -1
  316. data/vendor/assets/javascripts/dojo/dom-construct.js +71 -66
  317. data/vendor/assets/javascripts/dojo/dom-form.js +1 -1
  318. data/vendor/assets/javascripts/dojo/dom-geometry.js +2 -2
  319. data/vendor/assets/javascripts/dojo/dom-prop.js +1 -1
  320. data/vendor/assets/javascripts/dojo/dom-style.js +3 -3
  321. data/vendor/assets/javascripts/dojo/dom.js +44 -30
  322. data/vendor/assets/javascripts/dojo/domReady.js +1 -1
  323. data/vendor/assets/javascripts/dojo/errors/CancelError.js +1 -1
  324. data/vendor/assets/javascripts/dojo/errors/RequestError.js +1 -1
  325. data/vendor/assets/javascripts/dojo/errors/RequestTimeoutError.js +1 -1
  326. data/vendor/assets/javascripts/dojo/errors/create.js +1 -1
  327. data/vendor/assets/javascripts/dojo/fx.js +1 -1
  328. data/vendor/assets/javascripts/dojo/fx/Toggler.js +1 -1
  329. data/vendor/assets/javascripts/dojo/fx/easing.js +1 -1
  330. data/vendor/assets/javascripts/dojo/gears.js +1 -1
  331. data/vendor/assets/javascripts/dojo/has.js +2 -2
  332. data/vendor/assets/javascripts/dojo/hash.js +1 -1
  333. data/vendor/assets/javascripts/dojo/hccss.js +16 -12
  334. data/vendor/assets/javascripts/dojo/html.js +4 -2
  335. data/vendor/assets/javascripts/dojo/i18n.js +1 -1
  336. data/vendor/assets/javascripts/dojo/io-query.js +1 -1
  337. data/vendor/assets/javascripts/dojo/io/iframe.js +3 -3
  338. data/vendor/assets/javascripts/dojo/io/script.js +81 -58
  339. data/vendor/assets/javascripts/dojo/jaxer.js +1 -1
  340. data/vendor/assets/javascripts/dojo/json.js +1 -1
  341. data/vendor/assets/javascripts/dojo/keys.js +1 -1
  342. data/vendor/assets/javascripts/dojo/loadInit.js +1 -1
  343. data/vendor/assets/javascripts/dojo/main.js +1 -1
  344. data/vendor/assets/javascripts/dojo/mouse.js +2 -2
  345. data/vendor/assets/javascripts/dojo/nls/ar/colors.js +1 -1
  346. data/vendor/assets/javascripts/dojo/nls/az/colors.js +1 -1
  347. data/vendor/assets/javascripts/dojo/nls/ca/colors.js +1 -1
  348. data/vendor/assets/javascripts/dojo/nls/colors.js +1 -1
  349. data/vendor/assets/javascripts/dojo/nls/cs/colors.js +1 -1
  350. data/vendor/assets/javascripts/dojo/nls/da/colors.js +1 -1
  351. data/vendor/assets/javascripts/dojo/nls/de/colors.js +1 -1
  352. data/vendor/assets/javascripts/dojo/nls/el/colors.js +1 -1
  353. data/vendor/assets/javascripts/dojo/nls/es/colors.js +1 -1
  354. data/vendor/assets/javascripts/dojo/nls/fi/colors.js +1 -1
  355. data/vendor/assets/javascripts/dojo/nls/fr/colors.js +1 -1
  356. data/vendor/assets/javascripts/dojo/nls/he/colors.js +2 -2
  357. data/vendor/assets/javascripts/dojo/nls/hr/colors.js +1 -1
  358. data/vendor/assets/javascripts/dojo/nls/hu/colors.js +1 -1
  359. data/vendor/assets/javascripts/dojo/nls/it/colors.js +1 -1
  360. data/vendor/assets/javascripts/dojo/nls/ja/colors.js +1 -1
  361. data/vendor/assets/javascripts/dojo/nls/kk/colors.js +1 -1
  362. data/vendor/assets/javascripts/dojo/nls/ko/colors.js +1 -1
  363. data/vendor/assets/javascripts/dojo/nls/nb/colors.js +1 -1
  364. data/vendor/assets/javascripts/dojo/nls/nl/colors.js +1 -1
  365. data/vendor/assets/javascripts/dojo/nls/pl/colors.js +1 -1
  366. data/vendor/assets/javascripts/dojo/nls/pt-pt/colors.js +1 -1
  367. data/vendor/assets/javascripts/dojo/nls/pt/colors.js +1 -1
  368. data/vendor/assets/javascripts/dojo/nls/ro/colors.js +1 -1
  369. data/vendor/assets/javascripts/dojo/nls/ru/colors.js +1 -1
  370. data/vendor/assets/javascripts/dojo/nls/sk/colors.js +1 -1
  371. data/vendor/assets/javascripts/dojo/nls/sl/colors.js +1 -1
  372. data/vendor/assets/javascripts/dojo/nls/sv/colors.js +1 -1
  373. data/vendor/assets/javascripts/dojo/nls/th/colors.js +2 -2
  374. data/vendor/assets/javascripts/dojo/nls/tr/colors.js +1 -1
  375. data/vendor/assets/javascripts/dojo/nls/zh-tw/colors.js +1 -1
  376. data/vendor/assets/javascripts/dojo/nls/zh/colors.js +1 -1
  377. data/vendor/assets/javascripts/dojo/node.js +18 -3
  378. data/vendor/assets/javascripts/dojo/number.js +7 -2
  379. data/vendor/assets/javascripts/dojo/on.js +12 -8
  380. data/vendor/assets/javascripts/dojo/package.json +1 -1
  381. data/vendor/assets/javascripts/dojo/parser.js +264 -264
  382. data/vendor/assets/javascripts/dojo/promise/Promise.js +1 -1
  383. data/vendor/assets/javascripts/dojo/promise/all.js +1 -1
  384. data/vendor/assets/javascripts/dojo/promise/first.js +1 -1
  385. data/vendor/assets/javascripts/dojo/promise/instrumentation.js +3 -1
  386. data/vendor/assets/javascripts/dojo/promise/tracer.js +1 -1
  387. data/vendor/assets/javascripts/dojo/query.js +1 -1
  388. data/vendor/assets/javascripts/dojo/ready.js +3 -3
  389. data/vendor/assets/javascripts/dojo/regexp.js +1 -1
  390. data/vendor/assets/javascripts/dojo/request.js +1 -1
  391. data/vendor/assets/javascripts/dojo/request/default.js +1 -1
  392. data/vendor/assets/javascripts/dojo/request/handlers.js +30 -24
  393. data/vendor/assets/javascripts/dojo/request/iframe.js +8 -7
  394. data/vendor/assets/javascripts/dojo/request/node.js +6 -1
  395. data/vendor/assets/javascripts/dojo/request/notify.js +17 -17
  396. data/vendor/assets/javascripts/dojo/request/registry.js +1 -1
  397. data/vendor/assets/javascripts/dojo/request/script.js +47 -44
  398. data/vendor/assets/javascripts/dojo/request/util.js +79 -71
  399. data/vendor/assets/javascripts/dojo/request/watch.js +2 -2
  400. data/vendor/assets/javascripts/dojo/request/xhr.js +36 -34
  401. data/vendor/assets/javascripts/dojo/require.js +1 -1
  402. data/vendor/assets/javascripts/dojo/router.js +1 -1
  403. data/vendor/assets/javascripts/dojo/router/RouterBase.js +1 -1
  404. data/vendor/assets/javascripts/dojo/rpc/JsonService.js +1 -1
  405. data/vendor/assets/javascripts/dojo/rpc/JsonpService.js +1 -1
  406. data/vendor/assets/javascripts/dojo/rpc/RpcService.js +1 -1
  407. data/vendor/assets/javascripts/dojo/selector/_loader.js +1 -1
  408. data/vendor/assets/javascripts/dojo/selector/acme.js +2 -2
  409. data/vendor/assets/javascripts/dojo/selector/lite.js +1 -1
  410. data/vendor/assets/javascripts/dojo/sniff.js +1 -1
  411. data/vendor/assets/javascripts/dojo/store/Cache.js +2 -1
  412. data/vendor/assets/javascripts/dojo/store/DataStore.js +1 -1
  413. data/vendor/assets/javascripts/dojo/store/JsonRest.js +1 -1
  414. data/vendor/assets/javascripts/dojo/store/Memory.js +1 -1
  415. data/vendor/assets/javascripts/dojo/store/Observable.js +2 -2
  416. data/vendor/assets/javascripts/dojo/store/api/Store.js +1 -1
  417. data/vendor/assets/javascripts/dojo/store/util/QueryResults.js +1 -1
  418. data/vendor/assets/javascripts/dojo/store/util/SimpleQueryEngine.js +1 -1
  419. data/vendor/assets/javascripts/dojo/string.js +1 -1
  420. data/vendor/assets/javascripts/dojo/text.js +1 -1
  421. data/vendor/assets/javascripts/dojo/topic.js +1 -1
  422. data/vendor/assets/javascripts/dojo/touch.js +55 -30
  423. data/vendor/assets/javascripts/dojo/uacss.js +10 -2
  424. data/vendor/assets/javascripts/dojo/when.js +3 -3
  425. data/vendor/assets/javascripts/dojo/window.js +98 -77
  426. data/vendor/assets/stylesheets/_firebug/firebug.css +208 -0
  427. data/vendor/assets/stylesheets/resources/dnd.css +14 -0
  428. data/vendor/assets/stylesheets/resources/dojo.css +98 -0
  429. metadata +204 -396
  430. data/LICENSE +0 -19
  431. data/TODO.md +0 -18
  432. data/vendor/assets/javascripts/dojo/AdapterRegistry.js.uncompressed.js +0 -106
  433. data/vendor/assets/javascripts/dojo/Deferred.js.uncompressed.js +0 -314
  434. data/vendor/assets/javascripts/dojo/DeferredList.js.uncompressed.js +0 -84
  435. data/vendor/assets/javascripts/dojo/Evented.js.uncompressed.js +0 -35
  436. data/vendor/assets/javascripts/dojo/LICENSE +0 -195
  437. data/vendor/assets/javascripts/dojo/NodeList-data.js.uncompressed.js +0 -192
  438. data/vendor/assets/javascripts/dojo/NodeList-dom.js.uncompressed.js +0 -509
  439. data/vendor/assets/javascripts/dojo/NodeList-fx.js.uncompressed.js +0 -221
  440. data/vendor/assets/javascripts/dojo/NodeList-html.js.uncompressed.js +0 -53
  441. data/vendor/assets/javascripts/dojo/NodeList-manipulate.js.uncompressed.js +0 -724
  442. data/vendor/assets/javascripts/dojo/NodeList-traverse.js.uncompressed.js +0 -503
  443. data/vendor/assets/javascripts/dojo/NodeList.js.uncompressed.js +0 -6
  444. data/vendor/assets/javascripts/dojo/Stateful.js.uncompressed.js +0 -213
  445. data/vendor/assets/javascripts/dojo/_base/Color.js.uncompressed.js +0 -214
  446. data/vendor/assets/javascripts/dojo/_base/Deferred.js.uncompressed.js +0 -349
  447. data/vendor/assets/javascripts/dojo/_base/NodeList.js.uncompressed.js +0 -110
  448. data/vendor/assets/javascripts/dojo/_base/array.js.uncompressed.js +0 -343
  449. data/vendor/assets/javascripts/dojo/_base/browser.js.uncompressed.js +0 -28
  450. data/vendor/assets/javascripts/dojo/_base/config.js.uncompressed.js +0 -187
  451. data/vendor/assets/javascripts/dojo/_base/connect.js.uncompressed.js +0 -374
  452. data/vendor/assets/javascripts/dojo/_base/declare.js.uncompressed.js +0 -1045
  453. data/vendor/assets/javascripts/dojo/_base/event.js.uncompressed.js +0 -59
  454. data/vendor/assets/javascripts/dojo/_base/fx.js.uncompressed.js +0 -670
  455. data/vendor/assets/javascripts/dojo/_base/html.js.uncompressed.js +0 -392
  456. data/vendor/assets/javascripts/dojo/_base/json.js.uncompressed.js +0 -91
  457. data/vendor/assets/javascripts/dojo/_base/kernel.js.uncompressed.js +0 -299
  458. data/vendor/assets/javascripts/dojo/_base/lang.js.uncompressed.js +0 -605
  459. data/vendor/assets/javascripts/dojo/_base/loader.js.uncompressed.js +0 -776
  460. data/vendor/assets/javascripts/dojo/_base/query.js.uncompressed.js +0 -13
  461. data/vendor/assets/javascripts/dojo/_base/sniff.js.uncompressed.js +0 -96
  462. data/vendor/assets/javascripts/dojo/_base/unload.js.uncompressed.js +0 -82
  463. data/vendor/assets/javascripts/dojo/_base/url.js.uncompressed.js +0 -109
  464. data/vendor/assets/javascripts/dojo/_base/window.js.uncompressed.js +0 -134
  465. data/vendor/assets/javascripts/dojo/_base/xhr.js.uncompressed.js +0 -705
  466. data/vendor/assets/javascripts/dojo/_firebug/firebug.js.uncompressed.js +0 -1191
  467. data/vendor/assets/javascripts/dojo/aspect.js.uncompressed.js +0 -219
  468. data/vendor/assets/javascripts/dojo/back.js.uncompressed.js +0 -397
  469. data/vendor/assets/javascripts/dojo/behavior.js.uncompressed.js +0 -249
  470. data/vendor/assets/javascripts/dojo/cache.js.uncompressed.js +0 -7
  471. data/vendor/assets/javascripts/dojo/cldr/monetary.js.uncompressed.js +0 -40
  472. data/vendor/assets/javascripts/dojo/cldr/nls/ar/buddhist.js.uncompressed.js +0 -130
  473. data/vendor/assets/javascripts/dojo/cldr/nls/ar/currency.js.uncompressed.js +0 -16
  474. data/vendor/assets/javascripts/dojo/cldr/nls/ar/gregorian.js.uncompressed.js +0 -256
  475. data/vendor/assets/javascripts/dojo/cldr/nls/ar/hebrew.js.uncompressed.js +0 -141
  476. data/vendor/assets/javascripts/dojo/cldr/nls/ar/islamic.js.uncompressed.js +0 -188
  477. data/vendor/assets/javascripts/dojo/cldr/nls/ar/number.js.uncompressed.js +0 -19
  478. data/vendor/assets/javascripts/dojo/cldr/nls/buddhist.js.uncompressed.js +0 -268
  479. data/vendor/assets/javascripts/dojo/cldr/nls/ca/currency.js.uncompressed.js +0 -15
  480. data/vendor/assets/javascripts/dojo/cldr/nls/ca/gregorian.js.uncompressed.js +0 -250
  481. data/vendor/assets/javascripts/dojo/cldr/nls/ca/number.js.uncompressed.js +0 -21
  482. data/vendor/assets/javascripts/dojo/cldr/nls/cs/buddhist.js.uncompressed.js +0 -170
  483. data/vendor/assets/javascripts/dojo/cldr/nls/cs/currency.js.uncompressed.js +0 -15
  484. data/vendor/assets/javascripts/dojo/cldr/nls/cs/gregorian.js.uncompressed.js +0 -242
  485. data/vendor/assets/javascripts/dojo/cldr/nls/cs/islamic.js.uncompressed.js +0 -99
  486. data/vendor/assets/javascripts/dojo/cldr/nls/cs/number.js.uncompressed.js +0 -21
  487. data/vendor/assets/javascripts/dojo/cldr/nls/currency.js.uncompressed.js +0 -49
  488. data/vendor/assets/javascripts/dojo/cldr/nls/da/buddhist.js.uncompressed.js +0 -143
  489. data/vendor/assets/javascripts/dojo/cldr/nls/da/currency.js.uncompressed.js +0 -16
  490. data/vendor/assets/javascripts/dojo/cldr/nls/da/gregorian.js.uncompressed.js +0 -255
  491. data/vendor/assets/javascripts/dojo/cldr/nls/da/islamic.js.uncompressed.js +0 -91
  492. data/vendor/assets/javascripts/dojo/cldr/nls/da/number.js.uncompressed.js +0 -21
  493. data/vendor/assets/javascripts/dojo/cldr/nls/de/buddhist.js.uncompressed.js +0 -142
  494. data/vendor/assets/javascripts/dojo/cldr/nls/de/currency.js.uncompressed.js +0 -17
  495. data/vendor/assets/javascripts/dojo/cldr/nls/de/gregorian.js.uncompressed.js +0 -255
  496. data/vendor/assets/javascripts/dojo/cldr/nls/de/islamic.js.uncompressed.js +0 -92
  497. data/vendor/assets/javascripts/dojo/cldr/nls/de/number.js.uncompressed.js +0 -21
  498. data/vendor/assets/javascripts/dojo/cldr/nls/el/buddhist.js.uncompressed.js +0 -194
  499. data/vendor/assets/javascripts/dojo/cldr/nls/el/currency.js.uncompressed.js +0 -16
  500. data/vendor/assets/javascripts/dojo/cldr/nls/el/gregorian.js.uncompressed.js +0 -258
  501. data/vendor/assets/javascripts/dojo/cldr/nls/el/hebrew.js.uncompressed.js +0 -114
  502. data/vendor/assets/javascripts/dojo/cldr/nls/el/number.js.uncompressed.js +0 -20
  503. data/vendor/assets/javascripts/dojo/cldr/nls/en-au/currency.js.uncompressed.js +0 -8
  504. data/vendor/assets/javascripts/dojo/cldr/nls/en-au/gregorian.js.uncompressed.js +0 -24
  505. data/vendor/assets/javascripts/dojo/cldr/nls/en-au/number.js.uncompressed.js +0 -7
  506. data/vendor/assets/javascripts/dojo/cldr/nls/en-ca/currency.js.uncompressed.js +0 -8
  507. data/vendor/assets/javascripts/dojo/cldr/nls/en-ca/gregorian.js.uncompressed.js +0 -22
  508. data/vendor/assets/javascripts/dojo/cldr/nls/en-gb/buddhist.js.uncompressed.js +0 -106
  509. data/vendor/assets/javascripts/dojo/cldr/nls/en-gb/gregorian.js.uncompressed.js +0 -27
  510. data/vendor/assets/javascripts/dojo/cldr/nls/en-gb/islamic.js.uncompressed.js +0 -66
  511. data/vendor/assets/javascripts/dojo/cldr/nls/en-gb/number.js.uncompressed.js +0 -7
  512. data/vendor/assets/javascripts/dojo/cldr/nls/en/buddhist.js.uncompressed.js +0 -114
  513. data/vendor/assets/javascripts/dojo/cldr/nls/en/currency.js.uncompressed.js +0 -17
  514. data/vendor/assets/javascripts/dojo/cldr/nls/en/gregorian.js.uncompressed.js +0 -243
  515. data/vendor/assets/javascripts/dojo/cldr/nls/en/islamic.js.uncompressed.js +0 -79
  516. data/vendor/assets/javascripts/dojo/cldr/nls/en/number.js.uncompressed.js +0 -21
  517. data/vendor/assets/javascripts/dojo/cldr/nls/es/buddhist.js.uncompressed.js +0 -151
  518. data/vendor/assets/javascripts/dojo/cldr/nls/es/currency.js.uncompressed.js +0 -16
  519. data/vendor/assets/javascripts/dojo/cldr/nls/es/gregorian.js.uncompressed.js +0 -259
  520. data/vendor/assets/javascripts/dojo/cldr/nls/es/islamic.js.uncompressed.js +0 -108
  521. data/vendor/assets/javascripts/dojo/cldr/nls/es/number.js.uncompressed.js +0 -21
  522. data/vendor/assets/javascripts/dojo/cldr/nls/fi/buddhist.js.uncompressed.js +0 -214
  523. data/vendor/assets/javascripts/dojo/cldr/nls/fi/currency.js.uncompressed.js +0 -17
  524. data/vendor/assets/javascripts/dojo/cldr/nls/fi/gregorian.js.uncompressed.js +0 -258
  525. data/vendor/assets/javascripts/dojo/cldr/nls/fi/hebrew.js.uncompressed.js +0 -211
  526. data/vendor/assets/javascripts/dojo/cldr/nls/fi/islamic.js.uncompressed.js +0 -191
  527. data/vendor/assets/javascripts/dojo/cldr/nls/fi/number.js.uncompressed.js +0 -21
  528. data/vendor/assets/javascripts/dojo/cldr/nls/fr-ch/gregorian.js.uncompressed.js +0 -9
  529. data/vendor/assets/javascripts/dojo/cldr/nls/fr-ch/number.js.uncompressed.js +0 -9
  530. data/vendor/assets/javascripts/dojo/cldr/nls/fr/buddhist.js.uncompressed.js +0 -160
  531. data/vendor/assets/javascripts/dojo/cldr/nls/fr/currency.js.uncompressed.js +0 -22
  532. data/vendor/assets/javascripts/dojo/cldr/nls/fr/gregorian.js.uncompressed.js +0 -261
  533. data/vendor/assets/javascripts/dojo/cldr/nls/fr/hebrew.js.uncompressed.js +0 -139
  534. data/vendor/assets/javascripts/dojo/cldr/nls/fr/islamic.js.uncompressed.js +0 -177
  535. data/vendor/assets/javascripts/dojo/cldr/nls/fr/number.js.uncompressed.js +0 -21
  536. data/vendor/assets/javascripts/dojo/cldr/nls/gregorian.js.uncompressed.js +0 -296
  537. data/vendor/assets/javascripts/dojo/cldr/nls/he/currency.js.uncompressed.js +0 -15
  538. data/vendor/assets/javascripts/dojo/cldr/nls/he/gregorian.js.uncompressed.js +0 -241
  539. data/vendor/assets/javascripts/dojo/cldr/nls/he/hebrew.js.uncompressed.js +0 -168
  540. data/vendor/assets/javascripts/dojo/cldr/nls/he/islamic.js.uncompressed.js +0 -135
  541. data/vendor/assets/javascripts/dojo/cldr/nls/he/number.js.uncompressed.js +0 -21
  542. data/vendor/assets/javascripts/dojo/cldr/nls/hebrew.js.uncompressed.js +0 -271
  543. data/vendor/assets/javascripts/dojo/cldr/nls/hu/buddhist.js.uncompressed.js +0 -209
  544. data/vendor/assets/javascripts/dojo/cldr/nls/hu/currency.js.uncompressed.js +0 -17
  545. data/vendor/assets/javascripts/dojo/cldr/nls/hu/gregorian.js.uncompressed.js +0 -250
  546. data/vendor/assets/javascripts/dojo/cldr/nls/hu/hebrew.js.uncompressed.js +0 -187
  547. data/vendor/assets/javascripts/dojo/cldr/nls/hu/islamic.js.uncompressed.js +0 -199
  548. data/vendor/assets/javascripts/dojo/cldr/nls/hu/number.js.uncompressed.js +0 -20
  549. data/vendor/assets/javascripts/dojo/cldr/nls/islamic.js.uncompressed.js +0 -269
  550. data/vendor/assets/javascripts/dojo/cldr/nls/it/buddhist.js.uncompressed.js +0 -192
  551. data/vendor/assets/javascripts/dojo/cldr/nls/it/currency.js.uncompressed.js +0 -15
  552. data/vendor/assets/javascripts/dojo/cldr/nls/it/gregorian.js.uncompressed.js +0 -250
  553. data/vendor/assets/javascripts/dojo/cldr/nls/it/islamic.js.uncompressed.js +0 -104
  554. data/vendor/assets/javascripts/dojo/cldr/nls/it/number.js.uncompressed.js +0 -18
  555. data/vendor/assets/javascripts/dojo/cldr/nls/ja/buddhist.js.uncompressed.js +0 -101
  556. data/vendor/assets/javascripts/dojo/cldr/nls/ja/currency.js.uncompressed.js +0 -18
  557. data/vendor/assets/javascripts/dojo/cldr/nls/ja/gregorian.js.uncompressed.js +0 -242
  558. data/vendor/assets/javascripts/dojo/cldr/nls/ja/hebrew.js.uncompressed.js +0 -168
  559. data/vendor/assets/javascripts/dojo/cldr/nls/ja/islamic.js.uncompressed.js +0 -128
  560. data/vendor/assets/javascripts/dojo/cldr/nls/ja/number.js.uncompressed.js +0 -14
  561. data/vendor/assets/javascripts/dojo/cldr/nls/ko/buddhist.js.uncompressed.js +0 -127
  562. data/vendor/assets/javascripts/dojo/cldr/nls/ko/currency.js.uncompressed.js +0 -15
  563. data/vendor/assets/javascripts/dojo/cldr/nls/ko/gregorian.js.uncompressed.js +0 -259
  564. data/vendor/assets/javascripts/dojo/cldr/nls/ko/number.js.uncompressed.js +0 -21
  565. data/vendor/assets/javascripts/dojo/cldr/nls/nb/buddhist.js.uncompressed.js +0 -206
  566. data/vendor/assets/javascripts/dojo/cldr/nls/nb/currency.js.uncompressed.js +0 -15
  567. data/vendor/assets/javascripts/dojo/cldr/nls/nb/gregorian.js.uncompressed.js +0 -257
  568. data/vendor/assets/javascripts/dojo/cldr/nls/nb/islamic.js.uncompressed.js +0 -133
  569. data/vendor/assets/javascripts/dojo/cldr/nls/nb/number.js.uncompressed.js +0 -21
  570. data/vendor/assets/javascripts/dojo/cldr/nls/nl/buddhist.js.uncompressed.js +0 -133
  571. data/vendor/assets/javascripts/dojo/cldr/nls/nl/currency.js.uncompressed.js +0 -15
  572. data/vendor/assets/javascripts/dojo/cldr/nls/nl/gregorian.js.uncompressed.js +0 -251
  573. data/vendor/assets/javascripts/dojo/cldr/nls/nl/hebrew.js.uncompressed.js +0 -123
  574. data/vendor/assets/javascripts/dojo/cldr/nls/nl/islamic.js.uncompressed.js +0 -163
  575. data/vendor/assets/javascripts/dojo/cldr/nls/nl/number.js.uncompressed.js +0 -21
  576. data/vendor/assets/javascripts/dojo/cldr/nls/number.js.uncompressed.js +0 -62
  577. data/vendor/assets/javascripts/dojo/cldr/nls/pl/buddhist.js.uncompressed.js +0 -203
  578. data/vendor/assets/javascripts/dojo/cldr/nls/pl/currency.js.uncompressed.js +0 -15
  579. data/vendor/assets/javascripts/dojo/cldr/nls/pl/gregorian.js.uncompressed.js +0 -262
  580. data/vendor/assets/javascripts/dojo/cldr/nls/pl/hebrew.js.uncompressed.js +0 -166
  581. data/vendor/assets/javascripts/dojo/cldr/nls/pl/islamic.js.uncompressed.js +0 -196
  582. data/vendor/assets/javascripts/dojo/cldr/nls/pl/number.js.uncompressed.js +0 -21
  583. data/vendor/assets/javascripts/dojo/cldr/nls/pt-pt/buddhist.js.uncompressed.js +0 -127
  584. data/vendor/assets/javascripts/dojo/cldr/nls/pt-pt/currency.js.uncompressed.js +0 -8
  585. data/vendor/assets/javascripts/dojo/cldr/nls/pt-pt/gregorian.js.uncompressed.js +0 -157
  586. data/vendor/assets/javascripts/dojo/cldr/nls/pt-pt/islamic.js.uncompressed.js +0 -82
  587. data/vendor/assets/javascripts/dojo/cldr/nls/pt-pt/number.js.uncompressed.js +0 -9
  588. data/vendor/assets/javascripts/dojo/cldr/nls/pt/buddhist.js.uncompressed.js +0 -130
  589. data/vendor/assets/javascripts/dojo/cldr/nls/pt/currency.js.uncompressed.js +0 -15
  590. data/vendor/assets/javascripts/dojo/cldr/nls/pt/gregorian.js.uncompressed.js +0 -256
  591. data/vendor/assets/javascripts/dojo/cldr/nls/pt/hebrew.js.uncompressed.js +0 -137
  592. data/vendor/assets/javascripts/dojo/cldr/nls/pt/islamic.js.uncompressed.js +0 -101
  593. data/vendor/assets/javascripts/dojo/cldr/nls/pt/number.js.uncompressed.js +0 -21
  594. data/vendor/assets/javascripts/dojo/cldr/nls/ro/buddhist.js.uncompressed.js +0 -207
  595. data/vendor/assets/javascripts/dojo/cldr/nls/ro/currency.js.uncompressed.js +0 -16
  596. data/vendor/assets/javascripts/dojo/cldr/nls/ro/gregorian.js.uncompressed.js +0 -262
  597. data/vendor/assets/javascripts/dojo/cldr/nls/ro/hebrew.js.uncompressed.js +0 -169
  598. data/vendor/assets/javascripts/dojo/cldr/nls/ro/islamic.js.uncompressed.js +0 -117
  599. data/vendor/assets/javascripts/dojo/cldr/nls/ro/number.js.uncompressed.js +0 -21
  600. data/vendor/assets/javascripts/dojo/cldr/nls/ru/buddhist.js.uncompressed.js +0 -203
  601. data/vendor/assets/javascripts/dojo/cldr/nls/ru/currency.js.uncompressed.js +0 -17
  602. data/vendor/assets/javascripts/dojo/cldr/nls/ru/gregorian.js.uncompressed.js +0 -261
  603. data/vendor/assets/javascripts/dojo/cldr/nls/ru/hebrew.js.uncompressed.js +0 -169
  604. data/vendor/assets/javascripts/dojo/cldr/nls/ru/islamic.js.uncompressed.js +0 -197
  605. data/vendor/assets/javascripts/dojo/cldr/nls/ru/number.js.uncompressed.js +0 -21
  606. data/vendor/assets/javascripts/dojo/cldr/nls/sk/currency.js.uncompressed.js +0 -15
  607. data/vendor/assets/javascripts/dojo/cldr/nls/sk/gregorian.js.uncompressed.js +0 -249
  608. data/vendor/assets/javascripts/dojo/cldr/nls/sk/number.js.uncompressed.js +0 -12
  609. data/vendor/assets/javascripts/dojo/cldr/nls/sl/currency.js.uncompressed.js +0 -17
  610. data/vendor/assets/javascripts/dojo/cldr/nls/sl/gregorian.js.uncompressed.js +0 -241
  611. data/vendor/assets/javascripts/dojo/cldr/nls/sl/number.js.uncompressed.js +0 -21
  612. data/vendor/assets/javascripts/dojo/cldr/nls/sv/buddhist.js.uncompressed.js +0 -209
  613. data/vendor/assets/javascripts/dojo/cldr/nls/sv/currency.js.uncompressed.js +0 -16
  614. data/vendor/assets/javascripts/dojo/cldr/nls/sv/gregorian.js.uncompressed.js +0 -257
  615. data/vendor/assets/javascripts/dojo/cldr/nls/sv/hebrew.js.uncompressed.js +0 -167
  616. data/vendor/assets/javascripts/dojo/cldr/nls/sv/islamic.js.uncompressed.js +0 -189
  617. data/vendor/assets/javascripts/dojo/cldr/nls/sv/number.js.uncompressed.js +0 -21
  618. data/vendor/assets/javascripts/dojo/cldr/nls/th/buddhist.js.uncompressed.js +0 -144
  619. data/vendor/assets/javascripts/dojo/cldr/nls/th/currency.js.uncompressed.js +0 -16
  620. data/vendor/assets/javascripts/dojo/cldr/nls/th/gregorian.js.uncompressed.js +0 -255
  621. data/vendor/assets/javascripts/dojo/cldr/nls/th/hebrew.js.uncompressed.js +0 -139
  622. data/vendor/assets/javascripts/dojo/cldr/nls/th/islamic.js.uncompressed.js +0 -134
  623. data/vendor/assets/javascripts/dojo/cldr/nls/th/number.js.uncompressed.js +0 -21
  624. data/vendor/assets/javascripts/dojo/cldr/nls/tr/buddhist.js.uncompressed.js +0 -203
  625. data/vendor/assets/javascripts/dojo/cldr/nls/tr/currency.js.uncompressed.js +0 -17
  626. data/vendor/assets/javascripts/dojo/cldr/nls/tr/gregorian.js.uncompressed.js +0 -253
  627. data/vendor/assets/javascripts/dojo/cldr/nls/tr/hebrew.js.uncompressed.js +0 -161
  628. data/vendor/assets/javascripts/dojo/cldr/nls/tr/islamic.js.uncompressed.js +0 -181
  629. data/vendor/assets/javascripts/dojo/cldr/nls/tr/number.js.uncompressed.js +0 -21
  630. data/vendor/assets/javascripts/dojo/cldr/nls/zh-hant/buddhist.js.uncompressed.js +0 -192
  631. data/vendor/assets/javascripts/dojo/cldr/nls/zh-hant/currency.js.uncompressed.js +0 -17
  632. data/vendor/assets/javascripts/dojo/cldr/nls/zh-hant/gregorian.js.uncompressed.js +0 -226
  633. data/vendor/assets/javascripts/dojo/cldr/nls/zh-hant/hebrew.js.uncompressed.js +0 -182
  634. data/vendor/assets/javascripts/dojo/cldr/nls/zh-hant/islamic.js.uncompressed.js +0 -186
  635. data/vendor/assets/javascripts/dojo/cldr/nls/zh-hant/number.js.uncompressed.js +0 -9
  636. data/vendor/assets/javascripts/dojo/cldr/nls/zh-hk/currency.js.uncompressed.js +0 -15
  637. data/vendor/assets/javascripts/dojo/cldr/nls/zh-hk/gregorian.js.uncompressed.js +0 -82
  638. data/vendor/assets/javascripts/dojo/cldr/nls/zh-hk/number.js.uncompressed.js +0 -7
  639. data/vendor/assets/javascripts/dojo/cldr/nls/zh-tw/currency.js.uncompressed.js +0 -15
  640. data/vendor/assets/javascripts/dojo/cldr/nls/zh-tw/gregorian.js.uncompressed.js +0 -82
  641. data/vendor/assets/javascripts/dojo/cldr/nls/zh-tw/number.js.uncompressed.js +0 -7
  642. data/vendor/assets/javascripts/dojo/cldr/nls/zh/buddhist.js.uncompressed.js +0 -205
  643. data/vendor/assets/javascripts/dojo/cldr/nls/zh/currency.js.uncompressed.js +0 -16
  644. data/vendor/assets/javascripts/dojo/cldr/nls/zh/gregorian.js.uncompressed.js +0 -264
  645. data/vendor/assets/javascripts/dojo/cldr/nls/zh/hebrew.js.uncompressed.js +0 -181
  646. data/vendor/assets/javascripts/dojo/cldr/nls/zh/islamic.js.uncompressed.js +0 -137
  647. data/vendor/assets/javascripts/dojo/cldr/nls/zh/number.js.uncompressed.js +0 -13
  648. data/vendor/assets/javascripts/dojo/cldr/supplemental.js.uncompressed.js +0 -84
  649. data/vendor/assets/javascripts/dojo/colors.js.uncompressed.js +0 -232
  650. data/vendor/assets/javascripts/dojo/cookie.js.uncompressed.js +0 -98
  651. data/vendor/assets/javascripts/dojo/currency.js.uncompressed.js +0 -130
  652. data/vendor/assets/javascripts/dojo/data/ItemFileReadStore.js.uncompressed.js +0 -951
  653. data/vendor/assets/javascripts/dojo/data/ItemFileWriteStore.js.uncompressed.js +0 -816
  654. data/vendor/assets/javascripts/dojo/data/ObjectStore.js.uncompressed.js +0 -544
  655. data/vendor/assets/javascripts/dojo/data/api/Identity.js.uncompressed.js +0 -109
  656. data/vendor/assets/javascripts/dojo/data/api/Item.js.uncompressed.js +0 -13
  657. data/vendor/assets/javascripts/dojo/data/api/Notification.js.uncompressed.js +0 -110
  658. data/vendor/assets/javascripts/dojo/data/api/Read.js.uncompressed.js +0 -486
  659. data/vendor/assets/javascripts/dojo/data/api/Request.js.uncompressed.js +0 -33
  660. data/vendor/assets/javascripts/dojo/data/api/Write.js.uncompressed.js +0 -206
  661. data/vendor/assets/javascripts/dojo/data/util/filter.js.uncompressed.js +0 -77
  662. data/vendor/assets/javascripts/dojo/data/util/simpleFetch.js.uncompressed.js +0 -240
  663. data/vendor/assets/javascripts/dojo/data/util/sorter.js.uncompressed.js +0 -99
  664. data/vendor/assets/javascripts/dojo/date.js.uncompressed.js +0 -346
  665. data/vendor/assets/javascripts/dojo/date/locale.js.uncompressed.js +0 -694
  666. data/vendor/assets/javascripts/dojo/date/stamp.js.uncompressed.js +0 -144
  667. data/vendor/assets/javascripts/dojo/dnd/AutoSource.js.uncompressed.js +0 -12
  668. data/vendor/assets/javascripts/dojo/dnd/Avatar.js.uncompressed.js +0 -122
  669. data/vendor/assets/javascripts/dojo/dnd/Container.js.uncompressed.js +0 -456
  670. data/vendor/assets/javascripts/dojo/dnd/Manager.js.uncompressed.js +0 -223
  671. data/vendor/assets/javascripts/dojo/dnd/Moveable.js.uncompressed.js +0 -185
  672. data/vendor/assets/javascripts/dojo/dnd/Mover.js.uncompressed.js +0 -124
  673. data/vendor/assets/javascripts/dojo/dnd/Selector.js.uncompressed.js +0 -329
  674. data/vendor/assets/javascripts/dojo/dnd/Source.js.uncompressed.js +0 -506
  675. data/vendor/assets/javascripts/dojo/dnd/Target.js.uncompressed.js +0 -13
  676. data/vendor/assets/javascripts/dojo/dnd/TimedMoveable.js.uncompressed.js +0 -64
  677. data/vendor/assets/javascripts/dojo/dnd/autoscroll.js.uncompressed.js +0 -149
  678. data/vendor/assets/javascripts/dojo/dnd/common.js.uncompressed.js +0 -41
  679. data/vendor/assets/javascripts/dojo/dnd/move.js.uncompressed.js +0 -147
  680. data/vendor/assets/javascripts/dojo/dojo.js.uncompressed.js +0 -17702
  681. data/vendor/assets/javascripts/dojo/dom-attr.js.uncompressed.js +0 -220
  682. data/vendor/assets/javascripts/dojo/dom-class.js.uncompressed.js +0 -326
  683. data/vendor/assets/javascripts/dojo/dom-construct.js.uncompressed.js +0 -333
  684. data/vendor/assets/javascripts/dojo/dom-form.js.uncompressed.js +0 -149
  685. data/vendor/assets/javascripts/dojo/dom-geometry.js.uncompressed.js +0 -605
  686. data/vendor/assets/javascripts/dojo/dom-prop.js.uncompressed.js +0 -181
  687. data/vendor/assets/javascripts/dojo/dom-style.js.uncompressed.js +0 -306
  688. data/vendor/assets/javascripts/dojo/dom.js.uncompressed.js +0 -148
  689. data/vendor/assets/javascripts/dojo/domReady.js.uncompressed.js +0 -97
  690. data/vendor/assets/javascripts/dojo/errors/CancelError.js.uncompressed.js +0 -13
  691. data/vendor/assets/javascripts/dojo/errors/RequestError.js.uncompressed.js +0 -15
  692. data/vendor/assets/javascripts/dojo/errors/RequestTimeoutError.js.uncompressed.js +0 -15
  693. data/vendor/assets/javascripts/dojo/errors/create.js.uncompressed.js +0 -41
  694. data/vendor/assets/javascripts/dojo/fx.js.uncompressed.js +0 -419
  695. data/vendor/assets/javascripts/dojo/fx/Toggler.js.uncompressed.js +0 -101
  696. data/vendor/assets/javascripts/dojo/fx/easing.js.uncompressed.js +0 -276
  697. data/vendor/assets/javascripts/dojo/gears.js.uncompressed.js +0 -65
  698. data/vendor/assets/javascripts/dojo/has.js.uncompressed.js +0 -173
  699. data/vendor/assets/javascripts/dojo/hash.js.uncompressed.js +0 -256
  700. data/vendor/assets/javascripts/dojo/hccss.js.uncompressed.js +0 -51
  701. data/vendor/assets/javascripts/dojo/html.js.uncompressed.js +0 -373
  702. data/vendor/assets/javascripts/dojo/i18n.js.uncompressed.js +0 -550
  703. data/vendor/assets/javascripts/dojo/io-query.js.uncompressed.js +0 -97
  704. data/vendor/assets/javascripts/dojo/io/iframe.js.uncompressed.js +0 -190
  705. data/vendor/assets/javascripts/dojo/io/script.js.uncompressed.js +0 -249
  706. data/vendor/assets/javascripts/dojo/jaxer.js.uncompressed.js +0 -17
  707. data/vendor/assets/javascripts/dojo/json.js.uncompressed.js +0 -152
  708. data/vendor/assets/javascripts/dojo/keys.js.uncompressed.js +0 -77
  709. data/vendor/assets/javascripts/dojo/loadInit.js.uncompressed.js +0 -7
  710. data/vendor/assets/javascripts/dojo/main.js.uncompressed.js +0 -52
  711. data/vendor/assets/javascripts/dojo/mouse.js.uncompressed.js +0 -171
  712. data/vendor/assets/javascripts/dojo/nls/ar/colors.js.uncompressed.js +0 -156
  713. data/vendor/assets/javascripts/dojo/nls/az/colors.js.uncompressed.js +0 -151
  714. data/vendor/assets/javascripts/dojo/nls/ca/colors.js.uncompressed.js +0 -156
  715. data/vendor/assets/javascripts/dojo/nls/cs/colors.js.uncompressed.js +0 -156
  716. data/vendor/assets/javascripts/dojo/nls/da/colors.js.uncompressed.js +0 -156
  717. data/vendor/assets/javascripts/dojo/nls/de/colors.js.uncompressed.js +0 -156
  718. data/vendor/assets/javascripts/dojo/nls/el/colors.js.uncompressed.js +0 -156
  719. data/vendor/assets/javascripts/dojo/nls/es/colors.js.uncompressed.js +0 -156
  720. data/vendor/assets/javascripts/dojo/nls/fi/colors.js.uncompressed.js +0 -156
  721. data/vendor/assets/javascripts/dojo/nls/fr/colors.js.uncompressed.js +0 -156
  722. data/vendor/assets/javascripts/dojo/nls/he/colors.js.uncompressed.js +0 -155
  723. data/vendor/assets/javascripts/dojo/nls/hr/colors.js.uncompressed.js +0 -156
  724. data/vendor/assets/javascripts/dojo/nls/hu/colors.js.uncompressed.js +0 -156
  725. data/vendor/assets/javascripts/dojo/nls/it/colors.js.uncompressed.js +0 -156
  726. data/vendor/assets/javascripts/dojo/nls/ja/colors.js.uncompressed.js +0 -156
  727. data/vendor/assets/javascripts/dojo/nls/kk/colors.js.uncompressed.js +0 -156
  728. data/vendor/assets/javascripts/dojo/nls/ko/colors.js.uncompressed.js +0 -156
  729. data/vendor/assets/javascripts/dojo/nls/nb/colors.js.uncompressed.js +0 -156
  730. data/vendor/assets/javascripts/dojo/nls/nl/colors.js.uncompressed.js +0 -156
  731. data/vendor/assets/javascripts/dojo/nls/pl/colors.js.uncompressed.js +0 -156
  732. data/vendor/assets/javascripts/dojo/nls/pt-pt/colors.js.uncompressed.js +0 -156
  733. data/vendor/assets/javascripts/dojo/nls/pt/colors.js.uncompressed.js +0 -156
  734. data/vendor/assets/javascripts/dojo/nls/ro/colors.js.uncompressed.js +0 -156
  735. data/vendor/assets/javascripts/dojo/nls/ru/colors.js.uncompressed.js +0 -156
  736. data/vendor/assets/javascripts/dojo/nls/sk/colors.js.uncompressed.js +0 -156
  737. data/vendor/assets/javascripts/dojo/nls/sl/colors.js.uncompressed.js +0 -156
  738. data/vendor/assets/javascripts/dojo/nls/sv/colors.js.uncompressed.js +0 -156
  739. data/vendor/assets/javascripts/dojo/nls/th/colors.js.uncompressed.js +0 -156
  740. data/vendor/assets/javascripts/dojo/nls/tr/colors.js.uncompressed.js +0 -156
  741. data/vendor/assets/javascripts/dojo/nls/zh-tw/colors.js.uncompressed.js +0 -156
  742. data/vendor/assets/javascripts/dojo/nls/zh/colors.js.uncompressed.js +0 -156
  743. data/vendor/assets/javascripts/dojo/node.js.uncompressed.js +0 -27
  744. data/vendor/assets/javascripts/dojo/number.js.uncompressed.js +0 -548
  745. data/vendor/assets/javascripts/dojo/on.js.uncompressed.js +0 -517
  746. data/vendor/assets/javascripts/dojo/parser.js.uncompressed.js +0 -865
  747. data/vendor/assets/javascripts/dojo/promise/Promise.js.uncompressed.js +0 -133
  748. data/vendor/assets/javascripts/dojo/promise/all.js.uncompressed.js +0 -76
  749. data/vendor/assets/javascripts/dojo/promise/first.js.uncompressed.js +0 -49
  750. data/vendor/assets/javascripts/dojo/promise/instrumentation.js.uncompressed.js +0 -103
  751. data/vendor/assets/javascripts/dojo/promise/tracer.js.uncompressed.js +0 -85
  752. data/vendor/assets/javascripts/dojo/query.js.uncompressed.js +0 -705
  753. data/vendor/assets/javascripts/dojo/ready.js.uncompressed.js +0 -136
  754. data/vendor/assets/javascripts/dojo/regexp.js.uncompressed.js +0 -70
  755. data/vendor/assets/javascripts/dojo/request.js.uncompressed.js +0 -75
  756. data/vendor/assets/javascripts/dojo/request/default.js.uncompressed.js +0 -32
  757. data/vendor/assets/javascripts/dojo/request/handlers.js.uncompressed.js +0 -62
  758. data/vendor/assets/javascripts/dojo/request/iframe.js.uncompressed.js +0 -429
  759. data/vendor/assets/javascripts/dojo/request/node.js.uncompressed.js +0 -188
  760. data/vendor/assets/javascripts/dojo/request/notify.js.uncompressed.js +0 -73
  761. data/vendor/assets/javascripts/dojo/request/registry.js.uncompressed.js +0 -85
  762. data/vendor/assets/javascripts/dojo/request/script.js.uncompressed.js +0 -211
  763. data/vendor/assets/javascripts/dojo/request/util.js.uncompressed.js +0 -145
  764. data/vendor/assets/javascripts/dojo/request/watch.js.uncompressed.js +0 -109
  765. data/vendor/assets/javascripts/dojo/request/xhr.js.uncompressed.js +0 -317
  766. data/vendor/assets/javascripts/dojo/require.js.uncompressed.js +0 -7
  767. data/vendor/assets/javascripts/dojo/router.js.uncompressed.js +0 -28
  768. data/vendor/assets/javascripts/dojo/router/RouterBase.js.uncompressed.js +0 -350
  769. data/vendor/assets/javascripts/dojo/rpc/JsonService.js.uncompressed.js +0 -87
  770. data/vendor/assets/javascripts/dojo/rpc/JsonpService.js.uncompressed.js +0 -66
  771. data/vendor/assets/javascripts/dojo/rpc/RpcService.js.uncompressed.js +0 -178
  772. data/vendor/assets/javascripts/dojo/selector/_loader.js.uncompressed.js +0 -47
  773. data/vendor/assets/javascripts/dojo/selector/acme.js.uncompressed.js +0 -1493
  774. data/vendor/assets/javascripts/dojo/selector/lite.js.uncompressed.js +0 -283
  775. data/vendor/assets/javascripts/dojo/sniff.js.uncompressed.js +0 -70
  776. data/vendor/assets/javascripts/dojo/store/Cache.js.uncompressed.js +0 -145
  777. data/vendor/assets/javascripts/dojo/store/DataStore.js.uncompressed.js +0 -202
  778. data/vendor/assets/javascripts/dojo/store/JsonRest.js.uncompressed.js +0 -189
  779. data/vendor/assets/javascripts/dojo/store/Memory.js.uncompressed.js +0 -164
  780. data/vendor/assets/javascripts/dojo/store/Observable.js.uncompressed.js +0 -187
  781. data/vendor/assets/javascripts/dojo/store/api/Store.js.uncompressed.js +0 -287
  782. data/vendor/assets/javascripts/dojo/store/util/QueryResults.js.uncompressed.js +0 -63
  783. data/vendor/assets/javascripts/dojo/store/util/SimpleQueryEngine.js.uncompressed.js +0 -110
  784. data/vendor/assets/javascripts/dojo/string.js.uncompressed.js +0 -162
  785. data/vendor/assets/javascripts/dojo/text.js.uncompressed.js +0 -214
  786. data/vendor/assets/javascripts/dojo/topic.js.uncompressed.js +0 -38
  787. data/vendor/assets/javascripts/dojo/touch.js.uncompressed.js +0 -201
  788. data/vendor/assets/javascripts/dojo/uacss.js.uncompressed.js +0 -75
  789. data/vendor/assets/javascripts/dojo/when.js.uncompressed.js +0 -55
  790. 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
- });