2
0

Presentation.js 113 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022
  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. smalltalk.send(smalltalk.send(typeof document == "undefined" ? nil : document, "_location", []), "_hash_", [smalltalk.send(self, "_id", [])]);
  90. ($receiver = smalltalk.send(self, "_backgroundColor", [])) != nil &&
  91. $receiver != undefined ? function () {return smalltalk.send(smalltalk.send(typeof window == "undefined" ? nil : window, "_jQuery_", [unescape("%23slides")]), "_css_color_", ["background", smalltalk.send(self, "_backgroundColor", [])]);}() : nil;
  92. smalltalk.send(smalltalk.send(typeof window == "undefined" ? nil : window, "_jQuery_", [".slide"]), "_hide_options_duration_", [smalltalk.send(smalltalk.send(self, "_presentation", []), "_slideTransition", []), [], 300]);
  93. 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]);
  94. return self;
  95. },
  96. args: [],
  97. source: unescape('show%0A%09document%20location%20hash%3A%20self%20id.%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.'),
  98. messageSends: ["hash:", "location", "id", "ifNotNil:", "backgroundColor", "css:color:", "jQuery:", "hide:options:duration:", "slideTransition", "presentation", "show:options:duration:", unescape("%2C")],
  99. referencedClasses: []
  100. }),
  101. smalltalk.Slide);
  102. smalltalk.addMethod(
  103. unescape('_renderOn_'),
  104. smalltalk.method({
  105. selector: unescape('renderOn%3A'),
  106. category: 'rendering',
  107. fn: function (html) {
  108. var self = this;
  109. (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", [])));
  110. return self;
  111. },
  112. args: ["html"],
  113. 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'),
  114. messageSends: ["class:", "cssClass", "id:", "id", "with:", "renderSlideOn:", "renderMetaOn:", "div"],
  115. referencedClasses: []
  116. }),
  117. smalltalk.Slide);
  118. smalltalk.addMethod(
  119. unescape('_renderSlideOn_'),
  120. smalltalk.method({
  121. selector: unescape('renderSlideOn%3A'),
  122. category: 'rendering',
  123. fn: function (html) {
  124. var self = this;
  125. return self;
  126. },
  127. args: ["html"],
  128. source: unescape('renderSlideOn%3A%20html'),
  129. messageSends: [],
  130. referencedClasses: []
  131. }),
  132. smalltalk.Slide);
  133. smalltalk.addMethod(
  134. unescape('_renderMetaOn_'),
  135. smalltalk.method({
  136. selector: unescape('renderMetaOn%3A'),
  137. category: 'rendering',
  138. fn: function (html) {
  139. var self = this;
  140. (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", [])));
  141. return self;
  142. },
  143. args: ["html"],
  144. 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'),
  145. messageSends: ["id:", "with:", "class:", "title", "presentation", "p", "description", "author", "href:", unescape("%2C"), "email", "a", "url", "div"],
  146. referencedClasses: []
  147. }),
  148. smalltalk.Slide);
  149. smalltalk.addMethod(
  150. unescape('_on_'),
  151. smalltalk.method({
  152. selector: unescape('on%3A'),
  153. category: 'instance creation',
  154. fn: function (aPresentation) {
  155. var self = this;
  156. return function ($rec) {smalltalk.send($rec, "_presentation_", [aPresentation]);return smalltalk.send($rec, "_yourself", []);}(smalltalk.send(self, "_new", []));
  157. return self;
  158. },
  159. args: ["aPresentation"],
  160. source: unescape('on%3A%20aPresentation%0A%09%5Eself%20new%0A%09%09presentation%3A%20aPresentation%3B%0A%09%09yourself'),
  161. messageSends: ["presentation:", "yourself", "new"],
  162. referencedClasses: []
  163. }),
  164. smalltalk.Slide.klass);
  165. smalltalk.addClass('Presentation', smalltalk.Widget, ['currentSlide', 'slides'], 'Presentation');
  166. smalltalk.addMethod(
  167. unescape('_title'),
  168. smalltalk.method({
  169. selector: unescape('title'),
  170. category: 'accessing',
  171. fn: function () {
  172. var self = this;
  173. return smalltalk.send(smalltalk.send(self, "_class", []), "_title", []);
  174. return self;
  175. },
  176. args: [],
  177. source: unescape('title%0A%09%5E%20self%20class%20title.'),
  178. messageSends: ["title", "class"],
  179. referencedClasses: []
  180. }),
  181. smalltalk.Presentation);
  182. smalltalk.addMethod(
  183. unescape('_author'),
  184. smalltalk.method({
  185. selector: unescape('author'),
  186. category: 'accessing',
  187. fn: function () {
  188. var self = this;
  189. return "John Smith";
  190. return self;
  191. },
  192. args: [],
  193. source: unescape('author%0A%09%5E%27John%20Smith%27'),
  194. messageSends: [],
  195. referencedClasses: []
  196. }),
  197. smalltalk.Presentation);
  198. smalltalk.addMethod(
  199. unescape('_url'),
  200. smalltalk.method({
  201. selector: unescape('url'),
  202. category: 'accessing',
  203. fn: function () {
  204. var self = this;
  205. return unescape("http%3A//jtalk-project.org");
  206. return self;
  207. },
  208. args: [],
  209. source: unescape('url%0A%09%5E%27http%3A//jtalk-project.org%27'),
  210. messageSends: [],
  211. referencedClasses: []
  212. }),
  213. smalltalk.Presentation);
  214. smalltalk.addMethod(
  215. unescape('_description'),
  216. smalltalk.method({
  217. selector: unescape('description'),
  218. category: 'accessing',
  219. fn: function () {
  220. var self = this;
  221. return "A presentation written in Jtalk";
  222. return self;
  223. },
  224. args: [],
  225. source: unescape('description%0A%09%5E%27A%20presentation%20written%20in%20Jtalk%27'),
  226. messageSends: [],
  227. referencedClasses: []
  228. }),
  229. smalltalk.Presentation);
  230. smalltalk.addMethod(
  231. unescape('_email'),
  232. smalltalk.method({
  233. selector: unescape('email'),
  234. category: 'accessing',
  235. fn: function () {
  236. var self = this;
  237. return unescape("john@smith.com");
  238. return self;
  239. },
  240. args: [],
  241. source: unescape('email%0A%09%5E%27john@smith.com%27'),
  242. messageSends: [],
  243. referencedClasses: []
  244. }),
  245. smalltalk.Presentation);
  246. smalltalk.addMethod(
  247. unescape('_slides'),
  248. smalltalk.method({
  249. selector: unescape('slides'),
  250. category: 'accessing',
  251. fn: function () {
  252. var self = this;
  253. ($receiver = self['@slides']) == nil || $receiver == undefined ? function () {return smalltalk.send(self, "_initSlides", []);}() : $receiver;
  254. return self['@slides'];
  255. return self;
  256. },
  257. args: [],
  258. source: unescape('slides%0A%09slides%20ifNil%3A%20%5Bself%20initSlides%5D.%0A%09%5Eslides'),
  259. messageSends: ["ifNil:", "initSlides"],
  260. referencedClasses: []
  261. }),
  262. smalltalk.Presentation);
  263. smalltalk.addMethod(
  264. unescape('_slideClasses'),
  265. smalltalk.method({
  266. selector: unescape('slideClasses'),
  267. category: 'accessing',
  268. fn: function () {
  269. var self = this;
  270. return smalltalk.send(self, "_subclassResponsibility", []);
  271. return self;
  272. },
  273. args: [],
  274. source: unescape('slideClasses%0A%09%5Eself%20subclassResponsibility'),
  275. messageSends: ["subclassResponsibility"],
  276. referencedClasses: []
  277. }),
  278. smalltalk.Presentation);
  279. smalltalk.addMethod(
  280. unescape('_currentSlide'),
  281. smalltalk.method({
  282. selector: unescape('currentSlide'),
  283. category: 'accessing',
  284. fn: function () {
  285. var self = this;
  286. return self['@currentSlide'];
  287. return self;
  288. },
  289. args: [],
  290. source: unescape('currentSlide%0A%09%5EcurrentSlide'),
  291. messageSends: [],
  292. referencedClasses: []
  293. }),
  294. smalltalk.Presentation);
  295. smalltalk.addMethod(
  296. unescape('_currentSlide_'),
  297. smalltalk.method({
  298. selector: unescape('currentSlide%3A'),
  299. category: 'accessing',
  300. fn: function (aSlide) {
  301. var self = this;
  302. self['@currentSlide'] = aSlide;
  303. return self;
  304. },
  305. args: ["aSlide"],
  306. source: unescape('currentSlide%3A%20aSlide%0A%09currentSlide%20%3A%3D%20aSlide'),
  307. messageSends: [],
  308. referencedClasses: []
  309. }),
  310. smalltalk.Presentation);
  311. smalltalk.addMethod(
  312. unescape('_slideTransition'),
  313. smalltalk.method({
  314. selector: unescape('slideTransition'),
  315. category: 'accessing',
  316. fn: function () {
  317. var self = this;
  318. return "fade";
  319. return self;
  320. },
  321. args: [],
  322. source: unescape('slideTransition%0A%09%5E%27fade%27'),
  323. messageSends: [],
  324. referencedClasses: []
  325. }),
  326. smalltalk.Presentation);
  327. smalltalk.addMethod(
  328. unescape('_style'),
  329. smalltalk.method({
  330. selector: unescape('style'),
  331. category: 'accessing',
  332. fn: function () {
  333. var self = this;
  334. return "";
  335. return self;
  336. },
  337. args: [],
  338. source: unescape('style%0A%09%22Should%20return%20a%20CSS%20style%22%0A%09%5E%20%27%27'),
  339. messageSends: [],
  340. referencedClasses: []
  341. }),
  342. smalltalk.Presentation);
  343. smalltalk.addMethod(
  344. unescape('_nextSlide'),
  345. smalltalk.method({
  346. selector: unescape('nextSlide'),
  347. category: 'actions',
  348. fn: function () {
  349. var self = this;
  350. var next = nil;
  351. ($receiver = smalltalk.send(self, "_currentSlide", [])) != nil &&
  352. $receiver != undefined ? function () {next = smalltalk.send(smalltalk.send(self, "_slides", []), "_at_ifAbsent_", [($receiver = smalltalk.send(smalltalk.send(self, "_slides", []), "_indexOf_", [smalltalk.send(self, "_currentSlide", [])])).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;
  353. return self;
  354. },
  355. args: [],
  356. 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%20slides%20indexOf%3A%20self%20currentSlide%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'),
  357. messageSends: ["ifNotNil:", "currentSlide", "at:ifAbsent:", "slides", unescape("+"), "indexOf:", "show"],
  358. referencedClasses: []
  359. }),
  360. smalltalk.Presentation);
  361. smalltalk.addMethod(
  362. unescape('_showCurrentSlide'),
  363. smalltalk.method({
  364. selector: unescape('showCurrentSlide'),
  365. category: 'actions',
  366. fn: function () {
  367. var self = this;
  368. ($receiver = smalltalk.send(self, "_currentSlide", [])) != nil &&
  369. $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;
  370. return self;
  371. },
  372. args: [],
  373. 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'),
  374. messageSends: ["ifNotNil:", "currentSlide", "hide", "asJQuery", "show", unescape("%2C"), "id", "text:", "title"],
  375. referencedClasses: []
  376. }),
  377. smalltalk.Presentation);
  378. smalltalk.addMethod(
  379. unescape('_previousSlide'),
  380. smalltalk.method({
  381. selector: unescape('previousSlide'),
  382. category: 'actions',
  383. fn: function () {
  384. var self = this;
  385. var next = nil;
  386. ($receiver = smalltalk.send(self, "_currentSlide", [])) != nil &&
  387. $receiver != undefined ? function () {next = smalltalk.send(smalltalk.send(self, "_slides", []), "_at_ifAbsent_", [($receiver = smalltalk.send(smalltalk.send(self, "_slides", []), "_indexOf_", [smalltalk.send(self, "_currentSlide", [])])).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;
  388. return self;
  389. },
  390. args: [],
  391. 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%20slides%20indexOf%3A%20self%20currentSlide%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'),
  392. messageSends: ["ifNotNil:", "currentSlide", "at:ifAbsent:", "slides", unescape("-"), "indexOf:", "show"],
  393. referencedClasses: []
  394. }),
  395. smalltalk.Presentation);
  396. smalltalk.addMethod(
  397. unescape('_checkHash'),
  398. smalltalk.method({
  399. selector: unescape('checkHash'),
  400. category: 'actions',
  401. fn: function () {
  402. var self = this;
  403. var hash = nil;
  404. var slide = nil;
  405. hash = smalltalk.send(smalltalk.send(smalltalk.send(typeof document == "undefined" ? nil : document, "_location", []), "_hash", []), "_replace_with_", [unescape("%5E%23"), ""]);
  406. slide = smalltalk.send(smalltalk.send(self, "_slides", []), "_detect_ifNone_", [function (each) {return smalltalk.send(smalltalk.send(each, "_id", []), "__eq", [hash]);}, function () {return nil;}]);
  407. ($receiver = slide) != nil && $receiver != undefined ? function () {return ($receiver = smalltalk.send(smalltalk.send(self, "_currentSlide", []), "__eq", [slide])).klass === smalltalk.Boolean ? !$receiver ? function () {smalltalk.send(self, "_currentSlide_", [slide]);return smalltalk.send(slide, "_show", []);}() : nil : smalltalk.send($receiver, "_ifFalse_", [function () {smalltalk.send(self, "_currentSlide_", [slide]);return smalltalk.send(slide, "_show", []);}]);}() : nil;
  408. return self;
  409. },
  410. args: [],
  411. source: unescape('checkHash%0A%09%7C%20hash%20slide%20%7C%0A%09hash%20%3A%3D%20document%20location%20hash%20%20replace%3A%20%27%5E%23%27%20with%3A%20%27%27.%0A%09slide%20%3A%3D%20self%20slides%20detect%3A%20%20%5B%3Aeach%20%7C%20each%20id%20%3D%20hash%5D%20ifNone%3A%20%5Bnil%5D.%0A%09slide%20ifNotNil%3A%20%5B%0A%09%09self%20currentSlide%20%3D%20slide%20ifFalse%3A%20%5B%0A%09%09%09self%20currentSlide%3A%20slide.%0A%09%09%09slide%20show%5D%5D'),
  412. messageSends: ["replace:with:", "hash", "location", "detect:ifNone:", "slides", unescape("%3D"), "id", "ifNotNil:", "ifFalse:", "currentSlide", "currentSlide:", "show"],
  413. referencedClasses: []
  414. }),
  415. smalltalk.Presentation);
  416. smalltalk.addMethod(
  417. unescape('_initSlides'),
  418. smalltalk.method({
  419. selector: unescape('initSlides'),
  420. category: 'initialization',
  421. fn: function () {
  422. var self = this;
  423. self['@slides'] = smalltalk.send(smalltalk.send(self, "_slideClasses", []), "_collect_", [function (each) {return smalltalk.send(each, "_on_", [self]);}]);
  424. return self;
  425. },
  426. args: [],
  427. source: unescape('initSlides%0A%09slides%20%3A%3D%20self%20slideClasses%20collect%3A%20%5B%3Aeach%20%7C%20each%20on%3A%20self%5D'),
  428. messageSends: ["collect:", "slideClasses", "on:"],
  429. referencedClasses: []
  430. }),
  431. smalltalk.Presentation);
  432. smalltalk.addMethod(
  433. unescape('_renderOn_'),
  434. smalltalk.method({
  435. selector: unescape('renderOn%3A'),
  436. category: 'rendering',
  437. fn: function (html) {
  438. var self = this;
  439. (function ($rec) {smalltalk.send($rec, "_type_", [unescape("text/css")]);return smalltalk.send($rec, "_with_", [smalltalk.send(self, "_style", [])]);}(smalltalk.send(html, "_style", [])));
  440. (function ($rec) {smalltalk.send($rec, "_id_", ["slides"]);return smalltalk.send($rec, "_with_", [function () {return smalltalk.send(self, "_renderSlidesOn_", [html]);}]);}(smalltalk.send(html, "_div", [])));
  441. return self;
  442. },
  443. args: ["html"],
  444. 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'),
  445. messageSends: ["type:", "with:", "style", "id:", "renderSlidesOn:", "div"],
  446. referencedClasses: []
  447. }),
  448. smalltalk.Presentation);
  449. smalltalk.addMethod(
  450. unescape('_renderSlidesOn_'),
  451. smalltalk.method({
  452. selector: unescape('renderSlidesOn%3A'),
  453. category: 'rendering',
  454. fn: function (html) {
  455. var self = this;
  456. smalltalk.send(smalltalk.send(self, "_slides", []), "_do_", [function (each) {return smalltalk.send(each, "_renderOn_", [html]);}]);
  457. ($receiver = self['@currentSlide']) == nil ||
  458. $receiver == undefined ? function () {return self['@currentSlide'] = smalltalk.send(smalltalk.send(self, "_slides", []), "_first", []);}() : $receiver;
  459. smalltalk.send(self, "_showCurrentSlide", []);
  460. return self;
  461. },
  462. args: ["html"],
  463. 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'),
  464. messageSends: ["do:", "slides", "renderOn:", "ifNil:", "first", "showCurrentSlide"],
  465. referencedClasses: []
  466. }),
  467. smalltalk.Presentation);
  468. smalltalk.Presentation.klass.iVarNames = ['current'];
  469. smalltalk.addMethod(
  470. unescape('_isConcrete'),
  471. smalltalk.method({
  472. selector: unescape('isConcrete'),
  473. category: 'testing',
  474. fn: function () {
  475. var self = this;
  476. return false;
  477. return self;
  478. },
  479. args: [],
  480. source: unescape('isConcrete%0A%09%5Efalse'),
  481. messageSends: [],
  482. referencedClasses: []
  483. }),
  484. smalltalk.Presentation.klass);
  485. smalltalk.addMethod(
  486. unescape('_concretePresentations'),
  487. smalltalk.method({
  488. selector: unescape('concretePresentations'),
  489. category: 'accessing',
  490. fn: function () {
  491. var self = this;
  492. return smalltalk.send(smalltalk.send(self, "_allSubclasses", []), "_select_", [function (aPresentationClass) {return smalltalk.send(aPresentationClass, "_isConcrete", []);}]);
  493. return self;
  494. },
  495. args: [],
  496. source: unescape('concretePresentations%0A%09%5E%20self%20allSubclasses%20select%3A%20%5B%3AaPresentationClass%7C%20aPresentationClass%20isConcrete%5D'),
  497. messageSends: ["select:", "allSubclasses", "isConcrete"],
  498. referencedClasses: []
  499. }),
  500. smalltalk.Presentation.klass);
  501. smalltalk.addMethod(
  502. unescape('_title'),
  503. smalltalk.method({
  504. selector: unescape('title'),
  505. category: 'accessing',
  506. fn: function () {
  507. var self = this;
  508. return "Slides";
  509. return self;
  510. },
  511. args: [],
  512. source: unescape('title%0A%09%5E%20%27Slides%27'),
  513. messageSends: [],
  514. referencedClasses: []
  515. }),
  516. smalltalk.Presentation.klass);
  517. smalltalk.addMethod(
  518. unescape('_concretePresentationsDo_'),
  519. smalltalk.method({
  520. selector: unescape('concretePresentationsDo%3A'),
  521. category: 'enumerating',
  522. fn: function (aBlockWithArg) {
  523. var self = this;
  524. smalltalk.send(smalltalk.send(self, "_concretePresentations", []), "_do_", [aBlockWithArg]);
  525. return self;
  526. },
  527. args: ["aBlockWithArg"],
  528. source: unescape('concretePresentationsDo%3A%20aBlockWithArg%0A%09self%20concretePresentations%20do%3A%20aBlockWithArg.'),
  529. messageSends: ["do:", "concretePresentations"],
  530. referencedClasses: []
  531. }),
  532. smalltalk.Presentation.klass);
  533. smalltalk.addClass('ESUG2011Presentation', smalltalk.Presentation, [], 'Presentation');
  534. smalltalk.addMethod(
  535. unescape('_description'),
  536. smalltalk.method({
  537. selector: unescape('description'),
  538. category: 'accessing',
  539. fn: function () {
  540. var self = this;
  541. return unescape("ESUG%202011%2C%20Edinburgh");
  542. return self;
  543. },
  544. args: [],
  545. source: unescape('description%0A%09%5E%27ESUG%202011%2C%20Edinburgh%27'),
  546. messageSends: [],
  547. referencedClasses: []
  548. }),
  549. smalltalk.ESUG2011Presentation);
  550. smalltalk.addMethod(
  551. unescape('_author'),
  552. smalltalk.method({
  553. selector: unescape('author'),
  554. category: 'accessing',
  555. fn: function () {
  556. var self = this;
  557. return "Nicolas Petton";
  558. return self;
  559. },
  560. args: [],
  561. source: unescape('author%0A%09%5E%27Nicolas%20Petton%27'),
  562. messageSends: [],
  563. referencedClasses: []
  564. }),
  565. smalltalk.ESUG2011Presentation);
  566. smalltalk.addMethod(
  567. unescape('_email'),
  568. smalltalk.method({
  569. selector: unescape('email'),
  570. category: 'accessing',
  571. fn: function () {
  572. var self = this;
  573. return unescape("nico@objectfusion.fr");
  574. return self;
  575. },
  576. args: [],
  577. source: unescape('email%0A%09%5E%27nico@objectfusion.fr%27'),
  578. messageSends: [],
  579. referencedClasses: []
  580. }),
  581. smalltalk.ESUG2011Presentation);
  582. smalltalk.addMethod(
  583. unescape('_url'),
  584. smalltalk.method({
  585. selector: unescape('url'),
  586. category: 'accessing',
  587. fn: function () {
  588. var self = this;
  589. return unescape("http%3A//jtalk-project.org");
  590. return self;
  591. },
  592. args: [],
  593. source: unescape('url%0A%09%5E%27http%3A//jtalk-project.org%27'),
  594. messageSends: [],
  595. referencedClasses: []
  596. }),
  597. smalltalk.ESUG2011Presentation);
  598. smalltalk.addMethod(
  599. unescape('_slideClasses'),
  600. smalltalk.method({
  601. selector: unescape('slideClasses'),
  602. category: 'accessing',
  603. fn: function () {
  604. var self = this;
  605. 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", []));
  606. return self;
  607. },
  608. args: [],
  609. 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'),
  610. messageSends: ["add:", "yourself", "new"],
  611. referencedClasses: [smalltalk.Array]
  612. }),
  613. smalltalk.ESUG2011Presentation);
  614. smalltalk.addMethod(
  615. unescape('_style'),
  616. smalltalk.method({
  617. selector: unescape('style'),
  618. category: 'accessing',
  619. fn: function () {
  620. var self = this;
  621. 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");
  622. return self;
  623. },
  624. args: [],
  625. 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'),
  626. messageSends: [],
  627. referencedClasses: []
  628. }),
  629. smalltalk.ESUG2011Presentation);
  630. smalltalk.ESUG2011Presentation.klass.iVarNames = ['current'];
  631. smalltalk.addMethod(
  632. unescape('_isConcrete'),
  633. smalltalk.method({
  634. selector: unescape('isConcrete'),
  635. category: 'testing',
  636. fn: function () {
  637. var self = this;
  638. return true;
  639. return self;
  640. },
  641. args: [],
  642. source: unescape('isConcrete%0A%09%5Etrue'),
  643. messageSends: [],
  644. referencedClasses: []
  645. }),
  646. smalltalk.ESUG2011Presentation.klass);
  647. smalltalk.addMethod(
  648. unescape('_title'),
  649. smalltalk.method({
  650. selector: unescape('title'),
  651. category: 'accessing',
  652. fn: function () {
  653. var self = this;
  654. return "Jtalk";
  655. return self;
  656. },
  657. args: [],
  658. source: unescape('title%0A%09%5E%27Jtalk%27'),
  659. messageSends: [],
  660. referencedClasses: []
  661. }),
  662. smalltalk.ESUG2011Presentation.klass);
  663. smalltalk.addClass('IntroSlide', smalltalk.Slide, [], 'Presentation');
  664. smalltalk.addMethod(
  665. unescape('_id'),
  666. smalltalk.method({
  667. selector: unescape('id'),
  668. category: 'accessing',
  669. fn: function () {
  670. var self = this;
  671. return "intro";
  672. return self;
  673. },
  674. args: [],
  675. source: unescape('id%0A%09%5E%27intro%27'),
  676. messageSends: [],
  677. referencedClasses: []
  678. }),
  679. smalltalk.IntroSlide);
  680. smalltalk.addMethod(
  681. unescape('_cssClass'),
  682. smalltalk.method({
  683. selector: unescape('cssClass'),
  684. category: 'accessing',
  685. fn: function () {
  686. var self = this;
  687. return "slide black";
  688. return self;
  689. },
  690. args: [],
  691. source: unescape('cssClass%0A%09%5E%27slide%20black%27'),
  692. messageSends: [],
  693. referencedClasses: []
  694. }),
  695. smalltalk.IntroSlide);
  696. smalltalk.addMethod(
  697. unescape('_renderSlideOn_'),
  698. smalltalk.method({
  699. selector: unescape('renderSlideOn%3A'),
  700. category: 'rendering',
  701. fn: function (html) {
  702. var self = this;
  703. (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", [])));
  704. return self;
  705. },
  706. args: ["html"],
  707. 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'),
  708. messageSends: ["class:", "with:", "h1", "p", unescape("%2C"), "author", "presentation", "description", "email", "href:", "a", "div"],
  709. referencedClasses: []
  710. }),
  711. smalltalk.IntroSlide);
  712. smalltalk.addClass('WhatIsJtalkSlide', smalltalk.Slide, [], 'Presentation');
  713. smalltalk.addMethod(
  714. unescape('_id'),
  715. smalltalk.method({
  716. selector: unescape('id'),
  717. category: 'accessing',
  718. fn: function () {
  719. var self = this;
  720. return "WhatIsJtalk";
  721. return self;
  722. },
  723. args: [],
  724. source: unescape('id%0A%09%5E%27WhatIsJtalk%27'),
  725. messageSends: [],
  726. referencedClasses: []
  727. }),
  728. smalltalk.WhatIsJtalkSlide);
  729. smalltalk.addMethod(
  730. unescape('_renderSlideOn_'),
  731. smalltalk.method({
  732. selector: unescape('renderSlideOn%3A'),
  733. category: 'rendering',
  734. fn: function (html) {
  735. var self = this;
  736. (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", [])));
  737. return self;
  738. },
  739. args: ["html"],
  740. 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'),
  741. messageSends: ["class:", "with:", "h1", "h2", "div"],
  742. referencedClasses: []
  743. }),
  744. smalltalk.WhatIsJtalkSlide);
  745. smalltalk.addClass('JtalkFeaturesSlide', smalltalk.Slide, [], 'Presentation');
  746. smalltalk.addMethod(
  747. unescape('_id'),
  748. smalltalk.method({
  749. selector: unescape('id'),
  750. category: 'accessing',
  751. fn: function () {
  752. var self = this;
  753. return "features";
  754. return self;
  755. },
  756. args: [],
  757. source: unescape('id%0A%09%5E%27features%27'),
  758. messageSends: [],
  759. referencedClasses: []
  760. }),
  761. smalltalk.JtalkFeaturesSlide);
  762. smalltalk.addMethod(
  763. unescape('_renderSlideOn_'),
  764. smalltalk.method({
  765. selector: unescape('renderSlideOn%3A'),
  766. category: 'rendering',
  767. fn: function (html) {
  768. var self = this;
  769. smalltalk.send(smalltalk.send(html, "_h1", []), "_with_", ["Jtalk features"]);
  770. 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"]);}]);}]);
  771. return self;
  772. },
  773. args: ["html"],
  774. 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'),
  775. messageSends: ["with:", "h1", "ul", "li", "code"],
  776. referencedClasses: []
  777. }),
  778. smalltalk.JtalkFeaturesSlide);
  779. smalltalk.addClass('AboutSlide', smalltalk.Slide, [], 'Presentation');
  780. smalltalk.addMethod(
  781. unescape('_id'),
  782. smalltalk.method({
  783. selector: unescape('id'),
  784. category: 'accessing',
  785. fn: function () {
  786. var self = this;
  787. return "about";
  788. return self;
  789. },
  790. args: [],
  791. source: unescape('id%0A%09%5E%27about%27'),
  792. messageSends: [],
  793. referencedClasses: []
  794. }),
  795. smalltalk.AboutSlide);
  796. smalltalk.addMethod(
  797. unescape('_cssClass'),
  798. smalltalk.method({
  799. selector: unescape('cssClass'),
  800. category: 'accessing',
  801. fn: function () {
  802. var self = this;
  803. return "slide transparent white";
  804. return self;
  805. },
  806. args: [],
  807. source: unescape('cssClass%0A%09%5E%27slide%20transparent%20white%27'),
  808. messageSends: [],
  809. referencedClasses: []
  810. }),
  811. smalltalk.AboutSlide);
  812. smalltalk.addMethod(
  813. unescape('_backgroundColor'),
  814. smalltalk.method({
  815. selector: unescape('backgroundColor'),
  816. category: 'accessing',
  817. fn: function () {
  818. var self = this;
  819. return "white";
  820. return self;
  821. },
  822. args: [],
  823. source: unescape('backgroundColor%0A%09%5E%27white%27'),
  824. messageSends: [],
  825. referencedClasses: []
  826. }),
  827. smalltalk.AboutSlide);
  828. smalltalk.addMethod(
  829. unescape('_renderSlideOn_'),
  830. smalltalk.method({
  831. selector: unescape('renderSlideOn%3A'),
  832. category: 'rendering',
  833. fn: function (html) {
  834. var self = this;
  835. (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", [])));
  836. return self;
  837. },
  838. args: ["html"],
  839. 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'),
  840. messageSends: ["class:", "with:", "h1", "p", "code", "onClick:", "openOn:", "button", "div"],
  841. referencedClasses: [smalltalk.Presentation]
  842. }),
  843. smalltalk.AboutSlide);
  844. smalltalk.addClass('JtalkAndJavascriptSlide3', smalltalk.Slide, [], 'Presentation');
  845. smalltalk.addMethod(
  846. unescape('_id'),
  847. smalltalk.method({
  848. selector: unescape('id'),
  849. category: 'accessing',
  850. fn: function () {
  851. var self = this;
  852. return "jtalkAndJs3";
  853. return self;
  854. },
  855. args: [],
  856. source: unescape('id%0A%09%5E%27jtalkAndJs3%27'),
  857. messageSends: [],
  858. referencedClasses: []
  859. }),
  860. smalltalk.JtalkAndJavascriptSlide3);
  861. smalltalk.addMethod(
  862. unescape('_backgroundColor'),
  863. smalltalk.method({
  864. selector: unescape('backgroundColor'),
  865. category: 'accessing',
  866. fn: function () {
  867. var self = this;
  868. return unescape("%2308C");
  869. return self;
  870. },
  871. args: [],
  872. source: unescape('backgroundColor%0A%09%5E%27%2308C%27'),
  873. messageSends: [],
  874. referencedClasses: []
  875. }),
  876. smalltalk.JtalkAndJavascriptSlide3);
  877. smalltalk.addMethod(
  878. unescape('_renderSlideOn_'),
  879. smalltalk.method({
  880. selector: unescape('renderSlideOn%3A'),
  881. category: 'rendering',
  882. fn: function (html) {
  883. var self = this;
  884. 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"]);}]);
  885. smalltalk.send(smalltalk.send(html, "_h2", []), "_with_", [unescape("Smalltalk%20%u21D2%20JavaScript")]);
  886. 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", []));}]);
  887. return self;
  888. },
  889. args: ["html"],
  890. 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'),
  891. messageSends: ["with:", "h1", "class:", "span", "h2", "ol", "code", "li"],
  892. referencedClasses: []
  893. }),
  894. smalltalk.JtalkAndJavascriptSlide3);
  895. smalltalk.addClass('JtalkAndJavascriptSlide2', smalltalk.Slide, [], 'Presentation');
  896. smalltalk.addMethod(
  897. unescape('_id'),
  898. smalltalk.method({
  899. selector: unescape('id'),
  900. category: 'accessing',
  901. fn: function () {
  902. var self = this;
  903. return "jtalkAndJs2";
  904. return self;
  905. },
  906. args: [],
  907. source: unescape('id%0A%09%5E%27jtalkAndJs2%27'),
  908. messageSends: [],
  909. referencedClasses: []
  910. }),
  911. smalltalk.JtalkAndJavascriptSlide2);
  912. smalltalk.addMethod(
  913. unescape('_backgroundColor'),
  914. smalltalk.method({
  915. selector: unescape('backgroundColor'),
  916. category: 'accessing',
  917. fn: function () {
  918. var self = this;
  919. return unescape("%2308C");
  920. return self;
  921. },
  922. args: [],
  923. source: unescape('backgroundColor%0A%09%5E%27%2308C%27'),
  924. messageSends: [],
  925. referencedClasses: []
  926. }),
  927. smalltalk.JtalkAndJavascriptSlide2);
  928. smalltalk.addMethod(
  929. unescape('_renderSlideOn_'),
  930. smalltalk.method({
  931. selector: unescape('renderSlideOn%3A'),
  932. category: 'rendering',
  933. fn: function (html) {
  934. var self = this;
  935. 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"]);}]);
  936. smalltalk.send(smalltalk.send(html, "_h2", []), "_with_", ["Jtalk maps one to one with the JavaScript equivalent:"]);
  937. 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."]);}]);
  938. return self;
  939. },
  940. args: ["html"],
  941. 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'),
  942. messageSends: ["with:", "h1", "class:", "span", "h2", "ul", "li"],
  943. referencedClasses: []
  944. }),
  945. smalltalk.JtalkAndJavascriptSlide2);
  946. smalltalk.addClass('JtalkAndJavascriptSlide', smalltalk.Slide, [], 'Presentation');
  947. smalltalk.addMethod(
  948. unescape('_id'),
  949. smalltalk.method({
  950. selector: unescape('id'),
  951. category: 'accessing',
  952. fn: function () {
  953. var self = this;
  954. return "jtalkAndJs";
  955. return self;
  956. },
  957. args: [],
  958. source: unescape('id%0A%09%5E%27jtalkAndJs%27'),
  959. messageSends: [],
  960. referencedClasses: []
  961. }),
  962. smalltalk.JtalkAndJavascriptSlide);
  963. smalltalk.addMethod(
  964. unescape('_cssClass'),
  965. smalltalk.method({
  966. selector: unescape('cssClass'),
  967. category: 'accessing',
  968. fn: function () {
  969. var self = this;
  970. return "slide transparent";
  971. return self;
  972. },
  973. args: [],
  974. source: unescape('cssClass%0A%09%5E%27slide%20transparent%27'),
  975. messageSends: [],
  976. referencedClasses: []
  977. }),
  978. smalltalk.JtalkAndJavascriptSlide);
  979. smalltalk.addMethod(
  980. unescape('_backgroundColor'),
  981. smalltalk.method({
  982. selector: unescape('backgroundColor'),
  983. category: 'accessing',
  984. fn: function () {
  985. var self = this;
  986. return unescape("%2308C");
  987. return self;
  988. },
  989. args: [],
  990. source: unescape('backgroundColor%0A%09%5E%27%2308C%27'),
  991. messageSends: [],
  992. referencedClasses: []
  993. }),
  994. smalltalk.JtalkAndJavascriptSlide);
  995. smalltalk.addMethod(
  996. unescape('_renderSlideOn_'),
  997. smalltalk.method({
  998. selector: unescape('renderSlideOn%3A'),
  999. category: 'rendering',
  1000. fn: function (html) {
  1001. var self = this;
  1002. (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", [])));
  1003. return self;
  1004. },
  1005. args: ["html"],
  1006. 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'),
  1007. messageSends: ["class:", "with:", "h1", "span", "div"],
  1008. referencedClasses: []
  1009. }),
  1010. smalltalk.JtalkAndJavascriptSlide);
  1011. smalltalk.addClass('WorkspaceSlide', smalltalk.Slide, [], 'Presentation');
  1012. smalltalk.addMethod(
  1013. unescape('_id'),
  1014. smalltalk.method({
  1015. selector: unescape('id'),
  1016. category: 'accessing',
  1017. fn: function () {
  1018. var self = this;
  1019. return "workspace";
  1020. return self;
  1021. },
  1022. args: [],
  1023. source: unescape('id%0A%09%5E%27workspace%27'),
  1024. messageSends: [],
  1025. referencedClasses: []
  1026. }),
  1027. smalltalk.WorkspaceSlide);
  1028. smalltalk.addMethod(
  1029. unescape('_backgroundColor'),
  1030. smalltalk.method({
  1031. selector: unescape('backgroundColor'),
  1032. category: 'accessing',
  1033. fn: function () {
  1034. var self = this;
  1035. return unescape("%2318bd7d");
  1036. return self;
  1037. },
  1038. args: [],
  1039. source: unescape('backgroundColor%0A%09%5E%27%2318bd7d%27'),
  1040. messageSends: [],
  1041. referencedClasses: []
  1042. }),
  1043. smalltalk.WorkspaceSlide);
  1044. smalltalk.addMethod(
  1045. unescape('_renderSlideOn_'),
  1046. smalltalk.method({
  1047. selector: unescape('renderSlideOn%3A'),
  1048. category: 'accessing',
  1049. fn: function (html) {
  1050. var self = this;
  1051. var workspace = nil;
  1052. workspace = smalltalk.send(smalltalk.SourceArea || SourceArea, "_new", []);
  1053. (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", [])));
  1054. return self;
  1055. },
  1056. args: ["html"],
  1057. 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'),
  1058. messageSends: ["new", "class:", "with:", "h1", "renderOn:", "div", "onClick:", "doIt", "button", "printIt", "inspectIt"],
  1059. referencedClasses: []
  1060. }),
  1061. smalltalk.WorkspaceSlide);
  1062. smalltalk.addClass('CountersSlide', smalltalk.Slide, [], 'Presentation');
  1063. smalltalk.addMethod(
  1064. unescape('_id'),
  1065. smalltalk.method({
  1066. selector: unescape('id'),
  1067. category: 'accessing',
  1068. fn: function () {
  1069. var self = this;
  1070. return "counters";
  1071. return self;
  1072. },
  1073. args: [],
  1074. source: unescape('id%0A%09%5E%27counters%27'),
  1075. messageSends: [],
  1076. referencedClasses: []
  1077. }),
  1078. smalltalk.CountersSlide);
  1079. smalltalk.addMethod(
  1080. unescape('_backgroundColor'),
  1081. smalltalk.method({
  1082. selector: unescape('backgroundColor'),
  1083. category: 'accessing',
  1084. fn: function () {
  1085. var self = this;
  1086. return unescape("%2318bd7d");
  1087. return self;
  1088. },
  1089. args: [],
  1090. source: unescape('backgroundColor%0A%09%5E%27%2318bd7d%27'),
  1091. messageSends: [],
  1092. referencedClasses: []
  1093. }),
  1094. smalltalk.CountersSlide);
  1095. smalltalk.addMethod(
  1096. unescape('_renderSlideOn_'),
  1097. smalltalk.method({
  1098. selector: unescape('renderSlideOn%3A'),
  1099. category: 'rendering',
  1100. fn: function (html) {
  1101. var self = this;
  1102. (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", [])));
  1103. return self;
  1104. },
  1105. args: ["html"],
  1106. 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'),
  1107. messageSends: ["class:", "with:", "h1", "div", "timesRepeat:", "renderOn:", "new"],
  1108. referencedClasses: [smalltalk.Counter]
  1109. }),
  1110. smalltalk.CountersSlide);
  1111. smalltalk.addClass('JtalkAndJavascriptSlide4', smalltalk.Slide, [], 'Presentation');
  1112. smalltalk.addMethod(
  1113. unescape('_id'),
  1114. smalltalk.method({
  1115. selector: unescape('id'),
  1116. category: 'accessing',
  1117. fn: function () {
  1118. var self = this;
  1119. return "jtalkAndJs4";
  1120. return self;
  1121. },
  1122. args: [],
  1123. source: unescape('id%0A%09%5E%27jtalkAndJs4%27'),
  1124. messageSends: [],
  1125. referencedClasses: []
  1126. }),
  1127. smalltalk.JtalkAndJavascriptSlide4);
  1128. smalltalk.addMethod(
  1129. unescape('_backgroundColor'),
  1130. smalltalk.method({
  1131. selector: unescape('backgroundColor'),
  1132. category: 'accessing',
  1133. fn: function () {
  1134. var self = this;
  1135. return unescape("%2308C");
  1136. return self;
  1137. },
  1138. args: [],
  1139. source: unescape('backgroundColor%0A%09%5E%27%2308C%27'),
  1140. messageSends: [],
  1141. referencedClasses: []
  1142. }),
  1143. smalltalk.JtalkAndJavascriptSlide4);
  1144. smalltalk.addMethod(
  1145. unescape('_renderSlideOn_'),
  1146. smalltalk.method({
  1147. selector: unescape('renderSlideOn%3A'),
  1148. category: 'rendering',
  1149. fn: function (html) {
  1150. var self = this;
  1151. 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);}]);
  1152. smalltalk.send(smalltalk.send(html, "_h2", []), "_with_", [unescape("JavaScript%20%u21D2%20Smalltalk")]);
  1153. 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", []));}]);
  1154. return self;
  1155. },
  1156. args: ["html"],
  1157. 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'),
  1158. messageSends: ["with:", "h1", "class:", "span", "h2", "ol", "code", "li", "br"],
  1159. referencedClasses: []
  1160. }),
  1161. smalltalk.JtalkAndJavascriptSlide4);
  1162. smalltalk.addClass('IDESlide', smalltalk.Slide, [], 'Presentation');
  1163. smalltalk.addMethod(
  1164. unescape('_id'),
  1165. smalltalk.method({
  1166. selector: unescape('id'),
  1167. category: 'accessing',
  1168. fn: function () {
  1169. var self = this;
  1170. return "ide";
  1171. return self;
  1172. },
  1173. args: [],
  1174. source: unescape('id%0A%09%5E%27ide%27'),
  1175. messageSends: [],
  1176. referencedClasses: []
  1177. }),
  1178. smalltalk.IDESlide);
  1179. smalltalk.addMethod(
  1180. unescape('_backgroundColor'),
  1181. smalltalk.method({
  1182. selector: unescape('backgroundColor'),
  1183. category: 'accessing',
  1184. fn: function () {
  1185. var self = this;
  1186. return "black";
  1187. return self;
  1188. },
  1189. args: [],
  1190. source: unescape('backgroundColor%0A%09%5E%27black%27'),
  1191. messageSends: [],
  1192. referencedClasses: []
  1193. }),
  1194. smalltalk.IDESlide);
  1195. smalltalk.addMethod(
  1196. unescape('_cssClass'),
  1197. smalltalk.method({
  1198. selector: unescape('cssClass'),
  1199. category: 'accessing',
  1200. fn: function () {
  1201. var self = this;
  1202. return "slide transparent";
  1203. return self;
  1204. },
  1205. args: [],
  1206. source: unescape('cssClass%0A%09%5E%27slide%20transparent%27'),
  1207. messageSends: [],
  1208. referencedClasses: []
  1209. }),
  1210. smalltalk.IDESlide);
  1211. smalltalk.addMethod(
  1212. unescape('_renderSlideOn_'),
  1213. smalltalk.method({
  1214. selector: unescape('renderSlideOn%3A'),
  1215. category: 'rendering',
  1216. fn: function (html) {
  1217. var self = this;
  1218. return self;
  1219. },
  1220. args: ["html"],
  1221. 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'),
  1222. messageSends: [],
  1223. referencedClasses: []
  1224. }),
  1225. smalltalk.IDESlide);
  1226. smalltalk.addClass('ContributionsSlide', smalltalk.Slide, [], 'Presentation');
  1227. smalltalk.addMethod(
  1228. unescape('_id'),
  1229. smalltalk.method({
  1230. selector: unescape('id'),
  1231. category: 'accessing',
  1232. fn: function () {
  1233. var self = this;
  1234. return "links";
  1235. return self;
  1236. },
  1237. args: [],
  1238. source: unescape('id%0A%09%5E%27links%27'),
  1239. messageSends: [],
  1240. referencedClasses: []
  1241. }),
  1242. smalltalk.ContributionsSlide);
  1243. smalltalk.addMethod(
  1244. unescape('_renderSlideOn_'),
  1245. smalltalk.method({
  1246. selector: unescape('renderSlideOn%3A'),
  1247. category: 'rendering',
  1248. fn: function (html) {
  1249. var self = this;
  1250. (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", [])));
  1251. return self;
  1252. },
  1253. args: ["html"],
  1254. 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'),
  1255. messageSends: ["class:", "with:", "p", "href:", "a", "div"],
  1256. referencedClasses: []
  1257. }),
  1258. smalltalk.ContributionsSlide);
  1259. smalltalk.addClass('JtalkAndCLI', smalltalk.Slide, [], 'Presentation');
  1260. smalltalk.addMethod(
  1261. unescape('_backgroundColor'),
  1262. smalltalk.method({
  1263. selector: unescape('backgroundColor'),
  1264. category: 'not yet classified',
  1265. fn: function () {
  1266. var self = this;
  1267. return unescape("%230A1");
  1268. return self;
  1269. },
  1270. args: [],
  1271. source: unescape('backgroundColor%0A%09%5E%27%230A1%27'),
  1272. messageSends: [],
  1273. referencedClasses: []
  1274. }),
  1275. smalltalk.JtalkAndCLI);
  1276. smalltalk.addMethod(
  1277. unescape('_id'),
  1278. smalltalk.method({
  1279. selector: unescape('id'),
  1280. category: 'not yet classified',
  1281. fn: function () {
  1282. var self = this;
  1283. return "JtalkAndCLI";
  1284. return self;
  1285. },
  1286. args: [],
  1287. source: unescape('id%0A%09%5E%27JtalkAndCLI%27'),
  1288. messageSends: [],
  1289. referencedClasses: []
  1290. }),
  1291. smalltalk.JtalkAndCLI);
  1292. smalltalk.addMethod(
  1293. unescape('_renderSlideOn_'),
  1294. smalltalk.method({
  1295. selector: unescape('renderSlideOn%3A'),
  1296. category: 'not yet classified',
  1297. fn: function (html) {
  1298. var self = this;
  1299. 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", []));}]);
  1300. smalltalk.send(smalltalk.send(html, "_h2", []), "_with_", [unescape("jtalkc%20-%20a%20fairly%20elaborate%20bash%20script%20that%3A")]);
  1301. 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"]);}]);
  1302. return self;
  1303. },
  1304. args: ["html"],
  1305. 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'),
  1306. messageSends: ["with:", "h1", "class:", "span", "h2", "ul", "li"],
  1307. referencedClasses: []
  1308. }),
  1309. smalltalk.JtalkAndCLI);
  1310. smalltalk.addClass('JtalkAndNode', smalltalk.Slide, [], 'Presentation');
  1311. smalltalk.addMethod(
  1312. unescape('_backgroundColor'),
  1313. smalltalk.method({
  1314. selector: unescape('backgroundColor'),
  1315. category: 'not yet classified',
  1316. fn: function () {
  1317. var self = this;
  1318. return unescape("%230A1");
  1319. return self;
  1320. },
  1321. args: [],
  1322. source: unescape('backgroundColor%0A%09%5E%27%230A1%27'),
  1323. messageSends: [],
  1324. referencedClasses: []
  1325. }),
  1326. smalltalk.JtalkAndNode);
  1327. smalltalk.addMethod(
  1328. unescape('_id'),
  1329. smalltalk.method({
  1330. selector: unescape('id'),
  1331. category: 'not yet classified',
  1332. fn: function () {
  1333. var self = this;
  1334. return "JtalkAndNode";
  1335. return self;
  1336. },
  1337. args: [],
  1338. source: unescape('id%0A%09%5E%27JtalkAndNode%27'),
  1339. messageSends: [],
  1340. referencedClasses: []
  1341. }),
  1342. smalltalk.JtalkAndNode);
  1343. smalltalk.addMethod(
  1344. unescape('_renderSlideOn_'),
  1345. smalltalk.method({
  1346. selector: unescape('renderSlideOn%3A'),
  1347. category: 'not yet classified',
  1348. fn: function (html) {
  1349. var self = this;
  1350. 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", []));}]);
  1351. smalltalk.send(smalltalk.send(html, "_h2", []), "_with_", ["Hello.st:"]);
  1352. 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", []));}]);
  1353. return self;
  1354. },
  1355. args: ["html"],
  1356. 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'),
  1357. messageSends: ["with:", "h1", "class:", "span", "h2", "pre", "div"],
  1358. referencedClasses: []
  1359. }),
  1360. smalltalk.JtalkAndNode);
  1361. smalltalk.addClass('JtalkAndNode2', smalltalk.Slide, [], 'Presentation');
  1362. smalltalk.addMethod(
  1363. unescape('_backgroundColor'),
  1364. smalltalk.method({
  1365. selector: unescape('backgroundColor'),
  1366. category: 'not yet classified',
  1367. fn: function () {
  1368. var self = this;
  1369. return unescape("%230A1");
  1370. return self;
  1371. },
  1372. args: [],
  1373. source: unescape('backgroundColor%0A%09%5E%27%230A1%27'),
  1374. messageSends: [],
  1375. referencedClasses: []
  1376. }),
  1377. smalltalk.JtalkAndNode2);
  1378. smalltalk.addMethod(
  1379. unescape('_id'),
  1380. smalltalk.method({
  1381. selector: unescape('id'),
  1382. category: 'not yet classified',
  1383. fn: function () {
  1384. var self = this;
  1385. return "JtalkAndNode2";
  1386. return self;
  1387. },
  1388. args: [],
  1389. source: unescape('id%0A%09%5E%27JtalkAndNode2%27'),
  1390. messageSends: [],
  1391. referencedClasses: []
  1392. }),
  1393. smalltalk.JtalkAndNode2);
  1394. smalltalk.addMethod(
  1395. unescape('_renderSlideOn_'),
  1396. smalltalk.method({
  1397. selector: unescape('renderSlideOn%3A'),
  1398. category: 'not yet classified',
  1399. fn: function (html) {
  1400. var self = this;
  1401. 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", []));}]);
  1402. smalltalk.send(smalltalk.send(html, "_h2", []), "_with_", ["Makefile:"]);
  1403. 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", []));}]);
  1404. smalltalk.send(smalltalk.send(html, "_h2", []), "_with_", ["hello:"]);
  1405. 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", []));}]);
  1406. return self;
  1407. },
  1408. args: ["html"],
  1409. 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'),
  1410. messageSends: ["with:", "h1", "class:", "span", "h2", "pre", "div"],
  1411. referencedClasses: []
  1412. }),
  1413. smalltalk.JtalkAndNode2);
  1414. smalltalk.addClass('JtalkAndNode3', smalltalk.Slide, [], 'Presentation');
  1415. smalltalk.addMethod(
  1416. unescape('_backgroundColor'),
  1417. smalltalk.method({
  1418. selector: unescape('backgroundColor'),
  1419. category: 'not yet classified',
  1420. fn: function () {
  1421. var self = this;
  1422. return unescape("%230A1");
  1423. return self;
  1424. },
  1425. args: [],
  1426. source: unescape('backgroundColor%0A%09%5E%27%230A1%27'),
  1427. messageSends: [],
  1428. referencedClasses: []
  1429. }),
  1430. smalltalk.JtalkAndNode3);
  1431. smalltalk.addMethod(
  1432. unescape('_id'),
  1433. smalltalk.method({
  1434. selector: unescape('id'),
  1435. category: 'not yet classified',
  1436. fn: function () {
  1437. var self = this;
  1438. return "JtalkAndNode3";
  1439. return self;
  1440. },
  1441. args: [],
  1442. source: unescape('id%0A%09%5E%27JtalkAndNode3%27'),
  1443. messageSends: [],
  1444. referencedClasses: []
  1445. }),
  1446. smalltalk.JtalkAndNode3);
  1447. smalltalk.addMethod(
  1448. unescape('_renderSlideOn_'),
  1449. smalltalk.method({
  1450. selector: unescape('renderSlideOn%3A'),
  1451. category: 'not yet classified',
  1452. fn: function (html) {
  1453. var self = this;
  1454. 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", []));}]);
  1455. smalltalk.send(smalltalk.send(html, "_h2", []), "_with_", [unescape("make%20clean%20%26%26%20make%20run%3A")]);
  1456. 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", []));}]);
  1457. return self;
  1458. },
  1459. args: ["html"],
  1460. 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'),
  1461. messageSends: ["with:", "h1", "class:", "span", "h2", "pre", "div"],
  1462. referencedClasses: []
  1463. }),
  1464. smalltalk.JtalkAndNode3);
  1465. smalltalk.addClass('JtalkAndWebOS', smalltalk.Slide, [], 'Presentation');
  1466. smalltalk.addMethod(
  1467. unescape('_backgroundColor'),
  1468. smalltalk.method({
  1469. selector: unescape('backgroundColor'),
  1470. category: 'not yet classified',
  1471. fn: function () {
  1472. var self = this;
  1473. return unescape("%230A1");
  1474. return self;
  1475. },
  1476. args: [],
  1477. source: unescape('backgroundColor%0A%09%5E%27%230A1%27'),
  1478. messageSends: [],
  1479. referencedClasses: []
  1480. }),
  1481. smalltalk.JtalkAndWebOS);
  1482. smalltalk.addMethod(
  1483. unescape('_id'),
  1484. smalltalk.method({
  1485. selector: unescape('id'),
  1486. category: 'not yet classified',
  1487. fn: function () {
  1488. var self = this;
  1489. return "JtalkAndWebOS";
  1490. return self;
  1491. },
  1492. args: [],
  1493. source: unescape('id%0A%09%5E%27JtalkAndWebOS%27'),
  1494. messageSends: [],
  1495. referencedClasses: []
  1496. }),
  1497. smalltalk.JtalkAndWebOS);
  1498. smalltalk.addMethod(
  1499. unescape('_renderSlideOn_'),
  1500. smalltalk.method({
  1501. selector: unescape('renderSlideOn%3A'),
  1502. category: 'not yet classified',
  1503. fn: function (html) {
  1504. var self = this;
  1505. 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", []));}]);
  1506. smalltalk.send(smalltalk.send(html, "_h2", []), "_with_", ["A really cool mobile OS based on Linux:"]);
  1507. 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"]);}]);
  1508. return self;
  1509. },
  1510. args: ["html"],
  1511. 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'),
  1512. messageSends: ["with:", "h1", "class:", "span", "h2", "ul", "li"],
  1513. referencedClasses: []
  1514. }),
  1515. smalltalk.JtalkAndWebOS);
  1516. smalltalk.addClass('JtalkAndEnyo', smalltalk.Slide, [], 'Presentation');
  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 "JtalkAndEnyo";
  1525. return self;
  1526. },
  1527. args: [],
  1528. source: unescape('id%0A%09%5E%27JtalkAndEnyo%27'),
  1529. messageSends: [],
  1530. referencedClasses: []
  1531. }),
  1532. smalltalk.JtalkAndEnyo);
  1533. smalltalk.addMethod(
  1534. unescape('_backgroundColor'),
  1535. smalltalk.method({
  1536. selector: unescape('backgroundColor'),
  1537. category: 'not yet classified',
  1538. fn: function () {
  1539. var self = this;
  1540. return unescape("%230A1");
  1541. return self;
  1542. },
  1543. args: [],
  1544. source: unescape('backgroundColor%0A%09%5E%27%230A1%27'),
  1545. messageSends: [],
  1546. referencedClasses: []
  1547. }),
  1548. smalltalk.JtalkAndEnyo);
  1549. smalltalk.addMethod(
  1550. unescape('_renderSlideOn_'),
  1551. smalltalk.method({
  1552. selector: unescape('renderSlideOn%3A'),
  1553. category: 'not yet classified',
  1554. fn: function (html) {
  1555. var self = this;
  1556. 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", []));}]);
  1557. return self;
  1558. },
  1559. args: ["html"],
  1560. 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.'),
  1561. messageSends: ["with:", "h1", "class:", "span"],
  1562. referencedClasses: []
  1563. }),
  1564. smalltalk.JtalkAndEnyo);
  1565. smalltalk.addClass('PresentationNavigator', smalltalk.Widget, ['presentationBrush', 'currentPresentation'], 'Presentation');
  1566. smalltalk.addMethod(
  1567. unescape('_renderToolsOn_'),
  1568. smalltalk.method({
  1569. selector: unescape('renderToolsOn%3A'),
  1570. category: 'rendering',
  1571. fn: function (html) {
  1572. var self = this;
  1573. (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", [])));
  1574. (function ($rec) {smalltalk.send($rec, "_with_", ["Reload"]);return smalltalk.send($rec, "_onClick_", [function () {return smalltalk.send(self, "_reload", []);}]);}(smalltalk.send(html, "_a", [])));
  1575. (function ($rec) {smalltalk.send($rec, "_with_", [unescape("%u2190")]);return smalltalk.send($rec, "_onClick_", [function () {return smalltalk.send(self, "_previousSlide", []);}]);}(smalltalk.send(html, "_a", [])));
  1576. (function ($rec) {smalltalk.send($rec, "_with_", [unescape("%u2192")]);return smalltalk.send($rec, "_onClick_", [function () {return smalltalk.send(self, "_nextSlide", []);}]);}(smalltalk.send(html, "_a", [])));
  1577. return self;
  1578. },
  1579. args: ["html"],
  1580. 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.'),
  1581. messageSends: ["with:", "onClick:", "open", "current", "a", "reload", "previousSlide", "nextSlide"],
  1582. referencedClasses: [smalltalk.TabManager]
  1583. }),
  1584. smalltalk.PresentationNavigator);
  1585. smalltalk.addMethod(
  1586. unescape('_setKeybindings'),
  1587. smalltalk.method({
  1588. selector: unescape('setKeybindings'),
  1589. category: 'keybindings',
  1590. fn: function () {
  1591. var self = this;
  1592. 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", []);}]);}]);}]);
  1593. return self;
  1594. },
  1595. args: [],
  1596. 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'),
  1597. messageSends: ["keyup:", "jQuery:", "asLowercase", "nodeName", "target", "ifFalse:", "or:", unescape("%3D"), "ifTrue:", "keyCode", "nextSlide", "previousSlide"],
  1598. referencedClasses: []
  1599. }),
  1600. smalltalk.PresentationNavigator);
  1601. smalltalk.addMethod(
  1602. unescape('_checkHash'),
  1603. smalltalk.method({
  1604. selector: unescape('checkHash'),
  1605. category: 'hash',
  1606. fn: function () {
  1607. var self = this;
  1608. smalltalk.send(smalltalk.send(self, "_currentPresentation", []), "_checkHash", []);
  1609. return self;
  1610. },
  1611. args: [],
  1612. source: unescape('checkHash%0A%09self%20currentPresentation%20checkHash'),
  1613. messageSends: ["checkHash", "currentPresentation"],
  1614. referencedClasses: []
  1615. }),
  1616. smalltalk.PresentationNavigator);
  1617. smalltalk.addMethod(
  1618. unescape('_checkHashChange'),
  1619. smalltalk.method({
  1620. selector: unescape('checkHashChange'),
  1621. category: 'hash',
  1622. fn: function () {
  1623. var self = this;
  1624. smalltalk.send(smalltalk.send(typeof window == "undefined" ? nil : window, "_jQuery_", [typeof window == "undefined" ? nil : window]), "_bind_do_", ["hashchange", function () {return smalltalk.send(self, "_checkHash", []);}]);
  1625. return self;
  1626. },
  1627. args: [],
  1628. source: unescape('checkHashChange%0A%09%28window%20jQuery%3A%20window%29%20bind%3A%20%27hashchange%27%20do%3A%20%5Bself%20checkHash%5D'),
  1629. messageSends: ["bind:do:", "jQuery:", "checkHash"],
  1630. referencedClasses: []
  1631. }),
  1632. smalltalk.PresentationNavigator);
  1633. smalltalk.addMethod(
  1634. unescape('_renderPresentationSelectOn_'),
  1635. smalltalk.method({
  1636. selector: unescape('renderPresentationSelectOn%3A'),
  1637. category: 'rendering',
  1638. fn: function (html) {
  1639. var self = this;
  1640. var presentationSelect = nil;
  1641. presentationSelect = smalltalk.send(html, "_select", []);
  1642. (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));
  1643. return self;
  1644. },
  1645. args: ["html"],
  1646. 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.'),
  1647. messageSends: ["select", "onChange:", "selectPresentationNamed:", "val", "asJQuery", "with:", "concretePresentationsDo:", "value:", "name", "title", "option"],
  1648. referencedClasses: [smalltalk.Presentation]
  1649. }),
  1650. smalltalk.PresentationNavigator);
  1651. smalltalk.addMethod(
  1652. unescape('_open'),
  1653. smalltalk.method({
  1654. selector: unescape('open'),
  1655. category: 'rendering',
  1656. fn: function () {
  1657. var self = this;
  1658. 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);}]);
  1659. return self;
  1660. },
  1661. args: [],
  1662. 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.'),
  1663. messageSends: ["ready:", "jQuery:", "appendToJQuery:", "asJQuery", "setKeybindings", "checkHashChange"],
  1664. referencedClasses: []
  1665. }),
  1666. smalltalk.PresentationNavigator);
  1667. smalltalk.addMethod(
  1668. unescape('_renderOn_'),
  1669. smalltalk.method({
  1670. selector: unescape('renderOn%3A'),
  1671. category: 'rendering',
  1672. fn: function (html) {
  1673. var self = this;
  1674. (function ($rec) {smalltalk.send($rec, "_type_", [unescape("text/css")]);return smalltalk.send($rec, "_with_", [smalltalk.send(self, "_style", [])]);}(smalltalk.send(html, "_style", [])));
  1675. (function ($rec) {smalltalk.send($rec, "_id_", ["navigator"]);return smalltalk.send($rec, "_with_", [function () {return function ($rec) {smalltalk.send($rec, "_renderToolsOn_", [html]);return smalltalk.send($rec, "_renderPresentationSelectOn_", [html]);}(self);}]);}(smalltalk.send(html, "_div", [])));
  1676. self['@presentationBrush'] = function ($rec) {smalltalk.send($rec, "_id_", ["presentation"]);return smalltalk.send($rec, "_yourself", []);}(smalltalk.send(html, "_div", []));
  1677. smalltalk.send(self, "_renderCurrentPresentation", []);
  1678. return self;
  1679. },
  1680. args: ["html"],
  1681. 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%09%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%20renderCurrentPresentation.'),
  1682. messageSends: ["type:", "with:", "style", "id:", "renderToolsOn:", "renderPresentationSelectOn:", "div", "yourself", "renderCurrentPresentation"],
  1683. referencedClasses: []
  1684. }),
  1685. smalltalk.PresentationNavigator);
  1686. smalltalk.addMethod(
  1687. unescape('_selectPresentation_'),
  1688. smalltalk.method({
  1689. selector: unescape('selectPresentation%3A'),
  1690. category: 'callbacks',
  1691. fn: function (aPresentationClass) {
  1692. var self = this;
  1693. smalltalk.send(self, "_currentPresentation_", [smalltalk.send(aPresentationClass, "_new", [])]);
  1694. smalltalk.send(self, "_renderCurrentPresentation", []);
  1695. return self;
  1696. },
  1697. args: ["aPresentationClass"],
  1698. source: unescape('selectPresentation%3A%20aPresentationClass%0A%09self%20currentPresentation%3A%20aPresentationClass%20new.%0A%09self%20renderCurrentPresentation.'),
  1699. messageSends: ["currentPresentation:", "new", "renderCurrentPresentation"],
  1700. referencedClasses: []
  1701. }),
  1702. smalltalk.PresentationNavigator);
  1703. smalltalk.addMethod(
  1704. unescape('_currentPresentation_'),
  1705. smalltalk.method({
  1706. selector: unescape('currentPresentation%3A'),
  1707. category: 'accessing',
  1708. fn: function (aPresentation) {
  1709. var self = this;
  1710. self['@currentPresentation'] = aPresentation;
  1711. return self;
  1712. },
  1713. args: ["aPresentation"],
  1714. source: unescape('currentPresentation%3A%20aPresentation%0A%09currentPresentation%20%3A%3D%20aPresentation.'),
  1715. messageSends: [],
  1716. referencedClasses: []
  1717. }),
  1718. smalltalk.PresentationNavigator);
  1719. smalltalk.addMethod(
  1720. unescape('_currentPresentation'),
  1721. smalltalk.method({
  1722. selector: unescape('currentPresentation'),
  1723. category: 'accessing',
  1724. fn: function () {
  1725. var self = this;
  1726. return ($receiver = self['@currentPresentation']) == nil ||
  1727. $receiver == undefined ? function () {return self['@currentPresentation'] = smalltalk.send(smalltalk.send(smalltalk.send(smalltalk.Presentation || Presentation, "_concretePresentations", []), "_first", []), "_new", []);}() : $receiver;
  1728. return self;
  1729. },
  1730. args: [],
  1731. source: unescape('currentPresentation%0A%09%5E%20%20currentPresentation%20ifNil%3A%20%5BcurrentPresentation%20%3A%3D%20Presentation%20concretePresentations%20first%20new%5D.'),
  1732. messageSends: ["ifNil:", "new", "first", "concretePresentations"],
  1733. referencedClasses: [smalltalk.Presentation]
  1734. }),
  1735. smalltalk.PresentationNavigator);
  1736. smalltalk.addMethod(
  1737. unescape('_selectPresentationNamed_'),
  1738. smalltalk.method({
  1739. selector: unescape('selectPresentationNamed%3A'),
  1740. category: 'callbacks',
  1741. fn: function (aString) {
  1742. var self = this;
  1743. var presentationClass = nil;
  1744. presentationClass = smalltalk.send(smalltalk.send(smalltalk.Smalltalk || Smalltalk, "_current", []), "_at_", [aString]);
  1745. ($receiver = presentationClass) != nil && $receiver != undefined ? function () {return smalltalk.send(self, "_selectPresentation_", [presentationClass]);}() : nil;
  1746. return self;
  1747. },
  1748. args: ["aString"],
  1749. 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.'),
  1750. messageSends: ["at:", "current", "ifNotNil:", "selectPresentation:"],
  1751. referencedClasses: [smalltalk.Smalltalk]
  1752. }),
  1753. smalltalk.PresentationNavigator);
  1754. smalltalk.addMethod(
  1755. unescape('_style'),
  1756. smalltalk.method({
  1757. selector: unescape('style'),
  1758. category: 'accessing',
  1759. fn: function () {
  1760. var self = this;
  1761. 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");
  1762. return self;
  1763. },
  1764. args: [],
  1765. 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'),
  1766. messageSends: [],
  1767. referencedClasses: []
  1768. }),
  1769. smalltalk.PresentationNavigator);
  1770. smalltalk.addMethod(
  1771. unescape('_renderCurrentPresentation'),
  1772. smalltalk.method({
  1773. selector: unescape('renderCurrentPresentation'),
  1774. category: 'rendering',
  1775. fn: function () {
  1776. var self = this;
  1777. smalltalk.send(self['@presentationBrush'], "_contents_", [function (html) {return function ($rec) {smalltalk.send($rec, "_renderOn_", [html]);return smalltalk.send($rec, "_checkHash", []);}(smalltalk.send(self, "_currentPresentation", []));}]);
  1778. return self;
  1779. },
  1780. args: [],
  1781. source: unescape('renderCurrentPresentation%0A%09presentationBrush%20contents%3A%20%5B%3Ahtml%20%7C%0A%20%20%20%20%20%20%20%20%09self%20currentPresentation%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%09renderOn%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%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%09checkHash.%0A%20%20%20%20%20%20%20%20%5D.%0A'),
  1782. messageSends: ["contents:", "renderOn:", "checkHash", "currentPresentation"],
  1783. referencedClasses: []
  1784. }),
  1785. smalltalk.PresentationNavigator);
  1786. smalltalk.addMethod(
  1787. unescape('_previousSlide'),
  1788. smalltalk.method({
  1789. selector: unescape('previousSlide'),
  1790. category: 'callbacks',
  1791. fn: function () {
  1792. var self = this;
  1793. smalltalk.send(smalltalk.send(self, "_currentPresentation", []), "_previousSlide", []);
  1794. return self;
  1795. },
  1796. args: [],
  1797. source: unescape('previousSlide%0A%09self%20currentPresentation%20previousSlide'),
  1798. messageSends: ["previousSlide", "currentPresentation"],
  1799. referencedClasses: []
  1800. }),
  1801. smalltalk.PresentationNavigator);
  1802. smalltalk.addMethod(
  1803. unescape('_nextSlide'),
  1804. smalltalk.method({
  1805. selector: unescape('nextSlide'),
  1806. category: 'callbacks',
  1807. fn: function () {
  1808. var self = this;
  1809. smalltalk.send(smalltalk.send(self, "_currentPresentation", []), "_nextSlide", []);
  1810. return self;
  1811. },
  1812. args: [],
  1813. source: unescape('nextSlide%0A%09self%20currentPresentation%20nextSlide'),
  1814. messageSends: ["nextSlide", "currentPresentation"],
  1815. referencedClasses: []
  1816. }),
  1817. smalltalk.PresentationNavigator);
  1818. smalltalk.addMethod(
  1819. unescape('_reload'),
  1820. smalltalk.method({
  1821. selector: unescape('reload'),
  1822. category: 'callbacks',
  1823. fn: function () {
  1824. var self = this;
  1825. smalltalk.send(self, "_currentPresentation_", [smalltalk.send(smalltalk.send(smalltalk.send(self, "_currentPresentation", []), "_class", []), "_new", [])]);
  1826. smalltalk.send(self, "_renderCurrentPresentation", []);
  1827. return self;
  1828. },
  1829. args: [],
  1830. source: unescape('reload%0A%09self%20currentPresentation%3A%20self%20currentPresentation%20class%20new.%0A%09self%20renderCurrentPresentation.'),
  1831. messageSends: ["currentPresentation:", "new", "class", "currentPresentation", "renderCurrentPresentation"],
  1832. referencedClasses: []
  1833. }),
  1834. smalltalk.PresentationNavigator);
  1835. smalltalk.addMethod(
  1836. unescape('_initialize'),
  1837. smalltalk.method({
  1838. selector: unescape('initialize'),
  1839. category: 'initialize',
  1840. fn: function () {
  1841. var self = this;
  1842. return smalltalk.send(self, "_open", []);
  1843. return self;
  1844. },
  1845. args: [],
  1846. source: unescape('initialize%0A%09%5E%20self%20open'),
  1847. messageSends: ["open"],
  1848. referencedClasses: []
  1849. }),
  1850. smalltalk.PresentationNavigator.klass);
  1851. smalltalk.addMethod(
  1852. unescape('_open'),
  1853. smalltalk.method({
  1854. selector: unescape('open'),
  1855. category: 'initialize',
  1856. fn: function () {
  1857. var self = this;
  1858. return smalltalk.send(smalltalk.send(self, "_new", []), "_open", []);
  1859. return self;
  1860. },
  1861. args: [],
  1862. source: unescape('open%0A%09%5E%20self%20new%20open'),
  1863. messageSends: ["open", "new"],
  1864. referencedClasses: []
  1865. }),
  1866. smalltalk.PresentationNavigator.klass);