dojo-rails 0.9.8 → 0.9.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (611) hide show
  1. data/.gitignore +18 -0
  2. data/Gemfile +4 -0
  3. data/LICENSE +22 -0
  4. data/Rakefile +3 -0
  5. data/dojo-rails.gemspec +20 -0
  6. data/lib/dojo-rails.rb +1 -0
  7. data/lib/dojo/rails.rb +2 -0
  8. data/lib/dojo/rails/engine.rb +6 -0
  9. data/lib/dojo/rails/version.rb +9 -0
  10. data/lib/dojo/version.rb +7 -0
  11. data/vendor/assets/javascripts/dojo.js +15 -0
  12. data/vendor/assets/javascripts/dojo/AdapterRegistry.js +38 -0
  13. data/vendor/assets/javascripts/dojo/AdapterRegistry.js.uncompressed.js +113 -0
  14. data/vendor/assets/javascripts/dojo/DeferredList.js +57 -0
  15. data/vendor/assets/javascripts/dojo/DeferredList.js.uncompressed.js +86 -0
  16. data/vendor/assets/javascripts/dojo/Evented.js +23 -0
  17. data/vendor/assets/javascripts/dojo/Evented.js.uncompressed.js +32 -0
  18. data/vendor/assets/javascripts/dojo/LICENSE +195 -0
  19. data/vendor/assets/javascripts/dojo/NodeList-data.js +59 -0
  20. data/vendor/assets/javascripts/dojo/NodeList-data.js.uncompressed.js +181 -0
  21. data/vendor/assets/javascripts/dojo/NodeList-dom.js +122 -0
  22. data/vendor/assets/javascripts/dojo/NodeList-dom.js.uncompressed.js +454 -0
  23. data/vendor/assets/javascripts/dojo/NodeList-fx.js +39 -0
  24. data/vendor/assets/javascripts/dojo/NodeList-fx.js.uncompressed.js +222 -0
  25. data/vendor/assets/javascripts/dojo/NodeList-html.js +20 -0
  26. data/vendor/assets/javascripts/dojo/NodeList-html.js.uncompressed.js +55 -0
  27. data/vendor/assets/javascripts/dojo/NodeList-manipulate.js +210 -0
  28. data/vendor/assets/javascripts/dojo/NodeList-manipulate.js.uncompressed.js +730 -0
  29. data/vendor/assets/javascripts/dojo/NodeList-traverse.js +124 -0
  30. data/vendor/assets/javascripts/dojo/NodeList-traverse.js.uncompressed.js +508 -0
  31. data/vendor/assets/javascripts/dojo/OpenAjax.js +194 -0
  32. data/vendor/assets/javascripts/dojo/Stateful.js +67 -0
  33. data/vendor/assets/javascripts/dojo/Stateful.js.uncompressed.js +139 -0
  34. data/vendor/assets/javascripts/dojo/_base/Color.js +96 -0
  35. data/vendor/assets/javascripts/dojo/_base/Color.js.uncompressed.js +220 -0
  36. data/vendor/assets/javascripts/dojo/_base/Deferred.js +129 -0
  37. data/vendor/assets/javascripts/dojo/_base/Deferred.js.uncompressed.js +366 -0
  38. data/vendor/assets/javascripts/dojo/_base/NodeList.js +24 -0
  39. data/vendor/assets/javascripts/dojo/_base/NodeList.js.uncompressed.js +100 -0
  40. data/vendor/assets/javascripts/dojo/_base/array.js +142 -0
  41. data/vendor/assets/javascripts/dojo/_base/array.js.uncompressed.js +343 -0
  42. data/vendor/assets/javascripts/dojo/_base/browser.js +13 -0
  43. data/vendor/assets/javascripts/dojo/_base/browser.js.uncompressed.js +21 -0
  44. data/vendor/assets/javascripts/dojo/_base/config.js +26 -0
  45. data/vendor/assets/javascripts/dojo/_base/config.js.uncompressed.js +174 -0
  46. data/vendor/assets/javascripts/dojo/_base/configFirefoxExtension.js +334 -0
  47. data/vendor/assets/javascripts/dojo/_base/configNode.js +87 -0
  48. data/vendor/assets/javascripts/dojo/_base/configRhino.js +121 -0
  49. data/vendor/assets/javascripts/dojo/_base/configSpidermonkey.js +84 -0
  50. data/vendor/assets/javascripts/dojo/_base/connect.js +163 -0
  51. data/vendor/assets/javascripts/dojo/_base/connect.js.uncompressed.js +400 -0
  52. data/vendor/assets/javascripts/dojo/_base/declare.js +430 -0
  53. data/vendor/assets/javascripts/dojo/_base/declare.js.uncompressed.js +1050 -0
  54. data/vendor/assets/javascripts/dojo/_base/event.js +36 -0
  55. data/vendor/assets/javascripts/dojo/_base/event.js.uncompressed.js +51 -0
  56. data/vendor/assets/javascripts/dojo/_base/fx.js +295 -0
  57. data/vendor/assets/javascripts/dojo/_base/fx.js.uncompressed.js +666 -0
  58. data/vendor/assets/javascripts/dojo/_base/html.js +88 -0
  59. data/vendor/assets/javascripts/dojo/_base/html.js.uncompressed.js +389 -0
  60. data/vendor/assets/javascripts/dojo/_base/json.js +26 -0
  61. data/vendor/assets/javascripts/dojo/_base/json.js.uncompressed.js +85 -0
  62. data/vendor/assets/javascripts/dojo/_base/kernel.js +114 -0
  63. data/vendor/assets/javascripts/dojo/_base/kernel.js.uncompressed.js +302 -0
  64. data/vendor/assets/javascripts/dojo/_base/lang.js +178 -0
  65. data/vendor/assets/javascripts/dojo/_base/lang.js.uncompressed.js +707 -0
  66. data/vendor/assets/javascripts/dojo/_base/loader.js +258 -0
  67. data/vendor/assets/javascripts/dojo/_base/loader.js.uncompressed.js +718 -0
  68. data/vendor/assets/javascripts/dojo/_base/query.js +10 -0
  69. data/vendor/assets/javascripts/dojo/_base/query.js.uncompressed.js +3 -0
  70. data/vendor/assets/javascripts/dojo/_base/sniff.js +68 -0
  71. data/vendor/assets/javascripts/dojo/_base/sniff.js.uncompressed.js +187 -0
  72. data/vendor/assets/javascripts/dojo/_base/unload.js +21 -0
  73. data/vendor/assets/javascripts/dojo/_base/unload.js.uncompressed.js +81 -0
  74. data/vendor/assets/javascripts/dojo/_base/url.js +88 -0
  75. data/vendor/assets/javascripts/dojo/_base/url.js.uncompressed.js +111 -0
  76. data/vendor/assets/javascripts/dojo/_base/window.js +55 -0
  77. data/vendor/assets/javascripts/dojo/_base/window.js.uncompressed.js +126 -0
  78. data/vendor/assets/javascripts/dojo/_base/xhr.js +381 -0
  79. data/vendor/assets/javascripts/dojo/_base/xhr.js.uncompressed.js +830 -0
  80. data/vendor/assets/javascripts/dojo/_firebug/LICENSE +37 -0
  81. data/vendor/assets/javascripts/dojo/_firebug/errorIcon.png +0 -0
  82. data/vendor/assets/javascripts/dojo/_firebug/firebug.css +208 -0
  83. data/vendor/assets/javascripts/dojo/_firebug/firebug.js +897 -0
  84. data/vendor/assets/javascripts/dojo/_firebug/firebug.js.uncompressed.js +1183 -0
  85. data/vendor/assets/javascripts/dojo/_firebug/infoIcon.png +0 -0
  86. data/vendor/assets/javascripts/dojo/_firebug/tab_lft_norm.png +0 -0
  87. data/vendor/assets/javascripts/dojo/_firebug/tab_lft_over.png +0 -0
  88. data/vendor/assets/javascripts/dojo/_firebug/tab_rgt_norm.png +0 -0
  89. data/vendor/assets/javascripts/dojo/_firebug/tab_rgt_over.png +0 -0
  90. data/vendor/assets/javascripts/dojo/_firebug/warningIcon.png +0 -0
  91. data/vendor/assets/javascripts/dojo/aspect.js +98 -0
  92. data/vendor/assets/javascripts/dojo/aspect.js.uncompressed.js +207 -0
  93. data/vendor/assets/javascripts/dojo/back.js +238 -0
  94. data/vendor/assets/javascripts/dojo/back.js.uncompressed.js +397 -0
  95. data/vendor/assets/javascripts/dojo/behavior.js +92 -0
  96. data/vendor/assets/javascripts/dojo/behavior.js.uncompressed.js +248 -0
  97. data/vendor/assets/javascripts/dojo/cache.js +10 -0
  98. data/vendor/assets/javascripts/dojo/cache.js.uncompressed.js +9 -0
  99. data/vendor/assets/javascripts/dojo/cldr/LICENSE +29 -0
  100. data/vendor/assets/javascripts/dojo/cldr/README +18 -0
  101. data/vendor/assets/javascripts/dojo/cldr/monetary.js +23 -0
  102. data/vendor/assets/javascripts/dojo/cldr/monetary.js.uncompressed.js +35 -0
  103. data/vendor/assets/javascripts/dojo/cldr/nls/ar/buddhist.js +8 -0
  104. data/vendor/assets/javascripts/dojo/cldr/nls/ar/buddhist.js.uncompressed.js +115 -0
  105. data/vendor/assets/javascripts/dojo/cldr/nls/ar/currency.js +8 -0
  106. data/vendor/assets/javascripts/dojo/cldr/nls/ar/currency.js.uncompressed.js +16 -0
  107. data/vendor/assets/javascripts/dojo/cldr/nls/ar/gregorian.js +8 -0
  108. data/vendor/assets/javascripts/dojo/cldr/nls/ar/gregorian.js.uncompressed.js +240 -0
  109. data/vendor/assets/javascripts/dojo/cldr/nls/ar/hebrew.js +8 -0
  110. data/vendor/assets/javascripts/dojo/cldr/nls/ar/hebrew.js.uncompressed.js +124 -0
  111. data/vendor/assets/javascripts/dojo/cldr/nls/ar/islamic.js +8 -0
  112. data/vendor/assets/javascripts/dojo/cldr/nls/ar/islamic.js.uncompressed.js +156 -0
  113. data/vendor/assets/javascripts/dojo/cldr/nls/ar/number.js +8 -0
  114. data/vendor/assets/javascripts/dojo/cldr/nls/ar/number.js.uncompressed.js +18 -0
  115. data/vendor/assets/javascripts/dojo/cldr/nls/buddhist.js +8 -0
  116. data/vendor/assets/javascripts/dojo/cldr/nls/buddhist.js.uncompressed.js +267 -0
  117. data/vendor/assets/javascripts/dojo/cldr/nls/ca/currency.js +8 -0
  118. data/vendor/assets/javascripts/dojo/cldr/nls/ca/currency.js.uncompressed.js +15 -0
  119. data/vendor/assets/javascripts/dojo/cldr/nls/ca/gregorian.js +8 -0
  120. data/vendor/assets/javascripts/dojo/cldr/nls/ca/gregorian.js.uncompressed.js +235 -0
  121. data/vendor/assets/javascripts/dojo/cldr/nls/ca/number.js +8 -0
  122. data/vendor/assets/javascripts/dojo/cldr/nls/ca/number.js.uncompressed.js +22 -0
  123. data/vendor/assets/javascripts/dojo/cldr/nls/cs/currency.js +8 -0
  124. data/vendor/assets/javascripts/dojo/cldr/nls/cs/currency.js.uncompressed.js +15 -0
  125. data/vendor/assets/javascripts/dojo/cldr/nls/cs/gregorian.js +8 -0
  126. data/vendor/assets/javascripts/dojo/cldr/nls/cs/gregorian.js.uncompressed.js +215 -0
  127. data/vendor/assets/javascripts/dojo/cldr/nls/cs/number.js +8 -0
  128. data/vendor/assets/javascripts/dojo/cldr/nls/cs/number.js.uncompressed.js +22 -0
  129. data/vendor/assets/javascripts/dojo/cldr/nls/currency.js +8 -0
  130. data/vendor/assets/javascripts/dojo/cldr/nls/currency.js.uncompressed.js +48 -0
  131. data/vendor/assets/javascripts/dojo/cldr/nls/da/buddhist.js +8 -0
  132. data/vendor/assets/javascripts/dojo/cldr/nls/da/buddhist.js.uncompressed.js +141 -0
  133. data/vendor/assets/javascripts/dojo/cldr/nls/da/currency.js +8 -0
  134. data/vendor/assets/javascripts/dojo/cldr/nls/da/currency.js.uncompressed.js +16 -0
  135. data/vendor/assets/javascripts/dojo/cldr/nls/da/gregorian.js +8 -0
  136. data/vendor/assets/javascripts/dojo/cldr/nls/da/gregorian.js.uncompressed.js +237 -0
  137. data/vendor/assets/javascripts/dojo/cldr/nls/da/islamic.js +8 -0
  138. data/vendor/assets/javascripts/dojo/cldr/nls/da/islamic.js.uncompressed.js +87 -0
  139. data/vendor/assets/javascripts/dojo/cldr/nls/da/number.js +8 -0
  140. data/vendor/assets/javascripts/dojo/cldr/nls/da/number.js.uncompressed.js +22 -0
  141. data/vendor/assets/javascripts/dojo/cldr/nls/de/buddhist.js +8 -0
  142. data/vendor/assets/javascripts/dojo/cldr/nls/de/buddhist.js.uncompressed.js +130 -0
  143. data/vendor/assets/javascripts/dojo/cldr/nls/de/currency.js +8 -0
  144. data/vendor/assets/javascripts/dojo/cldr/nls/de/currency.js.uncompressed.js +17 -0
  145. data/vendor/assets/javascripts/dojo/cldr/nls/de/gregorian.js +8 -0
  146. data/vendor/assets/javascripts/dojo/cldr/nls/de/gregorian.js.uncompressed.js +237 -0
  147. data/vendor/assets/javascripts/dojo/cldr/nls/de/islamic.js +8 -0
  148. data/vendor/assets/javascripts/dojo/cldr/nls/de/islamic.js.uncompressed.js +172 -0
  149. data/vendor/assets/javascripts/dojo/cldr/nls/de/number.js +8 -0
  150. data/vendor/assets/javascripts/dojo/cldr/nls/de/number.js.uncompressed.js +22 -0
  151. data/vendor/assets/javascripts/dojo/cldr/nls/el/buddhist.js +8 -0
  152. data/vendor/assets/javascripts/dojo/cldr/nls/el/buddhist.js.uncompressed.js +120 -0
  153. data/vendor/assets/javascripts/dojo/cldr/nls/el/currency.js +8 -0
  154. data/vendor/assets/javascripts/dojo/cldr/nls/el/currency.js.uncompressed.js +15 -0
  155. data/vendor/assets/javascripts/dojo/cldr/nls/el/gregorian.js +8 -0
  156. data/vendor/assets/javascripts/dojo/cldr/nls/el/gregorian.js.uncompressed.js +241 -0
  157. data/vendor/assets/javascripts/dojo/cldr/nls/el/hebrew.js +8 -0
  158. data/vendor/assets/javascripts/dojo/cldr/nls/el/hebrew.js.uncompressed.js +73 -0
  159. data/vendor/assets/javascripts/dojo/cldr/nls/el/number.js +8 -0
  160. data/vendor/assets/javascripts/dojo/cldr/nls/el/number.js.uncompressed.js +20 -0
  161. data/vendor/assets/javascripts/dojo/cldr/nls/en-au/currency.js +8 -0
  162. data/vendor/assets/javascripts/dojo/cldr/nls/en-au/currency.js.uncompressed.js +8 -0
  163. data/vendor/assets/javascripts/dojo/cldr/nls/en-au/gregorian.js +8 -0
  164. data/vendor/assets/javascripts/dojo/cldr/nls/en-au/gregorian.js.uncompressed.js +17 -0
  165. data/vendor/assets/javascripts/dojo/cldr/nls/en-au/number.js +8 -0
  166. data/vendor/assets/javascripts/dojo/cldr/nls/en-au/number.js.uncompressed.js +7 -0
  167. data/vendor/assets/javascripts/dojo/cldr/nls/en-ca/currency.js +8 -0
  168. data/vendor/assets/javascripts/dojo/cldr/nls/en-ca/currency.js.uncompressed.js +8 -0
  169. data/vendor/assets/javascripts/dojo/cldr/nls/en-ca/gregorian.js +8 -0
  170. data/vendor/assets/javascripts/dojo/cldr/nls/en-ca/gregorian.js.uncompressed.js +20 -0
  171. data/vendor/assets/javascripts/dojo/cldr/nls/en-gb/buddhist.js +8 -0
  172. data/vendor/assets/javascripts/dojo/cldr/nls/en-gb/buddhist.js.uncompressed.js +101 -0
  173. data/vendor/assets/javascripts/dojo/cldr/nls/en-gb/gregorian.js +8 -0
  174. data/vendor/assets/javascripts/dojo/cldr/nls/en-gb/gregorian.js.uncompressed.js +23 -0
  175. data/vendor/assets/javascripts/dojo/cldr/nls/en-gb/islamic.js +8 -0
  176. data/vendor/assets/javascripts/dojo/cldr/nls/en-gb/islamic.js.uncompressed.js +153 -0
  177. data/vendor/assets/javascripts/dojo/cldr/nls/en-gb/number.js +8 -0
  178. data/vendor/assets/javascripts/dojo/cldr/nls/en-gb/number.js.uncompressed.js +7 -0
  179. data/vendor/assets/javascripts/dojo/cldr/nls/en/buddhist.js +8 -0
  180. data/vendor/assets/javascripts/dojo/cldr/nls/en/buddhist.js.uncompressed.js +109 -0
  181. data/vendor/assets/javascripts/dojo/cldr/nls/en/currency.js +8 -0
  182. data/vendor/assets/javascripts/dojo/cldr/nls/en/currency.js.uncompressed.js +17 -0
  183. data/vendor/assets/javascripts/dojo/cldr/nls/en/gregorian.js +8 -0
  184. data/vendor/assets/javascripts/dojo/cldr/nls/en/gregorian.js.uncompressed.js +229 -0
  185. data/vendor/assets/javascripts/dojo/cldr/nls/en/islamic.js +8 -0
  186. data/vendor/assets/javascripts/dojo/cldr/nls/en/islamic.js.uncompressed.js +166 -0
  187. data/vendor/assets/javascripts/dojo/cldr/nls/en/number.js +8 -0
  188. data/vendor/assets/javascripts/dojo/cldr/nls/en/number.js.uncompressed.js +23 -0
  189. data/vendor/assets/javascripts/dojo/cldr/nls/es/buddhist.js +8 -0
  190. data/vendor/assets/javascripts/dojo/cldr/nls/es/buddhist.js.uncompressed.js +125 -0
  191. data/vendor/assets/javascripts/dojo/cldr/nls/es/currency.js +8 -0
  192. data/vendor/assets/javascripts/dojo/cldr/nls/es/currency.js.uncompressed.js +15 -0
  193. data/vendor/assets/javascripts/dojo/cldr/nls/es/gregorian.js +8 -0
  194. data/vendor/assets/javascripts/dojo/cldr/nls/es/gregorian.js.uncompressed.js +238 -0
  195. data/vendor/assets/javascripts/dojo/cldr/nls/es/islamic.js +8 -0
  196. data/vendor/assets/javascripts/dojo/cldr/nls/es/islamic.js.uncompressed.js +179 -0
  197. data/vendor/assets/javascripts/dojo/cldr/nls/es/number.js +8 -0
  198. data/vendor/assets/javascripts/dojo/cldr/nls/es/number.js.uncompressed.js +21 -0
  199. data/vendor/assets/javascripts/dojo/cldr/nls/fi/buddhist.js +8 -0
  200. data/vendor/assets/javascripts/dojo/cldr/nls/fi/buddhist.js.uncompressed.js +166 -0
  201. data/vendor/assets/javascripts/dojo/cldr/nls/fi/currency.js +8 -0
  202. data/vendor/assets/javascripts/dojo/cldr/nls/fi/currency.js.uncompressed.js +22 -0
  203. data/vendor/assets/javascripts/dojo/cldr/nls/fi/gregorian.js +8 -0
  204. data/vendor/assets/javascripts/dojo/cldr/nls/fi/gregorian.js.uncompressed.js +239 -0
  205. data/vendor/assets/javascripts/dojo/cldr/nls/fi/hebrew.js +8 -0
  206. data/vendor/assets/javascripts/dojo/cldr/nls/fi/hebrew.js.uncompressed.js +176 -0
  207. data/vendor/assets/javascripts/dojo/cldr/nls/fi/islamic.js +8 -0
  208. data/vendor/assets/javascripts/dojo/cldr/nls/fi/islamic.js.uncompressed.js +155 -0
  209. data/vendor/assets/javascripts/dojo/cldr/nls/fi/number.js +8 -0
  210. data/vendor/assets/javascripts/dojo/cldr/nls/fi/number.js.uncompressed.js +22 -0
  211. data/vendor/assets/javascripts/dojo/cldr/nls/fr-ch/gregorian.js +8 -0
  212. data/vendor/assets/javascripts/dojo/cldr/nls/fr-ch/gregorian.js.uncompressed.js +9 -0
  213. data/vendor/assets/javascripts/dojo/cldr/nls/fr-ch/number.js +8 -0
  214. data/vendor/assets/javascripts/dojo/cldr/nls/fr-ch/number.js.uncompressed.js +9 -0
  215. data/vendor/assets/javascripts/dojo/cldr/nls/fr/currency.js +8 -0
  216. data/vendor/assets/javascripts/dojo/cldr/nls/fr/currency.js.uncompressed.js +23 -0
  217. data/vendor/assets/javascripts/dojo/cldr/nls/fr/gregorian.js +8 -0
  218. data/vendor/assets/javascripts/dojo/cldr/nls/fr/gregorian.js.uncompressed.js +247 -0
  219. data/vendor/assets/javascripts/dojo/cldr/nls/fr/number.js +8 -0
  220. data/vendor/assets/javascripts/dojo/cldr/nls/fr/number.js.uncompressed.js +22 -0
  221. data/vendor/assets/javascripts/dojo/cldr/nls/gregorian.js +8 -0
  222. data/vendor/assets/javascripts/dojo/cldr/nls/gregorian.js.uncompressed.js +294 -0
  223. data/vendor/assets/javascripts/dojo/cldr/nls/he/currency.js +8 -0
  224. data/vendor/assets/javascripts/dojo/cldr/nls/he/currency.js.uncompressed.js +15 -0
  225. data/vendor/assets/javascripts/dojo/cldr/nls/he/gregorian.js +8 -0
  226. data/vendor/assets/javascripts/dojo/cldr/nls/he/gregorian.js.uncompressed.js +213 -0
  227. data/vendor/assets/javascripts/dojo/cldr/nls/he/hebrew.js +8 -0
  228. data/vendor/assets/javascripts/dojo/cldr/nls/he/hebrew.js.uncompressed.js +125 -0
  229. data/vendor/assets/javascripts/dojo/cldr/nls/he/islamic.js +8 -0
  230. data/vendor/assets/javascripts/dojo/cldr/nls/he/islamic.js.uncompressed.js +119 -0
  231. data/vendor/assets/javascripts/dojo/cldr/nls/he/number.js +8 -0
  232. data/vendor/assets/javascripts/dojo/cldr/nls/he/number.js.uncompressed.js +22 -0
  233. data/vendor/assets/javascripts/dojo/cldr/nls/hebrew.js +8 -0
  234. data/vendor/assets/javascripts/dojo/cldr/nls/hebrew.js.uncompressed.js +265 -0
  235. data/vendor/assets/javascripts/dojo/cldr/nls/hu/currency.js +8 -0
  236. data/vendor/assets/javascripts/dojo/cldr/nls/hu/currency.js.uncompressed.js +17 -0
  237. data/vendor/assets/javascripts/dojo/cldr/nls/hu/gregorian.js +8 -0
  238. data/vendor/assets/javascripts/dojo/cldr/nls/hu/gregorian.js.uncompressed.js +227 -0
  239. data/vendor/assets/javascripts/dojo/cldr/nls/hu/number.js +8 -0
  240. data/vendor/assets/javascripts/dojo/cldr/nls/hu/number.js.uncompressed.js +21 -0
  241. data/vendor/assets/javascripts/dojo/cldr/nls/islamic.js +8 -0
  242. data/vendor/assets/javascripts/dojo/cldr/nls/islamic.js.uncompressed.js +264 -0
  243. data/vendor/assets/javascripts/dojo/cldr/nls/it/currency.js +8 -0
  244. data/vendor/assets/javascripts/dojo/cldr/nls/it/currency.js.uncompressed.js +15 -0
  245. data/vendor/assets/javascripts/dojo/cldr/nls/it/gregorian.js +8 -0
  246. data/vendor/assets/javascripts/dojo/cldr/nls/it/gregorian.js.uncompressed.js +235 -0
  247. data/vendor/assets/javascripts/dojo/cldr/nls/it/number.js +8 -0
  248. data/vendor/assets/javascripts/dojo/cldr/nls/it/number.js.uncompressed.js +12 -0
  249. data/vendor/assets/javascripts/dojo/cldr/nls/ja/currency.js +8 -0
  250. data/vendor/assets/javascripts/dojo/cldr/nls/ja/currency.js.uncompressed.js +18 -0
  251. data/vendor/assets/javascripts/dojo/cldr/nls/ja/gregorian.js +8 -0
  252. data/vendor/assets/javascripts/dojo/cldr/nls/ja/gregorian.js.uncompressed.js +222 -0
  253. data/vendor/assets/javascripts/dojo/cldr/nls/ja/number.js +8 -0
  254. data/vendor/assets/javascripts/dojo/cldr/nls/ja/number.js.uncompressed.js +12 -0
  255. data/vendor/assets/javascripts/dojo/cldr/nls/ko/currency.js +8 -0
  256. data/vendor/assets/javascripts/dojo/cldr/nls/ko/currency.js.uncompressed.js +15 -0
  257. data/vendor/assets/javascripts/dojo/cldr/nls/ko/gregorian.js +8 -0
  258. data/vendor/assets/javascripts/dojo/cldr/nls/ko/gregorian.js.uncompressed.js +243 -0
  259. data/vendor/assets/javascripts/dojo/cldr/nls/ko/number.js +8 -0
  260. data/vendor/assets/javascripts/dojo/cldr/nls/ko/number.js.uncompressed.js +22 -0
  261. data/vendor/assets/javascripts/dojo/cldr/nls/nb/currency.js +8 -0
  262. data/vendor/assets/javascripts/dojo/cldr/nls/nb/currency.js.uncompressed.js +23 -0
  263. data/vendor/assets/javascripts/dojo/cldr/nls/nb/gregorian.js +8 -0
  264. data/vendor/assets/javascripts/dojo/cldr/nls/nb/gregorian.js.uncompressed.js +234 -0
  265. data/vendor/assets/javascripts/dojo/cldr/nls/nb/number.js +8 -0
  266. data/vendor/assets/javascripts/dojo/cldr/nls/nb/number.js.uncompressed.js +22 -0
  267. data/vendor/assets/javascripts/dojo/cldr/nls/nl/currency.js +8 -0
  268. data/vendor/assets/javascripts/dojo/cldr/nls/nl/currency.js.uncompressed.js +15 -0
  269. data/vendor/assets/javascripts/dojo/cldr/nls/nl/gregorian.js +8 -0
  270. data/vendor/assets/javascripts/dojo/cldr/nls/nl/gregorian.js.uncompressed.js +233 -0
  271. data/vendor/assets/javascripts/dojo/cldr/nls/nl/number.js +8 -0
  272. data/vendor/assets/javascripts/dojo/cldr/nls/nl/number.js.uncompressed.js +22 -0
  273. data/vendor/assets/javascripts/dojo/cldr/nls/number.js +8 -0
  274. data/vendor/assets/javascripts/dojo/cldr/nls/number.js.uncompressed.js +64 -0
  275. data/vendor/assets/javascripts/dojo/cldr/nls/pl/currency.js +8 -0
  276. data/vendor/assets/javascripts/dojo/cldr/nls/pl/currency.js.uncompressed.js +15 -0
  277. data/vendor/assets/javascripts/dojo/cldr/nls/pl/gregorian.js +8 -0
  278. data/vendor/assets/javascripts/dojo/cldr/nls/pl/gregorian.js.uncompressed.js +242 -0
  279. data/vendor/assets/javascripts/dojo/cldr/nls/pl/number.js +8 -0
  280. data/vendor/assets/javascripts/dojo/cldr/nls/pl/number.js.uncompressed.js +22 -0
  281. data/vendor/assets/javascripts/dojo/cldr/nls/pt-pt/gregorian.js +8 -0
  282. data/vendor/assets/javascripts/dojo/cldr/nls/pt-pt/gregorian.js.uncompressed.js +141 -0
  283. data/vendor/assets/javascripts/dojo/cldr/nls/pt-pt/number.js +8 -0
  284. data/vendor/assets/javascripts/dojo/cldr/nls/pt-pt/number.js.uncompressed.js +8 -0
  285. data/vendor/assets/javascripts/dojo/cldr/nls/pt/currency.js +8 -0
  286. data/vendor/assets/javascripts/dojo/cldr/nls/pt/currency.js.uncompressed.js +15 -0
  287. data/vendor/assets/javascripts/dojo/cldr/nls/pt/gregorian.js +8 -0
  288. data/vendor/assets/javascripts/dojo/cldr/nls/pt/gregorian.js.uncompressed.js +237 -0
  289. data/vendor/assets/javascripts/dojo/cldr/nls/pt/number.js +8 -0
  290. data/vendor/assets/javascripts/dojo/cldr/nls/pt/number.js.uncompressed.js +22 -0
  291. data/vendor/assets/javascripts/dojo/cldr/nls/ro/buddhist.js +8 -0
  292. data/vendor/assets/javascripts/dojo/cldr/nls/ro/buddhist.js.uncompressed.js +121 -0
  293. data/vendor/assets/javascripts/dojo/cldr/nls/ro/currency.js +8 -0
  294. data/vendor/assets/javascripts/dojo/cldr/nls/ro/currency.js.uncompressed.js +15 -0
  295. data/vendor/assets/javascripts/dojo/cldr/nls/ro/gregorian.js +8 -0
  296. data/vendor/assets/javascripts/dojo/cldr/nls/ro/gregorian.js.uncompressed.js +251 -0
  297. data/vendor/assets/javascripts/dojo/cldr/nls/ro/number.js +8 -0
  298. data/vendor/assets/javascripts/dojo/cldr/nls/ro/number.js.uncompressed.js +22 -0
  299. data/vendor/assets/javascripts/dojo/cldr/nls/ru/currency.js +8 -0
  300. data/vendor/assets/javascripts/dojo/cldr/nls/ru/currency.js.uncompressed.js +16 -0
  301. data/vendor/assets/javascripts/dojo/cldr/nls/ru/gregorian.js +8 -0
  302. data/vendor/assets/javascripts/dojo/cldr/nls/ru/gregorian.js.uncompressed.js +232 -0
  303. data/vendor/assets/javascripts/dojo/cldr/nls/ru/number.js +8 -0
  304. data/vendor/assets/javascripts/dojo/cldr/nls/ru/number.js.uncompressed.js +21 -0
  305. data/vendor/assets/javascripts/dojo/cldr/nls/sk/currency.js +8 -0
  306. data/vendor/assets/javascripts/dojo/cldr/nls/sk/currency.js.uncompressed.js +15 -0
  307. data/vendor/assets/javascripts/dojo/cldr/nls/sk/gregorian.js +8 -0
  308. data/vendor/assets/javascripts/dojo/cldr/nls/sk/gregorian.js.uncompressed.js +225 -0
  309. data/vendor/assets/javascripts/dojo/cldr/nls/sk/number.js +8 -0
  310. data/vendor/assets/javascripts/dojo/cldr/nls/sk/number.js.uncompressed.js +9 -0
  311. data/vendor/assets/javascripts/dojo/cldr/nls/sl/currency.js +8 -0
  312. data/vendor/assets/javascripts/dojo/cldr/nls/sl/currency.js.uncompressed.js +17 -0
  313. data/vendor/assets/javascripts/dojo/cldr/nls/sl/gregorian.js +8 -0
  314. data/vendor/assets/javascripts/dojo/cldr/nls/sl/gregorian.js.uncompressed.js +218 -0
  315. data/vendor/assets/javascripts/dojo/cldr/nls/sl/number.js +8 -0
  316. data/vendor/assets/javascripts/dojo/cldr/nls/sl/number.js.uncompressed.js +22 -0
  317. data/vendor/assets/javascripts/dojo/cldr/nls/sv/currency.js +8 -0
  318. data/vendor/assets/javascripts/dojo/cldr/nls/sv/currency.js.uncompressed.js +18 -0
  319. data/vendor/assets/javascripts/dojo/cldr/nls/sv/gregorian.js +8 -0
  320. data/vendor/assets/javascripts/dojo/cldr/nls/sv/gregorian.js.uncompressed.js +245 -0
  321. data/vendor/assets/javascripts/dojo/cldr/nls/sv/number.js +8 -0
  322. data/vendor/assets/javascripts/dojo/cldr/nls/sv/number.js.uncompressed.js +22 -0
  323. data/vendor/assets/javascripts/dojo/cldr/nls/th/buddhist.js +8 -0
  324. data/vendor/assets/javascripts/dojo/cldr/nls/th/buddhist.js.uncompressed.js +118 -0
  325. data/vendor/assets/javascripts/dojo/cldr/nls/th/currency.js +8 -0
  326. data/vendor/assets/javascripts/dojo/cldr/nls/th/currency.js.uncompressed.js +16 -0
  327. data/vendor/assets/javascripts/dojo/cldr/nls/th/gregorian.js +8 -0
  328. data/vendor/assets/javascripts/dojo/cldr/nls/th/gregorian.js.uncompressed.js +232 -0
  329. data/vendor/assets/javascripts/dojo/cldr/nls/th/number.js +8 -0
  330. data/vendor/assets/javascripts/dojo/cldr/nls/th/number.js.uncompressed.js +22 -0
  331. data/vendor/assets/javascripts/dojo/cldr/nls/tr/currency.js +8 -0
  332. data/vendor/assets/javascripts/dojo/cldr/nls/tr/currency.js.uncompressed.js +17 -0
  333. data/vendor/assets/javascripts/dojo/cldr/nls/tr/gregorian.js +8 -0
  334. data/vendor/assets/javascripts/dojo/cldr/nls/tr/gregorian.js.uncompressed.js +239 -0
  335. data/vendor/assets/javascripts/dojo/cldr/nls/tr/number.js +8 -0
  336. data/vendor/assets/javascripts/dojo/cldr/nls/tr/number.js.uncompressed.js +22 -0
  337. data/vendor/assets/javascripts/dojo/cldr/nls/zh-hant/buddhist.js +8 -0
  338. data/vendor/assets/javascripts/dojo/cldr/nls/zh-hant/buddhist.js.uncompressed.js +146 -0
  339. data/vendor/assets/javascripts/dojo/cldr/nls/zh-hant/currency.js +8 -0
  340. data/vendor/assets/javascripts/dojo/cldr/nls/zh-hant/currency.js.uncompressed.js +16 -0
  341. data/vendor/assets/javascripts/dojo/cldr/nls/zh-hant/gregorian.js +8 -0
  342. data/vendor/assets/javascripts/dojo/cldr/nls/zh-hant/gregorian.js.uncompressed.js +228 -0
  343. data/vendor/assets/javascripts/dojo/cldr/nls/zh-hant/islamic.js +8 -0
  344. data/vendor/assets/javascripts/dojo/cldr/nls/zh-hant/islamic.js.uncompressed.js +87 -0
  345. data/vendor/assets/javascripts/dojo/cldr/nls/zh-hant/number.js +8 -0
  346. data/vendor/assets/javascripts/dojo/cldr/nls/zh-hant/number.js.uncompressed.js +7 -0
  347. data/vendor/assets/javascripts/dojo/cldr/nls/zh-hk/currency.js +8 -0
  348. data/vendor/assets/javascripts/dojo/cldr/nls/zh-hk/currency.js.uncompressed.js +15 -0
  349. data/vendor/assets/javascripts/dojo/cldr/nls/zh-hk/gregorian.js +8 -0
  350. data/vendor/assets/javascripts/dojo/cldr/nls/zh-hk/gregorian.js.uncompressed.js +85 -0
  351. data/vendor/assets/javascripts/dojo/cldr/nls/zh-hk/number.js +8 -0
  352. data/vendor/assets/javascripts/dojo/cldr/nls/zh-hk/number.js.uncompressed.js +7 -0
  353. data/vendor/assets/javascripts/dojo/cldr/nls/zh-tw/currency.js +8 -0
  354. data/vendor/assets/javascripts/dojo/cldr/nls/zh-tw/currency.js.uncompressed.js +14 -0
  355. data/vendor/assets/javascripts/dojo/cldr/nls/zh-tw/gregorian.js +8 -0
  356. data/vendor/assets/javascripts/dojo/cldr/nls/zh-tw/gregorian.js.uncompressed.js +80 -0
  357. data/vendor/assets/javascripts/dojo/cldr/nls/zh/currency.js +8 -0
  358. data/vendor/assets/javascripts/dojo/cldr/nls/zh/currency.js.uncompressed.js +16 -0
  359. data/vendor/assets/javascripts/dojo/cldr/nls/zh/gregorian.js +8 -0
  360. data/vendor/assets/javascripts/dojo/cldr/nls/zh/gregorian.js.uncompressed.js +247 -0
  361. data/vendor/assets/javascripts/dojo/cldr/nls/zh/number.js +8 -0
  362. data/vendor/assets/javascripts/dojo/cldr/nls/zh/number.js.uncompressed.js +12 -0
  363. data/vendor/assets/javascripts/dojo/cldr/supplemental.js +44 -0
  364. data/vendor/assets/javascripts/dojo/cldr/supplemental.js.uncompressed.js +77 -0
  365. data/vendor/assets/javascripts/dojo/colors.js +74 -0
  366. data/vendor/assets/javascripts/dojo/colors.js.uncompressed.js +232 -0
  367. data/vendor/assets/javascripts/dojo/cookie.js +49 -0
  368. data/vendor/assets/javascripts/dojo/cookie.js.uncompressed.js +98 -0
  369. data/vendor/assets/javascripts/dojo/currency.js +32 -0
  370. data/vendor/assets/javascripts/dojo/currency.js.uncompressed.js +132 -0
  371. data/vendor/assets/javascripts/dojo/data/ItemFileReadStore.js +561 -0
  372. data/vendor/assets/javascripts/dojo/data/ItemFileReadStore.js.uncompressed.js +945 -0
  373. data/vendor/assets/javascripts/dojo/data/ItemFileWriteStore.js +499 -0
  374. data/vendor/assets/javascripts/dojo/data/ItemFileWriteStore.js.uncompressed.js +805 -0
  375. data/vendor/assets/javascripts/dojo/data/ObjectStore.js +285 -0
  376. data/vendor/assets/javascripts/dojo/data/ObjectStore.js.uncompressed.js +505 -0
  377. data/vendor/assets/javascripts/dojo/data/api/Identity.js +21 -0
  378. data/vendor/assets/javascripts/dojo/data/api/Identity.js.uncompressed.js +107 -0
  379. data/vendor/assets/javascripts/dojo/data/api/Notification.js +19 -0
  380. data/vendor/assets/javascripts/dojo/data/api/Notification.js.uncompressed.js +122 -0
  381. data/vendor/assets/javascripts/dojo/data/api/Read.js +39 -0
  382. data/vendor/assets/javascripts/dojo/data/api/Read.js.uncompressed.js +485 -0
  383. data/vendor/assets/javascripts/dojo/data/api/Request.js +13 -0
  384. data/vendor/assets/javascripts/dojo/data/api/Request.js.uncompressed.js +36 -0
  385. data/vendor/assets/javascripts/dojo/data/api/Write.js +29 -0
  386. data/vendor/assets/javascripts/dojo/data/api/Write.js.uncompressed.js +221 -0
  387. data/vendor/assets/javascripts/dojo/data/util/filter.js +52 -0
  388. data/vendor/assets/javascripts/dojo/data/util/filter.js.uncompressed.js +74 -0
  389. data/vendor/assets/javascripts/dojo/data/util/simpleFetch.js +63 -0
  390. data/vendor/assets/javascripts/dojo/data/util/simpleFetch.js.uncompressed.js +95 -0
  391. data/vendor/assets/javascripts/dojo/data/util/sorter.js +66 -0
  392. data/vendor/assets/javascripts/dojo/data/util/sorter.js.uncompressed.js +99 -0
  393. data/vendor/assets/javascripts/dojo/date.js +213 -0
  394. data/vendor/assets/javascripts/dojo/date.js.uncompressed.js +347 -0
  395. data/vendor/assets/javascripts/dojo/date/locale.js +452 -0
  396. data/vendor/assets/javascripts/dojo/date/locale.js.uncompressed.js +670 -0
  397. data/vendor/assets/javascripts/dojo/date/stamp.js +82 -0
  398. data/vendor/assets/javascripts/dojo/date/stamp.js.uncompressed.js +146 -0
  399. data/vendor/assets/javascripts/dojo/dnd/AutoSource.js +12 -0
  400. data/vendor/assets/javascripts/dojo/dnd/AutoSource.js.uncompressed.js +13 -0
  401. data/vendor/assets/javascripts/dojo/dnd/Avatar.js +62 -0
  402. data/vendor/assets/javascripts/dojo/dnd/Avatar.js.uncompressed.js +111 -0
  403. data/vendor/assets/javascripts/dojo/dnd/Container.js +231 -0
  404. data/vendor/assets/javascripts/dojo/dnd/Container.js.uncompressed.js +432 -0
  405. data/vendor/assets/javascripts/dojo/dnd/Manager.js +122 -0
  406. data/vendor/assets/javascripts/dojo/dnd/Manager.js.uncompressed.js +213 -0
  407. data/vendor/assets/javascripts/dojo/dnd/Moveable.js +75 -0
  408. data/vendor/assets/javascripts/dojo/dnd/Moveable.js.uncompressed.js +173 -0
  409. data/vendor/assets/javascripts/dojo/dnd/Mover.js +62 -0
  410. data/vendor/assets/javascripts/dojo/dnd/Mover.js.uncompressed.js +119 -0
  411. data/vendor/assets/javascripts/dojo/dnd/Selector.js +233 -0
  412. data/vendor/assets/javascripts/dojo/dnd/Selector.js.uncompressed.js +324 -0
  413. data/vendor/assets/javascripts/dojo/dnd/Source.js +284 -0
  414. data/vendor/assets/javascripts/dojo/dnd/Source.js.uncompressed.js +513 -0
  415. data/vendor/assets/javascripts/dojo/dnd/Target.js +13 -0
  416. data/vendor/assets/javascripts/dojo/dnd/Target.js.uncompressed.js +13 -0
  417. data/vendor/assets/javascripts/dojo/dnd/TimedMoveable.js +34 -0
  418. data/vendor/assets/javascripts/dojo/dnd/TimedMoveable.js.uncompressed.js +69 -0
  419. data/vendor/assets/javascripts/dojo/dnd/autoscroll.js +96 -0
  420. data/vendor/assets/javascripts/dojo/dnd/autoscroll.js.uncompressed.js +118 -0
  421. data/vendor/assets/javascripts/dojo/dnd/common.js +28 -0
  422. data/vendor/assets/javascripts/dojo/dnd/common.js.uncompressed.js +35 -0
  423. data/vendor/assets/javascripts/dojo/dnd/move.js +66 -0
  424. data/vendor/assets/javascripts/dojo/dnd/move.js.uncompressed.js +143 -0
  425. data/vendor/assets/javascripts/dojo/dojo.js +1872 -0
  426. data/vendor/assets/javascripts/dojo/dojo.js.uncompressed.js +16408 -0
  427. data/vendor/assets/javascripts/dojo/dojo.profile.js +40 -0
  428. data/vendor/assets/javascripts/dojo/dom-attr.js +62 -0
  429. data/vendor/assets/javascripts/dojo/dom-attr.js.uncompressed.js +238 -0
  430. data/vendor/assets/javascripts/dojo/dom-class.js +89 -0
  431. data/vendor/assets/javascripts/dojo/dom-class.js.uncompressed.js +320 -0
  432. data/vendor/assets/javascripts/dojo/dom-construct.js +141 -0
  433. data/vendor/assets/javascripts/dojo/dom-construct.js.uncompressed.js +376 -0
  434. data/vendor/assets/javascripts/dojo/dom-form.js +81 -0
  435. data/vendor/assets/javascripts/dojo/dom-form.js.uncompressed.js +166 -0
  436. data/vendor/assets/javascripts/dojo/dom-geometry.js +214 -0
  437. data/vendor/assets/javascripts/dojo/dom-geometry.js.uncompressed.js +751 -0
  438. data/vendor/assets/javascripts/dojo/dom-prop.js +69 -0
  439. data/vendor/assets/javascripts/dojo/dom-prop.js.uncompressed.js +190 -0
  440. data/vendor/assets/javascripts/dojo/dom-style.js +158 -0
  441. data/vendor/assets/javascripts/dojo/dom-style.js.uncompressed.js +321 -0
  442. data/vendor/assets/javascripts/dojo/dom.js +74 -0
  443. data/vendor/assets/javascripts/dojo/dom.js.uncompressed.js +156 -0
  444. data/vendor/assets/javascripts/dojo/domReady.js +95 -0
  445. data/vendor/assets/javascripts/dojo/domReady.js.uncompressed.js +95 -0
  446. data/vendor/assets/javascripts/dojo/fx.js +260 -0
  447. data/vendor/assets/javascripts/dojo/fx.js.uncompressed.js +426 -0
  448. data/vendor/assets/javascripts/dojo/fx/Toggler.js +28 -0
  449. data/vendor/assets/javascripts/dojo/fx/Toggler.js.uncompressed.js +103 -0
  450. data/vendor/assets/javascripts/dojo/fx/easing.js +166 -0
  451. data/vendor/assets/javascripts/dojo/fx/easing.js.uncompressed.js +284 -0
  452. data/vendor/assets/javascripts/dojo/gears.js +44 -0
  453. data/vendor/assets/javascripts/dojo/gears.js.uncompressed.js +61 -0
  454. data/vendor/assets/javascripts/dojo/has.js +66 -0
  455. data/vendor/assets/javascripts/dojo/has.js.uncompressed.js +178 -0
  456. data/vendor/assets/javascripts/dojo/hash.js +137 -0
  457. data/vendor/assets/javascripts/dojo/hash.js.uncompressed.js +243 -0
  458. data/vendor/assets/javascripts/dojo/html.js +148 -0
  459. data/vendor/assets/javascripts/dojo/html.js.uncompressed.js +342 -0
  460. data/vendor/assets/javascripts/dojo/i18n.js +211 -0
  461. data/vendor/assets/javascripts/dojo/i18n.js.uncompressed.js +514 -0
  462. data/vendor/assets/javascripts/dojo/io-query.js +53 -0
  463. data/vendor/assets/javascripts/dojo/io-query.js.uncompressed.js +98 -0
  464. data/vendor/assets/javascripts/dojo/io/iframe.js +230 -0
  465. data/vendor/assets/javascripts/dojo/io/iframe.js.uncompressed.js +376 -0
  466. data/vendor/assets/javascripts/dojo/io/script.js +114 -0
  467. data/vendor/assets/javascripts/dojo/io/script.js.uncompressed.js +256 -0
  468. data/vendor/assets/javascripts/dojo/jaxer.js +18 -0
  469. data/vendor/assets/javascripts/dojo/jaxer.js.uncompressed.js +19 -0
  470. data/vendor/assets/javascripts/dojo/json.js +102 -0
  471. data/vendor/assets/javascripts/dojo/json.js.uncompressed.js +149 -0
  472. data/vendor/assets/javascripts/dojo/keys.js +10 -0
  473. data/vendor/assets/javascripts/dojo/keys.js.uncompressed.js +80 -0
  474. data/vendor/assets/javascripts/dojo/loadInit.js +12 -0
  475. data/vendor/assets/javascripts/dojo/loadInit.js.uncompressed.js +7 -0
  476. data/vendor/assets/javascripts/dojo/main.js +29 -0
  477. data/vendor/assets/javascripts/dojo/main.js.uncompressed.js +50 -0
  478. data/vendor/assets/javascripts/dojo/mouse.js +48 -0
  479. data/vendor/assets/javascripts/dojo/mouse.js.uncompressed.js +127 -0
  480. data/vendor/assets/javascripts/dojo/nls/ar/colors.js +8 -0
  481. data/vendor/assets/javascripts/dojo/nls/ar/colors.js.uncompressed.js +156 -0
  482. data/vendor/assets/javascripts/dojo/nls/az/colors.js +8 -0
  483. data/vendor/assets/javascripts/dojo/nls/az/colors.js.uncompressed.js +153 -0
  484. data/vendor/assets/javascripts/dojo/nls/ca/colors.js +8 -0
  485. data/vendor/assets/javascripts/dojo/nls/ca/colors.js.uncompressed.js +156 -0
  486. data/vendor/assets/javascripts/dojo/nls/colors.js +8 -0
  487. data/vendor/assets/javascripts/dojo/nls/colors.js.uncompressed.js +191 -0
  488. data/vendor/assets/javascripts/dojo/nls/cs/colors.js +8 -0
  489. data/vendor/assets/javascripts/dojo/nls/cs/colors.js.uncompressed.js +156 -0
  490. data/vendor/assets/javascripts/dojo/nls/da/colors.js +8 -0
  491. data/vendor/assets/javascripts/dojo/nls/da/colors.js.uncompressed.js +156 -0
  492. data/vendor/assets/javascripts/dojo/nls/de/colors.js +8 -0
  493. data/vendor/assets/javascripts/dojo/nls/de/colors.js.uncompressed.js +156 -0
  494. data/vendor/assets/javascripts/dojo/nls/el/colors.js +8 -0
  495. data/vendor/assets/javascripts/dojo/nls/el/colors.js.uncompressed.js +156 -0
  496. data/vendor/assets/javascripts/dojo/nls/es/colors.js +8 -0
  497. data/vendor/assets/javascripts/dojo/nls/es/colors.js.uncompressed.js +156 -0
  498. data/vendor/assets/javascripts/dojo/nls/fi/colors.js +8 -0
  499. data/vendor/assets/javascripts/dojo/nls/fi/colors.js.uncompressed.js +156 -0
  500. data/vendor/assets/javascripts/dojo/nls/fr/colors.js +8 -0
  501. data/vendor/assets/javascripts/dojo/nls/fr/colors.js.uncompressed.js +156 -0
  502. data/vendor/assets/javascripts/dojo/nls/he/colors.js +8 -0
  503. data/vendor/assets/javascripts/dojo/nls/he/colors.js.uncompressed.js +158 -0
  504. data/vendor/assets/javascripts/dojo/nls/hr/colors.js +8 -0
  505. data/vendor/assets/javascripts/dojo/nls/hr/colors.js.uncompressed.js +156 -0
  506. data/vendor/assets/javascripts/dojo/nls/hu/colors.js +8 -0
  507. data/vendor/assets/javascripts/dojo/nls/hu/colors.js.uncompressed.js +156 -0
  508. data/vendor/assets/javascripts/dojo/nls/it/colors.js +8 -0
  509. data/vendor/assets/javascripts/dojo/nls/it/colors.js.uncompressed.js +156 -0
  510. data/vendor/assets/javascripts/dojo/nls/ja/colors.js +8 -0
  511. data/vendor/assets/javascripts/dojo/nls/ja/colors.js.uncompressed.js +156 -0
  512. data/vendor/assets/javascripts/dojo/nls/kk/colors.js +8 -0
  513. data/vendor/assets/javascripts/dojo/nls/kk/colors.js.uncompressed.js +156 -0
  514. data/vendor/assets/javascripts/dojo/nls/ko/colors.js +8 -0
  515. data/vendor/assets/javascripts/dojo/nls/ko/colors.js.uncompressed.js +156 -0
  516. data/vendor/assets/javascripts/dojo/nls/nb/colors.js +8 -0
  517. data/vendor/assets/javascripts/dojo/nls/nb/colors.js.uncompressed.js +156 -0
  518. data/vendor/assets/javascripts/dojo/nls/nl/colors.js +8 -0
  519. data/vendor/assets/javascripts/dojo/nls/nl/colors.js.uncompressed.js +156 -0
  520. data/vendor/assets/javascripts/dojo/nls/pl/colors.js +8 -0
  521. data/vendor/assets/javascripts/dojo/nls/pl/colors.js.uncompressed.js +156 -0
  522. data/vendor/assets/javascripts/dojo/nls/pt-pt/colors.js +8 -0
  523. data/vendor/assets/javascripts/dojo/nls/pt-pt/colors.js.uncompressed.js +156 -0
  524. data/vendor/assets/javascripts/dojo/nls/pt/colors.js +8 -0
  525. data/vendor/assets/javascripts/dojo/nls/pt/colors.js.uncompressed.js +156 -0
  526. data/vendor/assets/javascripts/dojo/nls/ro/colors.js +8 -0
  527. data/vendor/assets/javascripts/dojo/nls/ro/colors.js.uncompressed.js +156 -0
  528. data/vendor/assets/javascripts/dojo/nls/ru/colors.js +8 -0
  529. data/vendor/assets/javascripts/dojo/nls/ru/colors.js.uncompressed.js +156 -0
  530. data/vendor/assets/javascripts/dojo/nls/sk/colors.js +8 -0
  531. data/vendor/assets/javascripts/dojo/nls/sk/colors.js.uncompressed.js +156 -0
  532. data/vendor/assets/javascripts/dojo/nls/sl/colors.js +8 -0
  533. data/vendor/assets/javascripts/dojo/nls/sl/colors.js.uncompressed.js +156 -0
  534. data/vendor/assets/javascripts/dojo/nls/sv/colors.js +8 -0
  535. data/vendor/assets/javascripts/dojo/nls/sv/colors.js.uncompressed.js +156 -0
  536. data/vendor/assets/javascripts/dojo/nls/th/colors.js +8 -0
  537. data/vendor/assets/javascripts/dojo/nls/th/colors.js.uncompressed.js +156 -0
  538. data/vendor/assets/javascripts/dojo/nls/tr/colors.js +8 -0
  539. data/vendor/assets/javascripts/dojo/nls/tr/colors.js.uncompressed.js +156 -0
  540. data/vendor/assets/javascripts/dojo/nls/zh-tw/colors.js +8 -0
  541. data/vendor/assets/javascripts/dojo/nls/zh-tw/colors.js.uncompressed.js +156 -0
  542. data/vendor/assets/javascripts/dojo/nls/zh/colors.js +8 -0
  543. data/vendor/assets/javascripts/dojo/nls/zh/colors.js.uncompressed.js +156 -0
  544. data/vendor/assets/javascripts/dojo/number.js +305 -0
  545. data/vendor/assets/javascripts/dojo/number.js.uncompressed.js +576 -0
  546. data/vendor/assets/javascripts/dojo/on.js +311 -0
  547. data/vendor/assets/javascripts/dojo/on.js.uncompressed.js +474 -0
  548. data/vendor/assets/javascripts/dojo/package.json +23 -0
  549. data/vendor/assets/javascripts/dojo/parser.js +299 -0
  550. data/vendor/assets/javascripts/dojo/parser.js.uncompressed.js +594 -0
  551. data/vendor/assets/javascripts/dojo/query.js +195 -0
  552. data/vendor/assets/javascripts/dojo/query.js.uncompressed.js +713 -0
  553. data/vendor/assets/javascripts/dojo/ready.js +82 -0
  554. data/vendor/assets/javascripts/dojo/ready.js.uncompressed.js +138 -0
  555. data/vendor/assets/javascripts/dojo/regexp.js +32 -0
  556. data/vendor/assets/javascripts/dojo/regexp.js.uncompressed.js +73 -0
  557. data/vendor/assets/javascripts/dojo/require.js +12 -0
  558. data/vendor/assets/javascripts/dojo/require.js.uncompressed.js +7 -0
  559. data/vendor/assets/javascripts/dojo/resources/LICENSE +30 -0
  560. data/vendor/assets/javascripts/dojo/resources/_modules.js +36 -0
  561. data/vendor/assets/javascripts/dojo/resources/blank.gif +0 -0
  562. data/vendor/assets/javascripts/dojo/resources/blank.html +1 -0
  563. data/vendor/assets/javascripts/dojo/resources/dnd.css +14 -0
  564. data/vendor/assets/javascripts/dojo/resources/dojo.css +98 -0
  565. data/vendor/assets/javascripts/dojo/resources/iframe_history.html +44 -0
  566. data/vendor/assets/javascripts/dojo/resources/images/dndCopy.png +0 -0
  567. data/vendor/assets/javascripts/dojo/resources/images/dndMove.png +0 -0
  568. data/vendor/assets/javascripts/dojo/resources/images/dndNoCopy.png +0 -0
  569. data/vendor/assets/javascripts/dojo/resources/images/dndNoMove.png +0 -0
  570. data/vendor/assets/javascripts/dojo/rpc/JsonService.js +34 -0
  571. data/vendor/assets/javascripts/dojo/rpc/JsonService.js.uncompressed.js +85 -0
  572. data/vendor/assets/javascripts/dojo/rpc/JsonpService.js +29 -0
  573. data/vendor/assets/javascripts/dojo/rpc/JsonpService.js.uncompressed.js +67 -0
  574. data/vendor/assets/javascripts/dojo/rpc/RpcService.js +87 -0
  575. data/vendor/assets/javascripts/dojo/rpc/RpcService.js.uncompressed.js +175 -0
  576. data/vendor/assets/javascripts/dojo/selector/_loader.js +40 -0
  577. data/vendor/assets/javascripts/dojo/selector/_loader.js.uncompressed.js +45 -0
  578. data/vendor/assets/javascripts/dojo/selector/acme.js +765 -0
  579. data/vendor/assets/javascripts/dojo/selector/acme.js.uncompressed.js +1480 -0
  580. data/vendor/assets/javascripts/dojo/selector/lite.js +213 -0
  581. data/vendor/assets/javascripts/dojo/selector/lite.js.uncompressed.js +264 -0
  582. data/vendor/assets/javascripts/dojo/store/Cache.js +47 -0
  583. data/vendor/assets/javascripts/dojo/store/Cache.js.uncompressed.js +148 -0
  584. data/vendor/assets/javascripts/dojo/store/DataStore.js +103 -0
  585. data/vendor/assets/javascripts/dojo/store/DataStore.js.uncompressed.js +170 -0
  586. data/vendor/assets/javascripts/dojo/store/JsonRest.js +56 -0
  587. data/vendor/assets/javascripts/dojo/store/JsonRest.js.uncompressed.js +155 -0
  588. data/vendor/assets/javascripts/dojo/store/Memory.js +55 -0
  589. data/vendor/assets/javascripts/dojo/store/Memory.js.uncompressed.js +161 -0
  590. data/vendor/assets/javascripts/dojo/store/Observable.js +125 -0
  591. data/vendor/assets/javascripts/dojo/store/Observable.js.uncompressed.js +175 -0
  592. data/vendor/assets/javascripts/dojo/store/README +10 -0
  593. data/vendor/assets/javascripts/dojo/store/api/Store.js +52 -0
  594. data/vendor/assets/javascripts/dojo/store/api/Store.js.uncompressed.js +297 -0
  595. data/vendor/assets/javascripts/dojo/store/util/QueryResults.js +39 -0
  596. data/vendor/assets/javascripts/dojo/store/util/QueryResults.js.uncompressed.js +64 -0
  597. data/vendor/assets/javascripts/dojo/store/util/SimpleQueryEngine.js +63 -0
  598. data/vendor/assets/javascripts/dojo/store/util/SimpleQueryEngine.js.uncompressed.js +108 -0
  599. data/vendor/assets/javascripts/dojo/string.js +57 -0
  600. data/vendor/assets/javascripts/dojo/string.js.uncompressed.js +162 -0
  601. data/vendor/assets/javascripts/dojo/text.js +99 -0
  602. data/vendor/assets/javascripts/dojo/text.js.uncompressed.js +212 -0
  603. data/vendor/assets/javascripts/dojo/topic.js +15 -0
  604. data/vendor/assets/javascripts/dojo/topic.js.uncompressed.js +33 -0
  605. data/vendor/assets/javascripts/dojo/touch.js +17 -0
  606. data/vendor/assets/javascripts/dojo/touch.js.uncompressed.js +89 -0
  607. data/vendor/assets/javascripts/dojo/uacss.js +25 -0
  608. data/vendor/assets/javascripts/dojo/uacss.js.uncompressed.js +66 -0
  609. data/vendor/assets/javascripts/dojo/window.js +119 -0
  610. data/vendor/assets/javascripts/dojo/window.js.uncompressed.js +169 -0
  611. metadata +613 -3
@@ -0,0 +1,1183 @@
1
+ define("dojo/_firebug/firebug", ["../_base/kernel", "require", "../_base/html", "../_base/sniff", "../_base/array", "../_base/lang", "../_base/event", "../_base/unload"], function(dojo, require) {
2
+ // module:
3
+ // dojo/_firebug/firebug
4
+ // summary:
5
+
6
+ // FIREBUG LITE
7
+ // summary: Firebug Lite, the baby brother to Joe Hewitt's Firebug for Mozilla Firefox
8
+ // description:
9
+ // Opens a console for logging, debugging, and error messages.
10
+ // Contains partial functionality to Firebug. See function list below.
11
+ // NOTE:
12
+ // Firebug is a Firefox extension created by Joe Hewitt (see license). You do not need Dojo to run Firebug.
13
+ // Firebug Lite is included in Dojo by permission from Joe Hewitt
14
+ // If you are new to Firebug, or used to the Dojo 0.4 dojo.debug, you can learn Firebug
15
+ // functionality by reading the function comments below or visiting http://www.getfirebug.com/docs.html
16
+ // NOTE:
17
+ // To test Firebug Lite in Firefox:
18
+ // FF2: set "console = null" before loading dojo and set djConfig.isDebug=true
19
+ // FF3: disable Firebug and set djConfig.isDebug=true
20
+ //
21
+ // example:
22
+ // Supports inline objects in object inspector window (only simple trace of dom nodes, however)
23
+ // | console.log("my object", {foo:"bar"})
24
+ // example:
25
+ // Option for console to open in popup window
26
+ // | var djConfig = {isDebug: true, popup:true };
27
+ // example:
28
+ // Option for console height (ignored for popup)
29
+ // | var djConfig = {isDebug: true, debugHeight:100 }
30
+
31
+
32
+ var isNewIE = (/Trident/.test(window.navigator.userAgent));
33
+ if(isNewIE){
34
+ // Fixing IE's console
35
+ // IE doesn't insert space between arguments. How annoying.
36
+ var calls = ["log", "info", "debug", "warn", "error"];
37
+ for(var i=0;i<calls.length;i++){
38
+ var m = calls[i];
39
+ if(!console[m] ||console[m]._fake){
40
+ // IE9 doesn't have console.debug method, a fake one is added later
41
+ continue;
42
+ }
43
+ var n = "_"+calls[i];
44
+ console[n] = console[m];
45
+ console[m] = (function(){
46
+ var type = n;
47
+ return function(){
48
+ console[type](Array.prototype.join.call(arguments, " "));
49
+ };
50
+ })();
51
+ }
52
+ // clear the console on load. This is more than a convenience - too many logs crashes it.
53
+ // If closed it throws an error
54
+ try{ console.clear(); }catch(e){}
55
+ }
56
+
57
+ if(
58
+ dojo.isFF || // Firefox has Firebug
59
+ dojo.isChrome || // Chrome 3+ has a console
60
+ dojo.isSafari || // Safari 4 has a console
61
+ isNewIE || // Has the new IE console
62
+ window.firebug || // Testing for mozilla firebug lite
63
+ (typeof console != "undefined" && console.firebug) || //The firebug console
64
+ dojo.config.useCustomLogger || // Allow custom loggers
65
+ dojo.isAIR // isDebug triggers AIRInsector, not Firebug
66
+ ){
67
+ return;
68
+ }
69
+
70
+ // don't build firebug in iframes
71
+ try{
72
+ if(window != window.parent){
73
+ // but if we've got a parent logger, connect to it
74
+ if(window.parent["console"]){
75
+ window.console = window.parent.console;
76
+ }
77
+ return;
78
+ }
79
+ }catch(e){/*squelch*/}
80
+
81
+ // ***************************************************************************
82
+ // Placing these variables before the functions that use them to avoid a
83
+ // shrinksafe bug where variable renaming does not happen correctly otherwise.
84
+
85
+ // most of the objects in this script are run anonomously
86
+ var _firebugDoc = document;
87
+ var _firebugWin = window;
88
+ var __consoleAnchorId__ = 0;
89
+
90
+ var consoleFrame = null;
91
+ var consoleBody = null;
92
+ var consoleObjectInspector = null;
93
+ var fireBugTabs = null;
94
+ var commandLine = null;
95
+ var consoleToolbar = null;
96
+
97
+ var frameVisible = false;
98
+ var messageQueue = [];
99
+ var groupStack = [];
100
+ var timeMap = {};
101
+ var countMap = {};
102
+
103
+ var consoleDomInspector = null;
104
+ var _inspectionMoveConnection;
105
+ var _inspectionClickConnection;
106
+ var _inspectionEnabled = false;
107
+ var _inspectionTimer = null;
108
+ var _inspectTempNode = document.createElement("div");
109
+
110
+
111
+ var _inspectCurrentNode;
112
+ var _restoreBorderStyle;
113
+
114
+ // ***************************************************************************
115
+
116
+ window.console = {
117
+ _connects: [],
118
+ log: function(){
119
+ // summary:
120
+ // Sends arguments to console.
121
+ logFormatted(arguments, "");
122
+ },
123
+
124
+ debug: function(){
125
+ // summary:
126
+ // Sends arguments to console. Missing finctionality to show script line of trace.
127
+ logFormatted(arguments, "debug");
128
+ },
129
+
130
+ info: function(){
131
+ // summary:
132
+ // Sends arguments to console, highlighted with (I) icon.
133
+ logFormatted(arguments, "info");
134
+ },
135
+
136
+ warn: function(){
137
+ // summary:
138
+ // Sends warning arguments to console, highlighted with (!) icon and blue style.
139
+ logFormatted(arguments, "warning");
140
+ },
141
+
142
+ error: function(){
143
+ // summary:
144
+ // Sends error arguments (object) to console, highlighted with (X) icon and yellow style
145
+ // NEW: error object now displays in object inspector
146
+ logFormatted(arguments, "error");
147
+ },
148
+
149
+ assert: function(truth, message){
150
+ // summary:
151
+ // Tests for true. Throws exception if false.
152
+ if(!truth){
153
+ var args = [];
154
+ for(var i = 1; i < arguments.length; ++i){
155
+ args.push(arguments[i]);
156
+ }
157
+
158
+ logFormatted(args.length ? args : ["Assertion Failure"], "error");
159
+ throw message ? message : "Assertion Failure";
160
+ }
161
+ },
162
+
163
+ dir: function(obj){
164
+ var str = printObject( obj );
165
+ str = str.replace(/\n/g, "<br />");
166
+ str = str.replace(/\t/g, "&nbsp;&nbsp;&nbsp;&nbsp;");
167
+ logRow([str], "dir");
168
+ },
169
+
170
+ dirxml: function(node){
171
+ // summary:
172
+ //
173
+ var html = [];
174
+ appendNode(node, html);
175
+ logRow(html, "dirxml");
176
+ },
177
+
178
+ group: function(){
179
+ // summary:
180
+ // collects log messages into a group, starting with this call and ending with
181
+ // groupEnd(). Missing collapse functionality
182
+ logRow(arguments, "group", pushGroup);
183
+ },
184
+
185
+ groupEnd: function(){
186
+ // summary:
187
+ // Closes group. See above
188
+ logRow(arguments, "", popGroup);
189
+ },
190
+
191
+ time: function(name){
192
+ // summary:
193
+ // Starts timers assigned to name given in argument. Timer stops and displays on timeEnd(title);
194
+ // example:
195
+ // | console.time("load");
196
+ // | console.time("myFunction");
197
+ // | console.timeEnd("load");
198
+ // | console.timeEnd("myFunction");
199
+ timeMap[name] = new Date().getTime();
200
+ },
201
+
202
+ timeEnd: function(name){
203
+ // summary:
204
+ // See above.
205
+ if(name in timeMap){
206
+ var delta = (new Date()).getTime() - timeMap[name];
207
+ logFormatted([name+ ":", delta+"ms"]);
208
+ delete timeMap[name];
209
+ }
210
+ },
211
+
212
+ count: function(name){
213
+ // summary:
214
+ // Not supported
215
+ if(!countMap[name]) countMap[name] = 0;
216
+ countMap[name]++;
217
+ logFormatted([name+": "+countMap[name]]);
218
+ },
219
+
220
+ trace: function(_value){
221
+ var stackAmt = _value || 3;
222
+ var f = console.trace.caller; //function that called trace
223
+ console.log(">>> console.trace(stack)");
224
+ for(var i=0;i<stackAmt;i++){
225
+ var func = f.toString();
226
+ var args=[];
227
+ for (var a = 0; a < f.arguments.length; a++) {
228
+ args.push(f.arguments[a]);
229
+ }
230
+ if(f.arguments.length){
231
+ console.dir({"function":func, "arguments":args});
232
+ }else{
233
+ console.dir({"function":func});
234
+ }
235
+
236
+ f = f.caller;
237
+ }
238
+ },
239
+
240
+ profile: function(){
241
+ // summary:
242
+ // Not supported
243
+ this.warn(["profile() not supported."]);
244
+ },
245
+
246
+ profileEnd: function(){ },
247
+
248
+ clear: function(){
249
+ // summary:
250
+ // Clears message console. Do not call this directly
251
+ if(consoleBody){
252
+ while(consoleBody.childNodes.length){
253
+ dojo.destroy(consoleBody.firstChild);
254
+ }
255
+ }
256
+ dojo.forEach(this._connects,dojo.disconnect);
257
+ },
258
+
259
+ open: function(){
260
+ // summary:
261
+ // Opens message console. Do not call this directly
262
+ toggleConsole(true);
263
+ },
264
+
265
+ close: function(){
266
+ // summary:
267
+ // Closes message console. Do not call this directly
268
+ if(frameVisible){
269
+ toggleConsole();
270
+ }
271
+ },
272
+ _restoreBorder: function(){
273
+ if(_inspectCurrentNode){
274
+ _inspectCurrentNode.style.border = _restoreBorderStyle;
275
+ }
276
+ },
277
+ openDomInspector: function(){
278
+ _inspectionEnabled = true;
279
+ consoleBody.style.display = "none";
280
+ consoleDomInspector.style.display = "block";
281
+ consoleObjectInspector.style.display = "none";
282
+ document.body.style.cursor = "pointer";
283
+ _inspectionMoveConnection = dojo.connect(document, "mousemove", function(evt){
284
+ if(!_inspectionEnabled){ return; }
285
+ if(!_inspectionTimer){
286
+ _inspectionTimer = setTimeout(function(){ _inspectionTimer = null; }, 50);
287
+ }else{
288
+ return;
289
+ }
290
+ var node = evt.target;
291
+ if(node && (_inspectCurrentNode !== node)){
292
+ var parent = true;
293
+
294
+ console._restoreBorder();
295
+ var html = [];
296
+ appendNode(node, html);
297
+ consoleDomInspector.innerHTML = html.join("");
298
+
299
+ _inspectCurrentNode = node;
300
+ _restoreBorderStyle = _inspectCurrentNode.style.border;
301
+ _inspectCurrentNode.style.border = "#0000FF 1px solid";
302
+ }
303
+ });
304
+ setTimeout(function(){
305
+ _inspectionClickConnection = dojo.connect(document, "click", function(evt){
306
+ document.body.style.cursor = "";
307
+ _inspectionEnabled = !_inspectionEnabled;
308
+ dojo.disconnect(_inspectionClickConnection);
309
+ // console._restoreBorder();
310
+ });
311
+ }, 30);
312
+ },
313
+ _closeDomInspector: function(){
314
+ document.body.style.cursor = "";
315
+ dojo.disconnect(_inspectionMoveConnection);
316
+ dojo.disconnect(_inspectionClickConnection);
317
+ _inspectionEnabled = false;
318
+ console._restoreBorder();
319
+ },
320
+ openConsole:function(){
321
+ // summary:
322
+ // Closes object inspector and opens message console. Do not call this directly
323
+ consoleBody.style.display = "block";
324
+ consoleDomInspector.style.display = "none";
325
+ consoleObjectInspector.style.display = "none";
326
+ console._closeDomInspector();
327
+ },
328
+ openObjectInspector:function(){
329
+ consoleBody.style.display = "none";
330
+ consoleDomInspector.style.display = "none";
331
+ consoleObjectInspector.style.display = "block";
332
+ console._closeDomInspector();
333
+ },
334
+ recss: function(){
335
+ // http://turtle.dojotoolkit.org/~david/recss.html
336
+ // this is placed in dojo since the console is most likely
337
+ // in another window and dojo is easilly accessible
338
+ var i,a,s;a=document.getElementsByTagName('link');
339
+ for(i=0;i<a.length;i++){
340
+ s=a[i];
341
+ if(s.rel.toLowerCase().indexOf('stylesheet')>=0&&s.href) {
342
+ var h=s.href.replace(/(&|%5C?)forceReload=\d+/,'');
343
+ s.href=h+(h.indexOf('?')>=0?'&':'?')+'forceReload='+new Date().valueOf();
344
+ }
345
+ }
346
+ }
347
+ };
348
+
349
+ // ***************************************************************************
350
+
351
+ function toggleConsole(forceOpen){
352
+ frameVisible = forceOpen || !frameVisible;
353
+ if(consoleFrame){
354
+ consoleFrame.style.display = frameVisible ? "block" : "none";
355
+ }
356
+ }
357
+
358
+ function focusCommandLine(){
359
+ toggleConsole(true);
360
+ if(commandLine){
361
+ commandLine.focus();
362
+ }
363
+ }
364
+
365
+ function openWin(x,y,w,h){
366
+ var win = window.open("","_firebug","status=0,menubar=0,resizable=1,top="+y+",left="+x+",width="+w+",height="+h+",scrollbars=1,addressbar=0");
367
+ if(!win){
368
+ var msg = "Firebug Lite could not open a pop-up window, most likely because of a blocker.\n" +
369
+ "Either enable pop-ups for this domain, or change the djConfig to popup=false.";
370
+ alert(msg);
371
+ }
372
+ createResizeHandler(win);
373
+ var newDoc=win.document;
374
+ //Safari needs an HTML height
375
+ var HTMLstring= '<html style="height:100%;"><head><title>Firebug Lite</title></head>\n' +
376
+ '<body bgColor="#ccc" style="height:97%;" onresize="opener.onFirebugResize()">\n' +
377
+ '<div id="fb"></div>' +
378
+ '</body></html>';
379
+
380
+ newDoc.write(HTMLstring);
381
+ newDoc.close();
382
+ return win;
383
+ }
384
+
385
+ function createResizeHandler(wn){
386
+ // summary:
387
+ // Creates handle for onresize window. Called from script in popup's body tag (so that it will work with IE).
388
+ //
389
+
390
+ var d = new Date();
391
+ d.setTime(d.getTime()+(60*24*60*60*1000)); // 60 days
392
+ d = d.toUTCString();
393
+
394
+ var dc = wn.document,
395
+ getViewport;
396
+
397
+ if (wn.innerWidth){
398
+ getViewport = function(){
399
+ return{w:wn.innerWidth, h:wn.innerHeight};
400
+ };
401
+ }else if (dc.documentElement && dc.documentElement.clientWidth){
402
+ getViewport = function(){
403
+ return{w:dc.documentElement.clientWidth, h:dc.documentElement.clientHeight};
404
+ };
405
+ }else if (dc.body){
406
+ getViewport = function(){
407
+ return{w:dc.body.clientWidth, h:dc.body.clientHeight};
408
+ };
409
+ }
410
+
411
+
412
+ window.onFirebugResize = function(){
413
+
414
+ //resize the height of the console log body
415
+ layout(getViewport().h);
416
+
417
+ clearInterval(wn._firebugWin_resize);
418
+ wn._firebugWin_resize = setTimeout(function(){
419
+ var x = wn.screenLeft,
420
+ y = wn.screenTop,
421
+ w = wn.outerWidth || wn.document.body.offsetWidth,
422
+ h = wn.outerHeight || wn.document.body.offsetHeight;
423
+
424
+ document.cookie = "_firebugPosition=" + [x,y,w,h].join(",") + "; expires="+d+"; path=/";
425
+
426
+ }, 5000); //can't capture window.onMove - long timeout gives better chance of capturing a resize, then the move
427
+
428
+ };
429
+ }
430
+
431
+
432
+ /*****************************************************************************/
433
+
434
+
435
+ function createFrame(){
436
+ if(consoleFrame){
437
+ return;
438
+ }
439
+ toggleConsole(true);
440
+ if(dojo.config.popup){
441
+ var containerHeight = "100%";
442
+ var cookieMatch = document.cookie.match(/(?:^|; )_firebugPosition=([^;]*)/);
443
+ var p = cookieMatch ? cookieMatch[1].split(",") : [2,2,320,480];
444
+
445
+ _firebugWin = openWin(p[0],p[1],p[2],p[3]); // global
446
+ _firebugDoc = _firebugWin.document; // global
447
+
448
+ dojo.config.debugContainerId = 'fb';
449
+
450
+ // connecting popup
451
+ _firebugWin.console = window.console;
452
+ _firebugWin.dojo = window.dojo;
453
+ }else{
454
+ _firebugDoc = document;
455
+ containerHeight = (dojo.config.debugHeight || 300) + "px";
456
+ }
457
+
458
+ var styleElement = _firebugDoc.createElement("link");
459
+ styleElement.href = require.toUrl("./firebug.css");
460
+ styleElement.rel = "stylesheet";
461
+ styleElement.type = "text/css";
462
+ var styleParent = _firebugDoc.getElementsByTagName("head");
463
+ if(styleParent){
464
+ styleParent = styleParent[0];
465
+ }
466
+ if(!styleParent){
467
+ styleParent = _firebugDoc.getElementsByTagName("html")[0];
468
+ }
469
+ if(dojo.isIE){
470
+ window.setTimeout(function(){ styleParent.appendChild(styleElement); }, 0);
471
+ }else{
472
+ styleParent.appendChild(styleElement);
473
+ }
474
+
475
+ if(dojo.config.debugContainerId){
476
+ consoleFrame = _firebugDoc.getElementById(dojo.config.debugContainerId);
477
+ }
478
+ if(!consoleFrame){
479
+ consoleFrame = _firebugDoc.createElement("div");
480
+ _firebugDoc.body.appendChild(consoleFrame);
481
+ }
482
+ consoleFrame.className += " firebug";
483
+ consoleFrame.style.height = containerHeight;
484
+ consoleFrame.style.display = (frameVisible ? "block" : "none");
485
+
486
+ var buildLink = function(label, title, method, _class){
487
+ return '<li class="'+_class+'"><a href="javascript:void(0);" onclick="console.'+ method +'(); return false;" title="'+title+'">'+label+'</a></li>';
488
+ };
489
+ consoleFrame.innerHTML =
490
+ '<div id="firebugToolbar">'
491
+ + ' <ul id="fireBugTabs" class="tabs">'
492
+
493
+ + buildLink("Clear", "Remove All Console Logs", "clear", "")
494
+ + buildLink("ReCSS", "Refresh CSS without reloading page", "recss", "")
495
+
496
+ + buildLink("Console", "Show Console Logs", "openConsole", "gap")
497
+ + buildLink("DOM", "Show DOM Inspector", "openDomInspector", "")
498
+ + buildLink("Object", "Show Object Inspector", "openObjectInspector", "")
499
+ + ((dojo.config.popup) ? "" : buildLink("Close", "Close the console", "close", "gap"))
500
+
501
+ + ' </ul>'
502
+ + '</div>'
503
+ + '<input type="text" id="firebugCommandLine" />'
504
+ + '<div id="firebugLog"></div>'
505
+ + '<div id="objectLog" style="display:none;">Click on an object in the Log display</div>'
506
+ + '<div id="domInspect" style="display:none;">Hover over HTML elements in the main page. Click to hold selection.</div>';
507
+
508
+
509
+ consoleToolbar = _firebugDoc.getElementById("firebugToolbar");
510
+
511
+ commandLine = _firebugDoc.getElementById("firebugCommandLine");
512
+ addEvent(commandLine, "keydown", onCommandLineKeyDown);
513
+
514
+ addEvent(_firebugDoc, dojo.isIE || dojo.isSafari ? "keydown" : "keypress", onKeyDown);
515
+
516
+ consoleBody = _firebugDoc.getElementById("firebugLog");
517
+ consoleObjectInspector = _firebugDoc.getElementById("objectLog");
518
+ consoleDomInspector = _firebugDoc.getElementById("domInspect");
519
+ fireBugTabs = _firebugDoc.getElementById("fireBugTabs");
520
+ layout();
521
+ flush();
522
+ }
523
+
524
+ dojo.addOnLoad(createFrame);
525
+
526
+ function clearFrame(){
527
+ _firebugDoc = null;
528
+
529
+ if(_firebugWin.console){
530
+ _firebugWin.console.clear();
531
+ }
532
+ _firebugWin = null;
533
+ consoleFrame = null;
534
+ consoleBody = null;
535
+ consoleObjectInspector = null;
536
+ consoleDomInspector = null;
537
+ commandLine = null;
538
+ messageQueue = [];
539
+ groupStack = [];
540
+ timeMap = {};
541
+ }
542
+
543
+
544
+ function evalCommandLine(){
545
+ var text = commandLine.value;
546
+ commandLine.value = "";
547
+
548
+ logRow(["> ", text], "command");
549
+
550
+ var value;
551
+ try{
552
+ value = eval(text);
553
+ }catch(e){
554
+ console.debug(e); // put exception on the console
555
+ }
556
+
557
+ console.log(value);
558
+ }
559
+
560
+ function layout(h){
561
+ var tHeight = 25; //consoleToolbar.offsetHeight; // tab style not ready on load - throws off layout
562
+ var height = h ?
563
+ h - (tHeight + commandLine.offsetHeight +25 + (h*.01)) + "px" :
564
+ (consoleFrame.offsetHeight - tHeight - commandLine.offsetHeight) + "px";
565
+
566
+ consoleBody.style.top = tHeight + "px";
567
+ consoleBody.style.height = height;
568
+ consoleObjectInspector.style.height = height;
569
+ consoleObjectInspector.style.top = tHeight + "px";
570
+ consoleDomInspector.style.height = height;
571
+ consoleDomInspector.style.top = tHeight + "px";
572
+ commandLine.style.bottom = 0;
573
+
574
+ dojo.addOnWindowUnload(clearFrame);
575
+ }
576
+
577
+ function logRow(message, className, handler){
578
+ if(consoleBody){
579
+ writeMessage(message, className, handler);
580
+ }else{
581
+ messageQueue.push([message, className, handler]);
582
+ }
583
+ }
584
+
585
+ function flush(){
586
+ var queue = messageQueue;
587
+ messageQueue = [];
588
+
589
+ for(var i = 0; i < queue.length; ++i){
590
+ writeMessage(queue[i][0], queue[i][1], queue[i][2]);
591
+ }
592
+ }
593
+
594
+ function writeMessage(message, className, handler){
595
+ var isScrolledToBottom =
596
+ consoleBody.scrollTop + consoleBody.offsetHeight >= consoleBody.scrollHeight;
597
+
598
+ handler = handler||writeRow;
599
+
600
+ handler(message, className);
601
+
602
+ if(isScrolledToBottom){
603
+ consoleBody.scrollTop = consoleBody.scrollHeight - consoleBody.offsetHeight;
604
+ }
605
+ }
606
+
607
+ function appendRow(row){
608
+ var container = groupStack.length ? groupStack[groupStack.length-1] : consoleBody;
609
+ container.appendChild(row);
610
+ }
611
+
612
+ function writeRow(message, className){
613
+ var row = consoleBody.ownerDocument.createElement("div");
614
+ row.className = "logRow" + (className ? " logRow-"+className : "");
615
+ row.innerHTML = message.join("");
616
+ appendRow(row);
617
+ }
618
+
619
+ function pushGroup(message, className){
620
+ logFormatted(message, className);
621
+
622
+ //var groupRow = consoleBody.ownerDocument.createElement("div");
623
+ //groupRow.className = "logGroup";
624
+ var groupRowBox = consoleBody.ownerDocument.createElement("div");
625
+ groupRowBox.className = "logGroupBox";
626
+ //groupRow.appendChild(groupRowBox);
627
+ appendRow(groupRowBox);
628
+ groupStack.push(groupRowBox);
629
+ }
630
+
631
+ function popGroup(){
632
+ groupStack.pop();
633
+ }
634
+
635
+ // ***************************************************************************
636
+
637
+ function logFormatted(objects, className){
638
+ var html = [];
639
+
640
+ var format = objects[0];
641
+ var objIndex = 0;
642
+
643
+ if(typeof(format) != "string"){
644
+ format = "";
645
+ objIndex = -1;
646
+ }
647
+
648
+ var parts = parseFormat(format);
649
+
650
+ for(var i = 0; i < parts.length; ++i){
651
+ var part = parts[i];
652
+ if(part && typeof part == "object"){
653
+ part.appender(objects[++objIndex], html);
654
+ }else{
655
+ appendText(part, html);
656
+ }
657
+ }
658
+
659
+
660
+ var ids = [];
661
+ var obs = [];
662
+ for(i = objIndex+1; i < objects.length; ++i){
663
+ appendText(" ", html);
664
+
665
+ var object = objects[i];
666
+ if(object === undefined || object === null ){
667
+ appendNull(object, html);
668
+
669
+ }else if(typeof(object) == "string"){
670
+ appendText(object, html);
671
+
672
+ }else if(object instanceof Date){
673
+ appendText(object.toString(), html);
674
+
675
+ }else if(object.nodeType == 9){
676
+ appendText("[ XmlDoc ]", html);
677
+
678
+ }else{
679
+ // Create link for object inspector
680
+ // need to create an ID for this link, since it is currently text
681
+ var id = "_a" + __consoleAnchorId__++;
682
+ ids.push(id);
683
+ // need to save the object, so the arrays line up
684
+ obs.push(object);
685
+ var str = '<a id="'+id+'" href="javascript:void(0);">'+getObjectAbbr(object)+'</a>';
686
+
687
+ appendLink( str , html);
688
+ }
689
+ }
690
+
691
+ logRow(html, className);
692
+
693
+ // Now that the row is inserted in the DOM, loop through all of the links that were just created
694
+ for(i=0; i<ids.length; i++){
695
+ var btn = _firebugDoc.getElementById(ids[i]);
696
+ if(!btn){ continue; }
697
+
698
+ // store the object in the dom btn for reference later
699
+ // avoid parsing these objects unless necessary
700
+ btn.obj = obs[i];
701
+
702
+ _firebugWin.console._connects.push(dojo.connect(btn, "onclick", function(){
703
+
704
+ console.openObjectInspector();
705
+
706
+ try{
707
+ printObject(this.obj);
708
+ }catch(e){
709
+ this.obj = e;
710
+ }
711
+ consoleObjectInspector.innerHTML = "<pre>" + printObject( this.obj ) + "</pre>";
712
+ }));
713
+ }
714
+ }
715
+
716
+ function parseFormat(format){
717
+ var parts = [];
718
+
719
+ var reg = /((^%|[^\\]%)(\d+)?(\.)([a-zA-Z]))|((^%|[^\\]%)([a-zA-Z]))/;
720
+ var appenderMap = {s: appendText, d: appendInteger, i: appendInteger, f: appendFloat};
721
+
722
+ for(var m = reg.exec(format); m; m = reg.exec(format)){
723
+ var type = m[8] ? m[8] : m[5];
724
+ var appender = type in appenderMap ? appenderMap[type] : appendObject;
725
+ var precision = m[3] ? parseInt(m[3]) : (m[4] == "." ? -1 : 0);
726
+
727
+ parts.push(format.substr(0, m[0][0] == "%" ? m.index : m.index+1));
728
+ parts.push({appender: appender, precision: precision});
729
+
730
+ format = format.substr(m.index+m[0].length);
731
+ }
732
+
733
+ parts.push(format);
734
+
735
+ return parts;
736
+ }
737
+
738
+ function escapeHTML(value){
739
+ function replaceChars(ch){
740
+ switch(ch){
741
+ case "<":
742
+ return "&lt;";
743
+ case ">":
744
+ return "&gt;";
745
+ case "&":
746
+ return "&amp;";
747
+ case "'":
748
+ return "&#39;";
749
+ case '"':
750
+ return "&quot;";
751
+ }
752
+ return "?";
753
+ }
754
+ return String(value).replace(/[<>&"']/g, replaceChars);
755
+ }
756
+
757
+ function objectToString(object){
758
+ try{
759
+ return object+"";
760
+ }catch(e){
761
+ return null;
762
+ }
763
+ }
764
+
765
+ // ***************************************************************************
766
+ function appendLink(object, html){
767
+ // needed for object links - no HTML escaping
768
+ html.push( objectToString(object) );
769
+ }
770
+
771
+ function appendText(object, html){
772
+ html.push(escapeHTML(objectToString(object)));
773
+ }
774
+
775
+ function appendNull(object, html){
776
+ html.push('<span class="objectBox-null">', escapeHTML(objectToString(object)), '</span>');
777
+ }
778
+
779
+ function appendString(object, html){
780
+ html.push('<span class="objectBox-string">&quot;', escapeHTML(objectToString(object)),
781
+ '&quot;</span>');
782
+ }
783
+
784
+ function appendInteger(object, html){
785
+ html.push('<span class="objectBox-number">', escapeHTML(objectToString(object)), '</span>');
786
+ }
787
+
788
+ function appendFloat(object, html){
789
+ html.push('<span class="objectBox-number">', escapeHTML(objectToString(object)), '</span>');
790
+ }
791
+
792
+ function appendFunction(object, html){
793
+ html.push('<span class="objectBox-function">', getObjectAbbr(object), '</span>');
794
+ }
795
+
796
+ function appendObject(object, html){
797
+ try{
798
+ if(object === undefined){
799
+ appendNull("undefined", html);
800
+ }else if(object === null){
801
+ appendNull("null", html);
802
+ }else if(typeof object == "string"){
803
+ appendString(object, html);
804
+ }else if(typeof object == "number"){
805
+ appendInteger(object, html);
806
+ }else if(typeof object == "function"){
807
+ appendFunction(object, html);
808
+ }else if(object.nodeType == 1){
809
+ appendSelector(object, html);
810
+ }else if(typeof object == "object"){
811
+ appendObjectFormatted(object, html);
812
+ }else{
813
+ appendText(object, html);
814
+ }
815
+ }catch(e){
816
+ /* squelch */
817
+ }
818
+ }
819
+
820
+ function appendObjectFormatted(object, html){
821
+ var text = objectToString(object);
822
+ var reObject = /\[object (.*?)\]/;
823
+
824
+ var m = reObject.exec(text);
825
+ html.push('<span class="objectBox-object">', m ? m[1] : text, '</span>');
826
+ }
827
+
828
+ function appendSelector(object, html){
829
+ html.push('<span class="objectBox-selector">');
830
+
831
+ html.push('<span class="selectorTag">', escapeHTML(object.nodeName.toLowerCase()), '</span>');
832
+ if(object.id){
833
+ html.push('<span class="selectorId">#', escapeHTML(object.id), '</span>');
834
+ }
835
+ if(object.className){
836
+ html.push('<span class="selectorClass">.', escapeHTML(object.className), '</span>');
837
+ }
838
+
839
+ html.push('</span>');
840
+ }
841
+
842
+ function appendNode(node, html){
843
+ if(node.nodeType == 1){
844
+ html.push(
845
+ '<div class="objectBox-element">',
846
+ '&lt;<span class="nodeTag">', node.nodeName.toLowerCase(), '</span>');
847
+
848
+ for(var i = 0; i < node.attributes.length; ++i){
849
+ var attr = node.attributes[i];
850
+ if(!attr.specified){ continue; }
851
+
852
+ html.push('&nbsp;<span class="nodeName">', attr.nodeName.toLowerCase(),
853
+ '</span>=&quot;<span class="nodeValue">', escapeHTML(attr.nodeValue),
854
+ '</span>&quot;');
855
+ }
856
+
857
+ if(node.firstChild){
858
+ html.push('&gt;</div><div class="nodeChildren">');
859
+
860
+ for(var child = node.firstChild; child; child = child.nextSibling){
861
+ appendNode(child, html);
862
+ }
863
+
864
+ html.push('</div><div class="objectBox-element">&lt;/<span class="nodeTag">',
865
+ node.nodeName.toLowerCase(), '&gt;</span></div>');
866
+ }else{
867
+ html.push('/&gt;</div>');
868
+ }
869
+ }else if (node.nodeType == 3){
870
+ html.push('<div class="nodeText">', escapeHTML(node.nodeValue),
871
+ '</div>');
872
+ }
873
+ }
874
+
875
+ // ***************************************************************************
876
+
877
+ function addEvent(object, name, handler){
878
+ if(document.all){
879
+ object.attachEvent("on"+name, handler);
880
+ }else{
881
+ object.addEventListener(name, handler, false);
882
+ }
883
+ }
884
+
885
+ function removeEvent(object, name, handler){
886
+ if(document.all){
887
+ object.detachEvent("on"+name, handler);
888
+ }else{
889
+ object.removeEventListener(name, handler, false);
890
+ }
891
+ }
892
+
893
+ function cancelEvent(event){
894
+ if(document.all){
895
+ event.cancelBubble = true;
896
+ }else{
897
+ event.stopPropagation();
898
+ }
899
+ }
900
+
901
+ function onError(msg, href, lineNo){
902
+ var lastSlash = href.lastIndexOf("/");
903
+ var fileName = lastSlash == -1 ? href : href.substr(lastSlash+1);
904
+
905
+ var html = [
906
+ '<span class="errorMessage">', msg, '</span>',
907
+ '<div class="objectBox-sourceLink">', fileName, ' (line ', lineNo, ')</div>'
908
+ ];
909
+
910
+ logRow(html, "error");
911
+ }
912
+
913
+
914
+ //After converting to div instead of iframe, now getting two keydowns right away in IE 6.
915
+ //Make sure there is a little bit of delay.
916
+ var onKeyDownTime = new Date().getTime();
917
+
918
+ function onKeyDown(event){
919
+ var timestamp = (new Date()).getTime();
920
+ if(timestamp > onKeyDownTime + 200){
921
+ event = dojo.fixEvent(event);
922
+ var keys = dojo.keys;
923
+ var ekc = event.keyCode;
924
+ onKeyDownTime = timestamp;
925
+ if(ekc == keys.F12){
926
+ toggleConsole();
927
+ }else if(
928
+ (ekc == keys.NUMPAD_ENTER || ekc == 76) &&
929
+ event.shiftKey &&
930
+ (event.metaKey || event.ctrlKey)
931
+ ){
932
+ focusCommandLine();
933
+ }else{
934
+ return;
935
+ }
936
+ cancelEvent(event);
937
+ }
938
+ }
939
+
940
+ function onCommandLineKeyDown(e){
941
+ var dk = dojo.keys;
942
+ if(e.keyCode == 13 && commandLine.value){
943
+ addToHistory(commandLine.value);
944
+ evalCommandLine();
945
+ }else if(e.keyCode == 27){
946
+ commandLine.value = "";
947
+ }else if(e.keyCode == dk.UP_ARROW || e.charCode == dk.UP_ARROW){
948
+ navigateHistory("older");
949
+ }else if(e.keyCode == dk.DOWN_ARROW || e.charCode == dk.DOWN_ARROW){
950
+ navigateHistory("newer");
951
+ }else if(e.keyCode == dk.HOME || e.charCode == dk.HOME){
952
+ historyPosition = 1;
953
+ navigateHistory("older");
954
+ }else if(e.keyCode == dk.END || e.charCode == dk.END){
955
+ historyPosition = 999999;
956
+ navigateHistory("newer");
957
+ }
958
+ }
959
+
960
+ var historyPosition = -1;
961
+ var historyCommandLine = null;
962
+
963
+ function addToHistory(value){
964
+ var history = cookie("firebug_history");
965
+ history = (history) ? dojo.fromJson(history) : [];
966
+ var pos = dojo.indexOf(history, value);
967
+ if (pos != -1){
968
+ history.splice(pos, 1);
969
+ }
970
+ history.push(value);
971
+ cookie("firebug_history", dojo.toJson(history), 30);
972
+ while(history.length && !cookie("firebug_history")){
973
+ history.shift();
974
+ cookie("firebug_history", dojo.toJson(history), 30);
975
+ }
976
+ historyCommandLine = null;
977
+ historyPosition = -1;
978
+ }
979
+
980
+ function navigateHistory(direction){
981
+ var history = cookie("firebug_history");
982
+ history = (history) ? dojo.fromJson(history) : [];
983
+ if(!history.length){
984
+ return;
985
+ }
986
+
987
+ if(historyCommandLine === null){
988
+ historyCommandLine = commandLine.value;
989
+ }
990
+
991
+ if(historyPosition == -1){
992
+ historyPosition = history.length;
993
+ }
994
+
995
+ if(direction == "older"){
996
+ --historyPosition;
997
+ if(historyPosition < 0){
998
+ historyPosition = 0;
999
+ }
1000
+ }else if(direction == "newer"){
1001
+ ++historyPosition;
1002
+ if(historyPosition > history.length){
1003
+ historyPosition = history.length;
1004
+ }
1005
+ }
1006
+
1007
+ if(historyPosition == history.length){
1008
+ commandLine.value = historyCommandLine;
1009
+ historyCommandLine = null;
1010
+ }else{
1011
+ commandLine.value = history[historyPosition];
1012
+ }
1013
+ }
1014
+
1015
+ function cookie(name, value){
1016
+ var c = document.cookie;
1017
+ if(arguments.length == 1){
1018
+ var matches = c.match(new RegExp("(?:^|; )" + name + "=([^;]*)"));
1019
+ return matches ? decodeURIComponent(matches[1]) : undefined; // String or undefined
1020
+ }else{
1021
+ var d = new Date();
1022
+ d.setMonth(d.getMonth()+1);
1023
+ document.cookie = name + "=" + encodeURIComponent(value) + ((d.toUtcString) ? "; expires=" + d.toUTCString() : "");
1024
+ }
1025
+ }
1026
+
1027
+ function isArray(it){
1028
+ return it && it instanceof Array || typeof it == "array";
1029
+ }
1030
+
1031
+ //***************************************************************************************************
1032
+ // Print Object Helpers
1033
+ function objectLength(o){
1034
+ var cnt = 0;
1035
+ for(var nm in o){
1036
+ cnt++;
1037
+ }
1038
+ return cnt;
1039
+ }
1040
+
1041
+ function printObject(o, i, txt, used){
1042
+ // Recursively trace object, indenting to represent depth for display in object inspector
1043
+ var ind = " \t";
1044
+ txt = txt || "";
1045
+ i = i || ind;
1046
+ used = used || [];
1047
+ var opnCls;
1048
+
1049
+ if(o && o.nodeType == 1){
1050
+ var html = [];
1051
+ appendNode(o, html);
1052
+ return html.join("");
1053
+ }
1054
+
1055
+ var br=",\n", cnt = 0, length = objectLength(o);
1056
+
1057
+ if(o instanceof Date){
1058
+ return i + o.toString() + br;
1059
+ }
1060
+ looking:
1061
+ for(var nm in o){
1062
+ cnt++;
1063
+ if(cnt==length){br = "\n";}
1064
+ if(o[nm] === window || o[nm] === document){
1065
+ // do nothing
1066
+ }else if(o[nm] === null){
1067
+ txt += i+nm + " : NULL" + br;
1068
+ }else if(o[nm] && o[nm].nodeType){
1069
+ if(o[nm].nodeType == 1){
1070
+ //txt += i+nm + " : < "+o[nm].tagName+" id=\""+ o[nm].id+"\" />" + br;
1071
+ }else if(o[nm].nodeType == 3){
1072
+ txt += i+nm + " : [ TextNode "+o[nm].data + " ]" + br;
1073
+ }
1074
+
1075
+ }else if(typeof o[nm] == "object" && (o[nm] instanceof String || o[nm] instanceof Number || o[nm] instanceof Boolean)){
1076
+ txt += i+nm + " : " + o[nm] + "," + br;
1077
+
1078
+ }else if(o[nm] instanceof Date){
1079
+ txt += i+nm + " : " + o[nm].toString() + br;
1080
+
1081
+ }else if(typeof(o[nm]) == "object" && o[nm]){
1082
+ for(var j = 0, seen; seen = used[j]; j++){
1083
+ if(o[nm] === seen){
1084
+ txt += i+nm + " : RECURSION" + br;
1085
+ continue looking;
1086
+ }
1087
+ }
1088
+ used.push(o[nm]);
1089
+
1090
+ opnCls = (isArray(o[nm]))?["[","]"]:["{","}"];
1091
+ txt += i+nm +" : " + opnCls[0] + "\n";//non-standard break, (no comma)
1092
+ txt += printObject(o[nm], i+ind, "", used);
1093
+ txt += i + opnCls[1] + br;
1094
+
1095
+ }else if(typeof o[nm] == "undefined"){
1096
+ txt += i+nm + " : undefined" + br;
1097
+ }else if(nm == "toString" && typeof o[nm] == "function"){
1098
+ var toString = o[nm]();
1099
+ if(typeof toString == "string" && toString.match(/function ?(.*?)\(/)){
1100
+ toString = escapeHTML(getObjectAbbr(o[nm]));
1101
+ }
1102
+ txt += i+nm +" : " + toString + br;
1103
+ }else{
1104
+ txt += i+nm +" : "+ escapeHTML(getObjectAbbr(o[nm])) + br;
1105
+ }
1106
+ }
1107
+ return txt;
1108
+ }
1109
+
1110
+ function getObjectAbbr(obj){
1111
+ // Gets an abbreviation of an object for display in log
1112
+ // X items in object, including id
1113
+ // X items in an array
1114
+ // TODO: Firebug Sr. actually goes by char count
1115
+ var isError = (obj instanceof Error);
1116
+ if(obj.nodeType == 1){
1117
+ return escapeHTML('< '+obj.tagName.toLowerCase()+' id=\"'+ obj.id+ '\" />');
1118
+ }
1119
+ if(obj.nodeType == 3){
1120
+ return escapeHTML('[TextNode: "'+obj.nodeValue+'"]');
1121
+ }
1122
+ var nm = (obj && (obj.id || obj.name || obj.ObjectID || obj.widgetId));
1123
+ if(!isError && nm){ return "{"+nm+"}"; }
1124
+
1125
+ var obCnt = 2;
1126
+ var arCnt = 4;
1127
+ var cnt = 0;
1128
+
1129
+ if(isError){
1130
+ nm = "[ Error: "+(obj.message || obj.description || obj)+" ]";
1131
+ }else if(isArray(obj)){
1132
+ nm = "[" + obj.slice(0,arCnt).join(",");
1133
+ if(obj.length > arCnt){
1134
+ nm += " ... ("+obj.length+" items)";
1135
+ }
1136
+ nm += "]";
1137
+ }else if(typeof obj == "function"){
1138
+ nm = obj + "";
1139
+ var reg = /function\s*([^\(]*)(\([^\)]*\))[^\{]*\{/;
1140
+ var m = reg.exec(nm);
1141
+ if(m){
1142
+ if(!m[1]){
1143
+ m[1] = "function";
1144
+ }
1145
+ nm = m[1] + m[2];
1146
+ }else{
1147
+ nm = "function()";
1148
+ }
1149
+ }else if(typeof obj != "object" || typeof obj == "string"){
1150
+ nm = obj + "";
1151
+ }else{
1152
+ nm = "{";
1153
+ for(var i in obj){
1154
+ cnt++;
1155
+ if(cnt > obCnt){ break; }
1156
+ nm += i+":"+escapeHTML(obj[i])+" ";
1157
+ }
1158
+ nm+="}";
1159
+ }
1160
+
1161
+ return nm;
1162
+ }
1163
+
1164
+ //*************************************************************************************
1165
+
1166
+ //window.onerror = onError;
1167
+
1168
+ addEvent(document, dojo.isIE || dojo.isSafari ? "keydown" : "keypress", onKeyDown);
1169
+
1170
+ if( (document.documentElement.getAttribute("debug") == "true")||
1171
+ (dojo.config.isDebug)
1172
+ ){
1173
+ toggleConsole(true);
1174
+ }
1175
+
1176
+ dojo.addOnWindowUnload(function(){
1177
+ // Erase the globals and event handlers I created, to prevent spurious leak warnings
1178
+ removeEvent(document, dojo.isIE || dojo.isSafari ? "keydown" : "keypress", onKeyDown);
1179
+ window.onFirebugResize = null;
1180
+ window.console = null;
1181
+ });
1182
+
1183
+ });