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,299 +0,0 @@
1
- define("dojo/_base/kernel", ["../has", "./config", "require", "module"], function(has, config, require, module){
2
- // module:
3
- // dojo/_base/kernel
4
-
5
- // This module is the foundational module of the dojo boot sequence; it defines the dojo object.
6
-
7
- var
8
- // loop variables for this module
9
- i, p,
10
-
11
- // create dojo, dijit, and dojox
12
- // FIXME: in 2.0 remove dijit, dojox being created by dojo
13
- dijit = {},
14
- dojox = {},
15
- dojo = {
16
- // summary:
17
- // This module is the foundational module of the dojo boot sequence; it defines the dojo object.
18
-
19
- // notice dojo takes ownership of the value of the config module
20
- config:config,
21
- global:this,
22
- dijit:dijit,
23
- dojox:dojox
24
- };
25
-
26
-
27
- // Configure the scope map. For a 100% AMD application, the scope map is not needed other than to provide
28
- // a _scopeName property for the dojo, dijit, and dojox root object so those packages can create
29
- // unique names in the global space.
30
- //
31
- // Built, legacy modules use the scope map to allow those modules to be expressed as if dojo, dijit, and dojox,
32
- // where global when in fact they are either global under different names or not global at all. In v1.6-, the
33
- // config variable "scopeMap" was used to map names as used within a module to global names. This has been
34
- // subsumed by the AMD map configuration variable which can relocate packages to different names. For backcompat,
35
- // only the "*" mapping is supported. See http://livedocs.dojotoolkit.org/developer/design/loader#legacy-cross-domain-mode for details.
36
- //
37
- // The following computations contort the packageMap for this dojo instance into a scopeMap.
38
- var scopeMap =
39
- // a map from a name used in a legacy module to the (global variable name, object addressed by that name)
40
- // always map dojo, dijit, and dojox
41
- {
42
- dojo:["dojo", dojo],
43
- dijit:["dijit", dijit],
44
- dojox:["dojox", dojox]
45
- },
46
-
47
- packageMap =
48
- // the package map for this dojo instance; note, a foreign loader or no pacakgeMap results in the above default config
49
- (require.map && require.map[module.id.match(/[^\/]+/)[0]]),
50
-
51
- item;
52
-
53
-
54
- // process all mapped top-level names for this instance of dojo
55
- for(p in packageMap){
56
- if(scopeMap[p]){
57
- // mapped dojo, dijit, or dojox
58
- scopeMap[p][0] = packageMap[p];
59
- }else{
60
- // some other top-level name
61
- scopeMap[p] = [packageMap[p], {}];
62
- }
63
- }
64
-
65
- // publish those names to _scopeName and, optionally, the global namespace
66
- for(p in scopeMap){
67
- item = scopeMap[p];
68
- item[1]._scopeName = item[0];
69
- if(!config.noGlobals){
70
- this[item[0]] = item[1];
71
- }
72
- }
73
- dojo.scopeMap = scopeMap;
74
-
75
- /*===== dojo.__docParserConfigureScopeMap(scopeMap); =====*/
76
-
77
- // FIXME: dojo.baseUrl and dojo.config.baseUrl should be deprecated
78
- dojo.baseUrl = dojo.config.baseUrl = require.baseUrl;
79
- dojo.isAsync = ! 1 || require.async;
80
- dojo.locale = config.locale;
81
-
82
- var rev = "$Rev: 29458 $".match(/\d+/);
83
- dojo.version = {
84
- // summary:
85
- // Version number of the Dojo Toolkit
86
- // description:
87
- // Hash about the version, including
88
- //
89
- // - major: Integer: Major version. If total version is "1.2.0beta1", will be 1
90
- // - minor: Integer: Minor version. If total version is "1.2.0beta1", will be 2
91
- // - patch: Integer: Patch version. If total version is "1.2.0beta1", will be 0
92
- // - flag: String: Descriptor flag. If total version is "1.2.0beta1", will be "beta1"
93
- // - revision: Number: The SVN rev from which dojo was pulled
94
-
95
- major: 1, minor: 8, patch: 0, flag: "",
96
- revision: rev ? +rev[0] : NaN,
97
- toString: function(){
98
- var v = dojo.version;
99
- return v.major + "." + v.minor + "." + v.patch + v.flag + " (" + v.revision + ")"; // String
100
- }
101
- };
102
-
103
- // If 1 is truthy, then as a dojo module is defined it should push it's definitions
104
- // into the dojo object, and conversely. In 2.0, it will likely be unusual to augment another object
105
- // as a result of defining a module. This has feature gives a way to force 2.0 behavior as the code
106
- // is migrated. Absent specific advice otherwise, set extend-dojo to truthy.
107
- 1 || has.add("extend-dojo", 1);
108
-
109
-
110
- (Function("d", "d.eval = function(){return d.global.eval ? d.global.eval(arguments[0]) : eval(arguments[0]);}"))(dojo);
111
- /*=====
112
- dojo.eval = function(scriptText){
113
- // summary:
114
- // A legacy method created for use exclusively by internal Dojo methods. Do not use this method
115
- // directly unless you understand its possibly-different implications on the platforms your are targeting.
116
- // description:
117
- // Makes an attempt to evaluate scriptText in the global scope. The function works correctly for browsers
118
- // that support indirect eval.
119
- //
120
- // As usual, IE does not. On IE, the only way to implement global eval is to
121
- // use execScript. Unfortunately, execScript does not return a value and breaks some current usages of dojo.eval.
122
- // This implementation uses the technique of executing eval in the scope of a function that is a single scope
123
- // frame below the global scope; thereby coming close to the global scope. Note carefully that
124
- //
125
- // dojo.eval("var pi = 3.14;");
126
- //
127
- // will define global pi in non-IE environments, but define pi only in a temporary local scope for IE. If you want
128
- // to define a global variable using dojo.eval, write something like
129
- //
130
- // dojo.eval("window.pi = 3.14;")
131
- // scriptText:
132
- // The text to evaluation.
133
- // returns:
134
- // The result of the evaluation. Often `undefined`
135
- };
136
- =====*/
137
-
138
-
139
- if( 0 ){
140
- dojo.exit = function(exitcode){
141
- quit(exitcode);
142
- };
143
- }else{
144
- dojo.exit = function(){
145
- };
146
- }
147
-
148
- 1 || has.add("dojo-guarantee-console",
149
- // ensure that console.log, console.warn, etc. are defined
150
- 1
151
- );
152
- if( 1 ){
153
- typeof console != "undefined" || (console = {});
154
- // Be careful to leave 'log' always at the end
155
- var cn = [
156
- "assert", "count", "debug", "dir", "dirxml", "error", "group",
157
- "groupEnd", "info", "profile", "profileEnd", "time", "timeEnd",
158
- "trace", "warn", "log"
159
- ];
160
- var tn;
161
- i = 0;
162
- while((tn = cn[i++])){
163
- if(!console[tn]){
164
- (function(){
165
- var tcn = tn + "";
166
- console[tcn] = ('log' in console) ? function(){
167
- var a = Array.apply({}, arguments);
168
- a.unshift(tcn + ":");
169
- console["log"](a.join(" "));
170
- } : function(){};
171
- console[tcn]._fake = true;
172
- })();
173
- }
174
- }
175
- }
176
-
177
- has.add("dojo-debug-messages",
178
- // include dojo.deprecated/dojo.experimental implementations
179
- !!config.isDebug
180
- );
181
- dojo.deprecated = dojo.experimental = function(){};
182
- if(has("dojo-debug-messages")){
183
- dojo.deprecated = function(/*String*/ behaviour, /*String?*/ extra, /*String?*/ removal){
184
- // summary:
185
- // Log a debug message to indicate that a behavior has been
186
- // deprecated.
187
- // behaviour: String
188
- // The API or behavior being deprecated. Usually in the form
189
- // of "myApp.someFunction()".
190
- // extra: String?
191
- // Text to append to the message. Often provides advice on a
192
- // new function or facility to achieve the same goal during
193
- // the deprecation period.
194
- // removal: String?
195
- // Text to indicate when in the future the behavior will be
196
- // removed. Usually a version number.
197
- // example:
198
- // | dojo.deprecated("myApp.getTemp()", "use myApp.getLocaleTemp() instead", "1.0");
199
-
200
- var message = "DEPRECATED: " + behaviour;
201
- if(extra){ message += " " + extra; }
202
- if(removal){ message += " -- will be removed in version: " + removal; }
203
- console.warn(message);
204
- };
205
-
206
- dojo.experimental = function(/* String */ moduleName, /* String? */ extra){
207
- // summary:
208
- // Marks code as experimental.
209
- // description:
210
- // This can be used to mark a function, file, or module as
211
- // experimental. Experimental code is not ready to be used, and the
212
- // APIs are subject to change without notice. Experimental code may be
213
- // completed deleted without going through the normal deprecation
214
- // process.
215
- // moduleName: String
216
- // The name of a module, or the name of a module file or a specific
217
- // function
218
- // extra: String?
219
- // some additional message for the user
220
- // example:
221
- // | dojo.experimental("dojo.data.Result");
222
- // example:
223
- // | dojo.experimental("dojo.weather.toKelvin()", "PENDING approval from NOAA");
224
-
225
- var message = "EXPERIMENTAL: " + moduleName + " -- APIs subject to change without notice.";
226
- if(extra){ message += " " + extra; }
227
- console.warn(message);
228
- };
229
- }
230
-
231
- 1 || has.add("dojo-modulePaths",
232
- // consume dojo.modulePaths processing
233
- 1
234
- );
235
- if( 1 ){
236
- // notice that modulePaths won't be applied to any require's before the dojo/_base/kernel factory is run;
237
- // this is the v1.6- behavior.
238
- if(config.modulePaths){
239
- dojo.deprecated("dojo.modulePaths", "use paths configuration");
240
- var paths = {};
241
- for(p in config.modulePaths){
242
- paths[p.replace(/\./g, "/")] = config.modulePaths[p];
243
- }
244
- require({paths:paths});
245
- }
246
- }
247
-
248
- 1 || has.add("dojo-moduleUrl",
249
- // include dojo.moduleUrl
250
- 1
251
- );
252
- if( 1 ){
253
- dojo.moduleUrl = function(/*String*/module, /*String?*/url){
254
- // summary:
255
- // Returns a URL relative to a module.
256
- // example:
257
- // | var pngPath = dojo.moduleUrl("acme","images/small.png");
258
- // | console.dir(pngPath); // list the object properties
259
- // | // create an image and set it's source to pngPath's value:
260
- // | var img = document.createElement("img");
261
- // | img.src = pngPath;
262
- // | // add our image to the document
263
- // | dojo.body().appendChild(img);
264
- // example:
265
- // you may de-reference as far as you like down the package
266
- // hierarchy. This is sometimes handy to avoid lenghty relative
267
- // urls or for building portable sub-packages. In this example,
268
- // the `acme.widget` and `acme.util` directories may be located
269
- // under different roots (see `dojo.registerModulePath`) but the
270
- // the modules which reference them can be unaware of their
271
- // relative locations on the filesystem:
272
- // | // somewhere in a configuration block
273
- // | dojo.registerModulePath("acme.widget", "../../acme/widget");
274
- // | dojo.registerModulePath("acme.util", "../../util");
275
- // |
276
- // | // ...
277
- // |
278
- // | // code in a module using acme resources
279
- // | var tmpltPath = dojo.moduleUrl("acme.widget","templates/template.html");
280
- // | var dataPath = dojo.moduleUrl("acme.util","resources/data.json");
281
-
282
- dojo.deprecated("dojo.moduleUrl()", "use require.toUrl", "2.0");
283
-
284
- // require.toUrl requires a filetype; therefore, just append the suffix "/*.*" to guarantee a filetype, then
285
- // remove the suffix from the result. This way clients can request a url w/out a filetype. This should be
286
- // rare, but it maintains backcompat for the v1.x line (note: dojo.moduleUrl will be removed in v2.0).
287
- // Notice * is an illegal filename so it won't conflict with any real path map that may exist the paths config.
288
- var result = null;
289
- if(module){
290
- result = require.toUrl(module.replace(/\./g, "/") + (url ? ("/" + url) : "") + "/*.*").replace(/\/\*\.\*/, "") + (url ? "" : "/");
291
- }
292
- return result;
293
- };
294
- }
295
-
296
- dojo._hasResource = {}; // for backward compatibility with layers built with 1.6 tooling
297
-
298
- return dojo;
299
- });
@@ -1,605 +0,0 @@
1
- define("dojo/_base/lang", ["./kernel", "../has", "../sniff"], function(dojo, has){
2
- // module:
3
- // dojo/_base/lang
4
-
5
- has.add("bug-for-in-skips-shadowed", function(){
6
- // if true, the for-in iterator skips object properties that exist in Object's prototype (IE 6 - ?)
7
- for(var i in {toString: 1}){
8
- return 0;
9
- }
10
- return 1;
11
- });
12
-
13
- // Helper methods
14
- var _extraNames =
15
- has("bug-for-in-skips-shadowed") ?
16
- "hasOwnProperty.valueOf.isPrototypeOf.propertyIsEnumerable.toLocaleString.toString.constructor".split(".") : [],
17
-
18
- _extraLen = _extraNames.length,
19
-
20
- getProp = function(/*Array*/parts, /*Boolean*/create, /*Object*/context){
21
- var p, i = 0, dojoGlobal = dojo.global;
22
- if(!context){
23
- if(!parts.length){
24
- return dojoGlobal;
25
- }else{
26
- p = parts[i++];
27
- try{
28
- context = dojo.scopeMap[p] && dojo.scopeMap[p][1];
29
- }catch(e){}
30
- context = context || (p in dojoGlobal ? dojoGlobal[p] : (create ? dojoGlobal[p] = {} : undefined));
31
- }
32
- }
33
- while(context && (p = parts[i++])){
34
- context = (p in context ? context[p] : (create ? context[p] = {} : undefined));
35
- }
36
- return context; // mixed
37
- },
38
-
39
- opts = Object.prototype.toString,
40
-
41
- efficient = function(obj, offset, startWith){
42
- return (startWith||[]).concat(Array.prototype.slice.call(obj, offset||0));
43
- },
44
-
45
- _pattern = /\{([^\}]+)\}/g;
46
-
47
- // Module export
48
- var lang = {
49
- // summary:
50
- // This module defines Javascript language extensions.
51
-
52
- // _extraNames: String[]
53
- // Lists property names that must be explicitly processed during for-in iteration
54
- // in environments that have has("bug-for-in-skips-shadowed") true.
55
- _extraNames:_extraNames,
56
-
57
- _mixin: function(dest, source, copyFunc){
58
- // summary:
59
- // Copies/adds all properties of source to dest; returns dest.
60
- // dest: Object
61
- // The object to which to copy/add all properties contained in source.
62
- // source: Object
63
- // The object from which to draw all properties to copy into dest.
64
- // copyFunc: Function?
65
- // The process used to copy/add a property in source; defaults to the Javascript assignment operator.
66
- // returns:
67
- // dest, as modified
68
- // description:
69
- // All properties, including functions (sometimes termed "methods"), excluding any non-standard extensions
70
- // found in Object.prototype, are copied/added to dest. Copying/adding each particular property is
71
- // delegated to copyFunc (if any); copyFunc defaults to the Javascript assignment operator if not provided.
72
- // Notice that by default, _mixin executes a so-called "shallow copy" and aggregate types are copied/added by reference.
73
- var name, s, i, empty = {};
74
- for(name in source){
75
- // the (!(name in empty) || empty[name] !== s) condition avoids copying properties in "source"
76
- // inherited from Object.prototype. For example, if dest has a custom toString() method,
77
- // don't overwrite it with the toString() method that source inherited from Object.prototype
78
- s = source[name];
79
- if(!(name in dest) || (dest[name] !== s && (!(name in empty) || empty[name] !== s))){
80
- dest[name] = copyFunc ? copyFunc(s) : s;
81
- }
82
- }
83
-
84
- if(has("bug-for-in-skips-shadowed")){
85
- if(source){
86
- for(i = 0; i < _extraLen; ++i){
87
- name = _extraNames[i];
88
- s = source[name];
89
- if(!(name in dest) || (dest[name] !== s && (!(name in empty) || empty[name] !== s))){
90
- dest[name] = copyFunc ? copyFunc(s) : s;
91
- }
92
- }
93
- }
94
- }
95
-
96
- return dest; // Object
97
- },
98
-
99
- mixin: function(dest, sources){
100
- // summary:
101
- // Copies/adds all properties of one or more sources to dest; returns dest.
102
- // dest: Object
103
- // The object to which to copy/add all properties contained in source. If dest is falsy, then
104
- // a new object is manufactured before copying/adding properties begins.
105
- // sources: Object...
106
- // One of more objects from which to draw all properties to copy into dest. sources are processed
107
- // left-to-right and if more than one of these objects contain the same property name, the right-most
108
- // value "wins".
109
- // returns: Object
110
- // dest, as modified
111
- // description:
112
- // All properties, including functions (sometimes termed "methods"), excluding any non-standard extensions
113
- // found in Object.prototype, are copied/added from sources to dest. sources are processed left to right.
114
- // The Javascript assignment operator is used to copy/add each property; therefore, by default, mixin
115
- // executes a so-called "shallow copy" and aggregate types are copied/added by reference.
116
- // example:
117
- // make a shallow copy of an object
118
- // | var copy = lang.mixin({}, source);
119
- // example:
120
- // many class constructors often take an object which specifies
121
- // values to be configured on the object. In this case, it is
122
- // often simplest to call `lang.mixin` on the `this` object:
123
- // | declare("acme.Base", null, {
124
- // | constructor: function(properties){
125
- // | // property configuration:
126
- // | lang.mixin(this, properties);
127
- // |
128
- // | console.log(this.quip);
129
- // | // ...
130
- // | },
131
- // | quip: "I wasn't born yesterday, you know - I've seen movies.",
132
- // | // ...
133
- // | });
134
- // |
135
- // | // create an instance of the class and configure it
136
- // | var b = new acme.Base({quip: "That's what it does!" });
137
- // example:
138
- // copy in properties from multiple objects
139
- // | var flattened = lang.mixin(
140
- // | {
141
- // | name: "Frylock",
142
- // | braces: true
143
- // | },
144
- // | {
145
- // | name: "Carl Brutanananadilewski"
146
- // | }
147
- // | );
148
- // |
149
- // | // will print "Carl Brutanananadilewski"
150
- // | console.log(flattened.name);
151
- // | // will print "true"
152
- // | console.log(flattened.braces);
153
-
154
- if(!dest){ dest = {}; }
155
- for(var i = 1, l = arguments.length; i < l; i++){
156
- lang._mixin(dest, arguments[i]);
157
- }
158
- return dest; // Object
159
- },
160
-
161
- setObject: function(name, value, context){
162
- // summary:
163
- // Set a property from a dot-separated string, such as "A.B.C"
164
- // description:
165
- // Useful for longer api chains where you have to test each object in
166
- // the chain, or when you have an object reference in string format.
167
- // Objects are created as needed along `path`. Returns the passed
168
- // value if setting is successful or `undefined` if not.
169
- // name: String
170
- // Path to a property, in the form "A.B.C".
171
- // value: anything
172
- // value or object to place at location given by name
173
- // context: Object?
174
- // Optional. Object to use as root of path. Defaults to
175
- // `dojo.global`.
176
- // example:
177
- // set the value of `foo.bar.baz`, regardless of whether
178
- // intermediate objects already exist:
179
- // | lang.setObject("foo.bar.baz", value);
180
- // example:
181
- // without `lang.setObject`, we often see code like this:
182
- // | // ensure that intermediate objects are available
183
- // | if(!obj["parent"]){ obj.parent = {}; }
184
- // | if(!obj.parent["child"]){ obj.parent.child = {}; }
185
- // | // now we can safely set the property
186
- // | obj.parent.child.prop = "some value";
187
- // whereas with `lang.setObject`, we can shorten that to:
188
- // | lang.setObject("parent.child.prop", "some value", obj);
189
-
190
- var parts = name.split("."), p = parts.pop(), obj = getProp(parts, true, context);
191
- return obj && p ? (obj[p] = value) : undefined; // Object
192
- },
193
-
194
- getObject: function(name, create, context){
195
- // summary:
196
- // Get a property from a dot-separated string, such as "A.B.C"
197
- // description:
198
- // Useful for longer api chains where you have to test each object in
199
- // the chain, or when you have an object reference in string format.
200
- // name: String
201
- // Path to an property, in the form "A.B.C".
202
- // create: Boolean?
203
- // Optional. Defaults to `false`. If `true`, Objects will be
204
- // created at any point along the 'path' that is undefined.
205
- // context: Object?
206
- // Optional. Object to use as root of path. Defaults to
207
- // 'dojo.global'. Null may be passed.
208
- return getProp(name.split("."), create, context); // Object
209
- },
210
-
211
- exists: function(name, obj){
212
- // summary:
213
- // determine if an object supports a given method
214
- // description:
215
- // useful for longer api chains where you have to test each object in
216
- // the chain. Useful for object and method detection.
217
- // name: String
218
- // Path to an object, in the form "A.B.C".
219
- // obj: Object?
220
- // Object to use as root of path. Defaults to
221
- // 'dojo.global'. Null may be passed.
222
- // example:
223
- // | // define an object
224
- // | var foo = {
225
- // | bar: { }
226
- // | };
227
- // |
228
- // | // search the global scope
229
- // | lang.exists("foo.bar"); // true
230
- // | lang.exists("foo.bar.baz"); // false
231
- // |
232
- // | // search from a particular scope
233
- // | lang.exists("bar", foo); // true
234
- // | lang.exists("bar.baz", foo); // false
235
- return lang.getObject(name, false, obj) !== undefined; // Boolean
236
- },
237
-
238
- // Crockford (ish) functions
239
-
240
- isString: function(it){
241
- // summary:
242
- // Return true if it is a String
243
- // it: anything
244
- // Item to test.
245
- return (typeof it == "string" || it instanceof String); // Boolean
246
- },
247
-
248
- isArray: function(it){
249
- // summary:
250
- // Return true if it is an Array.
251
- // Does not work on Arrays created in other windows.
252
- // it: anything
253
- // Item to test.
254
- return it && (it instanceof Array || typeof it == "array"); // Boolean
255
- },
256
-
257
- isFunction: function(it){
258
- // summary:
259
- // Return true if it is a Function
260
- // it: anything
261
- // Item to test.
262
- return opts.call(it) === "[object Function]";
263
- },
264
-
265
- isObject: function(it){
266
- // summary:
267
- // Returns true if it is a JavaScript object (or an Array, a Function
268
- // or null)
269
- // it: anything
270
- // Item to test.
271
- return it !== undefined &&
272
- (it === null || typeof it == "object" || lang.isArray(it) || lang.isFunction(it)); // Boolean
273
- },
274
-
275
- isArrayLike: function(it){
276
- // summary:
277
- // similar to isArray() but more permissive
278
- // it: anything
279
- // Item to test.
280
- // returns:
281
- // If it walks like a duck and quacks like a duck, return `true`
282
- // description:
283
- // Doesn't strongly test for "arrayness". Instead, settles for "isn't
284
- // a string or number and has a length property". Arguments objects
285
- // and DOM collections will return true when passed to
286
- // isArrayLike(), but will return false when passed to
287
- // isArray().
288
- return it && it !== undefined && // Boolean
289
- // keep out built-in constructors (Number, String, ...) which have length
290
- // properties
291
- !lang.isString(it) && !lang.isFunction(it) &&
292
- !(it.tagName && it.tagName.toLowerCase() == 'form') &&
293
- (lang.isArray(it) || isFinite(it.length));
294
- },
295
-
296
- isAlien: function(it){
297
- // summary:
298
- // Returns true if it is a built-in function or some other kind of
299
- // oddball that *should* report as a function but doesn't
300
- return it && !lang.isFunction(it) && /\{\s*\[native code\]\s*\}/.test(String(it)); // Boolean
301
- },
302
-
303
- extend: function(ctor, props){
304
- // summary:
305
- // Adds all properties and methods of props to constructor's
306
- // prototype, making them available to all instances created with
307
- // constructor.
308
- // ctor: Object
309
- // Target constructor to extend.
310
- // props: Object
311
- // One or more objects to mix into ctor.prototype
312
- for(var i=1, l=arguments.length; i<l; i++){
313
- lang._mixin(ctor.prototype, arguments[i]);
314
- }
315
- return ctor; // Object
316
- },
317
-
318
- _hitchArgs: function(scope, method){
319
- var pre = lang._toArray(arguments, 2);
320
- var named = lang.isString(method);
321
- return function(){
322
- // arrayify arguments
323
- var args = lang._toArray(arguments);
324
- // locate our method
325
- var f = named ? (scope||dojo.global)[method] : method;
326
- // invoke with collected args
327
- return f && f.apply(scope || this, pre.concat(args)); // mixed
328
- }; // Function
329
- },
330
-
331
- hitch: function(scope, method){
332
- // summary:
333
- // Returns a function that will only ever execute in the a given scope.
334
- // This allows for easy use of object member functions
335
- // in callbacks and other places in which the "this" keyword may
336
- // otherwise not reference the expected scope.
337
- // Any number of default positional arguments may be passed as parameters
338
- // beyond "method".
339
- // Each of these values will be used to "placehold" (similar to curry)
340
- // for the hitched function.
341
- // scope: Object
342
- // The scope to use when method executes. If method is a string,
343
- // scope is also the object containing method.
344
- // method: Function|String...
345
- // A function to be hitched to scope, or the name of the method in
346
- // scope to be hitched.
347
- // example:
348
- // | lang.hitch(foo, "bar")();
349
- // runs foo.bar() in the scope of foo
350
- // example:
351
- // | lang.hitch(foo, myFunction);
352
- // returns a function that runs myFunction in the scope of foo
353
- // example:
354
- // Expansion on the default positional arguments passed along from
355
- // hitch. Passed args are mixed first, additional args after.
356
- // | var foo = { bar: function(a, b, c){ console.log(a, b, c); } };
357
- // | var fn = lang.hitch(foo, "bar", 1, 2);
358
- // | fn(3); // logs "1, 2, 3"
359
- // example:
360
- // | var foo = { bar: 2 };
361
- // | lang.hitch(foo, function(){ this.bar = 10; })();
362
- // execute an anonymous function in scope of foo
363
- if(arguments.length > 2){
364
- return lang._hitchArgs.apply(dojo, arguments); // Function
365
- }
366
- if(!method){
367
- method = scope;
368
- scope = null;
369
- }
370
- if(lang.isString(method)){
371
- scope = scope || dojo.global;
372
- if(!scope[method]){ throw(['lang.hitch: scope["', method, '"] is null (scope="', scope, '")'].join('')); }
373
- return function(){ return scope[method].apply(scope, arguments || []); }; // Function
374
- }
375
- return !scope ? method : function(){ return method.apply(scope, arguments || []); }; // Function
376
- },
377
-
378
- delegate: (function(){
379
- // boodman/crockford delegation w/ cornford optimization
380
- function TMP(){}
381
- return function(obj, props){
382
- TMP.prototype = obj;
383
- var tmp = new TMP();
384
- TMP.prototype = null;
385
- if(props){
386
- lang._mixin(tmp, props);
387
- }
388
- return tmp; // Object
389
- };
390
- })(),
391
- /*=====
392
- delegate: function(obj, props){
393
- // summary:
394
- // Returns a new object which "looks" to obj for properties which it
395
- // does not have a value for. Optionally takes a bag of properties to
396
- // seed the returned object with initially.
397
- // description:
398
- // This is a small implementation of the Boodman/Crockford delegation
399
- // pattern in JavaScript. An intermediate object constructor mediates
400
- // the prototype chain for the returned object, using it to delegate
401
- // down to obj for property lookup when object-local lookup fails.
402
- // This can be thought of similarly to ES4's "wrap", save that it does
403
- // not act on types but rather on pure objects.
404
- // obj: Object
405
- // The object to delegate to for properties not found directly on the
406
- // return object or in props.
407
- // props: Object...
408
- // an object containing properties to assign to the returned object
409
- // returns:
410
- // an Object of anonymous type
411
- // example:
412
- // | var foo = { bar: "baz" };
413
- // | var thinger = lang.delegate(foo, { thud: "xyzzy"});
414
- // | thinger.bar == "baz"; // delegated to foo
415
- // | foo.thud == undefined; // by definition
416
- // | thinger.thud == "xyzzy"; // mixed in from props
417
- // | foo.bar = "thonk";
418
- // | thinger.bar == "thonk"; // still delegated to foo's bar
419
- },
420
- =====*/
421
-
422
- _toArray: has("ie") ?
423
- (function(){
424
- function slow(obj, offset, startWith){
425
- var arr = startWith||[];
426
- for(var x = offset || 0; x < obj.length; x++){
427
- arr.push(obj[x]);
428
- }
429
- return arr;
430
- }
431
- return function(obj){
432
- return ((obj.item) ? slow : efficient).apply(this, arguments);
433
- };
434
- })() : efficient,
435
- /*=====
436
- _toArray: function(obj, offset, startWith){
437
- // summary:
438
- // Converts an array-like object (i.e. arguments, DOMCollection) to an
439
- // array. Returns a new Array with the elements of obj.
440
- // obj: Object
441
- // the object to "arrayify". We expect the object to have, at a
442
- // minimum, a length property which corresponds to integer-indexed
443
- // properties.
444
- // offset: Number?
445
- // the location in obj to start iterating from. Defaults to 0.
446
- // Optional.
447
- // startWith: Array?
448
- // An array to pack with the properties of obj. If provided,
449
- // properties in obj are appended at the end of startWith and
450
- // startWith is the returned array.
451
- },
452
- =====*/
453
-
454
- partial: function(/*Function|String*/ method /*, ...*/){
455
- // summary:
456
- // similar to hitch() except that the scope object is left to be
457
- // whatever the execution context eventually becomes.
458
- // description:
459
- // Calling lang.partial is the functional equivalent of calling:
460
- // | lang.hitch(null, funcName, ...);
461
- // method:
462
- // The function to "wrap"
463
- var arr = [ null ];
464
- return lang.hitch.apply(dojo, arr.concat(lang._toArray(arguments))); // Function
465
- },
466
-
467
- clone: function(/*anything*/ src){
468
- // summary:
469
- // Clones objects (including DOM nodes) and all children.
470
- // Warning: do not clone cyclic structures.
471
- // src:
472
- // The object to clone
473
- if(!src || typeof src != "object" || lang.isFunction(src)){
474
- // null, undefined, any non-object, or function
475
- return src; // anything
476
- }
477
- if(src.nodeType && "cloneNode" in src){
478
- // DOM Node
479
- return src.cloneNode(true); // Node
480
- }
481
- if(src instanceof Date){
482
- // Date
483
- return new Date(src.getTime()); // Date
484
- }
485
- if(src instanceof RegExp){
486
- // RegExp
487
- return new RegExp(src); // RegExp
488
- }
489
- var r, i, l;
490
- if(lang.isArray(src)){
491
- // array
492
- r = [];
493
- for(i = 0, l = src.length; i < l; ++i){
494
- if(i in src){
495
- r.push(lang.clone(src[i]));
496
- }
497
- }
498
- // we don't clone functions for performance reasons
499
- // }else if(d.isFunction(src)){
500
- // // function
501
- // r = function(){ return src.apply(this, arguments); };
502
- }else{
503
- // generic objects
504
- r = src.constructor ? new src.constructor() : {};
505
- }
506
- return lang._mixin(r, src, lang.clone);
507
- },
508
-
509
-
510
- trim: String.prototype.trim ?
511
- function(str){ return str.trim(); } :
512
- function(str){ return str.replace(/^\s\s*/, '').replace(/\s\s*$/, ''); },
513
- /*=====
514
- trim: function(str){
515
- // summary:
516
- // Trims whitespace from both sides of the string
517
- // str: String
518
- // String to be trimmed
519
- // returns: String
520
- // Returns the trimmed string
521
- // description:
522
- // This version of trim() was selected for inclusion into the base due
523
- // to its compact size and relatively good performance
524
- // (see [Steven Levithan's blog](http://blog.stevenlevithan.com/archives/faster-trim-javascript)
525
- // Uses String.prototype.trim instead, if available.
526
- // The fastest but longest version of this function is located at
527
- // lang.string.trim()
528
- },
529
- =====*/
530
-
531
- replace: function(tmpl, map, pattern){
532
- // summary:
533
- // Performs parameterized substitutions on a string. Throws an
534
- // exception if any parameter is unmatched.
535
- // tmpl: String
536
- // String to be used as a template.
537
- // map: Object|Function
538
- // If an object, it is used as a dictionary to look up substitutions.
539
- // If a function, it is called for every substitution with following parameters:
540
- // a whole match, a name, an offset, and the whole template
541
- // string (see https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String/replace
542
- // for more details).
543
- // pattern: RegEx?
544
- // Optional regular expression objects that overrides the default pattern.
545
- // Must be global and match one item. The default is: /\{([^\}]+)\}/g,
546
- // which matches patterns like that: "{xxx}", where "xxx" is any sequence
547
- // of characters, which doesn't include "}".
548
- // returns: String
549
- // Returns the substituted string.
550
- // example:
551
- // | // uses a dictionary for substitutions:
552
- // | lang.replace("Hello, {name.first} {name.last} AKA {nick}!",
553
- // | {
554
- // | nick: "Bob",
555
- // | name: {
556
- // | first: "Robert",
557
- // | middle: "X",
558
- // | last: "Cringely"
559
- // | }
560
- // | });
561
- // | // returns: Hello, Robert Cringely AKA Bob!
562
- // example:
563
- // | // uses an array for substitutions:
564
- // | lang.replace("Hello, {0} {2}!",
565
- // | ["Robert", "X", "Cringely"]);
566
- // | // returns: Hello, Robert Cringely!
567
- // example:
568
- // | // uses a function for substitutions:
569
- // | function sum(a){
570
- // | var t = 0;
571
- // | arrayforEach(a, function(x){ t += x; });
572
- // | return t;
573
- // | }
574
- // | lang.replace(
575
- // | "{count} payments averaging {avg} USD per payment.",
576
- // | lang.hitch(
577
- // | { payments: [11, 16, 12] },
578
- // | function(_, key){
579
- // | switch(key){
580
- // | case "count": return this.payments.length;
581
- // | case "min": return Math.min.apply(Math, this.payments);
582
- // | case "max": return Math.max.apply(Math, this.payments);
583
- // | case "sum": return sum(this.payments);
584
- // | case "avg": return sum(this.payments) / this.payments.length;
585
- // | }
586
- // | }
587
- // | )
588
- // | );
589
- // | // prints: 3 payments averaging 13 USD per payment.
590
- // example:
591
- // | // uses an alternative PHP-like pattern for substitutions:
592
- // | lang.replace("Hello, ${0} ${2}!",
593
- // | ["Robert", "X", "Cringely"], /\$\{([^\}]+)\}/g);
594
- // | // returns: Hello, Robert Cringely!
595
-
596
- return tmpl.replace(pattern || _pattern, lang.isFunction(map) ?
597
- map : function(_, k){ return lang.getObject(k, false, map); });
598
- }
599
- };
600
-
601
- 1 && lang.mixin(dojo, lang);
602
-
603
- return lang;
604
- });
605
-