mdbe 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (688) hide show
  1. checksums.yaml +15 -0
  2. data/LICENSE.txt +21 -0
  3. data/README.md +53 -0
  4. data/app.rb +182 -0
  5. data/bin/mdbe +5 -0
  6. data/config.ru +2 -0
  7. data/environment.rb +8 -0
  8. data/lib/mdbe.rb +39 -0
  9. data/lib/mdbe/action_controller_debug_patch.rb +12 -0
  10. data/lib/mdbe/code_evaluation.rb +46 -0
  11. data/lib/mdbe/database_views.rb +24 -0
  12. data/lib/mdbe/database_views/abstract_dictionary.rb +69 -0
  13. data/lib/mdbe/database_views/abstract_exception.rb +25 -0
  14. data/lib/mdbe/database_views/array.rb +28 -0
  15. data/lib/mdbe/database_views/boolean.rb +12 -0
  16. data/lib/mdbe/database_views/class.rb +46 -0
  17. data/lib/mdbe/database_views/exception.rb +3 -0
  18. data/lib/mdbe/database_views/execblock.rb +5 -0
  19. data/lib/mdbe/database_views/fixnum.rb +5 -0
  20. data/lib/mdbe/database_views/float.rb +5 -0
  21. data/lib/mdbe/database_views/globals.rb +2 -0
  22. data/lib/mdbe/database_views/gsnmethod.rb +29 -0
  23. data/lib/mdbe/database_views/hash.rb +5 -0
  24. data/lib/mdbe/database_views/maglev_record.rb +42 -0
  25. data/lib/mdbe/database_views/module.rb +103 -0
  26. data/lib/mdbe/database_views/nilclass.rb +5 -0
  27. data/lib/mdbe/database_views/object.rb +80 -0
  28. data/lib/mdbe/database_views/proc.rb +3 -0
  29. data/lib/mdbe/database_views/repository.rb +3 -0
  30. data/lib/mdbe/database_views/ruby_workspace.rb +5 -0
  31. data/lib/mdbe/database_views/smalltalk_classes.rb +34 -0
  32. data/lib/mdbe/database_views/smalltalk_classes.st +60 -0
  33. data/lib/mdbe/database_views/string.rb +31 -0
  34. data/lib/mdbe/database_views/symbol.rb +32 -0
  35. data/lib/mdbe/database_views/system.rb +61 -0
  36. data/lib/mdbe/database_views/thread.rb +101 -0
  37. data/lib/mdbe/debug_server.rb +22 -0
  38. data/lib/mdbe/halt.rb +42 -0
  39. data/lib/mdbe/ruby_workspace.rb +29 -0
  40. data/lib/mdbe/version.rb +3 -0
  41. data/lib/tasks/maglev-database-explorer_tasks.rake +4 -0
  42. data/public/LICENSE +35 -0
  43. data/public/amber/CHANGELOG +65 -0
  44. data/public/amber/LICENSE +22 -0
  45. data/public/amber/Makefile +53 -0
  46. data/public/amber/README.md +30 -0
  47. data/public/amber/bin/amber +3 -0
  48. data/public/amber/bin/amberc +352 -0
  49. data/public/amber/bin/nodecompile.js +33 -0
  50. data/public/amber/bin/server +3 -0
  51. data/public/amber/bin/server.bat +3 -0
  52. data/public/amber/css/amber-normalize.css +468 -0
  53. data/public/amber/css/amber-normalize.less +501 -0
  54. data/public/amber/css/amber.css +539 -0
  55. data/public/amber/css/documentation.css +84 -0
  56. data/public/amber/css/profstef.css +75 -0
  57. data/public/amber/css/style.css +313 -0
  58. data/public/amber/documentation.html +37 -0
  59. data/public/amber/examples/Makefile +23 -0
  60. data/public/amber/examples/README +4 -0
  61. data/public/amber/examples/android/helloamber/AndroidManifest.xml +19 -0
  62. data/public/amber/examples/android/helloamber/HelloAmber.st +13 -0
  63. data/public/amber/examples/android/helloamber/Makefile +56 -0
  64. data/public/amber/examples/android/helloamber/README.md +80 -0
  65. data/public/amber/examples/android/helloamber/ant.properties +17 -0
  66. data/public/amber/examples/android/helloamber/assets/index.html +15 -0
  67. data/public/amber/examples/android/helloamber/assets/jquery-1.7.2.min.js +4 -0
  68. data/public/amber/examples/android/helloamber/build.xml +83 -0
  69. data/public/amber/examples/android/helloamber/local.properties +10 -0
  70. data/public/amber/examples/android/helloamber/proguard-project.txt +20 -0
  71. data/public/amber/examples/android/helloamber/project.properties +14 -0
  72. data/public/amber/examples/android/helloamber/res/layout/main.xml +6 -0
  73. data/public/amber/examples/android/helloamber/res/values/strings.xml +4 -0
  74. data/public/amber/examples/android/helloamber/src/org/amberlang/android/helloamber/HelloAmber.java +59 -0
  75. data/public/amber/examples/myproject/index.html +16 -0
  76. data/public/amber/examples/nodejs/README +9 -0
  77. data/public/amber/examples/nodejs/benchfib/Benchfib.st +124 -0
  78. data/public/amber/examples/nodejs/benchfib/Makefile +8 -0
  79. data/public/amber/examples/nodejs/benchfib/benchfib +1 -0
  80. data/public/amber/examples/nodejs/hello/Hello.st +9 -0
  81. data/public/amber/examples/nodejs/hello/Makefile +8 -0
  82. data/public/amber/examples/nodejs/hello/README +13 -0
  83. data/public/amber/examples/nodejs/hello/hello +1 -0
  84. data/public/amber/examples/nodejs/meta/Makefile +8 -0
  85. data/public/amber/examples/nodejs/meta/MyScript.st +27 -0
  86. data/public/amber/examples/nodejs/meta/meta +1 -0
  87. data/public/amber/examples/nodejs/pystone/Makefile +8 -0
  88. data/public/amber/examples/nodejs/pystone/Pystone.st +306 -0
  89. data/public/amber/examples/nodejs/pystone/pystone +1 -0
  90. data/public/amber/examples/nodejs/trivialserver/Makefile +8 -0
  91. data/public/amber/examples/nodejs/trivialserver/TrivialServer.st +51 -0
  92. data/public/amber/examples/nodejs/trivialserver/trivial +1 -0
  93. data/public/amber/examples/presentation/esug2011/images/asterix.png +0 -0
  94. data/public/amber/examples/presentation/esug2011/images/background_box.png +0 -0
  95. data/public/amber/examples/presentation/esug2011/images/background_header.png +0 -0
  96. data/public/amber/examples/presentation/esug2011/images/balloon.jpg +0 -0
  97. data/public/amber/examples/presentation/esug2011/images/balloon_header.png +0 -0
  98. data/public/amber/examples/presentation/esug2011/images/devices.jpg +0 -0
  99. data/public/amber/examples/presentation/esug2011/images/enyo.png +0 -0
  100. data/public/amber/examples/presentation/esug2011/images/ide_star_wars.png +0 -0
  101. data/public/amber/examples/presentation/esug2011/images/nodejs.png +0 -0
  102. data/public/amber/examples/presentation/esug2011/images/terminal.png +0 -0
  103. data/public/amber/examples/presentation/esug2011/images/webos.png +0 -0
  104. data/public/amber/examples/presentation/fosdem2012/images/amber.png +0 -0
  105. data/public/amber/examples/presentation/fosdem2012/images/ambrhino.jpg +0 -0
  106. data/public/amber/examples/presentation/fosdem2012/images/nodejs.png +0 -0
  107. data/public/amber/examples/presentation/fosdem2012/images/pharo.png +0 -0
  108. data/public/amber/examples/presentation/fosdem2012/images/php.gif +0 -0
  109. data/public/amber/examples/presentation/fosdem2012/images/rails.png +0 -0
  110. data/public/amber/examples/presentation/fosdem2012/lib/booklet/images/arrow-next.png +0 -0
  111. data/public/amber/examples/presentation/fosdem2012/lib/booklet/images/arrow-prev.png +0 -0
  112. data/public/amber/examples/presentation/fosdem2012/lib/booklet/images/closedhand.cur +0 -0
  113. data/public/amber/examples/presentation/fosdem2012/lib/booklet/images/openhand.cur +0 -0
  114. data/public/amber/examples/presentation/fosdem2012/lib/booklet/images/shadow-top-back.png +0 -0
  115. data/public/amber/examples/presentation/fosdem2012/lib/booklet/images/shadow-top-forward.png +0 -0
  116. data/public/amber/examples/presentation/fosdem2012/lib/booklet/images/shadow.png +0 -0
  117. data/public/amber/examples/presentation/fosdem2012/lib/booklet/jquery.booklet.1.2.0.css +100 -0
  118. data/public/amber/examples/presentation/fosdem2012/lib/booklet/jquery.booklet.1.2.0.js +1232 -0
  119. data/public/amber/examples/presentation/fosdem2012/lib/booklet/jquery.booklet.1.2.0.min.js +13 -0
  120. data/public/amber/examples/presentation/fosdem2012/lib/booklet/jquery.easing.1.3.js +38 -0
  121. data/public/amber/examples/presentation/index.html +17 -0
  122. data/public/amber/examples/presentation/js/Presentation.deploy.js +1922 -0
  123. data/public/amber/examples/presentation/js/Presentation.js +2712 -0
  124. data/public/amber/examples/presentation/st/Presentation.st +1996 -0
  125. data/public/amber/examples/trysmalltalk/index.html +18 -0
  126. data/public/amber/examples/trysmalltalk/js/TrySmalltalk.deploy.js +837 -0
  127. data/public/amber/examples/trysmalltalk/js/TrySmalltalk.js +1206 -0
  128. data/public/amber/examples/trysmalltalk/st/TrySmalltalk.st +964 -0
  129. data/public/amber/examples/twitterwall/css/twitterwall.css +19 -0
  130. data/public/amber/examples/twitterwall/index.html +35 -0
  131. data/public/amber/examples/twitterwall/js/TwitterWall.deploy.js +116 -0
  132. data/public/amber/examples/twitterwall/js/TwitterWall.js +146 -0
  133. data/public/amber/examples/twitterwall/st/TwitterWall.st +91 -0
  134. data/public/amber/examples/webos/README +11 -0
  135. data/public/amber/examples/webos/eris/DuckQwaq.wav +0 -0
  136. data/public/amber/examples/webos/eris/EnyoAmber.st +36 -0
  137. data/public/amber/examples/webos/eris/Eris.css +0 -0
  138. data/public/amber/examples/webos/eris/Eris.st +86 -0
  139. data/public/amber/examples/webos/eris/Makefile +37 -0
  140. data/public/amber/examples/webos/eris/README +3 -0
  141. data/public/amber/examples/webos/eris/appinfo.json +10 -0
  142. data/public/amber/examples/webos/eris/index.html +12 -0
  143. data/public/amber/examples/webos/helloamber/EnyoAmber.st +36 -0
  144. data/public/amber/examples/webos/helloamber/HelloAmber.st +86 -0
  145. data/public/amber/examples/webos/helloamber/Makefile +38 -0
  146. data/public/amber/examples/webos/helloamber/README +5 -0
  147. data/public/amber/examples/webos/helloamber/appinfo.json +10 -0
  148. data/public/amber/examples/webos/helloamber/index.html +12 -0
  149. data/public/amber/favicon.ico +0 -0
  150. data/public/amber/images/amber.png +0 -0
  151. data/public/amber/images/amber.svg +706 -0
  152. data/public/amber/images/amber_small.png +0 -0
  153. data/public/amber/images/off.amber.png +0 -0
  154. data/public/amber/images/off.png +0 -0
  155. data/public/amber/images/offHover.amber.png +0 -0
  156. data/public/amber/images/offHover.png +0 -0
  157. data/public/amber/images/presentation.png +0 -0
  158. data/public/amber/images/profstef.png +0 -0
  159. data/public/amber/images/sprite.amber.png +0 -0
  160. data/public/amber/images/sprite.png +0 -0
  161. data/public/amber/images/tinylogo.amber.png +0 -0
  162. data/public/amber/images/tinylogo.png +0 -0
  163. data/public/amber/images/twitterwall.png +0 -0
  164. data/public/amber/index.html +55 -0
  165. data/public/amber/js/Additional-Examples.deploy.js +15 -0
  166. data/public/amber/js/Additional-Examples.js +21 -0
  167. data/public/amber/js/Benchfib.deploy.js +132 -0
  168. data/public/amber/js/Benchfib.js +167 -0
  169. data/public/amber/js/Canvas.deploy.js +2446 -0
  170. data/public/amber/js/Canvas.js +3547 -0
  171. data/public/amber/js/Compiler-Tests.deploy.js +97 -0
  172. data/public/amber/js/Compiler-Tests.js +137 -0
  173. data/public/amber/js/Compiler.deploy.js +1877 -0
  174. data/public/amber/js/Compiler.js +2622 -0
  175. data/public/amber/js/Documentation.deploy.js +961 -0
  176. data/public/amber/js/Documentation.js +1376 -0
  177. data/public/amber/js/Examples.deploy.js +53 -0
  178. data/public/amber/js/Examples.js +73 -0
  179. data/public/amber/js/IDE.deploy.js +3557 -0
  180. data/public/amber/js/IDE.js +5002 -0
  181. data/public/amber/js/Kernel-Announcements.deploy.js +107 -0
  182. data/public/amber/js/Kernel-Announcements.js +152 -0
  183. data/public/amber/js/Kernel-Classes.deploy.js +774 -0
  184. data/public/amber/js/Kernel-Classes.js +1095 -0
  185. data/public/amber/js/Kernel-Collections.deploy.js +3121 -0
  186. data/public/amber/js/Kernel-Collections.js +4427 -0
  187. data/public/amber/js/Kernel-Exceptions.deploy.js +244 -0
  188. data/public/amber/js/Kernel-Exceptions.js +349 -0
  189. data/public/amber/js/Kernel-Methods.deploy.js +573 -0
  190. data/public/amber/js/Kernel-Methods.js +807 -0
  191. data/public/amber/js/Kernel-Objects.deploy.js +2877 -0
  192. data/public/amber/js/Kernel-Objects.js +4107 -0
  193. data/public/amber/js/Kernel-Tests.deploy.js +1513 -0
  194. data/public/amber/js/Kernel-Tests.js +2053 -0
  195. data/public/amber/js/Kernel-Transcript.deploy.js +142 -0
  196. data/public/amber/js/Kernel-Transcript.js +202 -0
  197. data/public/amber/js/Maglev-Core.deploy.js +2996 -0
  198. data/public/amber/js/Maglev-Core.js +4246 -0
  199. data/public/amber/js/Maglev-Database-Explorer.deploy.js +4476 -0
  200. data/public/amber/js/Maglev-Database-Explorer.js +6232 -0
  201. data/public/amber/js/Maglev-Vendor.deploy.js +350 -0
  202. data/public/amber/js/Maglev-Vendor.js +465 -0
  203. data/public/amber/js/README.md +5 -0
  204. data/public/amber/js/SUnit.deploy.js +351 -0
  205. data/public/amber/js/SUnit.js +501 -0
  206. data/public/amber/js/amber.js +273 -0
  207. data/public/amber/js/boot.js +602 -0
  208. data/public/amber/js/compat.js +22 -0
  209. data/public/amber/js/init.js +9 -0
  210. data/public/amber/js/lib/CodeMirror/LICENSE +19 -0
  211. data/public/amber/js/lib/CodeMirror/active-line.js +39 -0
  212. data/public/amber/js/lib/CodeMirror/amber.css +21 -0
  213. data/public/amber/js/lib/CodeMirror/codemirror.css +67 -0
  214. data/public/amber/js/lib/CodeMirror/codemirror.js +2144 -0
  215. data/public/amber/js/lib/CodeMirror/smalltalk.js +134 -0
  216. data/public/amber/js/lib/jQuery/jquery-1.4.4.min.js +167 -0
  217. data/public/amber/js/lib/jQuery/jquery-1.6.4.min.js +4 -0
  218. data/public/amber/js/lib/jQuery/jquery-ui-1.8.16.custom.min.js +791 -0
  219. data/public/amber/js/lib/jQuery/jquery.textarea.js +267 -0
  220. data/public/amber/js/lib/peg-0.6.2.min.js +2 -0
  221. data/public/amber/js/lib/showdown.js +419 -0
  222. data/public/amber/js/parser.js +4222 -0
  223. data/public/amber/js/parser.pegjs +223 -0
  224. data/public/amber/learn.html +40 -0
  225. data/public/amber/repl/Makefile +8 -0
  226. data/public/amber/repl/REPL.js +124 -0
  227. data/public/amber/repl/REPL.st +56 -0
  228. data/public/amber/repl/amber.js +18085 -0
  229. data/public/amber/server/FileServer.st +576 -0
  230. data/public/amber/server/Makefile +8 -0
  231. data/public/amber/server/server.js +13049 -0
  232. data/public/amber/st/Benchfib.js +297 -0
  233. data/public/amber/st/Benchfib.st +124 -0
  234. data/public/amber/st/Canvas.st +968 -0
  235. data/public/amber/st/Compiler-Tests.st +471 -0
  236. data/public/amber/st/Compiler.st +1445 -0
  237. data/public/amber/st/Documentation.st +758 -0
  238. data/public/amber/st/Examples.js +100 -0
  239. data/public/amber/st/Examples.st +38 -0
  240. data/public/amber/st/IDE.st +2404 -0
  241. data/public/amber/st/Kernel-Announcements.st +61 -0
  242. data/public/amber/st/Kernel-Classes.st +462 -0
  243. data/public/amber/st/Kernel-Collections.st +1611 -0
  244. data/public/amber/st/Kernel-Exceptions.st +124 -0
  245. data/public/amber/st/Kernel-Methods.st +291 -0
  246. data/public/amber/st/Kernel-Objects.st +1587 -0
  247. data/public/amber/st/Kernel-Tests.st +953 -0
  248. data/public/amber/st/Kernel-Transcript.st +70 -0
  249. data/public/amber/st/Maglev-Core.st +1694 -0
  250. data/public/amber/st/Maglev-Database-Explorer.st +3148 -0
  251. data/public/amber/st/Maglev-Vendor.st +151 -0
  252. data/public/amber/st/Makefile +104 -0
  253. data/public/amber/st/README.md +4 -0
  254. data/public/amber/st/SUnit.st +172 -0
  255. data/public/css/bootstrap-combined.no-icons.min.css +731 -0
  256. data/public/css/bootstrap.css +6811 -0
  257. data/public/css/images/animated-overlay.gif +0 -0
  258. data/public/css/images/ui-bg_diagonals-thick_18_b81900_40x40.png +0 -0
  259. data/public/css/images/ui-bg_diagonals-thick_20_666666_40x40.png +0 -0
  260. data/public/css/images/ui-bg_flat_10_000000_40x100.png +0 -0
  261. data/public/css/images/ui-bg_glass_100_f6f6f6_1x400.png +0 -0
  262. data/public/css/images/ui-bg_glass_100_fdf5ce_1x400.png +0 -0
  263. data/public/css/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  264. data/public/css/images/ui-bg_gloss-wave_35_f6a828_500x100.png +0 -0
  265. data/public/css/images/ui-bg_highlight-soft_100_eeeeee_1x100.png +0 -0
  266. data/public/css/images/ui-bg_highlight-soft_75_ffe45c_1x100.png +0 -0
  267. data/public/css/images/ui-icons_222222_256x240.png +0 -0
  268. data/public/css/images/ui-icons_228ef1_256x240.png +0 -0
  269. data/public/css/images/ui-icons_ef8c08_256x240.png +0 -0
  270. data/public/css/images/ui-icons_ffd27a_256x240.png +0 -0
  271. data/public/css/images/ui-icons_ffffff_256x240.png +0 -0
  272. data/public/css/jquery-ui.min.css +5 -0
  273. data/public/css/smalltalk_code.css +42 -0
  274. data/public/css/style.css +210 -0
  275. data/public/images/bg_tile.png +0 -0
  276. data/public/images/maglev-logo.gif +0 -0
  277. data/public/images/mchammer.gif +0 -0
  278. data/public/images/rails_tiny.png +0 -0
  279. data/public/images/ruby.png +0 -0
  280. data/public/images/ruby_smalltalk_bridge.png +0 -0
  281. data/public/images/smalltalk.png +0 -0
  282. data/public/img/glyphicons-halflings.png +0 -0
  283. data/public/index.html +118 -0
  284. data/public/libs/bootstrap.min.js +7 -0
  285. data/public/libs/codemirror/CONTRIBUTING.md +72 -0
  286. data/public/libs/codemirror/LICENSE +23 -0
  287. data/public/libs/codemirror/README.md +11 -0
  288. data/public/libs/codemirror/addon/dialog/dialog.css +32 -0
  289. data/public/libs/codemirror/addon/dialog/dialog.js +80 -0
  290. data/public/libs/codemirror/addon/display/placeholder.js +54 -0
  291. data/public/libs/codemirror/addon/edit/closebrackets.js +54 -0
  292. data/public/libs/codemirror/addon/edit/closetag.js +86 -0
  293. data/public/libs/codemirror/addon/edit/continuecomment.js +44 -0
  294. data/public/libs/codemirror/addon/edit/continuelist.js +25 -0
  295. data/public/libs/codemirror/addon/edit/matchbrackets.js +82 -0
  296. data/public/libs/codemirror/addon/fold/brace-fold.js +31 -0
  297. data/public/libs/codemirror/addon/fold/foldcode.js +32 -0
  298. data/public/libs/codemirror/addon/fold/indent-fold.js +11 -0
  299. data/public/libs/codemirror/addon/fold/xml-fold.js +64 -0
  300. data/public/libs/codemirror/addon/hint/html-hint.js +582 -0
  301. data/public/libs/codemirror/addon/hint/javascript-hint.js +142 -0
  302. data/public/libs/codemirror/addon/hint/pig-hint.js +117 -0
  303. data/public/libs/codemirror/addon/hint/python-hint.js +93 -0
  304. data/public/libs/codemirror/addon/hint/show-hint.css +38 -0
  305. data/public/libs/codemirror/addon/hint/show-hint.js +180 -0
  306. data/public/libs/codemirror/addon/hint/xml-hint.js +118 -0
  307. data/public/libs/codemirror/addon/lint/javascript-lint.js +127 -0
  308. data/public/libs/codemirror/addon/lint/json-lint.js +14 -0
  309. data/public/libs/codemirror/addon/lint/lint.css +96 -0
  310. data/public/libs/codemirror/addon/lint/lint.js +197 -0
  311. data/public/libs/codemirror/addon/mode/loadmode.js +51 -0
  312. data/public/libs/codemirror/addon/mode/multiplex.js +95 -0
  313. data/public/libs/codemirror/addon/mode/overlay.js +59 -0
  314. data/public/libs/codemirror/addon/runmode/colorize.js +29 -0
  315. data/public/libs/codemirror/addon/runmode/runmode-standalone.js +130 -0
  316. data/public/libs/codemirror/addon/runmode/runmode.js +52 -0
  317. data/public/libs/codemirror/addon/runmode/runmode.node.js +89 -0
  318. data/public/libs/codemirror/addon/search/match-highlighter.js +60 -0
  319. data/public/libs/codemirror/addon/search/search.js +131 -0
  320. data/public/libs/codemirror/addon/search/searchcursor.js +133 -0
  321. data/public/libs/codemirror/addon/selection/active-line.js +39 -0
  322. data/public/libs/codemirror/addon/selection/mark-selection.js +34 -0
  323. data/public/libs/codemirror/bin/compress +91 -0
  324. data/public/libs/codemirror/bin/lint +11 -0
  325. data/public/libs/codemirror/demo/activeline.html +70 -0
  326. data/public/libs/codemirror/demo/bidi.html +61 -0
  327. data/public/libs/codemirror/demo/btree.html +87 -0
  328. data/public/libs/codemirror/demo/buffers.html +98 -0
  329. data/public/libs/codemirror/demo/changemode.html +50 -0
  330. data/public/libs/codemirror/demo/closebrackets.html +63 -0
  331. data/public/libs/codemirror/demo/closetag.html +37 -0
  332. data/public/libs/codemirror/demo/complete.html +70 -0
  333. data/public/libs/codemirror/demo/emacs.html +60 -0
  334. data/public/libs/codemirror/demo/folding.html +69 -0
  335. data/public/libs/codemirror/demo/fullscreen.html +147 -0
  336. data/public/libs/codemirror/demo/html5complete.html +92 -0
  337. data/public/libs/codemirror/demo/indentwrap.html +49 -0
  338. data/public/libs/codemirror/demo/lint.html +90 -0
  339. data/public/libs/codemirror/demo/loadmode.html +40 -0
  340. data/public/libs/codemirror/demo/marker.html +59 -0
  341. data/public/libs/codemirror/demo/markselection.html +36 -0
  342. data/public/libs/codemirror/demo/matchhighlighter.html +38 -0
  343. data/public/libs/codemirror/demo/multiplex.html +60 -0
  344. data/public/libs/codemirror/demo/mustache.html +59 -0
  345. data/public/libs/codemirror/demo/placeholder.html +36 -0
  346. data/public/libs/codemirror/demo/preview.html +76 -0
  347. data/public/libs/codemirror/demo/resize.html +49 -0
  348. data/public/libs/codemirror/demo/runmode.html +50 -0
  349. data/public/libs/codemirror/demo/search.html +85 -0
  350. data/public/libs/codemirror/demo/spanaffectswrapping_shim.html +73 -0
  351. data/public/libs/codemirror/demo/theme.html +89 -0
  352. data/public/libs/codemirror/demo/variableheight.html +52 -0
  353. data/public/libs/codemirror/demo/vim.html +65 -0
  354. data/public/libs/codemirror/demo/visibletabs.html +53 -0
  355. data/public/libs/codemirror/demo/widget.html +74 -0
  356. data/public/libs/codemirror/demo/xmlcomplete.html +81 -0
  357. data/public/libs/codemirror/index.html +487 -0
  358. data/public/libs/codemirror/keymap/emacs.js +30 -0
  359. data/public/libs/codemirror/keymap/vim.js +3044 -0
  360. data/public/libs/codemirror/lib/codemirror.css +253 -0
  361. data/public/libs/codemirror/lib/codemirror.js +5585 -0
  362. data/public/libs/codemirror/mode/apl/apl.js +160 -0
  363. data/public/libs/codemirror/mode/apl/index.html +61 -0
  364. data/public/libs/codemirror/mode/asterisk/asterisk.js +183 -0
  365. data/public/libs/codemirror/mode/asterisk/index.html +142 -0
  366. data/public/libs/codemirror/mode/clike/clike.js +302 -0
  367. data/public/libs/codemirror/mode/clike/index.html +103 -0
  368. data/public/libs/codemirror/mode/clike/scala.html +767 -0
  369. data/public/libs/codemirror/mode/clojure/clojure.js +222 -0
  370. data/public/libs/codemirror/mode/clojure/index.html +76 -0
  371. data/public/libs/codemirror/mode/coffeescript/LICENSE +22 -0
  372. data/public/libs/codemirror/mode/coffeescript/coffeescript.js +346 -0
  373. data/public/libs/codemirror/mode/coffeescript/index.html +728 -0
  374. data/public/libs/codemirror/mode/commonlisp/commonlisp.js +101 -0
  375. data/public/libs/codemirror/mode/commonlisp/index.html +165 -0
  376. data/public/libs/codemirror/mode/css/css.js +567 -0
  377. data/public/libs/codemirror/mode/css/index.html +58 -0
  378. data/public/libs/codemirror/mode/css/scss.html +145 -0
  379. data/public/libs/codemirror/mode/css/scss_test.js +80 -0
  380. data/public/libs/codemirror/mode/css/test.js +113 -0
  381. data/public/libs/codemirror/mode/d/d.js +205 -0
  382. data/public/libs/codemirror/mode/d/index.html +262 -0
  383. data/public/libs/codemirror/mode/diff/diff.js +32 -0
  384. data/public/libs/codemirror/mode/diff/index.html +105 -0
  385. data/public/libs/codemirror/mode/ecl/ecl.js +192 -0
  386. data/public/libs/codemirror/mode/ecl/index.html +39 -0
  387. data/public/libs/codemirror/mode/erlang/erlang.js +463 -0
  388. data/public/libs/codemirror/mode/erlang/index.html +64 -0
  389. data/public/libs/codemirror/mode/gas/gas.js +326 -0
  390. data/public/libs/codemirror/mode/gas/index.html +57 -0
  391. data/public/libs/codemirror/mode/gfm/gfm.js +96 -0
  392. data/public/libs/codemirror/mode/gfm/index.html +74 -0
  393. data/public/libs/codemirror/mode/gfm/test.js +112 -0
  394. data/public/libs/codemirror/mode/go/go.js +165 -0
  395. data/public/libs/codemirror/mode/go/index.html +74 -0
  396. data/public/libs/codemirror/mode/groovy/groovy.js +210 -0
  397. data/public/libs/codemirror/mode/groovy/index.html +73 -0
  398. data/public/libs/codemirror/mode/haskell/haskell.js +242 -0
  399. data/public/libs/codemirror/mode/haskell/index.html +62 -0
  400. data/public/libs/codemirror/mode/haxe/haxe.js +429 -0
  401. data/public/libs/codemirror/mode/haxe/index.html +90 -0
  402. data/public/libs/codemirror/mode/htmlembedded/htmlembedded.js +73 -0
  403. data/public/libs/codemirror/mode/htmlembedded/index.html +49 -0
  404. data/public/libs/codemirror/mode/htmlmixed/htmlmixed.js +104 -0
  405. data/public/libs/codemirror/mode/htmlmixed/index.html +73 -0
  406. data/public/libs/codemirror/mode/http/http.js +98 -0
  407. data/public/libs/codemirror/mode/http/index.html +32 -0
  408. data/public/libs/codemirror/mode/javascript/index.html +92 -0
  409. data/public/libs/codemirror/mode/javascript/javascript.js +467 -0
  410. data/public/libs/codemirror/mode/javascript/typescript.html +48 -0
  411. data/public/libs/codemirror/mode/jinja2/index.html +38 -0
  412. data/public/libs/codemirror/mode/jinja2/jinja2.js +42 -0
  413. data/public/libs/codemirror/mode/less/index.html +741 -0
  414. data/public/libs/codemirror/mode/less/less.js +266 -0
  415. data/public/libs/codemirror/mode/livescript/LICENSE +23 -0
  416. data/public/libs/codemirror/mode/livescript/index.html +446 -0
  417. data/public/libs/codemirror/mode/livescript/livescript.js +267 -0
  418. data/public/libs/codemirror/mode/livescript/livescript.ls +266 -0
  419. data/public/libs/codemirror/mode/lua/index.html +74 -0
  420. data/public/libs/codemirror/mode/lua/lua.js +140 -0
  421. data/public/libs/codemirror/mode/markdown/index.html +344 -0
  422. data/public/libs/codemirror/mode/markdown/markdown.js +526 -0
  423. data/public/libs/codemirror/mode/markdown/test.js +636 -0
  424. data/public/libs/codemirror/mode/meta.js +75 -0
  425. data/public/libs/codemirror/mode/mirc/index.html +149 -0
  426. data/public/libs/codemirror/mode/mirc/mirc.js +177 -0
  427. data/public/libs/codemirror/mode/ntriples/index.html +33 -0
  428. data/public/libs/codemirror/mode/ntriples/ntriples.js +170 -0
  429. data/public/libs/codemirror/mode/ocaml/index.html +131 -0
  430. data/public/libs/codemirror/mode/ocaml/ocaml.js +113 -0
  431. data/public/libs/codemirror/mode/pascal/LICENSE +7 -0
  432. data/public/libs/codemirror/mode/pascal/index.html +48 -0
  433. data/public/libs/codemirror/mode/pascal/pascal.js +94 -0
  434. data/public/libs/codemirror/mode/perl/LICENSE +19 -0
  435. data/public/libs/codemirror/mode/perl/index.html +62 -0
  436. data/public/libs/codemirror/mode/perl/perl.js +816 -0
  437. data/public/libs/codemirror/mode/php/index.html +51 -0
  438. data/public/libs/codemirror/mode/php/php.js +129 -0
  439. data/public/libs/codemirror/mode/pig/index.html +42 -0
  440. data/public/libs/codemirror/mode/pig/pig.js +171 -0
  441. data/public/libs/codemirror/mode/properties/index.html +41 -0
  442. data/public/libs/codemirror/mode/properties/properties.js +63 -0
  443. data/public/libs/codemirror/mode/python/LICENSE.txt +21 -0
  444. data/public/libs/codemirror/mode/python/index.html +135 -0
  445. data/public/libs/codemirror/mode/python/python.js +340 -0
  446. data/public/libs/codemirror/mode/q/index.html +131 -0
  447. data/public/libs/codemirror/mode/q/q.js +124 -0
  448. data/public/libs/codemirror/mode/r/LICENSE +24 -0
  449. data/public/libs/codemirror/mode/r/index.html +74 -0
  450. data/public/libs/codemirror/mode/r/r.js +141 -0
  451. data/public/libs/codemirror/mode/rpm/changes/changes.js +19 -0
  452. data/public/libs/codemirror/mode/rpm/changes/index.html +53 -0
  453. data/public/libs/codemirror/mode/rpm/spec/index.html +99 -0
  454. data/public/libs/codemirror/mode/rpm/spec/spec.css +5 -0
  455. data/public/libs/codemirror/mode/rpm/spec/spec.js +66 -0
  456. data/public/libs/codemirror/mode/rst/LICENSE.txt +21 -0
  457. data/public/libs/codemirror/mode/rst/index.html +524 -0
  458. data/public/libs/codemirror/mode/rst/rst.js +550 -0
  459. data/public/libs/codemirror/mode/ruby/LICENSE +24 -0
  460. data/public/libs/codemirror/mode/ruby/index.html +173 -0
  461. data/public/libs/codemirror/mode/ruby/ruby.js +197 -0
  462. data/public/libs/codemirror/mode/rust/index.html +48 -0
  463. data/public/libs/codemirror/mode/rust/rust.js +432 -0
  464. data/public/libs/codemirror/mode/sass/index.html +54 -0
  465. data/public/libs/codemirror/mode/sass/sass.js +349 -0
  466. data/public/libs/codemirror/mode/scheme/index.html +65 -0
  467. data/public/libs/codemirror/mode/scheme/scheme.js +230 -0
  468. data/public/libs/codemirror/mode/shell/index.html +51 -0
  469. data/public/libs/codemirror/mode/shell/shell.js +118 -0
  470. data/public/libs/codemirror/mode/sieve/LICENSE +19 -0
  471. data/public/libs/codemirror/mode/sieve/index.html +81 -0
  472. data/public/libs/codemirror/mode/sieve/sieve.js +183 -0
  473. data/public/libs/codemirror/mode/smalltalk/index.html +57 -0
  474. data/public/libs/codemirror/mode/smalltalk/smalltalk.js +141 -0
  475. data/public/libs/codemirror/mode/smarty/index.html +83 -0
  476. data/public/libs/codemirror/mode/smarty/smarty.js +148 -0
  477. data/public/libs/codemirror/mode/sparql/index.html +42 -0
  478. data/public/libs/codemirror/mode/sparql/sparql.js +143 -0
  479. data/public/libs/codemirror/mode/sql/index.html +68 -0
  480. data/public/libs/codemirror/mode/sql/sql.js +268 -0
  481. data/public/libs/codemirror/mode/stex/index.html +98 -0
  482. data/public/libs/codemirror/mode/stex/stex.js +246 -0
  483. data/public/libs/codemirror/mode/stex/test.js +117 -0
  484. data/public/libs/codemirror/mode/tcl/index.html +129 -0
  485. data/public/libs/codemirror/mode/tcl/tcl.js +131 -0
  486. data/public/libs/codemirror/mode/tiddlywiki/index.html +142 -0
  487. data/public/libs/codemirror/mode/tiddlywiki/tiddlywiki.css +14 -0
  488. data/public/libs/codemirror/mode/tiddlywiki/tiddlywiki.js +353 -0
  489. data/public/libs/codemirror/mode/tiki/index.html +81 -0
  490. data/public/libs/codemirror/mode/tiki/tiki.css +26 -0
  491. data/public/libs/codemirror/mode/tiki/tiki.js +308 -0
  492. data/public/libs/codemirror/mode/turtle/index.html +39 -0
  493. data/public/libs/codemirror/mode/turtle/turtle.js +145 -0
  494. data/public/libs/codemirror/mode/vb/LICENSE.txt +21 -0
  495. data/public/libs/codemirror/mode/vb/index.html +88 -0
  496. data/public/libs/codemirror/mode/vb/vb.js +259 -0
  497. data/public/libs/codemirror/mode/vbscript/index.html +42 -0
  498. data/public/libs/codemirror/mode/vbscript/vbscript.js +26 -0
  499. data/public/libs/codemirror/mode/velocity/index.html +103 -0
  500. data/public/libs/codemirror/mode/velocity/velocity.js +144 -0
  501. data/public/libs/codemirror/mode/verilog/index.html +121 -0
  502. data/public/libs/codemirror/mode/verilog/verilog.js +182 -0
  503. data/public/libs/codemirror/mode/xml/index.html +45 -0
  504. data/public/libs/codemirror/mode/xml/xml.js +328 -0
  505. data/public/libs/codemirror/mode/xquery/LICENSE +20 -0
  506. data/public/libs/codemirror/mode/xquery/index.html +221 -0
  507. data/public/libs/codemirror/mode/xquery/test.js +64 -0
  508. data/public/libs/codemirror/mode/xquery/xquery.js +450 -0
  509. data/public/libs/codemirror/mode/yaml/index.html +68 -0
  510. data/public/libs/codemirror/mode/yaml/yaml.js +95 -0
  511. data/public/libs/codemirror/mode/z80/index.html +39 -0
  512. data/public/libs/codemirror/mode/z80/z80.js +85 -0
  513. data/public/libs/codemirror/package.json +21 -0
  514. data/public/libs/codemirror/test/doc_test.js +329 -0
  515. data/public/libs/codemirror/test/driver.js +138 -0
  516. data/public/libs/codemirror/test/index.html +182 -0
  517. data/public/libs/codemirror/test/lint/acorn.js +1593 -0
  518. data/public/libs/codemirror/test/lint/lint.js +112 -0
  519. data/public/libs/codemirror/test/lint/parse-js.js +1372 -0
  520. data/public/libs/codemirror/test/lint/walk.js +216 -0
  521. data/public/libs/codemirror/test/mode_test.css +10 -0
  522. data/public/libs/codemirror/test/mode_test.js +192 -0
  523. data/public/libs/codemirror/test/phantom_driver.js +31 -0
  524. data/public/libs/codemirror/test/run.js +33 -0
  525. data/public/libs/codemirror/test/test.js +1400 -0
  526. data/public/libs/codemirror/test/vim_test.js +1688 -0
  527. data/public/libs/codemirror/theme/ambiance-mobile.css +5 -0
  528. data/public/libs/codemirror/theme/ambiance.css +75 -0
  529. data/public/libs/codemirror/theme/blackboard.css +25 -0
  530. data/public/libs/codemirror/theme/cobalt.css +18 -0
  531. data/public/libs/codemirror/theme/eclipse.css +25 -0
  532. data/public/libs/codemirror/theme/elegant.css +10 -0
  533. data/public/libs/codemirror/theme/erlang-dark.css +21 -0
  534. data/public/libs/codemirror/theme/lesser-dark.css +44 -0
  535. data/public/libs/codemirror/theme/midnight.css +52 -0
  536. data/public/libs/codemirror/theme/monokai.css +28 -0
  537. data/public/libs/codemirror/theme/neat.css +9 -0
  538. data/public/libs/codemirror/theme/night.css +21 -0
  539. data/public/libs/codemirror/theme/rubyblue.css +21 -0
  540. data/public/libs/codemirror/theme/solarized.css +207 -0
  541. data/public/libs/codemirror/theme/twilight.css +26 -0
  542. data/public/libs/codemirror/theme/vibrant-ink.css +27 -0
  543. data/public/libs/codemirror/theme/xq-dark.css +46 -0
  544. data/public/libs/codemirror/theme/xq-light.css +43 -0
  545. data/public/libs/font-awesome/css/font-awesome-ie7.css +983 -0
  546. data/public/libs/font-awesome/css/font-awesome-ie7.min.css +24 -0
  547. data/public/libs/font-awesome/css/font-awesome.css +1268 -0
  548. data/public/libs/font-awesome/css/font-awesome.min.css +24 -0
  549. data/public/libs/font-awesome/font/FontAwesome.otf +0 -0
  550. data/public/libs/font-awesome/font/fontawesome-webfont.eot +0 -0
  551. data/public/libs/font-awesome/font/fontawesome-webfont.svg +339 -0
  552. data/public/libs/font-awesome/font/fontawesome-webfont.ttf +0 -0
  553. data/public/libs/font-awesome/font/fontawesome-webfont.woff +0 -0
  554. data/public/libs/font-awesome/less/bootstrap.less +78 -0
  555. data/public/libs/font-awesome/less/core.less +132 -0
  556. data/public/libs/font-awesome/less/extras.less +79 -0
  557. data/public/libs/font-awesome/less/font-awesome-ie7.less +413 -0
  558. data/public/libs/font-awesome/less/font-awesome.less +32 -0
  559. data/public/libs/font-awesome/less/icons.less +330 -0
  560. data/public/libs/font-awesome/less/mixins.less +34 -0
  561. data/public/libs/font-awesome/less/path.less +15 -0
  562. data/public/libs/font-awesome/less/variables.less +9 -0
  563. data/public/libs/jquery-1.10.0.min.js +6 -0
  564. data/public/libs/jquery-ui.min.js +12 -0
  565. data/public/libs/jquery.jsPlumb-1.4.0-all.js +9571 -0
  566. data/public/libs/jquery.livequery.js +226 -0
  567. data/public/libs/jsPlumbInitializer.js +72 -0
  568. data/public/libs/jstree/README.txt +10 -0
  569. data/public/libs/jstree/_demo/_dump.sql +20 -0
  570. data/public/libs/jstree/_demo/_inc/__mysql_errors.log +0 -0
  571. data/public/libs/jstree/_demo/_inc/class._database.php +146 -0
  572. data/public/libs/jstree/_demo/_inc/class._database_i.php +152 -0
  573. data/public/libs/jstree/_demo/_inc/class.tree.php +602 -0
  574. data/public/libs/jstree/_demo/_install.txt +6 -0
  575. data/public/libs/jstree/_demo/config.php +14 -0
  576. data/public/libs/jstree/_demo/file.png +0 -0
  577. data/public/libs/jstree/_demo/folder.png +0 -0
  578. data/public/libs/jstree/_demo/index.html +461 -0
  579. data/public/libs/jstree/_demo/root.png +0 -0
  580. data/public/libs/jstree/_demo/server.php +69 -0
  581. data/public/libs/jstree/_docs/!style.css +48 -0
  582. data/public/libs/jstree/_docs/_drive.png +0 -0
  583. data/public/libs/jstree/_docs/_html_data.html +2 -0
  584. data/public/libs/jstree/_docs/_json_data.json +4 -0
  585. data/public/libs/jstree/_docs/_search_data.json +6 -0
  586. data/public/libs/jstree/_docs/_search_result.json +1 -0
  587. data/public/libs/jstree/_docs/_xml_flat.xml +12 -0
  588. data/public/libs/jstree/_docs/_xml_nest.xml +18 -0
  589. data/public/libs/jstree/_docs/checkbox.html +171 -0
  590. data/public/libs/jstree/_docs/contextmenu.html +121 -0
  591. data/public/libs/jstree/_docs/cookies.html +97 -0
  592. data/public/libs/jstree/_docs/core.html +689 -0
  593. data/public/libs/jstree/_docs/crrm.html +316 -0
  594. data/public/libs/jstree/_docs/dnd.html +199 -0
  595. data/public/libs/jstree/_docs/hotkeys.html +82 -0
  596. data/public/libs/jstree/_docs/html_data.html +175 -0
  597. data/public/libs/jstree/_docs/index.html +86 -0
  598. data/public/libs/jstree/_docs/json_data.html +249 -0
  599. data/public/libs/jstree/_docs/languages.html +152 -0
  600. data/public/libs/jstree/_docs/logo.png +0 -0
  601. data/public/libs/jstree/_docs/search.html +153 -0
  602. data/public/libs/jstree/_docs/sort.html +85 -0
  603. data/public/libs/jstree/_docs/syntax/!script.js +2232 -0
  604. data/public/libs/jstree/_docs/syntax/!style.css +511 -0
  605. data/public/libs/jstree/_docs/syntax/clipboard.swf +0 -0
  606. data/public/libs/jstree/_docs/syntax/help.png +0 -0
  607. data/public/libs/jstree/_docs/syntax/magnifier.png +0 -0
  608. data/public/libs/jstree/_docs/syntax/page_white_code.png +0 -0
  609. data/public/libs/jstree/_docs/syntax/page_white_copy.png +0 -0
  610. data/public/libs/jstree/_docs/syntax/printer.png +0 -0
  611. data/public/libs/jstree/_docs/syntax/wrapping.png +0 -0
  612. data/public/libs/jstree/_docs/themeroller.html +107 -0
  613. data/public/libs/jstree/_docs/themes.html +127 -0
  614. data/public/libs/jstree/_docs/types.html +178 -0
  615. data/public/libs/jstree/_docs/ui.html +197 -0
  616. data/public/libs/jstree/_docs/unique.html +85 -0
  617. data/public/libs/jstree/_docs/xml_data.html +218 -0
  618. data/public/libs/jstree/_lib/jquery.cookie.js +96 -0
  619. data/public/libs/jstree/_lib/jquery.hotkeys.js +99 -0
  620. data/public/libs/jstree/_lib/jquery.js +5 -0
  621. data/public/libs/jstree/jquery.jstree.js +4564 -0
  622. data/public/libs/jstree/themes/apple/bg.jpg +0 -0
  623. data/public/libs/jstree/themes/apple/d.png +0 -0
  624. data/public/libs/jstree/themes/apple/dot_for_ie.gif +0 -0
  625. data/public/libs/jstree/themes/apple/style.css +61 -0
  626. data/public/libs/jstree/themes/apple/throbber.gif +0 -0
  627. data/public/libs/jstree/themes/classic/d.gif +0 -0
  628. data/public/libs/jstree/themes/classic/d.png +0 -0
  629. data/public/libs/jstree/themes/classic/dot_for_ie.gif +0 -0
  630. data/public/libs/jstree/themes/classic/style.css +77 -0
  631. data/public/libs/jstree/themes/classic/throbber.gif +0 -0
  632. data/public/libs/jstree/themes/default-rtl/d.gif +0 -0
  633. data/public/libs/jstree/themes/default-rtl/d.png +0 -0
  634. data/public/libs/jstree/themes/default-rtl/dots.gif +0 -0
  635. data/public/libs/jstree/themes/default-rtl/style.css +84 -0
  636. data/public/libs/jstree/themes/default-rtl/throbber.gif +0 -0
  637. data/public/libs/jstree/themes/default/d.gif +0 -0
  638. data/public/libs/jstree/themes/default/d.png +0 -0
  639. data/public/libs/jstree/themes/default/style.css +74 -0
  640. data/public/libs/jstree/themes/default/throbber.gif +0 -0
  641. data/public/themes/geo-bootstrap/README.md +25 -0
  642. data/public/themes/geo-bootstrap/img/flames.gif +0 -0
  643. data/public/themes/geo-bootstrap/img/glyphicons-halflings-white.png +0 -0
  644. data/public/themes/geo-bootstrap/img/glyphicons-halflings.png +0 -0
  645. data/public/themes/geo-bootstrap/img/microfab.gif +0 -0
  646. data/public/themes/geo-bootstrap/img/progress.gif +0 -0
  647. data/public/themes/geo-bootstrap/img/rainbow.gif +0 -0
  648. data/public/themes/geo-bootstrap/img/stars.gif +0 -0
  649. data/public/themes/geo-bootstrap/img/test/7upspot.gif +0 -0
  650. data/public/themes/geo-bootstrap/img/test/americanflag.gif +0 -0
  651. data/public/themes/geo-bootstrap/img/test/community.gif +0 -0
  652. data/public/themes/geo-bootstrap/img/test/computer-01.gif +0 -0
  653. data/public/themes/geo-bootstrap/img/test/computer.gif +0 -0
  654. data/public/themes/geo-bootstrap/img/test/construction.gif +0 -0
  655. data/public/themes/geo-bootstrap/img/test/counter.gif +0 -0
  656. data/public/themes/geo-bootstrap/img/test/counter2.gif +0 -0
  657. data/public/themes/geo-bootstrap/img/test/divider.gif +0 -0
  658. data/public/themes/geo-bootstrap/img/test/divider1.gif +0 -0
  659. data/public/themes/geo-bootstrap/img/test/divider2.gif +0 -0
  660. data/public/themes/geo-bootstrap/img/test/divider3.gif +0 -0
  661. data/public/themes/geo-bootstrap/img/test/divider4.gif +0 -0
  662. data/public/themes/geo-bootstrap/img/test/drudgesiren.gif +0 -0
  663. data/public/themes/geo-bootstrap/img/test/emailme.gif +0 -0
  664. data/public/themes/geo-bootstrap/img/test/funky.gif +0 -0
  665. data/public/themes/geo-bootstrap/img/test/geocities.jpg +0 -0
  666. data/public/themes/geo-bootstrap/img/test/hacker.gif +0 -0
  667. data/public/themes/geo-bootstrap/img/test/heart.gif +0 -0
  668. data/public/themes/geo-bootstrap/img/test/hot.gif +0 -0
  669. data/public/themes/geo-bootstrap/img/test/ie_logo.gif +0 -0
  670. data/public/themes/geo-bootstrap/img/test/mailkitten.gif +0 -0
  671. data/public/themes/geo-bootstrap/img/test/mchammer.gif +0 -0
  672. data/public/themes/geo-bootstrap/img/test/new.gif +0 -0
  673. data/public/themes/geo-bootstrap/img/test/new2.gif +0 -0
  674. data/public/themes/geo-bootstrap/img/test/noframes.gif +0 -0
  675. data/public/themes/geo-bootstrap/img/test/notepad.gif +0 -0
  676. data/public/themes/geo-bootstrap/img/test/ns_logo.gif +0 -0
  677. data/public/themes/geo-bootstrap/img/test/sign-in.gif +0 -0
  678. data/public/themes/geo-bootstrap/img/test/spinningearth.gif +0 -0
  679. data/public/themes/geo-bootstrap/img/test/underconstruction.gif +0 -0
  680. data/public/themes/geo-bootstrap/img/test/wabwalk.gif +0 -0
  681. data/public/themes/geo-bootstrap/img/test/webtrips.gif +0 -0
  682. data/public/themes/geo-bootstrap/img/test/yahooweek.gif +0 -0
  683. data/public/themes/geo-bootstrap/package.json +21 -0
  684. data/public/themes/geo-bootstrap/swatch/bootstrap-responsive.css +1109 -0
  685. data/public/themes/geo-bootstrap/swatch/bootstrap-responsive.min.css +9 -0
  686. data/public/themes/geo-bootstrap/swatch/bootstrap.css +6462 -0
  687. data/public/themes/geo-bootstrap/swatch/bootstrap.min.css +9 -0
  688. metadata +791 -0
@@ -0,0 +1,53 @@
1
+ smalltalk.addPackage('Examples', {});
2
+ smalltalk.addClass('Counter', smalltalk.Widget, ['count', 'header'], 'Examples');
3
+ smalltalk.addMethod(
4
+ unescape('_decrease'),
5
+ smalltalk.method({
6
+ selector: unescape('decrease'),
7
+ fn: function (){
8
+ var self=this;
9
+ (self['@count']=((($receiver = self['@count']).klass === smalltalk.Number) ? $receiver -(1) : smalltalk.send($receiver, "__minus", [(1)])));
10
+ smalltalk.send(self['@header'], "_contents_", [(function(html){return smalltalk.send(html, "_with_", [smalltalk.send(self['@count'], "_asString", [])]);})]);
11
+ return self;}
12
+ }),
13
+ smalltalk.Counter);
14
+
15
+ smalltalk.addMethod(
16
+ unescape('_increase'),
17
+ smalltalk.method({
18
+ selector: unescape('increase'),
19
+ fn: function (){
20
+ var self=this;
21
+ (self['@count']=((($receiver = self['@count']).klass === smalltalk.Number) ? $receiver +(1) : smalltalk.send($receiver, "__plus", [(1)])));
22
+ smalltalk.send(self['@header'], "_contents_", [(function(html){return smalltalk.send(html, "_with_", [smalltalk.send(self['@count'], "_asString", [])]);})]);
23
+ return self;}
24
+ }),
25
+ smalltalk.Counter);
26
+
27
+ smalltalk.addMethod(
28
+ unescape('_initialize'),
29
+ smalltalk.method({
30
+ selector: unescape('initialize'),
31
+ fn: function (){
32
+ var self=this;
33
+ smalltalk.send(self, "_initialize", [], smalltalk.Widget);
34
+ (self['@count']=(0));
35
+ return self;}
36
+ }),
37
+ smalltalk.Counter);
38
+
39
+ smalltalk.addMethod(
40
+ unescape('_renderOn_'),
41
+ smalltalk.method({
42
+ selector: unescape('renderOn%3A'),
43
+ fn: function (html){
44
+ var self=this;
45
+ (self['@header']=(function($rec){smalltalk.send($rec, "_with_", [smalltalk.send(self['@count'], "_asString", [])]);return smalltalk.send($rec, "_yourself", []);})(smalltalk.send(html, "_h1", [])));
46
+ (function($rec){smalltalk.send($rec, "_with_", [unescape("++")]);return smalltalk.send($rec, "_onClick_", [(function(){return smalltalk.send(self, "_increase", []);})]);})(smalltalk.send(html, "_button", []));
47
+ (function($rec){smalltalk.send($rec, "_with_", [unescape("--")]);return smalltalk.send($rec, "_onClick_", [(function(){return smalltalk.send(self, "_decrease", []);})]);})(smalltalk.send(html, "_button", []));
48
+ return self;}
49
+ }),
50
+ smalltalk.Counter);
51
+
52
+
53
+
@@ -0,0 +1,73 @@
1
+ smalltalk.addPackage('Examples', {});
2
+ smalltalk.addClass('Counter', smalltalk.Widget, ['count', 'header'], 'Examples');
3
+ smalltalk.addMethod(
4
+ unescape('_decrease'),
5
+ smalltalk.method({
6
+ selector: unescape('decrease'),
7
+ category: 'actions',
8
+ fn: function (){
9
+ var self=this;
10
+ (self['@count']=((($receiver = self['@count']).klass === smalltalk.Number) ? $receiver -(1) : smalltalk.send($receiver, "__minus", [(1)])));
11
+ smalltalk.send(self['@header'], "_contents_", [(function(html){return smalltalk.send(html, "_with_", [smalltalk.send(self['@count'], "_asString", [])]);})]);
12
+ return self;},
13
+ args: [],
14
+ source: unescape('decrease%0A%20%20%20%20count%20%3A%3D%20count%20-%201.%0A%20%20%20%20header%20contents%3A%20%5B%3Ahtml%20%7C%20html%20with%3A%20count%20asString%5D'),
15
+ messageSends: [unescape("-"), "contents:", "with:", "asString"],
16
+ referencedClasses: []
17
+ }),
18
+ smalltalk.Counter);
19
+
20
+ smalltalk.addMethod(
21
+ unescape('_increase'),
22
+ smalltalk.method({
23
+ selector: unescape('increase'),
24
+ category: 'actions',
25
+ fn: function (){
26
+ var self=this;
27
+ (self['@count']=((($receiver = self['@count']).klass === smalltalk.Number) ? $receiver +(1) : smalltalk.send($receiver, "__plus", [(1)])));
28
+ smalltalk.send(self['@header'], "_contents_", [(function(html){return smalltalk.send(html, "_with_", [smalltalk.send(self['@count'], "_asString", [])]);})]);
29
+ return self;},
30
+ args: [],
31
+ source: unescape('increase%0A%20%20%20%20count%20%3A%3D%20count%20+%201.%0A%20%20%20%20header%20contents%3A%20%5B%3Ahtml%20%7C%20html%20with%3A%20count%20asString%5D'),
32
+ messageSends: [unescape("+"), "contents:", "with:", "asString"],
33
+ referencedClasses: []
34
+ }),
35
+ smalltalk.Counter);
36
+
37
+ smalltalk.addMethod(
38
+ unescape('_initialize'),
39
+ smalltalk.method({
40
+ selector: unescape('initialize'),
41
+ category: 'initialization',
42
+ fn: function (){
43
+ var self=this;
44
+ smalltalk.send(self, "_initialize", [], smalltalk.Widget);
45
+ (self['@count']=(0));
46
+ return self;},
47
+ args: [],
48
+ source: unescape('initialize%0A%20%20%20%20super%20initialize.%0A%20%20%20%20count%20%3A%3D%200'),
49
+ messageSends: ["initialize"],
50
+ referencedClasses: []
51
+ }),
52
+ smalltalk.Counter);
53
+
54
+ smalltalk.addMethod(
55
+ unescape('_renderOn_'),
56
+ smalltalk.method({
57
+ selector: unescape('renderOn%3A'),
58
+ category: 'rendering',
59
+ fn: function (html){
60
+ var self=this;
61
+ (self['@header']=(function($rec){smalltalk.send($rec, "_with_", [smalltalk.send(self['@count'], "_asString", [])]);return smalltalk.send($rec, "_yourself", []);})(smalltalk.send(html, "_h1", [])));
62
+ (function($rec){smalltalk.send($rec, "_with_", [unescape("++")]);return smalltalk.send($rec, "_onClick_", [(function(){return smalltalk.send(self, "_increase", []);})]);})(smalltalk.send(html, "_button", []));
63
+ (function($rec){smalltalk.send($rec, "_with_", [unescape("--")]);return smalltalk.send($rec, "_onClick_", [(function(){return smalltalk.send(self, "_decrease", []);})]);})(smalltalk.send(html, "_button", []));
64
+ return self;},
65
+ args: ["html"],
66
+ source: unescape('renderOn%3A%20html%0A%20%20%20%20header%20%3A%3D%20html%20h1%20%0A%09with%3A%20count%20asString%3B%0A%09yourself.%0A%20%20%20%20html%20button%0A%09with%3A%20%27++%27%3B%0A%09onClick%3A%20%5Bself%20increase%5D.%0A%20%20%20%20html%20button%0A%09with%3A%20%27--%27%3B%0A%09onClick%3A%20%5Bself%20decrease%5D'),
67
+ messageSends: ["with:", "asString", "yourself", "h1", "onClick:", "increase", "button", "decrease"],
68
+ referencedClasses: []
69
+ }),
70
+ smalltalk.Counter);
71
+
72
+
73
+
@@ -0,0 +1,3557 @@
1
+ smalltalk.addPackage('IDE', {});
2
+ smalltalk.addClass('ClassesList', smalltalk.Widget, ['browser', 'ul', 'nodes'], 'IDE');
3
+ smalltalk.addMethod(
4
+ unescape('_browser'),
5
+ smalltalk.method({
6
+ selector: unescape('browser'),
7
+ fn: function (){
8
+ var self=this;
9
+ return self['@browser'];
10
+ return self;}
11
+ }),
12
+ smalltalk.ClassesList);
13
+
14
+ smalltalk.addMethod(
15
+ unescape('_browser_'),
16
+ smalltalk.method({
17
+ selector: unescape('browser%3A'),
18
+ fn: function (aBrowser){
19
+ var self=this;
20
+ (self['@browser']=aBrowser);
21
+ return self;}
22
+ }),
23
+ smalltalk.ClassesList);
24
+
25
+ smalltalk.addMethod(
26
+ unescape('_category'),
27
+ smalltalk.method({
28
+ selector: unescape('category'),
29
+ fn: function (){
30
+ var self=this;
31
+ return smalltalk.send(smalltalk.send(self, "_browser", []), "_selectedPackage", []);
32
+ return self;}
33
+ }),
34
+ smalltalk.ClassesList);
35
+
36
+ smalltalk.addMethod(
37
+ unescape('_getNodes'),
38
+ smalltalk.method({
39
+ selector: unescape('getNodes'),
40
+ fn: function (){
41
+ var self=this;
42
+ var classes=nil;
43
+ var children=nil;
44
+ var others=nil;
45
+ (classes=smalltalk.send(smalltalk.send(self, "_browser", []), "_classes", []));
46
+ (children=[]);
47
+ (others=[]);
48
+ smalltalk.send(classes, "_do_", [(function(each){return ((($receiver = smalltalk.send(classes, "_includes_", [smalltalk.send(each, "_superclass", [])])).klass === smalltalk.Boolean) ? (! $receiver ? (function(){return smalltalk.send(children, "_add_", [each]);})() : (function(){return smalltalk.send(others, "_add_", [each]);})()) : smalltalk.send($receiver, "_ifFalse_ifTrue_", [(function(){return smalltalk.send(children, "_add_", [each]);}), (function(){return smalltalk.send(others, "_add_", [each]);})]));})]);
49
+ return smalltalk.send(children, "_collect_", [(function(each){return smalltalk.send((smalltalk.ClassesListNode || ClassesListNode), "_on_browser_classes_level_", [each, smalltalk.send(self, "_browser", []), others, (0)]);})]);
50
+ return self;}
51
+ }),
52
+ smalltalk.ClassesList);
53
+
54
+ smalltalk.addMethod(
55
+ unescape('_nodes'),
56
+ smalltalk.method({
57
+ selector: unescape('nodes'),
58
+ fn: function (){
59
+ var self=this;
60
+ (($receiver = self['@nodes']) == nil || $receiver == undefined) ? (function(){return (self['@nodes']=smalltalk.send(self, "_getNodes", []));})() : $receiver;
61
+ return self['@nodes'];
62
+ return self;}
63
+ }),
64
+ smalltalk.ClassesList);
65
+
66
+ smalltalk.addMethod(
67
+ unescape('_renderOn_'),
68
+ smalltalk.method({
69
+ selector: unescape('renderOn%3A'),
70
+ fn: function (html){
71
+ var self=this;
72
+ (self['@ul']=(function($rec){smalltalk.send($rec, "_class_", ["jt_column browser classes"]);return smalltalk.send($rec, "_yourself", []);})(smalltalk.send(html, "_ul", [])));
73
+ smalltalk.send(self, "_updateNodes", []);
74
+ return self;}
75
+ }),
76
+ smalltalk.ClassesList);
77
+
78
+ smalltalk.addMethod(
79
+ unescape('_resetNodes'),
80
+ smalltalk.method({
81
+ selector: unescape('resetNodes'),
82
+ fn: function (){
83
+ var self=this;
84
+ (self['@nodes']=nil);
85
+ return self;}
86
+ }),
87
+ smalltalk.ClassesList);
88
+
89
+ smalltalk.addMethod(
90
+ unescape('_updateNodes'),
91
+ smalltalk.method({
92
+ selector: unescape('updateNodes'),
93
+ fn: function (){
94
+ var self=this;
95
+ smalltalk.send(self['@ul'], "_contents_", [(function(html){return smalltalk.send(smalltalk.send(self, "_nodes", []), "_do_", [(function(each){return smalltalk.send(each, "_renderOn_", [html]);})]);})]);
96
+ return self;}
97
+ }),
98
+ smalltalk.ClassesList);
99
+
100
+
101
+ smalltalk.addMethod(
102
+ unescape('_on_'),
103
+ smalltalk.method({
104
+ selector: unescape('on%3A'),
105
+ fn: function (aBrowser){
106
+ var self=this;
107
+ return (function($rec){smalltalk.send($rec, "_browser_", [aBrowser]);return smalltalk.send($rec, "_yourself", []);})(smalltalk.send(self, "_new", []));
108
+ return self;}
109
+ }),
110
+ smalltalk.ClassesList.klass);
111
+
112
+
113
+ smalltalk.addClass('ClassesListNode', smalltalk.Widget, ['browser', 'theClass', 'level', 'nodes'], 'IDE');
114
+ smalltalk.addMethod(
115
+ unescape('_browser'),
116
+ smalltalk.method({
117
+ selector: unescape('browser'),
118
+ fn: function (){
119
+ var self=this;
120
+ return self['@browser'];
121
+ return self;}
122
+ }),
123
+ smalltalk.ClassesListNode);
124
+
125
+ smalltalk.addMethod(
126
+ unescape('_browser_'),
127
+ smalltalk.method({
128
+ selector: unescape('browser%3A'),
129
+ fn: function (aBrowser){
130
+ var self=this;
131
+ (self['@browser']=aBrowser);
132
+ return self;}
133
+ }),
134
+ smalltalk.ClassesListNode);
135
+
136
+ smalltalk.addMethod(
137
+ unescape('_getNodesFrom_'),
138
+ smalltalk.method({
139
+ selector: unescape('getNodesFrom%3A'),
140
+ fn: function (aCollection){
141
+ var self=this;
142
+ var children=nil;
143
+ var others=nil;
144
+ (children=[]);
145
+ (others=[]);
146
+ smalltalk.send(aCollection, "_do_", [(function(each){return ((($receiver = smalltalk.send(smalltalk.send(each, "_superclass", []), "__eq", [smalltalk.send(self, "_theClass", [])])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return smalltalk.send(children, "_add_", [each]);})() : (function(){return smalltalk.send(others, "_add_", [each]);})()) : smalltalk.send($receiver, "_ifTrue_ifFalse_", [(function(){return smalltalk.send(children, "_add_", [each]);}), (function(){return smalltalk.send(others, "_add_", [each]);})]));})]);
147
+ (self['@nodes']=smalltalk.send(children, "_collect_", [(function(each){return smalltalk.send((smalltalk.ClassesListNode || ClassesListNode), "_on_browser_classes_level_", [each, smalltalk.send(self, "_browser", []), others, ((($receiver = smalltalk.send(self, "_level", [])).klass === smalltalk.Number) ? $receiver +(1) : smalltalk.send($receiver, "__plus", [(1)]))]);})]));
148
+ return self;}
149
+ }),
150
+ smalltalk.ClassesListNode);
151
+
152
+ smalltalk.addMethod(
153
+ unescape('_label'),
154
+ smalltalk.method({
155
+ selector: unescape('label'),
156
+ fn: function (){
157
+ var self=this;
158
+ var str=nil;
159
+ (str=smalltalk.send(smalltalk.send((smalltalk.String || String), "_new", []), "_writeStream", []));
160
+ smalltalk.send(smalltalk.send(self, "_level", []), "_timesRepeat_", [(function(){return smalltalk.send(str, "_nextPutAll_", [unescape("%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B")]);})]);
161
+ smalltalk.send(str, "_nextPutAll_", [smalltalk.send(smalltalk.send(self, "_theClass", []), "_name", [])]);
162
+ return smalltalk.send(str, "_contents", []);
163
+ return self;}
164
+ }),
165
+ smalltalk.ClassesListNode);
166
+
167
+ smalltalk.addMethod(
168
+ unescape('_level'),
169
+ smalltalk.method({
170
+ selector: unescape('level'),
171
+ fn: function (){
172
+ var self=this;
173
+ return self['@level'];
174
+ return self;}
175
+ }),
176
+ smalltalk.ClassesListNode);
177
+
178
+ smalltalk.addMethod(
179
+ unescape('_level_'),
180
+ smalltalk.method({
181
+ selector: unescape('level%3A'),
182
+ fn: function (anInteger){
183
+ var self=this;
184
+ (self['@level']=anInteger);
185
+ return self;}
186
+ }),
187
+ smalltalk.ClassesListNode);
188
+
189
+ smalltalk.addMethod(
190
+ unescape('_nodes'),
191
+ smalltalk.method({
192
+ selector: unescape('nodes'),
193
+ fn: function (){
194
+ var self=this;
195
+ return self['@nodes'];
196
+ return self;}
197
+ }),
198
+ smalltalk.ClassesListNode);
199
+
200
+ smalltalk.addMethod(
201
+ unescape('_renderOn_'),
202
+ smalltalk.method({
203
+ selector: unescape('renderOn%3A'),
204
+ fn: function (html){
205
+ var self=this;
206
+ var li=nil;
207
+ var cssClass=nil;
208
+ (cssClass="");
209
+ (li=smalltalk.send(smalltalk.send(html, "_li", []), "_onClick_", [(function(){return smalltalk.send(smalltalk.send(self, "_browser", []), "_selectClass_", [smalltalk.send(self, "_theClass", [])]);})]));
210
+ smalltalk.send(smalltalk.send(li, "_asJQuery", []), "_html_", [smalltalk.send(self, "_label", [])]);
211
+ ((($receiver = smalltalk.send(smalltalk.send(smalltalk.send(self, "_browser", []), "_selectedClass", []), "__eq", [smalltalk.send(self, "_theClass", [])])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return (cssClass=smalltalk.send(cssClass, "__comma", [" selected"]));})() : nil) : smalltalk.send($receiver, "_ifTrue_", [(function(){return (cssClass=smalltalk.send(cssClass, "__comma", [" selected"]));})]));
212
+ ((($receiver = smalltalk.send(smalltalk.send(smalltalk.send(self, "_theClass", []), "_comment", []), "_isEmpty", [])).klass === smalltalk.Boolean) ? (! $receiver ? (function(){return (cssClass=smalltalk.send(cssClass, "__comma", [" commented"]));})() : nil) : smalltalk.send($receiver, "_ifFalse_", [(function(){return (cssClass=smalltalk.send(cssClass, "__comma", [" commented"]));})]));
213
+ smalltalk.send(li, "_class_", [cssClass]);
214
+ smalltalk.send(smalltalk.send(self, "_nodes", []), "_do_", [(function(each){return smalltalk.send(each, "_renderOn_", [html]);})]);
215
+ return self;}
216
+ }),
217
+ smalltalk.ClassesListNode);
218
+
219
+ smalltalk.addMethod(
220
+ unescape('_theClass'),
221
+ smalltalk.method({
222
+ selector: unescape('theClass'),
223
+ fn: function (){
224
+ var self=this;
225
+ return self['@theClass'];
226
+ return self;}
227
+ }),
228
+ smalltalk.ClassesListNode);
229
+
230
+ smalltalk.addMethod(
231
+ unescape('_theClass_'),
232
+ smalltalk.method({
233
+ selector: unescape('theClass%3A'),
234
+ fn: function (aClass){
235
+ var self=this;
236
+ (self['@theClass']=aClass);
237
+ return self;}
238
+ }),
239
+ smalltalk.ClassesListNode);
240
+
241
+
242
+ smalltalk.addMethod(
243
+ unescape('_on_browser_classes_level_'),
244
+ smalltalk.method({
245
+ selector: unescape('on%3Abrowser%3Aclasses%3Alevel%3A'),
246
+ fn: function (aClass, aBrowser, aCollection, anInteger){
247
+ var self=this;
248
+ return (function($rec){smalltalk.send($rec, "_theClass_", [aClass]);smalltalk.send($rec, "_browser_", [aBrowser]);smalltalk.send($rec, "_level_", [anInteger]);smalltalk.send($rec, "_getNodesFrom_", [aCollection]);return smalltalk.send($rec, "_yourself", []);})(smalltalk.send(self, "_new", []));
249
+ return self;}
250
+ }),
251
+ smalltalk.ClassesListNode.klass);
252
+
253
+
254
+ smalltalk.addClass('DebugErrorHandler', smalltalk.ErrorHandler, [], 'IDE');
255
+ smalltalk.addMethod(
256
+ unescape('_handleError_'),
257
+ smalltalk.method({
258
+ selector: unescape('handleError%3A'),
259
+ fn: function (anError){
260
+ var self=this;
261
+ smalltalk.send((function(){return (function($rec){smalltalk.send($rec, "_error_", [anError]);return smalltalk.send($rec, "_open", []);})(smalltalk.send((smalltalk.Debugger || Debugger), "_new", []));}), "_on_do_", [(smalltalk.Error || Error), (function(error){return smalltalk.send(smalltalk.send((smalltalk.ErrorHandler || ErrorHandler), "_new", []), "_handleError_", [error]);})]);
262
+ return self;}
263
+ }),
264
+ smalltalk.DebugErrorHandler);
265
+
266
+
267
+ smalltalk.addMethod(
268
+ unescape('_initialize'),
269
+ smalltalk.method({
270
+ selector: unescape('initialize'),
271
+ fn: function (){
272
+ var self=this;
273
+ smalltalk.send(self, "_register", []);
274
+ return self;}
275
+ }),
276
+ smalltalk.DebugErrorHandler.klass);
277
+
278
+
279
+ smalltalk.addClass('SourceArea', smalltalk.Widget, ['editor', 'div', 'receiver', 'onDoIt'], 'IDE');
280
+ smalltalk.addMethod(
281
+ unescape('_clear'),
282
+ smalltalk.method({
283
+ selector: unescape('clear'),
284
+ fn: function (){
285
+ var self=this;
286
+ smalltalk.send(self, "_val_", [""]);
287
+ return self;}
288
+ }),
289
+ smalltalk.SourceArea);
290
+
291
+ smalltalk.addMethod(
292
+ unescape('_currentLine'),
293
+ smalltalk.method({
294
+ selector: unescape('currentLine'),
295
+ fn: function (){
296
+ var self=this;
297
+ return smalltalk.send(self['@editor'], "_getLine_", [smalltalk.send(smalltalk.send(self['@editor'], "_getCursor", []), "_line", [])]);
298
+ return self;}
299
+ }),
300
+ smalltalk.SourceArea);
301
+
302
+ smalltalk.addMethod(
303
+ unescape('_currentLineOrSelection'),
304
+ smalltalk.method({
305
+ selector: unescape('currentLineOrSelection'),
306
+ fn: function (){
307
+ var self=this;
308
+ return ((($receiver = smalltalk.send(self['@editor'], "_somethingSelected", [])).klass === smalltalk.Boolean) ? (! $receiver ? (function(){return smalltalk.send(self, "_currentLine", []);})() : (function(){return smalltalk.send(self, "_selection", []);})()) : smalltalk.send($receiver, "_ifFalse_ifTrue_", [(function(){return smalltalk.send(self, "_currentLine", []);}), (function(){return smalltalk.send(self, "_selection", []);})]));
309
+ return self;}
310
+ }),
311
+ smalltalk.SourceArea);
312
+
313
+ smalltalk.addMethod(
314
+ unescape('_doIt'),
315
+ smalltalk.method({
316
+ selector: unescape('doIt'),
317
+ fn: function (){
318
+ var self=this;
319
+ var result=nil;
320
+ (result=smalltalk.send(self, "_eval_", [smalltalk.send(self, "_currentLineOrSelection", [])]));
321
+ (($receiver = smalltalk.send(self, "_onDoIt", [])) != nil && $receiver != undefined) ? (function(){return smalltalk.send(smalltalk.send(self, "_onDoIt", []), "_value", []);})() : nil;
322
+ return result;
323
+ return self;}
324
+ }),
325
+ smalltalk.SourceArea);
326
+
327
+ smalltalk.addMethod(
328
+ unescape('_editor'),
329
+ smalltalk.method({
330
+ selector: unescape('editor'),
331
+ fn: function (){
332
+ var self=this;
333
+ return self['@editor'];
334
+ return self;}
335
+ }),
336
+ smalltalk.SourceArea);
337
+
338
+ smalltalk.addMethod(
339
+ unescape('_eval_'),
340
+ smalltalk.method({
341
+ selector: unescape('eval%3A'),
342
+ fn: function (aString){
343
+ var self=this;
344
+ try{var compiler=nil;
345
+ (compiler=smalltalk.send((smalltalk.Compiler || Compiler), "_new", []));
346
+ smalltalk.send((function(){return smalltalk.send(compiler, "_parseExpression_", [aString]);}), "_on_do_", [(smalltalk.Error || Error), (function(ex){return (function(){throw({name: 'stReturn', selector: '_eval_', fn: function(){return smalltalk.send((typeof window == 'undefined' ? nil : window), "_alert_", [smalltalk.send(ex, "_messageText", [])])}})})();})]);
347
+ (function(){throw({name: 'stReturn', selector: '_eval_', fn: function(){return smalltalk.send(smalltalk.send(smalltalk.send(compiler, "_load_forClass_", [smalltalk.send(smalltalk.send(unescape("doIt%20%5E%5B"), "__comma", [aString]), "__comma", [unescape("%5D%20value")]), (smalltalk.DoIt || DoIt)]), "_fn", []), "_applyTo_arguments_", [smalltalk.send(self, "_receiver", []), []])}})})();
348
+ return self;
349
+ } catch(e) {if(e.name === 'stReturn' && e.selector === '_eval_'){return e.fn()} throw(e)}}
350
+ }),
351
+ smalltalk.SourceArea);
352
+
353
+ smalltalk.addMethod(
354
+ unescape('_fileIn'),
355
+ smalltalk.method({
356
+ selector: unescape('fileIn'),
357
+ fn: function (){
358
+ var self=this;
359
+ smalltalk.send(smalltalk.send((smalltalk.Importer || Importer), "_new", []), "_import_", [smalltalk.send(smalltalk.send(self, "_currentLineOrSelection", []), "_readStream", [])]);
360
+ return self;}
361
+ }),
362
+ smalltalk.SourceArea);
363
+
364
+ smalltalk.addMethod(
365
+ unescape('_handleKeyDown_'),
366
+ smalltalk.method({
367
+ selector: unescape('handleKeyDown%3A'),
368
+ fn: function (anEvent){
369
+ var self=this;
370
+ if(anEvent.ctrlKey) {
371
+ if(anEvent.keyCode === 80) { //ctrl+p
372
+ self._printIt();
373
+ anEvent.preventDefault();
374
+ return false;
375
+ }
376
+ if(anEvent.keyCode === 68) { //ctrl+d
377
+ self._doIt();
378
+ anEvent.preventDefault();
379
+ return false;
380
+ }
381
+ if(anEvent.keyCode === 73) { //ctrl+i
382
+ self._inspectIt();
383
+ anEvent.preventDefault();
384
+ return false;
385
+ }
386
+ };
387
+ return self;}
388
+ }),
389
+ smalltalk.SourceArea);
390
+
391
+ smalltalk.addMethod(
392
+ unescape('_inspectIt'),
393
+ smalltalk.method({
394
+ selector: unescape('inspectIt'),
395
+ fn: function (){
396
+ var self=this;
397
+ smalltalk.send(smalltalk.send(self, "_doIt", []), "_inspect", []);
398
+ return self;}
399
+ }),
400
+ smalltalk.SourceArea);
401
+
402
+ smalltalk.addMethod(
403
+ unescape('_onDoIt'),
404
+ smalltalk.method({
405
+ selector: unescape('onDoIt'),
406
+ fn: function (){
407
+ var self=this;
408
+ return self['@onDoIt'];
409
+ return self;}
410
+ }),
411
+ smalltalk.SourceArea);
412
+
413
+ smalltalk.addMethod(
414
+ unescape('_onDoIt_'),
415
+ smalltalk.method({
416
+ selector: unescape('onDoIt%3A'),
417
+ fn: function (aBlock){
418
+ var self=this;
419
+ (self['@onDoIt']=aBlock);
420
+ return self;}
421
+ }),
422
+ smalltalk.SourceArea);
423
+
424
+ smalltalk.addMethod(
425
+ unescape('_onKeyDown_'),
426
+ smalltalk.method({
427
+ selector: unescape('onKeyDown%3A'),
428
+ fn: function (aBlock){
429
+ var self=this;
430
+ smalltalk.send(self['@div'], "_onKeyDown_", [aBlock]);
431
+ return self;}
432
+ }),
433
+ smalltalk.SourceArea);
434
+
435
+ smalltalk.addMethod(
436
+ unescape('_onKeyUp_'),
437
+ smalltalk.method({
438
+ selector: unescape('onKeyUp%3A'),
439
+ fn: function (aBlock){
440
+ var self=this;
441
+ smalltalk.send(self['@div'], "_onKeyUp_", [aBlock]);
442
+ return self;}
443
+ }),
444
+ smalltalk.SourceArea);
445
+
446
+ smalltalk.addMethod(
447
+ unescape('_print_'),
448
+ smalltalk.method({
449
+ selector: unescape('print%3A'),
450
+ fn: function (aString){
451
+ var self=this;
452
+ var start=nil;
453
+ var stop=nil;
454
+ (start=smalltalk.send((smalltalk.HashedCollection || HashedCollection), "_new", []));
455
+ (stop=smalltalk.send((smalltalk.HashedCollection || HashedCollection), "_new", []));
456
+ smalltalk.send(start, "_at_put_", ["line", smalltalk.send(smalltalk.send(self['@editor'], "_getCursor_", [false]), "_line", [])]);
457
+ smalltalk.send(start, "_at_put_", ["ch", smalltalk.send(smalltalk.send(self['@editor'], "_getCursor_", [false]), "_ch", [])]);
458
+ smalltalk.send(stop, "_at_put_", ["line", smalltalk.send(start, "_at_", ["line"])]);
459
+ smalltalk.send(stop, "_at_put_", ["ch", ((($receiver = ((($receiver = smalltalk.send(start, "_at_", ["ch"])).klass === smalltalk.Number) ? $receiver +smalltalk.send(aString, "_size", []) : smalltalk.send($receiver, "__plus", [smalltalk.send(aString, "_size", [])]))).klass === smalltalk.Number) ? $receiver +(2) : smalltalk.send($receiver, "__plus", [(2)]))]);
460
+ smalltalk.send(self['@editor'], "_replaceSelection_", [smalltalk.send(smalltalk.send(smalltalk.send(smalltalk.send(self['@editor'], "_getSelection", []), "__comma", [" "]), "__comma", [aString]), "__comma", [" "])]);
461
+ smalltalk.send(self['@editor'], "_setCursor_", [smalltalk.send(self['@editor'], "_getCursor_", [true])]);
462
+ smalltalk.send(self['@editor'], "_setSelection_end_", [stop, start]);
463
+ return self;}
464
+ }),
465
+ smalltalk.SourceArea);
466
+
467
+ smalltalk.addMethod(
468
+ unescape('_printIt'),
469
+ smalltalk.method({
470
+ selector: unescape('printIt'),
471
+ fn: function (){
472
+ var self=this;
473
+ smalltalk.send(self, "_print_", [smalltalk.send(smalltalk.send(self, "_doIt", []), "_printString", [])]);
474
+ return self;}
475
+ }),
476
+ smalltalk.SourceArea);
477
+
478
+ smalltalk.addMethod(
479
+ unescape('_receiver'),
480
+ smalltalk.method({
481
+ selector: unescape('receiver'),
482
+ fn: function (){
483
+ var self=this;
484
+ return (($receiver = self['@receiver']) == nil || $receiver == undefined) ? (function(){return smalltalk.send((smalltalk.DoIt || DoIt), "_new", []);})() : $receiver;
485
+ return self;}
486
+ }),
487
+ smalltalk.SourceArea);
488
+
489
+ smalltalk.addMethod(
490
+ unescape('_receiver_'),
491
+ smalltalk.method({
492
+ selector: unescape('receiver%3A'),
493
+ fn: function (anObject){
494
+ var self=this;
495
+ (self['@receiver']=anObject);
496
+ return self;}
497
+ }),
498
+ smalltalk.SourceArea);
499
+
500
+ smalltalk.addMethod(
501
+ unescape('_renderOn_'),
502
+ smalltalk.method({
503
+ selector: unescape('renderOn%3A'),
504
+ fn: function (html){
505
+ var self=this;
506
+ var textarea=nil;
507
+ (self['@div']=smalltalk.send(smalltalk.send(html, "_div", []), "_class_", ["source"]));
508
+ smalltalk.send(self['@div'], "_with_", [(function(){return (textarea=smalltalk.send(html, "_textarea", []));})]);
509
+ smalltalk.send(self, "_setEditorOn_", [smalltalk.send(textarea, "_element", [])]);
510
+ smalltalk.send(self['@div'], "_onKeyDown_", [(function(e){return smalltalk.send(self, "_handleKeyDown_", [e]);})]);
511
+ return self;}
512
+ }),
513
+ smalltalk.SourceArea);
514
+
515
+ smalltalk.addMethod(
516
+ unescape('_selection'),
517
+ smalltalk.method({
518
+ selector: unescape('selection'),
519
+ fn: function (){
520
+ var self=this;
521
+ return smalltalk.send(self['@editor'], "_getSelection", []);
522
+ return self;}
523
+ }),
524
+ smalltalk.SourceArea);
525
+
526
+ smalltalk.addMethod(
527
+ unescape('_selectionEnd'),
528
+ smalltalk.method({
529
+ selector: unescape('selectionEnd'),
530
+ fn: function (){
531
+ var self=this;
532
+ return smalltalk.send(smalltalk.send((typeof textarea == 'undefined' ? nil : textarea), "_element", []), "_selectionEnd", []);
533
+ return self;}
534
+ }),
535
+ smalltalk.SourceArea);
536
+
537
+ smalltalk.addMethod(
538
+ unescape('_selectionEnd_'),
539
+ smalltalk.method({
540
+ selector: unescape('selectionEnd%3A'),
541
+ fn: function (anInteger){
542
+ var self=this;
543
+ smalltalk.send(smalltalk.send((typeof textarea == 'undefined' ? nil : textarea), "_element", []), "_selectionEnd_", [anInteger]);
544
+ return self;}
545
+ }),
546
+ smalltalk.SourceArea);
547
+
548
+ smalltalk.addMethod(
549
+ unescape('_selectionStart'),
550
+ smalltalk.method({
551
+ selector: unescape('selectionStart'),
552
+ fn: function (){
553
+ var self=this;
554
+ return smalltalk.send(smalltalk.send((typeof textarea == 'undefined' ? nil : textarea), "_element", []), "_selectionStart", []);
555
+ return self;}
556
+ }),
557
+ smalltalk.SourceArea);
558
+
559
+ smalltalk.addMethod(
560
+ unescape('_selectionStart_'),
561
+ smalltalk.method({
562
+ selector: unescape('selectionStart%3A'),
563
+ fn: function (anInteger){
564
+ var self=this;
565
+ smalltalk.send(smalltalk.send((typeof textarea == 'undefined' ? nil : textarea), "_element", []), "_selectionStart_", [anInteger]);
566
+ return self;}
567
+ }),
568
+ smalltalk.SourceArea);
569
+
570
+ smalltalk.addMethod(
571
+ unescape('_setEditorOn_'),
572
+ smalltalk.method({
573
+ selector: unescape('setEditorOn%3A'),
574
+ fn: function (aTextarea){
575
+ var self=this;
576
+ self['@editor'] = CodeMirror.fromTextArea(aTextarea, {
577
+ theme: 'jtalk',
578
+ lineNumbers: true,
579
+ enterMode: 'flat',
580
+ matchBrackets: true,
581
+ electricChars: false
582
+ });
583
+ return self;}
584
+ }),
585
+ smalltalk.SourceArea);
586
+
587
+ smalltalk.addMethod(
588
+ unescape('_val'),
589
+ smalltalk.method({
590
+ selector: unescape('val'),
591
+ fn: function (){
592
+ var self=this;
593
+ return smalltalk.send(self['@editor'], "_getValue", []);
594
+ return self;}
595
+ }),
596
+ smalltalk.SourceArea);
597
+
598
+ smalltalk.addMethod(
599
+ unescape('_val_'),
600
+ smalltalk.method({
601
+ selector: unescape('val%3A'),
602
+ fn: function (aString){
603
+ var self=this;
604
+ smalltalk.send(self['@editor'], "_setValue_", [aString]);
605
+ return self;}
606
+ }),
607
+ smalltalk.SourceArea);
608
+
609
+
610
+
611
+ smalltalk.addClass('TabManager', smalltalk.Widget, ['selectedTab', 'tabs', 'opened', 'ul', 'input'], 'IDE');
612
+ smalltalk.addMethod(
613
+ unescape('_addTab_'),
614
+ smalltalk.method({
615
+ selector: unescape('addTab%3A'),
616
+ fn: function (aWidget){
617
+ var self=this;
618
+ smalltalk.send(smalltalk.send(self, "_tabs", []), "_add_", [aWidget]);
619
+ smalltalk.send(aWidget, "_appendToJQuery_", [smalltalk.send(unescape("%23jtalk"), "_asJQuery", [])]);
620
+ smalltalk.send(aWidget, "_hide", []);
621
+ return self;}
622
+ }),
623
+ smalltalk.TabManager);
624
+
625
+ smalltalk.addMethod(
626
+ unescape('_close'),
627
+ smalltalk.method({
628
+ selector: unescape('close'),
629
+ fn: function (){
630
+ var self=this;
631
+ ((($receiver = self['@opened']).klass === smalltalk.Boolean) ? ($receiver ? (function(){smalltalk.send(smalltalk.send(unescape("%23jtalk"), "_asJQuery", []), "_hide", []);smalltalk.send(smalltalk.send(self['@ul'], "_asJQuery", []), "_hide", []);smalltalk.send(self['@selectedTab'], "_hide", []);smalltalk.send(self, "_removeBodyMargin", []);smalltalk.send(smalltalk.send("body", "_asJQuery", []), "_removeClass_", ["jtalkBody"]);return (self['@opened']=false);})() : nil) : smalltalk.send($receiver, "_ifTrue_", [(function(){smalltalk.send(smalltalk.send(unescape("%23jtalk"), "_asJQuery", []), "_hide", []);smalltalk.send(smalltalk.send(self['@ul'], "_asJQuery", []), "_hide", []);smalltalk.send(self['@selectedTab'], "_hide", []);smalltalk.send(self, "_removeBodyMargin", []);smalltalk.send(smalltalk.send("body", "_asJQuery", []), "_removeClass_", ["jtalkBody"]);return (self['@opened']=false);})]));
632
+ return self;}
633
+ }),
634
+ smalltalk.TabManager);
635
+
636
+ smalltalk.addMethod(
637
+ unescape('_closeTab_'),
638
+ smalltalk.method({
639
+ selector: unescape('closeTab%3A'),
640
+ fn: function (aWidget){
641
+ var self=this;
642
+ smalltalk.send(self, "_removeTab_", [aWidget]);
643
+ smalltalk.send(self, "_selectTab_", [smalltalk.send(smalltalk.send(self, "_tabs", []), "_last", [])]);
644
+ smalltalk.send(aWidget, "_remove", []);
645
+ smalltalk.send(self, "_update", []);
646
+ return self;}
647
+ }),
648
+ smalltalk.TabManager);
649
+
650
+ smalltalk.addMethod(
651
+ unescape('_initialize'),
652
+ smalltalk.method({
653
+ selector: unescape('initialize'),
654
+ fn: function (){
655
+ var self=this;
656
+ smalltalk.send(self, "_initialize", [], smalltalk.Widget);
657
+ (self['@opened']=true);
658
+ smalltalk.send((function(html){return smalltalk.send(smalltalk.send(html, "_div", []), "_id_", ["jtalk"]);}), "_appendToJQuery_", [smalltalk.send("body", "_asJQuery", [])]);
659
+ smalltalk.send(smalltalk.send("body", "_asJQuery", []), "_addClass_", ["jtalkBody"]);
660
+ smalltalk.send(self, "_appendToJQuery_", [smalltalk.send(unescape("%23jtalk"), "_asJQuery", [])]);
661
+ (function($rec){smalltalk.send($rec, "_addTab_", [smalltalk.send((smalltalk.IDETranscript || IDETranscript), "_current", [])]);smalltalk.send($rec, "_addTab_", [smalltalk.send((smalltalk.Workspace || Workspace), "_new", [])]);return smalltalk.send($rec, "_addTab_", [smalltalk.send((smalltalk.TestRunner || TestRunner), "_new", [])]);})(self);
662
+ smalltalk.send(self, "_selectTab_", [smalltalk.send(smalltalk.send(self, "_tabs", []), "_last", [])]);
663
+ (function($rec){smalltalk.send($rec, "_onResize_", [(function(){return (function($rec){smalltalk.send($rec, "_updateBodyMargin", []);return smalltalk.send($rec, "_updatePosition", []);})(self);})]);return smalltalk.send($rec, "_onWindowResize_", [(function(){return smalltalk.send(self, "_updatePosition", []);})]);})(self);
664
+ return self;}
665
+ }),
666
+ smalltalk.TabManager);
667
+
668
+ smalltalk.addMethod(
669
+ unescape('_labelFor_'),
670
+ smalltalk.method({
671
+ selector: unescape('labelFor%3A'),
672
+ fn: function (aWidget){
673
+ var self=this;
674
+ var label=nil;
675
+ var maxSize=nil;
676
+ (maxSize=(15));
677
+ (label=smalltalk.send(smalltalk.send(aWidget, "_label", []), "_copyFrom_to_", [(0), smalltalk.send(smalltalk.send(smalltalk.send(aWidget, "_label", []), "_size", []), "_min_", [maxSize])]));
678
+ ((($receiver = ((($receiver = smalltalk.send(smalltalk.send(aWidget, "_label", []), "_size", [])).klass === smalltalk.Number) ? $receiver >maxSize : smalltalk.send($receiver, "__gt", [maxSize]))).klass === smalltalk.Boolean) ? ($receiver ? (function(){return (label=smalltalk.send(label, "__comma", ["..."]));})() : nil) : smalltalk.send($receiver, "_ifTrue_", [(function(){return (label=smalltalk.send(label, "__comma", ["..."]));})]));
679
+ return label;
680
+ return self;}
681
+ }),
682
+ smalltalk.TabManager);
683
+
684
+ smalltalk.addMethod(
685
+ unescape('_newBrowserTab'),
686
+ smalltalk.method({
687
+ selector: unescape('newBrowserTab'),
688
+ fn: function (){
689
+ var self=this;
690
+ smalltalk.send((smalltalk.Browser || Browser), "_open", []);
691
+ return self;}
692
+ }),
693
+ smalltalk.TabManager);
694
+
695
+ smalltalk.addMethod(
696
+ unescape('_onResize_'),
697
+ smalltalk.method({
698
+ selector: unescape('onResize%3A'),
699
+ fn: function (aBlock){
700
+ var self=this;
701
+ jQuery('#jtalk').resizable({
702
+ handles: 'n',
703
+ resize: aBlock,
704
+ minHeight: 230
705
+ });
706
+ return self;}
707
+ }),
708
+ smalltalk.TabManager);
709
+
710
+ smalltalk.addMethod(
711
+ unescape('_onWindowResize_'),
712
+ smalltalk.method({
713
+ selector: unescape('onWindowResize%3A'),
714
+ fn: function (aBlock){
715
+ var self=this;
716
+ jQuery(window).resize(aBlock);
717
+ return self;}
718
+ }),
719
+ smalltalk.TabManager);
720
+
721
+ smalltalk.addMethod(
722
+ unescape('_open'),
723
+ smalltalk.method({
724
+ selector: unescape('open'),
725
+ fn: function (){
726
+ var self=this;
727
+ ((($receiver = self['@opened']).klass === smalltalk.Boolean) ? (! $receiver ? (function(){smalltalk.send(smalltalk.send("body", "_asJQuery", []), "_addClass_", ["jtalkBody"]);smalltalk.send(smalltalk.send(unescape("%23jtalk"), "_asJQuery", []), "_show", []);smalltalk.send(smalltalk.send(self['@ul'], "_asJQuery", []), "_show", []);smalltalk.send(self, "_updateBodyMargin", []);smalltalk.send(self['@selectedTab'], "_show", []);return (self['@opened']=true);})() : nil) : smalltalk.send($receiver, "_ifFalse_", [(function(){smalltalk.send(smalltalk.send("body", "_asJQuery", []), "_addClass_", ["jtalkBody"]);smalltalk.send(smalltalk.send(unescape("%23jtalk"), "_asJQuery", []), "_show", []);smalltalk.send(smalltalk.send(self['@ul'], "_asJQuery", []), "_show", []);smalltalk.send(self, "_updateBodyMargin", []);smalltalk.send(self['@selectedTab'], "_show", []);return (self['@opened']=true);})]));
728
+ return self;}
729
+ }),
730
+ smalltalk.TabManager);
731
+
732
+ smalltalk.addMethod(
733
+ unescape('_removeBodyMargin'),
734
+ smalltalk.method({
735
+ selector: unescape('removeBodyMargin'),
736
+ fn: function (){
737
+ var self=this;
738
+ smalltalk.send(self, "_setBodyMargin_", [(0)]);
739
+ return self;}
740
+ }),
741
+ smalltalk.TabManager);
742
+
743
+ smalltalk.addMethod(
744
+ unescape('_removeTab_'),
745
+ smalltalk.method({
746
+ selector: unescape('removeTab%3A'),
747
+ fn: function (aWidget){
748
+ var self=this;
749
+ smalltalk.send(smalltalk.send(self, "_tabs", []), "_remove_", [aWidget]);
750
+ smalltalk.send(self, "_update", []);
751
+ return self;}
752
+ }),
753
+ smalltalk.TabManager);
754
+
755
+ smalltalk.addMethod(
756
+ unescape('_renderOn_'),
757
+ smalltalk.method({
758
+ selector: unescape('renderOn%3A'),
759
+ fn: function (html){
760
+ var self=this;
761
+ smalltalk.send(smalltalk.send(html, "_div", []), "_id_", ["logo"]);
762
+ smalltalk.send(self, "_renderToolbarOn_", [html]);
763
+ (self['@ul']=(function($rec){smalltalk.send($rec, "_id_", ["jtalkTabs"]);return smalltalk.send($rec, "_yourself", []);})(smalltalk.send(html, "_ul", [])));
764
+ smalltalk.send(self, "_renderTabs", []);
765
+ return self;}
766
+ }),
767
+ smalltalk.TabManager);
768
+
769
+ smalltalk.addMethod(
770
+ unescape('_renderTabFor_on_'),
771
+ smalltalk.method({
772
+ selector: unescape('renderTabFor%3Aon%3A'),
773
+ fn: function (aWidget, html){
774
+ var self=this;
775
+ var li=nil;
776
+ (li=smalltalk.send(html, "_li", []));
777
+ ((($receiver = smalltalk.send(self['@selectedTab'], "__eq", [aWidget])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return smalltalk.send(li, "_class_", ["selected"]);})() : nil) : smalltalk.send($receiver, "_ifTrue_", [(function(){return smalltalk.send(li, "_class_", ["selected"]);})]));
778
+ (function($rec){smalltalk.send($rec, "_with_", [(function(){smalltalk.send(smalltalk.send(html, "_span", []), "_class_", ["ltab"]);(function($rec){smalltalk.send($rec, "_class_", ["mtab"]);return smalltalk.send($rec, "_with_", [(function(){((($receiver = smalltalk.send(aWidget, "_canBeClosed", [])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return (function($rec){smalltalk.send($rec, "_class_", ["close"]);smalltalk.send($rec, "_with_", ["x"]);return smalltalk.send($rec, "_onClick_", [(function(){return smalltalk.send(self, "_closeTab_", [aWidget]);})]);})(smalltalk.send(html, "_span", []));})() : nil) : smalltalk.send($receiver, "_ifTrue_", [(function(){return (function($rec){smalltalk.send($rec, "_class_", ["close"]);smalltalk.send($rec, "_with_", ["x"]);return smalltalk.send($rec, "_onClick_", [(function(){return smalltalk.send(self, "_closeTab_", [aWidget]);})]);})(smalltalk.send(html, "_span", []));})]));return smalltalk.send(smalltalk.send(html, "_span", []), "_with_", [smalltalk.send(self, "_labelFor_", [aWidget])]);})]);})(smalltalk.send(html, "_span", []));return smalltalk.send(smalltalk.send(html, "_span", []), "_class_", ["rtab"]);})]);return smalltalk.send($rec, "_onClick_", [(function(){return smalltalk.send(self, "_selectTab_", [aWidget]);})]);})(li);
779
+ return self;}
780
+ }),
781
+ smalltalk.TabManager);
782
+
783
+ smalltalk.addMethod(
784
+ unescape('_renderTabs'),
785
+ smalltalk.method({
786
+ selector: unescape('renderTabs'),
787
+ fn: function (){
788
+ var self=this;
789
+ smalltalk.send(self['@ul'], "_contents_", [(function(html){smalltalk.send(smalltalk.send(self, "_tabs", []), "_do_", [(function(each){return smalltalk.send(self, "_renderTabFor_on_", [each, html]);})]);return (function($rec){smalltalk.send($rec, "_class_", ["newtab"]);smalltalk.send($rec, "_with_", [(function(){smalltalk.send(smalltalk.send(html, "_span", []), "_class_", ["ltab"]);(function($rec){smalltalk.send($rec, "_class_", ["mtab"]);return smalltalk.send($rec, "_with_", [unescape("%20+%20")]);})(smalltalk.send(html, "_span", []));return smalltalk.send(smalltalk.send(html, "_span", []), "_class_", ["rtab"]);})]);return smalltalk.send($rec, "_onClick_", [(function(){return smalltalk.send(self, "_newBrowserTab", []);})]);})(smalltalk.send(html, "_li", []));})]);
790
+ return self;}
791
+ }),
792
+ smalltalk.TabManager);
793
+
794
+ smalltalk.addMethod(
795
+ unescape('_renderToolbarOn_'),
796
+ smalltalk.method({
797
+ selector: unescape('renderToolbarOn%3A'),
798
+ fn: function (html){
799
+ var self=this;
800
+ (function($rec){smalltalk.send($rec, "_id_", ["jt_toolbar"]);return smalltalk.send($rec, "_with_", [(function(){(self['@input']=(function($rec){smalltalk.send($rec, "_class_", ["implementors"]);return smalltalk.send($rec, "_yourself", []);})(smalltalk.send(html, "_input", [])));smalltalk.send(self['@input'], "_onKeyPress_", [(function(event){return ((($receiver = smalltalk.send(smalltalk.send(event, "_keyCode", []), "__eq", [(13)])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return smalltalk.send(self, "_search_", [smalltalk.send(smalltalk.send(self['@input'], "_asJQuery", []), "_val", [])]);})() : nil) : smalltalk.send($receiver, "_ifTrue_", [(function(){return smalltalk.send(self, "_search_", [smalltalk.send(smalltalk.send(self['@input'], "_asJQuery", []), "_val", [])]);})]));})]);return (function($rec){smalltalk.send($rec, "_id_", ["jt_close"]);return smalltalk.send($rec, "_onClick_", [(function(){return smalltalk.send(self, "_close", []);})]);})(smalltalk.send(html, "_div", []));})]);})(smalltalk.send(html, "_div", []));
801
+ return self;}
802
+ }),
803
+ smalltalk.TabManager);
804
+
805
+ smalltalk.addMethod(
806
+ unescape('_search_'),
807
+ smalltalk.method({
808
+ selector: unescape('search%3A'),
809
+ fn: function (aString){
810
+ var self=this;
811
+ var searchedClass=nil;
812
+ (searchedClass=smalltalk.send(smalltalk.send((smalltalk.Smalltalk || Smalltalk), "_current", []), "_at_", [aString]));
813
+ ((($receiver = smalltalk.send(searchedClass, "_isClass", [])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return smalltalk.send((smalltalk.Browser || Browser), "_openOn_", [searchedClass]);})() : (function(){return smalltalk.send((smalltalk.ReferencesBrowser || ReferencesBrowser), "_search_", [aString]);})()) : smalltalk.send($receiver, "_ifTrue_ifFalse_", [(function(){return smalltalk.send((smalltalk.Browser || Browser), "_openOn_", [searchedClass]);}), (function(){return smalltalk.send((smalltalk.ReferencesBrowser || ReferencesBrowser), "_search_", [aString]);})]));
814
+ return self;}
815
+ }),
816
+ smalltalk.TabManager);
817
+
818
+ smalltalk.addMethod(
819
+ unescape('_selectTab_'),
820
+ smalltalk.method({
821
+ selector: unescape('selectTab%3A'),
822
+ fn: function (aWidget){
823
+ var self=this;
824
+ smalltalk.send(self, "_open", []);
825
+ (self['@selectedTab']=aWidget);
826
+ smalltalk.send(smalltalk.send(self, "_tabs", []), "_do_", [(function(each){return smalltalk.send(each, "_hide", []);})]);
827
+ smalltalk.send(aWidget, "_show", []);
828
+ smalltalk.send(self, "_update", []);
829
+ return self;}
830
+ }),
831
+ smalltalk.TabManager);
832
+
833
+ smalltalk.addMethod(
834
+ unescape('_setBodyMargin_'),
835
+ smalltalk.method({
836
+ selector: unescape('setBodyMargin%3A'),
837
+ fn: function (anInteger){
838
+ var self=this;
839
+ smalltalk.send(smalltalk.send(".jtalkBody", "_asJQuery", []), "_css_put_", [unescape("margin-bottom"), smalltalk.send(smalltalk.send(anInteger, "_asString", []), "__comma", ["px"])]);
840
+ return self;}
841
+ }),
842
+ smalltalk.TabManager);
843
+
844
+ smalltalk.addMethod(
845
+ unescape('_tabs'),
846
+ smalltalk.method({
847
+ selector: unescape('tabs'),
848
+ fn: function (){
849
+ var self=this;
850
+ return (($receiver = self['@tabs']) == nil || $receiver == undefined) ? (function(){return (self['@tabs']=smalltalk.send((smalltalk.Array || Array), "_new", []));})() : $receiver;
851
+ return self;}
852
+ }),
853
+ smalltalk.TabManager);
854
+
855
+ smalltalk.addMethod(
856
+ unescape('_update'),
857
+ smalltalk.method({
858
+ selector: unescape('update'),
859
+ fn: function (){
860
+ var self=this;
861
+ smalltalk.send(self, "_renderTabs", []);
862
+ return self;}
863
+ }),
864
+ smalltalk.TabManager);
865
+
866
+ smalltalk.addMethod(
867
+ unescape('_updateBodyMargin'),
868
+ smalltalk.method({
869
+ selector: unescape('updateBodyMargin'),
870
+ fn: function (){
871
+ var self=this;
872
+ smalltalk.send(self, "_setBodyMargin_", [smalltalk.send(smalltalk.send(unescape("%23jtalk"), "_asJQuery", []), "_height", [])]);
873
+ return self;}
874
+ }),
875
+ smalltalk.TabManager);
876
+
877
+ smalltalk.addMethod(
878
+ unescape('_updatePosition'),
879
+ smalltalk.method({
880
+ selector: unescape('updatePosition'),
881
+ fn: function (){
882
+ var self=this;
883
+ jQuery('#jtalk').css('top', '').css('bottom', '0px');
884
+ return self;}
885
+ }),
886
+ smalltalk.TabManager);
887
+
888
+
889
+ smalltalk.TabManager.klass.iVarNames = ['current'];
890
+ smalltalk.addMethod(
891
+ unescape('_current'),
892
+ smalltalk.method({
893
+ selector: unescape('current'),
894
+ fn: function (){
895
+ var self=this;
896
+ return (($receiver = self['@current']) == nil || $receiver == undefined) ? (function(){return (self['@current']=smalltalk.send(self, "_new", [], smalltalk.Widget.klass));})() : $receiver;
897
+ return self;}
898
+ }),
899
+ smalltalk.TabManager.klass);
900
+
901
+ smalltalk.addMethod(
902
+ unescape('_new'),
903
+ smalltalk.method({
904
+ selector: unescape('new'),
905
+ fn: function (){
906
+ var self=this;
907
+ smalltalk.send(self, "_shouldNotImplement", []);
908
+ return self;}
909
+ }),
910
+ smalltalk.TabManager.klass);
911
+
912
+
913
+ smalltalk.addClass('TabWidget', smalltalk.Widget, ['div'], 'IDE');
914
+ smalltalk.addMethod(
915
+ unescape('_canBeClosed'),
916
+ smalltalk.method({
917
+ selector: unescape('canBeClosed'),
918
+ fn: function (){
919
+ var self=this;
920
+ return false;
921
+ return self;}
922
+ }),
923
+ smalltalk.TabWidget);
924
+
925
+ smalltalk.addMethod(
926
+ unescape('_close'),
927
+ smalltalk.method({
928
+ selector: unescape('close'),
929
+ fn: function (){
930
+ var self=this;
931
+ smalltalk.send(smalltalk.send((smalltalk.TabManager || TabManager), "_current", []), "_closeTab_", [self]);
932
+ return self;}
933
+ }),
934
+ smalltalk.TabWidget);
935
+
936
+ smalltalk.addMethod(
937
+ unescape('_hide'),
938
+ smalltalk.method({
939
+ selector: unescape('hide'),
940
+ fn: function (){
941
+ var self=this;
942
+ smalltalk.send(smalltalk.send(self['@div'], "_asJQuery", []), "_hide", []);
943
+ return self;}
944
+ }),
945
+ smalltalk.TabWidget);
946
+
947
+ smalltalk.addMethod(
948
+ unescape('_label'),
949
+ smalltalk.method({
950
+ selector: unescape('label'),
951
+ fn: function (){
952
+ var self=this;
953
+ smalltalk.send(self, "_subclassResponsibility", []);
954
+ return self;}
955
+ }),
956
+ smalltalk.TabWidget);
957
+
958
+ smalltalk.addMethod(
959
+ unescape('_open'),
960
+ smalltalk.method({
961
+ selector: unescape('open'),
962
+ fn: function (){
963
+ var self=this;
964
+ smalltalk.send(smalltalk.send((smalltalk.TabManager || TabManager), "_current", []), "_addTab_", [self]);
965
+ smalltalk.send(smalltalk.send((smalltalk.TabManager || TabManager), "_current", []), "_selectTab_", [self]);
966
+ return self;}
967
+ }),
968
+ smalltalk.TabWidget);
969
+
970
+ smalltalk.addMethod(
971
+ unescape('_remove'),
972
+ smalltalk.method({
973
+ selector: unescape('remove'),
974
+ fn: function (){
975
+ var self=this;
976
+ smalltalk.send(smalltalk.send(self['@div'], "_asJQuery", []), "_remove", []);
977
+ return self;}
978
+ }),
979
+ smalltalk.TabWidget);
980
+
981
+ smalltalk.addMethod(
982
+ unescape('_renderBoxOn_'),
983
+ smalltalk.method({
984
+ selector: unescape('renderBoxOn%3A'),
985
+ fn: function (html){
986
+ var self=this;
987
+
988
+ return self;}
989
+ }),
990
+ smalltalk.TabWidget);
991
+
992
+ smalltalk.addMethod(
993
+ unescape('_renderButtonsOn_'),
994
+ smalltalk.method({
995
+ selector: unescape('renderButtonsOn%3A'),
996
+ fn: function (html){
997
+ var self=this;
998
+
999
+ return self;}
1000
+ }),
1001
+ smalltalk.TabWidget);
1002
+
1003
+ smalltalk.addMethod(
1004
+ unescape('_renderOn_'),
1005
+ smalltalk.method({
1006
+ selector: unescape('renderOn%3A'),
1007
+ fn: function (html){
1008
+ var self=this;
1009
+ (self['@div']=(function($rec){smalltalk.send($rec, "_class_", ["jtalkTool"]);return smalltalk.send($rec, "_yourself", []);})(smalltalk.send(html, "_div", [])));
1010
+ smalltalk.send(self, "_renderTab", []);
1011
+ return self;}
1012
+ }),
1013
+ smalltalk.TabWidget);
1014
+
1015
+ smalltalk.addMethod(
1016
+ unescape('_renderTab'),
1017
+ smalltalk.method({
1018
+ selector: unescape('renderTab'),
1019
+ fn: function (){
1020
+ var self=this;
1021
+ smalltalk.send(self['@div'], "_contents_", [(function(html){(function($rec){smalltalk.send($rec, "_class_", ["jt_box"]);return smalltalk.send($rec, "_with_", [(function(){return smalltalk.send(self, "_renderBoxOn_", [html]);})]);})(smalltalk.send(html, "_div", []));return (function($rec){smalltalk.send($rec, "_class_", ["jt_buttons"]);return smalltalk.send($rec, "_with_", [(function(){return smalltalk.send(self, "_renderButtonsOn_", [html]);})]);})(smalltalk.send(html, "_div", []));})]);
1022
+ return self;}
1023
+ }),
1024
+ smalltalk.TabWidget);
1025
+
1026
+ smalltalk.addMethod(
1027
+ unescape('_show'),
1028
+ smalltalk.method({
1029
+ selector: unescape('show'),
1030
+ fn: function (){
1031
+ var self=this;
1032
+ smalltalk.send(smalltalk.send(self['@div'], "_asJQuery", []), "_show", []);
1033
+ return self;}
1034
+ }),
1035
+ smalltalk.TabWidget);
1036
+
1037
+ smalltalk.addMethod(
1038
+ unescape('_update'),
1039
+ smalltalk.method({
1040
+ selector: unescape('update'),
1041
+ fn: function (){
1042
+ var self=this;
1043
+ smalltalk.send(self, "_renderTab", []);
1044
+ return self;}
1045
+ }),
1046
+ smalltalk.TabWidget);
1047
+
1048
+
1049
+ smalltalk.addMethod(
1050
+ unescape('_open'),
1051
+ smalltalk.method({
1052
+ selector: unescape('open'),
1053
+ fn: function (){
1054
+ var self=this;
1055
+ return smalltalk.send(smalltalk.send(self, "_new", []), "_open", []);
1056
+ return self;}
1057
+ }),
1058
+ smalltalk.TabWidget.klass);
1059
+
1060
+
1061
+ smalltalk.addClass('Browser', smalltalk.TabWidget, ['selectedPackage', 'selectedClass', 'selectedProtocol', 'selectedMethod', 'packagesList', 'classesList', 'protocolsList', 'methodsList', 'sourceArea', 'tabsList', 'selectedTab', 'saveButton', 'classButtons', 'methodButtons', 'unsavedChanges'], 'IDE');
1062
+ smalltalk.addMethod(
1063
+ unescape('_addInstanceVariableNamed_toClass_'),
1064
+ smalltalk.method({
1065
+ selector: unescape('addInstanceVariableNamed%3AtoClass%3A'),
1066
+ fn: function (aString, aClass){
1067
+ var self=this;
1068
+ smalltalk.send(smalltalk.send((smalltalk.ClassBuilder || ClassBuilder), "_new", []), "_addSubclassOf_named_instanceVariableNames_package_", [smalltalk.send(aClass, "_superclass", []), smalltalk.send(aClass, "_name", []), (function($rec){smalltalk.send($rec, "_add_", [aString]);return smalltalk.send($rec, "_yourself", []);})(smalltalk.send(smalltalk.send(aClass, "_instanceVariableNames", []), "_copy", [])), smalltalk.send(smalltalk.send(aClass, "_package", []), "_name", [])]);
1069
+ return self;}
1070
+ }),
1071
+ smalltalk.Browser);
1072
+
1073
+ smalltalk.addMethod(
1074
+ unescape('_addNewClass'),
1075
+ smalltalk.method({
1076
+ selector: unescape('addNewClass'),
1077
+ fn: function (){
1078
+ var self=this;
1079
+ var className=nil;
1080
+ (className=smalltalk.send((typeof window == 'undefined' ? nil : window), "_prompt_", ["New class"]));
1081
+ ((($receiver = smalltalk.send(smalltalk.send(className, "_notNil", []), "_and_", [(function(){return smalltalk.send(className, "_notEmpty", []);})])).klass === smalltalk.Boolean) ? ($receiver ? (function(){smalltalk.send((smalltalk.Object || Object), "_subclass_instanceVariableNames_package_", [className, "", smalltalk.send(self, "_selectedPackage", [])]);(function($rec){smalltalk.send($rec, "_resetClassesList", []);return smalltalk.send($rec, "_updateClassesList", []);})(self);return smalltalk.send(self, "_selectClass_", [smalltalk.send(smalltalk.send((smalltalk.Smalltalk || Smalltalk), "_current", []), "_at_", [className])]);})() : nil) : smalltalk.send($receiver, "_ifTrue_", [(function(){smalltalk.send((smalltalk.Object || Object), "_subclass_instanceVariableNames_package_", [className, "", smalltalk.send(self, "_selectedPackage", [])]);(function($rec){smalltalk.send($rec, "_resetClassesList", []);return smalltalk.send($rec, "_updateClassesList", []);})(self);return smalltalk.send(self, "_selectClass_", [smalltalk.send(smalltalk.send((smalltalk.Smalltalk || Smalltalk), "_current", []), "_at_", [className])]);})]));
1082
+ return self;}
1083
+ }),
1084
+ smalltalk.Browser);
1085
+
1086
+ smalltalk.addMethod(
1087
+ unescape('_addNewProtocol'),
1088
+ smalltalk.method({
1089
+ selector: unescape('addNewProtocol'),
1090
+ fn: function (){
1091
+ var self=this;
1092
+ var newProtocol=nil;
1093
+ (newProtocol=smalltalk.send((typeof window == 'undefined' ? nil : window), "_prompt_", ["New method protocol"]));
1094
+ ((($receiver = smalltalk.send(smalltalk.send(newProtocol, "_notNil", []), "_and_", [(function(){return smalltalk.send(newProtocol, "_notEmpty", []);})])).klass === smalltalk.Boolean) ? ($receiver ? (function(){smalltalk.send(self['@selectedMethod'], "_category_", [newProtocol]);return smalltalk.send(self, "_setMethodProtocol_", [newProtocol]);})() : nil) : smalltalk.send($receiver, "_ifTrue_", [(function(){smalltalk.send(self['@selectedMethod'], "_category_", [newProtocol]);return smalltalk.send(self, "_setMethodProtocol_", [newProtocol]);})]));
1095
+ return self;}
1096
+ }),
1097
+ smalltalk.Browser);
1098
+
1099
+ smalltalk.addMethod(
1100
+ unescape('_ajaxPutAt_data_'),
1101
+ smalltalk.method({
1102
+ selector: unescape('ajaxPutAt%3Adata%3A'),
1103
+ fn: function (anURL, aString){
1104
+ var self=this;
1105
+ smalltalk.send((typeof jQuery == 'undefined' ? nil : jQuery), "_ajax_options_", [anURL, smalltalk.HashedCollection._fromPairs_([smalltalk.send("type", "__minus_gt", ["PUT"]),smalltalk.send("data", "__minus_gt", [aString]),smalltalk.send("contentType", "__minus_gt", [unescape("text/plain%3Bcharset%3DUTF-8")]),smalltalk.send("error", "__minus_gt", [(function(){return smalltalk.send((typeof window == 'undefined' ? nil : window), "_alert_", [smalltalk.send("PUT request failed at: ", "__comma", [anURL])]);})])])]);
1106
+ return self;}
1107
+ }),
1108
+ smalltalk.Browser);
1109
+
1110
+ smalltalk.addMethod(
1111
+ unescape('_canBeClosed'),
1112
+ smalltalk.method({
1113
+ selector: unescape('canBeClosed'),
1114
+ fn: function (){
1115
+ var self=this;
1116
+ return true;
1117
+ return self;}
1118
+ }),
1119
+ smalltalk.Browser);
1120
+
1121
+ smalltalk.addMethod(
1122
+ unescape('_cancelChanges'),
1123
+ smalltalk.method({
1124
+ selector: unescape('cancelChanges'),
1125
+ fn: function (){
1126
+ var self=this;
1127
+ return ((($receiver = self['@unsavedChanges']).klass === smalltalk.Boolean) ? ($receiver ? (function(){return smalltalk.send((typeof window == 'undefined' ? nil : window), "_confirm_", [unescape("Cancel%20changes%3F")]);})() : (function(){return true;})()) : smalltalk.send($receiver, "_ifTrue_ifFalse_", [(function(){return smalltalk.send((typeof window == 'undefined' ? nil : window), "_confirm_", [unescape("Cancel%20changes%3F")]);}), (function(){return true;})]));
1128
+ return self;}
1129
+ }),
1130
+ smalltalk.Browser);
1131
+
1132
+ smalltalk.addMethod(
1133
+ unescape('_classCommentSource'),
1134
+ smalltalk.method({
1135
+ selector: unescape('classCommentSource'),
1136
+ fn: function (){
1137
+ var self=this;
1138
+ return smalltalk.send(self['@selectedClass'], "_comment", []);
1139
+ return self;}
1140
+ }),
1141
+ smalltalk.Browser);
1142
+
1143
+ smalltalk.addMethod(
1144
+ unescape('_classDeclarationSource'),
1145
+ smalltalk.method({
1146
+ selector: unescape('classDeclarationSource'),
1147
+ fn: function (){
1148
+ var self=this;
1149
+ try{var stream=nil;
1150
+ (stream=smalltalk.send("", "_writeStream", []));
1151
+ (($receiver = self['@selectedClass']) == nil || $receiver == undefined) ? (function(){return (function(){throw({name: 'stReturn', selector: '_classDeclarationSource', fn: function(){return smalltalk.send(self, "_classDeclarationTemplate", [])}})})();})() : $receiver;
1152
+ (function($rec){smalltalk.send($rec, "_nextPutAll_", [smalltalk.send(smalltalk.send(self['@selectedClass'], "_superclass", []), "_asString", [])]);smalltalk.send($rec, "_nextPutAll_", [unescape("%20subclass%3A%20%23")]);smalltalk.send($rec, "_nextPutAll_", [smalltalk.send(self['@selectedClass'], "_name", [])]);smalltalk.send($rec, "_nextPutAll_", [smalltalk.send(smalltalk.send((smalltalk.String || String), "_lf", []), "__comma", [smalltalk.send((smalltalk.String || String), "_tab", [])])]);return smalltalk.send($rec, "_nextPutAll_", [unescape("instanceVariableNames%3A%20%27")]);})(stream);
1153
+ smalltalk.send(smalltalk.send(self['@selectedClass'], "_instanceVariableNames", []), "_do_separatedBy_", [(function(each){return smalltalk.send(stream, "_nextPutAll_", [each]);}), (function(){return smalltalk.send(stream, "_nextPutAll_", [" "]);})]);
1154
+ (function($rec){smalltalk.send($rec, "_nextPutAll_", [smalltalk.send(smalltalk.send(unescape("%27"), "__comma", [smalltalk.send((smalltalk.String || String), "_lf", [])]), "__comma", [smalltalk.send((smalltalk.String || String), "_tab", [])])]);smalltalk.send($rec, "_nextPutAll_", [unescape("package%3A%20%27")]);smalltalk.send($rec, "_nextPutAll_", [smalltalk.send(self['@selectedClass'], "_category", [])]);return smalltalk.send($rec, "_nextPutAll_", [unescape("%27")]);})(stream);
1155
+ (function(){throw({name: 'stReturn', selector: '_classDeclarationSource', fn: function(){return smalltalk.send(stream, "_contents", [])}})})();
1156
+ return self;
1157
+ } catch(e) {if(e.name === 'stReturn' && e.selector === '_classDeclarationSource'){return e.fn()} throw(e)}}
1158
+ }),
1159
+ smalltalk.Browser);
1160
+
1161
+ smalltalk.addMethod(
1162
+ unescape('_classDeclarationTemplate'),
1163
+ smalltalk.method({
1164
+ selector: unescape('classDeclarationTemplate'),
1165
+ fn: function (){
1166
+ var self=this;
1167
+ return smalltalk.send(smalltalk.send(unescape("Object%20subclass%3A%20%23NameOfSubclass%0A%09instanceVariableNames%3A%20%27%27%0A%09package%3A%20%27"), "__comma", [smalltalk.send(self, "_selectedPackage", [])]), "__comma", [unescape("%27")]);
1168
+ return self;}
1169
+ }),
1170
+ smalltalk.Browser);
1171
+
1172
+ smalltalk.addMethod(
1173
+ unescape('_classes'),
1174
+ smalltalk.method({
1175
+ selector: unescape('classes'),
1176
+ fn: function (){
1177
+ var self=this;
1178
+ return smalltalk.send(smalltalk.send(smalltalk.send(smalltalk.send(smalltalk.send((smalltalk.Smalltalk || Smalltalk), "_current", []), "_classes", []), "_select_", [(function(each){return smalltalk.send(smalltalk.send(each, "_category", []), "__eq", [self['@selectedPackage']]);})]), "_sort_", [(function(a, b){return ((($receiver = smalltalk.send(a, "_name", [])).klass === smalltalk.Number) ? $receiver <smalltalk.send(b, "_name", []) : smalltalk.send($receiver, "__lt", [smalltalk.send(b, "_name", [])]));})]), "_asSet", []);
1179
+ return self;}
1180
+ }),
1181
+ smalltalk.Browser);
1182
+
1183
+ smalltalk.addMethod(
1184
+ unescape('_commitPackage'),
1185
+ smalltalk.method({
1186
+ selector: unescape('commitPackage'),
1187
+ fn: function (){
1188
+ var self=this;
1189
+ (($receiver = self['@selectedPackage']) != nil && $receiver != undefined) ? (function(){var package=nil;
1190
+ (package=smalltalk.send((smalltalk.Package || Package), "_named_", [self['@selectedPackage']]));return smalltalk.send([smalltalk.send((smalltalk.Exporter || Exporter), "__minus_gt", [smalltalk.send(smalltalk.send(smalltalk.send(smalltalk.send(package, "_commitPathJs", []), "__comma", [unescape("/")]), "__comma", [self['@selectedPackage']]), "__comma", [".js"])]),smalltalk.send((smalltalk.StrippedExporter || StrippedExporter), "__minus_gt", [smalltalk.send(smalltalk.send(smalltalk.send(smalltalk.send(package, "_commitPathJs", []), "__comma", [unescape("/")]), "__comma", [self['@selectedPackage']]), "__comma", [".deploy.js"])]),smalltalk.send((smalltalk.ChunkExporter || ChunkExporter), "__minus_gt", [smalltalk.send(smalltalk.send(smalltalk.send(smalltalk.send(package, "_commitPathSt", []), "__comma", [unescape("/")]), "__comma", [self['@selectedPackage']]), "__comma", [".st"])])], "_do_", [(function(commitStrategy){var fileContents=nil;
1191
+ (fileContents=smalltalk.send(smalltalk.send(smalltalk.send(commitStrategy, "_key", []), "_new", []), "_exportPackage_", [self['@selectedPackage']]));return smalltalk.send(self, "_ajaxPutAt_data_", [smalltalk.send(commitStrategy, "_value", []), fileContents]);})]);})() : nil;
1192
+ return self;}
1193
+ }),
1194
+ smalltalk.Browser);
1195
+
1196
+ smalltalk.addMethod(
1197
+ unescape('_compile'),
1198
+ smalltalk.method({
1199
+ selector: unescape('compile'),
1200
+ fn: function (){
1201
+ var self=this;
1202
+ smalltalk.send(self, "_disableSaveButton", []);
1203
+ ((($receiver = smalltalk.send(self['@selectedTab'], "__eq", [smalltalk.symbolFor("comment")])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return (($receiver = self['@selectedClass']) != nil && $receiver != undefined) ? (function(){return smalltalk.send(self, "_compileClassComment", []);})() : nil;})() : (function(){return ((($receiver = smalltalk.send(smalltalk.send(self['@selectedProtocol'], "_notNil", []), "_or_", [(function(){return smalltalk.send(self['@selectedMethod'], "_notNil", []);})])).klass === smalltalk.Boolean) ? (! $receiver ? (function(){return smalltalk.send(self, "_compileDefinition", []);})() : (function(){return smalltalk.send(self, "_compileMethodDefinition", []);})()) : smalltalk.send($receiver, "_ifFalse_ifTrue_", [(function(){return smalltalk.send(self, "_compileDefinition", []);}), (function(){return smalltalk.send(self, "_compileMethodDefinition", []);})]));})()) : smalltalk.send($receiver, "_ifTrue_ifFalse_", [(function(){return (($receiver = self['@selectedClass']) != nil && $receiver != undefined) ? (function(){return smalltalk.send(self, "_compileClassComment", []);})() : nil;}), (function(){return ((($receiver = smalltalk.send(smalltalk.send(self['@selectedProtocol'], "_notNil", []), "_or_", [(function(){return smalltalk.send(self['@selectedMethod'], "_notNil", []);})])).klass === smalltalk.Boolean) ? (! $receiver ? (function(){return smalltalk.send(self, "_compileDefinition", []);})() : (function(){return smalltalk.send(self, "_compileMethodDefinition", []);})()) : smalltalk.send($receiver, "_ifFalse_ifTrue_", [(function(){return smalltalk.send(self, "_compileDefinition", []);}), (function(){return smalltalk.send(self, "_compileMethodDefinition", []);})]));})]));
1204
+ return self;}
1205
+ }),
1206
+ smalltalk.Browser);
1207
+
1208
+ smalltalk.addMethod(
1209
+ unescape('_compileClassComment'),
1210
+ smalltalk.method({
1211
+ selector: unescape('compileClassComment'),
1212
+ fn: function (){
1213
+ var self=this;
1214
+ smalltalk.send(self['@selectedClass'], "_comment_", [smalltalk.send(self['@sourceArea'], "_val", [])]);
1215
+ return self;}
1216
+ }),
1217
+ smalltalk.Browser);
1218
+
1219
+ smalltalk.addMethod(
1220
+ unescape('_compileDefinition'),
1221
+ smalltalk.method({
1222
+ selector: unescape('compileDefinition'),
1223
+ fn: function (){
1224
+ var self=this;
1225
+ var newClass=nil;
1226
+ (newClass=smalltalk.send(smalltalk.send((smalltalk.Compiler || Compiler), "_new", []), "_loadExpression_", [smalltalk.send(self['@sourceArea'], "_val", [])]));
1227
+ (function($rec){smalltalk.send($rec, "_resetClassesList", []);smalltalk.send($rec, "_updateCategoriesList", []);return smalltalk.send($rec, "_updateClassesList", []);})(self);
1228
+ smalltalk.send(self, "_selectClass_", [newClass]);
1229
+ return self;}
1230
+ }),
1231
+ smalltalk.Browser);
1232
+
1233
+ smalltalk.addMethod(
1234
+ unescape('_compileMethodDefinition'),
1235
+ smalltalk.method({
1236
+ selector: unescape('compileMethodDefinition'),
1237
+ fn: function (){
1238
+ var self=this;
1239
+ ((($receiver = smalltalk.send(self['@selectedTab'], "__eq", [smalltalk.symbolFor("instance")])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return smalltalk.send(self, "_compileMethodDefinitionFor_", [self['@selectedClass']]);})() : (function(){return smalltalk.send(self, "_compileMethodDefinitionFor_", [smalltalk.send(self['@selectedClass'], "_class", [])]);})()) : smalltalk.send($receiver, "_ifTrue_ifFalse_", [(function(){return smalltalk.send(self, "_compileMethodDefinitionFor_", [self['@selectedClass']]);}), (function(){return smalltalk.send(self, "_compileMethodDefinitionFor_", [smalltalk.send(self['@selectedClass'], "_class", [])]);})]));
1240
+ return self;}
1241
+ }),
1242
+ smalltalk.Browser);
1243
+
1244
+ smalltalk.addMethod(
1245
+ unescape('_compileMethodDefinitionFor_'),
1246
+ smalltalk.method({
1247
+ selector: unescape('compileMethodDefinitionFor%3A'),
1248
+ fn: function (aClass){
1249
+ var self=this;
1250
+ try{var compiler=nil;
1251
+ var method=nil;
1252
+ var source=nil;
1253
+ var node=nil;
1254
+ (source=smalltalk.send(self['@sourceArea'], "_val", []));
1255
+ (($receiver = self['@selectedProtocol']) == nil || $receiver == undefined) ? (function(){return (self['@selectedProtocol']=smalltalk.send(self['@selectedMethod'], "_category", []));})() : $receiver;
1256
+ (compiler=smalltalk.send((smalltalk.Compiler || Compiler), "_new", []));
1257
+ smalltalk.send(compiler, "_source_", [source]);
1258
+ (node=smalltalk.send(compiler, "_parse_", [source]));
1259
+ ((($receiver = smalltalk.send(node, "_isParseFailure", [])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return (function(){throw({name: 'stReturn', selector: '_compileMethodDefinitionFor_', fn: function(){return smalltalk.send((typeof window == 'undefined' ? nil : window), "_alert_", [smalltalk.send(smalltalk.send(smalltalk.send("PARSE ERROR: ", "__comma", [smalltalk.send(node, "_reason", [])]), "__comma", [unescape("%2C%20position%3A%20")]), "__comma", [smalltalk.send(smalltalk.send(node, "_position", []), "_asString", [])])])}})})();})() : nil) : smalltalk.send($receiver, "_ifTrue_", [(function(){return (function(){throw({name: 'stReturn', selector: '_compileMethodDefinitionFor_', fn: function(){return smalltalk.send((typeof window == 'undefined' ? nil : window), "_alert_", [smalltalk.send(smalltalk.send(smalltalk.send("PARSE ERROR: ", "__comma", [smalltalk.send(node, "_reason", [])]), "__comma", [unescape("%2C%20position%3A%20")]), "__comma", [smalltalk.send(smalltalk.send(node, "_position", []), "_asString", [])])])}})})();})]));
1260
+ smalltalk.send(compiler, "_currentClass_", [aClass]);
1261
+ (method=smalltalk.send(compiler, "_eval_", [smalltalk.send(compiler, "_compileNode_", [node])]));
1262
+ smalltalk.send(method, "_category_", [self['@selectedProtocol']]);
1263
+ smalltalk.send(smalltalk.send(compiler, "_unknownVariables", []), "_do_", [(function(each){return (($receiver = smalltalk.send((typeof window == 'undefined' ? nil : window), "_at_", [each])) == nil || $receiver == undefined) ? (function(){return ((($receiver = smalltalk.send((typeof window == 'undefined' ? nil : window), "_confirm_", [smalltalk.send(smalltalk.send(unescape("Declare%20%27"), "__comma", [each]), "__comma", [unescape("%27%20as%20instance%20variable%3F")])])).klass === smalltalk.Boolean) ? ($receiver ? (function(){smalltalk.send(self, "_addInstanceVariableNamed_toClass_", [each, aClass]);return (function(){throw({name: 'stReturn', selector: '_compileMethodDefinitionFor_', fn: function(){return smalltalk.send(self, "_compileMethodDefinitionFor_", [aClass])}})})();})() : nil) : smalltalk.send($receiver, "_ifTrue_", [(function(){smalltalk.send(self, "_addInstanceVariableNamed_toClass_", [each, aClass]);return (function(){throw({name: 'stReturn', selector: '_compileMethodDefinitionFor_', fn: function(){return smalltalk.send(self, "_compileMethodDefinitionFor_", [aClass])}})})();})]));})() : $receiver;})]);
1264
+ smalltalk.send(aClass, "_addCompiledMethod_", [method]);
1265
+ smalltalk.send(compiler, "_setupClass_", [aClass]);
1266
+ smalltalk.send(self, "_updateMethodsList", []);
1267
+ smalltalk.send(self, "_selectMethod_", [method]);
1268
+ return self;
1269
+ } catch(e) {if(e.name === 'stReturn' && e.selector === '_compileMethodDefinitionFor_'){return e.fn()} throw(e)}}
1270
+ }),
1271
+ smalltalk.Browser);
1272
+
1273
+ smalltalk.addMethod(
1274
+ unescape('_copyClass'),
1275
+ smalltalk.method({
1276
+ selector: unescape('copyClass'),
1277
+ fn: function (){
1278
+ var self=this;
1279
+ var className=nil;
1280
+ (className=smalltalk.send((typeof window == 'undefined' ? nil : window), "_prompt_", ["Copy class"]));
1281
+ ((($receiver = smalltalk.send(smalltalk.send(className, "_notNil", []), "_and_", [(function(){return smalltalk.send(className, "_notEmpty", []);})])).klass === smalltalk.Boolean) ? ($receiver ? (function(){smalltalk.send(smalltalk.send((smalltalk.ClassBuilder || ClassBuilder), "_new", []), "_copyClass_named_", [smalltalk.send(self, "_selectedClass", []), className]);(function($rec){smalltalk.send($rec, "_resetClassesList", []);return smalltalk.send($rec, "_updateClassesList", []);})(self);return smalltalk.send(self, "_selectClass_", [smalltalk.send(smalltalk.send((smalltalk.Smalltalk || Smalltalk), "_current", []), "_at_", [className])]);})() : nil) : smalltalk.send($receiver, "_ifTrue_", [(function(){smalltalk.send(smalltalk.send((smalltalk.ClassBuilder || ClassBuilder), "_new", []), "_copyClass_named_", [smalltalk.send(self, "_selectedClass", []), className]);(function($rec){smalltalk.send($rec, "_resetClassesList", []);return smalltalk.send($rec, "_updateClassesList", []);})(self);return smalltalk.send(self, "_selectClass_", [smalltalk.send(smalltalk.send((smalltalk.Smalltalk || Smalltalk), "_current", []), "_at_", [className])]);})]));
1282
+ return self;}
1283
+ }),
1284
+ smalltalk.Browser);
1285
+
1286
+ smalltalk.addMethod(
1287
+ unescape('_declarationSource'),
1288
+ smalltalk.method({
1289
+ selector: unescape('declarationSource'),
1290
+ fn: function (){
1291
+ var self=this;
1292
+ return ((($receiver = smalltalk.send(self['@selectedTab'], "__eq", [smalltalk.symbolFor("instance")])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return smalltalk.send(self, "_classDeclarationSource", []);})() : (function(){return smalltalk.send(self, "_metaclassDeclarationSource", []);})()) : smalltalk.send($receiver, "_ifTrue_ifFalse_", [(function(){return smalltalk.send(self, "_classDeclarationSource", []);}), (function(){return smalltalk.send(self, "_metaclassDeclarationSource", []);})]));
1293
+ return self;}
1294
+ }),
1295
+ smalltalk.Browser);
1296
+
1297
+ smalltalk.addMethod(
1298
+ unescape('_disableSaveButton'),
1299
+ smalltalk.method({
1300
+ selector: unescape('disableSaveButton'),
1301
+ fn: function (){
1302
+ var self=this;
1303
+ (($receiver = self['@saveButton']) != nil && $receiver != undefined) ? (function(){return smalltalk.send(self['@saveButton'], "_at_put_", ["disabled", true]);})() : nil;
1304
+ (self['@unsavedChanges']=false);
1305
+ return self;}
1306
+ }),
1307
+ smalltalk.Browser);
1308
+
1309
+ smalltalk.addMethod(
1310
+ unescape('_dummyMethodSource'),
1311
+ smalltalk.method({
1312
+ selector: unescape('dummyMethodSource'),
1313
+ fn: function (){
1314
+ var self=this;
1315
+ return unescape("messageSelectorAndArgumentNames%0A%09%22comment%20stating%20purpose%20of%20message%22%0A%0A%09%7C%20temporary%20variable%20names%20%7C%0A%09statements");
1316
+ return self;}
1317
+ }),
1318
+ smalltalk.Browser);
1319
+
1320
+ smalltalk.addMethod(
1321
+ unescape('_handleSourceAreaKeyDown_'),
1322
+ smalltalk.method({
1323
+ selector: unescape('handleSourceAreaKeyDown%3A'),
1324
+ fn: function (anEvent){
1325
+ var self=this;
1326
+ if(anEvent.ctrlKey) {
1327
+ if(anEvent.keyCode === 83) { //ctrl+s
1328
+ self._compile();
1329
+ anEvent.preventDefault();
1330
+ return false;
1331
+ }
1332
+ }
1333
+ ;
1334
+ return self;}
1335
+ }),
1336
+ smalltalk.Browser);
1337
+
1338
+ smalltalk.addMethod(
1339
+ unescape('_hideClassButtons'),
1340
+ smalltalk.method({
1341
+ selector: unescape('hideClassButtons'),
1342
+ fn: function (){
1343
+ var self=this;
1344
+ smalltalk.send(smalltalk.send(self['@classButtons'], "_asJQuery", []), "_hide", []);
1345
+ return self;}
1346
+ }),
1347
+ smalltalk.Browser);
1348
+
1349
+ smalltalk.addMethod(
1350
+ unescape('_hideMethodButtons'),
1351
+ smalltalk.method({
1352
+ selector: unescape('hideMethodButtons'),
1353
+ fn: function (){
1354
+ var self=this;
1355
+ smalltalk.send(smalltalk.send(self['@methodButtons'], "_asJQuery", []), "_hide", []);
1356
+ return self;}
1357
+ }),
1358
+ smalltalk.Browser);
1359
+
1360
+ smalltalk.addMethod(
1361
+ unescape('_initialize'),
1362
+ smalltalk.method({
1363
+ selector: unescape('initialize'),
1364
+ fn: function (){
1365
+ var self=this;
1366
+ smalltalk.send(self, "_initialize", [], smalltalk.TabWidget);
1367
+ (self['@selectedTab']=smalltalk.symbolFor("instance"));
1368
+ (self['@selectedPackage']=smalltalk.send(smalltalk.send(self, "_packages", []), "_first", []));
1369
+ (self['@unsavedChanges']=false);
1370
+ return self;}
1371
+ }),
1372
+ smalltalk.Browser);
1373
+
1374
+ smalltalk.addMethod(
1375
+ unescape('_label'),
1376
+ smalltalk.method({
1377
+ selector: unescape('label'),
1378
+ fn: function (){
1379
+ var self=this;
1380
+ return (($receiver = self['@selectedClass']) == nil || $receiver == undefined) ? (function(){return unescape("Browser%20%28nil%29");})() : (function(){return smalltalk.send("Browser: ", "__comma", [smalltalk.send(self['@selectedClass'], "_name", [])]);})();
1381
+ return self;}
1382
+ }),
1383
+ smalltalk.Browser);
1384
+
1385
+ smalltalk.addMethod(
1386
+ unescape('_metaclassDeclarationSource'),
1387
+ smalltalk.method({
1388
+ selector: unescape('metaclassDeclarationSource'),
1389
+ fn: function (){
1390
+ var self=this;
1391
+ var stream=nil;
1392
+ (stream=smalltalk.send("", "_writeStream", []));
1393
+ (($receiver = self['@selectedClass']) != nil && $receiver != undefined) ? (function(){(function($rec){smalltalk.send($rec, "_nextPutAll_", [smalltalk.send(self['@selectedClass'], "_asString", [])]);smalltalk.send($rec, "_nextPutAll_", [" class "]);return smalltalk.send($rec, "_nextPutAll_", [unescape("instanceVariableNames%3A%20%27")]);})(stream);smalltalk.send(smalltalk.send(smalltalk.send(self['@selectedClass'], "_class", []), "_instanceVariableNames", []), "_do_separatedBy_", [(function(each){return smalltalk.send(stream, "_nextPutAll_", [each]);}), (function(){return smalltalk.send(stream, "_nextPutAll_", [" "]);})]);return smalltalk.send(stream, "_nextPutAll_", [unescape("%27")]);})() : nil;
1394
+ return smalltalk.send(stream, "_contents", []);
1395
+ return self;}
1396
+ }),
1397
+ smalltalk.Browser);
1398
+
1399
+ smalltalk.addMethod(
1400
+ unescape('_methodSource'),
1401
+ smalltalk.method({
1402
+ selector: unescape('methodSource'),
1403
+ fn: function (){
1404
+ var self=this;
1405
+ return (($receiver = self['@selectedMethod']) == nil || $receiver == undefined) ? (function(){return smalltalk.send(self, "_dummyMethodSource", []);})() : (function(){return smalltalk.send(self['@selectedMethod'], "_source", []);})();
1406
+ return self;}
1407
+ }),
1408
+ smalltalk.Browser);
1409
+
1410
+ smalltalk.addMethod(
1411
+ unescape('_methods'),
1412
+ smalltalk.method({
1413
+ selector: unescape('methods'),
1414
+ fn: function (){
1415
+ var self=this;
1416
+ try{var klass=nil;
1417
+ ((($receiver = smalltalk.send(self['@selectedTab'], "__eq", [smalltalk.symbolFor("comment")])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return (function(){throw({name: 'stReturn', selector: '_methods', fn: function(){return []}})})();})() : nil) : smalltalk.send($receiver, "_ifTrue_", [(function(){return (function(){throw({name: 'stReturn', selector: '_methods', fn: function(){return []}})})();})]));
1418
+ (($receiver = self['@selectedClass']) != nil && $receiver != undefined) ? (function(){return (klass=((($receiver = smalltalk.send(self['@selectedTab'], "__eq", [smalltalk.symbolFor("instance")])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return self['@selectedClass'];})() : (function(){return smalltalk.send(self['@selectedClass'], "_class", []);})()) : smalltalk.send($receiver, "_ifTrue_ifFalse_", [(function(){return self['@selectedClass'];}), (function(){return smalltalk.send(self['@selectedClass'], "_class", []);})])));})() : nil;
1419
+ (function(){throw({name: 'stReturn', selector: '_methods', fn: function(){return smalltalk.send((($receiver = self['@selectedProtocol']) == nil || $receiver == undefined) ? (function(){return (($receiver = klass) == nil || $receiver == undefined) ? (function(){return [];})() : (function(){return smalltalk.send(smalltalk.send(klass, "_methodDictionary", []), "_values", []);})();})() : (function(){return smalltalk.send(smalltalk.send(smalltalk.send(klass, "_methodDictionary", []), "_values", []), "_select_", [(function(each){return smalltalk.send(smalltalk.send(each, "_category", []), "__eq", [self['@selectedProtocol']]);})]);})(), "_sort_", [(function(a, b){return ((($receiver = smalltalk.send(a, "_selector", [])).klass === smalltalk.Number) ? $receiver <smalltalk.send(b, "_selector", []) : smalltalk.send($receiver, "__lt", [smalltalk.send(b, "_selector", [])]));})])}})})();
1420
+ return self;
1421
+ } catch(e) {if(e.name === 'stReturn' && e.selector === '_methods'){return e.fn()} throw(e)}}
1422
+ }),
1423
+ smalltalk.Browser);
1424
+
1425
+ smalltalk.addMethod(
1426
+ unescape('_packages'),
1427
+ smalltalk.method({
1428
+ selector: unescape('packages'),
1429
+ fn: function (){
1430
+ var self=this;
1431
+ var packages=nil;
1432
+ (packages=smalltalk.send((smalltalk.Array || Array), "_new", []));
1433
+ smalltalk.send(smalltalk.send(smalltalk.send((smalltalk.Smalltalk || Smalltalk), "_current", []), "_classes", []), "_do_", [(function(each){return ((($receiver = smalltalk.send(packages, "_includes_", [smalltalk.send(each, "_category", [])])).klass === smalltalk.Boolean) ? (! $receiver ? (function(){return smalltalk.send(packages, "_add_", [smalltalk.send(each, "_category", [])]);})() : nil) : smalltalk.send($receiver, "_ifFalse_", [(function(){return smalltalk.send(packages, "_add_", [smalltalk.send(each, "_category", [])]);})]));})]);
1434
+ return smalltalk.send(packages, "_sort", []);
1435
+ return self;}
1436
+ }),
1437
+ smalltalk.Browser);
1438
+
1439
+ smalltalk.addMethod(
1440
+ unescape('_protocols'),
1441
+ smalltalk.method({
1442
+ selector: unescape('protocols'),
1443
+ fn: function (){
1444
+ var self=this;
1445
+ try{var klass=nil;
1446
+ (($receiver = self['@selectedClass']) != nil && $receiver != undefined) ? (function(){((($receiver = smalltalk.send(self['@selectedTab'], "__eq", [smalltalk.symbolFor("comment")])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return (function(){throw({name: 'stReturn', selector: '_protocols', fn: function(){return []}})})();})() : nil) : smalltalk.send($receiver, "_ifTrue_", [(function(){return (function(){throw({name: 'stReturn', selector: '_protocols', fn: function(){return []}})})();})]));(klass=((($receiver = smalltalk.send(self['@selectedTab'], "__eq", [smalltalk.symbolFor("instance")])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return self['@selectedClass'];})() : (function(){return smalltalk.send(self['@selectedClass'], "_class", []);})()) : smalltalk.send($receiver, "_ifTrue_ifFalse_", [(function(){return self['@selectedClass'];}), (function(){return smalltalk.send(self['@selectedClass'], "_class", []);})])));((($receiver = smalltalk.send(smalltalk.send(klass, "_methodDictionary", []), "_isEmpty", [])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return (function(){throw({name: 'stReturn', selector: '_protocols', fn: function(){return smalltalk.send((smalltalk.Array || Array), "_with_", ["not yet classified"])}})})();})() : nil) : smalltalk.send($receiver, "_ifTrue_", [(function(){return (function(){throw({name: 'stReturn', selector: '_protocols', fn: function(){return smalltalk.send((smalltalk.Array || Array), "_with_", ["not yet classified"])}})})();})]));return (function(){throw({name: 'stReturn', selector: '_protocols', fn: function(){return smalltalk.send(klass, "_protocols", [])}})})();})() : nil;
1447
+ (function(){throw({name: 'stReturn', selector: '_protocols', fn: function(){return smalltalk.send((smalltalk.Array || Array), "_new", [])}})})();
1448
+ return self;
1449
+ } catch(e) {if(e.name === 'stReturn' && e.selector === '_protocols'){return e.fn()} throw(e)}}
1450
+ }),
1451
+ smalltalk.Browser);
1452
+
1453
+ smalltalk.addMethod(
1454
+ unescape('_removeClass'),
1455
+ smalltalk.method({
1456
+ selector: unescape('removeClass'),
1457
+ fn: function (){
1458
+ var self=this;
1459
+ ((($receiver = smalltalk.send((typeof window == 'undefined' ? nil : window), "_confirm_", [smalltalk.send(smalltalk.send("Do you really want to remove ", "__comma", [smalltalk.send(self['@selectedClass'], "_name", [])]), "__comma", [unescape("%3F")])])).klass === smalltalk.Boolean) ? ($receiver ? (function(){smalltalk.send(smalltalk.send((smalltalk.Smalltalk || Smalltalk), "_current", []), "_removeClass_", [self['@selectedClass']]);smalltalk.send(self, "_resetClassesList", []);return smalltalk.send(self, "_selectClass_", [nil]);})() : nil) : smalltalk.send($receiver, "_ifTrue_", [(function(){smalltalk.send(smalltalk.send((smalltalk.Smalltalk || Smalltalk), "_current", []), "_removeClass_", [self['@selectedClass']]);smalltalk.send(self, "_resetClassesList", []);return smalltalk.send(self, "_selectClass_", [nil]);})]));
1460
+ return self;}
1461
+ }),
1462
+ smalltalk.Browser);
1463
+
1464
+ smalltalk.addMethod(
1465
+ unescape('_removeMethod'),
1466
+ smalltalk.method({
1467
+ selector: unescape('removeMethod'),
1468
+ fn: function (){
1469
+ var self=this;
1470
+ ((($receiver = smalltalk.send(self, "_cancelChanges", [])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return ((($receiver = smalltalk.send((typeof window == 'undefined' ? nil : window), "_confirm_", [smalltalk.send(smalltalk.send(unescape("Do%20you%20really%20want%20to%20remove%20%23"), "__comma", [smalltalk.send(self['@selectedMethod'], "_selector", [])]), "__comma", [unescape("%3F")])])).klass === smalltalk.Boolean) ? ($receiver ? (function(){((($receiver = smalltalk.send(self['@selectedTab'], "__eq", [smalltalk.symbolFor("instance")])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return smalltalk.send(self['@selectedClass'], "_removeCompiledMethod_", [self['@selectedMethod']]);})() : (function(){return smalltalk.send(smalltalk.send(self['@selectedClass'], "_class", []), "_removeCompiledMethod_", [self['@selectedMethod']]);})()) : smalltalk.send($receiver, "_ifTrue_ifFalse_", [(function(){return smalltalk.send(self['@selectedClass'], "_removeCompiledMethod_", [self['@selectedMethod']]);}), (function(){return smalltalk.send(smalltalk.send(self['@selectedClass'], "_class", []), "_removeCompiledMethod_", [self['@selectedMethod']]);})]));return smalltalk.send(self, "_selectMethod_", [nil]);})() : nil) : smalltalk.send($receiver, "_ifTrue_", [(function(){((($receiver = smalltalk.send(self['@selectedTab'], "__eq", [smalltalk.symbolFor("instance")])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return smalltalk.send(self['@selectedClass'], "_removeCompiledMethod_", [self['@selectedMethod']]);})() : (function(){return smalltalk.send(smalltalk.send(self['@selectedClass'], "_class", []), "_removeCompiledMethod_", [self['@selectedMethod']]);})()) : smalltalk.send($receiver, "_ifTrue_ifFalse_", [(function(){return smalltalk.send(self['@selectedClass'], "_removeCompiledMethod_", [self['@selectedMethod']]);}), (function(){return smalltalk.send(smalltalk.send(self['@selectedClass'], "_class", []), "_removeCompiledMethod_", [self['@selectedMethod']]);})]));return smalltalk.send(self, "_selectMethod_", [nil]);})]));})() : nil) : smalltalk.send($receiver, "_ifTrue_", [(function(){return ((($receiver = smalltalk.send((typeof window == 'undefined' ? nil : window), "_confirm_", [smalltalk.send(smalltalk.send(unescape("Do%20you%20really%20want%20to%20remove%20%23"), "__comma", [smalltalk.send(self['@selectedMethod'], "_selector", [])]), "__comma", [unescape("%3F")])])).klass === smalltalk.Boolean) ? ($receiver ? (function(){((($receiver = smalltalk.send(self['@selectedTab'], "__eq", [smalltalk.symbolFor("instance")])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return smalltalk.send(self['@selectedClass'], "_removeCompiledMethod_", [self['@selectedMethod']]);})() : (function(){return smalltalk.send(smalltalk.send(self['@selectedClass'], "_class", []), "_removeCompiledMethod_", [self['@selectedMethod']]);})()) : smalltalk.send($receiver, "_ifTrue_ifFalse_", [(function(){return smalltalk.send(self['@selectedClass'], "_removeCompiledMethod_", [self['@selectedMethod']]);}), (function(){return smalltalk.send(smalltalk.send(self['@selectedClass'], "_class", []), "_removeCompiledMethod_", [self['@selectedMethod']]);})]));return smalltalk.send(self, "_selectMethod_", [nil]);})() : nil) : smalltalk.send($receiver, "_ifTrue_", [(function(){((($receiver = smalltalk.send(self['@selectedTab'], "__eq", [smalltalk.symbolFor("instance")])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return smalltalk.send(self['@selectedClass'], "_removeCompiledMethod_", [self['@selectedMethod']]);})() : (function(){return smalltalk.send(smalltalk.send(self['@selectedClass'], "_class", []), "_removeCompiledMethod_", [self['@selectedMethod']]);})()) : smalltalk.send($receiver, "_ifTrue_ifFalse_", [(function(){return smalltalk.send(self['@selectedClass'], "_removeCompiledMethod_", [self['@selectedMethod']]);}), (function(){return smalltalk.send(smalltalk.send(self['@selectedClass'], "_class", []), "_removeCompiledMethod_", [self['@selectedMethod']]);})]));return smalltalk.send(self, "_selectMethod_", [nil]);})]));})]));
1471
+ return self;}
1472
+ }),
1473
+ smalltalk.Browser);
1474
+
1475
+ smalltalk.addMethod(
1476
+ unescape('_removePackage'),
1477
+ smalltalk.method({
1478
+ selector: unescape('removePackage'),
1479
+ fn: function (){
1480
+ var self=this;
1481
+ ((($receiver = smalltalk.send((typeof window == 'undefined' ? nil : window), "_confirm_", [smalltalk.send(smalltalk.send("Do you really want to remove the whole package ", "__comma", [self['@selectedPackage']]), "__comma", [unescape("%20with%20all%20its%20classes%3F")])])).klass === smalltalk.Boolean) ? ($receiver ? (function(){smalltalk.send(smalltalk.send((smalltalk.Smalltalk || Smalltalk), "_current", []), "_removePackage_", [self['@selectedPackage']]);return smalltalk.send(self, "_updateCategoriesList", []);})() : nil) : smalltalk.send($receiver, "_ifTrue_", [(function(){smalltalk.send(smalltalk.send((smalltalk.Smalltalk || Smalltalk), "_current", []), "_removePackage_", [self['@selectedPackage']]);return smalltalk.send(self, "_updateCategoriesList", []);})]));
1482
+ return self;}
1483
+ }),
1484
+ smalltalk.Browser);
1485
+
1486
+ smalltalk.addMethod(
1487
+ unescape('_renameClass'),
1488
+ smalltalk.method({
1489
+ selector: unescape('renameClass'),
1490
+ fn: function (){
1491
+ var self=this;
1492
+ var newName=nil;
1493
+ (newName=smalltalk.send((typeof window == 'undefined' ? nil : window), "_prompt_", [smalltalk.send("Rename class ", "__comma", [smalltalk.send(self['@selectedClass'], "_name", [])])]));
1494
+ ((($receiver = smalltalk.send(smalltalk.send(newName, "_notNil", []), "_and_", [(function(){return smalltalk.send(newName, "_notEmpty", []);})])).klass === smalltalk.Boolean) ? ($receiver ? (function(){smalltalk.send(self['@selectedClass'], "_rename_", [newName]);return (function($rec){smalltalk.send($rec, "_updateClassesList", []);return smalltalk.send($rec, "_updateSourceAndButtons", []);})(self);})() : nil) : smalltalk.send($receiver, "_ifTrue_", [(function(){smalltalk.send(self['@selectedClass'], "_rename_", [newName]);return (function($rec){smalltalk.send($rec, "_updateClassesList", []);return smalltalk.send($rec, "_updateSourceAndButtons", []);})(self);})]));
1495
+ return self;}
1496
+ }),
1497
+ smalltalk.Browser);
1498
+
1499
+ smalltalk.addMethod(
1500
+ unescape('_renamePackage'),
1501
+ smalltalk.method({
1502
+ selector: unescape('renamePackage'),
1503
+ fn: function (){
1504
+ var self=this;
1505
+ var newName=nil;
1506
+ (newName=smalltalk.send((typeof window == 'undefined' ? nil : window), "_prompt_", [smalltalk.send("Rename package ", "__comma", [self['@selectedPackage']])]));
1507
+ (($receiver = newName) != nil && $receiver != undefined) ? (function(){return ((($receiver = smalltalk.send(newName, "_notEmpty", [])).klass === smalltalk.Boolean) ? ($receiver ? (function(){smalltalk.send(smalltalk.send((smalltalk.Smalltalk || Smalltalk), "_current", []), "_renamePackage_to_", [self['@selectedPackage'], newName]);return smalltalk.send(self, "_updateCategoriesList", []);})() : nil) : smalltalk.send($receiver, "_ifTrue_", [(function(){smalltalk.send(smalltalk.send((smalltalk.Smalltalk || Smalltalk), "_current", []), "_renamePackage_to_", [self['@selectedPackage'], newName]);return smalltalk.send(self, "_updateCategoriesList", []);})]));})() : nil;
1508
+ return self;}
1509
+ }),
1510
+ smalltalk.Browser);
1511
+
1512
+ smalltalk.addMethod(
1513
+ unescape('_renderBottomPanelOn_'),
1514
+ smalltalk.method({
1515
+ selector: unescape('renderBottomPanelOn%3A'),
1516
+ fn: function (html){
1517
+ var self=this;
1518
+ (function($rec){smalltalk.send($rec, "_class_", ["jt_sourceCode"]);return smalltalk.send($rec, "_with_", [(function(){(self['@sourceArea']=smalltalk.send((smalltalk.SourceArea || SourceArea), "_new", []));smalltalk.send(self['@sourceArea'], "_renderOn_", [html]);smalltalk.send(self['@sourceArea'], "_onKeyDown_", [(function(e){return smalltalk.send(self, "_handleSourceAreaKeyDown_", [e]);})]);return smalltalk.send(self['@sourceArea'], "_onKeyUp_", [(function(){return smalltalk.send(self, "_updateStatus", []);})]);})]);})(smalltalk.send(html, "_div", []));
1519
+ return self;}
1520
+ }),
1521
+ smalltalk.Browser);
1522
+
1523
+ smalltalk.addMethod(
1524
+ unescape('_renderBoxOn_'),
1525
+ smalltalk.method({
1526
+ selector: unescape('renderBoxOn%3A'),
1527
+ fn: function (html){
1528
+ var self=this;
1529
+ (function($rec){smalltalk.send($rec, "_renderTopPanelOn_", [html]);smalltalk.send($rec, "_renderTabsOn_", [html]);return smalltalk.send($rec, "_renderBottomPanelOn_", [html]);})(self);
1530
+ return self;}
1531
+ }),
1532
+ smalltalk.Browser);
1533
+
1534
+ smalltalk.addMethod(
1535
+ unescape('_renderButtonsOn_'),
1536
+ smalltalk.method({
1537
+ selector: unescape('renderButtonsOn%3A'),
1538
+ fn: function (html){
1539
+ var self=this;
1540
+ (self['@saveButton']=smalltalk.send(html, "_button", []));
1541
+ (function($rec){smalltalk.send($rec, "_with_", ["Save"]);return smalltalk.send($rec, "_onClick_", [(function(){return smalltalk.send(self, "_compile", []);})]);})(self['@saveButton']);
1542
+ (self['@methodButtons']=smalltalk.send(html, "_span", []));
1543
+ (self['@classButtons']=smalltalk.send(html, "_span", []));
1544
+ (function($rec){smalltalk.send($rec, "_class_", ["right"]);return smalltalk.send($rec, "_with_", [(function(){(function($rec){smalltalk.send($rec, "_with_", ["DoIt"]);return smalltalk.send($rec, "_onClick_", [(function(){return smalltalk.send(self['@sourceArea'], "_doIt", []);})]);})(smalltalk.send(html, "_button", []));(function($rec){smalltalk.send($rec, "_with_", ["PrintIt"]);return smalltalk.send($rec, "_onClick_", [(function(){return smalltalk.send(self['@sourceArea'], "_printIt", []);})]);})(smalltalk.send(html, "_button", []));return (function($rec){smalltalk.send($rec, "_with_", ["InspectIt"]);return smalltalk.send($rec, "_onClick_", [(function(){return smalltalk.send(self['@sourceArea'], "_inspectIt", []);})]);})(smalltalk.send(html, "_button", []));})]);})(smalltalk.send(html, "_div", []));
1545
+ smalltalk.send(self, "_updateSourceAndButtons", []);
1546
+ return self;}
1547
+ }),
1548
+ smalltalk.Browser);
1549
+
1550
+ smalltalk.addMethod(
1551
+ unescape('_renderTabsOn_'),
1552
+ smalltalk.method({
1553
+ selector: unescape('renderTabsOn%3A'),
1554
+ fn: function (html){
1555
+ var self=this;
1556
+ (self['@tabsList']=smalltalk.send(smalltalk.send(html, "_ul", []), "_class_", ["jt_tabs jt_browser"]));
1557
+ smalltalk.send(self, "_updateTabsList", []);
1558
+ return self;}
1559
+ }),
1560
+ smalltalk.Browser);
1561
+
1562
+ smalltalk.addMethod(
1563
+ unescape('_renderTopPanelOn_'),
1564
+ smalltalk.method({
1565
+ selector: unescape('renderTopPanelOn%3A'),
1566
+ fn: function (html){
1567
+ var self=this;
1568
+ (function($rec){smalltalk.send($rec, "_class_", ["top"]);return smalltalk.send($rec, "_with_", [(function(){(self['@packagesList']=smalltalk.send(smalltalk.send(html, "_ul", []), "_class_", ["jt_column browser packages"]));(function($rec){smalltalk.send($rec, "_class_", ["jt_packagesButtons"]);return smalltalk.send($rec, "_with_", [(function(){(function($rec){smalltalk.send($rec, "_title_", ["Commit classes in this package to disk"]);smalltalk.send($rec, "_onClick_", [(function(){return smalltalk.send(self, "_commitPackage", []);})]);return smalltalk.send($rec, "_with_", ["Commit"]);})(smalltalk.send(html, "_button", []));(function($rec){smalltalk.send($rec, "_title_", ["Rename package"]);smalltalk.send($rec, "_onClick_", [(function(){return smalltalk.send(self, "_renamePackage", []);})]);return smalltalk.send($rec, "_with_", ["Rename"]);})(smalltalk.send(html, "_button", []));return (function($rec){smalltalk.send($rec, "_title_", ["Remove this package from the system"]);smalltalk.send($rec, "_onClick_", [(function(){return smalltalk.send(self, "_removePackage", []);})]);return smalltalk.send($rec, "_with_", ["Remove"]);})(smalltalk.send(html, "_button", []));})]);})(smalltalk.send(html, "_div", []));(self['@classesList']=smalltalk.send((smalltalk.ClassesList || ClassesList), "_on_", [self]));smalltalk.send(self['@classesList'], "_renderOn_", [html]);(self['@protocolsList']=smalltalk.send(smalltalk.send(html, "_ul", []), "_class_", ["jt_column browser protocols"]));(self['@methodsList']=smalltalk.send(smalltalk.send(html, "_ul", []), "_class_", ["jt_column browser methods"]));(function($rec){smalltalk.send($rec, "_updateCategoriesList", []);smalltalk.send($rec, "_updateClassesList", []);smalltalk.send($rec, "_updateProtocolsList", []);return smalltalk.send($rec, "_updateMethodsList", []);})(self);return smalltalk.send(smalltalk.send(html, "_div", []), "_class_", ["jt_clear"]);})]);})(smalltalk.send(html, "_div", []));
1569
+ return self;}
1570
+ }),
1571
+ smalltalk.Browser);
1572
+
1573
+ smalltalk.addMethod(
1574
+ unescape('_resetClassesList'),
1575
+ smalltalk.method({
1576
+ selector: unescape('resetClassesList'),
1577
+ fn: function (){
1578
+ var self=this;
1579
+ smalltalk.send(self['@classesList'], "_resetNodes", []);
1580
+ return self;}
1581
+ }),
1582
+ smalltalk.Browser);
1583
+
1584
+ smalltalk.addMethod(
1585
+ unescape('_search_'),
1586
+ smalltalk.method({
1587
+ selector: unescape('search%3A'),
1588
+ fn: function (aString){
1589
+ var self=this;
1590
+ ((($receiver = smalltalk.send(self, "_cancelChanges", [])).klass === smalltalk.Boolean) ? ($receiver ? (function(){var searchedClass=nil;
1591
+ (searchedClass=smalltalk.send(smalltalk.send((smalltalk.Smalltalk || Smalltalk), "_current", []), "_at_", [aString]));return ((($receiver = smalltalk.send(searchedClass, "_isClass", [])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return smalltalk.send(smalltalk.send(self, "_class", []), "_openOn_", [searchedClass]);})() : (function(){return smalltalk.send(self, "_searchReferencesOf_", [aString]);})()) : smalltalk.send($receiver, "_ifTrue_ifFalse_", [(function(){return smalltalk.send(smalltalk.send(self, "_class", []), "_openOn_", [searchedClass]);}), (function(){return smalltalk.send(self, "_searchReferencesOf_", [aString]);})]));})() : nil) : smalltalk.send($receiver, "_ifTrue_", [(function(){var searchedClass=nil;
1592
+ (searchedClass=smalltalk.send(smalltalk.send((smalltalk.Smalltalk || Smalltalk), "_current", []), "_at_", [aString]));return ((($receiver = smalltalk.send(searchedClass, "_isClass", [])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return smalltalk.send(smalltalk.send(self, "_class", []), "_openOn_", [searchedClass]);})() : (function(){return smalltalk.send(self, "_searchReferencesOf_", [aString]);})()) : smalltalk.send($receiver, "_ifTrue_ifFalse_", [(function(){return smalltalk.send(smalltalk.send(self, "_class", []), "_openOn_", [searchedClass]);}), (function(){return smalltalk.send(self, "_searchReferencesOf_", [aString]);})]));})]));
1593
+ return self;}
1594
+ }),
1595
+ smalltalk.Browser);
1596
+
1597
+ smalltalk.addMethod(
1598
+ unescape('_searchClassReferences'),
1599
+ smalltalk.method({
1600
+ selector: unescape('searchClassReferences'),
1601
+ fn: function (){
1602
+ var self=this;
1603
+ smalltalk.send((smalltalk.ReferencesBrowser || ReferencesBrowser), "_search_", [smalltalk.send(self['@selectedClass'], "_name", [])]);
1604
+ return self;}
1605
+ }),
1606
+ smalltalk.Browser);
1607
+
1608
+ smalltalk.addMethod(
1609
+ unescape('_searchReferencesOf_'),
1610
+ smalltalk.method({
1611
+ selector: unescape('searchReferencesOf%3A'),
1612
+ fn: function (aString){
1613
+ var self=this;
1614
+ smalltalk.send((smalltalk.ReferencesBrowser || ReferencesBrowser), "_search_", [aString]);
1615
+ return self;}
1616
+ }),
1617
+ smalltalk.Browser);
1618
+
1619
+ smalltalk.addMethod(
1620
+ unescape('_selectCategory_'),
1621
+ smalltalk.method({
1622
+ selector: unescape('selectCategory%3A'),
1623
+ fn: function (aCategory){
1624
+ var self=this;
1625
+ ((($receiver = smalltalk.send(self, "_cancelChanges", [])).klass === smalltalk.Boolean) ? ($receiver ? (function(){(self['@selectedPackage']=aCategory);(self['@selectedClass']=(self['@selectedProtocol']=(self['@selectedMethod']=nil)));smalltalk.send(self, "_resetClassesList", []);return (function($rec){smalltalk.send($rec, "_updateCategoriesList", []);smalltalk.send($rec, "_updateClassesList", []);smalltalk.send($rec, "_updateProtocolsList", []);smalltalk.send($rec, "_updateMethodsList", []);return smalltalk.send($rec, "_updateSourceAndButtons", []);})(self);})() : nil) : smalltalk.send($receiver, "_ifTrue_", [(function(){(self['@selectedPackage']=aCategory);(self['@selectedClass']=(self['@selectedProtocol']=(self['@selectedMethod']=nil)));smalltalk.send(self, "_resetClassesList", []);return (function($rec){smalltalk.send($rec, "_updateCategoriesList", []);smalltalk.send($rec, "_updateClassesList", []);smalltalk.send($rec, "_updateProtocolsList", []);smalltalk.send($rec, "_updateMethodsList", []);return smalltalk.send($rec, "_updateSourceAndButtons", []);})(self);})]));
1626
+ return self;}
1627
+ }),
1628
+ smalltalk.Browser);
1629
+
1630
+ smalltalk.addMethod(
1631
+ unescape('_selectClass_'),
1632
+ smalltalk.method({
1633
+ selector: unescape('selectClass%3A'),
1634
+ fn: function (aClass){
1635
+ var self=this;
1636
+ ((($receiver = smalltalk.send(self, "_cancelChanges", [])).klass === smalltalk.Boolean) ? ($receiver ? (function(){(self['@selectedClass']=aClass);(self['@selectedProtocol']=(self['@selectedMethod']=nil));return (function($rec){smalltalk.send($rec, "_updateClassesList", []);smalltalk.send($rec, "_updateProtocolsList", []);smalltalk.send($rec, "_updateMethodsList", []);return smalltalk.send($rec, "_updateSourceAndButtons", []);})(self);})() : nil) : smalltalk.send($receiver, "_ifTrue_", [(function(){(self['@selectedClass']=aClass);(self['@selectedProtocol']=(self['@selectedMethod']=nil));return (function($rec){smalltalk.send($rec, "_updateClassesList", []);smalltalk.send($rec, "_updateProtocolsList", []);smalltalk.send($rec, "_updateMethodsList", []);return smalltalk.send($rec, "_updateSourceAndButtons", []);})(self);})]));
1637
+ return self;}
1638
+ }),
1639
+ smalltalk.Browser);
1640
+
1641
+ smalltalk.addMethod(
1642
+ unescape('_selectMethod_'),
1643
+ smalltalk.method({
1644
+ selector: unescape('selectMethod%3A'),
1645
+ fn: function (aMethod){
1646
+ var self=this;
1647
+ ((($receiver = smalltalk.send(self, "_cancelChanges", [])).klass === smalltalk.Boolean) ? ($receiver ? (function(){(self['@selectedMethod']=aMethod);return (function($rec){smalltalk.send($rec, "_updateProtocolsList", []);smalltalk.send($rec, "_updateMethodsList", []);return smalltalk.send($rec, "_updateSourceAndButtons", []);})(self);})() : nil) : smalltalk.send($receiver, "_ifTrue_", [(function(){(self['@selectedMethod']=aMethod);return (function($rec){smalltalk.send($rec, "_updateProtocolsList", []);smalltalk.send($rec, "_updateMethodsList", []);return smalltalk.send($rec, "_updateSourceAndButtons", []);})(self);})]));
1648
+ return self;}
1649
+ }),
1650
+ smalltalk.Browser);
1651
+
1652
+ smalltalk.addMethod(
1653
+ unescape('_selectProtocol_'),
1654
+ smalltalk.method({
1655
+ selector: unescape('selectProtocol%3A'),
1656
+ fn: function (aString){
1657
+ var self=this;
1658
+ ((($receiver = smalltalk.send(self, "_cancelChanges", [])).klass === smalltalk.Boolean) ? ($receiver ? (function(){(self['@selectedProtocol']=aString);(self['@selectedMethod']=nil);return (function($rec){smalltalk.send($rec, "_updateProtocolsList", []);smalltalk.send($rec, "_updateMethodsList", []);return smalltalk.send($rec, "_updateSourceAndButtons", []);})(self);})() : nil) : smalltalk.send($receiver, "_ifTrue_", [(function(){(self['@selectedProtocol']=aString);(self['@selectedMethod']=nil);return (function($rec){smalltalk.send($rec, "_updateProtocolsList", []);smalltalk.send($rec, "_updateMethodsList", []);return smalltalk.send($rec, "_updateSourceAndButtons", []);})(self);})]));
1659
+ return self;}
1660
+ }),
1661
+ smalltalk.Browser);
1662
+
1663
+ smalltalk.addMethod(
1664
+ unescape('_selectTab_'),
1665
+ smalltalk.method({
1666
+ selector: unescape('selectTab%3A'),
1667
+ fn: function (aString){
1668
+ var self=this;
1669
+ ((($receiver = smalltalk.send(self, "_cancelChanges", [])).klass === smalltalk.Boolean) ? ($receiver ? (function(){(self['@selectedTab']=aString);smalltalk.send(self, "_selectProtocol_", [nil]);return smalltalk.send(self, "_updateTabsList", []);})() : nil) : smalltalk.send($receiver, "_ifTrue_", [(function(){(self['@selectedTab']=aString);smalltalk.send(self, "_selectProtocol_", [nil]);return smalltalk.send(self, "_updateTabsList", []);})]));
1670
+ return self;}
1671
+ }),
1672
+ smalltalk.Browser);
1673
+
1674
+ smalltalk.addMethod(
1675
+ unescape('_selectedClass'),
1676
+ smalltalk.method({
1677
+ selector: unescape('selectedClass'),
1678
+ fn: function (){
1679
+ var self=this;
1680
+ return self['@selectedClass'];
1681
+ return self;}
1682
+ }),
1683
+ smalltalk.Browser);
1684
+
1685
+ smalltalk.addMethod(
1686
+ unescape('_selectedPackage'),
1687
+ smalltalk.method({
1688
+ selector: unescape('selectedPackage'),
1689
+ fn: function (){
1690
+ var self=this;
1691
+ return self['@selectedPackage'];
1692
+ return self;}
1693
+ }),
1694
+ smalltalk.Browser);
1695
+
1696
+ smalltalk.addMethod(
1697
+ unescape('_setMethodProtocol_'),
1698
+ smalltalk.method({
1699
+ selector: unescape('setMethodProtocol%3A'),
1700
+ fn: function (aString){
1701
+ var self=this;
1702
+ ((($receiver = smalltalk.send(self, "_cancelChanges", [])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return ((($receiver = smalltalk.send(smalltalk.send(self, "_protocols", []), "_includes_", [aString])).klass === smalltalk.Boolean) ? (! $receiver ? (function(){return smalltalk.send(self, "_addNewProtocol", []);})() : (function(){smalltalk.send(self['@selectedMethod'], "_category_", [aString]);(self['@selectedProtocol']=aString);(self['@selectedMethod']=self['@selectedMethod']);return (function($rec){smalltalk.send($rec, "_updateProtocolsList", []);smalltalk.send($rec, "_updateMethodsList", []);return smalltalk.send($rec, "_updateSourceAndButtons", []);})(self);})()) : smalltalk.send($receiver, "_ifFalse_ifTrue_", [(function(){return smalltalk.send(self, "_addNewProtocol", []);}), (function(){smalltalk.send(self['@selectedMethod'], "_category_", [aString]);(self['@selectedProtocol']=aString);(self['@selectedMethod']=self['@selectedMethod']);return (function($rec){smalltalk.send($rec, "_updateProtocolsList", []);smalltalk.send($rec, "_updateMethodsList", []);return smalltalk.send($rec, "_updateSourceAndButtons", []);})(self);})]));})() : nil) : smalltalk.send($receiver, "_ifTrue_", [(function(){return ((($receiver = smalltalk.send(smalltalk.send(self, "_protocols", []), "_includes_", [aString])).klass === smalltalk.Boolean) ? (! $receiver ? (function(){return smalltalk.send(self, "_addNewProtocol", []);})() : (function(){smalltalk.send(self['@selectedMethod'], "_category_", [aString]);(self['@selectedProtocol']=aString);(self['@selectedMethod']=self['@selectedMethod']);return (function($rec){smalltalk.send($rec, "_updateProtocolsList", []);smalltalk.send($rec, "_updateMethodsList", []);return smalltalk.send($rec, "_updateSourceAndButtons", []);})(self);})()) : smalltalk.send($receiver, "_ifFalse_ifTrue_", [(function(){return smalltalk.send(self, "_addNewProtocol", []);}), (function(){smalltalk.send(self['@selectedMethod'], "_category_", [aString]);(self['@selectedProtocol']=aString);(self['@selectedMethod']=self['@selectedMethod']);return (function($rec){smalltalk.send($rec, "_updateProtocolsList", []);smalltalk.send($rec, "_updateMethodsList", []);return smalltalk.send($rec, "_updateSourceAndButtons", []);})(self);})]));})]));
1703
+ return self;}
1704
+ }),
1705
+ smalltalk.Browser);
1706
+
1707
+ smalltalk.addMethod(
1708
+ unescape('_showClassButtons'),
1709
+ smalltalk.method({
1710
+ selector: unescape('showClassButtons'),
1711
+ fn: function (){
1712
+ var self=this;
1713
+ smalltalk.send(smalltalk.send(self['@classButtons'], "_asJQuery", []), "_show", []);
1714
+ return self;}
1715
+ }),
1716
+ smalltalk.Browser);
1717
+
1718
+ smalltalk.addMethod(
1719
+ unescape('_showMethodButtons'),
1720
+ smalltalk.method({
1721
+ selector: unescape('showMethodButtons'),
1722
+ fn: function (){
1723
+ var self=this;
1724
+ smalltalk.send(smalltalk.send(self['@methodButtons'], "_asJQuery", []), "_show", []);
1725
+ return self;}
1726
+ }),
1727
+ smalltalk.Browser);
1728
+
1729
+ smalltalk.addMethod(
1730
+ unescape('_source'),
1731
+ smalltalk.method({
1732
+ selector: unescape('source'),
1733
+ fn: function (){
1734
+ var self=this;
1735
+ try{((($receiver = smalltalk.send(self['@selectedTab'], "__eq", [smalltalk.symbolFor("comment")])).klass === smalltalk.Boolean) ? (! $receiver ? (function(){return (function(){throw({name: 'stReturn', selector: '_source', fn: function(){return ((($receiver = smalltalk.send(smalltalk.send(self['@selectedProtocol'], "_notNil", []), "_or_", [(function(){return smalltalk.send(self['@selectedMethod'], "_notNil", []);})])).klass === smalltalk.Boolean) ? (! $receiver ? (function(){return smalltalk.send(self, "_declarationSource", []);})() : (function(){return smalltalk.send(self, "_methodSource", []);})()) : smalltalk.send($receiver, "_ifFalse_ifTrue_", [(function(){return smalltalk.send(self, "_declarationSource", []);}), (function(){return smalltalk.send(self, "_methodSource", []);})]))}})})();})() : nil) : smalltalk.send($receiver, "_ifFalse_", [(function(){return (function(){throw({name: 'stReturn', selector: '_source', fn: function(){return ((($receiver = smalltalk.send(smalltalk.send(self['@selectedProtocol'], "_notNil", []), "_or_", [(function(){return smalltalk.send(self['@selectedMethod'], "_notNil", []);})])).klass === smalltalk.Boolean) ? (! $receiver ? (function(){return smalltalk.send(self, "_declarationSource", []);})() : (function(){return smalltalk.send(self, "_methodSource", []);})()) : smalltalk.send($receiver, "_ifFalse_ifTrue_", [(function(){return smalltalk.send(self, "_declarationSource", []);}), (function(){return smalltalk.send(self, "_methodSource", []);})]))}})})();})]));
1736
+ (function(){throw({name: 'stReturn', selector: '_source', fn: function(){return (($receiver = self['@selectedClass']) == nil || $receiver == undefined) ? (function(){return "";})() : (function(){return smalltalk.send(self, "_classCommentSource", []);})()}})})();
1737
+ return self;
1738
+ } catch(e) {if(e.name === 'stReturn' && e.selector === '_source'){return e.fn()} throw(e)}}
1739
+ }),
1740
+ smalltalk.Browser);
1741
+
1742
+ smalltalk.addMethod(
1743
+ unescape('_updateCategoriesList'),
1744
+ smalltalk.method({
1745
+ selector: unescape('updateCategoriesList'),
1746
+ fn: function (){
1747
+ var self=this;
1748
+ smalltalk.send(self['@packagesList'], "_contents_", [(function(html){return smalltalk.send(smalltalk.send(self, "_packages", []), "_do_", [(function(each){var li=nil;
1749
+ var label=nil;
1750
+ ((($receiver = smalltalk.send(each, "_isEmpty", [])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return (label="Unclassified");})() : (function(){return (label=each);})()) : smalltalk.send($receiver, "_ifTrue_ifFalse_", [(function(){return (label="Unclassified");}), (function(){return (label=each);})]));(li=smalltalk.send(html, "_li", []));((($receiver = smalltalk.send(self['@selectedPackage'], "__eq", [each])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return smalltalk.send(li, "_class_", ["selected"]);})() : nil) : smalltalk.send($receiver, "_ifTrue_", [(function(){return smalltalk.send(li, "_class_", ["selected"]);})]));return (function($rec){smalltalk.send($rec, "_with_", [label]);return smalltalk.send($rec, "_onClick_", [(function(){return smalltalk.send(self, "_selectCategory_", [each]);})]);})(li);})]);})]);
1751
+ return self;}
1752
+ }),
1753
+ smalltalk.Browser);
1754
+
1755
+ smalltalk.addMethod(
1756
+ unescape('_updateClassesList'),
1757
+ smalltalk.method({
1758
+ selector: unescape('updateClassesList'),
1759
+ fn: function (){
1760
+ var self=this;
1761
+ smalltalk.send(smalltalk.send((smalltalk.TabManager || TabManager), "_current", []), "_update", []);
1762
+ smalltalk.send(self['@classesList'], "_updateNodes", []);
1763
+ return self;}
1764
+ }),
1765
+ smalltalk.Browser);
1766
+
1767
+ smalltalk.addMethod(
1768
+ unescape('_updateMethodsList'),
1769
+ smalltalk.method({
1770
+ selector: unescape('updateMethodsList'),
1771
+ fn: function (){
1772
+ var self=this;
1773
+ smalltalk.send(self['@methodsList'], "_contents_", [(function(html){return smalltalk.send(smalltalk.send(self, "_methods", []), "_do_", [(function(each){var li=nil;
1774
+ (li=smalltalk.send(html, "_li", []));((($receiver = smalltalk.send(self['@selectedMethod'], "__eq", [each])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return smalltalk.send(li, "_class_", ["selected"]);})() : nil) : smalltalk.send($receiver, "_ifTrue_", [(function(){return smalltalk.send(li, "_class_", ["selected"]);})]));return (function($rec){smalltalk.send($rec, "_with_", [smalltalk.send(each, "_selector", [])]);return smalltalk.send($rec, "_onClick_", [(function(){return smalltalk.send(self, "_selectMethod_", [each]);})]);})(li);})]);})]);
1775
+ return self;}
1776
+ }),
1777
+ smalltalk.Browser);
1778
+
1779
+ smalltalk.addMethod(
1780
+ unescape('_updateProtocolsList'),
1781
+ smalltalk.method({
1782
+ selector: unescape('updateProtocolsList'),
1783
+ fn: function (){
1784
+ var self=this;
1785
+ smalltalk.send(self['@protocolsList'], "_contents_", [(function(html){return smalltalk.send(smalltalk.send(self, "_protocols", []), "_do_", [(function(each){var li=nil;
1786
+ (li=smalltalk.send(html, "_li", []));((($receiver = smalltalk.send(self['@selectedProtocol'], "__eq", [each])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return smalltalk.send(li, "_class_", ["selected"]);})() : nil) : smalltalk.send($receiver, "_ifTrue_", [(function(){return smalltalk.send(li, "_class_", ["selected"]);})]));return (function($rec){smalltalk.send($rec, "_with_", [each]);return smalltalk.send($rec, "_onClick_", [(function(){return smalltalk.send(self, "_selectProtocol_", [each]);})]);})(li);})]);})]);
1787
+ return self;}
1788
+ }),
1789
+ smalltalk.Browser);
1790
+
1791
+ smalltalk.addMethod(
1792
+ unescape('_updateSourceAndButtons'),
1793
+ smalltalk.method({
1794
+ selector: unescape('updateSourceAndButtons'),
1795
+ fn: function (){
1796
+ var self=this;
1797
+ smalltalk.send(self, "_disableSaveButton", []);
1798
+ smalltalk.send(self['@classButtons'], "_contents_", [(function(html){(function($rec){smalltalk.send($rec, "_title_", ["Create a new class"]);smalltalk.send($rec, "_onClick_", [(function(){return smalltalk.send(self, "_addNewClass", []);})]);return smalltalk.send($rec, "_with_", ["New class"]);})(smalltalk.send(html, "_button", []));(function($rec){smalltalk.send($rec, "_with_", ["Rename class"]);return smalltalk.send($rec, "_onClick_", [(function(){return smalltalk.send(self, "_renameClass", []);})]);})(smalltalk.send(html, "_button", []));(function($rec){smalltalk.send($rec, "_with_", ["Copy class"]);return smalltalk.send($rec, "_onClick_", [(function(){return smalltalk.send(self, "_copyClass", []);})]);})(smalltalk.send(html, "_button", []));(function($rec){smalltalk.send($rec, "_with_", ["Remove class"]);return smalltalk.send($rec, "_onClick_", [(function(){return smalltalk.send(self, "_removeClass", []);})]);})(smalltalk.send(html, "_button", []));return (function($rec){smalltalk.send($rec, "_with_", ["References"]);return smalltalk.send($rec, "_onClick_", [(function(){return smalltalk.send(self, "_searchClassReferences", []);})]);})(smalltalk.send(html, "_button", []));})]);
1799
+ smalltalk.send(self['@methodButtons'], "_contents_", [(function(html){var protocolSelect=nil;
1800
+ var referencesSelect=nil;
1801
+ (function($rec){smalltalk.send($rec, "_with_", ["Remove method"]);return smalltalk.send($rec, "_onClick_", [(function(){return smalltalk.send(self, "_removeMethod", []);})]);})(smalltalk.send(html, "_button", []));(protocolSelect=smalltalk.send(html, "_select", []));(function($rec){smalltalk.send($rec, "_onChange_", [(function(){return smalltalk.send(self, "_setMethodProtocol_", [smalltalk.send(smalltalk.send(protocolSelect, "_asJQuery", []), "_val", [])]);})]);return smalltalk.send($rec, "_with_", [(function(){(function($rec){smalltalk.send($rec, "_with_", ["Method protocol"]);return smalltalk.send($rec, "_at_put_", ["disabled", "disabled"]);})(smalltalk.send(html, "_option", []));(function($rec){smalltalk.send($rec, "_class_", ["important"]);return smalltalk.send($rec, "_with_", ["New..."]);})(smalltalk.send(html, "_option", []));return smalltalk.send(smalltalk.send(self, "_protocols", []), "_do_", [(function(each){(option=smalltalk.send(smalltalk.send(html, "_option", []), "_with_", [each]));return ((($receiver = smalltalk.send(self['@selectedProtocol'], "__eq", [each])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return smalltalk.send((typeof option == 'undefined' ? nil : option), "_at_put_", ["selected", "selected"]);})() : nil) : smalltalk.send($receiver, "_ifTrue_", [(function(){return smalltalk.send((typeof option == 'undefined' ? nil : option), "_at_put_", ["selected", "selected"]);})]));})]);})]);})(protocolSelect);return ((($receiver = smalltalk.send(self['@selectedMethod'], "_isNil", [])).klass === smalltalk.Boolean) ? (! $receiver ? (function(){(referencesSelect=smalltalk.send(html, "_select", []));return (function($rec){smalltalk.send($rec, "_onChange_", [(function(){return smalltalk.send(self, "_searchReferencesOf_", [smalltalk.send(smalltalk.send(referencesSelect, "_asJQuery", []), "_val", [])]);})]);return smalltalk.send($rec, "_with_", [(function(){var option=nil;
1802
+ (function($rec){smalltalk.send($rec, "_with_", ["References"]);return smalltalk.send($rec, "_at_put_", ["disabled", "disabled"]);})(smalltalk.send(html, "_option", []));(function($rec){smalltalk.send($rec, "_class_", ["important"]);return smalltalk.send($rec, "_with_", [smalltalk.send(self['@selectedMethod'], "_selector", [])]);})(smalltalk.send(html, "_option", []));return smalltalk.send(smalltalk.send(smalltalk.send(self['@selectedMethod'], "_messageSends", []), "_sorted", []), "_do_", [(function(each){return smalltalk.send(smalltalk.send(html, "_option", []), "_with_", [each]);})]);})]);})(referencesSelect);})() : nil) : smalltalk.send($receiver, "_ifFalse_", [(function(){(referencesSelect=smalltalk.send(html, "_select", []));return (function($rec){smalltalk.send($rec, "_onChange_", [(function(){return smalltalk.send(self, "_searchReferencesOf_", [smalltalk.send(smalltalk.send(referencesSelect, "_asJQuery", []), "_val", [])]);})]);return smalltalk.send($rec, "_with_", [(function(){var option=nil;
1803
+ (function($rec){smalltalk.send($rec, "_with_", ["References"]);return smalltalk.send($rec, "_at_put_", ["disabled", "disabled"]);})(smalltalk.send(html, "_option", []));(function($rec){smalltalk.send($rec, "_class_", ["important"]);return smalltalk.send($rec, "_with_", [smalltalk.send(self['@selectedMethod'], "_selector", [])]);})(smalltalk.send(html, "_option", []));return smalltalk.send(smalltalk.send(smalltalk.send(self['@selectedMethod'], "_messageSends", []), "_sorted", []), "_do_", [(function(each){return smalltalk.send(smalltalk.send(html, "_option", []), "_with_", [each]);})]);})]);})(referencesSelect);})]));})]);
1804
+ ((($receiver = smalltalk.send(self['@selectedMethod'], "_isNil", [])).klass === smalltalk.Boolean) ? ($receiver ? (function(){smalltalk.send(self, "_hideMethodButtons", []);return ((($receiver = smalltalk.send(smalltalk.send(self['@selectedClass'], "_isNil", []), "_or_", [(function(){return smalltalk.send(self['@selectedProtocol'], "_notNil", []);})])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return smalltalk.send(self, "_hideClassButtons", []);})() : (function(){return smalltalk.send(self, "_showClassButtons", []);})()) : smalltalk.send($receiver, "_ifTrue_ifFalse_", [(function(){return smalltalk.send(self, "_hideClassButtons", []);}), (function(){return smalltalk.send(self, "_showClassButtons", []);})]));})() : (function(){smalltalk.send(self, "_hideClassButtons", []);return smalltalk.send(self, "_showMethodButtons", []);})()) : smalltalk.send($receiver, "_ifTrue_ifFalse_", [(function(){smalltalk.send(self, "_hideMethodButtons", []);return ((($receiver = smalltalk.send(smalltalk.send(self['@selectedClass'], "_isNil", []), "_or_", [(function(){return smalltalk.send(self['@selectedProtocol'], "_notNil", []);})])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return smalltalk.send(self, "_hideClassButtons", []);})() : (function(){return smalltalk.send(self, "_showClassButtons", []);})()) : smalltalk.send($receiver, "_ifTrue_ifFalse_", [(function(){return smalltalk.send(self, "_hideClassButtons", []);}), (function(){return smalltalk.send(self, "_showClassButtons", []);})]));}), (function(){smalltalk.send(self, "_hideClassButtons", []);return smalltalk.send(self, "_showMethodButtons", []);})]));
1805
+ smalltalk.send(self['@sourceArea'], "_val_", [smalltalk.send(self, "_source", [])]);
1806
+ return self;}
1807
+ }),
1808
+ smalltalk.Browser);
1809
+
1810
+ smalltalk.addMethod(
1811
+ unescape('_updateStatus'),
1812
+ smalltalk.method({
1813
+ selector: unescape('updateStatus'),
1814
+ fn: function (){
1815
+ var self=this;
1816
+ ((($receiver = smalltalk.send(smalltalk.send(self['@sourceArea'], "_val", []), "__eq", [smalltalk.send(self, "_source", [])])).klass === smalltalk.Boolean) ? ($receiver ? (function(){(($receiver = self['@saveButton']) != nil && $receiver != undefined) ? (function(){return smalltalk.send(self['@saveButton'], "_at_put_", ["disabled", true]);})() : nil;return (self['@unsavedChanges']=false);})() : (function(){(($receiver = self['@saveButton']) != nil && $receiver != undefined) ? (function(){return smalltalk.send(self['@saveButton'], "_removeAt_", ["disabled"]);})() : nil;return (self['@unsavedChanges']=true);})()) : smalltalk.send($receiver, "_ifTrue_ifFalse_", [(function(){(($receiver = self['@saveButton']) != nil && $receiver != undefined) ? (function(){return smalltalk.send(self['@saveButton'], "_at_put_", ["disabled", true]);})() : nil;return (self['@unsavedChanges']=false);}), (function(){(($receiver = self['@saveButton']) != nil && $receiver != undefined) ? (function(){return smalltalk.send(self['@saveButton'], "_removeAt_", ["disabled"]);})() : nil;return (self['@unsavedChanges']=true);})]));
1817
+ return self;}
1818
+ }),
1819
+ smalltalk.Browser);
1820
+
1821
+ smalltalk.addMethod(
1822
+ unescape('_updateTabsList'),
1823
+ smalltalk.method({
1824
+ selector: unescape('updateTabsList'),
1825
+ fn: function (){
1826
+ var self=this;
1827
+ smalltalk.send(self['@tabsList'], "_contents_", [(function(html){var li=nil;
1828
+ (li=smalltalk.send(html, "_li", []));((($receiver = smalltalk.send(self['@selectedTab'], "__eq", [smalltalk.symbolFor("instance")])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return smalltalk.send(li, "_class_", ["selected"]);})() : nil) : smalltalk.send($receiver, "_ifTrue_", [(function(){return smalltalk.send(li, "_class_", ["selected"]);})]));(function($rec){smalltalk.send($rec, "_with_", [(function(){smalltalk.send(smalltalk.send(html, "_span", []), "_class_", ["ltab"]);(function($rec){smalltalk.send($rec, "_class_", ["mtab"]);return smalltalk.send($rec, "_with_", ["Instance"]);})(smalltalk.send(html, "_span", []));return smalltalk.send(smalltalk.send(html, "_span", []), "_class_", ["rtab"]);})]);return smalltalk.send($rec, "_onClick_", [(function(){return smalltalk.send(self, "_selectTab_", [smalltalk.symbolFor("instance")]);})]);})(li);(li=smalltalk.send(html, "_li", []));((($receiver = smalltalk.send(self['@selectedTab'], "__eq", [smalltalk.symbolFor("class")])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return smalltalk.send(li, "_class_", ["selected"]);})() : nil) : smalltalk.send($receiver, "_ifTrue_", [(function(){return smalltalk.send(li, "_class_", ["selected"]);})]));(function($rec){smalltalk.send($rec, "_with_", [(function(){smalltalk.send(smalltalk.send(html, "_span", []), "_class_", ["ltab"]);(function($rec){smalltalk.send($rec, "_class_", ["mtab"]);return smalltalk.send($rec, "_with_", ["Class"]);})(smalltalk.send(html, "_span", []));return smalltalk.send(smalltalk.send(html, "_span", []), "_class_", ["rtab"]);})]);return smalltalk.send($rec, "_onClick_", [(function(){return smalltalk.send(self, "_selectTab_", [smalltalk.symbolFor("class")]);})]);})(li);(li=smalltalk.send(html, "_li", []));((($receiver = smalltalk.send(self['@selectedTab'], "__eq", [smalltalk.symbolFor("comment")])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return smalltalk.send(li, "_class_", ["selected"]);})() : nil) : smalltalk.send($receiver, "_ifTrue_", [(function(){return smalltalk.send(li, "_class_", ["selected"]);})]));return (function($rec){smalltalk.send($rec, "_with_", [(function(){smalltalk.send(smalltalk.send(html, "_span", []), "_class_", ["ltab"]);(function($rec){smalltalk.send($rec, "_class_", ["mtab"]);return smalltalk.send($rec, "_with_", ["Comment"]);})(smalltalk.send(html, "_span", []));return smalltalk.send(smalltalk.send(html, "_span", []), "_class_", ["rtab"]);})]);return smalltalk.send($rec, "_onClick_", [(function(){return smalltalk.send(self, "_selectTab_", [smalltalk.symbolFor("comment")]);})]);})(li);})]);
1829
+ return self;}
1830
+ }),
1831
+ smalltalk.Browser);
1832
+
1833
+
1834
+ smalltalk.addMethod(
1835
+ unescape('_commitPathJs'),
1836
+ smalltalk.method({
1837
+ selector: unescape('commitPathJs'),
1838
+ fn: function (){
1839
+ var self=this;
1840
+ return "js";
1841
+ return self;}
1842
+ }),
1843
+ smalltalk.Browser.klass);
1844
+
1845
+ smalltalk.addMethod(
1846
+ unescape('_commitPathSt'),
1847
+ smalltalk.method({
1848
+ selector: unescape('commitPathSt'),
1849
+ fn: function (){
1850
+ var self=this;
1851
+ return "st";
1852
+ return self;}
1853
+ }),
1854
+ smalltalk.Browser.klass);
1855
+
1856
+ smalltalk.addMethod(
1857
+ unescape('_open'),
1858
+ smalltalk.method({
1859
+ selector: unescape('open'),
1860
+ fn: function (){
1861
+ var self=this;
1862
+ smalltalk.send(smalltalk.send(self, "_new", []), "_open", []);
1863
+ return self;}
1864
+ }),
1865
+ smalltalk.Browser.klass);
1866
+
1867
+ smalltalk.addMethod(
1868
+ unescape('_openOn_'),
1869
+ smalltalk.method({
1870
+ selector: unescape('openOn%3A'),
1871
+ fn: function (aClass){
1872
+ var self=this;
1873
+ return (function($rec){smalltalk.send($rec, "_open", []);smalltalk.send($rec, "_selectCategory_", [smalltalk.send(aClass, "_category", [])]);return smalltalk.send($rec, "_selectClass_", [aClass]);})(smalltalk.send(self, "_new", []));
1874
+ return self;}
1875
+ }),
1876
+ smalltalk.Browser.klass);
1877
+
1878
+
1879
+ smalltalk.addClass('Debugger', smalltalk.TabWidget, ['error', 'selectedContext', 'sourceArea', 'ul', 'ul2', 'inspector', 'saveButton', 'unsavedChanges', 'selectedVariable', 'selectedVariableName', 'inspectButton'], 'IDE');
1880
+ smalltalk.addMethod(
1881
+ unescape('_arguments'),
1882
+ smalltalk.method({
1883
+ selector: unescape('arguments'),
1884
+ fn: function (){
1885
+ var self=this;
1886
+ return (($receiver = smalltalk.send(self, "_method", [])) == nil || $receiver == undefined) ? (function(){return smalltalk.send(smalltalk.send(self['@selectedContext'], "_temps", []), "_collect_", [(function(each){return nil;})]);})() : (function(){return smalltalk.send(smalltalk.send(self, "_method", []), "_arguments", []);})();
1887
+ return self;}
1888
+ }),
1889
+ smalltalk.Debugger);
1890
+
1891
+ smalltalk.addMethod(
1892
+ unescape('_canBeClosed'),
1893
+ smalltalk.method({
1894
+ selector: unescape('canBeClosed'),
1895
+ fn: function (){
1896
+ var self=this;
1897
+ return true;
1898
+ return self;}
1899
+ }),
1900
+ smalltalk.Debugger);
1901
+
1902
+ smalltalk.addMethod(
1903
+ unescape('_error'),
1904
+ smalltalk.method({
1905
+ selector: unescape('error'),
1906
+ fn: function (){
1907
+ var self=this;
1908
+ return self['@error'];
1909
+ return self;}
1910
+ }),
1911
+ smalltalk.Debugger);
1912
+
1913
+ smalltalk.addMethod(
1914
+ unescape('_error_'),
1915
+ smalltalk.method({
1916
+ selector: unescape('error%3A'),
1917
+ fn: function (anError){
1918
+ var self=this;
1919
+ (self['@error']=anError);
1920
+ return self;}
1921
+ }),
1922
+ smalltalk.Debugger);
1923
+
1924
+ smalltalk.addMethod(
1925
+ unescape('_initialize'),
1926
+ smalltalk.method({
1927
+ selector: unescape('initialize'),
1928
+ fn: function (){
1929
+ var self=this;
1930
+ smalltalk.send(self, "_initialize", [], smalltalk.TabWidget);
1931
+ smalltalk.send(self['@unsavedChanges'], "__eq", [false]);
1932
+ return self;}
1933
+ }),
1934
+ smalltalk.Debugger);
1935
+
1936
+ smalltalk.addMethod(
1937
+ unescape('_inspectSelectedVariable'),
1938
+ smalltalk.method({
1939
+ selector: unescape('inspectSelectedVariable'),
1940
+ fn: function (){
1941
+ var self=this;
1942
+ smalltalk.send(self['@selectedVariable'], "_inspect", []);
1943
+ return self;}
1944
+ }),
1945
+ smalltalk.Debugger);
1946
+
1947
+ smalltalk.addMethod(
1948
+ unescape('_label'),
1949
+ smalltalk.method({
1950
+ selector: unescape('label'),
1951
+ fn: function (){
1952
+ var self=this;
1953
+ return unescape("%5BDebugger%5D");
1954
+ return self;}
1955
+ }),
1956
+ smalltalk.Debugger);
1957
+
1958
+ smalltalk.addMethod(
1959
+ unescape('_method'),
1960
+ smalltalk.method({
1961
+ selector: unescape('method'),
1962
+ fn: function (){
1963
+ var self=this;
1964
+ return smalltalk.send(smalltalk.send(smalltalk.send(self['@selectedContext'], "_receiver", []), "_class", []), "_methodAt_", [smalltalk.send(self['@selectedContext'], "_selector", [])]);
1965
+ return self;}
1966
+ }),
1967
+ smalltalk.Debugger);
1968
+
1969
+ smalltalk.addMethod(
1970
+ unescape('_proceed'),
1971
+ smalltalk.method({
1972
+ selector: unescape('proceed'),
1973
+ fn: function (){
1974
+ var self=this;
1975
+ smalltalk.send(self, "_close", []);
1976
+ smalltalk.send(smalltalk.send(self['@selectedContext'], "_receiver", []), "_perform_withArguments_", [smalltalk.send(self['@selectedContext'], "_selector", []), smalltalk.send(self['@selectedContext'], "_temps", [])]);
1977
+ return self;}
1978
+ }),
1979
+ smalltalk.Debugger);
1980
+
1981
+ smalltalk.addMethod(
1982
+ unescape('_receiver'),
1983
+ smalltalk.method({
1984
+ selector: unescape('receiver'),
1985
+ fn: function (){
1986
+ var self=this;
1987
+ return smalltalk.send(self['@selectedContext'], "_receiver", []);
1988
+ return self;}
1989
+ }),
1990
+ smalltalk.Debugger);
1991
+
1992
+ smalltalk.addMethod(
1993
+ unescape('_renderBottomPanelOn_'),
1994
+ smalltalk.method({
1995
+ selector: unescape('renderBottomPanelOn%3A'),
1996
+ fn: function (html){
1997
+ var self=this;
1998
+ (function($rec){smalltalk.send($rec, "_class_", ["jt_sourceCode debugger"]);return smalltalk.send($rec, "_with_", [(function(){(self['@sourceArea']=smalltalk.send((smalltalk.SourceArea || SourceArea), "_new", []));return smalltalk.send(self['@sourceArea'], "_renderOn_", [html]);})]);})(smalltalk.send(html, "_div", []));
1999
+ (self['@ul2']=smalltalk.send(smalltalk.send(html, "_ul", []), "_class_", ["jt_column debugger variables"]));
2000
+ (self['@inspector']=smalltalk.send(smalltalk.send(html, "_div", []), "_class_", ["jt_column debugger inspector"]));
2001
+ smalltalk.send(self['@sourceArea'], "_onKeyUp_", [(function(){return smalltalk.send(self, "_updateStatus", []);})]);
2002
+ return self;}
2003
+ }),
2004
+ smalltalk.Debugger);
2005
+
2006
+ smalltalk.addMethod(
2007
+ unescape('_renderBoxOn_'),
2008
+ smalltalk.method({
2009
+ selector: unescape('renderBoxOn%3A'),
2010
+ fn: function (html){
2011
+ var self=this;
2012
+ (function($rec){smalltalk.send($rec, "_renderTopPanelOn_", [html]);return smalltalk.send($rec, "_renderBottomPanelOn_", [html]);})(self);
2013
+ return self;}
2014
+ }),
2015
+ smalltalk.Debugger);
2016
+
2017
+ smalltalk.addMethod(
2018
+ unescape('_renderButtonsOn_'),
2019
+ smalltalk.method({
2020
+ selector: unescape('renderButtonsOn%3A'),
2021
+ fn: function (html){
2022
+ var self=this;
2023
+ (self['@saveButton']=(function($rec){smalltalk.send($rec, "_with_", ["Save"]);return smalltalk.send($rec, "_onClick_", [(function(){return smalltalk.send(self, "_save", []);})]);})(smalltalk.send(html, "_button", [])));
2024
+ (function($rec){smalltalk.send($rec, "_with_", ["DoIt"]);return smalltalk.send($rec, "_onClick_", [(function(){return smalltalk.send(self['@sourceArea'], "_doIt", []);})]);})(smalltalk.send(html, "_button", []));
2025
+ (function($rec){smalltalk.send($rec, "_with_", ["PrintIt"]);return smalltalk.send($rec, "_onClick_", [(function(){return smalltalk.send(self['@sourceArea'], "_printIt", []);})]);})(smalltalk.send(html, "_button", []));
2026
+ (function($rec){smalltalk.send($rec, "_with_", ["InspectIt"]);return smalltalk.send($rec, "_onClick_", [(function(){return smalltalk.send(self['@sourceArea'], "_inspectIt", []);})]);})(smalltalk.send(html, "_button", []));
2027
+ (function($rec){smalltalk.send($rec, "_with_", ["Proceed"]);return smalltalk.send($rec, "_onClick_", [(function(){return smalltalk.send(self, "_proceed", []);})]);})(smalltalk.send(html, "_button", []));
2028
+ (function($rec){smalltalk.send($rec, "_with_", ["Abandon"]);return smalltalk.send($rec, "_onClick_", [(function(){return smalltalk.send(self, "_close", []);})]);})(smalltalk.send(html, "_button", []));
2029
+ (self['@inspectButton']=(function($rec){smalltalk.send($rec, "_class_", ["jt_button debugger inspect"]);smalltalk.send($rec, "_with_", ["Inspect"]);return smalltalk.send($rec, "_onClick_", [(function(){return smalltalk.send(self, "_inspectSelectedVariable", []);})]);})(smalltalk.send(html, "_button", [])));
2030
+ (function($rec){smalltalk.send($rec, "_updateSourceArea", []);smalltalk.send($rec, "_updateStatus", []);smalltalk.send($rec, "_updateVariablesList", []);return smalltalk.send($rec, "_updateInspector", []);})(self);
2031
+ return self;}
2032
+ }),
2033
+ smalltalk.Debugger);
2034
+
2035
+ smalltalk.addMethod(
2036
+ unescape('_renderContext_on_'),
2037
+ smalltalk.method({
2038
+ selector: unescape('renderContext%3Aon%3A'),
2039
+ fn: function (aContext, html){
2040
+ var self=this;
2041
+ var li=nil;
2042
+ (li=smalltalk.send(html, "_li", []));
2043
+ ((($receiver = smalltalk.send(self['@selectedContext'], "__eq", [aContext])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return smalltalk.send(li, "_class_", ["selected"]);})() : nil) : smalltalk.send($receiver, "_ifTrue_", [(function(){return smalltalk.send(li, "_class_", ["selected"]);})]));
2044
+ (function($rec){smalltalk.send($rec, "_with_", [smalltalk.send(aContext, "_asString", [])]);return smalltalk.send($rec, "_onClick_", [(function(){return smalltalk.send(self, "_selectContext_", [aContext]);})]);})(li);
2045
+ (($receiver = smalltalk.send(aContext, "_home", [])) != nil && $receiver != undefined) ? (function(){return smalltalk.send(self, "_renderContext_on_", [smalltalk.send(aContext, "_home", []), html]);})() : nil;
2046
+ return self;}
2047
+ }),
2048
+ smalltalk.Debugger);
2049
+
2050
+ smalltalk.addMethod(
2051
+ unescape('_renderTopPanelOn_'),
2052
+ smalltalk.method({
2053
+ selector: unescape('renderTopPanelOn%3A'),
2054
+ fn: function (html){
2055
+ var self=this;
2056
+ (self['@selectedContext']=smalltalk.send(smalltalk.send(self, "_error", []), "_context", []));
2057
+ (function($rec){smalltalk.send($rec, "_class_", ["top"]);return smalltalk.send($rec, "_with_", [(function(){(function($rec){smalltalk.send($rec, "_class_", ["label"]);return smalltalk.send($rec, "_with_", [smalltalk.send(smalltalk.send(self, "_error", []), "_messageText", [])]);})(smalltalk.send(html, "_div", []));return (self['@ul']=(function($rec){smalltalk.send($rec, "_class_", ["jt_column debugger contexts"]);return smalltalk.send($rec, "_with_", [(function(){return smalltalk.send(self, "_renderContext_on_", [smalltalk.send(smalltalk.send(self, "_error", []), "_context", []), html]);})]);})(smalltalk.send(html, "_ul", [])));})]);})(smalltalk.send(html, "_div", []));
2058
+ return self;}
2059
+ }),
2060
+ smalltalk.Debugger);
2061
+
2062
+ smalltalk.addMethod(
2063
+ unescape('_save'),
2064
+ smalltalk.method({
2065
+ selector: unescape('save'),
2066
+ fn: function (){
2067
+ var self=this;
2068
+ var protocol=nil;
2069
+ (protocol=smalltalk.send(smalltalk.send(smalltalk.send(smalltalk.send(smalltalk.send(self['@selectedContext'], "_receiver", []), "_class", []), "_methodDictionary", []), "_at_", [smalltalk.send(self['@selectedContext'], "_selector", [])]), "_category", []));
2070
+ smalltalk.send(smalltalk.send(smalltalk.send(self['@selectedContext'], "_receiver", []), "_class", []), "_compile_category_", [smalltalk.send(self['@sourceArea'], "_val", []), protocol]);
2071
+ smalltalk.send(self, "_updateStatus", []);
2072
+ return self;}
2073
+ }),
2074
+ smalltalk.Debugger);
2075
+
2076
+ smalltalk.addMethod(
2077
+ unescape('_selectContext_'),
2078
+ smalltalk.method({
2079
+ selector: unescape('selectContext%3A'),
2080
+ fn: function (aContext){
2081
+ var self=this;
2082
+ (self['@selectedContext']=aContext);
2083
+ (self['@selectedVariable']=nil);
2084
+ (self['@selectedVariableName']=nil);
2085
+ (function($rec){smalltalk.send($rec, "_updateContextsList", []);smalltalk.send($rec, "_updateSourceArea", []);smalltalk.send($rec, "_updateInspector", []);smalltalk.send($rec, "_updateVariablesList", []);return smalltalk.send($rec, "_updateStatus", []);})(self);
2086
+ return self;}
2087
+ }),
2088
+ smalltalk.Debugger);
2089
+
2090
+ smalltalk.addMethod(
2091
+ unescape('_selectVariable_named_'),
2092
+ smalltalk.method({
2093
+ selector: unescape('selectVariable%3Anamed%3A'),
2094
+ fn: function (anObject, aString){
2095
+ var self=this;
2096
+ (self['@selectedVariable']=anObject);
2097
+ (self['@selectedVariableName']=aString);
2098
+ smalltalk.send(self['@inspector'], "_contents_", [(function(html){return smalltalk.send(html, "_with_", [smalltalk.send(anObject, "_printString", [])]);})]);
2099
+ smalltalk.send(self, "_updateVariablesList", []);
2100
+ return self;}
2101
+ }),
2102
+ smalltalk.Debugger);
2103
+
2104
+ smalltalk.addMethod(
2105
+ unescape('_source'),
2106
+ smalltalk.method({
2107
+ selector: unescape('source'),
2108
+ fn: function (){
2109
+ var self=this;
2110
+ return (($receiver = smalltalk.send(self, "_method", [])) == nil || $receiver == undefined) ? (function(){return unescape("Method%20doesn%27t%20exist%21");})() : (function(){return smalltalk.send(smalltalk.send(self, "_method", []), "_source", []);})();
2111
+ return self;}
2112
+ }),
2113
+ smalltalk.Debugger);
2114
+
2115
+ smalltalk.addMethod(
2116
+ unescape('_updateContextsList'),
2117
+ smalltalk.method({
2118
+ selector: unescape('updateContextsList'),
2119
+ fn: function (){
2120
+ var self=this;
2121
+ smalltalk.send(self['@ul'], "_contents_", [(function(html){return smalltalk.send(self, "_renderContext_on_", [smalltalk.send(smalltalk.send(self, "_error", []), "_context", []), html]);})]);
2122
+ return self;}
2123
+ }),
2124
+ smalltalk.Debugger);
2125
+
2126
+ smalltalk.addMethod(
2127
+ unescape('_updateInspector'),
2128
+ smalltalk.method({
2129
+ selector: unescape('updateInspector'),
2130
+ fn: function (){
2131
+ var self=this;
2132
+ smalltalk.send(self['@inspector'], "_contents_", [(function(html){return nil;})]);
2133
+ return self;}
2134
+ }),
2135
+ smalltalk.Debugger);
2136
+
2137
+ smalltalk.addMethod(
2138
+ unescape('_updateSourceArea'),
2139
+ smalltalk.method({
2140
+ selector: unescape('updateSourceArea'),
2141
+ fn: function (){
2142
+ var self=this;
2143
+ smalltalk.send(self['@sourceArea'], "_val_", [smalltalk.send(self, "_source", [])]);
2144
+ return self;}
2145
+ }),
2146
+ smalltalk.Debugger);
2147
+
2148
+ smalltalk.addMethod(
2149
+ unescape('_updateStatus'),
2150
+ smalltalk.method({
2151
+ selector: unescape('updateStatus'),
2152
+ fn: function (){
2153
+ var self=this;
2154
+ ((($receiver = smalltalk.send(smalltalk.send(self['@sourceArea'], "_val", []), "__eq", [smalltalk.send(self, "_source", [])])).klass === smalltalk.Boolean) ? ($receiver ? (function(){(($receiver = self['@saveButton']) != nil && $receiver != undefined) ? (function(){return smalltalk.send(self['@saveButton'], "_at_put_", ["disabled", true]);})() : nil;return (self['@unsavedChanges']=false);})() : (function(){(($receiver = self['@saveButton']) != nil && $receiver != undefined) ? (function(){return smalltalk.send(self['@saveButton'], "_removeAt_", ["disabled"]);})() : nil;return (self['@unsavedChanges']=true);})()) : smalltalk.send($receiver, "_ifTrue_ifFalse_", [(function(){(($receiver = self['@saveButton']) != nil && $receiver != undefined) ? (function(){return smalltalk.send(self['@saveButton'], "_at_put_", ["disabled", true]);})() : nil;return (self['@unsavedChanges']=false);}), (function(){(($receiver = self['@saveButton']) != nil && $receiver != undefined) ? (function(){return smalltalk.send(self['@saveButton'], "_removeAt_", ["disabled"]);})() : nil;return (self['@unsavedChanges']=true);})]));
2155
+ return self;}
2156
+ }),
2157
+ smalltalk.Debugger);
2158
+
2159
+ smalltalk.addMethod(
2160
+ unescape('_updateVariablesList'),
2161
+ smalltalk.method({
2162
+ selector: unescape('updateVariablesList'),
2163
+ fn: function (){
2164
+ var self=this;
2165
+ smalltalk.send(self['@ul2'], "_contents_", [(function(html){var li=nil;
2166
+ (li=(function($rec){smalltalk.send($rec, "_with_", ["self"]);return smalltalk.send($rec, "_onClick_", [(function(){return smalltalk.send(self, "_selectVariable_named_", [smalltalk.send(self, "_receiver", []), "self"]);})]);})(smalltalk.send(html, "_li", [])));((($receiver = smalltalk.send(self['@selectedVariableName'], "__eq", ["self"])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return smalltalk.send(li, "_class_", ["selected"]);})() : nil) : smalltalk.send($receiver, "_ifTrue_", [(function(){return smalltalk.send(li, "_class_", ["selected"]);})]));smalltalk.send(smalltalk.send(self, "_arguments", []), "_withIndexDo_", [(function(each, index){var param=nil;
2167
+ (param=smalltalk.send(smalltalk.send(self['@selectedContext'], "_temps", []), "_at_", [index]));(li=(function($rec){smalltalk.send($rec, "_with_", [each]);return smalltalk.send($rec, "_onClick_", [(function(){return smalltalk.send(self, "_selectVariable_named_", [param, each]);})]);})(smalltalk.send(html, "_li", [])));return ((($receiver = smalltalk.send(self['@selectedVariableName'], "__eq", [each])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return smalltalk.send(li, "_class_", ["selected"]);})() : nil) : smalltalk.send($receiver, "_ifTrue_", [(function(){return smalltalk.send(li, "_class_", ["selected"]);})]));})]);return smalltalk.send(smalltalk.send(smalltalk.send(smalltalk.send(self, "_receiver", []), "_class", []), "_allInstanceVariableNames", []), "_do_", [(function(each){var ivar=nil;
2168
+ (ivar=smalltalk.send(smalltalk.send(self, "_receiver", []), "_instVarAt_", [each]));(li=(function($rec){smalltalk.send($rec, "_with_", [each]);return smalltalk.send($rec, "_onClick_", [(function(){return smalltalk.send(self, "_selectVariable_named_", [ivar, each]);})]);})(smalltalk.send(html, "_li", [])));return ((($receiver = smalltalk.send(self['@selectedVariableName'], "__eq", [each])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return smalltalk.send(li, "_class_", ["selected"]);})() : nil) : smalltalk.send($receiver, "_ifTrue_", [(function(){return smalltalk.send(li, "_class_", ["selected"]);})]));})]);})]);
2169
+ (($receiver = self['@selectedVariable']) == nil || $receiver == undefined) ? (function(){return smalltalk.send(self['@inspectButton'], "_at_put_", ["disabled", true]);})() : (function(){return smalltalk.send(self['@inspectButton'], "_removeAt_", ["disabled"]);})();
2170
+ return self;}
2171
+ }),
2172
+ smalltalk.Debugger);
2173
+
2174
+
2175
+
2176
+ smalltalk.addClass('IDETranscript', smalltalk.TabWidget, ['textarea'], 'IDE');
2177
+ smalltalk.addMethod(
2178
+ unescape('_clear'),
2179
+ smalltalk.method({
2180
+ selector: unescape('clear'),
2181
+ fn: function (){
2182
+ var self=this;
2183
+ smalltalk.send(smalltalk.send(self['@textarea'], "_asJQuery", []), "_val_", [""]);
2184
+ return self;}
2185
+ }),
2186
+ smalltalk.IDETranscript);
2187
+
2188
+ smalltalk.addMethod(
2189
+ unescape('_cr'),
2190
+ smalltalk.method({
2191
+ selector: unescape('cr'),
2192
+ fn: function (){
2193
+ var self=this;
2194
+ smalltalk.send(smalltalk.send(self['@textarea'], "_asJQuery", []), "_val_", [smalltalk.send(smalltalk.send(smalltalk.send(self['@textarea'], "_asJQuery", []), "_val", []), "__comma", [smalltalk.send((smalltalk.String || String), "_cr", [])])]);
2195
+ return self;}
2196
+ }),
2197
+ smalltalk.IDETranscript);
2198
+
2199
+ smalltalk.addMethod(
2200
+ unescape('_label'),
2201
+ smalltalk.method({
2202
+ selector: unescape('label'),
2203
+ fn: function (){
2204
+ var self=this;
2205
+ return "Transcript";
2206
+ return self;}
2207
+ }),
2208
+ smalltalk.IDETranscript);
2209
+
2210
+ smalltalk.addMethod(
2211
+ unescape('_open'),
2212
+ smalltalk.method({
2213
+ selector: unescape('open'),
2214
+ fn: function (){
2215
+ var self=this;
2216
+ (function($rec){smalltalk.send($rec, "_open", []);return smalltalk.send($rec, "_selectTab_", [self]);})(smalltalk.send((smalltalk.TabManager || TabManager), "_current", []));
2217
+ return self;}
2218
+ }),
2219
+ smalltalk.IDETranscript);
2220
+
2221
+ smalltalk.addMethod(
2222
+ unescape('_renderBoxOn_'),
2223
+ smalltalk.method({
2224
+ selector: unescape('renderBoxOn%3A'),
2225
+ fn: function (html){
2226
+ var self=this;
2227
+ (self['@textarea']=smalltalk.send(html, "_textarea", []));
2228
+ (function($rec){smalltalk.send($rec, "_class_", ["jt_transcript"]);return smalltalk.send($rec, "_at_put_", ["spellcheck", "false"]);})(self['@textarea']);
2229
+ return self;}
2230
+ }),
2231
+ smalltalk.IDETranscript);
2232
+
2233
+ smalltalk.addMethod(
2234
+ unescape('_renderButtonsOn_'),
2235
+ smalltalk.method({
2236
+ selector: unescape('renderButtonsOn%3A'),
2237
+ fn: function (html){
2238
+ var self=this;
2239
+ (function($rec){smalltalk.send($rec, "_with_", ["Clear transcript"]);return smalltalk.send($rec, "_onClick_", [(function(){return smalltalk.send(self, "_clear", []);})]);})(smalltalk.send(html, "_button", []));
2240
+ return self;}
2241
+ }),
2242
+ smalltalk.IDETranscript);
2243
+
2244
+ smalltalk.addMethod(
2245
+ unescape('_show_'),
2246
+ smalltalk.method({
2247
+ selector: unescape('show%3A'),
2248
+ fn: function (anObject){
2249
+ var self=this;
2250
+ (($receiver = self['@textarea']) == nil || $receiver == undefined) ? (function(){return smalltalk.send(self, "_open", []);})() : $receiver;
2251
+ smalltalk.send(smalltalk.send(self['@textarea'], "_asJQuery", []), "_val_", [smalltalk.send(smalltalk.send(smalltalk.send(self['@textarea'], "_asJQuery", []), "_val", []), "__comma", [smalltalk.send(anObject, "_asString", [])])]);
2252
+ return self;}
2253
+ }),
2254
+ smalltalk.IDETranscript);
2255
+
2256
+
2257
+ smalltalk.IDETranscript.klass.iVarNames = ['current'];
2258
+ smalltalk.addMethod(
2259
+ unescape('_current'),
2260
+ smalltalk.method({
2261
+ selector: unescape('current'),
2262
+ fn: function (){
2263
+ var self=this;
2264
+ return (($receiver = self['@current']) == nil || $receiver == undefined) ? (function(){return (self['@current']=smalltalk.send(self, "_new", [], smalltalk.TabWidget.klass));})() : $receiver;
2265
+ return self;}
2266
+ }),
2267
+ smalltalk.IDETranscript.klass);
2268
+
2269
+ smalltalk.addMethod(
2270
+ unescape('_initialize'),
2271
+ smalltalk.method({
2272
+ selector: unescape('initialize'),
2273
+ fn: function (){
2274
+ var self=this;
2275
+ smalltalk.send((smalltalk.Transcript || Transcript), "_register_", [smalltalk.send(self, "_current", [])]);
2276
+ return self;}
2277
+ }),
2278
+ smalltalk.IDETranscript.klass);
2279
+
2280
+ smalltalk.addMethod(
2281
+ unescape('_new'),
2282
+ smalltalk.method({
2283
+ selector: unescape('new'),
2284
+ fn: function (){
2285
+ var self=this;
2286
+ smalltalk.send(self, "_shouldNotImplement", []);
2287
+ return self;}
2288
+ }),
2289
+ smalltalk.IDETranscript.klass);
2290
+
2291
+ smalltalk.addMethod(
2292
+ unescape('_open'),
2293
+ smalltalk.method({
2294
+ selector: unescape('open'),
2295
+ fn: function (){
2296
+ var self=this;
2297
+ (function($rec){smalltalk.send($rec, "_open", []);return smalltalk.send($rec, "_selectTab_", [smalltalk.send(self, "_current", [])]);})(smalltalk.send((smalltalk.TabManager || TabManager), "_current", []));
2298
+ return self;}
2299
+ }),
2300
+ smalltalk.IDETranscript.klass);
2301
+
2302
+
2303
+ smalltalk.addClass('Inspector', smalltalk.TabWidget, ['label', 'variables', 'object', 'selectedVariable', 'variablesList', 'valueTextarea', 'diveButton', 'sourceArea'], 'IDE');
2304
+ smalltalk.addMethod(
2305
+ unescape('_canBeClosed'),
2306
+ smalltalk.method({
2307
+ selector: unescape('canBeClosed'),
2308
+ fn: function (){
2309
+ var self=this;
2310
+ return true;
2311
+ return self;}
2312
+ }),
2313
+ smalltalk.Inspector);
2314
+
2315
+ smalltalk.addMethod(
2316
+ unescape('_dive'),
2317
+ smalltalk.method({
2318
+ selector: unescape('dive'),
2319
+ fn: function (){
2320
+ var self=this;
2321
+ smalltalk.send(smalltalk.send(smalltalk.send(self, "_variables", []), "_at_", [smalltalk.send(self, "_selectedVariable", [])]), "_inspect", []);
2322
+ return self;}
2323
+ }),
2324
+ smalltalk.Inspector);
2325
+
2326
+ smalltalk.addMethod(
2327
+ unescape('_inspect_'),
2328
+ smalltalk.method({
2329
+ selector: unescape('inspect%3A'),
2330
+ fn: function (anObject){
2331
+ var self=this;
2332
+ (self['@object']=anObject);
2333
+ (self['@variables']=[]);
2334
+ smalltalk.send(self['@object'], "_inspectOn_", [self]);
2335
+ return self;}
2336
+ }),
2337
+ smalltalk.Inspector);
2338
+
2339
+ smalltalk.addMethod(
2340
+ unescape('_label'),
2341
+ smalltalk.method({
2342
+ selector: unescape('label'),
2343
+ fn: function (){
2344
+ var self=this;
2345
+ return (($receiver = self['@label']) == nil || $receiver == undefined) ? (function(){return unescape("Inspector%20%28nil%29");})() : $receiver;
2346
+ return self;}
2347
+ }),
2348
+ smalltalk.Inspector);
2349
+
2350
+ smalltalk.addMethod(
2351
+ unescape('_refresh'),
2352
+ smalltalk.method({
2353
+ selector: unescape('refresh'),
2354
+ fn: function (){
2355
+ var self=this;
2356
+ (function($rec){smalltalk.send($rec, "_inspect_", [self['@object']]);smalltalk.send($rec, "_updateVariablesList", []);return smalltalk.send($rec, "_updateValueTextarea", []);})(self);
2357
+ return self;}
2358
+ }),
2359
+ smalltalk.Inspector);
2360
+
2361
+ smalltalk.addMethod(
2362
+ unescape('_renderBottomPanelOn_'),
2363
+ smalltalk.method({
2364
+ selector: unescape('renderBottomPanelOn%3A'),
2365
+ fn: function (html){
2366
+ var self=this;
2367
+ (function($rec){smalltalk.send($rec, "_class_", ["jt_sourceCode"]);return smalltalk.send($rec, "_with_", [(function(){(self['@sourceArea']=(function($rec){smalltalk.send($rec, "_receiver_", [self['@object']]);smalltalk.send($rec, "_onDoIt_", [(function(){return smalltalk.send(self, "_refresh", []);})]);return smalltalk.send($rec, "_yourself", []);})(smalltalk.send((smalltalk.SourceArea || SourceArea), "_new", [])));return smalltalk.send(self['@sourceArea'], "_renderOn_", [html]);})]);})(smalltalk.send(html, "_div", []));
2368
+ return self;}
2369
+ }),
2370
+ smalltalk.Inspector);
2371
+
2372
+ smalltalk.addMethod(
2373
+ unescape('_renderBoxOn_'),
2374
+ smalltalk.method({
2375
+ selector: unescape('renderBoxOn%3A'),
2376
+ fn: function (html){
2377
+ var self=this;
2378
+ (function($rec){smalltalk.send($rec, "_renderTopPanelOn_", [html]);return smalltalk.send($rec, "_renderBottomPanelOn_", [html]);})(self);
2379
+ return self;}
2380
+ }),
2381
+ smalltalk.Inspector);
2382
+
2383
+ smalltalk.addMethod(
2384
+ unescape('_renderButtonsOn_'),
2385
+ smalltalk.method({
2386
+ selector: unescape('renderButtonsOn%3A'),
2387
+ fn: function (html){
2388
+ var self=this;
2389
+ (function($rec){smalltalk.send($rec, "_with_", ["DoIt"]);return smalltalk.send($rec, "_onClick_", [(function(){return smalltalk.send(smalltalk.send(self, "_sourceArea", []), "_doIt", []);})]);})(smalltalk.send(html, "_button", []));
2390
+ (function($rec){smalltalk.send($rec, "_with_", ["PrintIt"]);return smalltalk.send($rec, "_onClick_", [(function(){return smalltalk.send(smalltalk.send(self, "_sourceArea", []), "_printIt", []);})]);})(smalltalk.send(html, "_button", []));
2391
+ (function($rec){smalltalk.send($rec, "_with_", ["InspectIt"]);return smalltalk.send($rec, "_onClick_", [(function(){return smalltalk.send(smalltalk.send(self, "_sourceArea", []), "_inspectIt", []);})]);})(smalltalk.send(html, "_button", []));
2392
+ smalltalk.send(self, "_updateButtons", []);
2393
+ return self;}
2394
+ }),
2395
+ smalltalk.Inspector);
2396
+
2397
+ smalltalk.addMethod(
2398
+ unescape('_renderTopPanelOn_'),
2399
+ smalltalk.method({
2400
+ selector: unescape('renderTopPanelOn%3A'),
2401
+ fn: function (html){
2402
+ var self=this;
2403
+ (function($rec){smalltalk.send($rec, "_class_", ["top"]);return smalltalk.send($rec, "_with_", [(function(){(self['@variablesList']=smalltalk.send(smalltalk.send(html, "_ul", []), "_class_", ["jt_column variables"]));(self['@valueTextarea']=(function($rec){smalltalk.send($rec, "_class_", ["jt_column value"]);return smalltalk.send($rec, "_at_put_", ["readonly", "readonly"]);})(smalltalk.send(html, "_textarea", [])));(function($rec){smalltalk.send($rec, "_class_", ["jt_tabs inspector"]);return smalltalk.send($rec, "_with_", [(function(){(function($rec){smalltalk.send($rec, "_class_", ["jt_button inspector refresh"]);smalltalk.send($rec, "_with_", ["Refresh"]);return smalltalk.send($rec, "_onClick_", [(function(){return smalltalk.send(self, "_refresh", []);})]);})(smalltalk.send(html, "_button", []));return (self['@diveButton']=(function($rec){smalltalk.send($rec, "_class_", ["jt_button inspector dive"]);smalltalk.send($rec, "_with_", ["Dive"]);return smalltalk.send($rec, "_onClick_", [(function(){return smalltalk.send(self, "_dive", []);})]);})(smalltalk.send(html, "_button", [])));})]);})(smalltalk.send(html, "_div", []));return smalltalk.send(smalltalk.send(html, "_div", []), "_class_", ["jt_clear"]);})]);})(smalltalk.send(html, "_div", []));
2404
+ (function($rec){smalltalk.send($rec, "_updateVariablesList", []);return smalltalk.send($rec, "_updateValueTextarea", []);})(self);
2405
+ return self;}
2406
+ }),
2407
+ smalltalk.Inspector);
2408
+
2409
+ smalltalk.addMethod(
2410
+ unescape('_selectVariable_'),
2411
+ smalltalk.method({
2412
+ selector: unescape('selectVariable%3A'),
2413
+ fn: function (aString){
2414
+ var self=this;
2415
+ smalltalk.send(self, "_selectedVariable_", [aString]);
2416
+ (function($rec){smalltalk.send($rec, "_updateVariablesList", []);smalltalk.send($rec, "_updateValueTextarea", []);return smalltalk.send($rec, "_updateButtons", []);})(self);
2417
+ return self;}
2418
+ }),
2419
+ smalltalk.Inspector);
2420
+
2421
+ smalltalk.addMethod(
2422
+ unescape('_selectedVariable'),
2423
+ smalltalk.method({
2424
+ selector: unescape('selectedVariable'),
2425
+ fn: function (){
2426
+ var self=this;
2427
+ return self['@selectedVariable'];
2428
+ return self;}
2429
+ }),
2430
+ smalltalk.Inspector);
2431
+
2432
+ smalltalk.addMethod(
2433
+ unescape('_selectedVariable_'),
2434
+ smalltalk.method({
2435
+ selector: unescape('selectedVariable%3A'),
2436
+ fn: function (aString){
2437
+ var self=this;
2438
+ (self['@selectedVariable']=aString);
2439
+ return self;}
2440
+ }),
2441
+ smalltalk.Inspector);
2442
+
2443
+ smalltalk.addMethod(
2444
+ unescape('_setLabel_'),
2445
+ smalltalk.method({
2446
+ selector: unescape('setLabel%3A'),
2447
+ fn: function (aString){
2448
+ var self=this;
2449
+ (self['@label']=aString);
2450
+ return self;}
2451
+ }),
2452
+ smalltalk.Inspector);
2453
+
2454
+ smalltalk.addMethod(
2455
+ unescape('_setVariables_'),
2456
+ smalltalk.method({
2457
+ selector: unescape('setVariables%3A'),
2458
+ fn: function (aCollection){
2459
+ var self=this;
2460
+ (self['@variables']=aCollection);
2461
+ return self;}
2462
+ }),
2463
+ smalltalk.Inspector);
2464
+
2465
+ smalltalk.addMethod(
2466
+ unescape('_sourceArea'),
2467
+ smalltalk.method({
2468
+ selector: unescape('sourceArea'),
2469
+ fn: function (){
2470
+ var self=this;
2471
+ return self['@sourceArea'];
2472
+ return self;}
2473
+ }),
2474
+ smalltalk.Inspector);
2475
+
2476
+ smalltalk.addMethod(
2477
+ unescape('_updateButtons'),
2478
+ smalltalk.method({
2479
+ selector: unescape('updateButtons'),
2480
+ fn: function (){
2481
+ var self=this;
2482
+ ((($receiver = smalltalk.send(smalltalk.send(smalltalk.send(self, "_selectedVariable", []), "_notNil", []), "_and_", [(function(){return smalltalk.send(smalltalk.send(smalltalk.send(self, "_variables", []), "_at_", [smalltalk.send(self, "_selectedVariable", [])]), "_notNil", []);})])).klass === smalltalk.Boolean) ? (! $receiver ? (function(){return smalltalk.send(self['@diveButton'], "_at_put_", ["disabled", true]);})() : (function(){return smalltalk.send(self['@diveButton'], "_removeAt_", ["disabled"]);})()) : smalltalk.send($receiver, "_ifFalse_ifTrue_", [(function(){return smalltalk.send(self['@diveButton'], "_at_put_", ["disabled", true]);}), (function(){return smalltalk.send(self['@diveButton'], "_removeAt_", ["disabled"]);})]));
2483
+ return self;}
2484
+ }),
2485
+ smalltalk.Inspector);
2486
+
2487
+ smalltalk.addMethod(
2488
+ unescape('_updateValueTextarea'),
2489
+ smalltalk.method({
2490
+ selector: unescape('updateValueTextarea'),
2491
+ fn: function (){
2492
+ var self=this;
2493
+ smalltalk.send(smalltalk.send(self['@valueTextarea'], "_asJQuery", []), "_val_", [((($receiver = smalltalk.send(smalltalk.send(self, "_selectedVariable", []), "_isNil", [])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return "";})() : (function(){return smalltalk.send(smalltalk.send(smalltalk.send(self, "_variables", []), "_at_", [smalltalk.send(self, "_selectedVariable", [])]), "_printString", []);})()) : smalltalk.send($receiver, "_ifTrue_ifFalse_", [(function(){return "";}), (function(){return smalltalk.send(smalltalk.send(smalltalk.send(self, "_variables", []), "_at_", [smalltalk.send(self, "_selectedVariable", [])]), "_printString", []);})]))]);
2494
+ return self;}
2495
+ }),
2496
+ smalltalk.Inspector);
2497
+
2498
+ smalltalk.addMethod(
2499
+ unescape('_updateVariablesList'),
2500
+ smalltalk.method({
2501
+ selector: unescape('updateVariablesList'),
2502
+ fn: function (){
2503
+ var self=this;
2504
+ smalltalk.send(self['@variablesList'], "_contents_", [(function(html){return smalltalk.send(smalltalk.send(smalltalk.send(self, "_variables", []), "_keys", []), "_do_", [(function(each){var li=nil;
2505
+ (li=smalltalk.send(html, "_li", []));(function($rec){smalltalk.send($rec, "_with_", [each]);return smalltalk.send($rec, "_onClick_", [(function(){return smalltalk.send(self, "_selectVariable_", [each]);})]);})(li);return ((($receiver = smalltalk.send(smalltalk.send(self, "_selectedVariable", []), "__eq", [each])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return smalltalk.send(li, "_class_", ["selected"]);})() : nil) : smalltalk.send($receiver, "_ifTrue_", [(function(){return smalltalk.send(li, "_class_", ["selected"]);})]));})]);})]);
2506
+ return self;}
2507
+ }),
2508
+ smalltalk.Inspector);
2509
+
2510
+ smalltalk.addMethod(
2511
+ unescape('_variables'),
2512
+ smalltalk.method({
2513
+ selector: unescape('variables'),
2514
+ fn: function (){
2515
+ var self=this;
2516
+ return self['@variables'];
2517
+ return self;}
2518
+ }),
2519
+ smalltalk.Inspector);
2520
+
2521
+
2522
+ smalltalk.addMethod(
2523
+ unescape('_on_'),
2524
+ smalltalk.method({
2525
+ selector: unescape('on%3A'),
2526
+ fn: function (anObject){
2527
+ var self=this;
2528
+ return (function($rec){smalltalk.send($rec, "_inspect_", [anObject]);return smalltalk.send($rec, "_yourself", []);})(smalltalk.send(self, "_new", []));
2529
+ return self;}
2530
+ }),
2531
+ smalltalk.Inspector.klass);
2532
+
2533
+
2534
+ smalltalk.addClass('ProgressBar', smalltalk.TabWidget, ['percent', 'progressDiv', 'div'], 'IDE');
2535
+ smalltalk.addMethod(
2536
+ unescape('_percent'),
2537
+ smalltalk.method({
2538
+ selector: unescape('percent'),
2539
+ fn: function (){
2540
+ var self=this;
2541
+ return (($receiver = self['@percent']) == nil || $receiver == undefined) ? (function(){return (0);})() : $receiver;
2542
+ return self;}
2543
+ }),
2544
+ smalltalk.ProgressBar);
2545
+
2546
+ smalltalk.addMethod(
2547
+ unescape('_percent_'),
2548
+ smalltalk.method({
2549
+ selector: unescape('percent%3A'),
2550
+ fn: function (aNumber){
2551
+ var self=this;
2552
+ (self['@percent']=aNumber);
2553
+ return self;}
2554
+ }),
2555
+ smalltalk.ProgressBar);
2556
+
2557
+ smalltalk.addMethod(
2558
+ unescape('_renderOn_'),
2559
+ smalltalk.method({
2560
+ selector: unescape('renderOn%3A'),
2561
+ fn: function (html){
2562
+ var self=this;
2563
+ (self['@div']=(function($rec){smalltalk.send($rec, "_class_", ["progress_bar"]);return smalltalk.send($rec, "_yourself", []);})(smalltalk.send(html, "_div", [])));
2564
+ smalltalk.send(self, "_renderProgressBar", []);
2565
+ return self;}
2566
+ }),
2567
+ smalltalk.ProgressBar);
2568
+
2569
+ smalltalk.addMethod(
2570
+ unescape('_renderProgressBar'),
2571
+ smalltalk.method({
2572
+ selector: unescape('renderProgressBar'),
2573
+ fn: function (){
2574
+ var self=this;
2575
+ smalltalk.send(self['@div'], "_contents_", [(function(html){return (function($rec){smalltalk.send($rec, "_class_", ["progress"]);return smalltalk.send($rec, "_style_", [smalltalk.send(smalltalk.send("width:", "__comma", [smalltalk.send(smalltalk.send(self, "_percent", []), "_asString", [])]), "__comma", [unescape("%25")])]);})(smalltalk.send(html, "_div", []));})]);
2576
+ return self;}
2577
+ }),
2578
+ smalltalk.ProgressBar);
2579
+
2580
+ smalltalk.addMethod(
2581
+ unescape('_updatePercent_'),
2582
+ smalltalk.method({
2583
+ selector: unescape('updatePercent%3A'),
2584
+ fn: function (aNumber){
2585
+ var self=this;
2586
+ smalltalk.send(self, "_percent_", [aNumber]);
2587
+ smalltalk.send(self, "_renderProgressBar", []);
2588
+ return self;}
2589
+ }),
2590
+ smalltalk.ProgressBar);
2591
+
2592
+
2593
+
2594
+ smalltalk.addClass('ReferencesBrowser', smalltalk.TabWidget, ['implementors', 'senders', 'implementorsList', 'input', 'timer', 'selector', 'sendersList', 'referencedClasses', 'referencedClassesList', 'matches', 'matchesList'], 'IDE');
2595
+ smalltalk.addMethod(
2596
+ unescape('_canBeClosed'),
2597
+ smalltalk.method({
2598
+ selector: unescape('canBeClosed'),
2599
+ fn: function (){
2600
+ var self=this;
2601
+ return true;
2602
+ return self;}
2603
+ }),
2604
+ smalltalk.ReferencesBrowser);
2605
+
2606
+ smalltalk.addMethod(
2607
+ unescape('_classesAndMetaclasses'),
2608
+ smalltalk.method({
2609
+ selector: unescape('classesAndMetaclasses'),
2610
+ fn: function (){
2611
+ var self=this;
2612
+ return smalltalk.send(smalltalk.send(smalltalk.send((smalltalk.Smalltalk || Smalltalk), "_current", []), "_classes", []), "__comma", [smalltalk.send(smalltalk.send(smalltalk.send((smalltalk.Smalltalk || Smalltalk), "_current", []), "_classes", []), "_collect_", [(function(each){return smalltalk.send(each, "_class", []);})])]);
2613
+ return self;}
2614
+ }),
2615
+ smalltalk.ReferencesBrowser);
2616
+
2617
+ smalltalk.addMethod(
2618
+ unescape('_implementors'),
2619
+ smalltalk.method({
2620
+ selector: unescape('implementors'),
2621
+ fn: function (){
2622
+ var self=this;
2623
+ return (($receiver = self['@implementors']) == nil || $receiver == undefined) ? (function(){return (self['@implementors']=smalltalk.send((smalltalk.Array || Array), "_new", []));})() : $receiver;
2624
+ return self;}
2625
+ }),
2626
+ smalltalk.ReferencesBrowser);
2627
+
2628
+ smalltalk.addMethod(
2629
+ unescape('_initialize'),
2630
+ smalltalk.method({
2631
+ selector: unescape('initialize'),
2632
+ fn: function (){
2633
+ var self=this;
2634
+ smalltalk.send(self, "_initialize", [], smalltalk.TabWidget);
2635
+ (self['@selector']="");
2636
+ return self;}
2637
+ }),
2638
+ smalltalk.ReferencesBrowser);
2639
+
2640
+ smalltalk.addMethod(
2641
+ unescape('_label'),
2642
+ smalltalk.method({
2643
+ selector: unescape('label'),
2644
+ fn: function (){
2645
+ var self=this;
2646
+ return unescape("%5BReferences%5D");
2647
+ return self;}
2648
+ }),
2649
+ smalltalk.ReferencesBrowser);
2650
+
2651
+ smalltalk.addMethod(
2652
+ unescape('_matches'),
2653
+ smalltalk.method({
2654
+ selector: unescape('matches'),
2655
+ fn: function (){
2656
+ var self=this;
2657
+ return (($receiver = self['@matches']) == nil || $receiver == undefined) ? (function(){return (self['@matches']=smalltalk.send((smalltalk.Array || Array), "_new", []));})() : $receiver;
2658
+ return self;}
2659
+ }),
2660
+ smalltalk.ReferencesBrowser);
2661
+
2662
+ smalltalk.addMethod(
2663
+ unescape('_openBrowserOn_'),
2664
+ smalltalk.method({
2665
+ selector: unescape('openBrowserOn%3A'),
2666
+ fn: function (aMethod){
2667
+ var self=this;
2668
+ var browser=nil;
2669
+ (browser=smalltalk.send((smalltalk.Browser || Browser), "_openOn_", [((($receiver = smalltalk.send(smalltalk.send(aMethod, "_methodClass", []), "_isMetaclass", [])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return smalltalk.send(smalltalk.send(aMethod, "_methodClass", []), "_instanceClass", []);})() : (function(){return smalltalk.send(aMethod, "_methodClass", []);})()) : smalltalk.send($receiver, "_ifTrue_ifFalse_", [(function(){return smalltalk.send(smalltalk.send(aMethod, "_methodClass", []), "_instanceClass", []);}), (function(){return smalltalk.send(aMethod, "_methodClass", []);})]))]));
2670
+ ((($receiver = smalltalk.send(smalltalk.send(aMethod, "_methodClass", []), "_isMetaclass", [])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return smalltalk.send(browser, "_selectTab_", [smalltalk.symbolFor("class")]);})() : nil) : smalltalk.send($receiver, "_ifTrue_", [(function(){return smalltalk.send(browser, "_selectTab_", [smalltalk.symbolFor("class")]);})]));
2671
+ (function($rec){smalltalk.send($rec, "_selectProtocol_", [smalltalk.send(aMethod, "_category", [])]);return smalltalk.send($rec, "_selectMethod_", [aMethod]);})(browser);
2672
+ return self;}
2673
+ }),
2674
+ smalltalk.ReferencesBrowser);
2675
+
2676
+ smalltalk.addMethod(
2677
+ unescape('_referencedClasses'),
2678
+ smalltalk.method({
2679
+ selector: unescape('referencedClasses'),
2680
+ fn: function (){
2681
+ var self=this;
2682
+ return (($receiver = self['@referencedClasses']) == nil || $receiver == undefined) ? (function(){return (self['@referencedClasses']=smalltalk.send((smalltalk.Array || Array), "_new", []));})() : $receiver;
2683
+ return self;}
2684
+ }),
2685
+ smalltalk.ReferencesBrowser);
2686
+
2687
+ smalltalk.addMethod(
2688
+ unescape('_renderBoxOn_'),
2689
+ smalltalk.method({
2690
+ selector: unescape('renderBoxOn%3A'),
2691
+ fn: function (html){
2692
+ var self=this;
2693
+ (function($rec){smalltalk.send($rec, "_renderInputOn_", [html]);smalltalk.send($rec, "_renderImplementorsOn_", [html]);smalltalk.send($rec, "_renderSendersOn_", [html]);smalltalk.send($rec, "_renderReferencedClassesOn_", [html]);return smalltalk.send($rec, "_renderMatchesOn_", [html]);})(self);
2694
+ return self;}
2695
+ }),
2696
+ smalltalk.ReferencesBrowser);
2697
+
2698
+ smalltalk.addMethod(
2699
+ unescape('_renderImplementorsOn_'),
2700
+ smalltalk.method({
2701
+ selector: unescape('renderImplementorsOn%3A'),
2702
+ fn: function (html){
2703
+ var self=this;
2704
+ (self['@implementorsList']=smalltalk.send(smalltalk.send(html, "_ul", []), "_class_", ["jt_column implementors"]));
2705
+ smalltalk.send(self, "_updateImplementorsList", []);
2706
+ return self;}
2707
+ }),
2708
+ smalltalk.ReferencesBrowser);
2709
+
2710
+ smalltalk.addMethod(
2711
+ unescape('_renderInputOn_'),
2712
+ smalltalk.method({
2713
+ selector: unescape('renderInputOn%3A'),
2714
+ fn: function (html){
2715
+ var self=this;
2716
+ (self['@input']=(function($rec){smalltalk.send($rec, "_class_", ["implementors"]);return smalltalk.send($rec, "_yourself", []);})(smalltalk.send(html, "_input", [])));
2717
+ smalltalk.send(smalltalk.send(self['@input'], "_asJQuery", []), "_val_", [self['@selector']]);
2718
+ smalltalk.send(self, "_setInputEvents", []);
2719
+ return self;}
2720
+ }),
2721
+ smalltalk.ReferencesBrowser);
2722
+
2723
+ smalltalk.addMethod(
2724
+ unescape('_renderMatchesOn_'),
2725
+ smalltalk.method({
2726
+ selector: unescape('renderMatchesOn%3A'),
2727
+ fn: function (html){
2728
+ var self=this;
2729
+ (self['@matchesList']=smalltalk.send(smalltalk.send(html, "_ul", []), "_class_", ["jt_column matches"]));
2730
+ smalltalk.send(self, "_updateMatchesList", []);
2731
+ return self;}
2732
+ }),
2733
+ smalltalk.ReferencesBrowser);
2734
+
2735
+ smalltalk.addMethod(
2736
+ unescape('_renderReferencedClassesOn_'),
2737
+ smalltalk.method({
2738
+ selector: unescape('renderReferencedClassesOn%3A'),
2739
+ fn: function (html){
2740
+ var self=this;
2741
+ (self['@referencedClassesList']=smalltalk.send(smalltalk.send(html, "_ul", []), "_class_", ["jt_column referenced_classes"]));
2742
+ smalltalk.send(self, "_updateReferencedClassesList", []);
2743
+ return self;}
2744
+ }),
2745
+ smalltalk.ReferencesBrowser);
2746
+
2747
+ smalltalk.addMethod(
2748
+ unescape('_renderSendersOn_'),
2749
+ smalltalk.method({
2750
+ selector: unescape('renderSendersOn%3A'),
2751
+ fn: function (html){
2752
+ var self=this;
2753
+ (self['@sendersList']=smalltalk.send(smalltalk.send(html, "_ul", []), "_class_", ["jt_column senders"]));
2754
+ smalltalk.send(self, "_updateSendersList", []);
2755
+ return self;}
2756
+ }),
2757
+ smalltalk.ReferencesBrowser);
2758
+
2759
+ smalltalk.addMethod(
2760
+ unescape('_search_'),
2761
+ smalltalk.method({
2762
+ selector: unescape('search%3A'),
2763
+ fn: function (aString){
2764
+ var self=this;
2765
+ (function($rec){smalltalk.send($rec, "_searchReferencesFor_", [aString]);smalltalk.send($rec, "_updateImplementorsList", []);smalltalk.send($rec, "_updateSendersList", []);smalltalk.send($rec, "_updateReferencedClassesList", []);return smalltalk.send($rec, "_updateMatchesList", []);})(self);
2766
+ return self;}
2767
+ }),
2768
+ smalltalk.ReferencesBrowser);
2769
+
2770
+ smalltalk.addMethod(
2771
+ unescape('_searchMethodSource'),
2772
+ smalltalk.method({
2773
+ selector: unescape('searchMethodSource'),
2774
+ fn: function (){
2775
+ var self=this;
2776
+ var regex=nil;
2777
+ (regex=smalltalk.send(self['@selector'], "_allButFirst", []));
2778
+ smalltalk.send(smalltalk.send(self, "_classesAndMetaclasses", []), "_do_", [(function(each){return smalltalk.send(smalltalk.send(smalltalk.send(each, "_methodDictionary", []), "_values", []), "_do_", [(function(value){return ((($receiver = smalltalk.send(smalltalk.send(value, "_source", []), "_match_", [regex])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return smalltalk.send(smalltalk.send(self, "_matches", []), "_add_", [value]);})() : nil) : smalltalk.send($receiver, "_ifTrue_", [(function(){return smalltalk.send(smalltalk.send(self, "_matches", []), "_add_", [value]);})]));})]);})]);
2779
+ return self;}
2780
+ }),
2781
+ smalltalk.ReferencesBrowser);
2782
+
2783
+ smalltalk.addMethod(
2784
+ unescape('_searchReferencedClasses'),
2785
+ smalltalk.method({
2786
+ selector: unescape('searchReferencedClasses'),
2787
+ fn: function (){
2788
+ var self=this;
2789
+ smalltalk.send(smalltalk.send(self, "_classesAndMetaclasses", []), "_do_", [(function(each){return smalltalk.send(smalltalk.send(smalltalk.send(each, "_methodDictionary", []), "_values", []), "_do_", [(function(value){return ((($receiver = smalltalk.send(smalltalk.send(value, "_referencedClasses", []), "_includes_", [self['@selector']])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return smalltalk.send(smalltalk.send(self, "_referencedClasses", []), "_add_", [value]);})() : nil) : smalltalk.send($receiver, "_ifTrue_", [(function(){return smalltalk.send(smalltalk.send(self, "_referencedClasses", []), "_add_", [value]);})]));})]);})]);
2790
+ return self;}
2791
+ }),
2792
+ smalltalk.ReferencesBrowser);
2793
+
2794
+ smalltalk.addMethod(
2795
+ unescape('_searchReferencesFor_'),
2796
+ smalltalk.method({
2797
+ selector: unescape('searchReferencesFor%3A'),
2798
+ fn: function (aString){
2799
+ var self=this;
2800
+ (self['@selector']=aString);
2801
+ (self['@implementors']=smalltalk.send((smalltalk.Array || Array), "_new", []));
2802
+ (self['@senders']=smalltalk.send((smalltalk.Array || Array), "_new", []));
2803
+ (self['@referencedClasses']=smalltalk.send((smalltalk.Array || Array), "_new", []));
2804
+ (self['@matches']=smalltalk.send((smalltalk.Array || Array), "_new", []));
2805
+ smalltalk.send(self, "_searchMethodSource", []);
2806
+ ((($receiver = smalltalk.send(self['@selector'], "_match_", [unescape("%5E%5BA-Z%5D")])).klass === smalltalk.Boolean) ? (! $receiver ? (function(){return smalltalk.send(self, "_searchSelectorReferences", []);})() : (function(){return smalltalk.send(self, "_searchReferencedClasses", []);})()) : smalltalk.send($receiver, "_ifFalse_ifTrue_", [(function(){return smalltalk.send(self, "_searchSelectorReferences", []);}), (function(){return smalltalk.send(self, "_searchReferencedClasses", []);})]));
2807
+ return self;}
2808
+ }),
2809
+ smalltalk.ReferencesBrowser);
2810
+
2811
+ smalltalk.addMethod(
2812
+ unescape('_searchSelectorReferences'),
2813
+ smalltalk.method({
2814
+ selector: unescape('searchSelectorReferences'),
2815
+ fn: function (){
2816
+ var self=this;
2817
+ smalltalk.send(smalltalk.send(self, "_classesAndMetaclasses", []), "_do_", [(function(each){return smalltalk.send(smalltalk.send(each, "_methodDictionary", []), "_keysAndValuesDo_", [(function(key, value){((($receiver = smalltalk.send(key, "__eq", [self['@selector']])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return smalltalk.send(smalltalk.send(self, "_implementors", []), "_add_", [value]);})() : nil) : smalltalk.send($receiver, "_ifTrue_", [(function(){return smalltalk.send(smalltalk.send(self, "_implementors", []), "_add_", [value]);})]));return ((($receiver = smalltalk.send(smalltalk.send(value, "_messageSends", []), "_includes_", [self['@selector']])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return smalltalk.send(smalltalk.send(self, "_senders", []), "_add_", [value]);})() : nil) : smalltalk.send($receiver, "_ifTrue_", [(function(){return smalltalk.send(smalltalk.send(self, "_senders", []), "_add_", [value]);})]));})]);})]);
2818
+ return self;}
2819
+ }),
2820
+ smalltalk.ReferencesBrowser);
2821
+
2822
+ smalltalk.addMethod(
2823
+ unescape('_selector'),
2824
+ smalltalk.method({
2825
+ selector: unescape('selector'),
2826
+ fn: function (){
2827
+ var self=this;
2828
+ return self['@selector'];
2829
+ return self;}
2830
+ }),
2831
+ smalltalk.ReferencesBrowser);
2832
+
2833
+ smalltalk.addMethod(
2834
+ unescape('_senders'),
2835
+ smalltalk.method({
2836
+ selector: unescape('senders'),
2837
+ fn: function (){
2838
+ var self=this;
2839
+ return (($receiver = self['@senders']) == nil || $receiver == undefined) ? (function(){return (self['@senders']=smalltalk.send((smalltalk.Array || Array), "_new", []));})() : $receiver;
2840
+ return self;}
2841
+ }),
2842
+ smalltalk.ReferencesBrowser);
2843
+
2844
+ smalltalk.addMethod(
2845
+ unescape('_setInputEvents'),
2846
+ smalltalk.method({
2847
+ selector: unescape('setInputEvents'),
2848
+ fn: function (){
2849
+ var self=this;
2850
+ (function($rec){smalltalk.send($rec, "_onKeyUp_", [(function(){return (self['@timer']=smalltalk.send((function(){return smalltalk.send(self, "_search_", [smalltalk.send(smalltalk.send(self['@input'], "_asJQuery", []), "_val", [])]);}), "_valueWithTimeout_", [(100)]));})]);return smalltalk.send($rec, "_onKeyDown_", [(function(){return (($receiver = self['@timer']) != nil && $receiver != undefined) ? (function(){return smalltalk.send(self['@timer'], "_clearTimeout", []);})() : nil;})]);})(self['@input']);
2851
+ return self;}
2852
+ }),
2853
+ smalltalk.ReferencesBrowser);
2854
+
2855
+ smalltalk.addMethod(
2856
+ unescape('_updateImplementorsList'),
2857
+ smalltalk.method({
2858
+ selector: unescape('updateImplementorsList'),
2859
+ fn: function (){
2860
+ var self=this;
2861
+ smalltalk.send(self['@implementorsList'], "_contents_", [(function(html){(function($rec){smalltalk.send($rec, "_class_", ["column_label"]);smalltalk.send($rec, "_with_", [smalltalk.send(smalltalk.send(unescape("Implementors%20%28"), "__comma", [smalltalk.send(smalltalk.send(smalltalk.send(self, "_implementors", []), "_size", []), "_asString", [])]), "__comma", [unescape("%29")])]);return smalltalk.send($rec, "_style_", [unescape("font-weight%3A%20bold")]);})(smalltalk.send(html, "_li", []));return smalltalk.send(smalltalk.send(self, "_implementors", []), "_do_", [(function(each){var li=nil;
2862
+ (li=smalltalk.send(html, "_li", []));return (function($rec){smalltalk.send($rec, "_with_", [smalltalk.send(smalltalk.send(smalltalk.send(smalltalk.send(each, "_methodClass", []), "_asString", []), "__comma", [unescape("%20%3E%3E%20")]), "__comma", [smalltalk.send(self, "_selector", [])])]);return smalltalk.send($rec, "_onClick_", [(function(){return smalltalk.send(self, "_openBrowserOn_", [each]);})]);})(li);})]);})]);
2863
+ return self;}
2864
+ }),
2865
+ smalltalk.ReferencesBrowser);
2866
+
2867
+ smalltalk.addMethod(
2868
+ unescape('_updateMatchesList'),
2869
+ smalltalk.method({
2870
+ selector: unescape('updateMatchesList'),
2871
+ fn: function (){
2872
+ var self=this;
2873
+ smalltalk.send(self['@matchesList'], "_contents_", [(function(html){(function($rec){smalltalk.send($rec, "_class_", ["column_label"]);smalltalk.send($rec, "_with_", [smalltalk.send(smalltalk.send(unescape("Regex%20matches%20%28"), "__comma", [smalltalk.send(smalltalk.send(smalltalk.send(self, "_matches", []), "_size", []), "_asString", [])]), "__comma", [unescape("%29")])]);return smalltalk.send($rec, "_style_", [unescape("font-weight%3A%20bold")]);})(smalltalk.send(html, "_li", []));return smalltalk.send(smalltalk.send(self, "_matches", []), "_do_", [(function(each){var li=nil;
2874
+ (li=smalltalk.send(html, "_li", []));return (function($rec){smalltalk.send($rec, "_with_", [smalltalk.send(smalltalk.send(smalltalk.send(smalltalk.send(each, "_methodClass", []), "_asString", []), "__comma", [unescape("%20%3E%3E%20")]), "__comma", [smalltalk.send(each, "_selector", [])])]);return smalltalk.send($rec, "_onClick_", [(function(){return smalltalk.send(self, "_openBrowserOn_", [each]);})]);})(li);})]);})]);
2875
+ return self;}
2876
+ }),
2877
+ smalltalk.ReferencesBrowser);
2878
+
2879
+ smalltalk.addMethod(
2880
+ unescape('_updateReferencedClassesList'),
2881
+ smalltalk.method({
2882
+ selector: unescape('updateReferencedClassesList'),
2883
+ fn: function (){
2884
+ var self=this;
2885
+ smalltalk.send(self['@referencedClassesList'], "_contents_", [(function(html){(function($rec){smalltalk.send($rec, "_class_", ["column_label"]);smalltalk.send($rec, "_with_", [smalltalk.send(smalltalk.send(unescape("Class%20references%20%28"), "__comma", [smalltalk.send(smalltalk.send(smalltalk.send(self, "_referencedClasses", []), "_size", []), "_asString", [])]), "__comma", [unescape("%29")])]);return smalltalk.send($rec, "_style_", [unescape("font-weight%3A%20bold")]);})(smalltalk.send(html, "_li", []));return smalltalk.send(smalltalk.send(self, "_referencedClasses", []), "_do_", [(function(each){return (function($rec){smalltalk.send($rec, "_with_", [smalltalk.send(smalltalk.send(smalltalk.send(smalltalk.send(each, "_methodClass", []), "_asString", []), "__comma", [unescape("%20%3E%3E%20")]), "__comma", [smalltalk.send(each, "_selector", [])])]);return smalltalk.send($rec, "_onClick_", [(function(){return smalltalk.send(self, "_openBrowserOn_", [each]);})]);})(smalltalk.send(html, "_li", []));})]);})]);
2886
+ return self;}
2887
+ }),
2888
+ smalltalk.ReferencesBrowser);
2889
+
2890
+ smalltalk.addMethod(
2891
+ unescape('_updateSendersList'),
2892
+ smalltalk.method({
2893
+ selector: unescape('updateSendersList'),
2894
+ fn: function (){
2895
+ var self=this;
2896
+ smalltalk.send(self['@sendersList'], "_contents_", [(function(html){(function($rec){smalltalk.send($rec, "_class_", ["column_label"]);smalltalk.send($rec, "_with_", [smalltalk.send(smalltalk.send(unescape("Senders%20%28"), "__comma", [smalltalk.send(smalltalk.send(smalltalk.send(self, "_senders", []), "_size", []), "_asString", [])]), "__comma", [unescape("%29")])]);return smalltalk.send($rec, "_style_", [unescape("font-weight%3A%20bold")]);})(smalltalk.send(html, "_li", []));return smalltalk.send(smalltalk.send(self, "_senders", []), "_do_", [(function(each){return (function($rec){smalltalk.send($rec, "_with_", [smalltalk.send(smalltalk.send(smalltalk.send(smalltalk.send(each, "_methodClass", []), "_asString", []), "__comma", [unescape("%20%3E%3E%20")]), "__comma", [smalltalk.send(each, "_selector", [])])]);return smalltalk.send($rec, "_onClick_", [(function(){return smalltalk.send(self, "_openBrowserOn_", [each]);})]);})(smalltalk.send(html, "_li", []));})]);})]);
2897
+ return self;}
2898
+ }),
2899
+ smalltalk.ReferencesBrowser);
2900
+
2901
+
2902
+ smalltalk.addMethod(
2903
+ unescape('_search_'),
2904
+ smalltalk.method({
2905
+ selector: unescape('search%3A'),
2906
+ fn: function (aString){
2907
+ var self=this;
2908
+ return (function($rec){smalltalk.send($rec, "_searchReferencesFor_", [aString]);return smalltalk.send($rec, "_open", []);})(smalltalk.send(self, "_new", []));
2909
+ return self;}
2910
+ }),
2911
+ smalltalk.ReferencesBrowser.klass);
2912
+
2913
+
2914
+ smalltalk.addClass('TestRunner', smalltalk.TabWidget, ['selectedCategories', 'packagesList', 'selectedClasses', 'classesList', 'selectedMethods', 'progressBar', 'methodsList', 'result', 'statusDiv'], 'IDE');
2915
+ smalltalk.addMethod(
2916
+ unescape('_allClasses'),
2917
+ smalltalk.method({
2918
+ selector: unescape('allClasses'),
2919
+ fn: function (){
2920
+ var self=this;
2921
+ return smalltalk.send((smalltalk.TestCase || TestCase), "_allSubclasses", []);
2922
+ return self;}
2923
+ }),
2924
+ smalltalk.TestRunner);
2925
+
2926
+ smalltalk.addMethod(
2927
+ unescape('_classes'),
2928
+ smalltalk.method({
2929
+ selector: unescape('classes'),
2930
+ fn: function (){
2931
+ var self=this;
2932
+ return smalltalk.send(smalltalk.send(smalltalk.send(self, "_allClasses", []), "_select_", [(function(each){return smalltalk.send(smalltalk.send(self, "_selectedCategories", []), "_includes_", [smalltalk.send(each, "_category", [])]);})]), "_sort_", [(function(a, b){return ((($receiver = smalltalk.send(a, "_name", [])).klass === smalltalk.Number) ? $receiver >smalltalk.send(b, "_name", []) : smalltalk.send($receiver, "__gt", [smalltalk.send(b, "_name", [])]));})]);
2933
+ return self;}
2934
+ }),
2935
+ smalltalk.TestRunner);
2936
+
2937
+ smalltalk.addMethod(
2938
+ unescape('_initialize'),
2939
+ smalltalk.method({
2940
+ selector: unescape('initialize'),
2941
+ fn: function (){
2942
+ var self=this;
2943
+ smalltalk.send(self, "_initialize", [], smalltalk.TabWidget);
2944
+ (self['@result']=smalltalk.send((smalltalk.TestResult || TestResult), "_new", []));
2945
+ return self;}
2946
+ }),
2947
+ smalltalk.TestRunner);
2948
+
2949
+ smalltalk.addMethod(
2950
+ unescape('_isSelectedCategory_'),
2951
+ smalltalk.method({
2952
+ selector: unescape('isSelectedCategory%3A'),
2953
+ fn: function (aCategory){
2954
+ var self=this;
2955
+ return smalltalk.send(smalltalk.send(self, "_selectedCategories", []), "_includes_", [aCategory]);
2956
+ return self;}
2957
+ }),
2958
+ smalltalk.TestRunner);
2959
+
2960
+ smalltalk.addMethod(
2961
+ unescape('_isSelectedClass_'),
2962
+ smalltalk.method({
2963
+ selector: unescape('isSelectedClass%3A'),
2964
+ fn: function (aClass){
2965
+ var self=this;
2966
+ return smalltalk.send(smalltalk.send(self, "_selectedClasses", []), "_includes_", [aClass]);
2967
+ return self;}
2968
+ }),
2969
+ smalltalk.TestRunner);
2970
+
2971
+ smalltalk.addMethod(
2972
+ unescape('_label'),
2973
+ smalltalk.method({
2974
+ selector: unescape('label'),
2975
+ fn: function (){
2976
+ var self=this;
2977
+ return "SUnit";
2978
+ return self;}
2979
+ }),
2980
+ smalltalk.TestRunner);
2981
+
2982
+ smalltalk.addMethod(
2983
+ unescape('_packages'),
2984
+ smalltalk.method({
2985
+ selector: unescape('packages'),
2986
+ fn: function (){
2987
+ var self=this;
2988
+ var packages=nil;
2989
+ (packages=smalltalk.send((smalltalk.Array || Array), "_new", []));
2990
+ smalltalk.send(smalltalk.send(self, "_allClasses", []), "_do_", [(function(each){return ((($receiver = smalltalk.send(packages, "_includes_", [smalltalk.send(each, "_category", [])])).klass === smalltalk.Boolean) ? (! $receiver ? (function(){return smalltalk.send(packages, "_add_", [smalltalk.send(each, "_category", [])]);})() : nil) : smalltalk.send($receiver, "_ifFalse_", [(function(){return smalltalk.send(packages, "_add_", [smalltalk.send(each, "_category", [])]);})]));})]);
2991
+ return smalltalk.send(packages, "_sort", []);
2992
+ return self;}
2993
+ }),
2994
+ smalltalk.TestRunner);
2995
+
2996
+ smalltalk.addMethod(
2997
+ unescape('_performFailure_'),
2998
+ smalltalk.method({
2999
+ selector: unescape('performFailure%3A'),
3000
+ fn: function (aTestCase){
3001
+ var self=this;
3002
+ smalltalk.send(aTestCase, "_perform_", [smalltalk.send(aTestCase, "_selector", [])]);
3003
+ return self;}
3004
+ }),
3005
+ smalltalk.TestRunner);
3006
+
3007
+ smalltalk.addMethod(
3008
+ unescape('_printErrors'),
3009
+ smalltalk.method({
3010
+ selector: unescape('printErrors'),
3011
+ fn: function (){
3012
+ var self=this;
3013
+ return smalltalk.send(smalltalk.send(smalltalk.send(smalltalk.send(smalltalk.send(self, "_result", []), "_errors", []), "_size", []), "_asString", []), "__comma", [unescape("%20errors%2C%20")]);
3014
+ return self;}
3015
+ }),
3016
+ smalltalk.TestRunner);
3017
+
3018
+ smalltalk.addMethod(
3019
+ unescape('_printFailures'),
3020
+ smalltalk.method({
3021
+ selector: unescape('printFailures'),
3022
+ fn: function (){
3023
+ var self=this;
3024
+ return smalltalk.send(smalltalk.send(smalltalk.send(smalltalk.send(smalltalk.send(self, "_result", []), "_failures", []), "_size", []), "_asString", []), "__comma", [" failures"]);
3025
+ return self;}
3026
+ }),
3027
+ smalltalk.TestRunner);
3028
+
3029
+ smalltalk.addMethod(
3030
+ unescape('_printPasses'),
3031
+ smalltalk.method({
3032
+ selector: unescape('printPasses'),
3033
+ fn: function (){
3034
+ var self=this;
3035
+ return smalltalk.send(smalltalk.send(((($receiver = ((($receiver = smalltalk.send(smalltalk.send(self, "_result", []), "_total", [])).klass === smalltalk.Number) ? $receiver -smalltalk.send(smalltalk.send(smalltalk.send(self, "_result", []), "_errors", []), "_size", []) : smalltalk.send($receiver, "__minus", [smalltalk.send(smalltalk.send(smalltalk.send(self, "_result", []), "_errors", []), "_size", [])]))).klass === smalltalk.Number) ? $receiver -smalltalk.send(smalltalk.send(smalltalk.send(self, "_result", []), "_failures", []), "_size", []) : smalltalk.send($receiver, "__minus", [smalltalk.send(smalltalk.send(smalltalk.send(self, "_result", []), "_failures", []), "_size", [])])), "_asString", []), "__comma", [unescape("%20passes%2C%20")]);
3036
+ return self;}
3037
+ }),
3038
+ smalltalk.TestRunner);
3039
+
3040
+ smalltalk.addMethod(
3041
+ unescape('_printTotal'),
3042
+ smalltalk.method({
3043
+ selector: unescape('printTotal'),
3044
+ fn: function (){
3045
+ var self=this;
3046
+ return smalltalk.send(smalltalk.send(smalltalk.send(smalltalk.send(self, "_result", []), "_total", []), "_asString", []), "__comma", [unescape("%20runs%2C%20")]);
3047
+ return self;}
3048
+ }),
3049
+ smalltalk.TestRunner);
3050
+
3051
+ smalltalk.addMethod(
3052
+ unescape('_progressBar'),
3053
+ smalltalk.method({
3054
+ selector: unescape('progressBar'),
3055
+ fn: function (){
3056
+ var self=this;
3057
+ return (($receiver = self['@progressBar']) == nil || $receiver == undefined) ? (function(){return (self['@progressBar']=smalltalk.send((smalltalk.ProgressBar || ProgressBar), "_new", []));})() : $receiver;
3058
+ return self;}
3059
+ }),
3060
+ smalltalk.TestRunner);
3061
+
3062
+ smalltalk.addMethod(
3063
+ unescape('_renderBoxOn_'),
3064
+ smalltalk.method({
3065
+ selector: unescape('renderBoxOn%3A'),
3066
+ fn: function (html){
3067
+ var self=this;
3068
+ (function($rec){smalltalk.send($rec, "_renderCategoriesOn_", [html]);smalltalk.send($rec, "_renderClassesOn_", [html]);return smalltalk.send($rec, "_renderResultsOn_", [html]);})(self);
3069
+ return self;}
3070
+ }),
3071
+ smalltalk.TestRunner);
3072
+
3073
+ smalltalk.addMethod(
3074
+ unescape('_renderButtonsOn_'),
3075
+ smalltalk.method({
3076
+ selector: unescape('renderButtonsOn%3A'),
3077
+ fn: function (html){
3078
+ var self=this;
3079
+ (function($rec){smalltalk.send($rec, "_with_", ["Run selected"]);return smalltalk.send($rec, "_onClick_", [(function(){return smalltalk.send(self, "_run_", [smalltalk.send(self, "_testCases", [])]);})]);})(smalltalk.send(html, "_button", []));
3080
+ return self;}
3081
+ }),
3082
+ smalltalk.TestRunner);
3083
+
3084
+ smalltalk.addMethod(
3085
+ unescape('_renderCategoriesOn_'),
3086
+ smalltalk.method({
3087
+ selector: unescape('renderCategoriesOn%3A'),
3088
+ fn: function (html){
3089
+ var self=this;
3090
+ (self['@packagesList']=smalltalk.send(smalltalk.send(html, "_ul", []), "_class_", ["jt_column sunit packages"]));
3091
+ smalltalk.send(self, "_updateCategoriesList", []);
3092
+ return self;}
3093
+ }),
3094
+ smalltalk.TestRunner);
3095
+
3096
+ smalltalk.addMethod(
3097
+ unescape('_renderClassesOn_'),
3098
+ smalltalk.method({
3099
+ selector: unescape('renderClassesOn%3A'),
3100
+ fn: function (html){
3101
+ var self=this;
3102
+ (self['@classesList']=smalltalk.send(smalltalk.send(html, "_ul", []), "_class_", ["jt_column sunit classes"]));
3103
+ smalltalk.send(self, "_updateClassesList", []);
3104
+ return self;}
3105
+ }),
3106
+ smalltalk.TestRunner);
3107
+
3108
+ smalltalk.addMethod(
3109
+ unescape('_renderErrorsOn_'),
3110
+ smalltalk.method({
3111
+ selector: unescape('renderErrorsOn%3A'),
3112
+ fn: function (html){
3113
+ var self=this;
3114
+ smalltalk.send(smalltalk.send(smalltalk.send(self, "_result", []), "_errors", []), "_do_", [(function(each){return (function($rec){smalltalk.send($rec, "_class_", ["errors"]);smalltalk.send($rec, "_with_", [smalltalk.send(smalltalk.send(smalltalk.send(smalltalk.send(each, "_class", []), "_name", []), "__comma", [unescape("%20%3E%3E%20")]), "__comma", [smalltalk.send(each, "_selector", [])])]);return smalltalk.send($rec, "_onClick_", [(function(){return smalltalk.send(self, "_performFailure_", [each]);})]);})(smalltalk.send(html, "_li", []));})]);
3115
+ return self;}
3116
+ }),
3117
+ smalltalk.TestRunner);
3118
+
3119
+ smalltalk.addMethod(
3120
+ unescape('_renderFailuresOn_'),
3121
+ smalltalk.method({
3122
+ selector: unescape('renderFailuresOn%3A'),
3123
+ fn: function (html){
3124
+ var self=this;
3125
+ smalltalk.send(smalltalk.send(smalltalk.send(self, "_result", []), "_failures", []), "_do_", [(function(each){return (function($rec){smalltalk.send($rec, "_class_", ["failures"]);smalltalk.send($rec, "_with_", [smalltalk.send(smalltalk.send(smalltalk.send(smalltalk.send(each, "_class", []), "_name", []), "__comma", [unescape("%20%3E%3E%20")]), "__comma", [smalltalk.send(each, "_selector", [])])]);return smalltalk.send($rec, "_onClick_", [(function(){return smalltalk.send(self, "_performFailure_", [each]);})]);})(smalltalk.send(html, "_li", []));})]);
3126
+ return self;}
3127
+ }),
3128
+ smalltalk.TestRunner);
3129
+
3130
+ smalltalk.addMethod(
3131
+ unescape('_renderResultsOn_'),
3132
+ smalltalk.method({
3133
+ selector: unescape('renderResultsOn%3A'),
3134
+ fn: function (html){
3135
+ var self=this;
3136
+ (self['@statusDiv']=smalltalk.send(html, "_div", []));
3137
+ smalltalk.send(html, "_with_", [smalltalk.send(self, "_progressBar", [])]);
3138
+ (self['@methodsList']=smalltalk.send(smalltalk.send(html, "_ul", []), "_class_", ["jt_column sunit results"]));
3139
+ smalltalk.send(self, "_updateMethodsList", []);
3140
+ smalltalk.send(self, "_updateStatusDiv", []);
3141
+ return self;}
3142
+ }),
3143
+ smalltalk.TestRunner);
3144
+
3145
+ smalltalk.addMethod(
3146
+ unescape('_result'),
3147
+ smalltalk.method({
3148
+ selector: unescape('result'),
3149
+ fn: function (){
3150
+ var self=this;
3151
+ return self['@result'];
3152
+ return self;}
3153
+ }),
3154
+ smalltalk.TestRunner);
3155
+
3156
+ smalltalk.addMethod(
3157
+ unescape('_run_'),
3158
+ smalltalk.method({
3159
+ selector: unescape('run%3A'),
3160
+ fn: function (aCollection){
3161
+ var self=this;
3162
+ (self['@result']=smalltalk.send((smalltalk.TestResult || TestResult), "_new", []));
3163
+ (function($rec){smalltalk.send($rec, "_updateStatusDiv", []);return smalltalk.send($rec, "_updateMethodsList", []);})(self);
3164
+ smalltalk.send(smalltalk.send(self, "_progressBar", []), "_updatePercent_", [(0)]);
3165
+ smalltalk.send(self['@result'], "_total_", [smalltalk.send(aCollection, "_size", [])]);
3166
+ smalltalk.send(aCollection, "_do_", [(function(each){return smalltalk.send((function(){smalltalk.send(each, "_runCaseFor_", [self['@result']]);smalltalk.send(smalltalk.send(self, "_progressBar", []), "_updatePercent_", [((($receiver = ((($receiver = smalltalk.send(self['@result'], "_runs", [])).klass === smalltalk.Number) ? $receiver /smalltalk.send(self['@result'], "_total", []) : smalltalk.send($receiver, "__slash", [smalltalk.send(self['@result'], "_total", [])]))).klass === smalltalk.Number) ? $receiver *(100) : smalltalk.send($receiver, "__star", [(100)]))]);smalltalk.send(self, "_updateStatusDiv", []);return smalltalk.send(self, "_updateMethodsList", []);}), "_valueWithTimeout_", [(100)]);})]);
3167
+ return self;}
3168
+ }),
3169
+ smalltalk.TestRunner);
3170
+
3171
+ smalltalk.addMethod(
3172
+ unescape('_selectAllCategories'),
3173
+ smalltalk.method({
3174
+ selector: unescape('selectAllCategories'),
3175
+ fn: function (){
3176
+ var self=this;
3177
+ smalltalk.send(smalltalk.send(self, "_packages", []), "_do_", [(function(each){return ((($receiver = smalltalk.send(self['@selectedCategories'], "_includes_", [each])).klass === smalltalk.Boolean) ? (! $receiver ? (function(){return smalltalk.send(smalltalk.send(self, "_selectedCategories", []), "_add_", [each]);})() : nil) : smalltalk.send($receiver, "_ifFalse_", [(function(){return smalltalk.send(smalltalk.send(self, "_selectedCategories", []), "_add_", [each]);})]));})]);
3178
+ (function($rec){smalltalk.send($rec, "_updateCategoriesList", []);return smalltalk.send($rec, "_updateClassesList", []);})(self);
3179
+ return self;}
3180
+ }),
3181
+ smalltalk.TestRunner);
3182
+
3183
+ smalltalk.addMethod(
3184
+ unescape('_selectAllClasses'),
3185
+ smalltalk.method({
3186
+ selector: unescape('selectAllClasses'),
3187
+ fn: function (){
3188
+ var self=this;
3189
+ smalltalk.send(smalltalk.send(self, "_classes", []), "_do_", [(function(each){return ((($receiver = smalltalk.send(self['@selectedClasses'], "_includes_", [each])).klass === smalltalk.Boolean) ? (! $receiver ? (function(){return smalltalk.send(smalltalk.send(self, "_selectedClasses", []), "_add_", [each]);})() : nil) : smalltalk.send($receiver, "_ifFalse_", [(function(){return smalltalk.send(smalltalk.send(self, "_selectedClasses", []), "_add_", [each]);})]));})]);
3190
+ (function($rec){smalltalk.send($rec, "_updateCategoriesList", []);return smalltalk.send($rec, "_updateClassesList", []);})(self);
3191
+ return self;}
3192
+ }),
3193
+ smalltalk.TestRunner);
3194
+
3195
+ smalltalk.addMethod(
3196
+ unescape('_selectedCategories'),
3197
+ smalltalk.method({
3198
+ selector: unescape('selectedCategories'),
3199
+ fn: function (){
3200
+ var self=this;
3201
+ return (($receiver = self['@selectedCategories']) == nil || $receiver == undefined) ? (function(){return (self['@selectedCategories']=smalltalk.send((smalltalk.Array || Array), "_new", []));})() : $receiver;
3202
+ return self;}
3203
+ }),
3204
+ smalltalk.TestRunner);
3205
+
3206
+ smalltalk.addMethod(
3207
+ unescape('_selectedClasses'),
3208
+ smalltalk.method({
3209
+ selector: unescape('selectedClasses'),
3210
+ fn: function (){
3211
+ var self=this;
3212
+ return (($receiver = self['@selectedClasses']) == nil || $receiver == undefined) ? (function(){return (self['@selectedClasses']=smalltalk.send((smalltalk.Array || Array), "_new", []));})() : $receiver;
3213
+ return self;}
3214
+ }),
3215
+ smalltalk.TestRunner);
3216
+
3217
+ smalltalk.addMethod(
3218
+ unescape('_statusInfo'),
3219
+ smalltalk.method({
3220
+ selector: unescape('statusInfo'),
3221
+ fn: function (){
3222
+ var self=this;
3223
+ return smalltalk.send(smalltalk.send(smalltalk.send(smalltalk.send(self, "_printTotal", []), "__comma", [smalltalk.send(self, "_printPasses", [])]), "__comma", [smalltalk.send(self, "_printErrors", [])]), "__comma", [smalltalk.send(self, "_printFailures", [])]);
3224
+ return self;}
3225
+ }),
3226
+ smalltalk.TestRunner);
3227
+
3228
+ smalltalk.addMethod(
3229
+ unescape('_testCases'),
3230
+ smalltalk.method({
3231
+ selector: unescape('testCases'),
3232
+ fn: function (){
3233
+ var self=this;
3234
+ var testCases=nil;
3235
+ (testCases=[]);
3236
+ smalltalk.send(smalltalk.send(self, "_selectedClasses", []), "_do_", [(function(each){return smalltalk.send(testCases, "_addAll_", [smalltalk.send(each, "_buildSuite", [])]);})]);
3237
+ return testCases;
3238
+ return self;}
3239
+ }),
3240
+ smalltalk.TestRunner);
3241
+
3242
+ smalltalk.addMethod(
3243
+ unescape('_toggleCategory_'),
3244
+ smalltalk.method({
3245
+ selector: unescape('toggleCategory%3A'),
3246
+ fn: function (aCategory){
3247
+ var self=this;
3248
+ ((($receiver = smalltalk.send(self, "_isSelectedCategory_", [aCategory])).klass === smalltalk.Boolean) ? (! $receiver ? (function(){return smalltalk.send(self['@selectedCategories'], "_add_", [aCategory]);})() : (function(){return smalltalk.send(self['@selectedCategories'], "_remove_", [aCategory]);})()) : smalltalk.send($receiver, "_ifFalse_ifTrue_", [(function(){return smalltalk.send(self['@selectedCategories'], "_add_", [aCategory]);}), (function(){return smalltalk.send(self['@selectedCategories'], "_remove_", [aCategory]);})]));
3249
+ (function($rec){smalltalk.send($rec, "_updateCategoriesList", []);return smalltalk.send($rec, "_updateClassesList", []);})(self);
3250
+ return self;}
3251
+ }),
3252
+ smalltalk.TestRunner);
3253
+
3254
+ smalltalk.addMethod(
3255
+ unescape('_toggleClass_'),
3256
+ smalltalk.method({
3257
+ selector: unescape('toggleClass%3A'),
3258
+ fn: function (aClass){
3259
+ var self=this;
3260
+ ((($receiver = smalltalk.send(self, "_isSelectedClass_", [aClass])).klass === smalltalk.Boolean) ? (! $receiver ? (function(){return smalltalk.send(self['@selectedClasses'], "_add_", [aClass]);})() : (function(){return smalltalk.send(self['@selectedClasses'], "_remove_", [aClass]);})()) : smalltalk.send($receiver, "_ifFalse_ifTrue_", [(function(){return smalltalk.send(self['@selectedClasses'], "_add_", [aClass]);}), (function(){return smalltalk.send(self['@selectedClasses'], "_remove_", [aClass]);})]));
3261
+ smalltalk.send(self, "_updateClassesList", []);
3262
+ return self;}
3263
+ }),
3264
+ smalltalk.TestRunner);
3265
+
3266
+ smalltalk.addMethod(
3267
+ unescape('_updateCategoriesList'),
3268
+ smalltalk.method({
3269
+ selector: unescape('updateCategoriesList'),
3270
+ fn: function (){
3271
+ var self=this;
3272
+ smalltalk.send(self['@packagesList'], "_contents_", [(function(html){(function($rec){smalltalk.send($rec, "_class_", ["all"]);smalltalk.send($rec, "_with_", ["All"]);return smalltalk.send($rec, "_onClick_", [(function(){return smalltalk.send(self, "_selectAllCategories", []);})]);})(smalltalk.send(html, "_li", []));return smalltalk.send(smalltalk.send(self, "_packages", []), "_do_", [(function(each){var li=nil;
3273
+ (li=smalltalk.send(html, "_li", []));((($receiver = smalltalk.send(smalltalk.send(self, "_selectedCategories", []), "_includes_", [each])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return smalltalk.send(li, "_class_", ["selected"]);})() : nil) : smalltalk.send($receiver, "_ifTrue_", [(function(){return smalltalk.send(li, "_class_", ["selected"]);})]));return (function($rec){smalltalk.send($rec, "_with_", [each]);return smalltalk.send($rec, "_onClick_", [(function(){return smalltalk.send(self, "_toggleCategory_", [each]);})]);})(li);})]);})]);
3274
+ return self;}
3275
+ }),
3276
+ smalltalk.TestRunner);
3277
+
3278
+ smalltalk.addMethod(
3279
+ unescape('_updateClassesList'),
3280
+ smalltalk.method({
3281
+ selector: unescape('updateClassesList'),
3282
+ fn: function (){
3283
+ var self=this;
3284
+ smalltalk.send(self['@classesList'], "_contents_", [(function(html){((($receiver = smalltalk.send(smalltalk.send(self, "_selectedCategories", []), "_isEmpty", [])).klass === smalltalk.Boolean) ? (! $receiver ? (function(){return (function($rec){smalltalk.send($rec, "_class_", ["all"]);smalltalk.send($rec, "_with_", ["All"]);return smalltalk.send($rec, "_onClick_", [(function(){return smalltalk.send(self, "_selectAllClasses", []);})]);})(smalltalk.send(html, "_li", []));})() : nil) : smalltalk.send($receiver, "_ifFalse_", [(function(){return (function($rec){smalltalk.send($rec, "_class_", ["all"]);smalltalk.send($rec, "_with_", ["All"]);return smalltalk.send($rec, "_onClick_", [(function(){return smalltalk.send(self, "_selectAllClasses", []);})]);})(smalltalk.send(html, "_li", []));})]));return smalltalk.send(smalltalk.send(self, "_classes", []), "_do_", [(function(each){var li=nil;
3285
+ (li=smalltalk.send(html, "_li", []));((($receiver = smalltalk.send(smalltalk.send(self, "_selectedClasses", []), "_includes_", [each])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return smalltalk.send(li, "_class_", ["selected"]);})() : nil) : smalltalk.send($receiver, "_ifTrue_", [(function(){return smalltalk.send(li, "_class_", ["selected"]);})]));return (function($rec){smalltalk.send($rec, "_with_", [smalltalk.send(each, "_name", [])]);return smalltalk.send($rec, "_onClick_", [(function(){return smalltalk.send(self, "_toggleClass_", [each]);})]);})(li);})]);})]);
3286
+ return self;}
3287
+ }),
3288
+ smalltalk.TestRunner);
3289
+
3290
+ smalltalk.addMethod(
3291
+ unescape('_updateMethodsList'),
3292
+ smalltalk.method({
3293
+ selector: unescape('updateMethodsList'),
3294
+ fn: function (){
3295
+ var self=this;
3296
+ smalltalk.send(self['@methodsList'], "_contents_", [(function(html){smalltalk.send(self, "_renderErrorsOn_", [html]);return smalltalk.send(self, "_renderFailuresOn_", [html]);})]);
3297
+ return self;}
3298
+ }),
3299
+ smalltalk.TestRunner);
3300
+
3301
+ smalltalk.addMethod(
3302
+ unescape('_updateStatusDiv'),
3303
+ smalltalk.method({
3304
+ selector: unescape('updateStatusDiv'),
3305
+ fn: function (){
3306
+ var self=this;
3307
+ smalltalk.send(self['@statusDiv'], "_class_", [smalltalk.send("sunit status ", "__comma", [smalltalk.send(self['@result'], "_status", [])])]);
3308
+ smalltalk.send(self['@statusDiv'], "_contents_", [(function(html){return smalltalk.send(smalltalk.send(html, "_span", []), "_with_", [smalltalk.send(self, "_statusInfo", [])]);})]);
3309
+ return self;}
3310
+ }),
3311
+ smalltalk.TestRunner);
3312
+
3313
+
3314
+
3315
+ smalltalk.addClass('Workspace', smalltalk.TabWidget, ['sourceArea'], 'IDE');
3316
+ smalltalk.addMethod(
3317
+ unescape('_clearWorkspace'),
3318
+ smalltalk.method({
3319
+ selector: unescape('clearWorkspace'),
3320
+ fn: function (){
3321
+ var self=this;
3322
+ smalltalk.send(self['@sourceArea'], "_clear", []);
3323
+ return self;}
3324
+ }),
3325
+ smalltalk.Workspace);
3326
+
3327
+ smalltalk.addMethod(
3328
+ unescape('_doIt'),
3329
+ smalltalk.method({
3330
+ selector: unescape('doIt'),
3331
+ fn: function (){
3332
+ var self=this;
3333
+ smalltalk.send(self['@sourceArea'], "_doIt", []);
3334
+ return self;}
3335
+ }),
3336
+ smalltalk.Workspace);
3337
+
3338
+ smalltalk.addMethod(
3339
+ unescape('_fileIn'),
3340
+ smalltalk.method({
3341
+ selector: unescape('fileIn'),
3342
+ fn: function (){
3343
+ var self=this;
3344
+ smalltalk.send(self['@sourceArea'], "_fileIn", []);
3345
+ return self;}
3346
+ }),
3347
+ smalltalk.Workspace);
3348
+
3349
+ smalltalk.addMethod(
3350
+ unescape('_inspectIt'),
3351
+ smalltalk.method({
3352
+ selector: unescape('inspectIt'),
3353
+ fn: function (){
3354
+ var self=this;
3355
+ smalltalk.send(self['@sourceArea'], "_inspectIt", []);
3356
+ return self;}
3357
+ }),
3358
+ smalltalk.Workspace);
3359
+
3360
+ smalltalk.addMethod(
3361
+ unescape('_label'),
3362
+ smalltalk.method({
3363
+ selector: unescape('label'),
3364
+ fn: function (){
3365
+ var self=this;
3366
+ return "Workspace";
3367
+ return self;}
3368
+ }),
3369
+ smalltalk.Workspace);
3370
+
3371
+ smalltalk.addMethod(
3372
+ unescape('_printIt'),
3373
+ smalltalk.method({
3374
+ selector: unescape('printIt'),
3375
+ fn: function (){
3376
+ var self=this;
3377
+ smalltalk.send(self['@sourceArea'], "_printIt", []);
3378
+ return self;}
3379
+ }),
3380
+ smalltalk.Workspace);
3381
+
3382
+ smalltalk.addMethod(
3383
+ unescape('_renderBoxOn_'),
3384
+ smalltalk.method({
3385
+ selector: unescape('renderBoxOn%3A'),
3386
+ fn: function (html){
3387
+ var self=this;
3388
+ (self['@sourceArea']=smalltalk.send((smalltalk.SourceArea || SourceArea), "_new", []));
3389
+ smalltalk.send(self['@sourceArea'], "_renderOn_", [html]);
3390
+ return self;}
3391
+ }),
3392
+ smalltalk.Workspace);
3393
+
3394
+ smalltalk.addMethod(
3395
+ unescape('_renderButtonsOn_'),
3396
+ smalltalk.method({
3397
+ selector: unescape('renderButtonsOn%3A'),
3398
+ fn: function (html){
3399
+ var self=this;
3400
+ (function($rec){smalltalk.send($rec, "_with_", ["DoIt"]);smalltalk.send($rec, "_title_", [unescape("ctrl+d")]);return smalltalk.send($rec, "_onClick_", [(function(){return smalltalk.send(self, "_doIt", []);})]);})(smalltalk.send(html, "_button", []));
3401
+ (function($rec){smalltalk.send($rec, "_with_", ["PrintIt"]);smalltalk.send($rec, "_title_", [unescape("ctrl+p")]);return smalltalk.send($rec, "_onClick_", [(function(){return smalltalk.send(self, "_printIt", []);})]);})(smalltalk.send(html, "_button", []));
3402
+ (function($rec){smalltalk.send($rec, "_with_", ["InspectIt"]);smalltalk.send($rec, "_title_", [unescape("ctrl+i")]);return smalltalk.send($rec, "_onClick_", [(function(){return smalltalk.send(self, "_inspectIt", []);})]);})(smalltalk.send(html, "_button", []));
3403
+ (function($rec){smalltalk.send($rec, "_with_", ["FileIn"]);smalltalk.send($rec, "_title_", [unescape("ctrl+f")]);return smalltalk.send($rec, "_onClick_", [(function(){return smalltalk.send(self, "_fileIn", []);})]);})(smalltalk.send(html, "_button", []));
3404
+ (function($rec){smalltalk.send($rec, "_with_", ["Clear workspace"]);return smalltalk.send($rec, "_onClick_", [(function(){return smalltalk.send(self, "_clearWorkspace", []);})]);})(smalltalk.send(html, "_button", []));
3405
+ return self;}
3406
+ }),
3407
+ smalltalk.Workspace);
3408
+
3409
+
3410
+
3411
+ smalltalk.addMethod(
3412
+ unescape('_inspect'),
3413
+ smalltalk.method({
3414
+ selector: unescape('inspect'),
3415
+ fn: function (){
3416
+ var self=this;
3417
+ (function($rec){smalltalk.send($rec, "_inspect_", [self]);return smalltalk.send($rec, "_open", []);})(smalltalk.send((smalltalk.Inspector || Inspector), "_new", []));
3418
+ return self;}
3419
+ }),
3420
+ smalltalk.Object);
3421
+
3422
+ smalltalk.addMethod(
3423
+ unescape('_inspectOn_'),
3424
+ smalltalk.method({
3425
+ selector: unescape('inspectOn%3A'),
3426
+ fn: function (anInspector){
3427
+ var self=this;
3428
+ var variables=nil;
3429
+ (variables=smalltalk.send((smalltalk.Dictionary || Dictionary), "_new", []));
3430
+ smalltalk.send(variables, "_at_put_", [unescape("%23self"), self]);
3431
+ smalltalk.send(smalltalk.send(smalltalk.send(self, "_class", []), "_allInstanceVariableNames", []), "_do_", [(function(each){return smalltalk.send(variables, "_at_put_", [each, smalltalk.send(self, "_instVarAt_", [each])]);})]);
3432
+ (function($rec){smalltalk.send($rec, "_setLabel_", [smalltalk.send(self, "_printString", [])]);return smalltalk.send($rec, "_setVariables_", [variables]);})(anInspector);
3433
+ return self;}
3434
+ }),
3435
+ smalltalk.Object);
3436
+
3437
+ smalltalk.addMethod(
3438
+ unescape('_inspectOn_'),
3439
+ smalltalk.method({
3440
+ selector: unescape('inspectOn%3A'),
3441
+ fn: function (anInspector){
3442
+ var self=this;
3443
+ var variables=nil;
3444
+ (variables=smalltalk.send((smalltalk.Dictionary || Dictionary), "_new", []));
3445
+ smalltalk.send(variables, "_at_put_", [unescape("%23self"), self]);
3446
+ smalltalk.send(self, "_withIndexDo_", [(function(each, i){return smalltalk.send(variables, "_at_put_", [i, each]);})]);
3447
+ (function($rec){smalltalk.send($rec, "_setLabel_", [smalltalk.send(self, "_printString", [])]);return smalltalk.send($rec, "_setVariables_", [variables]);})(anInspector);
3448
+ return self;}
3449
+ }),
3450
+ smalltalk.Collection);
3451
+
3452
+ smalltalk.addMethod(
3453
+ unescape('_inspectOn_'),
3454
+ smalltalk.method({
3455
+ selector: unescape('inspectOn%3A'),
3456
+ fn: function (anInspector){
3457
+ var self=this;
3458
+ var variables=nil;
3459
+ (variables=smalltalk.send((smalltalk.Dictionary || Dictionary), "_new", []));
3460
+ smalltalk.send(variables, "_at_put_", [unescape("%23self"), self]);
3461
+ smalltalk.send(variables, "_at_put_", [unescape("%23keys"), smalltalk.send(self, "_keys", [])]);
3462
+ smalltalk.send(self, "_keysAndValuesDo_", [(function(key, value){return smalltalk.send(variables, "_at_put_", [key, value]);})]);
3463
+ (function($rec){smalltalk.send($rec, "_setLabel_", [smalltalk.send(self, "_printString", [])]);return smalltalk.send($rec, "_setVariables_", [variables]);})(anInspector);
3464
+ return self;}
3465
+ }),
3466
+ smalltalk.HashedCollection);
3467
+
3468
+ smalltalk.addMethod(
3469
+ unescape('_inspectOn_'),
3470
+ smalltalk.method({
3471
+ selector: unescape('inspectOn%3A'),
3472
+ fn: function (anInspector){
3473
+ var self=this;
3474
+ var label=nil;
3475
+ smalltalk.send(self, "_inspectOn_", [anInspector], smalltalk.CharacterArray);
3476
+ ((($receiver = ((($receiver = smalltalk.send(smalltalk.send(self, "_printString", []), "_size", [])).klass === smalltalk.Number) ? $receiver >(30) : smalltalk.send($receiver, "__gt", [(30)]))).klass === smalltalk.Boolean) ? ($receiver ? (function(){return (label=smalltalk.send(smalltalk.send(smalltalk.send(self, "_printString", []), "_copyFrom_to_", [(1), (30)]), "__comma", [unescape("...%27")]));})() : (function(){return (label=smalltalk.send(self, "_printString", []));})()) : smalltalk.send($receiver, "_ifTrue_ifFalse_", [(function(){return (label=smalltalk.send(smalltalk.send(smalltalk.send(self, "_printString", []), "_copyFrom_to_", [(1), (30)]), "__comma", [unescape("...%27")]));}), (function(){return (label=smalltalk.send(self, "_printString", []));})]));
3477
+ smalltalk.send(anInspector, "_setLabel_", [label]);
3478
+ return self;}
3479
+ }),
3480
+ smalltalk.String);
3481
+
3482
+ smalltalk.addMethod(
3483
+ unescape('_inspectOn_'),
3484
+ smalltalk.method({
3485
+ selector: unescape('inspectOn%3A'),
3486
+ fn: function (anInspector){
3487
+ var self=this;
3488
+ var variables=nil;
3489
+ (variables=smalltalk.send((smalltalk.Dictionary || Dictionary), "_new", []));
3490
+ smalltalk.send(variables, "_at_put_", [unescape("%23self"), self]);
3491
+ smalltalk.send(self['@elements'], "_withIndexDo_", [(function(each, i){return smalltalk.send(variables, "_at_put_", [i, each]);})]);
3492
+ (function($rec){smalltalk.send($rec, "_setLabel_", [smalltalk.send(self, "_printString", [])]);return smalltalk.send($rec, "_setVariables_", [variables]);})(anInspector);
3493
+ return self;}
3494
+ }),
3495
+ smalltalk.Set);
3496
+
3497
+ smalltalk.addMethod(
3498
+ unescape('_inspectOn_'),
3499
+ smalltalk.method({
3500
+ selector: unescape('inspectOn%3A'),
3501
+ fn: function (anInspector){
3502
+ var self=this;
3503
+ var variables=nil;
3504
+ (variables=smalltalk.send((smalltalk.Dictionary || Dictionary), "_new", []));
3505
+ smalltalk.send(variables, "_at_put_", [unescape("%23self"), self]);
3506
+ smalltalk.send(variables, "_at_put_", [unescape("%23year"), smalltalk.send(self, "_year", [])]);
3507
+ smalltalk.send(variables, "_at_put_", [unescape("%23month"), smalltalk.send(self, "_month", [])]);
3508
+ smalltalk.send(variables, "_at_put_", [unescape("%23day"), smalltalk.send(self, "_day", [])]);
3509
+ smalltalk.send(variables, "_at_put_", [unescape("%23hours"), smalltalk.send(self, "_hours", [])]);
3510
+ smalltalk.send(variables, "_at_put_", [unescape("%23minutes"), smalltalk.send(self, "_minutes", [])]);
3511
+ smalltalk.send(variables, "_at_put_", [unescape("%23seconds"), smalltalk.send(self, "_seconds", [])]);
3512
+ smalltalk.send(variables, "_at_put_", [unescape("%23milliseconds"), smalltalk.send(self, "_milliseconds", [])]);
3513
+ (function($rec){smalltalk.send($rec, "_setLabel_", [smalltalk.send(self, "_printString", [])]);return smalltalk.send($rec, "_setVariables_", [variables]);})(anInspector);
3514
+ return self;}
3515
+ }),
3516
+ smalltalk.Date);
3517
+
3518
+ smalltalk.addMethod(
3519
+ unescape('_inspectOn_'),
3520
+ smalltalk.method({
3521
+ selector: unescape('inspectOn%3A'),
3522
+ fn: function (anInspector){
3523
+ var self=this;
3524
+ var variables=nil;
3525
+ (variables=smalltalk.send((smalltalk.Dictionary || Dictionary), "_new", []));
3526
+ smalltalk.send(variables, "_at_put_", [unescape("%23self"), self]);
3527
+ smalltalk.send(variables, "_at_put_", [unescape("%23year"), smalltalk.send(self, "_year", [])]);
3528
+ smalltalk.send(variables, "_at_put_", [unescape("%23month"), smalltalk.send(self, "_month", [])]);
3529
+ smalltalk.send(variables, "_at_put_", [unescape("%23day"), smalltalk.send(self, "_day", [])]);
3530
+ smalltalk.send(variables, "_at_put_", [unescape("%23hours"), smalltalk.send(self, "_hours", [])]);
3531
+ smalltalk.send(variables, "_at_put_", [unescape("%23minutes"), smalltalk.send(self, "_minutes", [])]);
3532
+ smalltalk.send(variables, "_at_put_", [unescape("%23seconds"), smalltalk.send(self, "_seconds", [])]);
3533
+ smalltalk.send(variables, "_at_put_", [unescape("%23milliseconds"), smalltalk.send(self, "_milliseconds", [])]);
3534
+ (function($rec){smalltalk.send($rec, "_setLabel_", [smalltalk.send(self, "_printString", [])]);return smalltalk.send($rec, "_setVariables_", [variables]);})(anInspector);
3535
+ return self;}
3536
+ }),
3537
+ smalltalk.Date);
3538
+
3539
+ smalltalk.addMethod(
3540
+ unescape('_inspectOn_'),
3541
+ smalltalk.method({
3542
+ selector: unescape('inspectOn%3A'),
3543
+ fn: function (anInspector){
3544
+ var self=this;
3545
+ var variables=nil;
3546
+ (variables=smalltalk.send((smalltalk.Dictionary || Dictionary), "_new", []));
3547
+ smalltalk.send(variables, "_at_put_", [unescape("%23self"), self]);
3548
+ smalltalk.send(variables, "_at_put_", [unescape("%23home"), smalltalk.send(self, "_home", [])]);
3549
+ smalltalk.send(variables, "_at_put_", [unescape("%23receiver"), smalltalk.send(self, "_receiver", [])]);
3550
+ smalltalk.send(variables, "_at_put_", [unescape("%23selector"), smalltalk.send(self, "_selector", [])]);
3551
+ smalltalk.send(variables, "_at_put_", [unescape("%23temps"), smalltalk.send(self, "_temps", [])]);
3552
+ smalltalk.send(smalltalk.send(smalltalk.send(self, "_class", []), "_instanceVariableNames", []), "_do_", [(function(each){return smalltalk.send(variables, "_at_put_", [each, smalltalk.send(self, "_instVarAt_", [each])]);})]);
3553
+ (function($rec){smalltalk.send($rec, "_setLabel_", [smalltalk.send(self, "_printString", [])]);return smalltalk.send($rec, "_setVariables_", [variables]);})(anInspector);
3554
+ return self;}
3555
+ }),
3556
+ smalltalk.MethodContext);
3557
+