1
0

Presentation.js 120 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131
  1. smalltalk.addClass('Slide', smalltalk.Widget, ['presentation'], 'Presentation');
  2. smalltalk.addMethod(
  3. unescape('_presentation'),
  4. smalltalk.method({
  5. selector: unescape('presentation'),
  6. category: 'accessing',
  7. fn: function () {
  8. var self = this;
  9. return self['@presentation'];
  10. return self;
  11. },
  12. args: [],
  13. source: unescape('presentation%0A%09%5Epresentation'),
  14. messageSends: [],
  15. referencedClasses: []
  16. }),
  17. smalltalk.Slide);
  18. smalltalk.addMethod(
  19. unescape('_presentation_'),
  20. smalltalk.method({
  21. selector: unescape('presentation%3A'),
  22. category: 'accessing',
  23. fn: function (aPresentation) {
  24. var self = this;
  25. self['@presentation'] = aPresentation;
  26. return self;
  27. },
  28. args: ["aPresentation"],
  29. source: unescape('presentation%3A%20aPresentation%0A%09presentation%20%3A%3D%20aPresentation'),
  30. messageSends: [],
  31. referencedClasses: []
  32. }),
  33. smalltalk.Slide);
  34. smalltalk.addMethod(
  35. unescape('_id'),
  36. smalltalk.method({
  37. selector: unescape('id'),
  38. category: 'accessing',
  39. fn: function () {
  40. var self = this;
  41. smalltalk.send(self, "_subclassResponsibility", []);
  42. return self;
  43. },
  44. args: [],
  45. source: unescape('id%0A%09self%20subclassResponsibility'),
  46. messageSends: ["subclassResponsibility"],
  47. referencedClasses: []
  48. }),
  49. smalltalk.Slide);
  50. smalltalk.addMethod(
  51. unescape('_cssClass'),
  52. smalltalk.method({
  53. selector: unescape('cssClass'),
  54. category: 'accessing',
  55. fn: function () {
  56. var self = this;
  57. return "slide";
  58. return self;
  59. },
  60. args: [],
  61. source: unescape('cssClass%0A%09%5E%27slide%27'),
  62. messageSends: [],
  63. referencedClasses: []
  64. }),
  65. smalltalk.Slide);
  66. smalltalk.addMethod(
  67. unescape('_backgroundColor'),
  68. smalltalk.method({
  69. selector: unescape('backgroundColor'),
  70. category: 'accessing',
  71. fn: function () {
  72. var self = this;
  73. return unescape("%23555");
  74. return self;
  75. },
  76. args: [],
  77. source: unescape('backgroundColor%0A%09%5E%27%23555%27'),
  78. messageSends: [],
  79. referencedClasses: []
  80. }),
  81. smalltalk.Slide);
  82. smalltalk.addMethod(
  83. unescape('_show'),
  84. smalltalk.method({
  85. selector: unescape('show'),
  86. category: 'actions',
  87. fn: function (){
  88. var self=this;
  89. (($receiver = smalltalk.send(self, "_backgroundColor", [])) != nil && $receiver != undefined) ? (function(){return smalltalk.send(smalltalk.send((typeof window == 'undefined' ? nil : window), "_jQuery_", [unescape("%23slides")]), "_css_color_", ["background", smalltalk.send(self, "_backgroundColor", [])]);})() : nil;
  90. smalltalk.send(smalltalk.send((typeof window == 'undefined' ? nil : window), "_jQuery_", [".slide"]), "_hide_options_duration_", [smalltalk.send(smalltalk.send(self, "_presentation", []), "_slideTransition", []), [], (300)]);
  91. smalltalk.send(smalltalk.send((typeof window == 'undefined' ? nil : window), "_jQuery_", [smalltalk.send(unescape("%23"), "__comma", [smalltalk.send(self, "_id", [])])]), "_show_options_duration_", [smalltalk.send(smalltalk.send(self, "_presentation", []), "_slideTransition", []), [], (300)]);
  92. return self;},
  93. args: [],
  94. source: unescape('show%0A%09self%20backgroundColor%20ifNotNil%3A%20%5B%0A%09%09%28window%20jQuery%3A%20%27%23slides%27%29%20css%3A%20%27background%27%20color%3A%20self%20backgroundColor%5D.%0A%09%28window%20jQuery%3A%20%27.slide%27%29%20hide%3A%20self%20presentation%20slideTransition%20options%3A%20%23%28%29%20duration%3A%20300.%0A%09%28window%20jQuery%3A%20%27%23%27%2C%20self%20id%29%20show%3A%20self%20presentation%20slideTransition%20options%3A%20%23%28%29%20duration%3A%20300.'),
  95. messageSends: ["ifNotNil:", "backgroundColor", "css:color:", "jQuery:", "hide:options:duration:", "slideTransition", "presentation", "show:options:duration:", unescape("%2C"), "id"],
  96. referencedClasses: []
  97. }),
  98. smalltalk.Slide);
  99. smalltalk.addMethod(
  100. unescape('_renderOn_'),
  101. smalltalk.method({
  102. selector: unescape('renderOn%3A'),
  103. category: 'rendering',
  104. fn: function (html) {
  105. var self = this;
  106. (function ($rec) {smalltalk.send($rec, "_class_", [smalltalk.send(self, "_cssClass", [])]);smalltalk.send($rec, "_id_", [smalltalk.send(self, "_id", [])]);return smalltalk.send($rec, "_with_", [function () {smalltalk.send(self, "_renderSlideOn_", [html]);return smalltalk.send(self, "_renderMetaOn_", [html]);}]);}(smalltalk.send(html, "_div", [])));
  107. return self;
  108. },
  109. args: ["html"],
  110. source: unescape('renderOn%3A%20html%0A%09html%20div%20class%3A%20self%20cssClass%3B%20id%3A%20self%20id%3B%20with%3A%20%5B%0A%09%09self%20renderSlideOn%3A%20html.%0A%09%09self%20renderMetaOn%3A%20html%5D'),
  111. messageSends: ["class:", "cssClass", "id:", "id", "with:", "renderSlideOn:", "renderMetaOn:", "div"],
  112. referencedClasses: []
  113. }),
  114. smalltalk.Slide);
  115. smalltalk.addMethod(
  116. unescape('_renderSlideOn_'),
  117. smalltalk.method({
  118. selector: unescape('renderSlideOn%3A'),
  119. category: 'rendering',
  120. fn: function (html) {
  121. var self = this;
  122. return self;
  123. },
  124. args: ["html"],
  125. source: unescape('renderSlideOn%3A%20html'),
  126. messageSends: [],
  127. referencedClasses: []
  128. }),
  129. smalltalk.Slide);
  130. smalltalk.addMethod(
  131. unescape('_renderMetaOn_'),
  132. smalltalk.method({
  133. selector: unescape('renderMetaOn%3A'),
  134. category: 'rendering',
  135. fn: function (html) {
  136. var self = this;
  137. (function ($rec) {smalltalk.send($rec, "_id_", ["meta"]);return smalltalk.send($rec, "_with_", [function () {(function ($rec) {smalltalk.send($rec, "_class_", ["title"]);return smalltalk.send($rec, "_with_", [smalltalk.send(smalltalk.send(self, "_presentation", []), "_title", [])]);}(smalltalk.send(html, "_p", [])));(function ($rec) {smalltalk.send($rec, "_class_", ["description"]);return smalltalk.send($rec, "_with_", [smalltalk.send(smalltalk.send(self, "_presentation", []), "_description", [])]);}(smalltalk.send(html, "_p", [])));(function ($rec) {smalltalk.send($rec, "_class_", ["author"]);smalltalk.send($rec, "_with_", [smalltalk.send(smalltalk.send(self, "_presentation", []), "_author", [])]);return smalltalk.send($rec, "_href_", [smalltalk.send("mailto:", "__comma", [smalltalk.send(smalltalk.send(self, "_presentation", []), "_email", [])])]);}(smalltalk.send(html, "_a", [])));return function ($rec) {smalltalk.send($rec, "_class_", ["url"]);smalltalk.send($rec, "_with_", [smalltalk.send(smalltalk.send(self, "_presentation", []), "_url", [])]);return smalltalk.send($rec, "_href_", [smalltalk.send(smalltalk.send(self, "_presentation", []), "_url", [])]);}(smalltalk.send(html, "_a", []));}]);}(smalltalk.send(html, "_div", [])));
  138. return self;
  139. },
  140. args: ["html"],
  141. source: unescape('renderMetaOn%3A%20html%0A%09html%20div%20%0A%09%09id%3A%20%27meta%27%3B%0A%09%09with%3A%20%5B%0A%09%09%09html%20p%20class%3A%20%27title%27%3B%20with%3A%20self%20presentation%20title.%0A%09%09%09html%20p%20class%3A%20%27description%27%3B%20with%3A%20self%20presentation%20description.%0A%09%09%09html%20a%20class%3A%20%27author%27%3B%20with%3A%20self%20presentation%20author%3B%20href%3A%20%27mailto%3A%27%2C%20self%20presentation%20email.%0A%09%09%09html%20a%20class%3A%20%27url%27%3B%20with%3A%20self%20presentation%20url%3B%20href%3A%20self%20presentation%20url%5D'),
  142. messageSends: ["id:", "with:", "class:", "title", "presentation", "p", "description", "author", "href:", unescape("%2C"), "email", "a", "url", "div"],
  143. referencedClasses: []
  144. }),
  145. smalltalk.Slide);
  146. smalltalk.addMethod(
  147. unescape('_title'),
  148. smalltalk.method({
  149. selector: unescape('title'),
  150. category: 'accessing',
  151. fn: function (){
  152. var self=this;
  153. return smalltalk.send(self, "_id", []);
  154. return self;},
  155. args: [],
  156. source: unescape('title%0A%09%5E%20self%20id'),
  157. messageSends: ["id"],
  158. referencedClasses: []
  159. }),
  160. smalltalk.Slide);
  161. smalltalk.addMethod(
  162. unescape('_on_'),
  163. smalltalk.method({
  164. selector: unescape('on%3A'),
  165. category: 'instance creation',
  166. fn: function (aPresentation) {
  167. var self = this;
  168. return function ($rec) {smalltalk.send($rec, "_presentation_", [aPresentation]);return smalltalk.send($rec, "_yourself", []);}(smalltalk.send(self, "_new", []));
  169. return self;
  170. },
  171. args: ["aPresentation"],
  172. source: unescape('on%3A%20aPresentation%0A%09%5Eself%20new%0A%09%09presentation%3A%20aPresentation%3B%0A%09%09yourself'),
  173. messageSends: ["presentation:", "yourself", "new"],
  174. referencedClasses: []
  175. }),
  176. smalltalk.Slide.klass);
  177. smalltalk.addClass('Presentation', smalltalk.Widget, ['currentSlide', 'slides'], 'Presentation');
  178. smalltalk.addMethod(
  179. unescape('_title'),
  180. smalltalk.method({
  181. selector: unescape('title'),
  182. category: 'accessing',
  183. fn: function () {
  184. var self = this;
  185. return smalltalk.send(smalltalk.send(self, "_class", []), "_title", []);
  186. return self;
  187. },
  188. args: [],
  189. source: unescape('title%0A%09%5E%20self%20class%20title.'),
  190. messageSends: ["title", "class"],
  191. referencedClasses: []
  192. }),
  193. smalltalk.Presentation);
  194. smalltalk.addMethod(
  195. unescape('_author'),
  196. smalltalk.method({
  197. selector: unescape('author'),
  198. category: 'accessing',
  199. fn: function () {
  200. var self = this;
  201. return "John Smith";
  202. return self;
  203. },
  204. args: [],
  205. source: unescape('author%0A%09%5E%27John%20Smith%27'),
  206. messageSends: [],
  207. referencedClasses: []
  208. }),
  209. smalltalk.Presentation);
  210. smalltalk.addMethod(
  211. unescape('_url'),
  212. smalltalk.method({
  213. selector: unescape('url'),
  214. category: 'accessing',
  215. fn: function () {
  216. var self = this;
  217. return unescape("http%3A//jtalk-project.org");
  218. return self;
  219. },
  220. args: [],
  221. source: unescape('url%0A%09%5E%27http%3A//jtalk-project.org%27'),
  222. messageSends: [],
  223. referencedClasses: []
  224. }),
  225. smalltalk.Presentation);
  226. smalltalk.addMethod(
  227. unescape('_description'),
  228. smalltalk.method({
  229. selector: unescape('description'),
  230. category: 'accessing',
  231. fn: function () {
  232. var self = this;
  233. return "A presentation written in Jtalk";
  234. return self;
  235. },
  236. args: [],
  237. source: unescape('description%0A%09%5E%27A%20presentation%20written%20in%20Jtalk%27'),
  238. messageSends: [],
  239. referencedClasses: []
  240. }),
  241. smalltalk.Presentation);
  242. smalltalk.addMethod(
  243. unescape('_email'),
  244. smalltalk.method({
  245. selector: unescape('email'),
  246. category: 'accessing',
  247. fn: function () {
  248. var self = this;
  249. return unescape("john@smith.com");
  250. return self;
  251. },
  252. args: [],
  253. source: unescape('email%0A%09%5E%27john@smith.com%27'),
  254. messageSends: [],
  255. referencedClasses: []
  256. }),
  257. smalltalk.Presentation);
  258. smalltalk.addMethod(
  259. unescape('_slides'),
  260. smalltalk.method({
  261. selector: unescape('slides'),
  262. category: 'accessing',
  263. fn: function () {
  264. var self = this;
  265. ($receiver = self['@slides']) == nil || $receiver == undefined ? function () {return smalltalk.send(self, "_initSlides", []);}() : $receiver;
  266. return self['@slides'];
  267. return self;
  268. },
  269. args: [],
  270. source: unescape('slides%0A%09slides%20ifNil%3A%20%5Bself%20initSlides%5D.%0A%09%5Eslides'),
  271. messageSends: ["ifNil:", "initSlides"],
  272. referencedClasses: []
  273. }),
  274. smalltalk.Presentation);
  275. smalltalk.addMethod(
  276. unescape('_slideClasses'),
  277. smalltalk.method({
  278. selector: unescape('slideClasses'),
  279. category: 'accessing',
  280. fn: function () {
  281. var self = this;
  282. return smalltalk.send(self, "_subclassResponsibility", []);
  283. return self;
  284. },
  285. args: [],
  286. source: unescape('slideClasses%0A%09%5Eself%20subclassResponsibility'),
  287. messageSends: ["subclassResponsibility"],
  288. referencedClasses: []
  289. }),
  290. smalltalk.Presentation);
  291. smalltalk.addMethod(
  292. unescape('_currentSlide'),
  293. smalltalk.method({
  294. selector: unescape('currentSlide'),
  295. category: 'accessing',
  296. fn: function () {
  297. var self = this;
  298. return self['@currentSlide'];
  299. return self;
  300. },
  301. args: [],
  302. source: unescape('currentSlide%0A%09%5EcurrentSlide'),
  303. messageSends: [],
  304. referencedClasses: []
  305. }),
  306. smalltalk.Presentation);
  307. smalltalk.addMethod(
  308. unescape('_currentSlide_'),
  309. smalltalk.method({
  310. selector: unescape('currentSlide%3A'),
  311. category: 'accessing',
  312. fn: function (aSlide) {
  313. var self = this;
  314. self['@currentSlide'] = aSlide;
  315. return self;
  316. },
  317. args: ["aSlide"],
  318. source: unescape('currentSlide%3A%20aSlide%0A%09currentSlide%20%3A%3D%20aSlide'),
  319. messageSends: [],
  320. referencedClasses: []
  321. }),
  322. smalltalk.Presentation);
  323. smalltalk.addMethod(
  324. unescape('_slideTransition'),
  325. smalltalk.method({
  326. selector: unescape('slideTransition'),
  327. category: 'accessing',
  328. fn: function () {
  329. var self = this;
  330. return "fade";
  331. return self;
  332. },
  333. args: [],
  334. source: unescape('slideTransition%0A%09%5E%27fade%27'),
  335. messageSends: [],
  336. referencedClasses: []
  337. }),
  338. smalltalk.Presentation);
  339. smalltalk.addMethod(
  340. unescape('_style'),
  341. smalltalk.method({
  342. selector: unescape('style'),
  343. category: 'accessing',
  344. fn: function () {
  345. var self = this;
  346. return "";
  347. return self;
  348. },
  349. args: [],
  350. source: unescape('style%0A%09%22Should%20return%20a%20CSS%20style%22%0A%09%5E%20%27%27'),
  351. messageSends: [],
  352. referencedClasses: []
  353. }),
  354. smalltalk.Presentation);
  355. smalltalk.addMethod(
  356. unescape('_nextSlide'),
  357. smalltalk.method({
  358. selector: unescape('nextSlide'),
  359. category: 'actions',
  360. fn: function (){
  361. var self=this;
  362. var next=nil;
  363. (($receiver = smalltalk.send(self, "_currentSlide", [])) != nil && $receiver != undefined) ? (function(){next=smalltalk.send(smalltalk.send(self, "_slides", []), "_at_ifAbsent_", [((($receiver = smalltalk.send(self, "_currentSlideIndex", [])).klass === smalltalk.Number) ? $receiver +(1) : smalltalk.send($receiver, "__plus", [(1)])), (function(){return nil;})]);return (($receiver = next) != nil && $receiver != undefined) ? (function(){self['@currentSlide']=next;return smalltalk.send(next, "_show", []);})() : nil;})() : nil;
  364. return self;},
  365. args: [],
  366. source: unescape('nextSlide%0A%09%7C%20next%20%7C%0A%09self%20currentSlide%20ifNotNil%3A%20%5B%0A%09%09next%20%3A%3D%20self%20slides%20%0A%09%09%09at%3A%20%28self%20currentSlideIndex%29%20+%201%0A%09%09%09ifAbsent%3A%20%5Bnil%5D.%0A%09%09next%20ifNotNil%3A%20%5BcurrentSlide%20%3A%3D%20next.%20next%20show%5D%5D'),
  367. messageSends: ["ifNotNil:", "currentSlide", "at:ifAbsent:", "slides", unescape("+"), "currentSlideIndex", "show"],
  368. referencedClasses: []
  369. }),
  370. smalltalk.Presentation);
  371. smalltalk.addMethod(
  372. unescape('_showCurrentSlide'),
  373. smalltalk.method({
  374. selector: unescape('showCurrentSlide'),
  375. category: 'actions',
  376. fn: function () {
  377. var self = this;
  378. ($receiver = smalltalk.send(self, "_currentSlide", [])) != nil &&
  379. $receiver != undefined ? function () {smalltalk.send(smalltalk.send(".slide", "_asJQuery", []), "_hide", []);smalltalk.send(smalltalk.send(smalltalk.send(unescape("%23"), "__comma", [smalltalk.send(smalltalk.send(self, "_currentSlide", []), "_id", [])]), "_asJQuery", []), "_show", []);return smalltalk.send(smalltalk.send("title", "_asJQuery", []), "_text_", [smalltalk.send(smalltalk.send(smalltalk.send(self, "_title", []), "__comma", [unescape("%20-%20")]), "__comma", [smalltalk.send(smalltalk.send(self, "_currentSlide", []), "_id", [])])]);}() : nil;
  380. return self;
  381. },
  382. args: [],
  383. source: unescape('showCurrentSlide%0A%09self%20currentSlide%20ifNotNil%3A%20%5B%0A%09%09%27.slide%27%20asJQuery%20hide.%0A%09%09%28%27%23%27%2C%20self%20currentSlide%20id%29%20asJQuery%20show.%0A%20%20%20%20%20%20%20%20%20%20%09%27title%27%20asJQuery%20text%3A%20self%20title%2C%20%27%20-%20%27%2C%20self%20currentSlide%20id.%0A%20%20%20%20%20%20%20%20%5D'),
  384. messageSends: ["ifNotNil:", "currentSlide", "hide", "asJQuery", "show", unescape("%2C"), "id", "text:", "title"],
  385. referencedClasses: []
  386. }),
  387. smalltalk.Presentation);
  388. smalltalk.addMethod(
  389. unescape('_previousSlide'),
  390. smalltalk.method({
  391. selector: unescape('previousSlide'),
  392. category: 'actions',
  393. fn: function (){
  394. var self=this;
  395. var next=nil;
  396. (($receiver = smalltalk.send(self, "_currentSlide", [])) != nil && $receiver != undefined) ? (function(){next=smalltalk.send(smalltalk.send(self, "_slides", []), "_at_ifAbsent_", [((($receiver = smalltalk.send(self, "_currentSlideIndex", [])).klass === smalltalk.Number) ? $receiver -(1) : smalltalk.send($receiver, "__minus", [(1)])), (function(){return nil;})]);return (($receiver = next) != nil && $receiver != undefined) ? (function(){self['@currentSlide']=next;return smalltalk.send(next, "_show", []);})() : nil;})() : nil;
  397. return self;},
  398. args: [],
  399. source: unescape('previousSlide%0A%09%7C%20next%20%7C%0A%09self%20currentSlide%20ifNotNil%3A%20%5B%0A%09%09next%20%3A%3D%20self%20slides%20%0A%09%09%09at%3A%20%28self%20currentSlideIndex%29%20-%201%0A%09%09%09ifAbsent%3A%20%5Bnil%5D.%0A%09%09next%20ifNotNil%3A%20%5BcurrentSlide%20%3A%3D%20next.%20next%20show%5D%5D'),
  400. messageSends: ["ifNotNil:", "currentSlide", "at:ifAbsent:", "slides", unescape("-"), "currentSlideIndex", "show"],
  401. referencedClasses: []
  402. }),
  403. smalltalk.Presentation);
  404. smalltalk.addMethod(
  405. unescape('_initSlides'),
  406. smalltalk.method({
  407. selector: unescape('initSlides'),
  408. category: 'initialization',
  409. fn: function () {
  410. var self = this;
  411. self['@slides'] = smalltalk.send(smalltalk.send(self, "_slideClasses", []), "_collect_", [function (each) {return smalltalk.send(each, "_on_", [self]);}]);
  412. return self;
  413. },
  414. args: [],
  415. source: unescape('initSlides%0A%09slides%20%3A%3D%20self%20slideClasses%20collect%3A%20%5B%3Aeach%20%7C%20each%20on%3A%20self%5D'),
  416. messageSends: ["collect:", "slideClasses", "on:"],
  417. referencedClasses: []
  418. }),
  419. smalltalk.Presentation);
  420. smalltalk.addMethod(
  421. unescape('_renderOn_'),
  422. smalltalk.method({
  423. selector: unescape('renderOn%3A'),
  424. category: 'rendering',
  425. fn: function (html) {
  426. var self = this;
  427. (function ($rec) {smalltalk.send($rec, "_type_", [unescape("text/css")]);return smalltalk.send($rec, "_with_", [smalltalk.send(self, "_style", [])]);}(smalltalk.send(html, "_style", [])));
  428. (function ($rec) {smalltalk.send($rec, "_id_", ["slides"]);return smalltalk.send($rec, "_with_", [function () {return smalltalk.send(self, "_renderSlidesOn_", [html]);}]);}(smalltalk.send(html, "_div", [])));
  429. return self;
  430. },
  431. args: ["html"],
  432. source: unescape('renderOn%3A%20html%0A%09html%20style%0A%09%09type%3A%20%27text/css%27%3B%0A%09%09with%3A%20self%20style.%0A%09html%20div%20%0A%09%09id%3A%20%27slides%27%3B%0A%09%09with%3A%20%5Bself%20renderSlidesOn%3A%20html%5D'),
  433. messageSends: ["type:", "with:", "style", "id:", "renderSlidesOn:", "div"],
  434. referencedClasses: []
  435. }),
  436. smalltalk.Presentation);
  437. smalltalk.addMethod(
  438. unescape('_renderSlidesOn_'),
  439. smalltalk.method({
  440. selector: unescape('renderSlidesOn%3A'),
  441. category: 'rendering',
  442. fn: function (html) {
  443. var self = this;
  444. smalltalk.send(smalltalk.send(self, "_slides", []), "_do_", [function (each) {return smalltalk.send(each, "_renderOn_", [html]);}]);
  445. ($receiver = self['@currentSlide']) == nil ||
  446. $receiver == undefined ? function () {return self['@currentSlide'] = smalltalk.send(smalltalk.send(self, "_slides", []), "_first", []);}() : $receiver;
  447. smalltalk.send(self, "_showCurrentSlide", []);
  448. return self;
  449. },
  450. args: ["html"],
  451. source: unescape('renderSlidesOn%3A%20html%0A%09self%20slides%20do%3A%20%5B%3Aeach%20%7C%20%0A%09%09each%20renderOn%3A%20html%5D.%0A%09currentSlide%20ifNil%3A%20%5BcurrentSlide%20%3A%3D%20self%20slides%20first%5D.%0A%09self%20showCurrentSlide'),
  452. messageSends: ["do:", "slides", "renderOn:", "ifNil:", "first", "showCurrentSlide"],
  453. referencedClasses: []
  454. }),
  455. smalltalk.Presentation);
  456. smalltalk.addMethod(
  457. unescape('_slidesDo_'),
  458. smalltalk.method({
  459. selector: unescape('slidesDo%3A'),
  460. category: 'enumerating',
  461. fn: function (aBlockWithArg){
  462. var self=this;
  463. smalltalk.send(smalltalk.send(self, "_slides", []), "_do_", [(function(aSlide){return smalltalk.send(aBlockWithArg, "_value_", [aSlide]);})]);
  464. return self;},
  465. args: ["aBlockWithArg"],
  466. source: unescape('slidesDo%3A%20aBlockWithArg%0A%09self%20slides%20do%3A%20%5B%3AaSlide%7C%20aBlockWithArg%20value%3A%20aSlide%5D.'),
  467. messageSends: ["do:", "slides", "value:"],
  468. referencedClasses: []
  469. }),
  470. smalltalk.Presentation);
  471. smalltalk.addMethod(
  472. unescape('_moveAt_'),
  473. smalltalk.method({
  474. selector: unescape('moveAt%3A'),
  475. category: 'actions',
  476. fn: function (anInteger){
  477. var self=this;
  478. var next=nil;
  479. next=smalltalk.send(smalltalk.send(self, "_slides", []), "_at_ifAbsent_", [anInteger, (function(){return nil;})]);
  480. (($receiver = next) != nil && $receiver != undefined) ? (function(){self['@currentSlide']=next;return smalltalk.send(next, "_show", []);})() : nil;
  481. return self;},
  482. args: ["anInteger"],
  483. source: unescape('moveAt%3A%20anInteger%0A%09%7C%20next%20%7C%0A%09next%20%3A%3D%20self%20slides%20%0A%09%09%09at%3A%20anInteger%0A%09%09%09ifAbsent%3A%20%5Bnil%5D.%0A%09next%20ifNotNil%3A%20%5BcurrentSlide%20%3A%3D%20next.%20next%20show%5D'),
  484. messageSends: ["at:ifAbsent:", "slides", "ifNotNil:", "show"],
  485. referencedClasses: []
  486. }),
  487. smalltalk.Presentation);
  488. smalltalk.addMethod(
  489. unescape('_currentSlideIndex'),
  490. smalltalk.method({
  491. selector: unescape('currentSlideIndex'),
  492. category: 'actions',
  493. fn: function (){
  494. var self=this;
  495. return smalltalk.send(smalltalk.send(self, "_slides", []), "_indexOf_ifAbsent_", [smalltalk.send(self, "_currentSlide", []), (function(){return (1);})]);
  496. return self;},
  497. args: [],
  498. source: unescape('currentSlideIndex%0A%09%5E%20self%20slides%20indexOf%3A%20self%20currentSlide%20ifAbsent%3A%20%5B1%5D'),
  499. messageSends: ["indexOf:ifAbsent:", "slides", "currentSlide"],
  500. referencedClasses: []
  501. }),
  502. smalltalk.Presentation);
  503. smalltalk.Presentation.klass.iVarNames = ['current'];
  504. smalltalk.addMethod(
  505. unescape('_isConcrete'),
  506. smalltalk.method({
  507. selector: unescape('isConcrete'),
  508. category: 'testing',
  509. fn: function () {
  510. var self = this;
  511. return false;
  512. return self;
  513. },
  514. args: [],
  515. source: unescape('isConcrete%0A%09%5Efalse'),
  516. messageSends: [],
  517. referencedClasses: []
  518. }),
  519. smalltalk.Presentation.klass);
  520. smalltalk.addMethod(
  521. unescape('_concretePresentations'),
  522. smalltalk.method({
  523. selector: unescape('concretePresentations'),
  524. category: 'accessing',
  525. fn: function () {
  526. var self = this;
  527. return smalltalk.send(smalltalk.send(self, "_allSubclasses", []), "_select_", [function (aPresentationClass) {return smalltalk.send(aPresentationClass, "_isConcrete", []);}]);
  528. return self;
  529. },
  530. args: [],
  531. source: unescape('concretePresentations%0A%09%5E%20self%20allSubclasses%20select%3A%20%5B%3AaPresentationClass%7C%20aPresentationClass%20isConcrete%5D'),
  532. messageSends: ["select:", "allSubclasses", "isConcrete"],
  533. referencedClasses: []
  534. }),
  535. smalltalk.Presentation.klass);
  536. smalltalk.addMethod(
  537. unescape('_title'),
  538. smalltalk.method({
  539. selector: unescape('title'),
  540. category: 'accessing',
  541. fn: function () {
  542. var self = this;
  543. return "Slides";
  544. return self;
  545. },
  546. args: [],
  547. source: unescape('title%0A%09%5E%20%27Slides%27'),
  548. messageSends: [],
  549. referencedClasses: []
  550. }),
  551. smalltalk.Presentation.klass);
  552. smalltalk.addMethod(
  553. unescape('_concretePresentationsDo_'),
  554. smalltalk.method({
  555. selector: unescape('concretePresentationsDo%3A'),
  556. category: 'enumerating',
  557. fn: function (aBlockWithArg) {
  558. var self = this;
  559. smalltalk.send(smalltalk.send(self, "_concretePresentations", []), "_do_", [aBlockWithArg]);
  560. return self;
  561. },
  562. args: ["aBlockWithArg"],
  563. source: unescape('concretePresentationsDo%3A%20aBlockWithArg%0A%09self%20concretePresentations%20do%3A%20aBlockWithArg.'),
  564. messageSends: ["do:", "concretePresentations"],
  565. referencedClasses: []
  566. }),
  567. smalltalk.Presentation.klass);
  568. smalltalk.addClass('ESUG2011Presentation', smalltalk.Presentation, [], 'Presentation');
  569. smalltalk.addMethod(
  570. unescape('_description'),
  571. smalltalk.method({
  572. selector: unescape('description'),
  573. category: 'accessing',
  574. fn: function () {
  575. var self = this;
  576. return unescape("ESUG%202011%2C%20Edinburgh");
  577. return self;
  578. },
  579. args: [],
  580. source: unescape('description%0A%09%5E%27ESUG%202011%2C%20Edinburgh%27'),
  581. messageSends: [],
  582. referencedClasses: []
  583. }),
  584. smalltalk.ESUG2011Presentation);
  585. smalltalk.addMethod(
  586. unescape('_author'),
  587. smalltalk.method({
  588. selector: unescape('author'),
  589. category: 'accessing',
  590. fn: function () {
  591. var self = this;
  592. return "Nicolas Petton";
  593. return self;
  594. },
  595. args: [],
  596. source: unescape('author%0A%09%5E%27Nicolas%20Petton%27'),
  597. messageSends: [],
  598. referencedClasses: []
  599. }),
  600. smalltalk.ESUG2011Presentation);
  601. smalltalk.addMethod(
  602. unescape('_email'),
  603. smalltalk.method({
  604. selector: unescape('email'),
  605. category: 'accessing',
  606. fn: function () {
  607. var self = this;
  608. return unescape("nico@objectfusion.fr");
  609. return self;
  610. },
  611. args: [],
  612. source: unescape('email%0A%09%5E%27nico@objectfusion.fr%27'),
  613. messageSends: [],
  614. referencedClasses: []
  615. }),
  616. smalltalk.ESUG2011Presentation);
  617. smalltalk.addMethod(
  618. unescape('_url'),
  619. smalltalk.method({
  620. selector: unescape('url'),
  621. category: 'accessing',
  622. fn: function () {
  623. var self = this;
  624. return unescape("http%3A//jtalk-project.org");
  625. return self;
  626. },
  627. args: [],
  628. source: unescape('url%0A%09%5E%27http%3A//jtalk-project.org%27'),
  629. messageSends: [],
  630. referencedClasses: []
  631. }),
  632. smalltalk.ESUG2011Presentation);
  633. smalltalk.addMethod(
  634. unescape('_slideClasses'),
  635. smalltalk.method({
  636. selector: unescape('slideClasses'),
  637. category: 'accessing',
  638. fn: function () {
  639. var self = this;
  640. return function ($rec) {smalltalk.send($rec, "_add_", [smalltalk.IntroSlide || IntroSlide]);smalltalk.send($rec, "_add_", [smalltalk.AboutSlide || AboutSlide]);smalltalk.send($rec, "_add_", [smalltalk.WhatIsJtalkSlide || WhatIsJtalkSlide]);smalltalk.send($rec, "_add_", [smalltalk.JtalkFeaturesSlide || JtalkFeaturesSlide]);smalltalk.send($rec, "_add_", [smalltalk.WorkspaceSlide || WorkspaceSlide]);smalltalk.send($rec, "_add_", [smalltalk.IDESlide || IDESlide]);smalltalk.send($rec, "_add_", [smalltalk.CountersSlide || CountersSlide]);smalltalk.send($rec, "_add_", [smalltalk.JtalkAndJavascriptSlide || JtalkAndJavascriptSlide]);smalltalk.send($rec, "_add_", [smalltalk.JtalkAndJavascriptSlide2 || JtalkAndJavascriptSlide2]);smalltalk.send($rec, "_add_", [smalltalk.JtalkAndJavascriptSlide3 || JtalkAndJavascriptSlide3]);smalltalk.send($rec, "_add_", [smalltalk.JtalkAndJavascriptSlide4 || JtalkAndJavascriptSlide4]);smalltalk.send($rec, "_add_", [smalltalk.JtalkAndCLI || JtalkAndCLI]);smalltalk.send($rec, "_add_", [smalltalk.JtalkAndNode || JtalkAndNode]);smalltalk.send($rec, "_add_", [smalltalk.JtalkAndNode2 || JtalkAndNode2]);smalltalk.send($rec, "_add_", [smalltalk.JtalkAndNode3 || JtalkAndNode3]);smalltalk.send($rec, "_add_", [smalltalk.JtalkAndWebOS || JtalkAndWebOS]);smalltalk.send($rec, "_add_", [smalltalk.JtalkAndEnyo || JtalkAndEnyo]);smalltalk.send($rec, "_add_", [smalltalk.ContributionsSlide || ContributionsSlide]);return smalltalk.send($rec, "_yourself", []);}(smalltalk.send(smalltalk.Array || Array, "_new", []));
  641. return self;
  642. },
  643. args: [],
  644. source: unescape('slideClasses%0A%09%5EArray%20new%0A%09%09add%3A%20IntroSlide%3B%0A%09%09add%3A%20AboutSlide%3B%0A%09%09add%3A%20WhatIsJtalkSlide%3B%0A%09%09add%3A%20JtalkFeaturesSlide%3B%0A%09%09add%3A%20WorkspaceSlide%3B%0A%09%09add%3A%20IDESlide%3B%0A%09%09add%3A%20CountersSlide%3B%0A%09%09add%3A%20JtalkAndJavascriptSlide%3B%0A%09%09add%3A%20JtalkAndJavascriptSlide2%3B%0A%09%09add%3A%20JtalkAndJavascriptSlide3%3B%0A%09%09add%3A%20JtalkAndJavascriptSlide4%3B%0A%09%09add%3A%20JtalkAndCLI%3B%0A%09%09add%3A%20JtalkAndNode%3B%0A%09%09add%3A%20JtalkAndNode2%3B%0A%09%09add%3A%20JtalkAndNode3%3B%0A%09%09add%3A%20JtalkAndWebOS%3B%0A%09%09add%3A%20JtalkAndEnyo%3B%0A%09%09add%3A%20ContributionsSlide%3B%0A%09%09yourself'),
  645. messageSends: ["add:", "yourself", "new"],
  646. referencedClasses: [smalltalk.Array]
  647. }),
  648. smalltalk.ESUG2011Presentation);
  649. smalltalk.addMethod(
  650. unescape('_style'),
  651. smalltalk.method({
  652. selector: unescape('style'),
  653. category: 'accessing',
  654. fn: function () {
  655. var self = this;
  656. return unescape("%0Abody%20%7B%0A%20%20%20%20font-family%3A%20Helvetica%2CArial%2Csans%3B%0A%7D%0A%0A%23slides%20%7B%0A%20%20%20%20width%3A%20100%25%3B%0A%20%20%20%20height%3A%20100%25%3B%0A%20%20%20%20overflow%3A%20hidden%3B%0A%20%20%20%20position%3A%20absolute%3B%0A%20%20%20%20top%3A%200%3B%0A%20%20%20%20bottom%3A%200%3B%0A%20%20%20%20left%3A%200%3B%0A%20%20%20%20right%3A%200%3B%0A%20%20%20%20background%3A%20%23555%3B%0A%7D%0A%0A.slide%20%7B%0A%20%20%20%20background%3A%20%23fff%3B%0A%20%20%20%20color%3A%20%23444%3B%0A%20%20%20%20text-align%3A%20left%3B%0A%20%20%20%20font-size%3A%2020px%3B%0A%20%20%20%20line-height%3A%201.8em%3B%0A%20%20%20%20height%3A%20500px%3B%0A%20%20%20%20width%3A%20700px%3B%0A%20%20%20%20padding%3A%2060px%3B%0A%20%20%20%20position%3A%20absolute%3B%0A%20%20%20%20left%3A%2050%25%3B%0A%20%20%20%20top%3A%2050%25%3B%0A%20%20%20%20margin-left%3A%20-420px%3B%0A%20%20%20%20margin-top%3A%20-320px%3B%0A%20%20%20%20box-shadow%3A%200%200%2020px%20%23111%3B%0A%20%20%20%20-moz-box-shadow%3A%200%200%2020px%20%23111%3B%0A%20%20%20%20-webkit-box-shadow%3A%200%200%2020px%20%23111%3B%0A%7D%0A%0A.slide.transparent%20%7B%0A%20%20%20%20background%3A%20transparent%3B%0A%20%20%20%20box-shadow%3A%200%200%200%20none%3B%0A%20%20%20%20-moz-box-shadow%3A%200%200%200%20transparent%3B%0A%20%20%20%20-webkit-box-shadow%3A%200%200%200%20transparent%3B%0A%20%20%20%20color%3A%20%23fff%20%21important%3B%0A%7D%0A%0A.slide.black%20%7B%0A%20%20%20%20background%3A%20black%3B%0A%20%20%20%20background-image%3A%20-webkit-gradient%28%0A%09linear%2C%0A%09left%20bottom%2C%0A%09left%20top%2C%0A%09color-stop%280.38%2C%20rgb%2879%2C79%2C79%29%29%2C%0A%09color-stop%280.69%2C%20rgb%2833%2C33%2C33%29%29%2C%0A%09color-stop%280.86%2C%20rgb%284%2C4%2C4%29%29%0A%20%20%20%20%29%3B%0A%20%20%20%20background-image%3A%20-moz-linear-gradient%28%0A%09center%20bottom%2C%0A%09rgb%2879%2C79%2C79%29%2038%25%2C%0A%09rgb%2833%2C33%2C33%29%2069%25%2C%0A%09rgb%284%2C4%2C4%29%2086%25%0A%20%20%20%20%29%3B%0A%20%20%20%20color%3A%20%23fff%20%21important%3B%0A%7D%0A%0A.slide.black%20h1%2C%20.slide.black%20h2%2C%20.slide.black%20h3%2C%0A.slide.transparent%20h1%2C%20.slide.transparent%20h2%2C%20.slide.transparent%20h3%20%7B%0A%20%20%20%20color%3A%20%23fff%3B%0A%20%20%20%20text-shadow%3A%200%201px%204px%20%23aaa%3B%0A%7D%0A%0A.slide.black%20a%2C%20.slide.transparent%20a%20%7B%0A%20%20%20%20color%3A%20%23ccc%3B%0A%7D%0A%0A.slide.white%20%7B%0A%20%20%20%20color%3A%20%23333%20%21important%3B%0A%7D%0A%0A.slide.white%20h1%2C%20.slide.white%20h2%2C%20.slide.white%20h3%20%7B%0A%20%20%20%20color%3A%20%23333%3B%0A%7D%0A%0A.slide.white%20a%20%7B%0A%20%20%20%20color%3A%20%23333%3B%0A%7D%0A%0A%0A.slide%20h1%2C%20.slide%20h2%2C%20.slide%20h3%20%7B%0A%20%20%20%20color%3A%20%23333%3B%0A%20%20%20%20/*%20text-align%3A%20center%3B%20*/%0A%7D%0A%0A.slide%20h1%20%7B%0A%20%20%20%20font-family%3A%20%22Droid%20Sans%22%3B%0A%20%20%20%20font-size%3A%2036px%3B%0A%20%20%20%20text-shadow%3A%200%201px%204px%20%23aaa%3B%0A%20%20%20%20margin-top%3A%2030px%3B%0A%20%20%20%20margin-bottom%3A%2050px%3B%0A%7D%0A%0A/*%20.slide%20ul%2C%20.slide%20li%20%7B%20*/%0A/*%20%20%20%20%20padding%3A%200%3B%20*/%0A/*%20%20%20%20%20margin%3A%200%3B%20*/%0A/*%20%7D%20*/%0A%0A.slide%20button%20%7B%0A%20%20%20%20font-size%3A%2018px%3B%0A%7D%0A%0A.slide%20a%20%7B%0A%20%20%20%20color%3A%20%23555%3B%0A%20%20%20%20text-decoration%3A%20none%3B%0A%20%20%20%20cursor%3A%20pointer%3B%0A%7D%0A%0A.slide%20a%3Ahover%20%7B%0A%20%20%20%20color%3A%20%23fff%3B%0A%20%20%20%20background%3A%20%23555%3B%0A%7D%0A%0A.slide%20.right%20%7B%0A%20%20%20%20text-align%3A%20right%3B%0A%7D%0A%0A.slide%20.section.center%20%7B%0A%20%20%20%20text-align%3A%20center%3B%0A%20%20%20%20display%3A%20table-cell%3B%0A%20%20%20%20vertical-align%3A%20middle%3B%0A%20%20%20%20width%3A%20700px%3B%0A%20%20%20%20height%3A%20500px%3B%0A%7D%0A%0A.slide%20code%20%7B%0A%20%20%20%20font-family%3A%20%22Droid%20Sans%20Mono%22%3B%0A%20%20%20%20color%3A%20%23444%3B%0A%20%20%20%20border%3A%201px%20solid%20%23ddd%3B%0A%20%20%20%20background%3A%20%23eee%3B%0A%20%20%20%20border-radius%3A%204px%3B%0A%20%20%20%20padding%3A%202px%3B%0A%20%20%20%20font-size%3A%2016px%3B%0A%7D%0A%0A.slide%20.code2%20%7B%0A%20%20%20%20font-family%3A%20%22Droid%20Sans%20Mono%22%3B%0A%20%20%20%20line-height%3A%201.2em%3B%0A%20%20%20%20color%3A%20%23444%3B%0A%20%20%20%20padding%3A%202px%3B%0A%20%20%20%20font-size%3A%2016px%3B%0A%7D%0A%0A%0A.slide%20.CodeMirror%20%7B%0A%20%20%20%20width%3A%20500px%3B%0A%20%20%20%20height%3A%20300px%3B%0A%20%20%20%20text-align%3A%20left%3B%0A%7D%0A%0A.slide%20.CodeMirror-scroll%20%7B%0A%20%20%20%20text-align%3A%20left%3B%0A%7D%0A%0A.slide%20.fancy%20%7B%0A%20%20%20%20margin-top%3A%2030px%3B%0A%20%20%20%20-webkit-transform%3A%20rotate%28-10deg%29%3B%0A%20%20%20%20-moz-transform%3A%20rotate%28-10deg%29%3B%0A%20%20%20%20transform%3A%20rotate%28-10deg%29%3B%0A%20%20%20%20color%3A%20red%3B%0A%7D%0A%0A.slide%20.comment%20%7B%0A%20%20%20%20opacity%3A%200.6%3B%0A%20%20%20%20font-weight%3A%20normal%3B%0A%7D%0A%0A.slide%20.red%20%7B%0A%20%20%20%20color%3A%20red%3B%0A%7D%0A%0A.slide%20.blue%20%7B%0A%20%20%20%20color%3A%20blue%3B%0A%7D%0A%0A.slide%23WhatIsJtalk%20%7B%0A%20%20%20%20background%3A%20white%20url%28%22esug2011/images/balloon.jpg%22%29%20650px%2050px%20no-repeat%3B%0A%7D%0A%0A.slide%23ide%20%7B%0A%20%20%20%20background%3A%20black%20url%28%22esug2011/images/ide_star_wars.png%22%29%20center%20center%20no-repeat%3B%0A%7D%0A%0A.slide%23JtalkAndCLI%20%7B%0A%20%20%20%20background%3A%20white%20url%28%22esug2011/images/terminal.png%22%29%20620px%2020px%20no-repeat%3B%0A%7D%0A%0A.slide%23JtalkAndNode%20%7B%0A%20%20%20%20background%3A%20white%20url%28%22esug2011/images/nodejs.png%22%29%20580px%2040px%20no-repeat%3B%0A%7D%0A.slide%23JtalkAndNode2%20%7B%0A%20%20%20%20background%3A%20white%20url%28%22esug2011/images/nodejs.png%22%29%20580px%2040px%20no-repeat%3B%0A%7D%0A%0A.slide%23JtalkAndNode3%20%7B%0A%20%20%20%20background%3A%20white%20url%28%22esug2011/images/nodejs.png%22%29%20580px%2040px%20no-repeat%3B%0A%7D%0A%0A.slide%23JtalkAndWebOS%20%7B%0A%20%20%20%20background%3A%20white%20url%28%22esug2011/images/devices.jpg%22%29%20380px%20280px%20no-repeat%3B%0A%7D%0A%0A.slide%23JtalkAndEnyo%20%7B%0A%20%20%20%20background%3A%20white%20url%28%22esug2011/images/enyo.png%22%29%20130px%20150px%20no-repeat%3B%0A%7D%0A%0A.slide%23links%20%7B%0A%20%20%20%20background%3A%20white%20url%28%22esug2011/images/asterix.png%22%29%2030px%20130px%20no-repeat%3B%0A%7D%0A%0A.slide%23links%20.section%20%7B%0A%20%20%20%20margin-left%3A%20250px%3B%0A%20%20%20%20margin-top%3A%20200px%3B%0A%20%20%20%20font-family%3A%20%22Droid%20Sans%22%3B%0A%20%20%20%20font-size%3A%2026px%3B%0A%20%20%20%20font-weight%3A%20bold%3B%0A%7D%0A%0A%0A%23meta%20%7B%0A%20%20%20%20position%3A%20absolute%3B%0A%20%20%20%20font-size%3A%2012px%3B%0A%20%20%20%20opacity%3A%200.6%3B%0A%20%20%20%20bottom%3A%200%3B%0A%20%20%20%20right%3A%200%3B%0A%20%20%20%20z-index%3A%202%3B%0A%20%20%20%20background%3A%20%23333%3B%0A%20%20%20%20text-align%3A%20right%3B%0A%20%20%20%20padding%3A%200%2010px%3B%0A%20%20%20%20line-height%3A%201.8em%3B%0A%20%20%20%20color%3A%20%23eee%3B%0A%20%20%20%20border-top-left-radius%3A%205px%3B%0A%7D%0A%0A%23meta%3Ahover%20%7B%0A%20%20%20%20opacity%3A%200.8%3B%0A%7D%0A%0A%23meta%20p%20%7B%0A%20%20%20%20display%3A%20inline%3B%0A%20%20%20%20padding%3A%200%205px%3B%0A%7D%0A%0A%23meta%20a%20%7B%0A%20%20%20%20//background%3A%20%23ccc%3B%0A%20%20%20%20color%3A%20%23ccc%3B%0A%20%20%20%20text-decoration%3A%20none%3B%0A%20%20%20%20padding%3A%200%205px%3B%0A%7D%0A%0A.slide%20%7B%0A%20%20%20%20%0A%7D%0A");
  657. return self;
  658. },
  659. args: [],
  660. source: unescape('style%0A%09%5E%27%0Abody%20%7B%0A%20%20%20%20font-family%3A%20Helvetica%2CArial%2Csans%3B%0A%7D%0A%0A%23slides%20%7B%0A%20%20%20%20width%3A%20100%25%3B%0A%20%20%20%20height%3A%20100%25%3B%0A%20%20%20%20overflow%3A%20hidden%3B%0A%20%20%20%20position%3A%20absolute%3B%0A%20%20%20%20top%3A%200%3B%0A%20%20%20%20bottom%3A%200%3B%0A%20%20%20%20left%3A%200%3B%0A%20%20%20%20right%3A%200%3B%0A%20%20%20%20background%3A%20%23555%3B%0A%7D%0A%0A.slide%20%7B%0A%20%20%20%20background%3A%20%23fff%3B%0A%20%20%20%20color%3A%20%23444%3B%0A%20%20%20%20text-align%3A%20left%3B%0A%20%20%20%20font-size%3A%2020px%3B%0A%20%20%20%20line-height%3A%201.8em%3B%0A%20%20%20%20height%3A%20500px%3B%0A%20%20%20%20width%3A%20700px%3B%0A%20%20%20%20padding%3A%2060px%3B%0A%20%20%20%20position%3A%20absolute%3B%0A%20%20%20%20left%3A%2050%25%3B%0A%20%20%20%20top%3A%2050%25%3B%0A%20%20%20%20margin-left%3A%20-420px%3B%0A%20%20%20%20margin-top%3A%20-320px%3B%0A%20%20%20%20box-shadow%3A%200%200%2020px%20%23111%3B%0A%20%20%20%20-moz-box-shadow%3A%200%200%2020px%20%23111%3B%0A%20%20%20%20-webkit-box-shadow%3A%200%200%2020px%20%23111%3B%0A%7D%0A%0A.slide.transparent%20%7B%0A%20%20%20%20background%3A%20transparent%3B%0A%20%20%20%20box-shadow%3A%200%200%200%20none%3B%0A%20%20%20%20-moz-box-shadow%3A%200%200%200%20transparent%3B%0A%20%20%20%20-webkit-box-shadow%3A%200%200%200%20transparent%3B%0A%20%20%20%20color%3A%20%23fff%20%21important%3B%0A%7D%0A%0A.slide.black%20%7B%0A%20%20%20%20background%3A%20black%3B%0A%20%20%20%20background-image%3A%20-webkit-gradient%28%0A%09linear%2C%0A%09left%20bottom%2C%0A%09left%20top%2C%0A%09color-stop%280.38%2C%20rgb%2879%2C79%2C79%29%29%2C%0A%09color-stop%280.69%2C%20rgb%2833%2C33%2C33%29%29%2C%0A%09color-stop%280.86%2C%20rgb%284%2C4%2C4%29%29%0A%20%20%20%20%29%3B%0A%20%20%20%20background-image%3A%20-moz-linear-gradient%28%0A%09center%20bottom%2C%0A%09rgb%2879%2C79%2C79%29%2038%25%2C%0A%09rgb%2833%2C33%2C33%29%2069%25%2C%0A%09rgb%284%2C4%2C4%29%2086%25%0A%20%20%20%20%29%3B%0A%20%20%20%20color%3A%20%23fff%20%21important%3B%0A%7D%0A%0A.slide.black%20h1%2C%20.slide.black%20h2%2C%20.slide.black%20h3%2C%0A.slide.transparent%20h1%2C%20.slide.transparent%20h2%2C%20.slide.transparent%20h3%20%7B%0A%20%20%20%20color%3A%20%23fff%3B%0A%20%20%20%20text-shadow%3A%200%201px%204px%20%23aaa%3B%0A%7D%0A%0A.slide.black%20a%2C%20.slide.transparent%20a%20%7B%0A%20%20%20%20color%3A%20%23ccc%3B%0A%7D%0A%0A.slide.white%20%7B%0A%20%20%20%20color%3A%20%23333%20%21important%3B%0A%7D%0A%0A.slide.white%20h1%2C%20.slide.white%20h2%2C%20.slide.white%20h3%20%7B%0A%20%20%20%20color%3A%20%23333%3B%0A%7D%0A%0A.slide.white%20a%20%7B%0A%20%20%20%20color%3A%20%23333%3B%0A%7D%0A%0A%0A.slide%20h1%2C%20.slide%20h2%2C%20.slide%20h3%20%7B%0A%20%20%20%20color%3A%20%23333%3B%0A%20%20%20%20/*%20text-align%3A%20center%3B%20*/%0A%7D%0A%0A.slide%20h1%20%7B%0A%20%20%20%20font-family%3A%20%22Droid%20Sans%22%3B%0A%20%20%20%20font-size%3A%2036px%3B%0A%20%20%20%20text-shadow%3A%200%201px%204px%20%23aaa%3B%0A%20%20%20%20margin-top%3A%2030px%3B%0A%20%20%20%20margin-bottom%3A%2050px%3B%0A%7D%0A%0A/*%20.slide%20ul%2C%20.slide%20li%20%7B%20*/%0A/*%20%20%20%20%20padding%3A%200%3B%20*/%0A/*%20%20%20%20%20margin%3A%200%3B%20*/%0A/*%20%7D%20*/%0A%0A.slide%20button%20%7B%0A%20%20%20%20font-size%3A%2018px%3B%0A%7D%0A%0A.slide%20a%20%7B%0A%20%20%20%20color%3A%20%23555%3B%0A%20%20%20%20text-decoration%3A%20none%3B%0A%20%20%20%20cursor%3A%20pointer%3B%0A%7D%0A%0A.slide%20a%3Ahover%20%7B%0A%20%20%20%20color%3A%20%23fff%3B%0A%20%20%20%20background%3A%20%23555%3B%0A%7D%0A%0A.slide%20.right%20%7B%0A%20%20%20%20text-align%3A%20right%3B%0A%7D%0A%0A.slide%20.section.center%20%7B%0A%20%20%20%20text-align%3A%20center%3B%0A%20%20%20%20display%3A%20table-cell%3B%0A%20%20%20%20vertical-align%3A%20middle%3B%0A%20%20%20%20width%3A%20700px%3B%0A%20%20%20%20height%3A%20500px%3B%0A%7D%0A%0A.slide%20code%20%7B%0A%20%20%20%20font-family%3A%20%22Droid%20Sans%20Mono%22%3B%0A%20%20%20%20color%3A%20%23444%3B%0A%20%20%20%20border%3A%201px%20solid%20%23ddd%3B%0A%20%20%20%20background%3A%20%23eee%3B%0A%20%20%20%20border-radius%3A%204px%3B%0A%20%20%20%20padding%3A%202px%3B%0A%20%20%20%20font-size%3A%2016px%3B%0A%7D%0A%0A.slide%20.code2%20%7B%0A%20%20%20%20font-family%3A%20%22Droid%20Sans%20Mono%22%3B%0A%20%20%20%20line-height%3A%201.2em%3B%0A%20%20%20%20color%3A%20%23444%3B%0A%20%20%20%20padding%3A%202px%3B%0A%20%20%20%20font-size%3A%2016px%3B%0A%7D%0A%0A%0A.slide%20.CodeMirror%20%7B%0A%20%20%20%20width%3A%20500px%3B%0A%20%20%20%20height%3A%20300px%3B%0A%20%20%20%20text-align%3A%20left%3B%0A%7D%0A%0A.slide%20.CodeMirror-scroll%20%7B%0A%20%20%20%20text-align%3A%20left%3B%0A%7D%0A%0A.slide%20.fancy%20%7B%0A%20%20%20%20margin-top%3A%2030px%3B%0A%20%20%20%20-webkit-transform%3A%20rotate%28-10deg%29%3B%0A%20%20%20%20-moz-transform%3A%20rotate%28-10deg%29%3B%0A%20%20%20%20transform%3A%20rotate%28-10deg%29%3B%0A%20%20%20%20color%3A%20red%3B%0A%7D%0A%0A.slide%20.comment%20%7B%0A%20%20%20%20opacity%3A%200.6%3B%0A%20%20%20%20font-weight%3A%20normal%3B%0A%7D%0A%0A.slide%20.red%20%7B%0A%20%20%20%20color%3A%20red%3B%0A%7D%0A%0A.slide%20.blue%20%7B%0A%20%20%20%20color%3A%20blue%3B%0A%7D%0A%0A.slide%23WhatIsJtalk%20%7B%0A%20%20%20%20background%3A%20white%20url%28%22esug2011/images/balloon.jpg%22%29%20650px%2050px%20no-repeat%3B%0A%7D%0A%0A.slide%23ide%20%7B%0A%20%20%20%20background%3A%20black%20url%28%22esug2011/images/ide_star_wars.png%22%29%20center%20center%20no-repeat%3B%0A%7D%0A%0A.slide%23JtalkAndCLI%20%7B%0A%20%20%20%20background%3A%20white%20url%28%22esug2011/images/terminal.png%22%29%20620px%2020px%20no-repeat%3B%0A%7D%0A%0A.slide%23JtalkAndNode%20%7B%0A%20%20%20%20background%3A%20white%20url%28%22esug2011/images/nodejs.png%22%29%20580px%2040px%20no-repeat%3B%0A%7D%0A.slide%23JtalkAndNode2%20%7B%0A%20%20%20%20background%3A%20white%20url%28%22esug2011/images/nodejs.png%22%29%20580px%2040px%20no-repeat%3B%0A%7D%0A%0A.slide%23JtalkAndNode3%20%7B%0A%20%20%20%20background%3A%20white%20url%28%22esug2011/images/nodejs.png%22%29%20580px%2040px%20no-repeat%3B%0A%7D%0A%0A.slide%23JtalkAndWebOS%20%7B%0A%20%20%20%20background%3A%20white%20url%28%22esug2011/images/devices.jpg%22%29%20380px%20280px%20no-repeat%3B%0A%7D%0A%0A.slide%23JtalkAndEnyo%20%7B%0A%20%20%20%20background%3A%20white%20url%28%22esug2011/images/enyo.png%22%29%20130px%20150px%20no-repeat%3B%0A%7D%0A%0A.slide%23links%20%7B%0A%20%20%20%20background%3A%20white%20url%28%22esug2011/images/asterix.png%22%29%2030px%20130px%20no-repeat%3B%0A%7D%0A%0A.slide%23links%20.section%20%7B%0A%20%20%20%20margin-left%3A%20250px%3B%0A%20%20%20%20margin-top%3A%20200px%3B%0A%20%20%20%20font-family%3A%20%22Droid%20Sans%22%3B%0A%20%20%20%20font-size%3A%2026px%3B%0A%20%20%20%20font-weight%3A%20bold%3B%0A%7D%0A%0A%0A%23meta%20%7B%0A%20%20%20%20position%3A%20absolute%3B%0A%20%20%20%20font-size%3A%2012px%3B%0A%20%20%20%20opacity%3A%200.6%3B%0A%20%20%20%20bottom%3A%200%3B%0A%20%20%20%20right%3A%200%3B%0A%20%20%20%20z-index%3A%202%3B%0A%20%20%20%20background%3A%20%23333%3B%0A%20%20%20%20text-align%3A%20right%3B%0A%20%20%20%20padding%3A%200%2010px%3B%0A%20%20%20%20line-height%3A%201.8em%3B%0A%20%20%20%20color%3A%20%23eee%3B%0A%20%20%20%20border-top-left-radius%3A%205px%3B%0A%7D%0A%0A%23meta%3Ahover%20%7B%0A%20%20%20%20opacity%3A%200.8%3B%0A%7D%0A%0A%23meta%20p%20%7B%0A%20%20%20%20display%3A%20inline%3B%0A%20%20%20%20padding%3A%200%205px%3B%0A%7D%0A%0A%23meta%20a%20%7B%0A%20%20%20%20//background%3A%20%23ccc%3B%0A%20%20%20%20color%3A%20%23ccc%3B%0A%20%20%20%20text-decoration%3A%20none%3B%0A%20%20%20%20padding%3A%200%205px%3B%0A%7D%0A%0A.slide%20%7B%0A%20%20%20%20%0A%7D%0A%27'),
  661. messageSends: [],
  662. referencedClasses: []
  663. }),
  664. smalltalk.ESUG2011Presentation);
  665. smalltalk.ESUG2011Presentation.klass.iVarNames = ['current'];
  666. smalltalk.addMethod(
  667. unescape('_isConcrete'),
  668. smalltalk.method({
  669. selector: unescape('isConcrete'),
  670. category: 'testing',
  671. fn: function () {
  672. var self = this;
  673. return true;
  674. return self;
  675. },
  676. args: [],
  677. source: unescape('isConcrete%0A%09%5Etrue'),
  678. messageSends: [],
  679. referencedClasses: []
  680. }),
  681. smalltalk.ESUG2011Presentation.klass);
  682. smalltalk.addMethod(
  683. unescape('_title'),
  684. smalltalk.method({
  685. selector: unescape('title'),
  686. category: 'accessing',
  687. fn: function () {
  688. var self = this;
  689. return "Jtalk";
  690. return self;
  691. },
  692. args: [],
  693. source: unescape('title%0A%09%5E%27Jtalk%27'),
  694. messageSends: [],
  695. referencedClasses: []
  696. }),
  697. smalltalk.ESUG2011Presentation.klass);
  698. smalltalk.addClass('IntroSlide', smalltalk.Slide, [], 'Presentation');
  699. smalltalk.addMethod(
  700. unescape('_id'),
  701. smalltalk.method({
  702. selector: unescape('id'),
  703. category: 'accessing',
  704. fn: function () {
  705. var self = this;
  706. return "intro";
  707. return self;
  708. },
  709. args: [],
  710. source: unescape('id%0A%09%5E%27intro%27'),
  711. messageSends: [],
  712. referencedClasses: []
  713. }),
  714. smalltalk.IntroSlide);
  715. smalltalk.addMethod(
  716. unescape('_cssClass'),
  717. smalltalk.method({
  718. selector: unescape('cssClass'),
  719. category: 'accessing',
  720. fn: function () {
  721. var self = this;
  722. return "slide black";
  723. return self;
  724. },
  725. args: [],
  726. source: unescape('cssClass%0A%09%5E%27slide%20black%27'),
  727. messageSends: [],
  728. referencedClasses: []
  729. }),
  730. smalltalk.IntroSlide);
  731. smalltalk.addMethod(
  732. unescape('_renderSlideOn_'),
  733. smalltalk.method({
  734. selector: unescape('renderSlideOn%3A'),
  735. category: 'rendering',
  736. fn: function (html) {
  737. var self = this;
  738. (function ($rec) {smalltalk.send($rec, "_class_", ["section center"]);return smalltalk.send($rec, "_with_", [function () {smalltalk.send(smalltalk.send(html, "_h1", []), "_with_", [unescape("Jtalk%2C%20the%20Smalltalk%20for%20Web%20developers")]);smalltalk.send(smalltalk.send(html, "_p", []), "_with_", [smalltalk.send(smalltalk.send(smalltalk.send(smalltalk.send(self, "_presentation", []), "_author", []), "__comma", [unescape("%20%26%20G%F6ran%20Krampe%20-%20")]), "__comma", [smalltalk.send(smalltalk.send(self, "_presentation", []), "_description", [])])]);smalltalk.send(smalltalk.send(html, "_p", []), "_with_", [function () {return function ($rec) {smalltalk.send($rec, "_with_", [smalltalk.send(smalltalk.send(self, "_presentation", []), "_email", [])]);return smalltalk.send($rec, "_href_", [smalltalk.send("mailto:", "__comma", [smalltalk.send(smalltalk.send(self, "_presentation", []), "_email", [])])]);}(smalltalk.send(html, "_a", []));}]);smalltalk.send(smalltalk.send(html, "_p", []), "_with_", [function () {return function ($rec) {smalltalk.send($rec, "_with_", [unescape("goran@krampe.se")]);return smalltalk.send($rec, "_href_", [unescape("mailto%3Agoran@krampe.se")]);}(smalltalk.send(html, "_a", []));}]);return smalltalk.send(smalltalk.send(html, "_p", []), "_with_", [function () {return function ($rec) {smalltalk.send($rec, "_with_", ["objectfusion.fr"]);return smalltalk.send($rec, "_href_", [unescape("http%3A//www.objectfusion.fr")]);}(smalltalk.send(html, "_a", []));}]);}]);}(smalltalk.send(html, "_div", [])));
  739. return self;
  740. },
  741. args: ["html"],
  742. source: unescape('renderSlideOn%3A%20html%0A%09html%20div%20class%3A%20%27section%20center%27%3B%20with%3A%20%5B%0A%09%09html%20h1%20with%3A%20%27Jtalk%2C%20the%20Smalltalk%20for%20Web%20developers%27.%0A%09%09html%20p%20with%3A%20self%20presentation%20author%2C%20%27%20%26%20G%F6ran%20Krampe%20-%20%27%2C%20self%20presentation%20description.%0A%09%09html%20p%20with%3A%20%5B%0A%09%09%09html%20a%0A%09%09%09%09with%3A%20self%20presentation%20email%3B%0A%09%09%09%09href%3A%20%27mailto%3A%27%2C%20self%20presentation%20email%5D.%0A%09%09html%20p%20with%3A%20%5B%0A%09%09%09html%20a%0A%09%09%09%09with%3A%20%27goran@krampe.se%27%3B%0A%09%09%09%09href%3A%20%27mailto%3Agoran@krampe.se%27%5D.%0A%09%09%0A%20%20%20%20%20%20%20%20%20%20%09html%20p%20with%3A%20%5B%0A%09%09%09html%20a%0A%09%09%09%09with%3A%20%27objectfusion.fr%27%3B%0A%09%09%09%09href%3A%20%27http%3A//www.objectfusion.fr%27%5D%5D'),
  743. messageSends: ["class:", "with:", "h1", "p", unescape("%2C"), "author", "presentation", "description", "email", "href:", "a", "div"],
  744. referencedClasses: []
  745. }),
  746. smalltalk.IntroSlide);
  747. smalltalk.addClass('WhatIsJtalkSlide', smalltalk.Slide, [], 'Presentation');
  748. smalltalk.addMethod(
  749. unescape('_id'),
  750. smalltalk.method({
  751. selector: unescape('id'),
  752. category: 'accessing',
  753. fn: function () {
  754. var self = this;
  755. return "WhatIsJtalk";
  756. return self;
  757. },
  758. args: [],
  759. source: unescape('id%0A%09%5E%27WhatIsJtalk%27'),
  760. messageSends: [],
  761. referencedClasses: []
  762. }),
  763. smalltalk.WhatIsJtalkSlide);
  764. smalltalk.addMethod(
  765. unescape('_renderSlideOn_'),
  766. smalltalk.method({
  767. selector: unescape('renderSlideOn%3A'),
  768. category: 'rendering',
  769. fn: function (html) {
  770. var self = this;
  771. (function ($rec) {smalltalk.send($rec, "_class_", ["section center"]);return smalltalk.send($rec, "_with_", [function () {smalltalk.send(smalltalk.send(html, "_h1", []), "_with_", ["Jtalk in a nutshell"]);smalltalk.send(smalltalk.send(html, "_h2", []), "_with_", ["Jtalk is an implementation of Smalltalk"]);smalltalk.send(smalltalk.send(html, "_h2", []), "_with_", ["Jtalk runs on top of the JavaScript runtime"]);smalltalk.send(smalltalk.send(html, "_h2", []), "_with_", [unescape("Jtalk%20is%20an%20opensource%20project%20%28MIT%29")]);return function ($rec) {smalltalk.send($rec, "_class_", ["fancy"]);return smalltalk.send($rec, "_with_", [unescape("Jtalk%20is%20cool%21")]);}(smalltalk.send(html, "_h2", []));}]);}(smalltalk.send(html, "_div", [])));
  772. return self;
  773. },
  774. args: ["html"],
  775. source: unescape('renderSlideOn%3A%20html%0A%09html%20div%20class%3A%20%27section%20center%27%3B%20with%3A%20%5B%0A%09%09html%20h1%20with%3A%20%27Jtalk%20in%20a%20nutshell%27.%0A%09%09html%20h2%20with%3A%20%27Jtalk%20is%20an%20implementation%20of%20Smalltalk%27.%0A%09%09html%20h2%20with%3A%20%27Jtalk%20runs%20on%20top%20of%20the%20JavaScript%20runtime%27.%0A%09%09html%20h2%20with%3A%20%27Jtalk%20is%20an%20opensource%20project%20%28MIT%29%27.%0A%09%09html%20h2%20class%3A%20%27fancy%27%3B%20with%3A%20%27Jtalk%20is%20cool%21%27%5D'),
  776. messageSends: ["class:", "with:", "h1", "h2", "div"],
  777. referencedClasses: []
  778. }),
  779. smalltalk.WhatIsJtalkSlide);
  780. smalltalk.addClass('JtalkFeaturesSlide', smalltalk.Slide, [], 'Presentation');
  781. smalltalk.addMethod(
  782. unescape('_id'),
  783. smalltalk.method({
  784. selector: unescape('id'),
  785. category: 'accessing',
  786. fn: function () {
  787. var self = this;
  788. return "features";
  789. return self;
  790. },
  791. args: [],
  792. source: unescape('id%0A%09%5E%27features%27'),
  793. messageSends: [],
  794. referencedClasses: []
  795. }),
  796. smalltalk.JtalkFeaturesSlide);
  797. smalltalk.addMethod(
  798. unescape('_renderSlideOn_'),
  799. smalltalk.method({
  800. selector: unescape('renderSlideOn%3A'),
  801. category: 'rendering',
  802. fn: function (html) {
  803. var self = this;
  804. smalltalk.send(smalltalk.send(html, "_h1", []), "_with_", ["Jtalk features"]);
  805. smalltalk.send(smalltalk.send(html, "_ul", []), "_with_", [function () {smalltalk.send(smalltalk.send(html, "_li", []), "_with_", [unescape("Jtalk%20is%20%28mostly%29%20written%20in%20itself%2C%20including%20the%20parser%20%26%20compiler")]);smalltalk.send(smalltalk.send(html, "_li", []), "_with_", [unescape("Full%20Smalltalk%20object%20system%2C%20including%20classes%20%26%20metaclasses%2C%20etc")]);smalltalk.send(smalltalk.send(html, "_li", []), "_with_", [unescape("Core%20libraries%20%28streams%2C%20collections%2C%20RegExp%2C%20etc%29")]);smalltalk.send(smalltalk.send(html, "_li", []), "_with_", [unescape("Web%20related%20libraries%3A%20HTML%20Canvas%2C%20DOM%20manipulation")]);smalltalk.send(smalltalk.send(html, "_li", []), "_with_", ["Full featured IDE"]);return smalltalk.send(smalltalk.send(html, "_li", []), "_with_", [function () {smalltalk.send(html, "_with_", [unescape("Advanced%20Smalltalk%20features%2C%20including%20")]);smalltalk.send(smalltalk.send(html, "_code", []), "_with_", [unescape("%23doesNotUnderstand%3A")]);smalltalk.send(html, "_with_", [" support and "]);return smalltalk.send(smalltalk.send(html, "_code", []), "_with_", ["thisContext"]);}]);}]);
  806. return self;
  807. },
  808. args: ["html"],
  809. source: unescape('renderSlideOn%3A%20html%0A%09html%20h1%20with%3A%20%27Jtalk%20features%27.%0A%09html%20ul%20with%3A%20%5B%0A%09%09html%20li%20with%3A%20%27Jtalk%20is%20%28mostly%29%20written%20in%20itself%2C%20including%20the%20parser%20%26%20compiler%27.%0A%09%09html%20li%20with%3A%20%27Full%20Smalltalk%20object%20system%2C%20including%20classes%20%26%20metaclasses%2C%20etc%27.%0A%09%09html%20li%20with%3A%20%27Core%20libraries%20%28streams%2C%20collections%2C%20RegExp%2C%20etc%29%27.%0A%09%09html%20li%20with%3A%20%27Web%20related%20libraries%3A%20HTML%20Canvas%2C%20DOM%20manipulation%27.%0A%09%09html%20li%20with%3A%20%27Full%20featured%20IDE%27.%0A%09%09html%20li%20with%3A%20%5B%0A%09%09%09html%20with%3A%27Advanced%20Smalltalk%20features%2C%20including%20%27.%0A%09%09%09html%20code%20with%3A%20%27%23doesNotUnderstand%3A%27.%0A%09%09%09html%20with%3A%20%27%20support%20and%20%27.%0A%09%09%09html%20code%20with%3A%20%27thisContext%27%5D%5D'),
  810. messageSends: ["with:", "h1", "ul", "li", "code"],
  811. referencedClasses: []
  812. }),
  813. smalltalk.JtalkFeaturesSlide);
  814. smalltalk.addClass('AboutSlide', smalltalk.Slide, [], 'Presentation');
  815. smalltalk.addMethod(
  816. unescape('_id'),
  817. smalltalk.method({
  818. selector: unescape('id'),
  819. category: 'accessing',
  820. fn: function () {
  821. var self = this;
  822. return "about";
  823. return self;
  824. },
  825. args: [],
  826. source: unescape('id%0A%09%5E%27about%27'),
  827. messageSends: [],
  828. referencedClasses: []
  829. }),
  830. smalltalk.AboutSlide);
  831. smalltalk.addMethod(
  832. unescape('_cssClass'),
  833. smalltalk.method({
  834. selector: unescape('cssClass'),
  835. category: 'accessing',
  836. fn: function () {
  837. var self = this;
  838. return "slide transparent white";
  839. return self;
  840. },
  841. args: [],
  842. source: unescape('cssClass%0A%09%5E%27slide%20transparent%20white%27'),
  843. messageSends: [],
  844. referencedClasses: []
  845. }),
  846. smalltalk.AboutSlide);
  847. smalltalk.addMethod(
  848. unescape('_backgroundColor'),
  849. smalltalk.method({
  850. selector: unescape('backgroundColor'),
  851. category: 'accessing',
  852. fn: function () {
  853. var self = this;
  854. return "white";
  855. return self;
  856. },
  857. args: [],
  858. source: unescape('backgroundColor%0A%09%5E%27white%27'),
  859. messageSends: [],
  860. referencedClasses: []
  861. }),
  862. smalltalk.AboutSlide);
  863. smalltalk.addMethod(
  864. unescape('_renderSlideOn_'),
  865. smalltalk.method({
  866. selector: unescape('renderSlideOn%3A'),
  867. category: 'rendering',
  868. fn: function (html) {
  869. var self = this;
  870. (function ($rec) {smalltalk.send($rec, "_class_", ["section center"]);return smalltalk.send($rec, "_with_", [function () {smalltalk.send(smalltalk.send(html, "_h1", []), "_with_", ["About this presentation"]);smalltalk.send(smalltalk.send(html, "_p", []), "_with_", [unescape("This%20presentation%20is%20entirely%20written%20in%20Jtalk%20and%20is%20licensed%20under%20CC%20BY-SA.")]);smalltalk.send(smalltalk.send(html, "_p", []), "_with_", [function () {smalltalk.send(html, "_with_", ["Press "]);smalltalk.send(smalltalk.send(html, "_code", []), "_with_", [unescape("%u2190")]);smalltalk.send(html, "_with_", [" to move backward and "]);smalltalk.send(smalltalk.send(html, "_code", []), "_with_", [unescape("%20%u2192")]);return smalltalk.send(html, "_with_", [" to move forward."]);}]);return smalltalk.send(smalltalk.send(html, "_p", []), "_with_", [function () {smalltalk.send(html, "_with_", ["Open a "]);(function ($rec) {smalltalk.send($rec, "_with_", ["browser"]);return smalltalk.send($rec, "_onClick_", [function () {return smalltalk.send(smalltalk.Browser || Browser, "_openOn_", [smalltalk.Presentation || Presentation]);}]);}(smalltalk.send(html, "_button", [])));return smalltalk.send(html, "_with_", [" to edit the source code."]);}]);}]);}(smalltalk.send(html, "_div", [])));
  871. return self;
  872. },
  873. args: ["html"],
  874. source: unescape('renderSlideOn%3A%20html%0A%09html%20div%20class%3A%20%27section%20center%27%3B%20with%3A%20%5B%0A%09%09html%20h1%20with%3A%20%27About%20this%20presentation%27.%0A%09%09html%20p%20with%3A%20%27This%20presentation%20is%20entirely%20written%20in%20Jtalk%20and%20is%20licensed%20under%20CC%20BY-SA.%27.%0A%09%09html%20p%20with%3A%20%5B%0A%09%09%09html%20with%3A%20%27Press%20%27.%0A%09%09%09html%20code%20with%3A%20%27%u2190%27.%0A%09%09%09html%20with%3A%20%27%20to%20move%20backward%20and%20%27.%0A%09%09%09html%20code%20with%3A%20%27%20%u2192%27.%0A%09%09%09html%20with%3A%20%27%20to%20move%20forward.%27%5D.%0A%09%09html%20p%20with%3A%20%5B%0A%09%09%09html%20with%3A%20%27Open%20a%20%27.%0A%09%09%09html%20button%20%0A%09%09%09%09with%3A%20%27browser%27%3B%0A%09%09%09%09onClick%3A%20%5BBrowser%20openOn%3A%20Presentation%5D.%0A%09%09%09html%20with%3A%20%27%20to%20edit%20the%20source%20code.%27%5D%5D'),
  875. messageSends: ["class:", "with:", "h1", "p", "code", "onClick:", "openOn:", "button", "div"],
  876. referencedClasses: [smalltalk.Presentation]
  877. }),
  878. smalltalk.AboutSlide);
  879. smalltalk.addClass('JtalkAndJavascriptSlide3', smalltalk.Slide, [], 'Presentation');
  880. smalltalk.addMethod(
  881. unescape('_id'),
  882. smalltalk.method({
  883. selector: unescape('id'),
  884. category: 'accessing',
  885. fn: function () {
  886. var self = this;
  887. return "jtalkAndJs3";
  888. return self;
  889. },
  890. args: [],
  891. source: unescape('id%0A%09%5E%27jtalkAndJs3%27'),
  892. messageSends: [],
  893. referencedClasses: []
  894. }),
  895. smalltalk.JtalkAndJavascriptSlide3);
  896. smalltalk.addMethod(
  897. unescape('_backgroundColor'),
  898. smalltalk.method({
  899. selector: unescape('backgroundColor'),
  900. category: 'accessing',
  901. fn: function () {
  902. var self = this;
  903. return unescape("%2308C");
  904. return self;
  905. },
  906. args: [],
  907. source: unescape('backgroundColor%0A%09%5E%27%2308C%27'),
  908. messageSends: [],
  909. referencedClasses: []
  910. }),
  911. smalltalk.JtalkAndJavascriptSlide3);
  912. smalltalk.addMethod(
  913. unescape('_renderSlideOn_'),
  914. smalltalk.method({
  915. selector: unescape('renderSlideOn%3A'),
  916. category: 'rendering',
  917. fn: function (html) {
  918. var self = this;
  919. smalltalk.send(smalltalk.send(html, "_h1", []), "_with_", [function () {smalltalk.send(html, "_with_", ["Smalltalk "]);(function ($rec) {smalltalk.send($rec, "_class_", ["red"]);return smalltalk.send($rec, "_with_", [unescape("%u2665")]);}(smalltalk.send(html, "_span", [])));return smalltalk.send(html, "_with_", [" JavaScript"]);}]);
  920. smalltalk.send(smalltalk.send(html, "_h2", []), "_with_", [unescape("Smalltalk%20%u21D2%20JavaScript")]);
  921. smalltalk.send(smalltalk.send(html, "_ol", []), "_with_", [function () {(function ($rec) {smalltalk.send($rec, "_with_", ["Unary messages begin with an underscore: "]);smalltalk.send($rec, "_with_", [function () {return smalltalk.send(smalltalk.send(html, "_code", []), "_with_", ["yourself"]);}]);smalltalk.send($rec, "_with_", [" becomes "]);return smalltalk.send($rec, "_with_", [function () {return smalltalk.send(smalltalk.send(html, "_code", []), "_with_", [unescape("_yourself%28%29")]);}]);}(smalltalk.send(html, "_li", [])));(function ($rec) {smalltalk.send($rec, "_with_", ["Binary messages are prefixed with 2 underscores: "]);smalltalk.send($rec, "_with_", [function () {return smalltalk.send(smalltalk.send(html, "_code", []), "_with_", [unescape("3@4")]);}]);smalltalk.send($rec, "_with_", [" becomes "]);return smalltalk.send($rec, "_with_", [function () {return smalltalk.send(smalltalk.send(html, "_code", []), "_with_", [unescape("%283%29.__at%284%29")]);}]);}(smalltalk.send(html, "_li", [])));return function ($rec) {smalltalk.send($rec, "_with_", [unescape("Keyword%20message%20follow%20the%20same%20rules%20as%20unary%20messages%2C%20with%20a%20final%20underscore%3A%20")]);smalltalk.send($rec, "_with_", [function () {return smalltalk.send(smalltalk.send(html, "_code", []), "_with_", ["aDictionary at: 3 put: 4"]);}]);smalltalk.send($rec, "_with_", [" becomes "]);return smalltalk.send($rec, "_with_", [function () {return smalltalk.send(smalltalk.send(html, "_code", []), "_with_", [unescape("aDictionary._at_put_%283%2C%204%29")]);}]);}(smalltalk.send(html, "_li", []));}]);
  922. return self;
  923. },
  924. args: ["html"],
  925. source: unescape('renderSlideOn%3A%20html%0A%09html%20h1%20with%3A%20%5B%0A%09%09html%20with%3A%20%27Smalltalk%20%27.%0A%09%09html%20span%20class%3A%20%27red%27%3B%20with%3A%20%27%u2665%27.%0A%09%09html%20with%3A%20%27%20JavaScript%27%5D.%0A%09html%20h2%20with%3A%20%27Smalltalk%20%u21D2%20JavaScript%27.%0A%09html%20ol%20with%3A%20%5B%0A%09%09html%20li%20%0A%09%09%09with%3A%20%27Unary%20messages%20begin%20with%20an%20underscore%3A%20%27%3B%0A%09%09%09with%3A%20%5Bhtml%20code%20with%3A%20%27yourself%27%5D%3B%0A%09%09%09with%3A%20%27%20becomes%20%27%3B%0A%09%09%09with%3A%20%5Bhtml%20code%20with%3A%20%27_yourself%28%29%27%5D.%0A%09%09html%20li%20%0A%09%09%09with%3A%20%27Binary%20messages%20are%20prefixed%20with%202%20underscores%3A%20%27%3B%0A%09%09%09with%3A%20%5Bhtml%20code%20with%3A%20%273@4%27%5D%3B%0A%09%09%09with%3A%20%27%20becomes%20%27%3B%0A%09%09%09with%3A%20%5Bhtml%20code%20with%3A%20%27%283%29.__at%284%29%27%5D.%0A%09%09html%20li%20%0A%09%09%09with%3A%20%27Keyword%20message%20follow%20the%20same%20rules%20as%20unary%20messages%2C%20with%20a%20final%20underscore%3A%20%27%3B%0A%09%09%09with%3A%20%5Bhtml%20code%20with%3A%20%27aDictionary%20at%3A%203%20put%3A%204%27%5D%3B%0A%09%09%09with%3A%20%27%20becomes%20%27%3B%0A%09%09%09with%3A%20%5Bhtml%20code%20with%3A%20%27aDictionary._at_put_%283%2C%204%29%27%5D%5D'),
  926. messageSends: ["with:", "h1", "class:", "span", "h2", "ol", "code", "li"],
  927. referencedClasses: []
  928. }),
  929. smalltalk.JtalkAndJavascriptSlide3);
  930. smalltalk.addClass('JtalkAndJavascriptSlide2', smalltalk.Slide, [], 'Presentation');
  931. smalltalk.addMethod(
  932. unescape('_id'),
  933. smalltalk.method({
  934. selector: unescape('id'),
  935. category: 'accessing',
  936. fn: function () {
  937. var self = this;
  938. return "jtalkAndJs2";
  939. return self;
  940. },
  941. args: [],
  942. source: unescape('id%0A%09%5E%27jtalkAndJs2%27'),
  943. messageSends: [],
  944. referencedClasses: []
  945. }),
  946. smalltalk.JtalkAndJavascriptSlide2);
  947. smalltalk.addMethod(
  948. unescape('_backgroundColor'),
  949. smalltalk.method({
  950. selector: unescape('backgroundColor'),
  951. category: 'accessing',
  952. fn: function () {
  953. var self = this;
  954. return unescape("%2308C");
  955. return self;
  956. },
  957. args: [],
  958. source: unescape('backgroundColor%0A%09%5E%27%2308C%27'),
  959. messageSends: [],
  960. referencedClasses: []
  961. }),
  962. smalltalk.JtalkAndJavascriptSlide2);
  963. smalltalk.addMethod(
  964. unescape('_renderSlideOn_'),
  965. smalltalk.method({
  966. selector: unescape('renderSlideOn%3A'),
  967. category: 'rendering',
  968. fn: function (html) {
  969. var self = this;
  970. smalltalk.send(smalltalk.send(html, "_h1", []), "_with_", [function () {smalltalk.send(html, "_with_", ["Smalltalk "]);(function ($rec) {smalltalk.send($rec, "_class_", ["red"]);return smalltalk.send($rec, "_with_", [unescape("%u2665")]);}(smalltalk.send(html, "_span", [])));return smalltalk.send(html, "_with_", [" JavaScript"]);}]);
  971. smalltalk.send(smalltalk.send(html, "_h2", []), "_with_", ["Jtalk maps one to one with the JavaScript equivalent:"]);
  972. smalltalk.send(smalltalk.send(html, "_ul", []), "_with_", [function () {smalltalk.send(smalltalk.send(html, "_li", []), "_with_", [unescape("String%20%u21D4%20String")]);smalltalk.send(smalltalk.send(html, "_li", []), "_with_", [unescape("Number%20%u21D4%20Number")]);smalltalk.send(smalltalk.send(html, "_li", []), "_with_", [unescape("BlockClosure%20%u21D4%20function")]);smalltalk.send(smalltalk.send(html, "_li", []), "_with_", [unescape("Dictionary%20%u21D4%20Object")]);smalltalk.send(smalltalk.send(html, "_li", []), "_with_", [unescape("Error%20%u21D4%20Error")]);return smalltalk.send(smalltalk.send(html, "_li", []), "_with_", ["etc."]);}]);
  973. return self;
  974. },
  975. args: ["html"],
  976. source: unescape('renderSlideOn%3A%20html%0A%09html%20h1%20with%3A%20%5B%0A%09%09html%20with%3A%20%27Smalltalk%20%27.%0A%09%09html%20span%20class%3A%20%27red%27%3B%20with%3A%20%27%u2665%27.%0A%09%09html%20with%3A%20%27%20JavaScript%27%5D.%0A%09html%20h2%20with%3A%20%27Jtalk%20maps%20one%20to%20one%20with%20the%20JavaScript%20equivalent%3A%27.%0A%09html%20ul%20with%3A%20%5B%0A%09%09html%20li%20with%3A%20%27String%20%u21D4%20String%27.%0A%09%09html%20li%20with%3A%20%27Number%20%u21D4%20Number%27.%0A%09%09html%20li%20with%3A%20%27BlockClosure%20%u21D4%20function%27.%0A%09%09html%20li%20with%3A%20%27Dictionary%20%u21D4%20Object%27.%0A%09%09html%20li%20with%3A%20%27Error%20%u21D4%20Error%27.%0A%09%09html%20li%20with%3A%20%27etc.%27%5D'),
  977. messageSends: ["with:", "h1", "class:", "span", "h2", "ul", "li"],
  978. referencedClasses: []
  979. }),
  980. smalltalk.JtalkAndJavascriptSlide2);
  981. smalltalk.addClass('JtalkAndJavascriptSlide', smalltalk.Slide, [], 'Presentation');
  982. smalltalk.addMethod(
  983. unescape('_id'),
  984. smalltalk.method({
  985. selector: unescape('id'),
  986. category: 'accessing',
  987. fn: function () {
  988. var self = this;
  989. return "jtalkAndJs";
  990. return self;
  991. },
  992. args: [],
  993. source: unescape('id%0A%09%5E%27jtalkAndJs%27'),
  994. messageSends: [],
  995. referencedClasses: []
  996. }),
  997. smalltalk.JtalkAndJavascriptSlide);
  998. smalltalk.addMethod(
  999. unescape('_cssClass'),
  1000. smalltalk.method({
  1001. selector: unescape('cssClass'),
  1002. category: 'accessing',
  1003. fn: function () {
  1004. var self = this;
  1005. return "slide transparent";
  1006. return self;
  1007. },
  1008. args: [],
  1009. source: unescape('cssClass%0A%09%5E%27slide%20transparent%27'),
  1010. messageSends: [],
  1011. referencedClasses: []
  1012. }),
  1013. smalltalk.JtalkAndJavascriptSlide);
  1014. smalltalk.addMethod(
  1015. unescape('_backgroundColor'),
  1016. smalltalk.method({
  1017. selector: unescape('backgroundColor'),
  1018. category: 'accessing',
  1019. fn: function () {
  1020. var self = this;
  1021. return unescape("%2308C");
  1022. return self;
  1023. },
  1024. args: [],
  1025. source: unescape('backgroundColor%0A%09%5E%27%2308C%27'),
  1026. messageSends: [],
  1027. referencedClasses: []
  1028. }),
  1029. smalltalk.JtalkAndJavascriptSlide);
  1030. smalltalk.addMethod(
  1031. unescape('_renderSlideOn_'),
  1032. smalltalk.method({
  1033. selector: unescape('renderSlideOn%3A'),
  1034. category: 'rendering',
  1035. fn: function (html) {
  1036. var self = this;
  1037. (function ($rec) {smalltalk.send($rec, "_class_", ["section center"]);return smalltalk.send($rec, "_with_", [function () {return smalltalk.send(smalltalk.send(html, "_h1", []), "_with_", [function () {smalltalk.send(html, "_with_", ["Smalltalk "]);(function ($rec) {smalltalk.send($rec, "_class_", ["red"]);return smalltalk.send($rec, "_with_", [unescape("%u2665")]);}(smalltalk.send(html, "_span", [])));return smalltalk.send(html, "_with_", [" JavaScript"]);}]);}]);}(smalltalk.send(html, "_div", [])));
  1038. return self;
  1039. },
  1040. args: ["html"],
  1041. source: unescape('renderSlideOn%3A%20html%0A%09html%20div%20class%3A%20%27section%20center%27%3B%20with%3A%20%5B%0A%09%09html%20h1%20with%3A%20%5B%0A%09%09%09html%20with%3A%20%27Smalltalk%20%27.%0A%09%09%09html%20span%20class%3A%20%27red%27%3B%20with%3A%20%27%u2665%27.%0A%09%09%09html%20with%3A%20%27%20JavaScript%27%5D%5D'),
  1042. messageSends: ["class:", "with:", "h1", "span", "div"],
  1043. referencedClasses: []
  1044. }),
  1045. smalltalk.JtalkAndJavascriptSlide);
  1046. smalltalk.addClass('WorkspaceSlide', smalltalk.Slide, [], 'Presentation');
  1047. smalltalk.addMethod(
  1048. unescape('_id'),
  1049. smalltalk.method({
  1050. selector: unescape('id'),
  1051. category: 'accessing',
  1052. fn: function () {
  1053. var self = this;
  1054. return "workspace";
  1055. return self;
  1056. },
  1057. args: [],
  1058. source: unescape('id%0A%09%5E%27workspace%27'),
  1059. messageSends: [],
  1060. referencedClasses: []
  1061. }),
  1062. smalltalk.WorkspaceSlide);
  1063. smalltalk.addMethod(
  1064. unescape('_backgroundColor'),
  1065. smalltalk.method({
  1066. selector: unescape('backgroundColor'),
  1067. category: 'accessing',
  1068. fn: function () {
  1069. var self = this;
  1070. return unescape("%2318bd7d");
  1071. return self;
  1072. },
  1073. args: [],
  1074. source: unescape('backgroundColor%0A%09%5E%27%2318bd7d%27'),
  1075. messageSends: [],
  1076. referencedClasses: []
  1077. }),
  1078. smalltalk.WorkspaceSlide);
  1079. smalltalk.addMethod(
  1080. unescape('_renderSlideOn_'),
  1081. smalltalk.method({
  1082. selector: unescape('renderSlideOn%3A'),
  1083. category: 'accessing',
  1084. fn: function (html) {
  1085. var self = this;
  1086. var workspace = nil;
  1087. workspace = smalltalk.send(smalltalk.SourceArea || SourceArea, "_new", []);
  1088. (function ($rec) {smalltalk.send($rec, "_class_", ["section center"]);return smalltalk.send($rec, "_with_", [function () {smalltalk.send(smalltalk.send(html, "_h1", []), "_with_", [unescape("Give%20Jtalk%20a%20try%21")]);smalltalk.send(workspace, "_renderOn_", [html]);return smalltalk.send(smalltalk.send(html, "_div", []), "_with_", [function () {(function ($rec) {smalltalk.send($rec, "_with_", ["DoIt"]);return smalltalk.send($rec, "_onClick_", [function () {return smalltalk.send(workspace, "_doIt", []);}]);}(smalltalk.send(html, "_button", [])));(function ($rec) {smalltalk.send($rec, "_with_", ["PrintIt"]);return smalltalk.send($rec, "_onClick_", [function () {return smalltalk.send(workspace, "_printIt", []);}]);}(smalltalk.send(html, "_button", [])));return function ($rec) {smalltalk.send($rec, "_with_", ["InspectIt"]);return smalltalk.send($rec, "_onClick_", [function () {return smalltalk.send(workspace, "_inspectIt", []);}]);}(smalltalk.send(html, "_button", []));}]);}]);}(smalltalk.send(html, "_div", [])));
  1089. return self;
  1090. },
  1091. args: ["html"],
  1092. source: unescape('renderSlideOn%3A%20html%0A%09%7C%20workspace%20%7C%0A%09workspace%20%3A%3D%20SourceArea%20new.%0A%09html%20div%20class%3A%20%27section%20center%27%3B%20with%3A%20%5B%0A%09%09html%20h1%20with%3A%20%27Give%20Jtalk%20a%20try%21%27.%0A%09%09workspace%20renderOn%3A%20html.%0A%09%09html%20div%20with%3A%20%5B%0A%09%09%09html%20button%0A%09%09%09%09with%3A%20%27DoIt%27%3B%0A%09%09%09%09onClick%3A%20%5Bworkspace%20doIt%5D.%0A%09%09%09html%20button%0A%09%09%09%09with%3A%20%27PrintIt%27%3B%0A%09%09%09%09onClick%3A%20%5Bworkspace%20printIt%5D.%0A%09%09%09html%20button%0A%09%09%09%09with%3A%20%27InspectIt%27%3B%0A%09%09%09%09onClick%3A%20%5Bworkspace%20inspectIt%5D%5D%5D'),
  1093. messageSends: ["new", "class:", "with:", "h1", "renderOn:", "div", "onClick:", "doIt", "button", "printIt", "inspectIt"],
  1094. referencedClasses: []
  1095. }),
  1096. smalltalk.WorkspaceSlide);
  1097. smalltalk.addClass('CountersSlide', smalltalk.Slide, [], 'Presentation');
  1098. smalltalk.addMethod(
  1099. unescape('_id'),
  1100. smalltalk.method({
  1101. selector: unescape('id'),
  1102. category: 'accessing',
  1103. fn: function () {
  1104. var self = this;
  1105. return "counters";
  1106. return self;
  1107. },
  1108. args: [],
  1109. source: unescape('id%0A%09%5E%27counters%27'),
  1110. messageSends: [],
  1111. referencedClasses: []
  1112. }),
  1113. smalltalk.CountersSlide);
  1114. smalltalk.addMethod(
  1115. unescape('_backgroundColor'),
  1116. smalltalk.method({
  1117. selector: unescape('backgroundColor'),
  1118. category: 'accessing',
  1119. fn: function () {
  1120. var self = this;
  1121. return unescape("%2318bd7d");
  1122. return self;
  1123. },
  1124. args: [],
  1125. source: unescape('backgroundColor%0A%09%5E%27%2318bd7d%27'),
  1126. messageSends: [],
  1127. referencedClasses: []
  1128. }),
  1129. smalltalk.CountersSlide);
  1130. smalltalk.addMethod(
  1131. unescape('_renderSlideOn_'),
  1132. smalltalk.method({
  1133. selector: unescape('renderSlideOn%3A'),
  1134. category: 'rendering',
  1135. fn: function (html) {
  1136. var self = this;
  1137. (function ($rec) {smalltalk.send($rec, "_class_", ["section center"]);return smalltalk.send($rec, "_with_", [function () {smalltalk.send(smalltalk.send(html, "_h1", []), "_with_", ["The counter example"]);return smalltalk.send(smalltalk.send(html, "_div", []), "_with_", [function () {return smalltalk.send(2, "_timesRepeat_", [function () {return smalltalk.send(smalltalk.send(smalltalk.Counter || Counter, "_new", []), "_renderOn_", [html]);}]);}]);}]);}(smalltalk.send(html, "_div", [])));
  1138. return self;
  1139. },
  1140. args: ["html"],
  1141. source: unescape('renderSlideOn%3A%20html%0A%09html%20div%20class%3A%20%27section%20center%27%3B%20with%3A%20%5B%0A%09%09html%20h1%20with%3A%20%27The%20counter%20example%27.%0A%09%09html%20div%20with%3A%20%5B%0A%09%09%092%20timesRepeat%3A%20%5BCounter%20new%20renderOn%3A%20html%5D%5D%5D'),
  1142. messageSends: ["class:", "with:", "h1", "div", "timesRepeat:", "renderOn:", "new"],
  1143. referencedClasses: [smalltalk.Counter]
  1144. }),
  1145. smalltalk.CountersSlide);
  1146. smalltalk.addClass('JtalkAndJavascriptSlide4', smalltalk.Slide, [], 'Presentation');
  1147. smalltalk.addMethod(
  1148. unescape('_id'),
  1149. smalltalk.method({
  1150. selector: unescape('id'),
  1151. category: 'accessing',
  1152. fn: function () {
  1153. var self = this;
  1154. return "jtalkAndJs4";
  1155. return self;
  1156. },
  1157. args: [],
  1158. source: unescape('id%0A%09%5E%27jtalkAndJs4%27'),
  1159. messageSends: [],
  1160. referencedClasses: []
  1161. }),
  1162. smalltalk.JtalkAndJavascriptSlide4);
  1163. smalltalk.addMethod(
  1164. unescape('_backgroundColor'),
  1165. smalltalk.method({
  1166. selector: unescape('backgroundColor'),
  1167. category: 'accessing',
  1168. fn: function () {
  1169. var self = this;
  1170. return unescape("%2308C");
  1171. return self;
  1172. },
  1173. args: [],
  1174. source: unescape('backgroundColor%0A%09%5E%27%2308C%27'),
  1175. messageSends: [],
  1176. referencedClasses: []
  1177. }),
  1178. smalltalk.JtalkAndJavascriptSlide4);
  1179. smalltalk.addMethod(
  1180. unescape('_renderSlideOn_'),
  1181. smalltalk.method({
  1182. selector: unescape('renderSlideOn%3A'),
  1183. category: 'rendering',
  1184. fn: function (html) {
  1185. var self = this;
  1186. smalltalk.send(smalltalk.send(html, "_h1", []), "_with_", [function () {smalltalk.send(html, "_with_", ["JavaScript "]);(function ($rec) {smalltalk.send($rec, "_class_", ["red"]);return smalltalk.send($rec, "_with_", [unescape("%u2665")]);}(smalltalk.send(html, "_span", [])));return function ($rec) {smalltalk.send($rec, "_with_", [unescape("%20Smalltalk%20too%21%20")]);return smalltalk.send($rec, "_with_", [function () {return function ($rec) {smalltalk.send($rec, "_class_", ["comment"]);return smalltalk.send($rec, "_with_", [unescape("%28how%20cute%29")]);}(smalltalk.send(html, "_span", []));}]);}(html);}]);
  1187. smalltalk.send(smalltalk.send(html, "_h2", []), "_with_", [unescape("JavaScript%20%u21D2%20Smalltalk")]);
  1188. smalltalk.send(smalltalk.send(html, "_ol", []), "_with_", [function () {(function ($rec) {smalltalk.send($rec, "_with_", [function () {return smalltalk.send(smalltalk.send(html, "_code", []), "_with_", ["someUser.name"]);}]);smalltalk.send($rec, "_with_", [" becomes "]);return smalltalk.send($rec, "_with_", [function () {return smalltalk.send(smalltalk.send(html, "_code", []), "_with_", ["someUser name"]);}]);}(smalltalk.send(html, "_li", [])));(function ($rec) {smalltalk.send($rec, "_with_", [function () {return smalltalk.send(smalltalk.send(html, "_code", []), "_with_", [unescape("someUser%20name%20%3D%20%22John%22")]);}]);smalltalk.send($rec, "_with_", [" becomes "]);return smalltalk.send($rec, "_with_", [function () {return smalltalk.send(smalltalk.send(html, "_code", []), "_with_", [unescape("someUser%20name%3A%20%27John%27")]);}]);}(smalltalk.send(html, "_li", [])));(function ($rec) {smalltalk.send($rec, "_with_", [function () {return smalltalk.send(smalltalk.send(html, "_code", []), "_with_", [unescape("console.log%28%27hello%20world%27%29")]);}]);smalltalk.send($rec, "_with_", [" becomes "]);return smalltalk.send($rec, "_with_", [function () {return smalltalk.send(smalltalk.send(html, "_code", []), "_with_", [unescape("console%20log%3A%20%27hello%20world%27")]);}]);}(smalltalk.send(html, "_li", [])));return function ($rec) {smalltalk.send($rec, "_with_", [function () {return smalltalk.send(smalltalk.send(html, "_code", []), "_with_", [unescape("window.jQuery%28%27foo%27%29.css%28%27background%27%2C%20%27red%27%29")]);}]);smalltalk.send($rec, "_with_", [" becomes "]);smalltalk.send($rec, "_with_", [function () {return smalltalk.send(html, "_br", []);}]);return smalltalk.send($rec, "_with_", [function () {return smalltalk.send(smalltalk.send(html, "_code", []), "_with_", [unescape("%28window%20jQuery%3A%20%27foo%27%29%20css%3A%20%27background%27%20color%3A%20%27red%27")]);}]);}(smalltalk.send(html, "_li", []));}]);
  1189. return self;
  1190. },
  1191. args: ["html"],
  1192. source: unescape('renderSlideOn%3A%20html%0A%09html%20h1%20with%3A%20%5B%0A%09%09html%20with%3A%20%27JavaScript%20%27.%0A%09%09html%20span%20class%3A%20%27red%27%3B%20with%3A%20%27%u2665%27.%0A%09%09html%20with%3A%20%27%20Smalltalk%20too%21%20%27%3B%0A%09%09with%3A%20%5Bhtml%20span%20class%3A%20%27comment%27%3B%20with%3A%20%27%28how%20cute%29%27%5D%5D.%0A%09html%20h2%20with%3A%20%27JavaScript%20%u21D2%20Smalltalk%27.%0A%09html%20ol%20with%3A%20%5B%0A%09%09html%20li%20%0A%09%09%09with%3A%20%5Bhtml%20code%20with%3A%20%27someUser.name%27%5D%3B%0A%09%09%09with%3A%20%27%20becomes%20%27%3B%0A%09%09%09with%3A%20%5Bhtml%20code%20with%3A%20%27someUser%20name%27%5D.%0A%09%09html%20li%20%0A%09%09%09with%3A%20%5Bhtml%20code%20with%3A%20%27someUser%20name%20%3D%20%22John%22%27%5D%3B%0A%09%09%09with%3A%20%27%20becomes%20%27%3B%0A%09%09%09with%3A%20%5Bhtml%20code%20with%3A%20%27someUser%20name%3A%20%27%27John%27%27%27%5D.%0A%09%09html%20li%20%0A%09%09%09with%3A%20%5Bhtml%20code%20with%3A%20%27console.log%28%27%27hello%20world%27%27%29%27%5D%3B%0A%09%09%09with%3A%20%27%20becomes%20%27%3B%0A%09%09%09with%3A%20%5Bhtml%20code%20with%3A%20%27console%20log%3A%20%27%27hello%20world%27%27%27%5D.%0A%09%09html%20li%20%0A%09%09%09with%3A%20%5Bhtml%20code%20with%3A%20%27window.jQuery%28%27%27foo%27%27%29.css%28%27%27background%27%27%2C%20%27%27red%27%27%29%27%5D%3B%0A%09%09%09with%3A%20%27%20becomes%20%27%3B%0A%09%09%09with%3A%20%5Bhtml%20br%5D%3B%0A%09%09%09with%3A%20%5Bhtml%20code%20with%3A%20%27%28window%20jQuery%3A%20%27%27foo%27%27%29%20css%3A%20%27%27background%27%27%20color%3A%20%27%27red%27%27%27%5D%5D'),
  1193. messageSends: ["with:", "h1", "class:", "span", "h2", "ol", "code", "li", "br"],
  1194. referencedClasses: []
  1195. }),
  1196. smalltalk.JtalkAndJavascriptSlide4);
  1197. smalltalk.addClass('IDESlide', smalltalk.Slide, [], 'Presentation');
  1198. smalltalk.addMethod(
  1199. unescape('_id'),
  1200. smalltalk.method({
  1201. selector: unescape('id'),
  1202. category: 'accessing',
  1203. fn: function () {
  1204. var self = this;
  1205. return "ide";
  1206. return self;
  1207. },
  1208. args: [],
  1209. source: unescape('id%0A%09%5E%27ide%27'),
  1210. messageSends: [],
  1211. referencedClasses: []
  1212. }),
  1213. smalltalk.IDESlide);
  1214. smalltalk.addMethod(
  1215. unescape('_backgroundColor'),
  1216. smalltalk.method({
  1217. selector: unescape('backgroundColor'),
  1218. category: 'accessing',
  1219. fn: function () {
  1220. var self = this;
  1221. return "black";
  1222. return self;
  1223. },
  1224. args: [],
  1225. source: unescape('backgroundColor%0A%09%5E%27black%27'),
  1226. messageSends: [],
  1227. referencedClasses: []
  1228. }),
  1229. smalltalk.IDESlide);
  1230. smalltalk.addMethod(
  1231. unescape('_cssClass'),
  1232. smalltalk.method({
  1233. selector: unescape('cssClass'),
  1234. category: 'accessing',
  1235. fn: function () {
  1236. var self = this;
  1237. return "slide transparent";
  1238. return self;
  1239. },
  1240. args: [],
  1241. source: unescape('cssClass%0A%09%5E%27slide%20transparent%27'),
  1242. messageSends: [],
  1243. referencedClasses: []
  1244. }),
  1245. smalltalk.IDESlide);
  1246. smalltalk.addMethod(
  1247. unescape('_renderSlideOn_'),
  1248. smalltalk.method({
  1249. selector: unescape('renderSlideOn%3A'),
  1250. category: 'rendering',
  1251. fn: function (html) {
  1252. var self = this;
  1253. return self;
  1254. },
  1255. args: ["html"],
  1256. source: unescape('renderSlideOn%3A%20html%0A%22%09html%20div%20class%3A%20%27section%20center%27%3B%20with%3A%20%5B%0A%09%09html%20h1%20%0A%09%09%09with%3A%20%27The%20wonderful%20Jtalk%20%27%3B%0A%09%09%09with%3A%20%5B%0A%09%09%09%09html%20a%20%0A%09%09%09%09%09with%3A%20%27development%20tools%27%3B%0A%09%09%09%09%09onClick%3A%20%5BTabManager%20current%20open%5D%5D%3B%0A%09%09%09with%3A%20%27.%27%5D%0A%22'),
  1257. messageSends: [],
  1258. referencedClasses: []
  1259. }),
  1260. smalltalk.IDESlide);
  1261. smalltalk.addClass('ContributionsSlide', smalltalk.Slide, [], 'Presentation');
  1262. smalltalk.addMethod(
  1263. unescape('_id'),
  1264. smalltalk.method({
  1265. selector: unescape('id'),
  1266. category: 'accessing',
  1267. fn: function () {
  1268. var self = this;
  1269. return "links";
  1270. return self;
  1271. },
  1272. args: [],
  1273. source: unescape('id%0A%09%5E%27links%27'),
  1274. messageSends: [],
  1275. referencedClasses: []
  1276. }),
  1277. smalltalk.ContributionsSlide);
  1278. smalltalk.addMethod(
  1279. unescape('_renderSlideOn_'),
  1280. smalltalk.method({
  1281. selector: unescape('renderSlideOn%3A'),
  1282. category: 'rendering',
  1283. fn: function (html) {
  1284. var self = this;
  1285. (function ($rec) {smalltalk.send($rec, "_class_", ["section"]);return smalltalk.send($rec, "_with_", [function () {smalltalk.send(smalltalk.send(html, "_p", []), "_with_", [function () {return function ($rec) {smalltalk.send($rec, "_href_", [unescape("http%3A//jtalk-project.org")]);return smalltalk.send($rec, "_with_", [unescape("jtalk-project.org")]);}(smalltalk.send(html, "_a", []));}]);smalltalk.send(smalltalk.send(html, "_p", []), "_with_", [function () {return function ($rec) {smalltalk.send($rec, "_href_", [unescape("https%3A//github.com/NicolasPetton/jtalk")]);return smalltalk.send($rec, "_with_", [unescape("github.com/NicolasPetton/jtalk")]);}(smalltalk.send(html, "_a", []));}]);return smalltalk.send(smalltalk.send(html, "_p", []), "_with_", [function () {return function ($rec) {smalltalk.send($rec, "_href_", [unescape("http%3A//http%3A//groups.google.com/group/jtalk-project")]);return smalltalk.send($rec, "_with_", [unescape("groups.google.com/group/jtalk-project")]);}(smalltalk.send(html, "_a", []));}]);}]);}(smalltalk.send(html, "_div", [])));
  1286. return self;
  1287. },
  1288. args: ["html"],
  1289. source: unescape('renderSlideOn%3A%20html%0A%09html%20div%20class%3A%20%27section%27%3B%20with%3A%20%5B%0A%09%09html%20p%20with%3A%20%5B%0A%09%09%09html%20a%20href%3A%20%27http%3A//jtalk-project.org%27%3B%20with%3A%20%27jtalk-project.org%27%5D.%0A%09%09html%20p%20with%3A%20%5B%0A%09%09%09html%20a%20href%3A%20%27https%3A//github.com/NicolasPetton/jtalk%27%3B%20with%3A%20%27github.com/NicolasPetton/jtalk%27%5D.%0A%09%09html%20p%20with%3A%20%5B%0A%09%09%09html%20a%20href%3A%20%27http%3A//http%3A//groups.google.com/group/jtalk-project%27%3B%20with%3A%20%27groups.google.com/group/jtalk-project%27%5D%5D'),
  1290. messageSends: ["class:", "with:", "p", "href:", "a", "div"],
  1291. referencedClasses: []
  1292. }),
  1293. smalltalk.ContributionsSlide);
  1294. smalltalk.addClass('JtalkAndCLI', smalltalk.Slide, [], 'Presentation');
  1295. smalltalk.addMethod(
  1296. unescape('_backgroundColor'),
  1297. smalltalk.method({
  1298. selector: unescape('backgroundColor'),
  1299. category: 'not yet classified',
  1300. fn: function () {
  1301. var self = this;
  1302. return unescape("%230A1");
  1303. return self;
  1304. },
  1305. args: [],
  1306. source: unescape('backgroundColor%0A%09%5E%27%230A1%27'),
  1307. messageSends: [],
  1308. referencedClasses: []
  1309. }),
  1310. smalltalk.JtalkAndCLI);
  1311. smalltalk.addMethod(
  1312. unescape('_id'),
  1313. smalltalk.method({
  1314. selector: unescape('id'),
  1315. category: 'not yet classified',
  1316. fn: function () {
  1317. var self = this;
  1318. return "JtalkAndCLI";
  1319. return self;
  1320. },
  1321. args: [],
  1322. source: unescape('id%0A%09%5E%27JtalkAndCLI%27'),
  1323. messageSends: [],
  1324. referencedClasses: []
  1325. }),
  1326. smalltalk.JtalkAndCLI);
  1327. smalltalk.addMethod(
  1328. unescape('_renderSlideOn_'),
  1329. smalltalk.method({
  1330. selector: unescape('renderSlideOn%3A'),
  1331. category: 'not yet classified',
  1332. fn: function (html) {
  1333. var self = this;
  1334. smalltalk.send(smalltalk.send(html, "_h1", []), "_with_", [function () {smalltalk.send(html, "_with_", ["Jtalk and "]);return function ($rec) {smalltalk.send($rec, "_class_", ["blue"]);return smalltalk.send($rec, "_with_", ["the command line"]);}(smalltalk.send(html, "_span", []));}]);
  1335. smalltalk.send(smalltalk.send(html, "_h2", []), "_with_", [unescape("jtalkc%20-%20a%20fairly%20elaborate%20bash%20script%20that%3A")]);
  1336. smalltalk.send(smalltalk.send(html, "_ul", []), "_with_", [function () {smalltalk.send(smalltalk.send(html, "_li", []), "_with_", ["Uses Node.js to run the Jtalk Compiler"]);smalltalk.send(smalltalk.send(html, "_li", []), "_with_", ["Compiles .st files to .js"]);smalltalk.send(smalltalk.send(html, "_li", []), "_with_", ["Links .js files into a single one"]);smalltalk.send(smalltalk.send(html, "_li", []), "_with_", [unescape("Adds%20class%20initilization%20and/or%20call%20to%20main")]);return smalltalk.send(smalltalk.send(html, "_li", []), "_with_", ["Optionally runs Google Closure compiler"]);}]);
  1337. return self;
  1338. },
  1339. args: ["html"],
  1340. source: unescape('renderSlideOn%3A%20html%0A%09html%20h1%20with%3A%20%5B%0A%09%09html%20with%3A%20%27Jtalk%20and%20%27.%0A%09%09html%20span%20class%3A%20%27blue%27%3B%20with%3A%20%27the%20command%20line%27%5D.%0A%0A%09html%20h2%20with%3A%20%27jtalkc%20-%20a%20fairly%20elaborate%20bash%20script%20that%3A%27.%0A%0A%09html%20ul%20with%3A%20%5B%0A%09%09html%20li%20with%3A%20%27Uses%20Node.js%20to%20run%20the%20Jtalk%20Compiler%27.%0A%09%09html%20li%20with%3A%20%27Compiles%20.st%20files%20to%20.js%27.%0A%09%09html%20li%20with%3A%20%27Links%20.js%20files%20into%20a%20single%20one%27.%0A%09%09html%20li%20with%3A%20%27Adds%20class%20initilization%20and/or%20call%20to%20main%27.%0A%09%09html%20li%20with%3A%20%27Optionally%20runs%20Google%20Closure%20compiler%27%5D'),
  1341. messageSends: ["with:", "h1", "class:", "span", "h2", "ul", "li"],
  1342. referencedClasses: []
  1343. }),
  1344. smalltalk.JtalkAndCLI);
  1345. smalltalk.addClass('JtalkAndNode', smalltalk.Slide, [], 'Presentation');
  1346. smalltalk.addMethod(
  1347. unescape('_backgroundColor'),
  1348. smalltalk.method({
  1349. selector: unescape('backgroundColor'),
  1350. category: 'not yet classified',
  1351. fn: function () {
  1352. var self = this;
  1353. return unescape("%230A1");
  1354. return self;
  1355. },
  1356. args: [],
  1357. source: unescape('backgroundColor%0A%09%5E%27%230A1%27'),
  1358. messageSends: [],
  1359. referencedClasses: []
  1360. }),
  1361. smalltalk.JtalkAndNode);
  1362. smalltalk.addMethod(
  1363. unescape('_id'),
  1364. smalltalk.method({
  1365. selector: unescape('id'),
  1366. category: 'not yet classified',
  1367. fn: function () {
  1368. var self = this;
  1369. return "JtalkAndNode";
  1370. return self;
  1371. },
  1372. args: [],
  1373. source: unescape('id%0A%09%5E%27JtalkAndNode%27'),
  1374. messageSends: [],
  1375. referencedClasses: []
  1376. }),
  1377. smalltalk.JtalkAndNode);
  1378. smalltalk.addMethod(
  1379. unescape('_renderSlideOn_'),
  1380. smalltalk.method({
  1381. selector: unescape('renderSlideOn%3A'),
  1382. category: 'not yet classified',
  1383. fn: function (html) {
  1384. var self = this;
  1385. smalltalk.send(smalltalk.send(html, "_h1", []), "_with_", [function () {smalltalk.send(html, "_with_", ["Jtalk and "]);return function ($rec) {smalltalk.send($rec, "_class_", ["blue"]);return smalltalk.send($rec, "_with_", ["Node.js"]);}(smalltalk.send(html, "_span", []));}]);
  1386. smalltalk.send(smalltalk.send(html, "_h2", []), "_with_", ["Hello.st:"]);
  1387. smalltalk.send(smalltalk.send(html, "_pre", []), "_with_", [function () {return function ($rec) {smalltalk.send($rec, "_class_", ["code2"]);return smalltalk.send($rec, "_with_", [unescape("Object%20subclass%3A%20%23Hello%0A%20%20%20%20%20%20%20%20instanceVariableNames%3A%20%27%27%0A%20%20%20%20%20%20%20%20category%3A%20%27Hello%27%21%0A%0A%21Hello%20class%20methodsFor%3A%20%27main%27%21%0Amain%0A%09console%20log%3A%20%27Hello%20world%20from%20JTalk%20in%20Node.js%27%0A%21%20%21")]);}(smalltalk.send(html, "_div", []));}]);
  1388. return self;
  1389. },
  1390. args: ["html"],
  1391. source: unescape('renderSlideOn%3A%20html%0A%09html%20h1%20with%3A%20%5B%0A%09%09html%20with%3A%20%27Jtalk%20and%20%27.%0A%09%09html%20span%20class%3A%20%27blue%27%3B%20with%3A%20%27Node.js%27%5D.%0A%0A%09html%20h2%20with%3A%20%27Hello.st%3A%27.%0A%09html%20pre%20with%3A%20%5B%0A%09%09html%20div%20class%3A%20%27code2%27%3B%20with%3A%20%20%27Object%20subclass%3A%20%23Hello%0A%20%20%20%20%20%20%20%20instanceVariableNames%3A%20%27%27%27%27%0A%20%20%20%20%20%20%20%20category%3A%20%27%27Hello%27%27%21%0A%0A%21Hello%20class%20methodsFor%3A%20%27%27main%27%27%21%0Amain%0A%09console%20log%3A%20%27%27Hello%20world%20from%20JTalk%20in%20Node.js%27%27%0A%21%20%21%27%5D'),
  1392. messageSends: ["with:", "h1", "class:", "span", "h2", "pre", "div"],
  1393. referencedClasses: []
  1394. }),
  1395. smalltalk.JtalkAndNode);
  1396. smalltalk.addClass('JtalkAndNode2', smalltalk.Slide, [], 'Presentation');
  1397. smalltalk.addMethod(
  1398. unescape('_backgroundColor'),
  1399. smalltalk.method({
  1400. selector: unescape('backgroundColor'),
  1401. category: 'not yet classified',
  1402. fn: function () {
  1403. var self = this;
  1404. return unescape("%230A1");
  1405. return self;
  1406. },
  1407. args: [],
  1408. source: unescape('backgroundColor%0A%09%5E%27%230A1%27'),
  1409. messageSends: [],
  1410. referencedClasses: []
  1411. }),
  1412. smalltalk.JtalkAndNode2);
  1413. smalltalk.addMethod(
  1414. unescape('_id'),
  1415. smalltalk.method({
  1416. selector: unescape('id'),
  1417. category: 'not yet classified',
  1418. fn: function () {
  1419. var self = this;
  1420. return "JtalkAndNode2";
  1421. return self;
  1422. },
  1423. args: [],
  1424. source: unescape('id%0A%09%5E%27JtalkAndNode2%27'),
  1425. messageSends: [],
  1426. referencedClasses: []
  1427. }),
  1428. smalltalk.JtalkAndNode2);
  1429. smalltalk.addMethod(
  1430. unescape('_renderSlideOn_'),
  1431. smalltalk.method({
  1432. selector: unescape('renderSlideOn%3A'),
  1433. category: 'not yet classified',
  1434. fn: function (html) {
  1435. var self = this;
  1436. smalltalk.send(smalltalk.send(html, "_h1", []), "_with_", [function () {smalltalk.send(html, "_with_", ["Jtalk and "]);return function ($rec) {smalltalk.send($rec, "_class_", ["blue"]);return smalltalk.send($rec, "_with_", ["Node.js"]);}(smalltalk.send(html, "_span", []));}]);
  1437. smalltalk.send(smalltalk.send(html, "_h2", []), "_with_", ["Makefile:"]);
  1438. smalltalk.send(smalltalk.send(html, "_pre", []), "_with_", [function () {return function ($rec) {smalltalk.send($rec, "_class_", ["code2"]);return smalltalk.send($rec, "_with_", [unescape("Program.js%3A%20Hello.st%0A%09../../bin/jtalkc%20-N%20-m%20Hello%20Hello.st%20Program%0A%0Arun%3A%20Program.js%0A%09./hello%0A%0Aclean%3A%0A%09rm%20-f%20Program.js%20Hello.js%0A")]);}(smalltalk.send(html, "_div", []));}]);
  1439. smalltalk.send(smalltalk.send(html, "_h2", []), "_with_", ["hello:"]);
  1440. smalltalk.send(smalltalk.send(html, "_pre", []), "_with_", [function () {return function ($rec) {smalltalk.send($rec, "_class_", ["code2"]);return smalltalk.send($rec, "_with_", [unescape("node%20Program.js%20%24@")]);}(smalltalk.send(html, "_div", []));}]);
  1441. return self;
  1442. },
  1443. args: ["html"],
  1444. source: unescape('renderSlideOn%3A%20html%0A%09html%20h1%20with%3A%20%5B%0A%09%09html%20with%3A%20%27Jtalk%20and%20%27.%0A%09%09html%20span%20class%3A%20%27blue%27%3B%20with%3A%20%27Node.js%27%5D.%0A%0A%09html%20h2%20with%3A%20%27Makefile%3A%27.%0A%09html%20pre%20with%3A%20%5B%0A%09%09html%20div%20class%3A%20%27code2%27%3B%20with%3A%20%20%27Program.js%3A%20Hello.st%0A%09../../bin/jtalkc%20-N%20-m%20Hello%20Hello.st%20Program%0A%0Arun%3A%20Program.js%0A%09./hello%0A%0Aclean%3A%0A%09rm%20-f%20Program.js%20Hello.js%0A%27%5D.%0Ahtml%20h2%20with%3A%20%27hello%3A%27.%0A%09html%20pre%20with%3A%20%5B%0A%09%09html%20div%20class%3A%20%27code2%27%3B%20with%3A%20%20%27node%20Program.js%20%24@%27%5D'),
  1445. messageSends: ["with:", "h1", "class:", "span", "h2", "pre", "div"],
  1446. referencedClasses: []
  1447. }),
  1448. smalltalk.JtalkAndNode2);
  1449. smalltalk.addClass('JtalkAndNode3', smalltalk.Slide, [], 'Presentation');
  1450. smalltalk.addMethod(
  1451. unescape('_backgroundColor'),
  1452. smalltalk.method({
  1453. selector: unescape('backgroundColor'),
  1454. category: 'not yet classified',
  1455. fn: function () {
  1456. var self = this;
  1457. return unescape("%230A1");
  1458. return self;
  1459. },
  1460. args: [],
  1461. source: unescape('backgroundColor%0A%09%5E%27%230A1%27'),
  1462. messageSends: [],
  1463. referencedClasses: []
  1464. }),
  1465. smalltalk.JtalkAndNode3);
  1466. smalltalk.addMethod(
  1467. unescape('_id'),
  1468. smalltalk.method({
  1469. selector: unescape('id'),
  1470. category: 'not yet classified',
  1471. fn: function () {
  1472. var self = this;
  1473. return "JtalkAndNode3";
  1474. return self;
  1475. },
  1476. args: [],
  1477. source: unescape('id%0A%09%5E%27JtalkAndNode3%27'),
  1478. messageSends: [],
  1479. referencedClasses: []
  1480. }),
  1481. smalltalk.JtalkAndNode3);
  1482. smalltalk.addMethod(
  1483. unescape('_renderSlideOn_'),
  1484. smalltalk.method({
  1485. selector: unescape('renderSlideOn%3A'),
  1486. category: 'not yet classified',
  1487. fn: function (html) {
  1488. var self = this;
  1489. smalltalk.send(smalltalk.send(html, "_h1", []), "_with_", [function () {smalltalk.send(html, "_with_", ["Jtalk and "]);return function ($rec) {smalltalk.send($rec, "_class_", ["blue"]);return smalltalk.send($rec, "_with_", ["Node.js"]);}(smalltalk.send(html, "_span", []));}]);
  1490. smalltalk.send(smalltalk.send(html, "_h2", []), "_with_", [unescape("make%20clean%20%26%26%20make%20run%3A")]);
  1491. smalltalk.send(smalltalk.send(html, "_pre", []), "_with_", [function () {(function ($rec) {smalltalk.send($rec, "_class_", ["code2"]);return smalltalk.send($rec, "_with_", [unescape("rm%20-f%20Program.js%20Hello.js%0A../../bin/jtalkc%20-N%20-m%20Hello%20Hello.st%20Program%0ALoading%20libraries%20%20/home/gokr/jtalk/js/boot.js%20/home/gokr/jtalk/js/Kernel.js%0A/home/gokr/jtalk/js/Parser.js%20/home/gokr/jtalk/js/Compiler.js%0A/home/gokr/jtalk/js/init.js%20/home/gokr/jtalk/nodejs/nodecompile.js%0Aand%20compiling%20...%0ACompiling%20in%20debugMode%3A%20false%0AReading%20file%20Hello.st%0AExporting%20category%20Hello%20as%20Hello.js%0AAdding%20libraries%20%20/home/gokr/jtalk/js/boot.js%20/home/gokr/jtalk/js/Kernel.js%20%20...%0AAdding%20Jtalk%20code%20Hello.js%20...%0AAdding%20initializer%20/home/gokr/jtalk/js/init.js%20...%0AAdding%20call%20to%20Hello%20class%20%3E%3E%20main%20...%0AWriting%20Program.js%20...%0ADone.%0A./hello")]);}(smalltalk.send(html, "_div", [])));return function ($rec) {smalltalk.send($rec, "_class_", ["blue"]);return smalltalk.send($rec, "_with_", ["Hello world from JTalk in Node.js"]);}(smalltalk.send(html, "_span", []));}]);
  1492. return self;
  1493. },
  1494. args: ["html"],
  1495. source: unescape('renderSlideOn%3A%20html%0A%09html%20h1%20with%3A%20%5B%0A%09%09html%20with%3A%20%27Jtalk%20and%20%27.%0A%09%09html%20span%20class%3A%20%27blue%27%3B%20with%3A%20%27Node.js%27%5D.%0A%0A%09html%20h2%20with%3A%20%27make%20clean%20%26%26%20make%20run%3A%27.%0A%0A%09html%20pre%20with%3A%20%5B%0A%09%09html%20div%20class%3A%20%27code2%27%3B%20with%3A%20%20%27rm%20-f%20Program.js%20Hello.js%0A../../bin/jtalkc%20-N%20-m%20Hello%20Hello.st%20Program%0ALoading%20libraries%20%20/home/gokr/jtalk/js/boot.js%20/home/gokr/jtalk/js/Kernel.js%0A/home/gokr/jtalk/js/Parser.js%20/home/gokr/jtalk/js/Compiler.js%0A/home/gokr/jtalk/js/init.js%20/home/gokr/jtalk/nodejs/nodecompile.js%0Aand%20compiling%20...%0ACompiling%20in%20debugMode%3A%20false%0AReading%20file%20Hello.st%0AExporting%20category%20Hello%20as%20Hello.js%0AAdding%20libraries%20%20/home/gokr/jtalk/js/boot.js%20/home/gokr/jtalk/js/Kernel.js%20%20...%0AAdding%20Jtalk%20code%20Hello.js%20...%0AAdding%20initializer%20/home/gokr/jtalk/js/init.js%20...%0AAdding%20call%20to%20Hello%20class%20%3E%3E%20main%20...%0AWriting%20Program.js%20...%0ADone.%0A./hello%27.%0Ahtml%20span%20class%3A%20%27blue%27%3B%20with%3A%27Hello%20world%20from%20JTalk%20in%20Node.js%27%5D'),
  1496. messageSends: ["with:", "h1", "class:", "span", "h2", "pre", "div"],
  1497. referencedClasses: []
  1498. }),
  1499. smalltalk.JtalkAndNode3);
  1500. smalltalk.addClass('JtalkAndWebOS', smalltalk.Slide, [], 'Presentation');
  1501. smalltalk.addMethod(
  1502. unescape('_backgroundColor'),
  1503. smalltalk.method({
  1504. selector: unescape('backgroundColor'),
  1505. category: 'not yet classified',
  1506. fn: function () {
  1507. var self = this;
  1508. return unescape("%230A1");
  1509. return self;
  1510. },
  1511. args: [],
  1512. source: unescape('backgroundColor%0A%09%5E%27%230A1%27'),
  1513. messageSends: [],
  1514. referencedClasses: []
  1515. }),
  1516. smalltalk.JtalkAndWebOS);
  1517. smalltalk.addMethod(
  1518. unescape('_id'),
  1519. smalltalk.method({
  1520. selector: unescape('id'),
  1521. category: 'not yet classified',
  1522. fn: function () {
  1523. var self = this;
  1524. return "JtalkAndWebOS";
  1525. return self;
  1526. },
  1527. args: [],
  1528. source: unescape('id%0A%09%5E%27JtalkAndWebOS%27'),
  1529. messageSends: [],
  1530. referencedClasses: []
  1531. }),
  1532. smalltalk.JtalkAndWebOS);
  1533. smalltalk.addMethod(
  1534. unescape('_renderSlideOn_'),
  1535. smalltalk.method({
  1536. selector: unescape('renderSlideOn%3A'),
  1537. category: 'not yet classified',
  1538. fn: function (html) {
  1539. var self = this;
  1540. smalltalk.send(smalltalk.send(html, "_h1", []), "_with_", [function () {smalltalk.send(html, "_with_", ["Jtalk and "]);return function ($rec) {smalltalk.send($rec, "_class_", ["blue"]);return smalltalk.send($rec, "_with_", ["webOS"]);}(smalltalk.send(html, "_span", []));}]);
  1541. smalltalk.send(smalltalk.send(html, "_h2", []), "_with_", ["A really cool mobile OS based on Linux:"]);
  1542. smalltalk.send(smalltalk.send(html, "_ul", []), "_with_", [function () {smalltalk.send(smalltalk.send(html, "_li", []), "_with_", ["The primary language in webOS is Javascript"]);smalltalk.send(smalltalk.send(html, "_li", []), "_with_", ["The new UI framework for webOS 3.0 is called Enyo"]);smalltalk.send(smalltalk.send(html, "_li", []), "_with_", [unescape("Regular%20apps%20run%20in%20V8%20+%20Webkit")]);return smalltalk.send(smalltalk.send(html, "_li", []), "_with_", ["Background services run in Node.js"]);}]);
  1543. return self;
  1544. },
  1545. args: ["html"],
  1546. source: unescape('renderSlideOn%3A%20html%0A%09html%20h1%20with%3A%20%5B%0A%09%09html%20with%3A%20%27Jtalk%20and%20%27.%0A%09%09html%20span%20class%3A%20%27blue%27%3B%20with%3A%20%27webOS%27%5D.%0A%0A%09html%20h2%20with%3A%20%27A%20really%20cool%20mobile%20OS%20based%20on%20Linux%3A%27.%0A%0A%09html%20ul%20with%3A%20%5B%0A%09%09html%20li%20with%3A%20%27The%20primary%20language%20in%20webOS%20is%20Javascript%27.%0A%09%09html%20li%20with%3A%20%27The%20new%20UI%20framework%20for%20webOS%203.0%20is%20called%20Enyo%27.%0A%09%09html%20li%20with%3A%20%27Regular%20apps%20run%20in%20V8%20+%20Webkit%27.%0A%09%09html%20li%20with%3A%20%27Background%20services%20run%20in%20Node.js%27%5D'),
  1547. messageSends: ["with:", "h1", "class:", "span", "h2", "ul", "li"],
  1548. referencedClasses: []
  1549. }),
  1550. smalltalk.JtalkAndWebOS);
  1551. smalltalk.addClass('JtalkAndEnyo', smalltalk.Slide, [], 'Presentation');
  1552. smalltalk.addMethod(
  1553. unescape('_id'),
  1554. smalltalk.method({
  1555. selector: unescape('id'),
  1556. category: 'not yet classified',
  1557. fn: function () {
  1558. var self = this;
  1559. return "JtalkAndEnyo";
  1560. return self;
  1561. },
  1562. args: [],
  1563. source: unescape('id%0A%09%5E%27JtalkAndEnyo%27'),
  1564. messageSends: [],
  1565. referencedClasses: []
  1566. }),
  1567. smalltalk.JtalkAndEnyo);
  1568. smalltalk.addMethod(
  1569. unescape('_backgroundColor'),
  1570. smalltalk.method({
  1571. selector: unescape('backgroundColor'),
  1572. category: 'not yet classified',
  1573. fn: function () {
  1574. var self = this;
  1575. return unescape("%230A1");
  1576. return self;
  1577. },
  1578. args: [],
  1579. source: unescape('backgroundColor%0A%09%5E%27%230A1%27'),
  1580. messageSends: [],
  1581. referencedClasses: []
  1582. }),
  1583. smalltalk.JtalkAndEnyo);
  1584. smalltalk.addMethod(
  1585. unescape('_renderSlideOn_'),
  1586. smalltalk.method({
  1587. selector: unescape('renderSlideOn%3A'),
  1588. category: 'not yet classified',
  1589. fn: function (html) {
  1590. var self = this;
  1591. smalltalk.send(smalltalk.send(html, "_h1", []), "_with_", [function () {smalltalk.send(html, "_with_", ["Jtalk and "]);return function ($rec) {smalltalk.send($rec, "_class_", ["blue"]);return smalltalk.send($rec, "_with_", ["Enyo"]);}(smalltalk.send(html, "_span", []));}]);
  1592. return self;
  1593. },
  1594. args: ["html"],
  1595. source: unescape('renderSlideOn%3A%20html%0A%09html%20h1%20with%3A%20%5B%0A%09%09html%20with%3A%20%27Jtalk%20and%20%27.%0A%09%09html%20span%20class%3A%20%27blue%27%3B%20with%3A%20%27Enyo%27%5D.'),
  1596. messageSends: ["with:", "h1", "class:", "span"],
  1597. referencedClasses: []
  1598. }),
  1599. smalltalk.JtalkAndEnyo);
  1600. smalltalk.addClass('PresentationNavigator', smalltalk.Widget, ['presentationBrush', 'currentPresentation', 'slideSelect'], 'Presentation');
  1601. smalltalk.addMethod(
  1602. unescape('_renderToolsOn_'),
  1603. smalltalk.method({
  1604. selector: unescape('renderToolsOn%3A'),
  1605. category: 'rendering',
  1606. fn: function (html) {
  1607. var self = this;
  1608. (function ($rec) {smalltalk.send($rec, "_with_", ["IDE"]);return smalltalk.send($rec, "_onClick_", [function () {return smalltalk.send(smalltalk.send(smalltalk.TabManager || TabManager, "_current", []), "_open", []);}]);}(smalltalk.send(html, "_a", [])));
  1609. (function ($rec) {smalltalk.send($rec, "_with_", ["Reload"]);return smalltalk.send($rec, "_onClick_", [function () {return smalltalk.send(self, "_reload", []);}]);}(smalltalk.send(html, "_a", [])));
  1610. (function ($rec) {smalltalk.send($rec, "_with_", [unescape("%u2190")]);return smalltalk.send($rec, "_onClick_", [function () {return smalltalk.send(self, "_previousSlide", []);}]);}(smalltalk.send(html, "_a", [])));
  1611. (function ($rec) {smalltalk.send($rec, "_with_", [unescape("%u2192")]);return smalltalk.send($rec, "_onClick_", [function () {return smalltalk.send(self, "_nextSlide", []);}]);}(smalltalk.send(html, "_a", [])));
  1612. return self;
  1613. },
  1614. args: ["html"],
  1615. source: unescape('renderToolsOn%3A%20html%0A%09html%20a%20%0A%09%09with%3A%20%27IDE%27%3B%0A%09%09onClick%3A%20%5BTabManager%20current%20open%5D.%0A%09html%20a%0A%09%09with%3A%20%27Reload%27%3B%0A%09%09onClick%3A%20%5Bself%20reload%5D.%0A%09html%20a%0A%09%09with%3A%20%27%u2190%27%3B%0A%09%09onClick%3A%20%5Bself%20previousSlide%5D.%0A%09html%20a%0A%09%09with%3A%20%27%u2192%27%3B%0A%09%09onClick%3A%20%5Bself%20nextSlide%5D.'),
  1616. messageSends: ["with:", "onClick:", "open", "current", "a", "reload", "previousSlide", "nextSlide"],
  1617. referencedClasses: [smalltalk.TabManager]
  1618. }),
  1619. smalltalk.PresentationNavigator);
  1620. smalltalk.addMethod(
  1621. unescape('_setKeybindings'),
  1622. smalltalk.method({
  1623. selector: unescape('setKeybindings'),
  1624. category: 'keybindings',
  1625. fn: function () {
  1626. var self = this;
  1627. smalltalk.send(smalltalk.send(typeof window == "undefined" ? nil : window, "_jQuery_", [typeof document == "undefined" ? nil : document]), "_keyup_", [function (e) {var node = nil;node = smalltalk.send(smalltalk.send(smalltalk.send(e, "_target", []), "_nodeName", []), "_asLowercase", []);return ($receiver = smalltalk.send(smalltalk.send(node, "__eq", ["textarea"]), "_or_", [function () {return smalltalk.send(node, "__eq", ["input"]);}])).klass === smalltalk.Boolean ? !$receiver ? function () {($receiver = smalltalk.send(smalltalk.send(e, "_keyCode", []), "__eq", [39])).klass === smalltalk.Boolean ? $receiver ? function () {return smalltalk.send(self, "_nextSlide", []);}() : nil : smalltalk.send($receiver, "_ifTrue_", [function () {return smalltalk.send(self, "_nextSlide", []);}]);return ($receiver = smalltalk.send(smalltalk.send(e, "_keyCode", []), "__eq", [37])).klass === smalltalk.Boolean ? $receiver ? function () {return smalltalk.send(self, "_previousSlide", []);}() : nil : smalltalk.send($receiver, "_ifTrue_", [function () {return smalltalk.send(self, "_previousSlide", []);}]);}() : nil : smalltalk.send($receiver, "_ifFalse_", [function () {($receiver = smalltalk.send(smalltalk.send(e, "_keyCode", []), "__eq", [39])).klass === smalltalk.Boolean ? $receiver ? function () {return smalltalk.send(self, "_nextSlide", []);}() : nil : smalltalk.send($receiver, "_ifTrue_", [function () {return smalltalk.send(self, "_nextSlide", []);}]);return ($receiver = smalltalk.send(smalltalk.send(e, "_keyCode", []), "__eq", [37])).klass === smalltalk.Boolean ? $receiver ? function () {return smalltalk.send(self, "_previousSlide", []);}() : nil : smalltalk.send($receiver, "_ifTrue_", [function () {return smalltalk.send(self, "_previousSlide", []);}]);}]);}]);
  1628. return self;
  1629. },
  1630. args: [],
  1631. source: unescape('setKeybindings%0A%09%28window%20jQuery%3A%20document%29%20keyup%3A%20%5B%3Ae%20%7C%7C%20node%20%7C%0A%09%09node%20%3A%3D%20e%20target%20nodeName%20asLowercase.%0A%09%09%28node%20%3D%20%27textarea%27%20or%3A%20%5Bnode%20%3D%20%27input%27%5D%29%20ifFalse%3A%20%5B%0A%09%09%09e%20keyCode%20%3D%2039%20ifTrue%3A%20%5Bself%20nextSlide%5D.%0A%09%09%09e%20keyCode%20%3D%2037%20ifTrue%3A%20%5Bself%20previousSlide%5D%5D%5D'),
  1632. messageSends: ["keyup:", "jQuery:", "asLowercase", "nodeName", "target", "ifFalse:", "or:", unescape("%3D"), "ifTrue:", "keyCode", "nextSlide", "previousSlide"],
  1633. referencedClasses: []
  1634. }),
  1635. smalltalk.PresentationNavigator);
  1636. smalltalk.addMethod(
  1637. unescape('_checkHash'),
  1638. smalltalk.method({
  1639. selector: unescape('checkHash'),
  1640. category: 'hash',
  1641. fn: function (){
  1642. var self=this;
  1643. try{var hash=nil;
  1644. var presentation=nil;
  1645. hash=smalltalk.send(smalltalk.send(smalltalk.send(smalltalk.send((typeof document == 'undefined' ? nil : document), "_location", []), "_hash", []), "_replace_with_", [unescape("%5E%23"), ""]), "_tokenize_", [unescape("-")]);
  1646. presentation=smalltalk.send(smalltalk.send((smalltalk.Presentation || Presentation), "_concretePresentations", []), "_detect_ifNone_", [(function(aPresentationClass){return smalltalk.send(smalltalk.send(aPresentationClass, "_name", []), "__eq_eq", [smalltalk.send(hash, "_first", [])]);}), (function(){return (function(){throw({name: 'stReturn', selector: '_checkHash', fn: function(){return self}})})();})]);
  1647. ((($receiver = smalltalk.send(presentation, "__eq_eq", [smalltalk.send(smalltalk.send(self, "_currentPresentation", []), "_class", [])])).klass === smalltalk.Boolean) ? (! $receiver ? (function(){smalltalk.send(self, "_selectPresentationNamed_", [presentation]);return smalltalk.send(self, "_selectSlideAt_", [smalltalk.send(hash, "_last", [])]);})() : nil) : smalltalk.send($receiver, "_ifFalse_", [(function(){smalltalk.send(self, "_selectPresentationNamed_", [presentation]);return smalltalk.send(self, "_selectSlideAt_", [smalltalk.send(hash, "_last", [])]);})]));
  1648. return self;
  1649. } catch(e) {if(e.name === 'stReturn' && e.selector === '_checkHash'){return e.fn()} throw(e)}},
  1650. args: [],
  1651. source: unescape('checkHash%0A%09%7C%20hash%20presentation%20%7C%0A%09hash%20%3A%3D%20%28document%20location%20hash%20%20replace%3A%20%27%5E%23%27%20with%3A%20%27%27%29%20tokenize%3A%20%27-%27.%20%0A%09presentation%20%3A%3D%20Presentation%20concretePresentations%20%0A%09%09%09%09detect%3A%20%5B%3AaPresentationClass%20%7C%20aPresentationClass%20name%20%3D%3D%20hash%20first%5D%0A%09%09%09%09ifNone%3A%20%5B%5E%20self%5D.%0A%09presentation%20%3D%3D%20self%20currentPresentation%20class%20ifFalse%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%09self%20selectPresentationNamed%3A%20presentation.%0A%20%20%20%20%20%20%20%20%20%20%09self%20selectSlideAt%3A%20hash%20last%0A%20%20%20%20%20%20%20%20%5D.'),
  1652. messageSends: ["tokenize:", "replace:with:", "hash", "location", "detect:ifNone:", "concretePresentations", unescape("%3D%3D"), "name", "first", "ifFalse:", "class", "currentPresentation", "selectPresentationNamed:", "selectSlideAt:", "last"],
  1653. referencedClasses: [smalltalk.Presentation]
  1654. }),
  1655. smalltalk.PresentationNavigator);
  1656. smalltalk.addMethod(
  1657. unescape('_checkHashChange'),
  1658. smalltalk.method({
  1659. selector: unescape('checkHashChange'),
  1660. category: 'hash',
  1661. fn: function () {
  1662. var self = this;
  1663. smalltalk.send(smalltalk.send(typeof window == "undefined" ? nil : window, "_jQuery_", [typeof window == "undefined" ? nil : window]), "_bind_do_", ["hashchange", function () {return smalltalk.send(self, "_checkHash", []);}]);
  1664. return self;
  1665. },
  1666. args: [],
  1667. source: unescape('checkHashChange%0A%09%28window%20jQuery%3A%20window%29%20bind%3A%20%27hashchange%27%20do%3A%20%5Bself%20checkHash%5D'),
  1668. messageSends: ["bind:do:", "jQuery:", "checkHash"],
  1669. referencedClasses: []
  1670. }),
  1671. smalltalk.PresentationNavigator);
  1672. smalltalk.addMethod(
  1673. unescape('_renderPresentationSelectOn_'),
  1674. smalltalk.method({
  1675. selector: unescape('renderPresentationSelectOn%3A'),
  1676. category: 'rendering',
  1677. fn: function (html) {
  1678. var self = this;
  1679. var presentationSelect = nil;
  1680. presentationSelect = smalltalk.send(html, "_select", []);
  1681. (function ($rec) {smalltalk.send($rec, "_onChange_", [function () {return smalltalk.send(self, "_selectPresentationNamed_", [smalltalk.send(smalltalk.send(presentationSelect, "_asJQuery", []), "_val", [])]);}]);return smalltalk.send($rec, "_with_", [function () {return smalltalk.send(smalltalk.Presentation || Presentation, "_concretePresentationsDo_", [function (aPresentationClass) {return function ($rec) {smalltalk.send($rec, "_value_", [smalltalk.send(aPresentationClass, "_name", [])]);return smalltalk.send($rec, "_with_", [smalltalk.send(aPresentationClass, "_title", [])]);}(smalltalk.send(html, "_option", []));}]);}]);}(presentationSelect));
  1682. return self;
  1683. },
  1684. args: ["html"],
  1685. source: unescape('renderPresentationSelectOn%3A%20html%0A%09%7CpresentationSelect%7C%0A%09presentationSelect%20%3A%3D%20html%20select.%0A%09presentationSelect%0A%09%09onChange%3A%20%5Bself%20%20selectPresentationNamed%3A%20%20presentationSelect%20asJQuery%20val%5D%3B%0A%09%09with%3A%20%5B%09Presentation%20concretePresentationsDo%3A%20%5B%3AaPresentationClass%20%7C%20%20%20%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%09%09%09%09%09%09%09html%20option%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%09%09%09%09%09%09%09%09value%3A%20aPresentationClass%20name%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%09%09%09%09%09%09%09%09with%3A%20aPresentationClass%20title%20%5D%20%5D.'),
  1686. messageSends: ["select", "onChange:", "selectPresentationNamed:", "val", "asJQuery", "with:", "concretePresentationsDo:", "value:", "name", "title", "option"],
  1687. referencedClasses: [smalltalk.Presentation]
  1688. }),
  1689. smalltalk.PresentationNavigator);
  1690. smalltalk.addMethod(
  1691. unescape('_open'),
  1692. smalltalk.method({
  1693. selector: unescape('open'),
  1694. category: 'rendering',
  1695. fn: function () {
  1696. var self = this;
  1697. smalltalk.send(smalltalk.send(typeof window == "undefined" ? nil : window, "_jQuery_", [typeof document == "undefined" ? nil : document]), "_ready_", [function () {return function ($rec) {smalltalk.send($rec, "_appendToJQuery_", [smalltalk.send("body", "_asJQuery", [])]);smalltalk.send($rec, "_setKeybindings", []);return smalltalk.send($rec, "_checkHashChange", []);}(self);}]);
  1698. return self;
  1699. },
  1700. args: [],
  1701. source: unescape('open%0A%09%28window%20jQuery%3A%20document%29%20%20ready%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%09self%20%0A%20%20%20%20%20%20%20%20%20%20%09%09appendToJQuery%3A%20%27body%27%20asJQuery%3B%0A%20%20%20%20%20%20%20%20%20%20%09%09setKeybindings%3B%0A%20%20%20%20%20%20%20%20%20%20%09%09checkHashChange.%0A%20%20%20%20%20%20%20%20%5D.'),
  1702. messageSends: ["ready:", "jQuery:", "appendToJQuery:", "asJQuery", "setKeybindings", "checkHashChange"],
  1703. referencedClasses: []
  1704. }),
  1705. smalltalk.PresentationNavigator);
  1706. smalltalk.addMethod(
  1707. unescape('_renderOn_'),
  1708. smalltalk.method({
  1709. selector: unescape('renderOn%3A'),
  1710. category: 'rendering',
  1711. fn: function (html){
  1712. var self=this;
  1713. (function($rec){smalltalk.send($rec, "_type_", [unescape("text/css")]);return smalltalk.send($rec, "_with_", [smalltalk.send(self, "_style", [])]);})(smalltalk.send(html, "_style", []));
  1714. (function($rec){smalltalk.send($rec, "_id_", ["navigator"]);return smalltalk.send($rec, "_with_", [(function(){return (function($rec){smalltalk.send($rec, "_renderToolsOn_", [html]);smalltalk.send($rec, "_renderPresentationSelectOn_", [html]);return smalltalk.send($rec, "_renderSlideSelectOn_", [html]);})(self);})]);})(smalltalk.send(html, "_div", []));
  1715. self['@presentationBrush']=(function($rec){smalltalk.send($rec, "_id_", ["presentation"]);return smalltalk.send($rec, "_yourself", []);})(smalltalk.send(html, "_div", []));
  1716. smalltalk.send(self, "_checkHash", []);
  1717. smalltalk.send(self, "_renderCurrentPresentation", []);
  1718. return self;},
  1719. args: ["html"],
  1720. source: unescape('renderOn%3A%20html%0A%09html%20style%0A%09%09type%3A%20%27text/css%27%3B%0A%09%09with%3A%20self%20style.%0A%09html%20div%0A%09%09id%3A%20%27navigator%27%3B%0A%09%09with%3A%20%5B%09self%0A%09%09%09%09%09renderToolsOn%3A%20html%3B%0A%09%09%09%09%09renderPresentationSelectOn%3A%20html%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%09%09%09renderSlideSelectOn%3A%20html%5D.%0A%0A%09presentationBrush%20%3A%3D%20html%20div%20%0A%09%09%09%09%09%09%09id%3A%20%27presentation%27%3B%0A%09%09%09%09%09%09%09yourself.%0A%0A%09self%20checkHash.%0A%09self%20renderCurrentPresentation.'),
  1721. messageSends: ["type:", "with:", "style", "id:", "renderToolsOn:", "renderPresentationSelectOn:", "renderSlideSelectOn:", "div", "yourself", "checkHash", "renderCurrentPresentation"],
  1722. referencedClasses: []
  1723. }),
  1724. smalltalk.PresentationNavigator);
  1725. smalltalk.addMethod(
  1726. unescape('_selectPresentation_'),
  1727. smalltalk.method({
  1728. selector: unescape('selectPresentation%3A'),
  1729. category: 'callbacks',
  1730. fn: function (aPresentationClass) {
  1731. var self = this;
  1732. smalltalk.send(self, "_currentPresentation_", [smalltalk.send(aPresentationClass, "_new", [])]);
  1733. smalltalk.send(self, "_renderCurrentPresentation", []);
  1734. return self;
  1735. },
  1736. args: ["aPresentationClass"],
  1737. source: unescape('selectPresentation%3A%20aPresentationClass%0A%09self%20currentPresentation%3A%20aPresentationClass%20new.%0A%09self%20renderCurrentPresentation.'),
  1738. messageSends: ["currentPresentation:", "new", "renderCurrentPresentation"],
  1739. referencedClasses: []
  1740. }),
  1741. smalltalk.PresentationNavigator);
  1742. smalltalk.addMethod(
  1743. unescape('_currentPresentation_'),
  1744. smalltalk.method({
  1745. selector: unescape('currentPresentation%3A'),
  1746. category: 'accessing',
  1747. fn: function (aPresentation) {
  1748. var self = this;
  1749. self['@currentPresentation'] = aPresentation;
  1750. return self;
  1751. },
  1752. args: ["aPresentation"],
  1753. source: unescape('currentPresentation%3A%20aPresentation%0A%09currentPresentation%20%3A%3D%20aPresentation.'),
  1754. messageSends: [],
  1755. referencedClasses: []
  1756. }),
  1757. smalltalk.PresentationNavigator);
  1758. smalltalk.addMethod(
  1759. unescape('_currentPresentation'),
  1760. smalltalk.method({
  1761. selector: unescape('currentPresentation'),
  1762. category: 'accessing',
  1763. fn: function () {
  1764. var self = this;
  1765. return ($receiver = self['@currentPresentation']) == nil ||
  1766. $receiver == undefined ? function () {return self['@currentPresentation'] = smalltalk.send(smalltalk.send(smalltalk.send(smalltalk.Presentation || Presentation, "_concretePresentations", []), "_first", []), "_new", []);}() : $receiver;
  1767. return self;
  1768. },
  1769. args: [],
  1770. source: unescape('currentPresentation%0A%09%5E%20%20currentPresentation%20ifNil%3A%20%5BcurrentPresentation%20%3A%3D%20Presentation%20concretePresentations%20first%20new%5D.'),
  1771. messageSends: ["ifNil:", "new", "first", "concretePresentations"],
  1772. referencedClasses: [smalltalk.Presentation]
  1773. }),
  1774. smalltalk.PresentationNavigator);
  1775. smalltalk.addMethod(
  1776. unescape('_selectPresentationNamed_'),
  1777. smalltalk.method({
  1778. selector: unescape('selectPresentationNamed%3A'),
  1779. category: 'callbacks',
  1780. fn: function (aString){
  1781. var self=this;
  1782. var presentationClass=nil;
  1783. presentationClass=smalltalk.send(smalltalk.send((smalltalk.Smalltalk || Smalltalk), "_current", []), "_at_", [aString]);
  1784. (($receiver = presentationClass) != nil && $receiver != undefined) ? (function(){return smalltalk.send(self, "_selectPresentation_", [presentationClass]);})() : nil;
  1785. return self;},
  1786. args: ["aString"],
  1787. source: unescape('selectPresentationNamed%3A%20aString%0A%09%7CpresentationClass%7C%0A%09presentationClass%20%3A%3D%20%20%28Smalltalk%20current%20at%3A%20aString%29.%0A%09presentationClass%20ifNotNil%3A%20%5B%20self%20selectPresentation%3A%20presentationClass%20%5D.'),
  1788. messageSends: ["at:", "current", "ifNotNil:", "selectPresentation:"],
  1789. referencedClasses: [smalltalk.Smalltalk]
  1790. }),
  1791. smalltalk.PresentationNavigator);
  1792. smalltalk.addMethod(
  1793. unescape('_style'),
  1794. smalltalk.method({
  1795. selector: unescape('style'),
  1796. category: 'accessing',
  1797. fn: function () {
  1798. var self = this;
  1799. return unescape("%0A%23navigator%20%7B%0A%20%20%20%20z-index%3A%201%3B%0A%20%20%20%20position%3A%20fixed%3B%0A%20%20%20%20top%3A%200%3B%0A%20%20%20%20left%3A%2050%25%3B%0A%20%20%20%20margin-left%3A%20-150px%3B%0A%20%20%20%20padding%3A%205px%3B%0A%20%20%20%20border-radius%3A%205px%3B%0A%20%20%20%20-moz-border-radius%3A%205px%3B%0A%20%20%20%20-webkit-border-radius%3A%205px%3B%0A%20%20%20%20background%3A%20%23333%3B%0A%20%20%20%20opacity%3A%200.3%3B%0A%20%20%20%20color%3A%20%23eee%3B%0A%7D%0A%0A%23navigator%20a%20%7B%0A%20%20%20%20font-weight%3A%20bold%3B%0A%20%20%20%20color%3A%20%23eee%3B%0A%20%20%20%20text-decoration%3A%20none%3B%0A%20%20%20%20cursor%3A%20pointer%3B%0A%20%20%20%20padding%3A%200%202px%3B%0A%20%20%20%20font-size%3A%2014px%3B%0A%7D%0A%0A%23navigator%3Ahover%20%7B%0A%20%20%20%20opacity%3A%200.8%3B%0A%7D%0A");
  1800. return self;
  1801. },
  1802. args: [],
  1803. source: unescape('style%0A%09%5E%20%27%0A%23navigator%20%7B%0A%20%20%20%20z-index%3A%201%3B%0A%20%20%20%20position%3A%20fixed%3B%0A%20%20%20%20top%3A%200%3B%0A%20%20%20%20left%3A%2050%25%3B%0A%20%20%20%20margin-left%3A%20-150px%3B%0A%20%20%20%20padding%3A%205px%3B%0A%20%20%20%20border-radius%3A%205px%3B%0A%20%20%20%20-moz-border-radius%3A%205px%3B%0A%20%20%20%20-webkit-border-radius%3A%205px%3B%0A%20%20%20%20background%3A%20%23333%3B%0A%20%20%20%20opacity%3A%200.3%3B%0A%20%20%20%20color%3A%20%23eee%3B%0A%7D%0A%0A%23navigator%20a%20%7B%0A%20%20%20%20font-weight%3A%20bold%3B%0A%20%20%20%20color%3A%20%23eee%3B%0A%20%20%20%20text-decoration%3A%20none%3B%0A%20%20%20%20cursor%3A%20pointer%3B%0A%20%20%20%20padding%3A%200%202px%3B%0A%20%20%20%20font-size%3A%2014px%3B%0A%7D%0A%0A%23navigator%3Ahover%20%7B%0A%20%20%20%20opacity%3A%200.8%3B%0A%7D%0A%27'),
  1804. messageSends: [],
  1805. referencedClasses: []
  1806. }),
  1807. smalltalk.PresentationNavigator);
  1808. smalltalk.addMethod(
  1809. unescape('_renderCurrentPresentation'),
  1810. smalltalk.method({
  1811. selector: unescape('renderCurrentPresentation'),
  1812. category: 'rendering',
  1813. fn: function (){
  1814. var self=this;
  1815. smalltalk.send(self['@presentationBrush'], "_contents_", [(function(html){return smalltalk.send(smalltalk.send(self, "_currentPresentation", []), "_renderOn_", [html]);})]);
  1816. smalltalk.send(self, "_updateSlideSelect", []);
  1817. return self;},
  1818. args: [],
  1819. source: unescape('renderCurrentPresentation%0A%09presentationBrush%20contents%3A%20%5B%3Ahtml%20%7C%0A%20%20%20%20%20%20%20%20%09self%20currentPresentation%20renderOn%3A%20html.%0A%20%20%20%20%20%20%20%20%5D.%0A%09self%20updateSlideSelect.%0A'),
  1820. messageSends: ["contents:", "renderOn:", "currentPresentation", "updateSlideSelect"],
  1821. referencedClasses: []
  1822. }),
  1823. smalltalk.PresentationNavigator);
  1824. smalltalk.addMethod(
  1825. unescape('_previousSlide'),
  1826. smalltalk.method({
  1827. selector: unescape('previousSlide'),
  1828. category: 'callbacks',
  1829. fn: function (){
  1830. var self=this;
  1831. smalltalk.send(smalltalk.send(self, "_currentPresentation", []), "_previousSlide", []);
  1832. smalltalk.send(self, "_updateHash", []);
  1833. return self;},
  1834. args: [],
  1835. source: unescape('previousSlide%0A%09self%20currentPresentation%20previousSlide.%0A%09self%20updateHash.'),
  1836. messageSends: ["previousSlide", "currentPresentation", "updateHash"],
  1837. referencedClasses: []
  1838. }),
  1839. smalltalk.PresentationNavigator);
  1840. smalltalk.addMethod(
  1841. unescape('_nextSlide'),
  1842. smalltalk.method({
  1843. selector: unescape('nextSlide'),
  1844. category: 'callbacks',
  1845. fn: function (){
  1846. var self=this;
  1847. smalltalk.send(smalltalk.send(self, "_currentPresentation", []), "_nextSlide", []);
  1848. smalltalk.send(self, "_updateHash", []);
  1849. return self;},
  1850. args: [],
  1851. source: unescape('nextSlide%0A%09self%20currentPresentation%20nextSlide.%0A%09self%20updateHash.'),
  1852. messageSends: ["nextSlide", "currentPresentation", "updateHash"],
  1853. referencedClasses: []
  1854. }),
  1855. smalltalk.PresentationNavigator);
  1856. smalltalk.addMethod(
  1857. unescape('_reload'),
  1858. smalltalk.method({
  1859. selector: unescape('reload'),
  1860. category: 'callbacks',
  1861. fn: function () {
  1862. var self = this;
  1863. smalltalk.send(self, "_currentPresentation_", [smalltalk.send(smalltalk.send(smalltalk.send(self, "_currentPresentation", []), "_class", []), "_new", [])]);
  1864. smalltalk.send(self, "_renderCurrentPresentation", []);
  1865. return self;
  1866. },
  1867. args: [],
  1868. source: unescape('reload%0A%09self%20currentPresentation%3A%20self%20currentPresentation%20class%20new.%0A%09self%20renderCurrentPresentation.'),
  1869. messageSends: ["currentPresentation:", "new", "class", "currentPresentation", "renderCurrentPresentation"],
  1870. referencedClasses: []
  1871. }),
  1872. smalltalk.PresentationNavigator);
  1873. smalltalk.addMethod(
  1874. unescape('_renderSlideSelectOn_'),
  1875. smalltalk.method({
  1876. selector: unescape('renderSlideSelectOn%3A'),
  1877. category: 'rendering',
  1878. fn: function (html){
  1879. var self=this;
  1880. self['@slideSelect']=smalltalk.send(html, "_select", []);
  1881. smalltalk.send(self['@slideSelect'], "_onChange_", [(function(){return smalltalk.send(self, "_selectSlideAt_", [smalltalk.send(smalltalk.send(self['@slideSelect'], "_asJQuery", []), "_val", [])]);})]);
  1882. smalltalk.send(self, "_updateSlideSelect", []);
  1883. return self;},
  1884. args: ["html"],
  1885. source: unescape('renderSlideSelectOn%3A%20html%0A%09slideSelect%20%3A%3D%20html%20select.%0A%09slideSelect%20onChange%3A%20%5B%20self%20%20selectSlideAt%3A%20%20slideSelect%20asJQuery%20val%20%5D.%0A%09self%20updateSlideSelect.'),
  1886. messageSends: ["select", "onChange:", "selectSlideAt:", "val", "asJQuery", "updateSlideSelect"],
  1887. referencedClasses: []
  1888. }),
  1889. smalltalk.PresentationNavigator);
  1890. smalltalk.addMethod(
  1891. unescape('_selectSlideAt_'),
  1892. smalltalk.method({
  1893. selector: unescape('selectSlideAt%3A'),
  1894. category: 'callbacks',
  1895. fn: function (anInteger){
  1896. var self=this;
  1897. smalltalk.send(smalltalk.send(self, "_currentPresentation", []), "_moveAt_", [anInteger]);
  1898. smalltalk.send(self, "_updateHash", []);
  1899. return self;},
  1900. args: ["anInteger"],
  1901. source: unescape('selectSlideAt%3A%20anInteger%0A%09self%20currentPresentation%20moveAt%3A%20anInteger.%0A%09self%20updateHash.'),
  1902. messageSends: ["moveAt:", "currentPresentation", "updateHash"],
  1903. referencedClasses: []
  1904. }),
  1905. smalltalk.PresentationNavigator);
  1906. smalltalk.addMethod(
  1907. unescape('_updateSlideSelect'),
  1908. smalltalk.method({
  1909. selector: unescape('updateSlideSelect'),
  1910. category: 'rendering',
  1911. fn: function (){
  1912. var self=this;
  1913. smalltalk.send(self['@slideSelect'], "_contents_", [(function(html){var index=nil;
  1914. index=(0);return smalltalk.send(smalltalk.send(self, "_currentPresentation", []), "_slidesDo_", [(function(aSlide){index=((($receiver = index).klass === smalltalk.Number) ? $receiver +(1) : smalltalk.send($receiver, "__plus", [(1)]));return (function($rec){smalltalk.send($rec, "_value_", [index]);return smalltalk.send($rec, "_with_", [smalltalk.send(aSlide, "_title", [])]);})(smalltalk.send(html, "_option", []));})]);})]);
  1915. return self;},
  1916. args: [],
  1917. source: unescape('updateSlideSelect%0A%09slideSelect%20contents%3A%20%5B%3Ahtml%7C%20%7Cindex%7C%0A%09%09%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%09%09index%20%3A%3D%200.%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%09%09%20%20%20%20%20%20%20%09%09self%20currentPresentation%20slidesDo%3A%20%5B%20%3AaSlide%7C%20%20%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%09%09%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%09%09%09%09index%20%3A%3D%20index%20+%201.%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%09%09%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%09%09%09%09html%20option%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%09%09%20%20%20%20%09%09%09%09%09value%3A%20index%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%09%09%09%09%09%09%09%09with%3A%20aSlide%20title%20%5D%20%5D.'),
  1918. messageSends: ["contents:", "slidesDo:", "currentPresentation", unescape("+"), "value:", "with:", "title", "option"],
  1919. referencedClasses: []
  1920. }),
  1921. smalltalk.PresentationNavigator);
  1922. smalltalk.addMethod(
  1923. unescape('_updateHash'),
  1924. smalltalk.method({
  1925. selector: unescape('updateHash'),
  1926. category: 'callbacks',
  1927. fn: function (){
  1928. var self=this;
  1929. smalltalk.send(smalltalk.send((typeof document == 'undefined' ? nil : document), "_location", []), "_hash_", [smalltalk.send(smalltalk.send(smalltalk.send(smalltalk.send(smalltalk.send(self, "_currentPresentation", []), "_class", []), "_name", []), "__comma", [unescape("-")]), "__comma", [smalltalk.send(smalltalk.send(self, "_currentPresentation", []), "_currentSlideIndex", [])])]);
  1930. return self;},
  1931. args: [],
  1932. source: unescape('updateHash%0A%09document%20location%20hash%3A%20self%20currentPresentation%20class%20name%2C%20%27-%27%2C%20self%20currentPresentation%20currentSlideIndex.'),
  1933. messageSends: ["hash:", "location", unescape("%2C"), "name", "class", "currentPresentation", "currentSlideIndex"],
  1934. referencedClasses: []
  1935. }),
  1936. smalltalk.PresentationNavigator);
  1937. smalltalk.addMethod(
  1938. unescape('_initialize'),
  1939. smalltalk.method({
  1940. selector: unescape('initialize'),
  1941. category: 'initialize',
  1942. fn: function () {
  1943. var self = this;
  1944. return smalltalk.send(self, "_open", []);
  1945. return self;
  1946. },
  1947. args: [],
  1948. source: unescape('initialize%0A%09%5E%20self%20open'),
  1949. messageSends: ["open"],
  1950. referencedClasses: []
  1951. }),
  1952. smalltalk.PresentationNavigator.klass);
  1953. smalltalk.addMethod(
  1954. unescape('_open'),
  1955. smalltalk.method({
  1956. selector: unescape('open'),
  1957. category: 'initialize',
  1958. fn: function () {
  1959. var self = this;
  1960. return smalltalk.send(smalltalk.send(self, "_new", []), "_open", []);
  1961. return self;
  1962. },
  1963. args: [],
  1964. source: unescape('open%0A%09%5E%20self%20new%20open'),
  1965. messageSends: ["open", "new"],
  1966. referencedClasses: []
  1967. }),
  1968. smalltalk.PresentationNavigator.klass);