Presentation.deploy.js 58 KB

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