Presentation.deploy.js 88 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682
  1. smalltalk.addPackage('Presentation', {});
  2. smalltalk.addClass('PresentationNavigator', smalltalk.Widget, ['presentationBrush', 'currentPresentation', 'slideSelect'], 'Presentation');
  3. smalltalk.addMethod(
  4. unescape('_currentPresentation_'),
  5. smalltalk.method({
  6. selector: unescape('currentPresentation%3A'),
  7. fn: function (aPresentation){
  8. var self=this;
  9. (self['@currentPresentation']=aPresentation);
  10. return self;}
  11. }),
  12. smalltalk.PresentationNavigator);
  13. smalltalk.addMethod(
  14. unescape('_currentPresentation'),
  15. smalltalk.method({
  16. selector: unescape('currentPresentation'),
  17. fn: function (){
  18. var self=this;
  19. return (($receiver = self['@currentPresentation']) == nil || $receiver == undefined) ? (function(){return (self['@currentPresentation']=smalltalk.send(smalltalk.send(smalltalk.send((smalltalk.Presentation || Presentation), "_concretePresentations", []), "_first", []), "_new", []));})() : $receiver;
  20. return self;}
  21. }),
  22. smalltalk.PresentationNavigator);
  23. smalltalk.addMethod(
  24. unescape('_style'),
  25. smalltalk.method({
  26. selector: unescape('style'),
  27. fn: function (){
  28. var self=this;
  29. return unescape("%0A%23navigator%20%7B%0A%20%20%20%20z-index%3A%201%3B%0A%20%20%20%20position%3A%20fixed%3B%0A%20%20%20%20top%3A%200%3B%0A%20%20%20%20left%3A%2050%25%3B%0A%20%20%20%20margin-left%3A%20-150px%3B%0A%20%20%20%20padding%3A%205px%3B%0A%20%20%20%20border-radius%3A%205px%3B%0A%20%20%20%20-moz-border-radius%3A%205px%3B%0A%20%20%20%20-webkit-border-radius%3A%205px%3B%0A%20%20%20%20background%3A%20%23333%3B%0A%20%20%20%20opacity%3A%200.3%3B%0A%20%20%20%20color%3A%20%23eee%3B%0A%7D%0A%0A%23navigator%20a%20%7B%0A%20%20%20%20font-weight%3A%20bold%3B%0A%20%20%20%20color%3A%20%23eee%3B%0A%20%20%20%20text-decoration%3A%20none%3B%0A%20%20%20%20cursor%3A%20pointer%3B%0A%20%20%20%20padding%3A%200%202px%3B%0A%20%20%20%20font-size%3A%2014px%3B%0A%7D%0A%0A%23navigator%3Ahover%20%7B%0A%20%20%20%20opacity%3A%200.8%3B%0A%7D%0A");
  30. return self;}
  31. }),
  32. smalltalk.PresentationNavigator);
  33. smalltalk.addMethod(
  34. unescape('_selectPresentation_'),
  35. smalltalk.method({
  36. selector: unescape('selectPresentation%3A'),
  37. fn: function (aPresentationClass){
  38. var self=this;
  39. smalltalk.send(self, "_currentPresentation_", [smalltalk.send(aPresentationClass, "_new", [])]);
  40. smalltalk.send(self, "_renderCurrentPresentation", []);
  41. return self;}
  42. }),
  43. smalltalk.PresentationNavigator);
  44. smalltalk.addMethod(
  45. unescape('_selectPresentationNamed_'),
  46. smalltalk.method({
  47. selector: unescape('selectPresentationNamed%3A'),
  48. fn: function (aString){
  49. var self=this;
  50. var presentationClass=nil;
  51. (presentationClass=smalltalk.send(smalltalk.send((smalltalk.Smalltalk || Smalltalk), "_current", []), "_at_", [aString]));
  52. (($receiver = presentationClass) != nil && $receiver != undefined) ? (function(){return smalltalk.send(self, "_selectPresentation_", [presentationClass]);})() : nil;
  53. return self;}
  54. }),
  55. smalltalk.PresentationNavigator);
  56. smalltalk.addMethod(
  57. unescape('_previousSlide'),
  58. smalltalk.method({
  59. selector: unescape('previousSlide'),
  60. fn: function (){
  61. var self=this;
  62. smalltalk.send(smalltalk.send(self, "_currentPresentation", []), "_previousSlide", []);
  63. smalltalk.send(self, "_updateHash", []);
  64. return self;}
  65. }),
  66. smalltalk.PresentationNavigator);
  67. smalltalk.addMethod(
  68. unescape('_nextSlide'),
  69. smalltalk.method({
  70. selector: unescape('nextSlide'),
  71. fn: function (){
  72. var self=this;
  73. smalltalk.send(smalltalk.send(self, "_currentPresentation", []), "_nextSlide", []);
  74. smalltalk.send(self, "_updateHash", []);
  75. return self;}
  76. }),
  77. smalltalk.PresentationNavigator);
  78. smalltalk.addMethod(
  79. unescape('_reload'),
  80. smalltalk.method({
  81. selector: unescape('reload'),
  82. fn: function (){
  83. var self=this;
  84. var slideIndex=nil;
  85. (slideIndex=smalltalk.send(smalltalk.send(self, "_currentPresentation", []), "_currentSlideIndex", []));
  86. smalltalk.send(self, "_currentPresentation_", [smalltalk.send(smalltalk.send(smalltalk.send(self, "_currentPresentation", []), "_class", []), "_new", [])]);
  87. smalltalk.send(self, "_renderCurrentPresentation", []);
  88. smalltalk.send(self, "_selectSlideAt_", [slideIndex]);
  89. return self;}
  90. }),
  91. smalltalk.PresentationNavigator);
  92. smalltalk.addMethod(
  93. unescape('_selectSlideAt_'),
  94. smalltalk.method({
  95. selector: unescape('selectSlideAt%3A'),
  96. fn: function (anInteger){
  97. var self=this;
  98. smalltalk.send(smalltalk.send(self, "_currentPresentation", []), "_moveAt_", [anInteger]);
  99. smalltalk.send(self, "_updateHash", []);
  100. return self;}
  101. }),
  102. smalltalk.PresentationNavigator);
  103. smalltalk.addMethod(
  104. unescape('_updateHash'),
  105. smalltalk.method({
  106. selector: unescape('updateHash'),
  107. fn: function (){
  108. var self=this;
  109. smalltalk.send(smalltalk.send((typeof document == 'undefined' ? nil : document), "_location", []), "_hash_", [smalltalk.send(smalltalk.send(smalltalk.send(smalltalk.send(smalltalk.send(self, "_currentPresentation", []), "_class", []), "_name", []), "__comma", [unescape("-")]), "__comma", [smalltalk.send(smalltalk.send(self, "_currentPresentation", []), "_currentSlideIndex", [])])]);
  110. return self;}
  111. }),
  112. smalltalk.PresentationNavigator);
  113. smalltalk.addMethod(
  114. unescape('_checkHash'),
  115. smalltalk.method({
  116. selector: unescape('checkHash'),
  117. fn: function (){
  118. var self=this;
  119. try{var hash=nil;
  120. var presentation=nil;
  121. (hash=smalltalk.send(smalltalk.send(smalltalk.send(smalltalk.send((typeof document == 'undefined' ? nil : document), "_location", []), "_hash", []), "_replace_with_", [unescape("%5E%23"), ""]), "_tokenize_", [unescape("-")]));
  122. (presentation=smalltalk.send(smalltalk.send((smalltalk.Presentation || Presentation), "_concretePresentations", []), "_detect_ifNone_", [(function(aPresentationClass){return smalltalk.send(smalltalk.send(aPresentationClass, "_name", []), "__eq_eq", [smalltalk.send(hash, "_first", [])]);}), (function(){return (function(){throw({name: 'stReturn', selector: '_checkHash', fn: function(){return self}})})();})]));
  123. ((($receiver = smalltalk.send(presentation, "__eq_eq", [smalltalk.send(smalltalk.send(self, "_currentPresentation", []), "_class", [])])).klass === smalltalk.Boolean) ? (! $receiver ? (function(){smalltalk.send(self, "_selectPresentationNamed_", [presentation]);return smalltalk.send(self, "_selectSlideAt_", [smalltalk.send(hash, "_last", [])]);})() : nil) : smalltalk.send($receiver, "_ifFalse_", [(function(){smalltalk.send(self, "_selectPresentationNamed_", [presentation]);return smalltalk.send(self, "_selectSlideAt_", [smalltalk.send(hash, "_last", [])]);})]));
  124. return self;
  125. } catch(e) {if(e.name === 'stReturn' && e.selector === '_checkHash'){return e.fn()} throw(e)}}
  126. }),
  127. smalltalk.PresentationNavigator);
  128. smalltalk.addMethod(
  129. unescape('_checkHashChange'),
  130. smalltalk.method({
  131. selector: unescape('checkHashChange'),
  132. fn: function (){
  133. var self=this;
  134. smalltalk.send(smalltalk.send((typeof window == 'undefined' ? nil : window), "_jQuery_", [(typeof window == 'undefined' ? nil : window)]), "_bind_do_", ["hashchange", (function(){return smalltalk.send(self, "_checkHash", []);})]);
  135. return self;}
  136. }),
  137. smalltalk.PresentationNavigator);
  138. smalltalk.addMethod(
  139. unescape('_setKeybindings'),
  140. smalltalk.method({
  141. selector: unescape('setKeybindings'),
  142. fn: function (){
  143. var self=this;
  144. smalltalk.send(smalltalk.send((typeof window == 'undefined' ? nil : window), "_jQuery_", [(typeof document == 'undefined' ? nil : document)]), "_keyup_", [(function(e){var node=nil;
  145. (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", []);})]));})]));})]);
  146. return self;}
  147. }),
  148. smalltalk.PresentationNavigator);
  149. smalltalk.addMethod(
  150. unescape('_renderToolsOn_'),
  151. smalltalk.method({
  152. selector: unescape('renderToolsOn%3A'),
  153. fn: function (html){
  154. var self=this;
  155. (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", []));
  156. (function($rec){smalltalk.send($rec, "_with_", ["Reload"]);return smalltalk.send($rec, "_onClick_", [(function(){return smalltalk.send(self, "_reload", []);})]);})(smalltalk.send(html, "_a", []));
  157. (function($rec){smalltalk.send($rec, "_with_", [unescape("%u2190")]);return smalltalk.send($rec, "_onClick_", [(function(){return smalltalk.send(self, "_previousSlide", []);})]);})(smalltalk.send(html, "_a", []));
  158. (function($rec){smalltalk.send($rec, "_with_", [unescape("%u2192")]);return smalltalk.send($rec, "_onClick_", [(function(){return smalltalk.send(self, "_nextSlide", []);})]);})(smalltalk.send(html, "_a", []));
  159. return self;}
  160. }),
  161. smalltalk.PresentationNavigator);
  162. smalltalk.addMethod(
  163. unescape('_renderPresentationSelectOn_'),
  164. smalltalk.method({
  165. selector: unescape('renderPresentationSelectOn%3A'),
  166. fn: function (html){
  167. var self=this;
  168. var presentationSelect=nil;
  169. (presentationSelect=smalltalk.send(html, "_select", []));
  170. (function($rec){smalltalk.send($rec, "_onChange_", [(function(){return smalltalk.send(self, "_selectPresentationNamed_", [smalltalk.send(smalltalk.send(presentationSelect, "_asJQuery", []), "_val", [])]);})]);return smalltalk.send($rec, "_with_", [(function(){return smalltalk.send((smalltalk.Presentation || Presentation), "_concretePresentationsDo_", [(function(aPresentationClass){return (function($rec){smalltalk.send($rec, "_value_", [smalltalk.send(aPresentationClass, "_name", [])]);return smalltalk.send($rec, "_with_", [smalltalk.send(aPresentationClass, "_title", [])]);})(smalltalk.send(html, "_option", []));})]);})]);})(presentationSelect);
  171. return self;}
  172. }),
  173. smalltalk.PresentationNavigator);
  174. smalltalk.addMethod(
  175. unescape('_open'),
  176. smalltalk.method({
  177. selector: unescape('open'),
  178. fn: function (){
  179. var self=this;
  180. smalltalk.send(smalltalk.send((typeof window == 'undefined' ? nil : window), "_jQuery_", [(typeof document == 'undefined' ? nil : document)]), "_ready_", [(function(){return (function($rec){smalltalk.send($rec, "_appendToJQuery_", [smalltalk.send("body", "_asJQuery", [])]);smalltalk.send($rec, "_setKeybindings", []);return smalltalk.send($rec, "_checkHashChange", []);})(self);})]);
  181. return self;}
  182. }),
  183. smalltalk.PresentationNavigator);
  184. smalltalk.addMethod(
  185. unescape('_renderOn_'),
  186. smalltalk.method({
  187. selector: unescape('renderOn%3A'),
  188. fn: function (html){
  189. var self=this;
  190. (function($rec){smalltalk.send($rec, "_type_", [unescape("text/css")]);return smalltalk.send($rec, "_with_", [smalltalk.send(self, "_style", [])]);})(smalltalk.send(html, "_style", []));
  191. (function($rec){smalltalk.send($rec, "_id_", ["navigator"]);return smalltalk.send($rec, "_with_", [(function(){return (function($rec){smalltalk.send($rec, "_renderToolsOn_", [html]);smalltalk.send($rec, "_renderPresentationSelectOn_", [html]);return smalltalk.send($rec, "_renderSlideSelectOn_", [html]);})(self);})]);})(smalltalk.send(html, "_div", []));
  192. (self['@presentationBrush']=(function($rec){smalltalk.send($rec, "_id_", ["presentation"]);return smalltalk.send($rec, "_yourself", []);})(smalltalk.send(html, "_div", [])));
  193. smalltalk.send(self, "_checkHash", []);
  194. smalltalk.send(self, "_renderCurrentPresentation", []);
  195. return self;}
  196. }),
  197. smalltalk.PresentationNavigator);
  198. smalltalk.addMethod(
  199. unescape('_renderCurrentPresentation'),
  200. smalltalk.method({
  201. selector: unescape('renderCurrentPresentation'),
  202. fn: function (){
  203. var self=this;
  204. smalltalk.send(self['@presentationBrush'], "_contents_", [(function(html){return smalltalk.send(smalltalk.send(self, "_currentPresentation", []), "_renderOn_", [html]);})]);
  205. smalltalk.send(self, "_updateSlideSelect", []);
  206. return self;}
  207. }),
  208. smalltalk.PresentationNavigator);
  209. smalltalk.addMethod(
  210. unescape('_renderSlideSelectOn_'),
  211. smalltalk.method({
  212. selector: unescape('renderSlideSelectOn%3A'),
  213. fn: function (html){
  214. var self=this;
  215. (self['@slideSelect']=smalltalk.send(html, "_select", []));
  216. smalltalk.send(self['@slideSelect'], "_onChange_", [(function(){return smalltalk.send(self, "_selectSlideAt_", [smalltalk.send(smalltalk.send(self['@slideSelect'], "_asJQuery", []), "_val", [])]);})]);
  217. smalltalk.send(self, "_updateSlideSelect", []);
  218. return self;}
  219. }),
  220. smalltalk.PresentationNavigator);
  221. smalltalk.addMethod(
  222. unescape('_updateSlideSelect'),
  223. smalltalk.method({
  224. selector: unescape('updateSlideSelect'),
  225. fn: function (){
  226. var self=this;
  227. smalltalk.send(self['@slideSelect'], "_contents_", [(function(html){var index=nil;
  228. (index=(0));return smalltalk.send(smalltalk.send(self, "_currentPresentation", []), "_slidesDo_", [(function(aSlide){(index=((($receiver = index).klass === smalltalk.Number) ? $receiver +(1) : smalltalk.send($receiver, "__plus", [(1)])));return (function($rec){smalltalk.send($rec, "_value_", [index]);return smalltalk.send($rec, "_with_", [smalltalk.send(aSlide, "_title", [])]);})(smalltalk.send(html, "_option", []));})]);})]);
  229. return self;}
  230. }),
  231. smalltalk.PresentationNavigator);
  232. smalltalk.addMethod(
  233. unescape('_initialize'),
  234. smalltalk.method({
  235. selector: unescape('initialize'),
  236. fn: function (){
  237. var self=this;
  238. return smalltalk.send(self, "_open", []);
  239. return self;}
  240. }),
  241. smalltalk.PresentationNavigator.klass);
  242. smalltalk.addMethod(
  243. unescape('_open'),
  244. smalltalk.method({
  245. selector: unescape('open'),
  246. fn: function (){
  247. var self=this;
  248. return smalltalk.send(smalltalk.send(self, "_new", []), "_open", []);
  249. return self;}
  250. }),
  251. smalltalk.PresentationNavigator.klass);
  252. smalltalk.addClass('Presentation', smalltalk.Widget, ['currentSlide', 'slides'], 'Presentation');
  253. smalltalk.addMethod(
  254. unescape('_title'),
  255. smalltalk.method({
  256. selector: unescape('title'),
  257. fn: function (){
  258. var self=this;
  259. return smalltalk.send(smalltalk.send(self, "_class", []), "_title", []);
  260. return self;}
  261. }),
  262. smalltalk.Presentation);
  263. smalltalk.addMethod(
  264. unescape('_author'),
  265. smalltalk.method({
  266. selector: unescape('author'),
  267. fn: function (){
  268. var self=this;
  269. return "John Smith";
  270. return self;}
  271. }),
  272. smalltalk.Presentation);
  273. smalltalk.addMethod(
  274. unescape('_url'),
  275. smalltalk.method({
  276. selector: unescape('url'),
  277. fn: function (){
  278. var self=this;
  279. return unescape("http%3A//jtalk-project.org");
  280. return self;}
  281. }),
  282. smalltalk.Presentation);
  283. smalltalk.addMethod(
  284. unescape('_description'),
  285. smalltalk.method({
  286. selector: unescape('description'),
  287. fn: function (){
  288. var self=this;
  289. return "A presentation written in Jtalk";
  290. return self;}
  291. }),
  292. smalltalk.Presentation);
  293. smalltalk.addMethod(
  294. unescape('_email'),
  295. smalltalk.method({
  296. selector: unescape('email'),
  297. fn: function (){
  298. var self=this;
  299. return unescape("john@smith.com");
  300. return self;}
  301. }),
  302. smalltalk.Presentation);
  303. smalltalk.addMethod(
  304. unescape('_slides'),
  305. smalltalk.method({
  306. selector: unescape('slides'),
  307. fn: function (){
  308. var self=this;
  309. (($receiver = self['@slides']) == nil || $receiver == undefined) ? (function(){return smalltalk.send(self, "_initSlides", []);})() : $receiver;
  310. return self['@slides'];
  311. return self;}
  312. }),
  313. smalltalk.Presentation);
  314. smalltalk.addMethod(
  315. unescape('_slideClasses'),
  316. smalltalk.method({
  317. selector: unescape('slideClasses'),
  318. fn: function (){
  319. var self=this;
  320. return smalltalk.send(self, "_subclassResponsibility", []);
  321. return self;}
  322. }),
  323. smalltalk.Presentation);
  324. smalltalk.addMethod(
  325. unescape('_currentSlide'),
  326. smalltalk.method({
  327. selector: unescape('currentSlide'),
  328. fn: function (){
  329. var self=this;
  330. return self['@currentSlide'];
  331. return self;}
  332. }),
  333. smalltalk.Presentation);
  334. smalltalk.addMethod(
  335. unescape('_currentSlide_'),
  336. smalltalk.method({
  337. selector: unescape('currentSlide%3A'),
  338. fn: function (aSlide){
  339. var self=this;
  340. (self['@currentSlide']=aSlide);
  341. return self;}
  342. }),
  343. smalltalk.Presentation);
  344. smalltalk.addMethod(
  345. unescape('_slideTransition'),
  346. smalltalk.method({
  347. selector: unescape('slideTransition'),
  348. fn: function (){
  349. var self=this;
  350. return "fade";
  351. return self;}
  352. }),
  353. smalltalk.Presentation);
  354. smalltalk.addMethod(
  355. unescape('_style'),
  356. smalltalk.method({
  357. selector: unescape('style'),
  358. fn: function (){
  359. var self=this;
  360. return "";
  361. return self;}
  362. }),
  363. smalltalk.Presentation);
  364. smalltalk.addMethod(
  365. unescape('_nextSlide'),
  366. smalltalk.method({
  367. selector: unescape('nextSlide'),
  368. fn: function (){
  369. var self=this;
  370. var next=nil;
  371. (($receiver = smalltalk.send(self, "_currentSlide", [])) != nil && $receiver != undefined) ? (function(){(next=smalltalk.send(smalltalk.send(self, "_slides", []), "_at_ifAbsent_", [((($receiver = smalltalk.send(self, "_currentSlideIndex", [])).klass === smalltalk.Number) ? $receiver +(1) : smalltalk.send($receiver, "__plus", [(1)])), (function(){return nil;})]));return (($receiver = next) != nil && $receiver != undefined) ? (function(){(self['@currentSlide']=next);return smalltalk.send(next, "_show", []);})() : nil;})() : nil;
  372. return self;}
  373. }),
  374. smalltalk.Presentation);
  375. smalltalk.addMethod(
  376. unescape('_showCurrentSlide'),
  377. smalltalk.method({
  378. selector: unescape('showCurrentSlide'),
  379. fn: function (){
  380. var self=this;
  381. (($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;
  382. return self;}
  383. }),
  384. smalltalk.Presentation);
  385. smalltalk.addMethod(
  386. unescape('_previousSlide'),
  387. smalltalk.method({
  388. selector: unescape('previousSlide'),
  389. fn: function (){
  390. var self=this;
  391. var next=nil;
  392. (($receiver = smalltalk.send(self, "_currentSlide", [])) != nil && $receiver != undefined) ? (function(){(next=smalltalk.send(smalltalk.send(self, "_slides", []), "_at_ifAbsent_", [((($receiver = smalltalk.send(self, "_currentSlideIndex", [])).klass === smalltalk.Number) ? $receiver -(1) : smalltalk.send($receiver, "__minus", [(1)])), (function(){return nil;})]));return (($receiver = next) != nil && $receiver != undefined) ? (function(){(self['@currentSlide']=next);return smalltalk.send(next, "_show", []);})() : nil;})() : nil;
  393. return self;}
  394. }),
  395. smalltalk.Presentation);
  396. smalltalk.addMethod(
  397. unescape('_moveAt_'),
  398. smalltalk.method({
  399. selector: unescape('moveAt%3A'),
  400. fn: function (anInteger){
  401. var self=this;
  402. var next=nil;
  403. (next=smalltalk.send(smalltalk.send(self, "_slides", []), "_at_ifAbsent_", [anInteger, (function(){return nil;})]));
  404. (($receiver = next) != nil && $receiver != undefined) ? (function(){(self['@currentSlide']=next);return smalltalk.send(next, "_show", []);})() : nil;
  405. return self;}
  406. }),
  407. smalltalk.Presentation);
  408. smalltalk.addMethod(
  409. unescape('_currentSlideIndex'),
  410. smalltalk.method({
  411. selector: unescape('currentSlideIndex'),
  412. fn: function (){
  413. var self=this;
  414. return smalltalk.send(smalltalk.send(self, "_slides", []), "_indexOf_ifAbsent_", [smalltalk.send(self, "_currentSlide", []), (function(){return (1);})]);
  415. return self;}
  416. }),
  417. smalltalk.Presentation);
  418. smalltalk.addMethod(
  419. unescape('_slidesDo_'),
  420. smalltalk.method({
  421. selector: unescape('slidesDo%3A'),
  422. fn: function (aBlockWithArg){
  423. var self=this;
  424. smalltalk.send(smalltalk.send(self, "_slides", []), "_do_", [(function(aSlide){return smalltalk.send(aBlockWithArg, "_value_", [aSlide]);})]);
  425. return self;}
  426. }),
  427. smalltalk.Presentation);
  428. smalltalk.addMethod(
  429. unescape('_initSlides'),
  430. smalltalk.method({
  431. selector: unescape('initSlides'),
  432. fn: function (){
  433. var self=this;
  434. (self['@slides']=smalltalk.send(smalltalk.send(self, "_slideClasses", []), "_collect_", [(function(each){return smalltalk.send(each, "_on_", [self]);})]));
  435. return self;}
  436. }),
  437. smalltalk.Presentation);
  438. smalltalk.addMethod(
  439. unescape('_renderOn_'),
  440. smalltalk.method({
  441. selector: unescape('renderOn%3A'),
  442. fn: function (html){
  443. var self=this;
  444. (function($rec){smalltalk.send($rec, "_type_", [unescape("text/css")]);return smalltalk.send($rec, "_with_", [smalltalk.send(self, "_style", [])]);})(smalltalk.send(html, "_style", []));
  445. (function($rec){smalltalk.send($rec, "_id_", ["slides"]);return smalltalk.send($rec, "_with_", [(function(){return smalltalk.send(self, "_renderSlidesOn_", [html]);})]);})(smalltalk.send(html, "_div", []));
  446. return self;}
  447. }),
  448. smalltalk.Presentation);
  449. smalltalk.addMethod(
  450. unescape('_renderSlidesOn_'),
  451. smalltalk.method({
  452. selector: unescape('renderSlidesOn%3A'),
  453. fn: function (html){
  454. var self=this;
  455. smalltalk.send(smalltalk.send(self, "_slides", []), "_do_", [(function(each){return smalltalk.send(each, "_renderOn_", [html]);})]);
  456. (($receiver = self['@currentSlide']) == nil || $receiver == undefined) ? (function(){return (self['@currentSlide']=smalltalk.send(smalltalk.send(self, "_slides", []), "_first", []));})() : $receiver;
  457. smalltalk.send(self, "_showCurrentSlide", []);
  458. return self;}
  459. }),
  460. smalltalk.Presentation);
  461. smalltalk.Presentation.klass.iVarNames = ['current'];
  462. smalltalk.addMethod(
  463. unescape('_concretePresentations'),
  464. smalltalk.method({
  465. selector: unescape('concretePresentations'),
  466. fn: function (){
  467. var self=this;
  468. return smalltalk.send(smalltalk.send(self, "_allSubclasses", []), "_select_", [(function(aPresentationClass){return smalltalk.send(aPresentationClass, "_isConcrete", []);})]);
  469. return self;}
  470. }),
  471. smalltalk.Presentation.klass);
  472. smalltalk.addMethod(
  473. unescape('_title'),
  474. smalltalk.method({
  475. selector: unescape('title'),
  476. fn: function (){
  477. var self=this;
  478. return "Slides";
  479. return self;}
  480. }),
  481. smalltalk.Presentation.klass);
  482. smalltalk.addMethod(
  483. unescape('_concretePresentationsDo_'),
  484. smalltalk.method({
  485. selector: unescape('concretePresentationsDo%3A'),
  486. fn: function (aBlockWithArg){
  487. var self=this;
  488. smalltalk.send(smalltalk.send(self, "_concretePresentations", []), "_do_", [aBlockWithArg]);
  489. return self;}
  490. }),
  491. smalltalk.Presentation.klass);
  492. smalltalk.addMethod(
  493. unescape('_isConcrete'),
  494. smalltalk.method({
  495. selector: unescape('isConcrete'),
  496. fn: function (){
  497. var self=this;
  498. return false;
  499. return self;}
  500. }),
  501. smalltalk.Presentation.klass);
  502. smalltalk.addClass('Slide', smalltalk.Widget, ['presentation'], 'Presentation');
  503. smalltalk.addMethod(
  504. unescape('_presentation'),
  505. smalltalk.method({
  506. selector: unescape('presentation'),
  507. fn: function (){
  508. var self=this;
  509. return self['@presentation'];
  510. return self;}
  511. }),
  512. smalltalk.Slide);
  513. smalltalk.addMethod(
  514. unescape('_presentation_'),
  515. smalltalk.method({
  516. selector: unescape('presentation%3A'),
  517. fn: function (aPresentation){
  518. var self=this;
  519. (self['@presentation']=aPresentation);
  520. return self;}
  521. }),
  522. smalltalk.Slide);
  523. smalltalk.addMethod(
  524. unescape('_id'),
  525. smalltalk.method({
  526. selector: unescape('id'),
  527. fn: function (){
  528. var self=this;
  529. return smalltalk.send(smalltalk.send(self, "_class", []), "_name", []);
  530. return self;}
  531. }),
  532. smalltalk.Slide);
  533. smalltalk.addMethod(
  534. unescape('_cssClass'),
  535. smalltalk.method({
  536. selector: unescape('cssClass'),
  537. fn: function (){
  538. var self=this;
  539. return "slide";
  540. return self;}
  541. }),
  542. smalltalk.Slide);
  543. smalltalk.addMethod(
  544. unescape('_backgroundColor'),
  545. smalltalk.method({
  546. selector: unescape('backgroundColor'),
  547. fn: function (){
  548. var self=this;
  549. return unescape("%23555");
  550. return self;}
  551. }),
  552. smalltalk.Slide);
  553. smalltalk.addMethod(
  554. unescape('_title'),
  555. smalltalk.method({
  556. selector: unescape('title'),
  557. fn: function (){
  558. var self=this;
  559. return smalltalk.send(self, "_id", []);
  560. return self;}
  561. }),
  562. smalltalk.Slide);
  563. smalltalk.addMethod(
  564. unescape('_show'),
  565. smalltalk.method({
  566. selector: unescape('show'),
  567. fn: function (){
  568. var self=this;
  569. (($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;
  570. smalltalk.send(smalltalk.send((typeof window == 'undefined' ? nil : window), "_jQuery_", [".slide"]), "_hide_options_duration_", [smalltalk.send(smalltalk.send(self, "_presentation", []), "_slideTransition", []), [], (300)]);
  571. 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)]);
  572. return self;}
  573. }),
  574. smalltalk.Slide);
  575. smalltalk.addMethod(
  576. unescape('_renderOn_'),
  577. smalltalk.method({
  578. selector: unescape('renderOn%3A'),
  579. fn: function (html){
  580. var self=this;
  581. (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", []));
  582. return self;}
  583. }),
  584. smalltalk.Slide);
  585. smalltalk.addMethod(
  586. unescape('_renderSlideOn_'),
  587. smalltalk.method({
  588. selector: unescape('renderSlideOn%3A'),
  589. fn: function (html){
  590. var self=this;
  591. return self;}
  592. }),
  593. smalltalk.Slide);
  594. smalltalk.addMethod(
  595. unescape('_renderMetaOn_'),
  596. smalltalk.method({
  597. selector: unescape('renderMetaOn%3A'),
  598. fn: function (html){
  599. var self=this;
  600. (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", []));
  601. return self;}
  602. }),
  603. smalltalk.Slide);
  604. smalltalk.addMethod(
  605. unescape('_on_'),
  606. smalltalk.method({
  607. selector: unescape('on%3A'),
  608. fn: function (aPresentation){
  609. var self=this;
  610. return (function($rec){smalltalk.send($rec, "_presentation_", [aPresentation]);return smalltalk.send($rec, "_yourself", []);})(smalltalk.send(self, "_new", []));
  611. return self;}
  612. }),
  613. smalltalk.Slide.klass);
  614. smalltalk.addClass('ESUG2011Presentation', smalltalk.Presentation, [], 'Presentation');
  615. smalltalk.addMethod(
  616. unescape('_description'),
  617. smalltalk.method({
  618. selector: unescape('description'),
  619. fn: function (){
  620. var self=this;
  621. return unescape("ESUG%202011%2C%20Edinburgh");
  622. return self;}
  623. }),
  624. smalltalk.ESUG2011Presentation);
  625. smalltalk.addMethod(
  626. unescape('_author'),
  627. smalltalk.method({
  628. selector: unescape('author'),
  629. fn: function (){
  630. var self=this;
  631. return "Nicolas Petton";
  632. return self;}
  633. }),
  634. smalltalk.ESUG2011Presentation);
  635. smalltalk.addMethod(
  636. unescape('_email'),
  637. smalltalk.method({
  638. selector: unescape('email'),
  639. fn: function (){
  640. var self=this;
  641. return unescape("nico@objectfusion.fr");
  642. return self;}
  643. }),
  644. smalltalk.ESUG2011Presentation);
  645. smalltalk.addMethod(
  646. unescape('_url'),
  647. smalltalk.method({
  648. selector: unescape('url'),
  649. fn: function (){
  650. var self=this;
  651. return unescape("http%3A//jtalk-project.org");
  652. return self;}
  653. }),
  654. smalltalk.ESUG2011Presentation);
  655. smalltalk.addMethod(
  656. unescape('_slideClasses'),
  657. smalltalk.method({
  658. selector: unescape('slideClasses'),
  659. fn: function (){
  660. var self=this;
  661. 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", []));
  662. return self;}
  663. }),
  664. smalltalk.ESUG2011Presentation);
  665. smalltalk.addMethod(
  666. unescape('_style'),
  667. smalltalk.method({
  668. selector: unescape('style'),
  669. fn: function (){
  670. var self=this;
  671. return unescape("%0Abody%20%7B%0A%20%20%20%20font-family%3A%20Helvetica%2CArial%2Csans%3B%0A%7D%0A%0A%23slides%20%7B%0A%20%20%20%20width%3A%20100%25%3B%0A%20%20%20%20height%3A%20100%25%3B%0A%20%20%20%20overflow%3A%20hidden%3B%0A%20%20%20%20position%3A%20absolute%3B%0A%20%20%20%20top%3A%200%3B%0A%20%20%20%20bottom%3A%200%3B%0A%20%20%20%20left%3A%200%3B%0A%20%20%20%20right%3A%200%3B%0A%20%20%20%20background%3A%20%23555%3B%0A%7D%0A%0A.slide%20%7B%0A%20%20%20%20background%3A%20%23fff%3B%0A%20%20%20%20color%3A%20%23444%3B%0A%20%20%20%20text-align%3A%20left%3B%0A%20%20%20%20font-size%3A%2020px%3B%0A%20%20%20%20line-height%3A%201.8em%3B%0A%20%20%20%20height%3A%20500px%3B%0A%20%20%20%20width%3A%20700px%3B%0A%20%20%20%20padding%3A%2060px%3B%0A%20%20%20%20position%3A%20absolute%3B%0A%20%20%20%20left%3A%2050%25%3B%0A%20%20%20%20top%3A%2050%25%3B%0A%20%20%20%20margin-left%3A%20-420px%3B%0A%20%20%20%20margin-top%3A%20-320px%3B%0A%20%20%20%20box-shadow%3A%200%200%2020px%20%23111%3B%0A%20%20%20%20-moz-box-shadow%3A%200%200%2020px%20%23111%3B%0A%20%20%20%20-webkit-box-shadow%3A%200%200%2020px%20%23111%3B%0A%7D%0A%0A.slide.transparent%20%7B%0A%20%20%20%20background%3A%20transparent%3B%0A%20%20%20%20box-shadow%3A%200%200%200%20none%3B%0A%20%20%20%20-moz-box-shadow%3A%200%200%200%20transparent%3B%0A%20%20%20%20-webkit-box-shadow%3A%200%200%200%20transparent%3B%0A%20%20%20%20color%3A%20%23fff%20%21important%3B%0A%7D%0A%0A.slide.black%20%7B%0A%20%20%20%20background%3A%20black%3B%0A%20%20%20%20background-image%3A%20-webkit-gradient%28%0A%09linear%2C%0A%09left%20bottom%2C%0A%09left%20top%2C%0A%09color-stop%280.38%2C%20rgb%2879%2C79%2C79%29%29%2C%0A%09color-stop%280.69%2C%20rgb%2833%2C33%2C33%29%29%2C%0A%09color-stop%280.86%2C%20rgb%284%2C4%2C4%29%29%0A%20%20%20%20%29%3B%0A%20%20%20%20background-image%3A%20-moz-linear-gradient%28%0A%09center%20bottom%2C%0A%09rgb%2879%2C79%2C79%29%2038%25%2C%0A%09rgb%2833%2C33%2C33%29%2069%25%2C%0A%09rgb%284%2C4%2C4%29%2086%25%0A%20%20%20%20%29%3B%0A%20%20%20%20color%3A%20%23fff%20%21important%3B%0A%7D%0A%0A.slide.black%20h1%2C%20.slide.black%20h2%2C%20.slide.black%20h3%2C%0A.slide.transparent%20h1%2C%20.slide.transparent%20h2%2C%20.slide.transparent%20h3%20%7B%0A%20%20%20%20color%3A%20%23fff%3B%0A%20%20%20%20text-shadow%3A%200%201px%204px%20%23aaa%3B%0A%7D%0A%0A.slide.black%20a%2C%20.slide.transparent%20a%20%7B%0A%20%20%20%20color%3A%20%23ccc%3B%0A%7D%0A%0A.slide.white%20%7B%0A%20%20%20%20color%3A%20%23333%20%21important%3B%0A%7D%0A%0A.slide.white%20h1%2C%20.slide.white%20h2%2C%20.slide.white%20h3%20%7B%0A%20%20%20%20color%3A%20%23333%3B%0A%7D%0A%0A.slide.white%20a%20%7B%0A%20%20%20%20color%3A%20%23333%3B%0A%7D%0A%0A%0A.slide%20h1%2C%20.slide%20h2%2C%20.slide%20h3%20%7B%0A%20%20%20%20color%3A%20%23333%3B%0A%20%20%20%20/*%20text-align%3A%20center%3B%20*/%0A%7D%0A%0A.slide%20h1%20%7B%0A%20%20%20%20font-family%3A%20%22Droid%20Sans%22%3B%0A%20%20%20%20font-size%3A%2036px%3B%0A%20%20%20%20text-shadow%3A%200%201px%204px%20%23aaa%3B%0A%20%20%20%20margin-top%3A%2030px%3B%0A%20%20%20%20margin-bottom%3A%2050px%3B%0A%7D%0A%0A/*%20.slide%20ul%2C%20.slide%20li%20%7B%20*/%0A/*%20%20%20%20%20padding%3A%200%3B%20*/%0A/*%20%20%20%20%20margin%3A%200%3B%20*/%0A/*%20%7D%20*/%0A%0A.slide%20button%20%7B%0A%20%20%20%20font-size%3A%2018px%3B%0A%7D%0A%0A.slide%20a%20%7B%0A%20%20%20%20color%3A%20%23555%3B%0A%20%20%20%20text-decoration%3A%20none%3B%0A%20%20%20%20cursor%3A%20pointer%3B%0A%7D%0A%0A.slide%20a%3Ahover%20%7B%0A%20%20%20%20color%3A%20%23fff%3B%0A%20%20%20%20background%3A%20%23555%3B%0A%7D%0A%0A.slide%20.right%20%7B%0A%20%20%20%20text-align%3A%20right%3B%0A%7D%0A%0A.slide%20.section.center%20%7B%0A%20%20%20%20text-align%3A%20center%3B%0A%20%20%20%20display%3A%20table-cell%3B%0A%20%20%20%20vertical-align%3A%20middle%3B%0A%20%20%20%20width%3A%20700px%3B%0A%20%20%20%20height%3A%20500px%3B%0A%7D%0A%0A.slide%20code%20%7B%0A%20%20%20%20font-family%3A%20%22Droid%20Sans%20Mono%22%3B%0A%20%20%20%20color%3A%20%23444%3B%0A%20%20%20%20border%3A%201px%20solid%20%23ddd%3B%0A%20%20%20%20background%3A%20%23eee%3B%0A%20%20%20%20border-radius%3A%204px%3B%0A%20%20%20%20padding%3A%202px%3B%0A%20%20%20%20font-size%3A%2016px%3B%0A%7D%0A%0A.slide%20.code2%20%7B%0A%20%20%20%20font-family%3A%20%22Droid%20Sans%20Mono%22%3B%0A%20%20%20%20line-height%3A%201.2em%3B%0A%20%20%20%20color%3A%20%23444%3B%0A%20%20%20%20padding%3A%202px%3B%0A%20%20%20%20font-size%3A%2016px%3B%0A%7D%0A%0A%0A.slide%20.CodeMirror%20%7B%0A%20%20%20%20width%3A%20500px%3B%0A%20%20%20%20height%3A%20300px%3B%0A%20%20%20%20text-align%3A%20left%3B%0A%7D%0A%0A.slide%20.CodeMirror-scroll%20%7B%0A%20%20%20%20text-align%3A%20left%3B%0A%7D%0A%0A.slide%20.fancy%20%7B%0A%20%20%20%20margin-top%3A%2030px%3B%0A%20%20%20%20-webkit-transform%3A%20rotate%28-10deg%29%3B%0A%20%20%20%20-moz-transform%3A%20rotate%28-10deg%29%3B%0A%20%20%20%20transform%3A%20rotate%28-10deg%29%3B%0A%20%20%20%20color%3A%20red%3B%0A%7D%0A%0A.slide%20.comment%20%7B%0A%20%20%20%20opacity%3A%200.6%3B%0A%20%20%20%20font-weight%3A%20normal%3B%0A%7D%0A%0A.slide%20.red%20%7B%0A%20%20%20%20color%3A%20red%3B%0A%7D%0A%0A.slide%20.blue%20%7B%0A%20%20%20%20color%3A%20blue%3B%0A%7D%0A%0A.slide%23WhatIsJtalk%20%7B%0A%20%20%20%20background%3A%20white%20url%28%22esug2011/images/balloon.jpg%22%29%20650px%2050px%20no-repeat%3B%0A%7D%0A%0A.slide%23ide%20%7B%0A%20%20%20%20background%3A%20black%20url%28%22esug2011/images/ide_star_wars.png%22%29%20center%20center%20no-repeat%3B%0A%7D%0A%0A.slide%23JtalkAndCLI%20%7B%0A%20%20%20%20background%3A%20white%20url%28%22esug2011/images/terminal.png%22%29%20620px%2020px%20no-repeat%3B%0A%7D%0A%0A.slide%23JtalkAndNode%20%7B%0A%20%20%20%20background%3A%20white%20url%28%22esug2011/images/nodejs.png%22%29%20580px%2040px%20no-repeat%3B%0A%7D%0A.slide%23JtalkAndNode2%20%7B%0A%20%20%20%20background%3A%20white%20url%28%22esug2011/images/nodejs.png%22%29%20580px%2040px%20no-repeat%3B%0A%7D%0A%0A.slide%23JtalkAndNode3%20%7B%0A%20%20%20%20background%3A%20white%20url%28%22esug2011/images/nodejs.png%22%29%20580px%2040px%20no-repeat%3B%0A%7D%0A%0A.slide%23JtalkAndWebOS%20%7B%0A%20%20%20%20background%3A%20white%20url%28%22esug2011/images/devices.jpg%22%29%20380px%20280px%20no-repeat%3B%0A%7D%0A%0A.slide%23JtalkAndEnyo%20%7B%0A%20%20%20%20background%3A%20white%20url%28%22esug2011/images/enyo.png%22%29%20130px%20150px%20no-repeat%3B%0A%7D%0A%0A.slide%23links%20%7B%0A%20%20%20%20background%3A%20white%20url%28%22esug2011/images/asterix.png%22%29%2030px%20130px%20no-repeat%3B%0A%7D%0A%0A.slide%23links%20.section%20%7B%0A%20%20%20%20margin-left%3A%20250px%3B%0A%20%20%20%20margin-top%3A%20200px%3B%0A%20%20%20%20font-family%3A%20%22Droid%20Sans%22%3B%0A%20%20%20%20font-size%3A%2026px%3B%0A%20%20%20%20font-weight%3A%20bold%3B%0A%7D%0A%0A%0A%23meta%20%7B%0A%20%20%20%20position%3A%20absolute%3B%0A%20%20%20%20font-size%3A%2012px%3B%0A%20%20%20%20opacity%3A%200.6%3B%0A%20%20%20%20bottom%3A%200%3B%0A%20%20%20%20right%3A%200%3B%0A%20%20%20%20z-index%3A%202%3B%0A%20%20%20%20background%3A%20%23333%3B%0A%20%20%20%20text-align%3A%20right%3B%0A%20%20%20%20padding%3A%200%2010px%3B%0A%20%20%20%20line-height%3A%201.8em%3B%0A%20%20%20%20color%3A%20%23eee%3B%0A%20%20%20%20border-top-left-radius%3A%205px%3B%0A%7D%0A%0A%23meta%3Ahover%20%7B%0A%20%20%20%20opacity%3A%200.8%3B%0A%7D%0A%0A%23meta%20p%20%7B%0A%20%20%20%20display%3A%20inline%3B%0A%20%20%20%20padding%3A%200%205px%3B%0A%7D%0A%0A%23meta%20a%20%7B%0A%20%20%20%20//background%3A%20%23ccc%3B%0A%20%20%20%20color%3A%20%23ccc%3B%0A%20%20%20%20text-decoration%3A%20none%3B%0A%20%20%20%20padding%3A%200%205px%3B%0A%7D%0A%0A.slide%20%7B%0A%20%20%20%20%0A%7D%0A");
  672. return self;}
  673. }),
  674. smalltalk.ESUG2011Presentation);
  675. smalltalk.ESUG2011Presentation.klass.iVarNames = ['current'];
  676. smalltalk.addMethod(
  677. unescape('_title'),
  678. smalltalk.method({
  679. selector: unescape('title'),
  680. fn: function (){
  681. var self=this;
  682. return "Jtalk";
  683. return self;}
  684. }),
  685. smalltalk.ESUG2011Presentation.klass);
  686. smalltalk.addMethod(
  687. unescape('_isConcrete'),
  688. smalltalk.method({
  689. selector: unescape('isConcrete'),
  690. fn: function (){
  691. var self=this;
  692. return true;
  693. return self;}
  694. }),
  695. smalltalk.ESUG2011Presentation.klass);
  696. smalltalk.addClass('IntroSlide', smalltalk.Slide, [], 'Presentation');
  697. smalltalk.addMethod(
  698. unescape('_id'),
  699. smalltalk.method({
  700. selector: unescape('id'),
  701. fn: function (){
  702. var self=this;
  703. return "intro";
  704. return self;}
  705. }),
  706. smalltalk.IntroSlide);
  707. smalltalk.addMethod(
  708. unescape('_cssClass'),
  709. smalltalk.method({
  710. selector: unescape('cssClass'),
  711. fn: function (){
  712. var self=this;
  713. return "slide black";
  714. return self;}
  715. }),
  716. smalltalk.IntroSlide);
  717. smalltalk.addMethod(
  718. unescape('_renderSlideOn_'),
  719. smalltalk.method({
  720. selector: unescape('renderSlideOn%3A'),
  721. fn: function (html){
  722. var self=this;
  723. (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", []));
  724. return self;}
  725. }),
  726. smalltalk.IntroSlide);
  727. smalltalk.addClass('WhatIsJtalkSlide', smalltalk.Slide, [], 'Presentation');
  728. smalltalk.addMethod(
  729. unescape('_id'),
  730. smalltalk.method({
  731. selector: unescape('id'),
  732. fn: function (){
  733. var self=this;
  734. return "WhatIsJtalk";
  735. return self;}
  736. }),
  737. smalltalk.WhatIsJtalkSlide);
  738. smalltalk.addMethod(
  739. unescape('_renderSlideOn_'),
  740. smalltalk.method({
  741. selector: unescape('renderSlideOn%3A'),
  742. fn: function (html){
  743. var self=this;
  744. (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", []));
  745. return self;}
  746. }),
  747. smalltalk.WhatIsJtalkSlide);
  748. smalltalk.addClass('JtalkFeaturesSlide', smalltalk.Slide, [], 'Presentation');
  749. smalltalk.addMethod(
  750. unescape('_id'),
  751. smalltalk.method({
  752. selector: unescape('id'),
  753. fn: function (){
  754. var self=this;
  755. return "features";
  756. return self;}
  757. }),
  758. smalltalk.JtalkFeaturesSlide);
  759. smalltalk.addMethod(
  760. unescape('_renderSlideOn_'),
  761. smalltalk.method({
  762. selector: unescape('renderSlideOn%3A'),
  763. fn: function (html){
  764. var self=this;
  765. smalltalk.send(smalltalk.send(html, "_h1", []), "_with_", ["Jtalk features"]);
  766. 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"]);})]);})]);
  767. return self;}
  768. }),
  769. smalltalk.JtalkFeaturesSlide);
  770. smalltalk.addClass('AboutSlide', smalltalk.Slide, [], 'Presentation');
  771. smalltalk.addMethod(
  772. unescape('_id'),
  773. smalltalk.method({
  774. selector: unescape('id'),
  775. fn: function (){
  776. var self=this;
  777. return "about";
  778. return self;}
  779. }),
  780. smalltalk.AboutSlide);
  781. smalltalk.addMethod(
  782. unescape('_cssClass'),
  783. smalltalk.method({
  784. selector: unescape('cssClass'),
  785. fn: function (){
  786. var self=this;
  787. return "slide transparent white";
  788. return self;}
  789. }),
  790. smalltalk.AboutSlide);
  791. smalltalk.addMethod(
  792. unescape('_backgroundColor'),
  793. smalltalk.method({
  794. selector: unescape('backgroundColor'),
  795. fn: function (){
  796. var self=this;
  797. return "white";
  798. return self;}
  799. }),
  800. smalltalk.AboutSlide);
  801. smalltalk.addMethod(
  802. unescape('_renderSlideOn_'),
  803. smalltalk.method({
  804. selector: unescape('renderSlideOn%3A'),
  805. fn: function (html){
  806. var self=this;
  807. (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", []));
  808. return self;}
  809. }),
  810. smalltalk.AboutSlide);
  811. smalltalk.addClass('JtalkAndJavascriptSlide3', smalltalk.Slide, [], 'Presentation');
  812. smalltalk.addMethod(
  813. unescape('_id'),
  814. smalltalk.method({
  815. selector: unescape('id'),
  816. fn: function (){
  817. var self=this;
  818. return "jtalkAndJs3";
  819. return self;}
  820. }),
  821. smalltalk.JtalkAndJavascriptSlide3);
  822. smalltalk.addMethod(
  823. unescape('_backgroundColor'),
  824. smalltalk.method({
  825. selector: unescape('backgroundColor'),
  826. fn: function (){
  827. var self=this;
  828. return unescape("%2308C");
  829. return self;}
  830. }),
  831. smalltalk.JtalkAndJavascriptSlide3);
  832. smalltalk.addMethod(
  833. unescape('_renderSlideOn_'),
  834. smalltalk.method({
  835. selector: unescape('renderSlideOn%3A'),
  836. fn: function (html){
  837. var self=this;
  838. 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"]);})]);
  839. smalltalk.send(smalltalk.send(html, "_h2", []), "_with_", [unescape("Smalltalk%20%u21D2%20JavaScript")]);
  840. 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", []));})]);
  841. return self;}
  842. }),
  843. smalltalk.JtalkAndJavascriptSlide3);
  844. smalltalk.addClass('JtalkAndJavascriptSlide2', smalltalk.Slide, [], 'Presentation');
  845. smalltalk.addMethod(
  846. unescape('_id'),
  847. smalltalk.method({
  848. selector: unescape('id'),
  849. fn: function (){
  850. var self=this;
  851. return "jtalkAndJs2";
  852. return self;}
  853. }),
  854. smalltalk.JtalkAndJavascriptSlide2);
  855. smalltalk.addMethod(
  856. unescape('_backgroundColor'),
  857. smalltalk.method({
  858. selector: unescape('backgroundColor'),
  859. fn: function (){
  860. var self=this;
  861. return unescape("%2308C");
  862. return self;}
  863. }),
  864. smalltalk.JtalkAndJavascriptSlide2);
  865. smalltalk.addMethod(
  866. unescape('_renderSlideOn_'),
  867. smalltalk.method({
  868. selector: unescape('renderSlideOn%3A'),
  869. fn: function (html){
  870. var self=this;
  871. 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"]);})]);
  872. smalltalk.send(smalltalk.send(html, "_h2", []), "_with_", ["Jtalk maps one to one with the JavaScript equivalent:"]);
  873. 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."]);})]);
  874. return self;}
  875. }),
  876. smalltalk.JtalkAndJavascriptSlide2);
  877. smalltalk.addClass('JtalkAndJavascriptSlide', smalltalk.Slide, [], 'Presentation');
  878. smalltalk.addMethod(
  879. unescape('_id'),
  880. smalltalk.method({
  881. selector: unescape('id'),
  882. fn: function (){
  883. var self=this;
  884. return "jtalkAndJs";
  885. return self;}
  886. }),
  887. smalltalk.JtalkAndJavascriptSlide);
  888. smalltalk.addMethod(
  889. unescape('_cssClass'),
  890. smalltalk.method({
  891. selector: unescape('cssClass'),
  892. fn: function (){
  893. var self=this;
  894. return "slide transparent";
  895. return self;}
  896. }),
  897. smalltalk.JtalkAndJavascriptSlide);
  898. smalltalk.addMethod(
  899. unescape('_backgroundColor'),
  900. smalltalk.method({
  901. selector: unescape('backgroundColor'),
  902. fn: function (){
  903. var self=this;
  904. return unescape("%2308C");
  905. return self;}
  906. }),
  907. smalltalk.JtalkAndJavascriptSlide);
  908. smalltalk.addMethod(
  909. unescape('_renderSlideOn_'),
  910. smalltalk.method({
  911. selector: unescape('renderSlideOn%3A'),
  912. fn: function (html){
  913. var self=this;
  914. (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", []));
  915. return self;}
  916. }),
  917. smalltalk.JtalkAndJavascriptSlide);
  918. smalltalk.addClass('WorkspaceSlide', smalltalk.Slide, [], 'Presentation');
  919. smalltalk.addMethod(
  920. unescape('_id'),
  921. smalltalk.method({
  922. selector: unescape('id'),
  923. fn: function (){
  924. var self=this;
  925. return "workspace";
  926. return self;}
  927. }),
  928. smalltalk.WorkspaceSlide);
  929. smalltalk.addMethod(
  930. unescape('_backgroundColor'),
  931. smalltalk.method({
  932. selector: unescape('backgroundColor'),
  933. fn: function (){
  934. var self=this;
  935. return unescape("%2318bd7d");
  936. return self;}
  937. }),
  938. smalltalk.WorkspaceSlide);
  939. smalltalk.addMethod(
  940. unescape('_renderSlideOn_'),
  941. smalltalk.method({
  942. selector: unescape('renderSlideOn%3A'),
  943. fn: function (html){
  944. var self=this;
  945. var workspace=nil;
  946. (workspace=smalltalk.send((smalltalk.SourceArea || SourceArea), "_new", []));
  947. (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", []));
  948. return self;}
  949. }),
  950. smalltalk.WorkspaceSlide);
  951. smalltalk.addClass('CountersSlide', smalltalk.Slide, [], 'Presentation');
  952. smalltalk.addMethod(
  953. unescape('_id'),
  954. smalltalk.method({
  955. selector: unescape('id'),
  956. fn: function (){
  957. var self=this;
  958. return "counters";
  959. return self;}
  960. }),
  961. smalltalk.CountersSlide);
  962. smalltalk.addMethod(
  963. unescape('_backgroundColor'),
  964. smalltalk.method({
  965. selector: unescape('backgroundColor'),
  966. fn: function (){
  967. var self=this;
  968. return unescape("%2318bd7d");
  969. return self;}
  970. }),
  971. smalltalk.CountersSlide);
  972. smalltalk.addMethod(
  973. unescape('_renderSlideOn_'),
  974. smalltalk.method({
  975. selector: unescape('renderSlideOn%3A'),
  976. fn: function (html){
  977. var self=this;
  978. (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", []));
  979. return self;}
  980. }),
  981. smalltalk.CountersSlide);
  982. smalltalk.addClass('JtalkAndJavascriptSlide4', smalltalk.Slide, [], 'Presentation');
  983. smalltalk.addMethod(
  984. unescape('_id'),
  985. smalltalk.method({
  986. selector: unescape('id'),
  987. fn: function (){
  988. var self=this;
  989. return "jtalkAndJs4";
  990. return self;}
  991. }),
  992. smalltalk.JtalkAndJavascriptSlide4);
  993. smalltalk.addMethod(
  994. unescape('_backgroundColor'),
  995. smalltalk.method({
  996. selector: unescape('backgroundColor'),
  997. fn: function (){
  998. var self=this;
  999. return unescape("%2308C");
  1000. return self;}
  1001. }),
  1002. smalltalk.JtalkAndJavascriptSlide4);
  1003. smalltalk.addMethod(
  1004. unescape('_renderSlideOn_'),
  1005. smalltalk.method({
  1006. selector: unescape('renderSlideOn%3A'),
  1007. fn: function (html){
  1008. var self=this;
  1009. 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);})]);
  1010. smalltalk.send(smalltalk.send(html, "_h2", []), "_with_", [unescape("JavaScript%20%u21D2%20Smalltalk")]);
  1011. 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", []));})]);
  1012. return self;}
  1013. }),
  1014. smalltalk.JtalkAndJavascriptSlide4);
  1015. smalltalk.addClass('IDESlide', smalltalk.Slide, [], 'Presentation');
  1016. smalltalk.addMethod(
  1017. unescape('_id'),
  1018. smalltalk.method({
  1019. selector: unescape('id'),
  1020. fn: function (){
  1021. var self=this;
  1022. return "ide";
  1023. return self;}
  1024. }),
  1025. smalltalk.IDESlide);
  1026. smalltalk.addMethod(
  1027. unescape('_backgroundColor'),
  1028. smalltalk.method({
  1029. selector: unescape('backgroundColor'),
  1030. fn: function (){
  1031. var self=this;
  1032. return "black";
  1033. return self;}
  1034. }),
  1035. smalltalk.IDESlide);
  1036. smalltalk.addMethod(
  1037. unescape('_cssClass'),
  1038. smalltalk.method({
  1039. selector: unescape('cssClass'),
  1040. fn: function (){
  1041. var self=this;
  1042. return "slide transparent";
  1043. return self;}
  1044. }),
  1045. smalltalk.IDESlide);
  1046. smalltalk.addMethod(
  1047. unescape('_renderSlideOn_'),
  1048. smalltalk.method({
  1049. selector: unescape('renderSlideOn%3A'),
  1050. fn: function (html){
  1051. var self=this;
  1052. return self;}
  1053. }),
  1054. smalltalk.IDESlide);
  1055. smalltalk.addClass('ContributionsSlide', smalltalk.Slide, [], 'Presentation');
  1056. smalltalk.addMethod(
  1057. unescape('_id'),
  1058. smalltalk.method({
  1059. selector: unescape('id'),
  1060. fn: function (){
  1061. var self=this;
  1062. return "links";
  1063. return self;}
  1064. }),
  1065. smalltalk.ContributionsSlide);
  1066. smalltalk.addMethod(
  1067. unescape('_renderSlideOn_'),
  1068. smalltalk.method({
  1069. selector: unescape('renderSlideOn%3A'),
  1070. fn: function (html){
  1071. var self=this;
  1072. (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", []));
  1073. return self;}
  1074. }),
  1075. smalltalk.ContributionsSlide);
  1076. smalltalk.addClass('JtalkAndCLI', smalltalk.Slide, [], 'Presentation');
  1077. smalltalk.addMethod(
  1078. unescape('_backgroundColor'),
  1079. smalltalk.method({
  1080. selector: unescape('backgroundColor'),
  1081. fn: function (){
  1082. var self=this;
  1083. return unescape("%230A1");
  1084. return self;}
  1085. }),
  1086. smalltalk.JtalkAndCLI);
  1087. smalltalk.addMethod(
  1088. unescape('_id'),
  1089. smalltalk.method({
  1090. selector: unescape('id'),
  1091. fn: function (){
  1092. var self=this;
  1093. return "JtalkAndCLI";
  1094. return self;}
  1095. }),
  1096. smalltalk.JtalkAndCLI);
  1097. smalltalk.addMethod(
  1098. unescape('_renderSlideOn_'),
  1099. smalltalk.method({
  1100. selector: unescape('renderSlideOn%3A'),
  1101. fn: function (html){
  1102. var self=this;
  1103. 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", []));})]);
  1104. smalltalk.send(smalltalk.send(html, "_h2", []), "_with_", [unescape("jtalkc%20-%20a%20fairly%20elaborate%20bash%20script%20that%3A")]);
  1105. 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"]);})]);
  1106. return self;}
  1107. }),
  1108. smalltalk.JtalkAndCLI);
  1109. smalltalk.addClass('JtalkAndNode', smalltalk.Slide, [], 'Presentation');
  1110. smalltalk.addMethod(
  1111. unescape('_backgroundColor'),
  1112. smalltalk.method({
  1113. selector: unescape('backgroundColor'),
  1114. fn: function (){
  1115. var self=this;
  1116. return unescape("%230A1");
  1117. return self;}
  1118. }),
  1119. smalltalk.JtalkAndNode);
  1120. smalltalk.addMethod(
  1121. unescape('_id'),
  1122. smalltalk.method({
  1123. selector: unescape('id'),
  1124. fn: function (){
  1125. var self=this;
  1126. return "JtalkAndNode";
  1127. return self;}
  1128. }),
  1129. smalltalk.JtalkAndNode);
  1130. smalltalk.addMethod(
  1131. unescape('_renderSlideOn_'),
  1132. smalltalk.method({
  1133. selector: unescape('renderSlideOn%3A'),
  1134. fn: function (html){
  1135. var self=this;
  1136. 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", []));})]);
  1137. smalltalk.send(smalltalk.send(html, "_h2", []), "_with_", ["Hello.st:"]);
  1138. 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", []));})]);
  1139. return self;}
  1140. }),
  1141. smalltalk.JtalkAndNode);
  1142. smalltalk.addClass('JtalkAndNode2', smalltalk.Slide, [], 'Presentation');
  1143. smalltalk.addMethod(
  1144. unescape('_backgroundColor'),
  1145. smalltalk.method({
  1146. selector: unescape('backgroundColor'),
  1147. fn: function (){
  1148. var self=this;
  1149. return unescape("%230A1");
  1150. return self;}
  1151. }),
  1152. smalltalk.JtalkAndNode2);
  1153. smalltalk.addMethod(
  1154. unescape('_id'),
  1155. smalltalk.method({
  1156. selector: unescape('id'),
  1157. fn: function (){
  1158. var self=this;
  1159. return "JtalkAndNode2";
  1160. return self;}
  1161. }),
  1162. smalltalk.JtalkAndNode2);
  1163. smalltalk.addMethod(
  1164. unescape('_renderSlideOn_'),
  1165. smalltalk.method({
  1166. selector: unescape('renderSlideOn%3A'),
  1167. fn: function (html){
  1168. var self=this;
  1169. 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", []));})]);
  1170. smalltalk.send(smalltalk.send(html, "_h2", []), "_with_", ["Makefile:"]);
  1171. 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", []));})]);
  1172. smalltalk.send(smalltalk.send(html, "_h2", []), "_with_", ["hello:"]);
  1173. 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", []));})]);
  1174. return self;}
  1175. }),
  1176. smalltalk.JtalkAndNode2);
  1177. smalltalk.addClass('JtalkAndNode3', smalltalk.Slide, [], 'Presentation');
  1178. smalltalk.addMethod(
  1179. unescape('_backgroundColor'),
  1180. smalltalk.method({
  1181. selector: unescape('backgroundColor'),
  1182. fn: function (){
  1183. var self=this;
  1184. return unescape("%230A1");
  1185. return self;}
  1186. }),
  1187. smalltalk.JtalkAndNode3);
  1188. smalltalk.addMethod(
  1189. unescape('_id'),
  1190. smalltalk.method({
  1191. selector: unescape('id'),
  1192. fn: function (){
  1193. var self=this;
  1194. return "JtalkAndNode3";
  1195. return self;}
  1196. }),
  1197. smalltalk.JtalkAndNode3);
  1198. smalltalk.addMethod(
  1199. unescape('_renderSlideOn_'),
  1200. smalltalk.method({
  1201. selector: unescape('renderSlideOn%3A'),
  1202. fn: function (html){
  1203. var self=this;
  1204. 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", []));})]);
  1205. smalltalk.send(smalltalk.send(html, "_h2", []), "_with_", [unescape("make%20clean%20%26%26%20make%20run%3A")]);
  1206. 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", []));})]);
  1207. return self;}
  1208. }),
  1209. smalltalk.JtalkAndNode3);
  1210. smalltalk.addClass('JtalkAndWebOS', smalltalk.Slide, [], 'Presentation');
  1211. smalltalk.addMethod(
  1212. unescape('_backgroundColor'),
  1213. smalltalk.method({
  1214. selector: unescape('backgroundColor'),
  1215. fn: function (){
  1216. var self=this;
  1217. return unescape("%230A1");
  1218. return self;}
  1219. }),
  1220. smalltalk.JtalkAndWebOS);
  1221. smalltalk.addMethod(
  1222. unescape('_id'),
  1223. smalltalk.method({
  1224. selector: unescape('id'),
  1225. fn: function (){
  1226. var self=this;
  1227. return "JtalkAndWebOS";
  1228. return self;}
  1229. }),
  1230. smalltalk.JtalkAndWebOS);
  1231. smalltalk.addMethod(
  1232. unescape('_renderSlideOn_'),
  1233. smalltalk.method({
  1234. selector: unescape('renderSlideOn%3A'),
  1235. fn: function (html){
  1236. var self=this;
  1237. 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", []));})]);
  1238. smalltalk.send(smalltalk.send(html, "_h2", []), "_with_", ["A really cool mobile OS based on Linux:"]);
  1239. 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"]);})]);
  1240. return self;}
  1241. }),
  1242. smalltalk.JtalkAndWebOS);
  1243. smalltalk.addClass('JtalkAndEnyo', smalltalk.Slide, [], 'Presentation');
  1244. smalltalk.addMethod(
  1245. unescape('_id'),
  1246. smalltalk.method({
  1247. selector: unescape('id'),
  1248. fn: function (){
  1249. var self=this;
  1250. return "JtalkAndEnyo";
  1251. return self;}
  1252. }),
  1253. smalltalk.JtalkAndEnyo);
  1254. smalltalk.addMethod(
  1255. unescape('_backgroundColor'),
  1256. smalltalk.method({
  1257. selector: unescape('backgroundColor'),
  1258. fn: function (){
  1259. var self=this;
  1260. return unescape("%230A1");
  1261. return self;}
  1262. }),
  1263. smalltalk.JtalkAndEnyo);
  1264. smalltalk.addMethod(
  1265. unescape('_renderSlideOn_'),
  1266. smalltalk.method({
  1267. selector: unescape('renderSlideOn%3A'),
  1268. fn: function (html){
  1269. var self=this;
  1270. 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", []));})]);
  1271. return self;}
  1272. }),
  1273. smalltalk.JtalkAndEnyo);
  1274. smalltalk.addClass('FOSDEM2012Presentation', smalltalk.Presentation, [], 'Presentation');
  1275. smalltalk.addMethod(
  1276. unescape('_description'),
  1277. smalltalk.method({
  1278. selector: unescape('description'),
  1279. fn: function (){
  1280. var self=this;
  1281. return unescape("FOSDEM%202012%2C%20Brussels");
  1282. return self;}
  1283. }),
  1284. smalltalk.FOSDEM2012Presentation);
  1285. smalltalk.addMethod(
  1286. unescape('_author'),
  1287. smalltalk.method({
  1288. selector: unescape('author'),
  1289. fn: function (){
  1290. var self=this;
  1291. return unescape("Laurent%20Laffont%2C%20Johnny%20Thornton");
  1292. return self;}
  1293. }),
  1294. smalltalk.FOSDEM2012Presentation);
  1295. smalltalk.addMethod(
  1296. unescape('_email'),
  1297. smalltalk.method({
  1298. selector: unescape('email'),
  1299. fn: function (){
  1300. var self=this;
  1301. return unescape("laurent.laffont@gmail.com%2C%20%20johnnyt@xan.do");
  1302. return self;}
  1303. }),
  1304. smalltalk.FOSDEM2012Presentation);
  1305. smalltalk.addMethod(
  1306. unescape('_url'),
  1307. smalltalk.method({
  1308. selector: unescape('url'),
  1309. fn: function (){
  1310. var self=this;
  1311. return unescape("http%3A//amber-lang.net");
  1312. return self;}
  1313. }),
  1314. smalltalk.FOSDEM2012Presentation);
  1315. smalltalk.addMethod(
  1316. unescape('_style'),
  1317. smalltalk.method({
  1318. selector: unescape('style'),
  1319. fn: function (){
  1320. var self=this;
  1321. 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.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%23meta%20%7B%0A%20%20%20%20position%3A%20absolute%3B%0A%20%20%20%20font-size%3A%2012px%3B%0A%20%20%20%20opacity%3A%200.6%3B%0A%20%20%20%20bottom%3A%200%3B%0A%20%20%20%20right%3A%200%3B%0A%20%20%20%20z-index%3A%202%3B%0A%20%20%20%20background%3A%20%23333%3B%0A%20%20%20%20text-align%3A%20right%3B%0A%20%20%20%20padding%3A%200%2010px%3B%0A%20%20%20%20line-height%3A%201.8em%3B%0A%20%20%20%20color%3A%20%23eee%3B%0A%20%20%20%20border-top-left-radius%3A%205px%3B%0A%7D%0A%0A%23meta%3Ahover%20%7B%0A%20%20%20%20opacity%3A%200.8%3B%0A%7D%0A%0A%23meta%20p%20%7B%0A%20%20%20%20display%3A%20inline%3B%0A%20%20%20%20padding%3A%200%205px%3B%0A%7D%0A%0A%23meta%20a%20%7B%0A%20%20%20%20//background%3A%20%23ccc%3B%0A%20%20%20%20color%3A%20%23ccc%3B%0A%20%20%20%20text-decoration%3A%20none%3B%0A%20%20%20%20padding%3A%200%205px%3B%0A%7D%0A%0A.slide%20%7B%0A%20%20%20%20%0A%7D%0A%0A.slide.blue3d%20%7B%0A%20%20background%3A%20%23feffff%3B%0A%20%20background%3A%20-moz-linear-gradient%28top%2C%20%23feffff%200%25%2C%20%23d2ebf9%20100%25%29%3B%0A%20%20background%3A%20-webkit-gradient%28linear%2C%20left%20top%2C%20left%20bottom%2C%20color-stop%280%25%2C%23feffff%29%2C%20color-stop%28100%25%2C%23d2ebf9%29%29%3B%0A%20%20background%3A%20-webkit-linear-gradient%28top%2C%20%23feffff%200%25%2C%23d2ebf9%20100%25%29%3B%0A%20%20background%3A%20-o-linear-gradient%28top%2C%20%23feffff%200%25%2C%23d2ebf9%20100%25%29%3B%0A%20%20background%3A%20-ms-linear-gradient%28top%2C%20%23feffff%200%25%2C%23d2ebf9%20100%25%29%3B%0A%20%20filter%3A%20progid%3ADXImageTransform.Microsoft.gradient%28%20startColorstr%3D%22%23feffff%22%2C%20endColorstr%3D%22%23d2ebf9%22%2CGradientType%3D0%20%29%3B%0A%20%20background%3A%20linear-gradient%28top%2C%20%23feffff%200%25%2C%23d2ebf9%20100%25%29%3B%0A%7D%0A%0A%0A.slide.red3d%20%7B%0A%20%20background%3A%20%23febbbb%3B%0A%20%20background%3A%20-moz-linear-gradient%28top%2C%20%23febbbb%200%25%2C%20%23fe9090%2071%25%2C%20%23ff5c5c%2095%25%29%3B%0A%20%20background%3A%20-webkit-gradient%28linear%2C%20left%20top%2C%20left%20bottom%2C%20color-stop%280%25%2C%23febbbb%29%2C%20color-stop%2871%25%2C%23fe9090%29%2C%20color-stop%2895%25%2C%23ff5c5c%29%29%3B%0A%20%20background%3A%20-webkit-linear-gradient%28top%2C%20%23febbbb%200%25%2C%23fe9090%2071%25%2C%23ff5c5c%2095%25%29%3B%0A%20%20background%3A%20-o-linear-gradient%28top%2C%20%23febbbb%200%25%2C%23fe9090%2071%25%2C%23ff5c5c%2095%25%29%3B%0A%20%20background%3A%20-ms-linear-gradient%28top%2C%20%23febbbb%200%25%2C%23fe9090%2071%25%2C%23ff5c5c%2095%25%29%3B%0A%20%20filter%3A%20progid%3ADXImageTransform.Microsoft.gradient%28%20startColorstr%3D%22%23febbbb%22%2C%20endColorstr%3D%22%23ff5c5c%22%2CGradientType%3D0%20%29%3B%0A%20%20background%3A%20linear-gradient%28top%2C%20%23febbbb%200%25%2C%23fe9090%2071%25%2C%23ff5c5c%2095%25%29%3B%0A%7D%0A%0A%0A.slide.green3d%20%7B%0A%20%20background%3A%20%23cdeb8e%3B%0A%20%20background%3A%20-moz-linear-gradient%28top%2C%20%23cdeb8e%200%25%2C%20%23a5c956%20100%25%29%3B%0A%20%20background%3A%20-webkit-gradient%28linear%2C%20left%20top%2C%20left%20bottom%2C%20color-stop%280%25%2C%23cdeb8e%29%2C%20color-stop%28100%25%2C%23a5c956%29%29%3B%0A%20%20background%3A%20-webkit-linear-gradient%28top%2C%20%23cdeb8e%200%25%2C%23a5c956%20100%25%29%3B%0A%20%20background%3A%20-o-linear-gradient%28top%2C%20%23cdeb8e%200%25%2C%23a5c956%20100%25%29%3B%0A%20%20background%3A%20-ms-linear-gradient%28top%2C%20%23cdeb8e%200%25%2C%23a5c956%20100%25%29%3B%0A%20%20filter%3A%20progid%3ADXImageTransform.Microsoft.gradient%28%20startColorstr%3D%22%23cdeb8e%22%2C%20endColorstr%3D%22%23a5c956%22%2CGradientType%3D0%20%29%3B%0A%20%20background%3A%20linear-gradient%28top%2C%20%23cdeb8e%200%25%2C%23a5c956%20100%25%29%3B%0A%7D%0A%0A@-webkit-keyframes%20rotate-horizontal%20%7B%0A%090%25%20%7B%20-webkit-transform%3A%20perspective%281000px%29%20rotateY%28-10deg%29%3B%7D%0A%09100%25%20%7B%20-webkit-transform%3A%20perspective%281000px%29%20rotateY%2810deg%29%3B%7D%0A%7D%0A%0A.animate%20p%7B%0A-webkit-animation%3A%20rotate-horizontal%202s%20infinite%20alternate%20ease-in-out%3B%0A%7D%0A%0A%23FOSDEMAmberBackend%20img%20%7B%0A%09margin%3A%205px%3B%0A%09-webkit-animation%3A%20rotate-horizontal%202s%20infinite%20alternate%20ease-in-out%3B%0A%7D%0A");
  1322. return self;}
  1323. }),
  1324. smalltalk.FOSDEM2012Presentation);
  1325. smalltalk.addMethod(
  1326. unescape('_slideClasses'),
  1327. smalltalk.method({
  1328. selector: unescape('slideClasses'),
  1329. fn: function (){
  1330. var self=this;
  1331. return [(smalltalk.FOSDEMIntroSlide || FOSDEMIntroSlide),(smalltalk.CountersSlide || CountersSlide),(smalltalk.JtalkAndJavascriptSlide || JtalkAndJavascriptSlide),(smalltalk.FOSDEMBookletSlide || FOSDEMBookletSlide),(smalltalk.FOSDEMJSPlayGroundSlide || FOSDEMJSPlayGroundSlide),(smalltalk.FOSDEMCanvasSlide || FOSDEMCanvasSlide),(smalltalk.FOSDEMAmberBackend || FOSDEMAmberBackend)];
  1332. return self;}
  1333. }),
  1334. smalltalk.FOSDEM2012Presentation);
  1335. smalltalk.addMethod(
  1336. unescape('_isConcrete'),
  1337. smalltalk.method({
  1338. selector: unescape('isConcrete'),
  1339. fn: function (){
  1340. var self=this;
  1341. return true;
  1342. return self;}
  1343. }),
  1344. smalltalk.FOSDEM2012Presentation.klass);
  1345. smalltalk.addMethod(
  1346. unescape('_title'),
  1347. smalltalk.method({
  1348. selector: unescape('title'),
  1349. fn: function (){
  1350. var self=this;
  1351. return "Amber";
  1352. return self;}
  1353. }),
  1354. smalltalk.FOSDEM2012Presentation.klass);
  1355. smalltalk.addClass('FOSDEMIntroSlide', smalltalk.Slide, [], 'Presentation');
  1356. smalltalk.addMethod(
  1357. unescape('_renderSlideOn_'),
  1358. smalltalk.method({
  1359. selector: unescape('renderSlideOn%3A'),
  1360. fn: function (html){
  1361. var self=this;
  1362. (function($rec){smalltalk.send($rec, "_class_", ["section center animate"]);return smalltalk.send($rec, "_with_", [(function(){smalltalk.send(smalltalk.send(html, "_img", []), "_src_", [unescape("fosdem2012/images/amber.png")]);smalltalk.send(html, "_p_", [smalltalk.send(smalltalk.send(self, "_presentation", []), "_author", [])]);smalltalk.send(html, "_p_", [smalltalk.send(smalltalk.send(self, "_presentation", []), "_description", [])]);return smalltalk.send(html, "_p_", [(function(){return smalltalk.send(html, "_with_", [smalltalk.send(smalltalk.send(self, "_presentation", []), "_email", [])]);})]);})]);})(smalltalk.send(html, "_div", []));
  1363. return self;}
  1364. }),
  1365. smalltalk.FOSDEMIntroSlide);
  1366. smalltalk.addClass('FOSDEMBookletSlide', smalltalk.Slide, [], 'Presentation');
  1367. smalltalk.addMethod(
  1368. unescape('_renderSlideOn_'),
  1369. smalltalk.method({
  1370. selector: unescape('renderSlideOn%3A'),
  1371. fn: function (html){
  1372. var self=this;
  1373. smalltalk.send(self, "_renderBookOn_", [html]);
  1374. (function($rec){smalltalk.send($rec, "_rel_", ["stylesheet"]);return smalltalk.send($rec, "_href_", [unescape("fosdem2012/lib/booklet/jquery.booklet.1.2.0.css")]);})(smalltalk.send(html, "_link", []));
  1375. smalltalk.send((typeof jQuery == 'undefined' ? nil : jQuery), "_getScript_do_", [unescape("fosdem2012/lib/booklet/jquery.booklet.1.2.0.min.js"), (function(){return smalltalk.send(smalltalk.send(unescape("%23book"), "_asJQuery", []), "_booklet_", [smalltalk.send(self, "_bookletOptions", [])]);})]);
  1376. return self;}
  1377. }),
  1378. smalltalk.FOSDEMBookletSlide);
  1379. smalltalk.addMethod(
  1380. unescape('_renderBookOn_'),
  1381. smalltalk.method({
  1382. selector: unescape('renderBookOn%3A'),
  1383. fn: function (html){
  1384. var self=this;
  1385. (function($rec){smalltalk.send($rec, "_id_", ["book"]);return smalltalk.send($rec, "_with_", [(function(){return (function($rec){smalltalk.send($rec, "_class_", [unescape("b-load")]);return smalltalk.send($rec, "_with_", [(function(){return (function($rec){smalltalk.send($rec, "_div_", ["Amber makes it easy to plug existing javascript libraires"]);smalltalk.send($rec, "_div_", ["Here is an example with the jQuery Booklet plugin"]);smalltalk.send($rec, "_div_", [unescape("Want%20to%20see%20how%20%3F")]);return smalltalk.send($rec, "_div_", [(function(){return (function($rec){smalltalk.send($rec, "_onClick_", [(function(){return smalltalk.send((smalltalk.Browser || Browser), "_openOn_", [(smalltalk.FOSDEMBookletSlide || FOSDEMBookletSlide)]);})]);return smalltalk.send($rec, "_with_", [unescape("Just%20browse%20the%20code%20%3A%29")]);})(smalltalk.send(html, "_button", []));})]);})(html);})]);})(smalltalk.send(html, "_div", []));})]);})(smalltalk.send(html, "_div", []));
  1386. return self;}
  1387. }),
  1388. smalltalk.FOSDEMBookletSlide);
  1389. smalltalk.addMethod(
  1390. unescape('_bookletOptions'),
  1391. smalltalk.method({
  1392. selector: unescape('bookletOptions'),
  1393. fn: function (){
  1394. var self=this;
  1395. return smalltalk.HashedCollection._fromPairs_([smalltalk.send("arrows", "__minus_gt", [true]),smalltalk.send("keyboard", "__minus_gt", [false]),smalltalk.send("pageNumbers", "__minus_gt", [false]),smalltalk.send("closed", "__minus_gt", [true])]);
  1396. return self;}
  1397. }),
  1398. smalltalk.FOSDEMBookletSlide);
  1399. smalltalk.addMethod(
  1400. unescape('_cssClass'),
  1401. smalltalk.method({
  1402. selector: unescape('cssClass'),
  1403. fn: function (){
  1404. var self=this;
  1405. return "slide blue3d";
  1406. return self;}
  1407. }),
  1408. smalltalk.FOSDEMBookletSlide);
  1409. smalltalk.addClass('FOSDEMAmberBackend', smalltalk.Slide, [], 'Presentation');
  1410. smalltalk.addMethod(
  1411. unescape('_renderSlideOn_'),
  1412. smalltalk.method({
  1413. selector: unescape('renderSlideOn%3A'),
  1414. fn: function (html){
  1415. var self=this;
  1416. (function($rec){smalltalk.send($rec, "_class_", ["section center"]);return smalltalk.send($rec, "_with_", [(function(){smalltalk.send(html, "_h1_", [unescape("Need%20a%20backend%20%3F")]);return smalltalk.send(["nodejs.png","php.gif","rails.png","pharo.png","ambrhino.jpg"], "_do_", [(function(aString){return smalltalk.send(html, "_img_", [smalltalk.send(unescape("fosdem2012/images/"), "__comma", [aString])]);})]);})]);})(smalltalk.send(html, "_div", []));
  1417. return self;}
  1418. }),
  1419. smalltalk.FOSDEMAmberBackend);
  1420. smalltalk.addMethod(
  1421. unescape('_cssClass'),
  1422. smalltalk.method({
  1423. selector: unescape('cssClass'),
  1424. fn: function (){
  1425. var self=this;
  1426. return "slide green3d";
  1427. return self;}
  1428. }),
  1429. smalltalk.FOSDEMAmberBackend);
  1430. smalltalk.addClass('FOSDEMJSPlayGroundSlide', smalltalk.Slide, [], 'Presentation');
  1431. smalltalk.addMethod(
  1432. unescape('_renderSlideOn_'),
  1433. smalltalk.method({
  1434. selector: unescape('renderSlideOn%3A'),
  1435. fn: function (html){
  1436. var self=this;
  1437. (function($rec){smalltalk.send($rec, "_class_", ["section center"]);return smalltalk.send($rec, "_with_", [(function(){smalltalk.send(self, "_renderSnippet_on_", [smalltalk.send(self, "_codeSnippet", []), html]);return (function($rec){smalltalk.send($rec, "_id_", ["amberlogo"]);return smalltalk.send($rec, "_src_", [unescape("fosdem2012/images/amber.png")]);})(smalltalk.send(html, "_img", []));})]);})(smalltalk.send(html, "_div", []));
  1438. return self;}
  1439. }),
  1440. smalltalk.FOSDEMJSPlayGroundSlide);
  1441. smalltalk.addMethod(
  1442. unescape('_codeSnippet'),
  1443. smalltalk.method({
  1444. selector: unescape('codeSnippet'),
  1445. fn: function (){
  1446. var self=this;
  1447. return unescape("%7Clogo%7C%0Alogo%3A%3D%27img%23amberlogo%27%20asJQuery.%0Alogo%0A%20%20css%3A%20%27-webkit-transition%27%20%0A%20%20apply%3A%20%27all%2010s%20ease-in-out%27.%0A%0Alogo%0A%20%20css%3A%20%27-webkit-transform%27%20%0A%20%20apply%3A%20%27rotateZ%28360deg%29%27.%0A%0Alogo%20click%3A%20%5B%0A%20%20%20%20window%20alert%3A%20%27This%20is%20cool%20%21%27%5D.%0A%0Alogo%20inspect");
  1448. return self;}
  1449. }),
  1450. smalltalk.FOSDEMJSPlayGroundSlide);
  1451. smalltalk.addMethod(
  1452. unescape('_renderSnippet_on_'),
  1453. smalltalk.method({
  1454. selector: unescape('renderSnippet%3Aon%3A'),
  1455. fn: function (aString, html){
  1456. var self=this;
  1457. smalltalk.send((function($rec){smalltalk.send($rec, "_renderOn_", [html]);return smalltalk.send($rec, "_editor", []);})(smalltalk.send((smalltalk.SourceArea || SourceArea), "_new", [])), "_setValue_", [aString]);
  1458. return self;}
  1459. }),
  1460. smalltalk.FOSDEMJSPlayGroundSlide);
  1461. smalltalk.addClass('FOSDEMCanvasSlide', smalltalk.Slide, ['c2d', 'canvas'], 'Presentation');
  1462. smalltalk.addMethod(
  1463. unescape('_renderSlideOn_'),
  1464. smalltalk.method({
  1465. selector: unescape('renderSlideOn%3A'),
  1466. fn: function (html){
  1467. var self=this;
  1468. smalltalk.send(html, "_h1_", ["Canvas made easy"]);
  1469. (self['@canvas']=(function($rec){smalltalk.send($rec, "_width_", [(700)]);smalltalk.send($rec, "_height_", [(400)]);return smalltalk.send($rec, "_onClick_", [(function(){return smalltalk.send(self, "_drawOnCanvas", []);})]);})(smalltalk.send(html, "_canvas", [])));
  1470. return self;}
  1471. }),
  1472. smalltalk.FOSDEMCanvasSlide);
  1473. smalltalk.addMethod(
  1474. unescape('_drawOnCanvas'),
  1475. smalltalk.method({
  1476. selector: unescape('drawOnCanvas'),
  1477. fn: function (){
  1478. var self=this;
  1479. var c2d=nil;
  1480. (self['@c2d']=smalltalk.send(smalltalk.send(self['@canvas'], "_element", []), "_getContext_", ["2d"]));
  1481. smalltalk.send(self['@c2d'], "_clearRect_y_width_height_", [(0), (0), smalltalk.send(smalltalk.send(self['@canvas'], "_element", []), "_width", []), smalltalk.send(smalltalk.send(self['@canvas'], "_element", []), "_height", [])]);
  1482. smalltalk.send((20), "_timesRepeat_", [(function(){return (function($rec){smalltalk.send($rec, "_at_put_", ["fillStyle", smalltalk.send(smalltalk.send(smalltalk.send(smalltalk.send(smalltalk.send(smalltalk.send(unescape("rgba%28"), "__comma", [smalltalk.send(smalltalk.send((255), "_atRandom", []), "_asString", [])]), "__comma", [unescape("%2C")]), "__comma", [smalltalk.send(smalltalk.send((255), "_atRandom", []), "_asString", [])]), "__comma", [unescape("%2C")]), "__comma", [smalltalk.send(smalltalk.send((255), "_atRandom", []), "_asString", [])]), "__comma", [unescape("%2C%200.4%29")])]);return smalltalk.send($rec, "_fillRect_y_width_height_", [smalltalk.send((600), "_atRandom", []), smalltalk.send((300), "_atRandom", []), smalltalk.send((200), "_atRandom", []), smalltalk.send((200), "_atRandom", [])]);})(self['@c2d']);})]);
  1483. return self;}
  1484. }),
  1485. smalltalk.FOSDEMCanvasSlide);