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,951 +0,0 @@
1
- define("dojo/data/ItemFileReadStore", ["../_base/kernel", "../_base/lang", "../_base/declare", "../_base/array", "../_base/xhr",
2
- "../Evented", "./util/filter", "./util/simpleFetch", "../date/stamp"
3
- ], function(kernel, lang, declare, array, xhr, Evented, filterUtil, simpleFetch, dateStamp){
4
-
5
- // module:
6
- // dojo/data/ItemFileReadStore
7
-
8
- var ItemFileReadStore = declare("dojo.data.ItemFileReadStore", [Evented],{
9
- // summary:
10
- // The ItemFileReadStore implements the dojo/data/api/Read API and reads
11
- // data from JSON files that have contents in this format --
12
- // | { items: [
13
- // | { name:'Kermit', color:'green', age:12, friends:['Gonzo', {_reference:{name:'Fozzie Bear'}}]},
14
- // | { name:'Fozzie Bear', wears:['hat', 'tie']},
15
- // | { name:'Miss Piggy', pets:'Foo-Foo'}
16
- // | ]}
17
- // Note that it can also contain an 'identifier' property that specified which attribute on the items
18
- // in the array of items that acts as the unique identifier for that item.
19
-
20
- constructor: function(/* Object */ keywordParameters){
21
- // summary:
22
- // constructor
23
- // keywordParameters:
24
- // {url: String} {data: jsonObject} {typeMap: object}
25
- // The structure of the typeMap object is as follows:
26
- // | {
27
- // | type0: function || object,
28
- // | type1: function || object,
29
- // | ...
30
- // | typeN: function || object
31
- // | }
32
- // Where if it is a function, it is assumed to be an object constructor that takes the
33
- // value of _value as the initialization parameters. If it is an object, then it is assumed
34
- // to be an object of general form:
35
- // | {
36
- // | type: function, //constructor.
37
- // | deserialize: function(value) //The function that parses the value and constructs the object defined by type appropriately.
38
- // | }
39
-
40
- this._arrayOfAllItems = [];
41
- this._arrayOfTopLevelItems = [];
42
- this._loadFinished = false;
43
- this._jsonFileUrl = keywordParameters.url;
44
- this._ccUrl = keywordParameters.url;
45
- this.url = keywordParameters.url;
46
- this._jsonData = keywordParameters.data;
47
- this.data = null;
48
- this._datatypeMap = keywordParameters.typeMap || {};
49
- if(!this._datatypeMap['Date']){
50
- //If no default mapping for dates, then set this as default.
51
- //We use the dojo/date/stamp here because the ISO format is the 'dojo way'
52
- //of generically representing dates.
53
- this._datatypeMap['Date'] = {
54
- type: Date,
55
- deserialize: function(value){
56
- return dateStamp.fromISOString(value);
57
- }
58
- };
59
- }
60
- this._features = {'dojo.data.api.Read':true, 'dojo.data.api.Identity':true};
61
- this._itemsByIdentity = null;
62
- this._storeRefPropName = "_S"; // Default name for the store reference to attach to every item.
63
- this._itemNumPropName = "_0"; // Default Item Id for isItem to attach to every item.
64
- this._rootItemPropName = "_RI"; // Default Item Id for isItem to attach to every item.
65
- this._reverseRefMap = "_RRM"; // Default attribute for constructing a reverse reference map for use with reference integrity
66
- this._loadInProgress = false; //Got to track the initial load to prevent duelling loads of the dataset.
67
- this._queuedFetches = [];
68
- if(keywordParameters.urlPreventCache !== undefined){
69
- this.urlPreventCache = keywordParameters.urlPreventCache?true:false;
70
- }
71
- if(keywordParameters.hierarchical !== undefined){
72
- this.hierarchical = keywordParameters.hierarchical?true:false;
73
- }
74
- if(keywordParameters.clearOnClose){
75
- this.clearOnClose = true;
76
- }
77
- if("failOk" in keywordParameters){
78
- this.failOk = keywordParameters.failOk?true:false;
79
- }
80
- },
81
-
82
- url: "", // use "" rather than undefined for the benefit of the parser (#3539)
83
-
84
- //Internal var, crossCheckUrl. Used so that setting either url or _jsonFileUrl, can still trigger a reload
85
- //when clearOnClose and close is used.
86
- _ccUrl: "",
87
-
88
- data: null, // define this so that the parser can populate it
89
-
90
- typeMap: null, //Define so parser can populate.
91
-
92
- // clearOnClose: Boolean
93
- // Parameter to allow users to specify if a close call should force a reload or not.
94
- // By default, it retains the old behavior of not clearing if close is called. But
95
- // if set true, the store will be reset to default state. Note that by doing this,
96
- // all item handles will become invalid and a new fetch must be issued.
97
- clearOnClose: false,
98
-
99
- // urlPreventCache: Boolean
100
- // Parameter to allow specifying if preventCache should be passed to the xhrGet call or not when loading data from a url.
101
- // Note this does not mean the store calls the server on each fetch, only that the data load has preventCache set as an option.
102
- // Added for tracker: #6072
103
- urlPreventCache: false,
104
-
105
- // failOk: Boolean
106
- // Parameter for specifying that it is OK for the xhrGet call to fail silently.
107
- failOk: false,
108
-
109
- // hierarchical: Boolean
110
- // Parameter to indicate to process data from the url as hierarchical
111
- // (data items can contain other data items in js form). Default is true
112
- // for backwards compatibility. False means only root items are processed
113
- // as items, all child objects outside of type-mapped objects and those in
114
- // specific reference format, are left straight JS data objects.
115
- hierarchical: true,
116
-
117
- _assertIsItem: function(/* dojo/data/api/Item */ item){
118
- // summary:
119
- // This function tests whether the item passed in is indeed an item in the store.
120
- // item:
121
- // The item to test for being contained by the store.
122
- if(!this.isItem(item)){
123
- throw new Error(this.declaredClass + ": Invalid item argument.");
124
- }
125
- },
126
-
127
- _assertIsAttribute: function(/* attribute-name-string */ attribute){
128
- // summary:
129
- // This function tests whether the item passed in is indeed a valid 'attribute' like type for the store.
130
- // attribute:
131
- // The attribute to test for being contained by the store.
132
- if(typeof attribute !== "string"){
133
- throw new Error(this.declaredClass + ": Invalid attribute argument.");
134
- }
135
- },
136
-
137
- getValue: function( /* dojo/data/api/Item */ item,
138
- /* attribute-name-string */ attribute,
139
- /* value? */ defaultValue){
140
- // summary:
141
- // See dojo/data/api/Read.getValue()
142
- var values = this.getValues(item, attribute);
143
- return (values.length > 0)?values[0]:defaultValue; // mixed
144
- },
145
-
146
- getValues: function(/* dojo/data/api/Item */ item,
147
- /* attribute-name-string */ attribute){
148
- // summary:
149
- // See dojo/data/api/Read.getValues()
150
-
151
- this._assertIsItem(item);
152
- this._assertIsAttribute(attribute);
153
- // Clone it before returning. refs: #10474
154
- return (item[attribute] || []).slice(0); // Array
155
- },
156
-
157
- getAttributes: function(/* dojo/data/api/Item */ item){
158
- // summary:
159
- // See dojo/data/api/Read.getAttributes()
160
- this._assertIsItem(item);
161
- var attributes = [];
162
- for(var key in item){
163
- // Save off only the real item attributes, not the special id marks for O(1) isItem.
164
- if((key !== this._storeRefPropName) && (key !== this._itemNumPropName) && (key !== this._rootItemPropName) && (key !== this._reverseRefMap)){
165
- attributes.push(key);
166
- }
167
- }
168
- return attributes; // Array
169
- },
170
-
171
- hasAttribute: function( /* dojo/data/api/Item */ item,
172
- /* attribute-name-string */ attribute){
173
- // summary:
174
- // See dojo/data/api/Read.hasAttribute()
175
- this._assertIsItem(item);
176
- this._assertIsAttribute(attribute);
177
- return (attribute in item);
178
- },
179
-
180
- containsValue: function(/* dojo/data/api/Item */ item,
181
- /* attribute-name-string */ attribute,
182
- /* anything */ value){
183
- // summary:
184
- // See dojo/data/api/Read.containsValue()
185
- var regexp = undefined;
186
- if(typeof value === "string"){
187
- regexp = filterUtil.patternToRegExp(value, false);
188
- }
189
- return this._containsValue(item, attribute, value, regexp); //boolean.
190
- },
191
-
192
- _containsValue: function( /* dojo/data/api/Item */ item,
193
- /* attribute-name-string */ attribute,
194
- /* anything */ value,
195
- /* RegExp?*/ regexp){
196
- // summary:
197
- // Internal function for looking at the values contained by the item.
198
- // description:
199
- // Internal function for looking at the values contained by the item. This
200
- // function allows for denoting if the comparison should be case sensitive for
201
- // strings or not (for handling filtering cases where string case should not matter)
202
- // item:
203
- // The data item to examine for attribute values.
204
- // attribute:
205
- // The attribute to inspect.
206
- // value:
207
- // The value to match.
208
- // regexp:
209
- // Optional regular expression generated off value if value was of string type to handle wildcarding.
210
- // If present and attribute values are string, then it can be used for comparison instead of 'value'
211
- return array.some(this.getValues(item, attribute), function(possibleValue){
212
- if(possibleValue !== null && !lang.isObject(possibleValue) && regexp){
213
- if(possibleValue.toString().match(regexp)){
214
- return true; // Boolean
215
- }
216
- }else if(value === possibleValue){
217
- return true; // Boolean
218
- }
219
- });
220
- },
221
-
222
- isItem: function(/* anything */ something){
223
- // summary:
224
- // See dojo/data/api/Read.isItem()
225
- if(something && something[this._storeRefPropName] === this){
226
- if(this._arrayOfAllItems[something[this._itemNumPropName]] === something){
227
- return true;
228
- }
229
- }
230
- return false; // Boolean
231
- },
232
-
233
- isItemLoaded: function(/* anything */ something){
234
- // summary:
235
- // See dojo/data/api/Read.isItemLoaded()
236
- return this.isItem(something); //boolean
237
- },
238
-
239
- loadItem: function(/* object */ keywordArgs){
240
- // summary:
241
- // See dojo/data/api/Read.loadItem()
242
- this._assertIsItem(keywordArgs.item);
243
- },
244
-
245
- getFeatures: function(){
246
- // summary:
247
- // See dojo/data/api/Read.getFeatures()
248
- return this._features; //Object
249
- },
250
-
251
- getLabel: function(/* dojo/data/api/Item */ item){
252
- // summary:
253
- // See dojo/data/api/Read.getLabel()
254
- if(this._labelAttr && this.isItem(item)){
255
- return this.getValue(item,this._labelAttr); //String
256
- }
257
- return undefined; //undefined
258
- },
259
-
260
- getLabelAttributes: function(/* dojo/data/api/Item */ item){
261
- // summary:
262
- // See dojo/data/api/Read.getLabelAttributes()
263
- if(this._labelAttr){
264
- return [this._labelAttr]; //array
265
- }
266
- return null; //null
267
- },
268
-
269
- filter: function(/* Object */ requestArgs, /* item[] */ arrayOfItems, /* Function */ findCallback){
270
- // summary:
271
- // This method handles the basic filtering needs for ItemFile* based stores.
272
- var items = [],
273
- i, key;
274
-
275
- if(requestArgs.query){
276
- var value,
277
- ignoreCase = requestArgs.queryOptions ? requestArgs.queryOptions.ignoreCase : false;
278
-
279
- //See if there are any string values that can be regexp parsed first to avoid multiple regexp gens on the
280
- //same value for each item examined. Much more efficient.
281
- var regexpList = {};
282
- for(key in requestArgs.query){
283
- value = requestArgs.query[key];
284
- if(typeof value === "string"){
285
- regexpList[key] = filterUtil.patternToRegExp(value, ignoreCase);
286
- }else if(value instanceof RegExp){
287
- regexpList[key] = value;
288
- }
289
- }
290
- for(i = 0; i < arrayOfItems.length; ++i){
291
- var match = true;
292
- var candidateItem = arrayOfItems[i];
293
- if(candidateItem === null){
294
- match = false;
295
- }else{
296
- for(key in requestArgs.query){
297
- value = requestArgs.query[key];
298
- if(!this._containsValue(candidateItem, key, value, regexpList[key])){
299
- match = false;
300
- }
301
- }
302
- }
303
- if(match){
304
- items.push(candidateItem);
305
- }
306
- }
307
- findCallback(items, requestArgs);
308
- }else{
309
- // We want a copy to pass back in case the parent wishes to sort the array.
310
- // We shouldn't allow resort of the internal list, so that multiple callers
311
- // can get lists and sort without affecting each other. We also need to
312
- // filter out any null values that have been left as a result of deleteItem()
313
- // calls in ItemFileWriteStore.
314
- for(i = 0; i < arrayOfItems.length; ++i){
315
- var item = arrayOfItems[i];
316
- if(item !== null){
317
- items.push(item);
318
- }
319
- }
320
- findCallback(items, requestArgs);
321
- }
322
- },
323
-
324
- _fetchItems: function( /* Object */ keywordArgs,
325
- /* Function */ findCallback,
326
- /* Function */ errorCallback){
327
- // summary:
328
- // See dojo/data/util.simpleFetch.fetch()
329
- var self = this;
330
-
331
- if(this._loadFinished){
332
- this.filter(keywordArgs, this._getItemsArray(keywordArgs.queryOptions), findCallback);
333
- }else{
334
- //Do a check on the JsonFileUrl and crosscheck it.
335
- //If it doesn't match the cross-check, it needs to be updated
336
- //This allows for either url or _jsonFileUrl to he changed to
337
- //reset the store load location. Done this way for backwards
338
- //compatibility. People use _jsonFileUrl (even though officially
339
- //private.
340
- if(this._jsonFileUrl !== this._ccUrl){
341
- kernel.deprecated(this.declaredClass + ": ",
342
- "To change the url, set the url property of the store," +
343
- " not _jsonFileUrl. _jsonFileUrl support will be removed in 2.0");
344
- this._ccUrl = this._jsonFileUrl;
345
- this.url = this._jsonFileUrl;
346
- }else if(this.url !== this._ccUrl){
347
- this._jsonFileUrl = this.url;
348
- this._ccUrl = this.url;
349
- }
350
-
351
- //See if there was any forced reset of data.
352
- if(this.data != null){
353
- this._jsonData = this.data;
354
- this.data = null;
355
- }
356
-
357
- if(this._jsonFileUrl){
358
- //If fetches come in before the loading has finished, but while
359
- //a load is in progress, we have to defer the fetching to be
360
- //invoked in the callback.
361
- if(this._loadInProgress){
362
- this._queuedFetches.push({args: keywordArgs, filter: lang.hitch(self, "filter"), findCallback: lang.hitch(self, findCallback)});
363
- }else{
364
- this._loadInProgress = true;
365
- var getArgs = {
366
- url: self._jsonFileUrl,
367
- handleAs: "json-comment-optional",
368
- preventCache: this.urlPreventCache,
369
- failOk: this.failOk
370
- };
371
- var getHandler = xhr.get(getArgs);
372
- getHandler.addCallback(function(data){
373
- try{
374
- self._getItemsFromLoadedData(data);
375
- self._loadFinished = true;
376
- self._loadInProgress = false;
377
-
378
- self.filter(keywordArgs, self._getItemsArray(keywordArgs.queryOptions), findCallback);
379
- self._handleQueuedFetches();
380
- }catch(e){
381
- self._loadFinished = true;
382
- self._loadInProgress = false;
383
- errorCallback(e, keywordArgs);
384
- }
385
- });
386
- getHandler.addErrback(function(error){
387
- self._loadInProgress = false;
388
- errorCallback(error, keywordArgs);
389
- });
390
-
391
- //Wire up the cancel to abort of the request
392
- //This call cancel on the deferred if it hasn't been called
393
- //yet and then will chain to the simple abort of the
394
- //simpleFetch keywordArgs
395
- var oldAbort = null;
396
- if(keywordArgs.abort){
397
- oldAbort = keywordArgs.abort;
398
- }
399
- keywordArgs.abort = function(){
400
- var df = getHandler;
401
- if(df && df.fired === -1){
402
- df.cancel();
403
- df = null;
404
- }
405
- if(oldAbort){
406
- oldAbort.call(keywordArgs);
407
- }
408
- };
409
- }
410
- }else if(this._jsonData){
411
- try{
412
- this._loadFinished = true;
413
- this._getItemsFromLoadedData(this._jsonData);
414
- this._jsonData = null;
415
- self.filter(keywordArgs, this._getItemsArray(keywordArgs.queryOptions), findCallback);
416
- }catch(e){
417
- errorCallback(e, keywordArgs);
418
- }
419
- }else{
420
- errorCallback(new Error(this.declaredClass + ": No JSON source data was provided as either URL or a nested Javascript object."), keywordArgs);
421
- }
422
- }
423
- },
424
-
425
- _handleQueuedFetches: function(){
426
- // summary:
427
- // Internal function to execute delayed request in the store.
428
-
429
- //Execute any deferred fetches now.
430
- if(this._queuedFetches.length > 0){
431
- for(var i = 0; i < this._queuedFetches.length; i++){
432
- var fData = this._queuedFetches[i],
433
- delayedQuery = fData.args,
434
- delayedFilter = fData.filter,
435
- delayedFindCallback = fData.findCallback;
436
- if(delayedFilter){
437
- delayedFilter(delayedQuery, this._getItemsArray(delayedQuery.queryOptions), delayedFindCallback);
438
- }else{
439
- this.fetchItemByIdentity(delayedQuery);
440
- }
441
- }
442
- this._queuedFetches = [];
443
- }
444
- },
445
-
446
- _getItemsArray: function(/*object?*/queryOptions){
447
- // summary:
448
- // Internal function to determine which list of items to search over.
449
- // queryOptions: The query options parameter, if any.
450
- if(queryOptions && queryOptions.deep){
451
- return this._arrayOfAllItems;
452
- }
453
- return this._arrayOfTopLevelItems;
454
- },
455
-
456
- close: function(/*dojo/data/api/Request|Object?*/ request){
457
- // summary:
458
- // See dojo/data/api/Read.close()
459
- if(this.clearOnClose &&
460
- this._loadFinished &&
461
- !this._loadInProgress){
462
- //Reset all internalsback to default state. This will force a reload
463
- //on next fetch. This also checks that the data or url param was set
464
- //so that the store knows it can get data. Without one of those being set,
465
- //the next fetch will trigger an error.
466
-
467
- if(((this._jsonFileUrl == "" || this._jsonFileUrl == null) &&
468
- (this.url == "" || this.url == null)
469
- ) && this.data == null){
470
- console.debug(this.declaredClass + ": WARNING! Data reload " +
471
- " information has not been provided." +
472
- " Please set 'url' or 'data' to the appropriate value before" +
473
- " the next fetch");
474
- }
475
- this._arrayOfAllItems = [];
476
- this._arrayOfTopLevelItems = [];
477
- this._loadFinished = false;
478
- this._itemsByIdentity = null;
479
- this._loadInProgress = false;
480
- this._queuedFetches = [];
481
- }
482
- },
483
-
484
- _getItemsFromLoadedData: function(/* Object */ dataObject){
485
- // summary:
486
- // Function to parse the loaded data into item format and build the internal items array.
487
- // description:
488
- // Function to parse the loaded data into item format and build the internal items array.
489
- // dataObject:
490
- // The JS data object containing the raw data to convery into item format.
491
- // returns: Array
492
- // Array of items in store item format.
493
-
494
- // First, we define a couple little utility functions...
495
- var addingArrays = false,
496
- self = this;
497
-
498
- function valueIsAnItem(/* anything */ aValue){
499
- // summary:
500
- // Given any sort of value that could be in the raw json data,
501
- // return true if we should interpret the value as being an
502
- // item itself, rather than a literal value or a reference.
503
- // example:
504
- // | false == valueIsAnItem("Kermit");
505
- // | false == valueIsAnItem(42);
506
- // | false == valueIsAnItem(new Date());
507
- // | false == valueIsAnItem({_type:'Date', _value:'1802-05-14'});
508
- // | false == valueIsAnItem({_reference:'Kermit'});
509
- // | true == valueIsAnItem({name:'Kermit', color:'green'});
510
- // | true == valueIsAnItem({iggy:'pop'});
511
- // | true == valueIsAnItem({foo:42});
512
- return (aValue !== null) &&
513
- (typeof aValue === "object") &&
514
- (!lang.isArray(aValue) || addingArrays) &&
515
- (!lang.isFunction(aValue)) &&
516
- (aValue.constructor == Object || lang.isArray(aValue)) &&
517
- (typeof aValue._reference === "undefined") &&
518
- (typeof aValue._type === "undefined") &&
519
- (typeof aValue._value === "undefined") &&
520
- self.hierarchical;
521
- }
522
-
523
- function addItemAndSubItemsToArrayOfAllItems(/* dojo/data/api/Item */ anItem){
524
- self._arrayOfAllItems.push(anItem);
525
- for(var attribute in anItem){
526
- var valueForAttribute = anItem[attribute];
527
- if(valueForAttribute){
528
- if(lang.isArray(valueForAttribute)){
529
- var valueArray = valueForAttribute;
530
- for(var k = 0; k < valueArray.length; ++k){
531
- var singleValue = valueArray[k];
532
- if(valueIsAnItem(singleValue)){
533
- addItemAndSubItemsToArrayOfAllItems(singleValue);
534
- }
535
- }
536
- }else{
537
- if(valueIsAnItem(valueForAttribute)){
538
- addItemAndSubItemsToArrayOfAllItems(valueForAttribute);
539
- }
540
- }
541
- }
542
- }
543
- }
544
-
545
- this._labelAttr = dataObject.label;
546
-
547
- // We need to do some transformations to convert the data structure
548
- // that we read from the file into a format that will be convenient
549
- // to work with in memory.
550
-
551
- // Step 1: Walk through the object hierarchy and build a list of all items
552
- var i,
553
- item;
554
- this._arrayOfAllItems = [];
555
- this._arrayOfTopLevelItems = dataObject.items;
556
-
557
- for(i = 0; i < this._arrayOfTopLevelItems.length; ++i){
558
- item = this._arrayOfTopLevelItems[i];
559
- if(lang.isArray(item)){
560
- addingArrays = true;
561
- }
562
- addItemAndSubItemsToArrayOfAllItems(item);
563
- item[this._rootItemPropName]=true;
564
- }
565
-
566
- // Step 2: Walk through all the attribute values of all the items,
567
- // and replace single values with arrays. For example, we change this:
568
- // { name:'Miss Piggy', pets:'Foo-Foo'}
569
- // into this:
570
- // { name:['Miss Piggy'], pets:['Foo-Foo']}
571
- //
572
- // We also store the attribute names so we can validate our store
573
- // reference and item id special properties for the O(1) isItem
574
- var allAttributeNames = {},
575
- key;
576
-
577
- for(i = 0; i < this._arrayOfAllItems.length; ++i){
578
- item = this._arrayOfAllItems[i];
579
- for(key in item){
580
- if(key !== this._rootItemPropName){
581
- var value = item[key];
582
- if(value !== null){
583
- if(!lang.isArray(value)){
584
- item[key] = [value];
585
- }
586
- }else{
587
- item[key] = [null];
588
- }
589
- }
590
- allAttributeNames[key]=key;
591
- }
592
- }
593
-
594
- // Step 3: Build unique property names to use for the _storeRefPropName and _itemNumPropName
595
- // This should go really fast, it will generally never even run the loop.
596
- while(allAttributeNames[this._storeRefPropName]){
597
- this._storeRefPropName += "_";
598
- }
599
- while(allAttributeNames[this._itemNumPropName]){
600
- this._itemNumPropName += "_";
601
- }
602
- while(allAttributeNames[this._reverseRefMap]){
603
- this._reverseRefMap += "_";
604
- }
605
-
606
- // Step 4: Some data files specify an optional 'identifier', which is
607
- // the name of an attribute that holds the identity of each item.
608
- // If this data file specified an identifier attribute, then build a
609
- // hash table of items keyed by the identity of the items.
610
- var arrayOfValues;
611
-
612
- var identifier = dataObject.identifier;
613
- if(identifier){
614
- this._itemsByIdentity = {};
615
- this._features['dojo.data.api.Identity'] = identifier;
616
- for(i = 0; i < this._arrayOfAllItems.length; ++i){
617
- item = this._arrayOfAllItems[i];
618
- arrayOfValues = item[identifier];
619
- var identity = arrayOfValues[0];
620
- if(!Object.hasOwnProperty.call(this._itemsByIdentity, identity)){
621
- this._itemsByIdentity[identity] = item;
622
- }else{
623
- if(this._jsonFileUrl){
624
- throw new Error(this.declaredClass + ": The json data as specified by: [" + this._jsonFileUrl + "] is malformed. Items within the list have identifier: [" + identifier + "]. Value collided: [" + identity + "]");
625
- }else if(this._jsonData){
626
- throw new Error(this.declaredClass + ": The json data provided by the creation arguments is malformed. Items within the list have identifier: [" + identifier + "]. Value collided: [" + identity + "]");
627
- }
628
- }
629
- }
630
- }else{
631
- this._features['dojo.data.api.Identity'] = Number;
632
- }
633
-
634
- // Step 5: Walk through all the items, and set each item's properties
635
- // for _storeRefPropName and _itemNumPropName, so that store.isItem() will return true.
636
- for(i = 0; i < this._arrayOfAllItems.length; ++i){
637
- item = this._arrayOfAllItems[i];
638
- item[this._storeRefPropName] = this;
639
- item[this._itemNumPropName] = i;
640
- }
641
-
642
- // Step 6: We walk through all the attribute values of all the items,
643
- // looking for type/value literals and item-references.
644
- //
645
- // We replace item-references with pointers to items. For example, we change:
646
- // { name:['Kermit'], friends:[{_reference:{name:'Miss Piggy'}}] }
647
- // into this:
648
- // { name:['Kermit'], friends:[miss_piggy] }
649
- // (where miss_piggy is the object representing the 'Miss Piggy' item).
650
- //
651
- // We replace type/value pairs with typed-literals. For example, we change:
652
- // { name:['Nelson Mandela'], born:[{_type:'Date', _value:'1918-07-18'}] }
653
- // into this:
654
- // { name:['Kermit'], born:(new Date(1918, 6, 18)) }
655
- //
656
- // We also generate the associate map for all items for the O(1) isItem function.
657
- for(i = 0; i < this._arrayOfAllItems.length; ++i){
658
- item = this._arrayOfAllItems[i]; // example: { name:['Kermit'], friends:[{_reference:{name:'Miss Piggy'}}] }
659
- for(key in item){
660
- arrayOfValues = item[key]; // example: [{_reference:{name:'Miss Piggy'}}]
661
- for(var j = 0; j < arrayOfValues.length; ++j){
662
- value = arrayOfValues[j]; // example: {_reference:{name:'Miss Piggy'}}
663
- if(value !== null && typeof value == "object"){
664
- if(("_type" in value) && ("_value" in value)){
665
- var type = value._type; // examples: 'Date', 'Color', or 'ComplexNumber'
666
- var mappingObj = this._datatypeMap[type]; // examples: Date, dojo.Color, foo.math.ComplexNumber, {type: dojo.Color, deserialize(value){ return new dojo.Color(value)}}
667
- if(!mappingObj){
668
- throw new Error("dojo.data.ItemFileReadStore: in the typeMap constructor arg, no object class was specified for the datatype '" + type + "'");
669
- }else if(lang.isFunction(mappingObj)){
670
- arrayOfValues[j] = new mappingObj(value._value);
671
- }else if(lang.isFunction(mappingObj.deserialize)){
672
- arrayOfValues[j] = mappingObj.deserialize(value._value);
673
- }else{
674
- throw new Error("dojo.data.ItemFileReadStore: Value provided in typeMap was neither a constructor, nor a an object with a deserialize function");
675
- }
676
- }
677
- if(value._reference){
678
- var referenceDescription = value._reference; // example: {name:'Miss Piggy'}
679
- if(!lang.isObject(referenceDescription)){
680
- // example: 'Miss Piggy'
681
- // from an item like: { name:['Kermit'], friends:[{_reference:'Miss Piggy'}]}
682
- arrayOfValues[j] = this._getItemByIdentity(referenceDescription);
683
- }else{
684
- // example: {name:'Miss Piggy'}
685
- // from an item like: { name:['Kermit'], friends:[{_reference:{name:'Miss Piggy'}}] }
686
- for(var k = 0; k < this._arrayOfAllItems.length; ++k){
687
- var candidateItem = this._arrayOfAllItems[k],
688
- found = true;
689
- for(var refKey in referenceDescription){
690
- if(candidateItem[refKey] != referenceDescription[refKey]){
691
- found = false;
692
- }
693
- }
694
- if(found){
695
- arrayOfValues[j] = candidateItem;
696
- }
697
- }
698
- }
699
- if(this.referenceIntegrity){
700
- var refItem = arrayOfValues[j];
701
- if(this.isItem(refItem)){
702
- this._addReferenceToMap(refItem, item, key);
703
- }
704
- }
705
- }else if(this.isItem(value)){
706
- //It's a child item (not one referenced through _reference).
707
- //We need to treat this as a referenced item, so it can be cleaned up
708
- //in a write store easily.
709
- if(this.referenceIntegrity){
710
- this._addReferenceToMap(value, item, key);
711
- }
712
- }
713
- }
714
- }
715
- }
716
- }
717
- },
718
-
719
- _addReferenceToMap: function(/*item*/ refItem, /*item*/ parentItem, /*string*/ attribute){
720
- // summary:
721
- // Method to add an reference map entry for an item and attribute.
722
- // description:
723
- // Method to add an reference map entry for an item and attribute.
724
- // refItem:
725
- // The item that is referenced.
726
- // parentItem:
727
- // The item that holds the new reference to refItem.
728
- // attribute:
729
- // The attribute on parentItem that contains the new reference.
730
-
731
- //Stub function, does nothing. Real processing is in ItemFileWriteStore.
732
- },
733
-
734
- getIdentity: function(/* dojo/data/api/Item */ item){
735
- // summary:
736
- // See dojo/data/api/Identity.getIdentity()
737
- var identifier = this._features['dojo.data.api.Identity'];
738
- if(identifier === Number){
739
- return item[this._itemNumPropName]; // Number
740
- }else{
741
- var arrayOfValues = item[identifier];
742
- if(arrayOfValues){
743
- return arrayOfValues[0]; // Object|String
744
- }
745
- }
746
- return null; // null
747
- },
748
-
749
- fetchItemByIdentity: function(/* Object */ keywordArgs){
750
- // summary:
751
- // See dojo/data/api/Identity.fetchItemByIdentity()
752
-
753
- // Hasn't loaded yet, we have to trigger the load.
754
- var item,
755
- scope;
756
- if(!this._loadFinished){
757
- var self = this;
758
- //Do a check on the JsonFileUrl and crosscheck it.
759
- //If it doesn't match the cross-check, it needs to be updated
760
- //This allows for either url or _jsonFileUrl to he changed to
761
- //reset the store load location. Done this way for backwards
762
- //compatibility. People use _jsonFileUrl (even though officially
763
- //private.
764
- if(this._jsonFileUrl !== this._ccUrl){
765
- kernel.deprecated(this.declaredClass + ": ",
766
- "To change the url, set the url property of the store," +
767
- " not _jsonFileUrl. _jsonFileUrl support will be removed in 2.0");
768
- this._ccUrl = this._jsonFileUrl;
769
- this.url = this._jsonFileUrl;
770
- }else if(this.url !== this._ccUrl){
771
- this._jsonFileUrl = this.url;
772
- this._ccUrl = this.url;
773
- }
774
-
775
- //See if there was any forced reset of data.
776
- if(this.data != null && this._jsonData == null){
777
- this._jsonData = this.data;
778
- this.data = null;
779
- }
780
-
781
- if(this._jsonFileUrl){
782
-
783
- if(this._loadInProgress){
784
- this._queuedFetches.push({args: keywordArgs});
785
- }else{
786
- this._loadInProgress = true;
787
- var getArgs = {
788
- url: self._jsonFileUrl,
789
- handleAs: "json-comment-optional",
790
- preventCache: this.urlPreventCache,
791
- failOk: this.failOk
792
- };
793
- var getHandler = xhr.get(getArgs);
794
- getHandler.addCallback(function(data){
795
- var scope = keywordArgs.scope?keywordArgs.scope:kernel.global;
796
- try{
797
- self._getItemsFromLoadedData(data);
798
- self._loadFinished = true;
799
- self._loadInProgress = false;
800
- item = self._getItemByIdentity(keywordArgs.identity);
801
- if(keywordArgs.onItem){
802
- keywordArgs.onItem.call(scope, item);
803
- }
804
- self._handleQueuedFetches();
805
- }catch(error){
806
- self._loadInProgress = false;
807
- if(keywordArgs.onError){
808
- keywordArgs.onError.call(scope, error);
809
- }
810
- }
811
- });
812
- getHandler.addErrback(function(error){
813
- self._loadInProgress = false;
814
- if(keywordArgs.onError){
815
- var scope = keywordArgs.scope?keywordArgs.scope:kernel.global;
816
- keywordArgs.onError.call(scope, error);
817
- }
818
- });
819
- }
820
-
821
- }else if(this._jsonData){
822
- // Passed in data, no need to xhr.
823
- self._getItemsFromLoadedData(self._jsonData);
824
- self._jsonData = null;
825
- self._loadFinished = true;
826
- item = self._getItemByIdentity(keywordArgs.identity);
827
- if(keywordArgs.onItem){
828
- scope = keywordArgs.scope?keywordArgs.scope:kernel.global;
829
- keywordArgs.onItem.call(scope, item);
830
- }
831
- }
832
- }else{
833
- // Already loaded. We can just look it up and call back.
834
- item = this._getItemByIdentity(keywordArgs.identity);
835
- if(keywordArgs.onItem){
836
- scope = keywordArgs.scope?keywordArgs.scope:kernel.global;
837
- keywordArgs.onItem.call(scope, item);
838
- }
839
- }
840
- },
841
-
842
- _getItemByIdentity: function(/* Object */ identity){
843
- // summary:
844
- // Internal function to look an item up by its identity map.
845
- var item = null;
846
- if(this._itemsByIdentity){
847
- // If this map is defined, we need to just try to get it. If it fails
848
- // the item does not exist.
849
- if(Object.hasOwnProperty.call(this._itemsByIdentity, identity)){
850
- item = this._itemsByIdentity[identity];
851
- }
852
- }else if (Object.hasOwnProperty.call(this._arrayOfAllItems, identity)){
853
- item = this._arrayOfAllItems[identity];
854
- }
855
- if(item === undefined){
856
- item = null;
857
- }
858
- return item; // Object
859
- },
860
-
861
- getIdentityAttributes: function(/* dojo/data/api/Item */ item){
862
- // summary:
863
- // See dojo/data/api/Identity.getIdentityAttributes()
864
-
865
- var identifier = this._features['dojo.data.api.Identity'];
866
- if(identifier === Number){
867
- // If (identifier === Number) it means getIdentity() just returns
868
- // an integer item-number for each item. The dojo/data/api/Identity
869
- // spec says we need to return null if the identity is not composed
870
- // of attributes
871
- return null; // null
872
- }else{
873
- return [identifier]; // Array
874
- }
875
- },
876
-
877
- _forceLoad: function(){
878
- // summary:
879
- // Internal function to force a load of the store if it hasn't occurred yet. This is required
880
- // for specific functions to work properly.
881
- var self = this;
882
- //Do a check on the JsonFileUrl and crosscheck it.
883
- //If it doesn't match the cross-check, it needs to be updated
884
- //This allows for either url or _jsonFileUrl to he changed to
885
- //reset the store load location. Done this way for backwards
886
- //compatibility. People use _jsonFileUrl (even though officially
887
- //private.
888
- if(this._jsonFileUrl !== this._ccUrl){
889
- kernel.deprecated(this.declaredClass + ": ",
890
- "To change the url, set the url property of the store," +
891
- " not _jsonFileUrl. _jsonFileUrl support will be removed in 2.0");
892
- this._ccUrl = this._jsonFileUrl;
893
- this.url = this._jsonFileUrl;
894
- }else if(this.url !== this._ccUrl){
895
- this._jsonFileUrl = this.url;
896
- this._ccUrl = this.url;
897
- }
898
-
899
- //See if there was any forced reset of data.
900
- if(this.data != null){
901
- this._jsonData = this.data;
902
- this.data = null;
903
- }
904
-
905
- if(this._jsonFileUrl){
906
- var getArgs = {
907
- url: this._jsonFileUrl,
908
- handleAs: "json-comment-optional",
909
- preventCache: this.urlPreventCache,
910
- failOk: this.failOk,
911
- sync: true
912
- };
913
- var getHandler = xhr.get(getArgs);
914
- getHandler.addCallback(function(data){
915
- try{
916
- //Check to be sure there wasn't another load going on concurrently
917
- //So we don't clobber data that comes in on it. If there is a load going on
918
- //then do not save this data. It will potentially clobber current data.
919
- //We mainly wanted to sync/wait here.
920
- //TODO: Revisit the loading scheme of this store to improve multi-initial
921
- //request handling.
922
- if(self._loadInProgress !== true && !self._loadFinished){
923
- self._getItemsFromLoadedData(data);
924
- self._loadFinished = true;
925
- }else if(self._loadInProgress){
926
- //Okay, we hit an error state we can't recover from. A forced load occurred
927
- //while an async load was occurring. Since we cannot block at this point, the best
928
- //that can be managed is to throw an error.
929
- throw new Error(this.declaredClass + ": Unable to perform a synchronous load, an async load is in progress.");
930
- }
931
- }catch(e){
932
- console.log(e);
933
- throw e;
934
- }
935
- });
936
- getHandler.addErrback(function(error){
937
- throw error;
938
- });
939
- }else if(this._jsonData){
940
- self._getItemsFromLoadedData(self._jsonData);
941
- self._jsonData = null;
942
- self._loadFinished = true;
943
- }
944
- }
945
- });
946
- //Mix in the simple fetch implementation to this class.
947
- lang.extend(ItemFileReadStore,simpleFetch);
948
-
949
- return ItemFileReadStore;
950
-
951
- });