2
0

Presentation.deploy.js 58 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209
  1. smalltalk.addClass('Slide', smalltalk.Widget, ['presentation'], 'Presentation');
  2. smalltalk.addMethod(
  3. '_presentation',
  4. smalltalk.method({
  5. selector: 'presentation',
  6. fn: function (){
  7. var self=this;
  8. return self['@presentation'];
  9. return self;}
  10. }),
  11. smalltalk.Slide);
  12. smalltalk.addMethod(
  13. '_presentation_',
  14. smalltalk.method({
  15. selector: 'presentation:',
  16. fn: function (aPresentation){
  17. var self=this;
  18. self['@presentation']=aPresentation;
  19. return self;}
  20. }),
  21. smalltalk.Slide);
  22. smalltalk.addMethod(
  23. '_id',
  24. smalltalk.method({
  25. selector: 'id',
  26. fn: function (){
  27. var self=this;
  28. smalltalk.send(self, "_subclassResponsibility", []);
  29. return self;}
  30. }),
  31. smalltalk.Slide);
  32. smalltalk.addMethod(
  33. '_cssClass',
  34. smalltalk.method({
  35. selector: 'cssClass',
  36. fn: function (){
  37. var self=this;
  38. return "slide";
  39. return self;}
  40. }),
  41. smalltalk.Slide);
  42. smalltalk.addMethod(
  43. '_backgroundColor',
  44. smalltalk.method({
  45. selector: 'backgroundColor',
  46. fn: function (){
  47. var self=this;
  48. return unescape("%23555");
  49. return self;}
  50. }),
  51. smalltalk.Slide);
  52. smalltalk.addMethod(
  53. '_show',
  54. smalltalk.method({
  55. selector: 'show',
  56. fn: function (){
  57. var self=this;
  58. smalltalk.send(smalltalk.send((typeof document == 'undefined' ? nil : document), "_location", []), "_hash_", [smalltalk.send(self, "_id", [])]);
  59. (($receiver = smalltalk.send(self, "_backgroundColor", [])) != nil && $receiver != undefined) ? (function(){return smalltalk.send(smalltalk.send((typeof window == 'undefined' ? nil : window), "_jQuery_", [unescape("%23slides")]), "_css_color_", ["background", smalltalk.send(self, "_backgroundColor", [])]);})() : nil;
  60. smalltalk.send(smalltalk.send((typeof window == 'undefined' ? nil : window), "_jQuery_", [".slide"]), "_hide_options_duration_", [smalltalk.send(smalltalk.send(self, "_presentation", []), "_slideTransition", []), [], (300)]);
  61. 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)]);
  62. return self;}
  63. }),
  64. smalltalk.Slide);
  65. smalltalk.addMethod(
  66. '_renderOn_',
  67. smalltalk.method({
  68. selector: 'renderOn:',
  69. fn: function (html){
  70. var self=this;
  71. (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", []));
  72. return self;}
  73. }),
  74. smalltalk.Slide);
  75. smalltalk.addMethod(
  76. '_renderSlideOn_',
  77. smalltalk.method({
  78. selector: 'renderSlideOn:',
  79. fn: function (html){
  80. var self=this;
  81. return self;}
  82. }),
  83. smalltalk.Slide);
  84. smalltalk.addMethod(
  85. '_renderMetaOn_',
  86. smalltalk.method({
  87. selector: 'renderMetaOn:',
  88. fn: function (html){
  89. var self=this;
  90. (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", []));
  91. return self;}
  92. }),
  93. smalltalk.Slide);
  94. smalltalk.addMethod(
  95. '_on_',
  96. smalltalk.method({
  97. selector: 'on:',
  98. fn: function (aPresentation){
  99. var self=this;
  100. return (function($rec){smalltalk.send($rec, "_presentation_", [aPresentation]);return smalltalk.send($rec, "_yourself", []);})(smalltalk.send(self, "_new", []));
  101. return self;}
  102. }),
  103. smalltalk.Slide.klass);
  104. smalltalk.addClass('Presentation', smalltalk.Widget, ['currentSlide', 'slides'], 'Presentation');
  105. smalltalk.addMethod(
  106. '_title',
  107. smalltalk.method({
  108. selector: 'title',
  109. fn: function (){
  110. var self=this;
  111. return "Slides";
  112. return self;}
  113. }),
  114. smalltalk.Presentation);
  115. smalltalk.addMethod(
  116. '_author',
  117. smalltalk.method({
  118. selector: 'author',
  119. fn: function (){
  120. var self=this;
  121. return "John Smith";
  122. return self;}
  123. }),
  124. smalltalk.Presentation);
  125. smalltalk.addMethod(
  126. '_url',
  127. smalltalk.method({
  128. selector: 'url',
  129. fn: function (){
  130. var self=this;
  131. return unescape("http%3A//jtalk-project.org");
  132. return self;}
  133. }),
  134. smalltalk.Presentation);
  135. smalltalk.addMethod(
  136. '_description',
  137. smalltalk.method({
  138. selector: 'description',
  139. fn: function (){
  140. var self=this;
  141. return "A presentation written in Jtalk";
  142. return self;}
  143. }),
  144. smalltalk.Presentation);
  145. smalltalk.addMethod(
  146. '_email',
  147. smalltalk.method({
  148. selector: 'email',
  149. fn: function (){
  150. var self=this;
  151. return unescape("john@smith.com");
  152. return self;}
  153. }),
  154. smalltalk.Presentation);
  155. smalltalk.addMethod(
  156. '_slides',
  157. smalltalk.method({
  158. selector: 'slides',
  159. fn: function (){
  160. var self=this;
  161. (($receiver = self['@slides']) == nil || $receiver == undefined) ? (function(){return smalltalk.send(self, "_initSlides", []);})() : $receiver;
  162. return self['@slides'];
  163. return self;}
  164. }),
  165. smalltalk.Presentation);
  166. smalltalk.addMethod(
  167. '_slideClasses',
  168. smalltalk.method({
  169. selector: 'slideClasses',
  170. fn: function (){
  171. var self=this;
  172. return smalltalk.send(self, "_subclassResponsibility", []);
  173. return self;}
  174. }),
  175. smalltalk.Presentation);
  176. smalltalk.addMethod(
  177. '_currentSlide',
  178. smalltalk.method({
  179. selector: 'currentSlide',
  180. fn: function (){
  181. var self=this;
  182. return self['@currentSlide'];
  183. return self;}
  184. }),
  185. smalltalk.Presentation);
  186. smalltalk.addMethod(
  187. '_currentSlide_',
  188. smalltalk.method({
  189. selector: 'currentSlide:',
  190. fn: function (aSlide){
  191. var self=this;
  192. self['@currentSlide']=aSlide;
  193. return self;}
  194. }),
  195. smalltalk.Presentation);
  196. smalltalk.addMethod(
  197. '_slideTransition',
  198. smalltalk.method({
  199. selector: 'slideTransition',
  200. fn: function (){
  201. var self=this;
  202. return "fade";
  203. return self;}
  204. }),
  205. smalltalk.Presentation);
  206. smalltalk.addMethod(
  207. '_style',
  208. smalltalk.method({
  209. selector: 'style',
  210. fn: function (){
  211. var self=this;
  212. return "";
  213. return self;}
  214. }),
  215. smalltalk.Presentation);
  216. smalltalk.addMethod(
  217. '_reload',
  218. smalltalk.method({
  219. selector: 'reload',
  220. fn: function (){
  221. var self=this;
  222. smalltalk.send(smalltalk.send(unescape("%23slides"), "_asJQuery", []), "_remove", []);
  223. smalltalk.send(smalltalk.send(unescape("%23tools"), "_asJQuery", []), "_remove", []);
  224. smalltalk.send(self, "_initSlides", []);
  225. smalltalk.send(self, "_appendToJQuery_", [smalltalk.send("body", "_asJQuery", [])]);
  226. smalltalk.send(self, "_checkHash", []);
  227. return self;}
  228. }),
  229. smalltalk.Presentation);
  230. smalltalk.addMethod(
  231. '_setup',
  232. smalltalk.method({
  233. selector: 'setup',
  234. fn: function (){
  235. var self=this;
  236. smalltalk.send((smalltalk.Presentation || Presentation), "_setCurrent_", [self]);
  237. smalltalk.send(smalltalk.send((typeof window == 'undefined' ? nil : window), "_jQuery_", [(typeof document == 'undefined' ? nil : document)]), "_ready_", [(function(){smalltalk.send(self, "_appendToJQuery_", [smalltalk.send("body", "_asJQuery", [])]);return (function($rec){smalltalk.send($rec, "_setKeybindings", []);smalltalk.send($rec, "_checkHashChange", []);return smalltalk.send($rec, "_checkHash", []);})(self);})]);
  238. return self;}
  239. }),
  240. smalltalk.Presentation);
  241. smalltalk.addMethod(
  242. '_nextSlide',
  243. smalltalk.method({
  244. selector: 'nextSlide',
  245. fn: function (){
  246. var self=this;
  247. var next=nil;
  248. (($receiver = smalltalk.send(self, "_currentSlide", [])) != nil && $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;
  249. return self;}
  250. }),
  251. smalltalk.Presentation);
  252. smalltalk.addMethod(
  253. '_showCurrentSlide',
  254. smalltalk.method({
  255. selector: 'showCurrentSlide',
  256. fn: function (){
  257. var self=this;
  258. (($receiver = smalltalk.send(self, "_currentSlide", [])) != nil && $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;
  259. return self;}
  260. }),
  261. smalltalk.Presentation);
  262. smalltalk.addMethod(
  263. '_previousSlide',
  264. smalltalk.method({
  265. selector: 'previousSlide',
  266. fn: function (){
  267. var self=this;
  268. var next=nil;
  269. (($receiver = smalltalk.send(self, "_currentSlide", [])) != nil && $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;
  270. return self;}
  271. }),
  272. smalltalk.Presentation);
  273. smalltalk.addMethod(
  274. '_setKeybindings',
  275. smalltalk.method({
  276. selector: 'setKeybindings',
  277. fn: function (){
  278. var self=this;
  279. smalltalk.send(smalltalk.send((typeof window == 'undefined' ? nil : window), "_jQuery_", [(typeof document == 'undefined' ? nil : document)]), "_keyup_", [(function(e){var node=nil;
  280. 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", []);})]));})]));})]);
  281. return self;}
  282. }),
  283. smalltalk.Presentation);
  284. smalltalk.addMethod(
  285. '_checkHashChange',
  286. smalltalk.method({
  287. selector: 'checkHashChange',
  288. fn: function (){
  289. var self=this;
  290. smalltalk.send(smalltalk.send((typeof window == 'undefined' ? nil : window), "_jQuery_", [(typeof window == 'undefined' ? nil : window)]), "_bind_do_", ["hashchange", (function(){return smalltalk.send(self, "_checkHash", []);})]);
  291. return self;}
  292. }),
  293. smalltalk.Presentation);
  294. smalltalk.addMethod(
  295. '_checkHash',
  296. smalltalk.method({
  297. selector: 'checkHash',
  298. fn: function (){
  299. var self=this;
  300. var hash=nil;
  301. var slide=nil;
  302. hash=smalltalk.send(smalltalk.send(smalltalk.send((typeof document == 'undefined' ? nil : document), "_location", []), "_hash", []), "_replace_with_", [unescape("%5E%23"), ""]);
  303. slide=smalltalk.send(smalltalk.send(self, "_slides", []), "_detect_ifNone_", [(function(each){return smalltalk.send(smalltalk.send(each, "_id", []), "__eq", [hash]);}), (function(){return nil;})]);
  304. (($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;
  305. return self;}
  306. }),
  307. smalltalk.Presentation);
  308. smalltalk.addMethod(
  309. '_initSlides',
  310. smalltalk.method({
  311. selector: 'initSlides',
  312. fn: function (){
  313. var self=this;
  314. self['@slides']=smalltalk.send(smalltalk.send(self, "_slideClasses", []), "_collect_", [(function(each){return smalltalk.send(each, "_on_", [self]);})]);
  315. return self;}
  316. }),
  317. smalltalk.Presentation);
  318. smalltalk.addMethod(
  319. '_renderOn_',
  320. smalltalk.method({
  321. selector: 'renderOn:',
  322. fn: function (html){
  323. var self=this;
  324. (function($rec){smalltalk.send($rec, "_type_", [unescape("text/css")]);return smalltalk.send($rec, "_with_", [smalltalk.send(self, "_style", [])]);})(smalltalk.send(html, "_style", []));
  325. (function($rec){smalltalk.send($rec, "_id_", ["tools"]);return smalltalk.send($rec, "_with_", [(function(){return smalltalk.send(self, "_renderToolsOn_", [html]);})]);})(smalltalk.send(html, "_div", []));
  326. (function($rec){smalltalk.send($rec, "_id_", ["slides"]);return smalltalk.send($rec, "_with_", [(function(){return smalltalk.send(self, "_renderSlidesOn_", [html]);})]);})(smalltalk.send(html, "_div", []));
  327. return self;}
  328. }),
  329. smalltalk.Presentation);
  330. smalltalk.addMethod(
  331. '_renderSlidesOn_',
  332. smalltalk.method({
  333. selector: 'renderSlidesOn:',
  334. fn: function (html){
  335. var self=this;
  336. smalltalk.send(smalltalk.send(self, "_slides", []), "_do_", [(function(each){return smalltalk.send(each, "_renderOn_", [html]);})]);
  337. (($receiver = self['@currentSlide']) == nil || $receiver == undefined) ? (function(){return self['@currentSlide']=smalltalk.send(smalltalk.send(self, "_slides", []), "_first", []);})() : $receiver;
  338. smalltalk.send(self, "_showCurrentSlide", []);
  339. return self;}
  340. }),
  341. smalltalk.Presentation);
  342. smalltalk.addMethod(
  343. '_renderToolsOn_',
  344. smalltalk.method({
  345. selector: 'renderToolsOn:',
  346. fn: function (html){
  347. var self=this;
  348. (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", []));
  349. (function($rec){smalltalk.send($rec, "_with_", ["Reload"]);return smalltalk.send($rec, "_onClick_", [(function(){return smalltalk.send(self, "_reload", []);})]);})(smalltalk.send(html, "_a", []));
  350. (function($rec){smalltalk.send($rec, "_with_", [unescape("%u2190")]);return smalltalk.send($rec, "_onClick_", [(function(){return smalltalk.send(self, "_previousSlide", []);})]);})(smalltalk.send(html, "_a", []));
  351. (function($rec){smalltalk.send($rec, "_with_", [unescape("%u2192")]);return smalltalk.send($rec, "_onClick_", [(function(){return smalltalk.send(self, "_nextSlide", []);})]);})(smalltalk.send(html, "_a", []));
  352. return self;}
  353. }),
  354. smalltalk.Presentation);
  355. smalltalk.Presentation.klass.iVarNames = ['current'];
  356. smalltalk.addMethod(
  357. '_initialize',
  358. smalltalk.method({
  359. selector: 'initialize',
  360. fn: function (){
  361. var self=this;
  362. ((($receiver = smalltalk.send(self, "_isConcrete", [])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return smalltalk.send(self, "_setup", []);})() : nil) : smalltalk.send($receiver, "_ifTrue_", [(function(){return smalltalk.send(self, "_setup", []);})]));
  363. return self;}
  364. }),
  365. smalltalk.Presentation.klass);
  366. smalltalk.addMethod(
  367. '_setup',
  368. smalltalk.method({
  369. selector: 'setup',
  370. fn: function (){
  371. var self=this;
  372. smalltalk.send(smalltalk.send(self, "_new", []), "_setup", []);
  373. return self;}
  374. }),
  375. smalltalk.Presentation.klass);
  376. smalltalk.addMethod(
  377. '_setCurrent_',
  378. smalltalk.method({
  379. selector: 'setCurrent:',
  380. fn: function (aSlides){
  381. var self=this;
  382. self['@current']=aSlides;
  383. return self;}
  384. }),
  385. smalltalk.Presentation.klass);
  386. smalltalk.addMethod(
  387. '_current',
  388. smalltalk.method({
  389. selector: 'current',
  390. fn: function (){
  391. var self=this;
  392. return self['@current'];
  393. return self;}
  394. }),
  395. smalltalk.Presentation.klass);
  396. smalltalk.addMethod(
  397. '_isConcrete',
  398. smalltalk.method({
  399. selector: 'isConcrete',
  400. fn: function (){
  401. var self=this;
  402. return false;
  403. return self;}
  404. }),
  405. smalltalk.Presentation.klass);
  406. smalltalk.addClass('ESUG2011Presentation', smalltalk.Presentation, [], 'Presentation');
  407. smalltalk.addMethod(
  408. '_title',
  409. smalltalk.method({
  410. selector: 'title',
  411. fn: function (){
  412. var self=this;
  413. return "Jtalk";
  414. return self;}
  415. }),
  416. smalltalk.ESUG2011Presentation);
  417. smalltalk.addMethod(
  418. '_description',
  419. smalltalk.method({
  420. selector: 'description',
  421. fn: function (){
  422. var self=this;
  423. return unescape("ESUG%202011%2C%20Edinburgh");
  424. return self;}
  425. }),
  426. smalltalk.ESUG2011Presentation);
  427. smalltalk.addMethod(
  428. '_author',
  429. smalltalk.method({
  430. selector: 'author',
  431. fn: function (){
  432. var self=this;
  433. return "Nicolas Petton";
  434. return self;}
  435. }),
  436. smalltalk.ESUG2011Presentation);
  437. smalltalk.addMethod(
  438. '_email',
  439. smalltalk.method({
  440. selector: 'email',
  441. fn: function (){
  442. var self=this;
  443. return unescape("nico@objectfusion.fr");
  444. return self;}
  445. }),
  446. smalltalk.ESUG2011Presentation);
  447. smalltalk.addMethod(
  448. '_url',
  449. smalltalk.method({
  450. selector: 'url',
  451. fn: function (){
  452. var self=this;
  453. return unescape("http%3A//jtalk-project.org");
  454. return self;}
  455. }),
  456. smalltalk.ESUG2011Presentation);
  457. smalltalk.addMethod(
  458. '_slideClasses',
  459. smalltalk.method({
  460. selector: 'slideClasses',
  461. fn: function (){
  462. var self=this;
  463. 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", []));
  464. return self;}
  465. }),
  466. smalltalk.ESUG2011Presentation);
  467. smalltalk.addMethod(
  468. '_style',
  469. smalltalk.method({
  470. selector: 'style',
  471. fn: function (){
  472. var self=this;
  473. 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%23tools%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%20width%3A%20300px%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%23tools%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%23tools%3Ahover%20%7B%0A%20%20%20%20opacity%3A%200.8%3B%0A%7D%0A%0A.slide%20%7B%0A%20%20%20%20%0A%7D%0A");
  474. return self;}
  475. }),
  476. smalltalk.ESUG2011Presentation);
  477. smalltalk.ESUG2011Presentation.klass.iVarNames = ['current'];
  478. smalltalk.addMethod(
  479. '_isConcrete',
  480. smalltalk.method({
  481. selector: 'isConcrete',
  482. fn: function (){
  483. var self=this;
  484. return true;
  485. return self;}
  486. }),
  487. smalltalk.ESUG2011Presentation.klass);
  488. smalltalk.addClass('IntroSlide', smalltalk.Slide, [], 'Presentation');
  489. smalltalk.addMethod(
  490. '_id',
  491. smalltalk.method({
  492. selector: 'id',
  493. fn: function (){
  494. var self=this;
  495. return "intro";
  496. return self;}
  497. }),
  498. smalltalk.IntroSlide);
  499. smalltalk.addMethod(
  500. '_cssClass',
  501. smalltalk.method({
  502. selector: 'cssClass',
  503. fn: function (){
  504. var self=this;
  505. return "slide black";
  506. return self;}
  507. }),
  508. smalltalk.IntroSlide);
  509. smalltalk.addMethod(
  510. '_renderSlideOn_',
  511. smalltalk.method({
  512. selector: 'renderSlideOn:',
  513. fn: function (html){
  514. var self=this;
  515. (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", []));
  516. return self;}
  517. }),
  518. smalltalk.IntroSlide);
  519. smalltalk.addClass('WhatIsJtalkSlide', smalltalk.Slide, [], 'Presentation');
  520. smalltalk.addMethod(
  521. '_id',
  522. smalltalk.method({
  523. selector: 'id',
  524. fn: function (){
  525. var self=this;
  526. return "WhatIsJtalk";
  527. return self;}
  528. }),
  529. smalltalk.WhatIsJtalkSlide);
  530. smalltalk.addMethod(
  531. '_renderSlideOn_',
  532. smalltalk.method({
  533. selector: 'renderSlideOn:',
  534. fn: function (html){
  535. var self=this;
  536. (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", []));
  537. return self;}
  538. }),
  539. smalltalk.WhatIsJtalkSlide);
  540. smalltalk.addClass('JtalkFeaturesSlide', smalltalk.Slide, [], 'Presentation');
  541. smalltalk.addMethod(
  542. '_id',
  543. smalltalk.method({
  544. selector: 'id',
  545. fn: function (){
  546. var self=this;
  547. return "features";
  548. return self;}
  549. }),
  550. smalltalk.JtalkFeaturesSlide);
  551. smalltalk.addMethod(
  552. '_renderSlideOn_',
  553. smalltalk.method({
  554. selector: 'renderSlideOn:',
  555. fn: function (html){
  556. var self=this;
  557. smalltalk.send(smalltalk.send(html, "_h1", []), "_with_", ["Jtalk features"]);
  558. 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"]);})]);})]);
  559. return self;}
  560. }),
  561. smalltalk.JtalkFeaturesSlide);
  562. smalltalk.addClass('AboutSlide', smalltalk.Slide, [], 'Presentation');
  563. smalltalk.addMethod(
  564. '_id',
  565. smalltalk.method({
  566. selector: 'id',
  567. fn: function (){
  568. var self=this;
  569. return "about";
  570. return self;}
  571. }),
  572. smalltalk.AboutSlide);
  573. smalltalk.addMethod(
  574. '_cssClass',
  575. smalltalk.method({
  576. selector: 'cssClass',
  577. fn: function (){
  578. var self=this;
  579. return "slide transparent white";
  580. return self;}
  581. }),
  582. smalltalk.AboutSlide);
  583. smalltalk.addMethod(
  584. '_backgroundColor',
  585. smalltalk.method({
  586. selector: 'backgroundColor',
  587. fn: function (){
  588. var self=this;
  589. return "white";
  590. return self;}
  591. }),
  592. smalltalk.AboutSlide);
  593. smalltalk.addMethod(
  594. '_renderSlideOn_',
  595. smalltalk.method({
  596. selector: 'renderSlideOn:',
  597. fn: function (html){
  598. var self=this;
  599. (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", []));
  600. return self;}
  601. }),
  602. smalltalk.AboutSlide);
  603. smalltalk.addClass('JtalkAndJavascriptSlide3', smalltalk.Slide, [], 'Presentation');
  604. smalltalk.addMethod(
  605. '_id',
  606. smalltalk.method({
  607. selector: 'id',
  608. fn: function (){
  609. var self=this;
  610. return "jtalkAndJs3";
  611. return self;}
  612. }),
  613. smalltalk.JtalkAndJavascriptSlide3);
  614. smalltalk.addMethod(
  615. '_backgroundColor',
  616. smalltalk.method({
  617. selector: 'backgroundColor',
  618. fn: function (){
  619. var self=this;
  620. return unescape("%2308C");
  621. return self;}
  622. }),
  623. smalltalk.JtalkAndJavascriptSlide3);
  624. smalltalk.addMethod(
  625. '_renderSlideOn_',
  626. smalltalk.method({
  627. selector: 'renderSlideOn:',
  628. fn: function (html){
  629. var self=this;
  630. 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"]);})]);
  631. smalltalk.send(smalltalk.send(html, "_h2", []), "_with_", [unescape("Smalltalk%20%u21D2%20JavaScript")]);
  632. 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", []));})]);
  633. return self;}
  634. }),
  635. smalltalk.JtalkAndJavascriptSlide3);
  636. smalltalk.addClass('JtalkAndJavascriptSlide2', smalltalk.Slide, [], 'Presentation');
  637. smalltalk.addMethod(
  638. '_id',
  639. smalltalk.method({
  640. selector: 'id',
  641. fn: function (){
  642. var self=this;
  643. return "jtalkAndJs2";
  644. return self;}
  645. }),
  646. smalltalk.JtalkAndJavascriptSlide2);
  647. smalltalk.addMethod(
  648. '_backgroundColor',
  649. smalltalk.method({
  650. selector: 'backgroundColor',
  651. fn: function (){
  652. var self=this;
  653. return unescape("%2308C");
  654. return self;}
  655. }),
  656. smalltalk.JtalkAndJavascriptSlide2);
  657. smalltalk.addMethod(
  658. '_renderSlideOn_',
  659. smalltalk.method({
  660. selector: 'renderSlideOn:',
  661. fn: function (html){
  662. var self=this;
  663. 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"]);})]);
  664. smalltalk.send(smalltalk.send(html, "_h2", []), "_with_", ["Jtalk maps one to one with the JavaScript equivalent:"]);
  665. 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."]);})]);
  666. return self;}
  667. }),
  668. smalltalk.JtalkAndJavascriptSlide2);
  669. smalltalk.addClass('JtalkAndJavascriptSlide', smalltalk.Slide, [], 'Presentation');
  670. smalltalk.addMethod(
  671. '_id',
  672. smalltalk.method({
  673. selector: 'id',
  674. fn: function (){
  675. var self=this;
  676. return "jtalkAndJs";
  677. return self;}
  678. }),
  679. smalltalk.JtalkAndJavascriptSlide);
  680. smalltalk.addMethod(
  681. '_cssClass',
  682. smalltalk.method({
  683. selector: 'cssClass',
  684. fn: function (){
  685. var self=this;
  686. return "slide transparent";
  687. return self;}
  688. }),
  689. smalltalk.JtalkAndJavascriptSlide);
  690. smalltalk.addMethod(
  691. '_backgroundColor',
  692. smalltalk.method({
  693. selector: 'backgroundColor',
  694. fn: function (){
  695. var self=this;
  696. return unescape("%2308C");
  697. return self;}
  698. }),
  699. smalltalk.JtalkAndJavascriptSlide);
  700. smalltalk.addMethod(
  701. '_renderSlideOn_',
  702. smalltalk.method({
  703. selector: 'renderSlideOn:',
  704. fn: function (html){
  705. var self=this;
  706. (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", []));
  707. return self;}
  708. }),
  709. smalltalk.JtalkAndJavascriptSlide);
  710. smalltalk.addClass('WorkspaceSlide', smalltalk.Slide, [], 'Presentation');
  711. smalltalk.addMethod(
  712. '_id',
  713. smalltalk.method({
  714. selector: 'id',
  715. fn: function (){
  716. var self=this;
  717. return "workspace";
  718. return self;}
  719. }),
  720. smalltalk.WorkspaceSlide);
  721. smalltalk.addMethod(
  722. '_backgroundColor',
  723. smalltalk.method({
  724. selector: 'backgroundColor',
  725. fn: function (){
  726. var self=this;
  727. return unescape("%2318bd7d");
  728. return self;}
  729. }),
  730. smalltalk.WorkspaceSlide);
  731. smalltalk.addMethod(
  732. '_renderSlideOn_',
  733. smalltalk.method({
  734. selector: 'renderSlideOn:',
  735. fn: function (html){
  736. var self=this;
  737. var workspace=nil;
  738. workspace=smalltalk.send((smalltalk.SourceArea || SourceArea), "_new", []);
  739. (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", []));
  740. return self;}
  741. }),
  742. smalltalk.WorkspaceSlide);
  743. smalltalk.addClass('CountersSlide', smalltalk.Slide, [], 'Presentation');
  744. smalltalk.addMethod(
  745. '_id',
  746. smalltalk.method({
  747. selector: 'id',
  748. fn: function (){
  749. var self=this;
  750. return "counters";
  751. return self;}
  752. }),
  753. smalltalk.CountersSlide);
  754. smalltalk.addMethod(
  755. '_backgroundColor',
  756. smalltalk.method({
  757. selector: 'backgroundColor',
  758. fn: function (){
  759. var self=this;
  760. return unescape("%2318bd7d");
  761. return self;}
  762. }),
  763. smalltalk.CountersSlide);
  764. smalltalk.addMethod(
  765. '_renderSlideOn_',
  766. smalltalk.method({
  767. selector: 'renderSlideOn:',
  768. fn: function (html){
  769. var self=this;
  770. (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", []));
  771. return self;}
  772. }),
  773. smalltalk.CountersSlide);
  774. smalltalk.addClass('JtalkAndJavascriptSlide4', smalltalk.Slide, [], 'Presentation');
  775. smalltalk.addMethod(
  776. '_id',
  777. smalltalk.method({
  778. selector: 'id',
  779. fn: function (){
  780. var self=this;
  781. return "jtalkAndJs4";
  782. return self;}
  783. }),
  784. smalltalk.JtalkAndJavascriptSlide4);
  785. smalltalk.addMethod(
  786. '_backgroundColor',
  787. smalltalk.method({
  788. selector: 'backgroundColor',
  789. fn: function (){
  790. var self=this;
  791. return unescape("%2308C");
  792. return self;}
  793. }),
  794. smalltalk.JtalkAndJavascriptSlide4);
  795. smalltalk.addMethod(
  796. '_renderSlideOn_',
  797. smalltalk.method({
  798. selector: 'renderSlideOn:',
  799. fn: function (html){
  800. var self=this;
  801. 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);})]);
  802. smalltalk.send(smalltalk.send(html, "_h2", []), "_with_", [unescape("JavaScript%20%u21D2%20Smalltalk")]);
  803. 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", []));})]);
  804. return self;}
  805. }),
  806. smalltalk.JtalkAndJavascriptSlide4);
  807. smalltalk.addClass('IDESlide', smalltalk.Slide, [], 'Presentation');
  808. smalltalk.addMethod(
  809. '_id',
  810. smalltalk.method({
  811. selector: 'id',
  812. fn: function (){
  813. var self=this;
  814. return "ide";
  815. return self;}
  816. }),
  817. smalltalk.IDESlide);
  818. smalltalk.addMethod(
  819. '_backgroundColor',
  820. smalltalk.method({
  821. selector: 'backgroundColor',
  822. fn: function (){
  823. var self=this;
  824. return "black";
  825. return self;}
  826. }),
  827. smalltalk.IDESlide);
  828. smalltalk.addMethod(
  829. '_cssClass',
  830. smalltalk.method({
  831. selector: 'cssClass',
  832. fn: function (){
  833. var self=this;
  834. return "slide transparent";
  835. return self;}
  836. }),
  837. smalltalk.IDESlide);
  838. smalltalk.addMethod(
  839. '_renderSlideOn_',
  840. smalltalk.method({
  841. selector: 'renderSlideOn:',
  842. fn: function (html){
  843. var self=this;
  844. return self;}
  845. }),
  846. smalltalk.IDESlide);
  847. smalltalk.addClass('ContributionsSlide', smalltalk.Slide, [], 'Presentation');
  848. smalltalk.addMethod(
  849. '_id',
  850. smalltalk.method({
  851. selector: 'id',
  852. fn: function (){
  853. var self=this;
  854. return "links";
  855. return self;}
  856. }),
  857. smalltalk.ContributionsSlide);
  858. smalltalk.addMethod(
  859. '_renderSlideOn_',
  860. smalltalk.method({
  861. selector: 'renderSlideOn:',
  862. fn: function (html){
  863. var self=this;
  864. (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", []));
  865. return self;}
  866. }),
  867. smalltalk.ContributionsSlide);
  868. smalltalk.addClass('JtalkAndCLI', smalltalk.Slide, [], 'Presentation');
  869. smalltalk.addMethod(
  870. '_backgroundColor',
  871. smalltalk.method({
  872. selector: 'backgroundColor',
  873. fn: function (){
  874. var self=this;
  875. return unescape("%230A1");
  876. return self;}
  877. }),
  878. smalltalk.JtalkAndCLI);
  879. smalltalk.addMethod(
  880. '_id',
  881. smalltalk.method({
  882. selector: 'id',
  883. fn: function (){
  884. var self=this;
  885. return "JtalkAndCLI";
  886. return self;}
  887. }),
  888. smalltalk.JtalkAndCLI);
  889. smalltalk.addMethod(
  890. '_renderSlideOn_',
  891. smalltalk.method({
  892. selector: 'renderSlideOn:',
  893. fn: function (html){
  894. var self=this;
  895. 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", []));})]);
  896. smalltalk.send(smalltalk.send(html, "_h2", []), "_with_", [unescape("jtalkc%20-%20a%20fairly%20elaborate%20bash%20script%20that%3A")]);
  897. 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"]);})]);
  898. return self;}
  899. }),
  900. smalltalk.JtalkAndCLI);
  901. smalltalk.addClass('JtalkAndNode', smalltalk.Slide, [], 'Presentation');
  902. smalltalk.addMethod(
  903. '_backgroundColor',
  904. smalltalk.method({
  905. selector: 'backgroundColor',
  906. fn: function (){
  907. var self=this;
  908. return unescape("%230A1");
  909. return self;}
  910. }),
  911. smalltalk.JtalkAndNode);
  912. smalltalk.addMethod(
  913. '_id',
  914. smalltalk.method({
  915. selector: 'id',
  916. fn: function (){
  917. var self=this;
  918. return "JtalkAndNode";
  919. return self;}
  920. }),
  921. smalltalk.JtalkAndNode);
  922. smalltalk.addMethod(
  923. '_renderSlideOn_',
  924. smalltalk.method({
  925. selector: 'renderSlideOn:',
  926. fn: function (html){
  927. var self=this;
  928. 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", []));})]);
  929. smalltalk.send(smalltalk.send(html, "_h2", []), "_with_", ["Hello.st:"]);
  930. 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", []));})]);
  931. return self;}
  932. }),
  933. smalltalk.JtalkAndNode);
  934. smalltalk.addClass('JtalkAndNode2', smalltalk.Slide, [], 'Presentation');
  935. smalltalk.addMethod(
  936. '_backgroundColor',
  937. smalltalk.method({
  938. selector: 'backgroundColor',
  939. fn: function (){
  940. var self=this;
  941. return unescape("%230A1");
  942. return self;}
  943. }),
  944. smalltalk.JtalkAndNode2);
  945. smalltalk.addMethod(
  946. '_id',
  947. smalltalk.method({
  948. selector: 'id',
  949. fn: function (){
  950. var self=this;
  951. return "JtalkAndNode2";
  952. return self;}
  953. }),
  954. smalltalk.JtalkAndNode2);
  955. smalltalk.addMethod(
  956. '_renderSlideOn_',
  957. smalltalk.method({
  958. selector: 'renderSlideOn:',
  959. fn: function (html){
  960. var self=this;
  961. 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", []));})]);
  962. smalltalk.send(smalltalk.send(html, "_h2", []), "_with_", ["Makefile:"]);
  963. 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", []));})]);
  964. smalltalk.send(smalltalk.send(html, "_h2", []), "_with_", ["hello:"]);
  965. 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", []));})]);
  966. return self;}
  967. }),
  968. smalltalk.JtalkAndNode2);
  969. smalltalk.addClass('JtalkAndNode3', smalltalk.Slide, [], 'Presentation');
  970. smalltalk.addMethod(
  971. '_backgroundColor',
  972. smalltalk.method({
  973. selector: 'backgroundColor',
  974. fn: function (){
  975. var self=this;
  976. return unescape("%230A1");
  977. return self;}
  978. }),
  979. smalltalk.JtalkAndNode3);
  980. smalltalk.addMethod(
  981. '_id',
  982. smalltalk.method({
  983. selector: 'id',
  984. fn: function (){
  985. var self=this;
  986. return "JtalkAndNode3";
  987. return self;}
  988. }),
  989. smalltalk.JtalkAndNode3);
  990. smalltalk.addMethod(
  991. '_renderSlideOn_',
  992. smalltalk.method({
  993. selector: 'renderSlideOn:',
  994. fn: function (html){
  995. var self=this;
  996. 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", []));})]);
  997. smalltalk.send(smalltalk.send(html, "_h2", []), "_with_", [unescape("make%20clean%20%26%26%20make%20run%3A")]);
  998. 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", []));})]);
  999. return self;}
  1000. }),
  1001. smalltalk.JtalkAndNode3);
  1002. smalltalk.addClass('JtalkAndWebOS', smalltalk.Slide, [], 'Presentation');
  1003. smalltalk.addMethod(
  1004. '_backgroundColor',
  1005. smalltalk.method({
  1006. selector: 'backgroundColor',
  1007. fn: function (){
  1008. var self=this;
  1009. return unescape("%230A1");
  1010. return self;}
  1011. }),
  1012. smalltalk.JtalkAndWebOS);
  1013. smalltalk.addMethod(
  1014. '_id',
  1015. smalltalk.method({
  1016. selector: 'id',
  1017. fn: function (){
  1018. var self=this;
  1019. return "JtalkAndWebOS";
  1020. return self;}
  1021. }),
  1022. smalltalk.JtalkAndWebOS);
  1023. smalltalk.addMethod(
  1024. '_renderSlideOn_',
  1025. smalltalk.method({
  1026. selector: 'renderSlideOn:',
  1027. fn: function (html){
  1028. var self=this;
  1029. 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", []));})]);
  1030. smalltalk.send(smalltalk.send(html, "_h2", []), "_with_", ["A really cool mobile OS based on Linux:"]);
  1031. 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"]);})]);
  1032. return self;}
  1033. }),
  1034. smalltalk.JtalkAndWebOS);
  1035. smalltalk.addClass('JtalkAndEnyo', smalltalk.Slide, [], 'Presentation');
  1036. smalltalk.addMethod(
  1037. '_id',
  1038. smalltalk.method({
  1039. selector: 'id',
  1040. fn: function (){
  1041. var self=this;
  1042. return "JtalkAndEnyo";
  1043. return self;}
  1044. }),
  1045. smalltalk.JtalkAndEnyo);
  1046. smalltalk.addMethod(
  1047. '_backgroundColor',
  1048. smalltalk.method({
  1049. selector: 'backgroundColor',
  1050. fn: function (){
  1051. var self=this;
  1052. return unescape("%230A1");
  1053. return self;}
  1054. }),
  1055. smalltalk.JtalkAndEnyo);
  1056. smalltalk.addMethod(
  1057. '_renderSlideOn_',
  1058. smalltalk.method({
  1059. selector: 'renderSlideOn:',
  1060. fn: function (html){
  1061. var self=this;
  1062. 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", []));})]);
  1063. return self;}
  1064. }),
  1065. smalltalk.JtalkAndEnyo);