Presentation.js 170 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693
  1. smalltalk.addPackage('Presentation', {});
  2. smalltalk.addClass('Presentation', smalltalk.Widget, ['currentSlide', 'slides'], 'Presentation');
  3. smalltalk.addMethod(
  4. unescape('_title'),
  5. smalltalk.method({
  6. selector: unescape('title'),
  7. category: 'accessing',
  8. fn: function (){
  9. var self=this;
  10. return smalltalk.send(smalltalk.send(self, "_class", []), "_title", []);
  11. return self;},
  12. args: [],
  13. source: unescape('title%0A%09%5E%20self%20class%20title.'),
  14. messageSends: ["title", "class"],
  15. referencedClasses: []
  16. }),
  17. smalltalk.Presentation);
  18. smalltalk.addMethod(
  19. unescape('_author'),
  20. smalltalk.method({
  21. selector: unescape('author'),
  22. category: 'accessing',
  23. fn: function (){
  24. var self=this;
  25. return "John Smith";
  26. return self;},
  27. args: [],
  28. source: unescape('author%0A%09%5E%27John%20Smith%27'),
  29. messageSends: [],
  30. referencedClasses: []
  31. }),
  32. smalltalk.Presentation);
  33. smalltalk.addMethod(
  34. unescape('_url'),
  35. smalltalk.method({
  36. selector: unescape('url'),
  37. category: 'accessing',
  38. fn: function (){
  39. var self=this;
  40. return unescape("http%3A//jtalk-project.org");
  41. return self;},
  42. args: [],
  43. source: unescape('url%0A%09%5E%27http%3A//jtalk-project.org%27'),
  44. messageSends: [],
  45. referencedClasses: []
  46. }),
  47. smalltalk.Presentation);
  48. smalltalk.addMethod(
  49. unescape('_description'),
  50. smalltalk.method({
  51. selector: unescape('description'),
  52. category: 'accessing',
  53. fn: function (){
  54. var self=this;
  55. return "A presentation written in Jtalk";
  56. return self;},
  57. args: [],
  58. source: unescape('description%0A%09%5E%27A%20presentation%20written%20in%20Jtalk%27'),
  59. messageSends: [],
  60. referencedClasses: []
  61. }),
  62. smalltalk.Presentation);
  63. smalltalk.addMethod(
  64. unescape('_email'),
  65. smalltalk.method({
  66. selector: unescape('email'),
  67. category: 'accessing',
  68. fn: function (){
  69. var self=this;
  70. return unescape("john@smith.com");
  71. return self;},
  72. args: [],
  73. source: unescape('email%0A%09%5E%27john@smith.com%27'),
  74. messageSends: [],
  75. referencedClasses: []
  76. }),
  77. smalltalk.Presentation);
  78. smalltalk.addMethod(
  79. unescape('_slides'),
  80. smalltalk.method({
  81. selector: unescape('slides'),
  82. category: 'accessing',
  83. fn: function (){
  84. var self=this;
  85. (($receiver = self['@slides']) == nil || $receiver == undefined) ? (function(){return smalltalk.send(self, "_initSlides", []);})() : $receiver;
  86. return self['@slides'];
  87. return self;},
  88. args: [],
  89. source: unescape('slides%0A%09slides%20ifNil%3A%20%5Bself%20initSlides%5D.%0A%09%5Eslides'),
  90. messageSends: ["ifNil:", "initSlides"],
  91. referencedClasses: []
  92. }),
  93. smalltalk.Presentation);
  94. smalltalk.addMethod(
  95. unescape('_slideClasses'),
  96. smalltalk.method({
  97. selector: unescape('slideClasses'),
  98. category: 'accessing',
  99. fn: function (){
  100. var self=this;
  101. return smalltalk.send(self, "_subclassResponsibility", []);
  102. return self;},
  103. args: [],
  104. source: unescape('slideClasses%0A%09%5Eself%20subclassResponsibility'),
  105. messageSends: ["subclassResponsibility"],
  106. referencedClasses: []
  107. }),
  108. smalltalk.Presentation);
  109. smalltalk.addMethod(
  110. unescape('_currentSlide'),
  111. smalltalk.method({
  112. selector: unescape('currentSlide'),
  113. category: 'accessing',
  114. fn: function (){
  115. var self=this;
  116. return self['@currentSlide'];
  117. return self;},
  118. args: [],
  119. source: unescape('currentSlide%0A%09%5EcurrentSlide'),
  120. messageSends: [],
  121. referencedClasses: []
  122. }),
  123. smalltalk.Presentation);
  124. smalltalk.addMethod(
  125. unescape('_currentSlide_'),
  126. smalltalk.method({
  127. selector: unescape('currentSlide%3A'),
  128. category: 'accessing',
  129. fn: function (aSlide){
  130. var self=this;
  131. (self['@currentSlide']=aSlide);
  132. return self;},
  133. args: ["aSlide"],
  134. source: unescape('currentSlide%3A%20aSlide%0A%09currentSlide%20%3A%3D%20aSlide'),
  135. messageSends: [],
  136. referencedClasses: []
  137. }),
  138. smalltalk.Presentation);
  139. smalltalk.addMethod(
  140. unescape('_slideTransition'),
  141. smalltalk.method({
  142. selector: unescape('slideTransition'),
  143. category: 'accessing',
  144. fn: function (){
  145. var self=this;
  146. return "fade";
  147. return self;},
  148. args: [],
  149. source: unescape('slideTransition%0A%09%5E%27fade%27'),
  150. messageSends: [],
  151. referencedClasses: []
  152. }),
  153. smalltalk.Presentation);
  154. smalltalk.addMethod(
  155. unescape('_style'),
  156. smalltalk.method({
  157. selector: unescape('style'),
  158. category: 'accessing',
  159. fn: function (){
  160. var self=this;
  161. return "";
  162. return self;},
  163. args: [],
  164. source: unescape('style%0A%09%22Should%20return%20a%20CSS%20style%22%0A%09%5E%20%27%27'),
  165. messageSends: [],
  166. referencedClasses: []
  167. }),
  168. smalltalk.Presentation);
  169. smalltalk.addMethod(
  170. unescape('_nextSlide'),
  171. smalltalk.method({
  172. selector: unescape('nextSlide'),
  173. category: 'actions',
  174. fn: function (){
  175. var self=this;
  176. var next=nil;
  177. (($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;
  178. return self;},
  179. args: [],
  180. source: unescape('nextSlide%0A%09%7C%20next%20%7C%0A%09self%20currentSlide%20ifNotNil%3A%20%5B%0A%09%09next%20%3A%3D%20self%20slides%20%0A%09%09%09at%3A%20%28self%20currentSlideIndex%29%20+%201%0A%09%09%09ifAbsent%3A%20%5Bnil%5D.%0A%09%09next%20ifNotNil%3A%20%5BcurrentSlide%20%3A%3D%20next.%20next%20show%5D%5D'),
  181. messageSends: ["ifNotNil:", "currentSlide", "at:ifAbsent:", "slides", unescape("+"), "currentSlideIndex", "show"],
  182. referencedClasses: []
  183. }),
  184. smalltalk.Presentation);
  185. smalltalk.addMethod(
  186. unescape('_showCurrentSlide'),
  187. smalltalk.method({
  188. selector: unescape('showCurrentSlide'),
  189. category: 'actions',
  190. fn: function (){
  191. var self=this;
  192. (($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;
  193. return self;},
  194. args: [],
  195. source: unescape('showCurrentSlide%0A%09self%20currentSlide%20ifNotNil%3A%20%5B%0A%09%09%27.slide%27%20asJQuery%20hide.%0A%09%09%28%27%23%27%2C%20self%20currentSlide%20id%29%20asJQuery%20show.%0A%20%20%20%20%20%20%20%20%20%20%09%27title%27%20asJQuery%20text%3A%20self%20title%2C%20%27%20-%20%27%2C%20self%20currentSlide%20id.%0A%20%20%20%20%20%20%20%20%5D'),
  196. messageSends: ["ifNotNil:", "currentSlide", "hide", "asJQuery", "show", unescape("%2C"), "id", "text:", "title"],
  197. referencedClasses: []
  198. }),
  199. smalltalk.Presentation);
  200. smalltalk.addMethod(
  201. unescape('_previousSlide'),
  202. smalltalk.method({
  203. selector: unescape('previousSlide'),
  204. category: 'actions',
  205. fn: function (){
  206. var self=this;
  207. var next=nil;
  208. (($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;
  209. return self;},
  210. args: [],
  211. source: unescape('previousSlide%0A%09%7C%20next%20%7C%0A%09self%20currentSlide%20ifNotNil%3A%20%5B%0A%09%09next%20%3A%3D%20self%20slides%20%0A%09%09%09at%3A%20%28self%20currentSlideIndex%29%20-%201%0A%09%09%09ifAbsent%3A%20%5Bnil%5D.%0A%09%09next%20ifNotNil%3A%20%5BcurrentSlide%20%3A%3D%20next.%20next%20show%5D%5D'),
  212. messageSends: ["ifNotNil:", "currentSlide", "at:ifAbsent:", "slides", unescape("-"), "currentSlideIndex", "show"],
  213. referencedClasses: []
  214. }),
  215. smalltalk.Presentation);
  216. smalltalk.addMethod(
  217. unescape('_moveAt_'),
  218. smalltalk.method({
  219. selector: unescape('moveAt%3A'),
  220. category: 'actions',
  221. fn: function (anInteger){
  222. var self=this;
  223. var next=nil;
  224. (next=smalltalk.send(smalltalk.send(self, "_slides", []), "_at_ifAbsent_", [anInteger, (function(){return nil;})]));
  225. (($receiver = next) != nil && $receiver != undefined) ? (function(){(self['@currentSlide']=next);return smalltalk.send(next, "_show", []);})() : nil;
  226. return self;},
  227. args: ["anInteger"],
  228. source: unescape('moveAt%3A%20anInteger%0A%09%7C%20next%20%7C%0A%09next%20%3A%3D%20self%20slides%20%0A%09%09%09at%3A%20anInteger%0A%09%09%09ifAbsent%3A%20%5Bnil%5D.%0A%09next%20ifNotNil%3A%20%5BcurrentSlide%20%3A%3D%20next.%20next%20show%5D'),
  229. messageSends: ["at:ifAbsent:", "slides", "ifNotNil:", "show"],
  230. referencedClasses: []
  231. }),
  232. smalltalk.Presentation);
  233. smalltalk.addMethod(
  234. unescape('_currentSlideIndex'),
  235. smalltalk.method({
  236. selector: unescape('currentSlideIndex'),
  237. category: 'actions',
  238. fn: function (){
  239. var self=this;
  240. return smalltalk.send(smalltalk.send(self, "_slides", []), "_indexOf_ifAbsent_", [smalltalk.send(self, "_currentSlide", []), (function(){return (1);})]);
  241. return self;},
  242. args: [],
  243. source: unescape('currentSlideIndex%0A%09%5E%20self%20slides%20indexOf%3A%20self%20currentSlide%20ifAbsent%3A%20%5B1%5D'),
  244. messageSends: ["indexOf:ifAbsent:", "slides", "currentSlide"],
  245. referencedClasses: []
  246. }),
  247. smalltalk.Presentation);
  248. smalltalk.addMethod(
  249. unescape('_slidesDo_'),
  250. smalltalk.method({
  251. selector: unescape('slidesDo%3A'),
  252. category: 'enumerating',
  253. fn: function (aBlockWithArg){
  254. var self=this;
  255. smalltalk.send(smalltalk.send(self, "_slides", []), "_do_", [(function(aSlide){return smalltalk.send(aBlockWithArg, "_value_", [aSlide]);})]);
  256. return self;},
  257. args: ["aBlockWithArg"],
  258. source: unescape('slidesDo%3A%20aBlockWithArg%0A%09self%20slides%20do%3A%20%5B%3AaSlide%7C%20aBlockWithArg%20value%3A%20aSlide%5D.'),
  259. messageSends: ["do:", "slides", "value:"],
  260. referencedClasses: []
  261. }),
  262. smalltalk.Presentation);
  263. smalltalk.addMethod(
  264. unescape('_initSlides'),
  265. smalltalk.method({
  266. selector: unescape('initSlides'),
  267. category: 'initialization',
  268. fn: function (){
  269. var self=this;
  270. (self['@slides']=smalltalk.send(smalltalk.send(self, "_slideClasses", []), "_collect_", [(function(each){return smalltalk.send(each, "_on_", [self]);})]));
  271. return self;},
  272. args: [],
  273. source: unescape('initSlides%0A%09slides%20%3A%3D%20self%20slideClasses%20collect%3A%20%5B%3Aeach%20%7C%20each%20on%3A%20self%5D'),
  274. messageSends: ["collect:", "slideClasses", "on:"],
  275. referencedClasses: []
  276. }),
  277. smalltalk.Presentation);
  278. smalltalk.addMethod(
  279. unescape('_renderOn_'),
  280. smalltalk.method({
  281. selector: unescape('renderOn%3A'),
  282. category: 'rendering',
  283. fn: function (html){
  284. var self=this;
  285. (function($rec){smalltalk.send($rec, "_type_", [unescape("text/css")]);return smalltalk.send($rec, "_with_", [smalltalk.send(self, "_style", [])]);})(smalltalk.send(html, "_style", []));
  286. (function($rec){smalltalk.send($rec, "_id_", ["slides"]);return smalltalk.send($rec, "_with_", [(function(){return smalltalk.send(self, "_renderSlidesOn_", [html]);})]);})(smalltalk.send(html, "_div", []));
  287. return self;},
  288. args: ["html"],
  289. source: unescape('renderOn%3A%20html%0A%09html%20style%0A%09%09type%3A%20%27text/css%27%3B%0A%09%09with%3A%20self%20style.%0A%09html%20div%20%0A%09%09id%3A%20%27slides%27%3B%0A%09%09with%3A%20%5Bself%20renderSlidesOn%3A%20html%5D'),
  290. messageSends: ["type:", "with:", "style", "id:", "renderSlidesOn:", "div"],
  291. referencedClasses: []
  292. }),
  293. smalltalk.Presentation);
  294. smalltalk.addMethod(
  295. unescape('_renderSlidesOn_'),
  296. smalltalk.method({
  297. selector: unescape('renderSlidesOn%3A'),
  298. category: 'rendering',
  299. fn: function (html){
  300. var self=this;
  301. smalltalk.send(smalltalk.send(self, "_slides", []), "_do_", [(function(each){return smalltalk.send(each, "_renderOn_", [html]);})]);
  302. (($receiver = self['@currentSlide']) == nil || $receiver == undefined) ? (function(){return (self['@currentSlide']=smalltalk.send(smalltalk.send(self, "_slides", []), "_first", []));})() : $receiver;
  303. smalltalk.send(self, "_showCurrentSlide", []);
  304. return self;},
  305. args: ["html"],
  306. source: unescape('renderSlidesOn%3A%20html%0A%09self%20slides%20do%3A%20%5B%3Aeach%20%7C%20%0A%09%09each%20renderOn%3A%20html%5D.%0A%09currentSlide%20ifNil%3A%20%5BcurrentSlide%20%3A%3D%20self%20slides%20first%5D.%0A%09self%20showCurrentSlide'),
  307. messageSends: ["do:", "slides", "renderOn:", "ifNil:", "first", "showCurrentSlide"],
  308. referencedClasses: []
  309. }),
  310. smalltalk.Presentation);
  311. smalltalk.Presentation.klass.iVarNames = ['current'];
  312. smalltalk.addMethod(
  313. unescape('_concretePresentations'),
  314. smalltalk.method({
  315. selector: unescape('concretePresentations'),
  316. category: 'accessing',
  317. fn: function (){
  318. var self=this;
  319. return smalltalk.send(smalltalk.send(self, "_allSubclasses", []), "_select_", [(function(aPresentationClass){return smalltalk.send(aPresentationClass, "_isConcrete", []);})]);
  320. return self;},
  321. args: [],
  322. source: unescape('concretePresentations%0A%09%5E%20self%20allSubclasses%20select%3A%20%5B%3AaPresentationClass%7C%20aPresentationClass%20isConcrete%5D'),
  323. messageSends: ["select:", "allSubclasses", "isConcrete"],
  324. referencedClasses: []
  325. }),
  326. smalltalk.Presentation.klass);
  327. smalltalk.addMethod(
  328. unescape('_title'),
  329. smalltalk.method({
  330. selector: unescape('title'),
  331. category: 'accessing',
  332. fn: function (){
  333. var self=this;
  334. return "Slides";
  335. return self;},
  336. args: [],
  337. source: unescape('title%0A%09%5E%20%27Slides%27'),
  338. messageSends: [],
  339. referencedClasses: []
  340. }),
  341. smalltalk.Presentation.klass);
  342. smalltalk.addMethod(
  343. unescape('_concretePresentationsDo_'),
  344. smalltalk.method({
  345. selector: unescape('concretePresentationsDo%3A'),
  346. category: 'enumerating',
  347. fn: function (aBlockWithArg){
  348. var self=this;
  349. smalltalk.send(smalltalk.send(self, "_concretePresentations", []), "_do_", [aBlockWithArg]);
  350. return self;},
  351. args: ["aBlockWithArg"],
  352. source: unescape('concretePresentationsDo%3A%20aBlockWithArg%0A%09self%20concretePresentations%20do%3A%20aBlockWithArg.'),
  353. messageSends: ["do:", "concretePresentations"],
  354. referencedClasses: []
  355. }),
  356. smalltalk.Presentation.klass);
  357. smalltalk.addMethod(
  358. unescape('_isConcrete'),
  359. smalltalk.method({
  360. selector: unescape('isConcrete'),
  361. category: 'testing',
  362. fn: function (){
  363. var self=this;
  364. return false;
  365. return self;},
  366. args: [],
  367. source: unescape('isConcrete%0A%09%5Efalse'),
  368. messageSends: [],
  369. referencedClasses: []
  370. }),
  371. smalltalk.Presentation.klass);
  372. smalltalk.addClass('PresentationNavigator', smalltalk.Widget, ['presentationBrush', 'currentPresentation', 'slideSelect'], 'Presentation');
  373. smalltalk.addMethod(
  374. unescape('_currentPresentation_'),
  375. smalltalk.method({
  376. selector: unescape('currentPresentation%3A'),
  377. category: 'accessing',
  378. fn: function (aPresentation){
  379. var self=this;
  380. (self['@currentPresentation']=aPresentation);
  381. return self;},
  382. args: ["aPresentation"],
  383. source: unescape('currentPresentation%3A%20aPresentation%0A%09currentPresentation%20%3A%3D%20aPresentation.'),
  384. messageSends: [],
  385. referencedClasses: []
  386. }),
  387. smalltalk.PresentationNavigator);
  388. smalltalk.addMethod(
  389. unescape('_currentPresentation'),
  390. smalltalk.method({
  391. selector: unescape('currentPresentation'),
  392. category: 'accessing',
  393. fn: function (){
  394. var self=this;
  395. return (($receiver = self['@currentPresentation']) == nil || $receiver == undefined) ? (function(){return (self['@currentPresentation']=smalltalk.send(smalltalk.send(smalltalk.send((smalltalk.Presentation || Presentation), "_concretePresentations", []), "_first", []), "_new", []));})() : $receiver;
  396. return self;},
  397. args: [],
  398. source: unescape('currentPresentation%0A%09%5E%20%20currentPresentation%20ifNil%3A%20%5BcurrentPresentation%20%3A%3D%20Presentation%20concretePresentations%20first%20new%5D.'),
  399. messageSends: ["ifNil:", "new", "first", "concretePresentations"],
  400. referencedClasses: ["Presentation"]
  401. }),
  402. smalltalk.PresentationNavigator);
  403. smalltalk.addMethod(
  404. unescape('_style'),
  405. smalltalk.method({
  406. selector: unescape('style'),
  407. category: 'accessing',
  408. fn: function (){
  409. var self=this;
  410. 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");
  411. return self;},
  412. args: [],
  413. source: unescape('style%0A%09%5E%20%27%0A%23navigator%20%7B%0A%20%20%20%20z-index%3A%201%3B%0A%20%20%20%20position%3A%20fixed%3B%0A%20%20%20%20top%3A%200%3B%0A%20%20%20%20left%3A%2050%25%3B%0A%20%20%20%20margin-left%3A%20-150px%3B%0A%20%20%20%20padding%3A%205px%3B%0A%20%20%20%20border-radius%3A%205px%3B%0A%20%20%20%20-moz-border-radius%3A%205px%3B%0A%20%20%20%20-webkit-border-radius%3A%205px%3B%0A%20%20%20%20background%3A%20%23333%3B%0A%20%20%20%20opacity%3A%200.3%3B%0A%20%20%20%20color%3A%20%23eee%3B%0A%7D%0A%0A%23navigator%20a%20%7B%0A%20%20%20%20font-weight%3A%20bold%3B%0A%20%20%20%20color%3A%20%23eee%3B%0A%20%20%20%20text-decoration%3A%20none%3B%0A%20%20%20%20cursor%3A%20pointer%3B%0A%20%20%20%20padding%3A%200%202px%3B%0A%20%20%20%20font-size%3A%2014px%3B%0A%7D%0A%0A%23navigator%3Ahover%20%7B%0A%20%20%20%20opacity%3A%200.8%3B%0A%7D%0A%27'),
  414. messageSends: [],
  415. referencedClasses: []
  416. }),
  417. smalltalk.PresentationNavigator);
  418. smalltalk.addMethod(
  419. unescape('_selectPresentation_'),
  420. smalltalk.method({
  421. selector: unescape('selectPresentation%3A'),
  422. category: 'callbacks',
  423. fn: function (aPresentationClass){
  424. var self=this;
  425. smalltalk.send(self, "_currentPresentation_", [smalltalk.send(aPresentationClass, "_new", [])]);
  426. smalltalk.send(self, "_renderCurrentPresentation", []);
  427. return self;},
  428. args: ["aPresentationClass"],
  429. source: unescape('selectPresentation%3A%20aPresentationClass%0A%09self%20currentPresentation%3A%20aPresentationClass%20new.%0A%09self%20renderCurrentPresentation.'),
  430. messageSends: ["currentPresentation:", "new", "renderCurrentPresentation"],
  431. referencedClasses: []
  432. }),
  433. smalltalk.PresentationNavigator);
  434. smalltalk.addMethod(
  435. unescape('_selectPresentationNamed_'),
  436. smalltalk.method({
  437. selector: unescape('selectPresentationNamed%3A'),
  438. category: 'callbacks',
  439. fn: function (aString){
  440. var self=this;
  441. var presentationClass=nil;
  442. (presentationClass=smalltalk.send(smalltalk.send((smalltalk.Smalltalk || Smalltalk), "_current", []), "_at_", [aString]));
  443. (($receiver = presentationClass) != nil && $receiver != undefined) ? (function(){return smalltalk.send(self, "_selectPresentation_", [presentationClass]);})() : nil;
  444. return self;},
  445. args: ["aString"],
  446. source: unescape('selectPresentationNamed%3A%20aString%0A%09%7CpresentationClass%7C%0A%09presentationClass%20%3A%3D%20%20%28Smalltalk%20current%20at%3A%20aString%29.%0A%09presentationClass%20ifNotNil%3A%20%5B%20self%20selectPresentation%3A%20presentationClass%20%5D.'),
  447. messageSends: ["at:", "current", "ifNotNil:", "selectPresentation:"],
  448. referencedClasses: ["Smalltalk"]
  449. }),
  450. smalltalk.PresentationNavigator);
  451. smalltalk.addMethod(
  452. unescape('_previousSlide'),
  453. smalltalk.method({
  454. selector: unescape('previousSlide'),
  455. category: 'callbacks',
  456. fn: function (){
  457. var self=this;
  458. smalltalk.send(smalltalk.send(self, "_currentPresentation", []), "_previousSlide", []);
  459. smalltalk.send(self, "_updateHash", []);
  460. return self;},
  461. args: [],
  462. source: unescape('previousSlide%0A%09self%20currentPresentation%20previousSlide.%0A%09self%20updateHash.'),
  463. messageSends: ["previousSlide", "currentPresentation", "updateHash"],
  464. referencedClasses: []
  465. }),
  466. smalltalk.PresentationNavigator);
  467. smalltalk.addMethod(
  468. unescape('_nextSlide'),
  469. smalltalk.method({
  470. selector: unescape('nextSlide'),
  471. category: 'callbacks',
  472. fn: function (){
  473. var self=this;
  474. smalltalk.send(smalltalk.send(self, "_currentPresentation", []), "_nextSlide", []);
  475. smalltalk.send(self, "_updateHash", []);
  476. return self;},
  477. args: [],
  478. source: unescape('nextSlide%0A%09self%20currentPresentation%20nextSlide.%0A%09self%20updateHash.'),
  479. messageSends: ["nextSlide", "currentPresentation", "updateHash"],
  480. referencedClasses: []
  481. }),
  482. smalltalk.PresentationNavigator);
  483. smalltalk.addMethod(
  484. unescape('_reload'),
  485. smalltalk.method({
  486. selector: unescape('reload'),
  487. category: 'callbacks',
  488. fn: function (){
  489. var self=this;
  490. var slideIndex=nil;
  491. (slideIndex=smalltalk.send(smalltalk.send(self, "_currentPresentation", []), "_currentSlideIndex", []));
  492. smalltalk.send(self, "_currentPresentation_", [smalltalk.send(smalltalk.send(smalltalk.send(self, "_currentPresentation", []), "_class", []), "_new", [])]);
  493. smalltalk.send(self, "_renderCurrentPresentation", []);
  494. smalltalk.send(self, "_selectSlideAt_", [slideIndex]);
  495. return self;},
  496. args: [],
  497. source: unescape('reload%0A%09%7CslideIndex%7C%0A%09slideIndex%20%3A%3D%20self%20currentPresentation%20currentSlideIndex.%0A%09self%20currentPresentation%3A%20self%20currentPresentation%20class%20new.%0A%09self%20renderCurrentPresentation.%0A%09self%20selectSlideAt%3A%20slideIndex.'),
  498. messageSends: ["currentSlideIndex", "currentPresentation", "currentPresentation:", "new", "class", "renderCurrentPresentation", "selectSlideAt:"],
  499. referencedClasses: []
  500. }),
  501. smalltalk.PresentationNavigator);
  502. smalltalk.addMethod(
  503. unescape('_selectSlideAt_'),
  504. smalltalk.method({
  505. selector: unescape('selectSlideAt%3A'),
  506. category: 'callbacks',
  507. fn: function (anInteger){
  508. var self=this;
  509. smalltalk.send(smalltalk.send(self, "_currentPresentation", []), "_moveAt_", [anInteger]);
  510. smalltalk.send(self, "_updateHash", []);
  511. return self;},
  512. args: ["anInteger"],
  513. source: unescape('selectSlideAt%3A%20anInteger%0A%09self%20currentPresentation%20moveAt%3A%20anInteger.%0A%09self%20updateHash.'),
  514. messageSends: ["moveAt:", "currentPresentation", "updateHash"],
  515. referencedClasses: []
  516. }),
  517. smalltalk.PresentationNavigator);
  518. smalltalk.addMethod(
  519. unescape('_updateHash'),
  520. smalltalk.method({
  521. selector: unescape('updateHash'),
  522. category: 'callbacks',
  523. fn: function (){
  524. var self=this;
  525. 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", [])])]);
  526. return self;},
  527. args: [],
  528. source: unescape('updateHash%0A%09document%20location%20hash%3A%20self%20currentPresentation%20class%20name%2C%20%27-%27%2C%20self%20currentPresentation%20currentSlideIndex.'),
  529. messageSends: ["hash:", "location", unescape("%2C"), "name", "class", "currentPresentation", "currentSlideIndex"],
  530. referencedClasses: []
  531. }),
  532. smalltalk.PresentationNavigator);
  533. smalltalk.addMethod(
  534. unescape('_checkHash'),
  535. smalltalk.method({
  536. selector: unescape('checkHash'),
  537. category: 'hash',
  538. fn: function (){
  539. var self=this;
  540. try{var hash=nil;
  541. var presentation=nil;
  542. (hash=smalltalk.send(smalltalk.send(smalltalk.send(smalltalk.send((typeof document == 'undefined' ? nil : document), "_location", []), "_hash", []), "_replace_with_", [unescape("%5E%23"), ""]), "_tokenize_", [unescape("-")]));
  543. (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}})})();})]));
  544. ((($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", [])]);})]));
  545. return self;
  546. } catch(e) {if(e.name === 'stReturn' && e.selector === '_checkHash'){return e.fn()} throw(e)}},
  547. args: [],
  548. source: unescape('checkHash%0A%09%7C%20hash%20presentation%20%7C%0A%09hash%20%3A%3D%20%28document%20location%20hash%20%20replace%3A%20%27%5E%23%27%20with%3A%20%27%27%29%20tokenize%3A%20%27-%27.%20%0A%09presentation%20%3A%3D%20Presentation%20concretePresentations%20%0A%09%09%09%09detect%3A%20%5B%3AaPresentationClass%20%7C%20aPresentationClass%20name%20%3D%3D%20hash%20first%5D%0A%09%09%09%09ifNone%3A%20%5B%5E%20self%5D.%0A%09presentation%20%3D%3D%20self%20currentPresentation%20class%20ifFalse%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%09self%20selectPresentationNamed%3A%20presentation.%0A%20%20%20%20%20%20%20%20%20%20%09self%20selectSlideAt%3A%20hash%20last%0A%20%20%20%20%20%20%20%20%5D.'),
  549. messageSends: ["tokenize:", "replace:with:", "hash", "location", "detect:ifNone:", "concretePresentations", unescape("%3D%3D"), "name", "first", "ifFalse:", "class", "currentPresentation", "selectPresentationNamed:", "selectSlideAt:", "last"],
  550. referencedClasses: ["Presentation"]
  551. }),
  552. smalltalk.PresentationNavigator);
  553. smalltalk.addMethod(
  554. unescape('_checkHashChange'),
  555. smalltalk.method({
  556. selector: unescape('checkHashChange'),
  557. category: 'hash',
  558. fn: function (){
  559. var self=this;
  560. smalltalk.send(smalltalk.send((typeof window == 'undefined' ? nil : window), "_jQuery_", [(typeof window == 'undefined' ? nil : window)]), "_bind_do_", ["hashchange", (function(){return smalltalk.send(self, "_checkHash", []);})]);
  561. return self;},
  562. args: [],
  563. source: unescape('checkHashChange%0A%09%28window%20jQuery%3A%20window%29%20bind%3A%20%27hashchange%27%20do%3A%20%5Bself%20checkHash%5D'),
  564. messageSends: ["bind:do:", "jQuery:", "checkHash"],
  565. referencedClasses: []
  566. }),
  567. smalltalk.PresentationNavigator);
  568. smalltalk.addMethod(
  569. unescape('_setKeybindings'),
  570. smalltalk.method({
  571. selector: unescape('setKeybindings'),
  572. category: 'keybindings',
  573. fn: function (){
  574. var self=this;
  575. smalltalk.send(smalltalk.send((typeof window == 'undefined' ? nil : window), "_jQuery_", [(typeof document == 'undefined' ? nil : document)]), "_keyup_", [(function(e){var node=nil;
  576. (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", []);})]));})]));})]);
  577. return self;},
  578. args: [],
  579. source: unescape('setKeybindings%0A%09%28window%20jQuery%3A%20document%29%20keyup%3A%20%5B%3Ae%20%7C%7C%20node%20%7C%0A%09%09node%20%3A%3D%20e%20target%20nodeName%20asLowercase.%0A%09%09%28node%20%3D%20%27textarea%27%20or%3A%20%5Bnode%20%3D%20%27input%27%5D%29%20ifFalse%3A%20%5B%0A%09%09%09e%20keyCode%20%3D%2039%20ifTrue%3A%20%5Bself%20nextSlide%5D.%0A%09%09%09e%20keyCode%20%3D%2037%20ifTrue%3A%20%5Bself%20previousSlide%5D%5D%5D'),
  580. messageSends: ["keyup:", "jQuery:", "asLowercase", "nodeName", "target", "ifFalse:", "or:", unescape("%3D"), "ifTrue:", "keyCode", "nextSlide", "previousSlide"],
  581. referencedClasses: []
  582. }),
  583. smalltalk.PresentationNavigator);
  584. smalltalk.addMethod(
  585. unescape('_renderToolsOn_'),
  586. smalltalk.method({
  587. selector: unescape('renderToolsOn%3A'),
  588. category: 'rendering',
  589. fn: function (html){
  590. var self=this;
  591. (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", []));
  592. (function($rec){smalltalk.send($rec, "_with_", ["Reload"]);return smalltalk.send($rec, "_onClick_", [(function(){return smalltalk.send(self, "_reload", []);})]);})(smalltalk.send(html, "_a", []));
  593. (function($rec){smalltalk.send($rec, "_with_", [unescape("%u2190")]);return smalltalk.send($rec, "_onClick_", [(function(){return smalltalk.send(self, "_previousSlide", []);})]);})(smalltalk.send(html, "_a", []));
  594. (function($rec){smalltalk.send($rec, "_with_", [unescape("%u2192")]);return smalltalk.send($rec, "_onClick_", [(function(){return smalltalk.send(self, "_nextSlide", []);})]);})(smalltalk.send(html, "_a", []));
  595. return self;},
  596. args: ["html"],
  597. source: unescape('renderToolsOn%3A%20html%0A%09html%20a%20%0A%09%09with%3A%20%27IDE%27%3B%0A%09%09onClick%3A%20%5BTabManager%20current%20open%5D.%0A%09html%20a%0A%09%09with%3A%20%27Reload%27%3B%0A%09%09onClick%3A%20%5Bself%20reload%5D.%0A%09html%20a%0A%09%09with%3A%20%27%u2190%27%3B%0A%09%09onClick%3A%20%5Bself%20previousSlide%5D.%0A%09html%20a%0A%09%09with%3A%20%27%u2192%27%3B%0A%09%09onClick%3A%20%5Bself%20nextSlide%5D.'),
  598. messageSends: ["with:", "onClick:", "open", "current", "a", "reload", "previousSlide", "nextSlide"],
  599. referencedClasses: ["TabManager"]
  600. }),
  601. smalltalk.PresentationNavigator);
  602. smalltalk.addMethod(
  603. unescape('_renderPresentationSelectOn_'),
  604. smalltalk.method({
  605. selector: unescape('renderPresentationSelectOn%3A'),
  606. category: 'rendering',
  607. fn: function (html){
  608. var self=this;
  609. var presentationSelect=nil;
  610. (presentationSelect=smalltalk.send(html, "_select", []));
  611. (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);
  612. return self;},
  613. args: ["html"],
  614. source: unescape('renderPresentationSelectOn%3A%20html%0A%09%7CpresentationSelect%7C%0A%09presentationSelect%20%3A%3D%20html%20select.%0A%09presentationSelect%0A%09%09onChange%3A%20%5Bself%20%20selectPresentationNamed%3A%20%20presentationSelect%20asJQuery%20val%5D%3B%0A%09%09with%3A%20%5B%09Presentation%20concretePresentationsDo%3A%20%5B%3AaPresentationClass%20%7C%20%20%20%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%09%09%09%09%09%09%09html%20option%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%09%09%09%09%09%09%09%09value%3A%20aPresentationClass%20name%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%09%09%09%09%09%09%09%09with%3A%20aPresentationClass%20title%20%5D%20%5D.'),
  615. messageSends: ["select", "onChange:", "selectPresentationNamed:", "val", "asJQuery", "with:", "concretePresentationsDo:", "value:", "name", "title", "option"],
  616. referencedClasses: ["Presentation"]
  617. }),
  618. smalltalk.PresentationNavigator);
  619. smalltalk.addMethod(
  620. unescape('_open'),
  621. smalltalk.method({
  622. selector: unescape('open'),
  623. category: 'rendering',
  624. fn: function (){
  625. var self=this;
  626. 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);})]);
  627. return self;},
  628. args: [],
  629. source: unescape('open%0A%09%28window%20jQuery%3A%20document%29%20%20ready%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%09self%20%0A%20%20%20%20%20%20%20%20%20%20%09%09appendToJQuery%3A%20%27body%27%20asJQuery%3B%0A%20%20%20%20%20%20%20%20%20%20%09%09setKeybindings%3B%0A%20%20%20%20%20%20%20%20%20%20%09%09checkHashChange.%0A%20%20%20%20%20%20%20%20%5D.'),
  630. messageSends: ["ready:", "jQuery:", "appendToJQuery:", "asJQuery", "setKeybindings", "checkHashChange"],
  631. referencedClasses: []
  632. }),
  633. smalltalk.PresentationNavigator);
  634. smalltalk.addMethod(
  635. unescape('_renderOn_'),
  636. smalltalk.method({
  637. selector: unescape('renderOn%3A'),
  638. category: 'rendering',
  639. fn: function (html){
  640. var self=this;
  641. (function($rec){smalltalk.send($rec, "_type_", [unescape("text/css")]);return smalltalk.send($rec, "_with_", [smalltalk.send(self, "_style", [])]);})(smalltalk.send(html, "_style", []));
  642. (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", []));
  643. (self['@presentationBrush']=(function($rec){smalltalk.send($rec, "_id_", ["presentation"]);return smalltalk.send($rec, "_yourself", []);})(smalltalk.send(html, "_div", [])));
  644. smalltalk.send(self, "_checkHash", []);
  645. smalltalk.send(self, "_renderCurrentPresentation", []);
  646. return self;},
  647. args: ["html"],
  648. source: unescape('renderOn%3A%20html%0A%09html%20style%0A%09%09type%3A%20%27text/css%27%3B%0A%09%09with%3A%20self%20style.%0A%09html%20div%0A%09%09id%3A%20%27navigator%27%3B%0A%09%09with%3A%20%5B%09self%0A%09%09%09%09%09renderToolsOn%3A%20html%3B%0A%09%09%09%09%09renderPresentationSelectOn%3A%20html%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%09%09%09renderSlideSelectOn%3A%20html%5D.%0A%0A%09presentationBrush%20%3A%3D%20html%20div%20%0A%09%09%09%09%09%09%09id%3A%20%27presentation%27%3B%0A%09%09%09%09%09%09%09yourself.%0A%0A%09self%20checkHash.%0A%09self%20renderCurrentPresentation.'),
  649. messageSends: ["type:", "with:", "style", "id:", "renderToolsOn:", "renderPresentationSelectOn:", "renderSlideSelectOn:", "div", "yourself", "checkHash", "renderCurrentPresentation"],
  650. referencedClasses: []
  651. }),
  652. smalltalk.PresentationNavigator);
  653. smalltalk.addMethod(
  654. unescape('_renderCurrentPresentation'),
  655. smalltalk.method({
  656. selector: unescape('renderCurrentPresentation'),
  657. category: 'rendering',
  658. fn: function (){
  659. var self=this;
  660. smalltalk.send(self['@presentationBrush'], "_contents_", [(function(html){return smalltalk.send(smalltalk.send(self, "_currentPresentation", []), "_renderOn_", [html]);})]);
  661. smalltalk.send(self, "_updateSlideSelect", []);
  662. return self;},
  663. args: [],
  664. source: unescape('renderCurrentPresentation%0A%09presentationBrush%20contents%3A%20%5B%3Ahtml%20%7C%0A%20%20%20%20%20%20%20%20%09self%20currentPresentation%20renderOn%3A%20html.%0A%20%20%20%20%20%20%20%20%5D.%0A%09self%20updateSlideSelect.'),
  665. messageSends: ["contents:", "renderOn:", "currentPresentation", "updateSlideSelect"],
  666. referencedClasses: []
  667. }),
  668. smalltalk.PresentationNavigator);
  669. smalltalk.addMethod(
  670. unescape('_renderSlideSelectOn_'),
  671. smalltalk.method({
  672. selector: unescape('renderSlideSelectOn%3A'),
  673. category: 'rendering',
  674. fn: function (html){
  675. var self=this;
  676. (self['@slideSelect']=smalltalk.send(html, "_select", []));
  677. smalltalk.send(self['@slideSelect'], "_onChange_", [(function(){return smalltalk.send(self, "_selectSlideAt_", [smalltalk.send(smalltalk.send(self['@slideSelect'], "_asJQuery", []), "_val", [])]);})]);
  678. smalltalk.send(self, "_updateSlideSelect", []);
  679. return self;},
  680. args: ["html"],
  681. source: unescape('renderSlideSelectOn%3A%20html%0A%09slideSelect%20%3A%3D%20html%20select.%0A%09slideSelect%20onChange%3A%20%5B%20self%20%20selectSlideAt%3A%20%20slideSelect%20asJQuery%20val%20%5D.%0A%09self%20updateSlideSelect.'),
  682. messageSends: ["select", "onChange:", "selectSlideAt:", "val", "asJQuery", "updateSlideSelect"],
  683. referencedClasses: []
  684. }),
  685. smalltalk.PresentationNavigator);
  686. smalltalk.addMethod(
  687. unescape('_updateSlideSelect'),
  688. smalltalk.method({
  689. selector: unescape('updateSlideSelect'),
  690. category: 'rendering',
  691. fn: function (){
  692. var self=this;
  693. smalltalk.send(self['@slideSelect'], "_contents_", [(function(html){var index=nil;
  694. (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", []));})]);})]);
  695. return self;},
  696. args: [],
  697. source: unescape('updateSlideSelect%0A%09slideSelect%20contents%3A%20%5B%3Ahtml%7C%20%7Cindex%7C%0A%09%09%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%09%09index%20%3A%3D%200.%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%09%09%20%20%20%20%20%20%20%09%09self%20currentPresentation%20slidesDo%3A%20%5B%20%3AaSlide%7C%20%20%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%09%09%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%09%09%09%09index%20%3A%3D%20index%20+%201.%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%09%09%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%09%09%09%09html%20option%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%09%09%20%20%20%20%09%09%09%09%09value%3A%20index%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%09%09%09%09%09%09%09%09with%3A%20aSlide%20title%20%5D%20%5D.'),
  698. messageSends: ["contents:", "slidesDo:", "currentPresentation", unescape("+"), "value:", "with:", "title", "option"],
  699. referencedClasses: []
  700. }),
  701. smalltalk.PresentationNavigator);
  702. smalltalk.addMethod(
  703. unescape('_initialize'),
  704. smalltalk.method({
  705. selector: unescape('initialize'),
  706. category: 'initialize',
  707. fn: function (){
  708. var self=this;
  709. return smalltalk.send(self, "_open", []);
  710. return self;},
  711. args: [],
  712. source: unescape('initialize%0A%09%5E%20self%20open'),
  713. messageSends: ["open"],
  714. referencedClasses: []
  715. }),
  716. smalltalk.PresentationNavigator.klass);
  717. smalltalk.addMethod(
  718. unescape('_open'),
  719. smalltalk.method({
  720. selector: unescape('open'),
  721. category: 'initialize',
  722. fn: function (){
  723. var self=this;
  724. return smalltalk.send(smalltalk.send(self, "_new", []), "_open", []);
  725. return self;},
  726. args: [],
  727. source: unescape('open%0A%09%5E%20self%20new%20open'),
  728. messageSends: ["open", "new"],
  729. referencedClasses: []
  730. }),
  731. smalltalk.PresentationNavigator.klass);
  732. smalltalk.addClass('Slide', smalltalk.Widget, ['presentation'], 'Presentation');
  733. smalltalk.addMethod(
  734. unescape('_presentation'),
  735. smalltalk.method({
  736. selector: unescape('presentation'),
  737. category: 'accessing',
  738. fn: function (){
  739. var self=this;
  740. return self['@presentation'];
  741. return self;},
  742. args: [],
  743. source: unescape('presentation%0A%09%5Epresentation'),
  744. messageSends: [],
  745. referencedClasses: []
  746. }),
  747. smalltalk.Slide);
  748. smalltalk.addMethod(
  749. unescape('_presentation_'),
  750. smalltalk.method({
  751. selector: unescape('presentation%3A'),
  752. category: 'accessing',
  753. fn: function (aPresentation){
  754. var self=this;
  755. (self['@presentation']=aPresentation);
  756. return self;},
  757. args: ["aPresentation"],
  758. source: unescape('presentation%3A%20aPresentation%0A%09presentation%20%3A%3D%20aPresentation'),
  759. messageSends: [],
  760. referencedClasses: []
  761. }),
  762. smalltalk.Slide);
  763. smalltalk.addMethod(
  764. unescape('_id'),
  765. smalltalk.method({
  766. selector: unescape('id'),
  767. category: 'accessing',
  768. fn: function (){
  769. var self=this;
  770. return smalltalk.send(smalltalk.send(self, "_class", []), "_name", []);
  771. return self;},
  772. args: [],
  773. source: unescape('id%0A%09%5E%20self%20class%20name'),
  774. messageSends: ["name", "class"],
  775. referencedClasses: []
  776. }),
  777. smalltalk.Slide);
  778. smalltalk.addMethod(
  779. unescape('_cssClass'),
  780. smalltalk.method({
  781. selector: unescape('cssClass'),
  782. category: 'accessing',
  783. fn: function (){
  784. var self=this;
  785. return "slide";
  786. return self;},
  787. args: [],
  788. source: unescape('cssClass%0A%09%5E%27slide%27'),
  789. messageSends: [],
  790. referencedClasses: []
  791. }),
  792. smalltalk.Slide);
  793. smalltalk.addMethod(
  794. unescape('_backgroundColor'),
  795. smalltalk.method({
  796. selector: unescape('backgroundColor'),
  797. category: 'accessing',
  798. fn: function (){
  799. var self=this;
  800. return unescape("%23555");
  801. return self;},
  802. args: [],
  803. source: unescape('backgroundColor%0A%09%5E%27%23555%27'),
  804. messageSends: [],
  805. referencedClasses: []
  806. }),
  807. smalltalk.Slide);
  808. smalltalk.addMethod(
  809. unescape('_title'),
  810. smalltalk.method({
  811. selector: unescape('title'),
  812. category: 'accessing',
  813. fn: function (){
  814. var self=this;
  815. return smalltalk.send(self, "_id", []);
  816. return self;},
  817. args: [],
  818. source: unescape('title%0A%09%5E%20self%20id'),
  819. messageSends: ["id"],
  820. referencedClasses: []
  821. }),
  822. smalltalk.Slide);
  823. smalltalk.addMethod(
  824. unescape('_show'),
  825. smalltalk.method({
  826. selector: unescape('show'),
  827. category: 'actions',
  828. fn: function (){
  829. var self=this;
  830. (($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;
  831. smalltalk.send(smalltalk.send((typeof window == 'undefined' ? nil : window), "_jQuery_", [".slide"]), "_hide_options_duration_", [smalltalk.send(smalltalk.send(self, "_presentation", []), "_slideTransition", []), [], (300)]);
  832. 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)]);
  833. return self;},
  834. args: [],
  835. source: unescape('show%0A%09self%20backgroundColor%20ifNotNil%3A%20%5B%0A%09%09%28window%20jQuery%3A%20%27%23slides%27%29%20css%3A%20%27background%27%20color%3A%20self%20backgroundColor%5D.%0A%09%28window%20jQuery%3A%20%27.slide%27%29%20hide%3A%20self%20presentation%20slideTransition%20options%3A%20%23%28%29%20duration%3A%20300.%0A%09%28window%20jQuery%3A%20%27%23%27%2C%20self%20id%29%20show%3A%20self%20presentation%20slideTransition%20options%3A%20%23%28%29%20duration%3A%20300.'),
  836. messageSends: ["ifNotNil:", "backgroundColor", "css:color:", "jQuery:", "hide:options:duration:", "slideTransition", "presentation", "show:options:duration:", unescape("%2C"), "id"],
  837. referencedClasses: []
  838. }),
  839. smalltalk.Slide);
  840. smalltalk.addMethod(
  841. unescape('_renderOn_'),
  842. smalltalk.method({
  843. selector: unescape('renderOn%3A'),
  844. category: 'rendering',
  845. fn: function (html){
  846. var self=this;
  847. (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", []));
  848. return self;},
  849. args: ["html"],
  850. source: unescape('renderOn%3A%20html%0A%09html%20div%20class%3A%20self%20cssClass%3B%20id%3A%20self%20id%3B%20with%3A%20%5B%0A%09%09self%20renderSlideOn%3A%20html.%0A%09%09self%20renderMetaOn%3A%20html%5D'),
  851. messageSends: ["class:", "cssClass", "id:", "id", "with:", "renderSlideOn:", "renderMetaOn:", "div"],
  852. referencedClasses: []
  853. }),
  854. smalltalk.Slide);
  855. smalltalk.addMethod(
  856. unescape('_renderSlideOn_'),
  857. smalltalk.method({
  858. selector: unescape('renderSlideOn%3A'),
  859. category: 'rendering',
  860. fn: function (html){
  861. var self=this;
  862. return self;},
  863. args: ["html"],
  864. source: unescape('renderSlideOn%3A%20html'),
  865. messageSends: [],
  866. referencedClasses: []
  867. }),
  868. smalltalk.Slide);
  869. smalltalk.addMethod(
  870. unescape('_renderMetaOn_'),
  871. smalltalk.method({
  872. selector: unescape('renderMetaOn%3A'),
  873. category: 'rendering',
  874. fn: function (html){
  875. var self=this;
  876. (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", []));
  877. return self;},
  878. args: ["html"],
  879. source: unescape('renderMetaOn%3A%20html%0A%09html%20div%20%0A%09%09id%3A%20%27meta%27%3B%0A%09%09with%3A%20%5B%0A%09%09%09html%20p%20class%3A%20%27title%27%3B%20with%3A%20self%20presentation%20title.%0A%09%09%09html%20p%20class%3A%20%27description%27%3B%20with%3A%20self%20presentation%20description.%0A%09%09%09html%20a%20class%3A%20%27author%27%3B%20with%3A%20self%20presentation%20author%3B%20href%3A%20%27mailto%3A%27%2C%20self%20presentation%20email.%0A%09%09%09html%20a%20class%3A%20%27url%27%3B%20with%3A%20self%20presentation%20url%3B%20href%3A%20self%20presentation%20url%5D'),
  880. messageSends: ["id:", "with:", "class:", "title", "presentation", "p", "description", "author", "href:", unescape("%2C"), "email", "a", "url", "div"],
  881. referencedClasses: []
  882. }),
  883. smalltalk.Slide);
  884. smalltalk.addMethod(
  885. unescape('_on_'),
  886. smalltalk.method({
  887. selector: unescape('on%3A'),
  888. category: 'instance creation',
  889. fn: function (aPresentation){
  890. var self=this;
  891. return (function($rec){smalltalk.send($rec, "_presentation_", [aPresentation]);return smalltalk.send($rec, "_yourself", []);})(smalltalk.send(self, "_new", []));
  892. return self;},
  893. args: ["aPresentation"],
  894. source: unescape('on%3A%20aPresentation%0A%09%5Eself%20new%0A%09%09presentation%3A%20aPresentation%3B%0A%09%09yourself'),
  895. messageSends: ["presentation:", "yourself", "new"],
  896. referencedClasses: []
  897. }),
  898. smalltalk.Slide.klass);
  899. smalltalk.addClass('FOSDEMSlide', smalltalk.Slide, [], 'Presentation');
  900. smalltalk.addMethod(
  901. unescape('_codeSnippet'),
  902. smalltalk.method({
  903. selector: unescape('codeSnippet'),
  904. category: 'accessing',
  905. fn: function (){
  906. var self=this;
  907. smalltalk.send(self, "_subclassResponsibility", []);
  908. return self;},
  909. args: [],
  910. source: unescape('codeSnippet%0A%09self%20subclassResponsibility'),
  911. messageSends: ["subclassResponsibility"],
  912. referencedClasses: []
  913. }),
  914. smalltalk.FOSDEMSlide);
  915. smalltalk.addMethod(
  916. unescape('_renderSnippet_on_'),
  917. smalltalk.method({
  918. selector: unescape('renderSnippet%3Aon%3A'),
  919. category: 'rendering',
  920. fn: function (aString, html){
  921. var self=this;
  922. smalltalk.send((function($rec){smalltalk.send($rec, "_renderOn_", [html]);return smalltalk.send($rec, "_editor", []);})(smalltalk.send((smalltalk.SourceArea || SourceArea), "_new", [])), "_setValue_", [aString]);
  923. return self;},
  924. args: ["aString", "html"],
  925. source: unescape('renderSnippet%3A%20aString%20on%3A%20html%0A%09%28SourceArea%20new%20%0A%09%09%09renderOn%3A%20html%3B%0A%09%09%09editor%29%20%20setValue%3A%20aString.'),
  926. messageSends: ["setValue:", "renderOn:", "editor", "new"],
  927. referencedClasses: ["SourceArea"]
  928. }),
  929. smalltalk.FOSDEMSlide);
  930. smalltalk.addMethod(
  931. unescape('_renderCodeSnippetOn_'),
  932. smalltalk.method({
  933. selector: unescape('renderCodeSnippetOn%3A'),
  934. category: 'rendering',
  935. fn: function (html){
  936. var self=this;
  937. smalltalk.send((function($rec){smalltalk.send($rec, "_renderOn_", [html]);return smalltalk.send($rec, "_editor", []);})(smalltalk.send((smalltalk.SourceArea || SourceArea), "_new", [])), "_setValue_", [smalltalk.send(self, "_codeSnippet", [])]);
  938. return self;},
  939. args: ["html"],
  940. source: unescape('renderCodeSnippetOn%3A%20html%0A%09%28SourceArea%20new%20%0A%09%09%09renderOn%3A%20html%3B%0A%09%09%09editor%29%20%20setValue%3A%20self%20codeSnippet.'),
  941. messageSends: ["setValue:", "renderOn:", "editor", "new", "codeSnippet"],
  942. referencedClasses: ["SourceArea"]
  943. }),
  944. smalltalk.FOSDEMSlide);
  945. smalltalk.addClass('FOSDEMREPLSlide', smalltalk.FOSDEMSlide, [], 'Presentation');
  946. smalltalk.addMethod(
  947. unescape('_renderSlideOn_'),
  948. smalltalk.method({
  949. selector: unescape('renderSlideOn%3A'),
  950. category: 'rendering',
  951. fn: function (html){
  952. var self=this;
  953. smalltalk.send(html, "_h1_", ["REPL"]);
  954. smalltalk.send(self, "_renderCodeSnippetOn_", [html]);
  955. return self;},
  956. args: ["html"],
  957. source: unescape('renderSlideOn%3A%20html%0A%09html%20h1%3A%20%27REPL%27.%0A%09self%20renderCodeSnippetOn%3A%20html.'),
  958. messageSends: ["h1:", "renderCodeSnippetOn:"],
  959. referencedClasses: []
  960. }),
  961. smalltalk.FOSDEMREPLSlide);
  962. smalltalk.addMethod(
  963. unescape('_codeSnippet'),
  964. smalltalk.method({
  965. selector: unescape('codeSnippet'),
  966. category: 'rendering',
  967. fn: function (){
  968. var self=this;
  969. return unescape("./bin/amber%0Afs%20%3A%3D%20require%20value%3A%20%27fs%27.%0Afs%20readdir%3A%20%27/tmp%27%20do%3A%20%5B%3Aerr%20%3Afile%7C%20console%20log%3A%20file%5D");
  970. return self;},
  971. args: [],
  972. source: unescape('codeSnippet%0A%09%5E%20%0A%27./bin/amber%0Afs%20%3A%3D%20require%20value%3A%20%27%27fs%27%27.%0Afs%20readdir%3A%20%27%27/tmp%27%27%20do%3A%20%5B%3Aerr%20%3Afile%7C%20console%20log%3A%20file%5D%27.'),
  973. messageSends: [],
  974. referencedClasses: []
  975. }),
  976. smalltalk.FOSDEMREPLSlide);
  977. smalltalk.addClass('FOSDEMJSToSmalltalk', smalltalk.FOSDEMSlide, [], 'Presentation');
  978. smalltalk.addMethod(
  979. unescape('_cssClass'),
  980. smalltalk.method({
  981. selector: unescape('cssClass'),
  982. category: 'accessing',
  983. fn: function (){
  984. var self=this;
  985. return "slide blue3d";
  986. return self;},
  987. args: [],
  988. source: unescape('cssClass%0A%09%5E%20%27slide%20blue3d%27'),
  989. messageSends: [],
  990. referencedClasses: []
  991. }),
  992. smalltalk.FOSDEMJSToSmalltalk);
  993. smalltalk.addMethod(
  994. unescape('_codeSnippet'),
  995. smalltalk.method({
  996. selector: unescape('codeSnippet'),
  997. category: 'accessing',
  998. fn: function (){
  999. var self=this;
  1000. return unescape("var%20counter%20%3D%20window.smalltalk.Counter._new%28%29%3B%0Acounter._appendToJQuery_%28%24%28%27%23jsToSmalltalk%27%29%29%3B");
  1001. return self;},
  1002. args: [],
  1003. source: unescape('codeSnippet%0A%09%5E%0A%27var%20counter%20%3D%20window.smalltalk.Counter._new%28%29%3B%0Acounter._appendToJQuery_%28%24%28%27%27%23jsToSmalltalk%27%27%29%29%3B%27.'),
  1004. messageSends: [],
  1005. referencedClasses: []
  1006. }),
  1007. smalltalk.FOSDEMJSToSmalltalk);
  1008. smalltalk.addMethod(
  1009. unescape('_renderSlideOn_'),
  1010. smalltalk.method({
  1011. selector: unescape('renderSlideOn%3A'),
  1012. category: 'rendering',
  1013. fn: function (html){
  1014. var self=this;
  1015. smalltalk.send(html, "_h1_", ["Call Smalltalk from Javascript"]);
  1016. (function($rec){smalltalk.send($rec, "_id_", ["jsToSmalltalk"]);return smalltalk.send($rec, "_style_", ["float: left"]);})(smalltalk.send(html, "_div", []));
  1017. smalltalk.send(self, "_renderCodeSnippetOn_", [html]);
  1018. return self;},
  1019. args: ["html"],
  1020. source: unescape('renderSlideOn%3A%20html%0A%09html%20h1%3A%20%27Call%20Smalltalk%20from%20Javascript%27.%0A%09html%20div%0A%09%09id%3A%20%27jsToSmalltalk%27%3B%0A%09%09style%3A%20%27float%3A%20left%27.%0A%09self%20renderCodeSnippetOn%3A%20html.'),
  1021. messageSends: ["h1:", "id:", "style:", "div", "renderCodeSnippetOn:"],
  1022. referencedClasses: []
  1023. }),
  1024. smalltalk.FOSDEMJSToSmalltalk);
  1025. smalltalk.addClass('FOSDEMCanvasSlide', smalltalk.FOSDEMSlide, ['c2d', 'canvas'], 'Presentation');
  1026. smalltalk.addMethod(
  1027. unescape('_cssClass'),
  1028. smalltalk.method({
  1029. selector: unescape('cssClass'),
  1030. category: 'accessing',
  1031. fn: function (){
  1032. var self=this;
  1033. return "slide red3d";
  1034. return self;},
  1035. args: [],
  1036. source: unescape('cssClass%0A%09%5E%20%27slide%20red3d%27'),
  1037. messageSends: [],
  1038. referencedClasses: []
  1039. }),
  1040. smalltalk.FOSDEMCanvasSlide);
  1041. smalltalk.addMethod(
  1042. unescape('_drawOnCanvas'),
  1043. smalltalk.method({
  1044. selector: unescape('drawOnCanvas'),
  1045. category: 'drawing',
  1046. fn: function (){
  1047. var self=this;
  1048. var c2d=nil;
  1049. (self['@c2d']=smalltalk.send(smalltalk.send(self['@canvas'], "_element", []), "_getContext_", ["2d"]));
  1050. 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", [])]);
  1051. smalltalk.send(smalltalk.send((40), "_atRandom", []), "_timesRepeat_", [(function(){var rgba=nil;
  1052. (rgba=smalltalk.send(unescape("%2C"), "_join_", [[smalltalk.send((255), "_atRandom", []),smalltalk.send((255), "_atRandom", []),smalltalk.send((255), "_atRandom", []),((($receiver = smalltalk.send((10), "_atRandom", [])).klass === smalltalk.Number) ? $receiver /(10) : smalltalk.send($receiver, "__slash", [(10)]))]]));smalltalk.send(self['@c2d'], "_at_put_", ["fillStyle", smalltalk.send(smalltalk.send(unescape("rgba%28"), "__comma", [rgba]), "__comma", [unescape("%29")])]);return smalltalk.send(self['@c2d'], "_fillRect_y_width_height_", [smalltalk.send((600), "_atRandom", []), smalltalk.send((300), "_atRandom", []), smalltalk.send((200), "_atRandom", []), smalltalk.send((200), "_atRandom", [])]);})]);
  1053. return self;},
  1054. args: [],
  1055. source: unescape('drawOnCanvas%0A%09%7Cc2d%7C%0A%09c2d%20%3A%3D%20canvas%20element%20getContext%3A%20%272d%27.%0A%09c2d%20%0A%09%09clearRect%3A%200%20%0A%09%09y%3A%200%20%0A%09%09width%3A%20canvas%20element%20width%20%0A%09%09height%3A%20canvas%20element%20height.%0A%09%0A%0940%20atRandom%20timesRepeat%3A%20%5B%20%7Crgba%7C%0A%09%09%09rgba%20%3A%3D%20%27%2C%27%20join%3A%20%7B255%20atRandom.%20255%20atRandom.%20255%20atRandom.%2010%20atRandom%20/%2010%7D.%0A%09%09%09c2d%09at%3A%20%27fillStyle%27%20put%3A%20%27rgba%28%27%2C%20rgba%2C%20%27%29%27.%0A%09%09%09c2d%0A%09%09%09%09fillRect%3A%20600%20atRandom%20%0A%09%09%09%09y%3A%20300%20atRandom%20%0A%09%09%09%09width%3A%20200%20atRandom%20%0A%09%09%09%09height%3A%20200%20atRandom%20%5D'),
  1056. messageSends: ["getContext:", "element", "clearRect:y:width:height:", "width", "height", "timesRepeat:", "atRandom", "join:", unescape("/"), "at:put:", unescape("%2C"), "fillRect:y:width:height:"],
  1057. referencedClasses: []
  1058. }),
  1059. smalltalk.FOSDEMCanvasSlide);
  1060. smalltalk.addMethod(
  1061. unescape('_renderSlideOn_'),
  1062. smalltalk.method({
  1063. selector: unescape('renderSlideOn%3A'),
  1064. category: 'rendering',
  1065. fn: function (html){
  1066. var self=this;
  1067. smalltalk.send(html, "_h1_", ["Playing with canvas"]);
  1068. (self['@canvas']=(function($rec){smalltalk.send($rec, "_width_", [(700)]);return smalltalk.send($rec, "_height_", [(400)]);})(smalltalk.send(html, "_canvas", [])));
  1069. smalltalk.send(self, "_updateCanvas", []);
  1070. return self;},
  1071. args: ["html"],
  1072. source: unescape('renderSlideOn%3A%20html%0A%09html%20h1%3A%20%27Playing%20with%20canvas%27.%0A%09canvas%20%3A%3D%20html%20%20canvas%20%0A%09%09%09%09width%3A%20700%3B%0A%09%09%09%09height%3A%20400.%0A%0A%09self%20updateCanvas.'),
  1073. messageSends: ["h1:", "width:", "height:", "canvas", "updateCanvas"],
  1074. referencedClasses: []
  1075. }),
  1076. smalltalk.FOSDEMCanvasSlide);
  1077. smalltalk.addMethod(
  1078. unescape('_updateCanvas'),
  1079. smalltalk.method({
  1080. selector: unescape('updateCanvas'),
  1081. category: 'updating',
  1082. fn: function (){
  1083. var self=this;
  1084. smalltalk.send(self, "_drawOnCanvas", []);
  1085. smalltalk.send((typeof window == 'undefined' ? nil : window), "_setTimeout_delay_", [(function(){return smalltalk.send(self, "_updateCanvas", []);}), (500)]);
  1086. return self;},
  1087. args: [],
  1088. source: unescape('updateCanvas%0A%09self%20drawOnCanvas.%0A%09window%20setTimeout%3A%20%5Bself%20updateCanvas%5D%20delay%3A%20500.'),
  1089. messageSends: ["drawOnCanvas", "setTimeout:delay:", "updateCanvas"],
  1090. referencedClasses: []
  1091. }),
  1092. smalltalk.FOSDEMCanvasSlide);
  1093. smalltalk.addClass('FOSDEMJSPlayGroundSlide', smalltalk.FOSDEMSlide, [], 'Presentation');
  1094. smalltalk.addMethod(
  1095. unescape('_codeSnippet'),
  1096. smalltalk.method({
  1097. selector: unescape('codeSnippet'),
  1098. category: 'accessing',
  1099. fn: function (){
  1100. var self=this;
  1101. return unescape("%7Clogo%7C%0Alogo%3A%3D%27img%23amberlogo%27%20asJQuery.%0A%0Alogo%0A%20%20css%3A%27-webkit-transition%27%20put%3A%27all%2010s%20ease-in-out%27.%0A%0A%3Clogo.css%28%27-webkit-transform%27%2C%20%27rotateY%28360deg%29%27%29%3B%3E.%0A%0Alogo%20click%3A%20%5Bwindow%20alert%3A%20%27This%20is%20cool%20%21%27%5D.%0A%0Alogo%20inspect");
  1102. return self;},
  1103. args: [],
  1104. source: unescape('codeSnippet%0A%5E%27%7Clogo%7C%0Alogo%3A%3D%27%27img%23amberlogo%27%27%20asJQuery.%0A%0Alogo%0A%20%20css%3A%27%27-webkit-transition%27%27%20put%3A%27%27all%2010s%20ease-in-out%27%27.%0A%0A%3Clogo.css%28%27%27-webkit-transform%27%27%2C%20%27%27rotateY%28360deg%29%27%27%29%3B%3E.%0A%0Alogo%20click%3A%20%5Bwindow%20alert%3A%20%27%27This%20is%20cool%20%21%27%27%5D.%0A%0Alogo%20inspect%27.'),
  1105. messageSends: [],
  1106. referencedClasses: []
  1107. }),
  1108. smalltalk.FOSDEMJSPlayGroundSlide);
  1109. smalltalk.addMethod(
  1110. unescape('_renderSlideOn_'),
  1111. smalltalk.method({
  1112. selector: unescape('renderSlideOn%3A'),
  1113. category: 'rendering',
  1114. fn: function (html){
  1115. var self=this;
  1116. (function($rec){smalltalk.send($rec, "_class_", ["section center"]);return smalltalk.send($rec, "_with_", [(function(){smalltalk.send(self, "_renderCodeSnippetOn_", [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", []));
  1117. return self;},
  1118. args: ["html"],
  1119. source: unescape('renderSlideOn%3A%20html%0A%09html%20div%0A%09%09class%3A%20%27section%20center%27%3B%20%0A%09%09with%3A%20%5B%0A%09%09%09self%20renderCodeSnippetOn%3A%20html.%0A%09%09%09html%20img%0A%09%09%09%09id%3A%20%27amberlogo%27%3B%20%0A%09%09%09%09src%3A%20%27fosdem2012/images/amber.png%27%09%5D'),
  1120. messageSends: ["class:", "with:", "renderCodeSnippetOn:", "id:", "src:", "img", "div"],
  1121. referencedClasses: []
  1122. }),
  1123. smalltalk.FOSDEMJSPlayGroundSlide);
  1124. smalltalk.addClass('FOSDEMAmberBackend', smalltalk.FOSDEMSlide, [], 'Presentation');
  1125. smalltalk.addMethod(
  1126. unescape('_cssClass'),
  1127. smalltalk.method({
  1128. selector: unescape('cssClass'),
  1129. category: 'accessing',
  1130. fn: function (){
  1131. var self=this;
  1132. return "slide green3d";
  1133. return self;},
  1134. args: [],
  1135. source: unescape('cssClass%0A%09%5E%20%27slide%20green3d%27'),
  1136. messageSends: [],
  1137. referencedClasses: []
  1138. }),
  1139. smalltalk.FOSDEMAmberBackend);
  1140. smalltalk.addMethod(
  1141. unescape('_renderSlideOn_'),
  1142. smalltalk.method({
  1143. selector: unescape('renderSlideOn%3A'),
  1144. category: 'rendering',
  1145. fn: function (html){
  1146. var self=this;
  1147. (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", []));
  1148. return self;},
  1149. args: ["html"],
  1150. source: unescape('renderSlideOn%3A%20html%0A%09html%20div%0A%09%09class%3A%20%27section%20center%27%3B%0A%09%09with%3A%20%5B%09html%20h1%3A%20%27Need%20a%20backend%20%3F%27.%0A%09%09%09%09%7B%27nodejs.png%27.%20%27php.gif%27.%20%27rails.png%27.%20%20%20%27pharo.png%27.%20%27ambrhino.jpg%27%7D%20do%3A%20%5B%3AaString%20%7C%0A%09%09%09%09%09%09html%20img%3A%20%27fosdem2012/images/%27%2C%20aString.%0A%09%09%09%09%5D%0A%09%09%5D'),
  1151. messageSends: ["class:", "with:", "h1:", "do:", "img:", unescape("%2C"), "div"],
  1152. referencedClasses: []
  1153. }),
  1154. smalltalk.FOSDEMAmberBackend);
  1155. smalltalk.addClass('FOSDEMBookletSlide', smalltalk.FOSDEMSlide, [], 'Presentation');
  1156. smalltalk.addMethod(
  1157. unescape('_cssClass'),
  1158. smalltalk.method({
  1159. selector: unescape('cssClass'),
  1160. category: 'accessing',
  1161. fn: function (){
  1162. var self=this;
  1163. return "slide blue3d";
  1164. return self;},
  1165. args: [],
  1166. source: unescape('cssClass%0A%09%5E%20%27slide%20blue3d%27'),
  1167. messageSends: [],
  1168. referencedClasses: []
  1169. }),
  1170. smalltalk.FOSDEMBookletSlide);
  1171. smalltalk.addMethod(
  1172. unescape('_style'),
  1173. smalltalk.method({
  1174. selector: unescape('style'),
  1175. category: 'css',
  1176. fn: function (){
  1177. var self=this;
  1178. return unescape("%0A%23book%20%7B%20font-size%3A%201.4em%3B%20%7D%0A%23book%20.b-load%20.b-wrap-right%20%7B%20background-color%3A%20%23DEC3A9%3B%7D%0A%23book%20.b-load%20.b-wrap-left%20%7B%20background-color%3A%20%23DDD%3B%7D%20%0A");
  1179. return self;},
  1180. args: [],
  1181. source: unescape('style%0A%09%5E%20%27%0A%23book%20%7B%20font-size%3A%201.4em%3B%20%7D%0A%23book%20.b-load%20.b-wrap-right%20%7B%20background-color%3A%20%23DEC3A9%3B%7D%0A%23book%20.b-load%20.b-wrap-left%20%7B%20background-color%3A%20%23DDD%3B%7D%20%0A%27'),
  1182. messageSends: [],
  1183. referencedClasses: []
  1184. }),
  1185. smalltalk.FOSDEMBookletSlide);
  1186. smalltalk.addMethod(
  1187. unescape('_renderSlideOn_'),
  1188. smalltalk.method({
  1189. selector: unescape('renderSlideOn%3A'),
  1190. category: 'rendering',
  1191. fn: function (html){
  1192. var self=this;
  1193. smalltalk.send(self, "_renderBookOn_", [html]);
  1194. (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", []));
  1195. smalltalk.send(html, "_style_", [smalltalk.send(self, "_style", [])]);
  1196. 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", [])]);})]);
  1197. return self;},
  1198. args: ["html"],
  1199. source: unescape('renderSlideOn%3A%20html%0A%09self%20renderBookOn%3A%20html.%0A%09html%20link%20%0A%09%09rel%3A%27stylesheet%27%3B%0A%09%09href%3A%20%27fosdem2012/lib/booklet/jquery.booklet.1.2.0.css%27.%0A%09%0A%09html%20style%3A%20self%20style.%0A%09%0A%09jQuery%20%0A%09%09getScript%3A%20%27fosdem2012/lib/booklet/jquery.booklet.1.2.0.min.js%27%20%09%0A%09%09do%3A%20%5B%27%23book%27%20asJQuery%20booklet%3A%20self%20bookletOptions%5D.'),
  1200. messageSends: ["renderBookOn:", "rel:", "href:", "link", "style:", "style", "getScript:do:", "booklet:", "asJQuery", "bookletOptions"],
  1201. referencedClasses: []
  1202. }),
  1203. smalltalk.FOSDEMBookletSlide);
  1204. smalltalk.addMethod(
  1205. unescape('_renderBookOn_'),
  1206. smalltalk.method({
  1207. selector: unescape('renderBookOn%3A'),
  1208. category: 'rendering',
  1209. fn: function (html){
  1210. var self=this;
  1211. (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", []));
  1212. return self;},
  1213. args: ["html"],
  1214. source: unescape('renderBookOn%3A%20html%0A%09html%20div%20%0A%09%09id%3A%20%27book%27%3B%0A%09%09with%3A%20%5B%09html%20div%0A%09%09%09%09%09class%3A%20%27b-load%27%3B%0A%09%09%09%09%09with%3A%20%5B%09html%20%0A%09%09%09%09%09%09%09%09div%3A%20%27Amber%20makes%20it%20easy%20to%20plug%20existing%20javascript%20libraires%27%3B%0A%09%09%09%09%09%09%09%09div%3A%20%27Here%20is%20an%20example%20with%20the%20jQuery%20Booklet%20plugin%27%3B%0A%09%09%09%09%09%09%09%09div%3A%20%27Want%20to%20see%20how%20%3F%27%3B%0A%09%09%09%09%09%09%09%09div%3A%20%5B%20html%20button%0A%09%09%09%09%09%09%09%09%09%09onClick%3A%20%5BBrowser%20openOn%3A%20FOSDEMBookletSlide%20%5D%3B%0A%09%09%09%09%09%09%09%09%09%09with%3A%20%27Just%20browse%20the%20code%20%3A%29%27.%09%09%09%09%09%09%5D%20%09%0A%09%09%09%09%09%09%09%09%09%09%09%09%09%09%09%09%09%09%09%09%09%09%09%0A%09%09%09%09%09%5D%09%0A%09%09%5D.'),
  1215. messageSends: ["id:", "with:", "class:", "div:", "onClick:", "openOn:", "button", "div"],
  1216. referencedClasses: ["Browser", "FOSDEMBookletSlide"]
  1217. }),
  1218. smalltalk.FOSDEMBookletSlide);
  1219. smalltalk.addMethod(
  1220. unescape('_bookletOptions'),
  1221. smalltalk.method({
  1222. selector: unescape('bookletOptions'),
  1223. category: 'rendering',
  1224. fn: function (){
  1225. var self=this;
  1226. 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])]);
  1227. return self;},
  1228. args: [],
  1229. source: unescape('bookletOptions%0A%09%5E%20%23%7B%20%0A%09%09%27arrows%27%20-%3E%20true.%0A%09%09%27keyboard%27%20-%3E%20false.%0A%09%09%27pageNumbers%27%20-%3E%20false.%0A%09%09%27closed%27%20-%3E%20true%0A%09%7D'),
  1230. messageSends: [unescape("-%3E")],
  1231. referencedClasses: []
  1232. }),
  1233. smalltalk.FOSDEMBookletSlide);
  1234. smalltalk.addClass('FOSDEMIntroSlide', smalltalk.FOSDEMSlide, [], 'Presentation');
  1235. smalltalk.addMethod(
  1236. unescape('_renderSlideOn_'),
  1237. smalltalk.method({
  1238. selector: unescape('renderSlideOn%3A'),
  1239. category: 'not yet classified',
  1240. fn: function (html){
  1241. var self=this;
  1242. (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", []));
  1243. return self;},
  1244. args: ["html"],
  1245. source: unescape('renderSlideOn%3A%20html%0A%09html%20div%20class%3A%20%27section%20center%20animate%27%3B%20with%3A%20%5B%0A%09%09html%20img%20src%3A%20%27fosdem2012/images/amber.png%27.%0A%09%09html%20p%3A%20self%20presentation%20author.%0A%20%20%20%20%20%20%20%20%20%20%09html%20p%3A%20self%20presentation%20description.%0A%09%09html%20p%3A%20%5B%0A%09%09%09html%20with%3A%20self%20presentation%20email%5D%5D.'),
  1246. messageSends: ["class:", "with:", "src:", "img", "p:", "author", "presentation", "description", "email", "div"],
  1247. referencedClasses: []
  1248. }),
  1249. smalltalk.FOSDEMIntroSlide);
  1250. smalltalk.addClass('ESUG2011Presentation', smalltalk.Presentation, [], 'Presentation');
  1251. smalltalk.addMethod(
  1252. unescape('_description'),
  1253. smalltalk.method({
  1254. selector: unescape('description'),
  1255. category: 'accessing',
  1256. fn: function (){
  1257. var self=this;
  1258. return unescape("ESUG%202011%2C%20Edinburgh");
  1259. return self;},
  1260. args: [],
  1261. source: unescape('description%0A%09%5E%27ESUG%202011%2C%20Edinburgh%27'),
  1262. messageSends: [],
  1263. referencedClasses: []
  1264. }),
  1265. smalltalk.ESUG2011Presentation);
  1266. smalltalk.addMethod(
  1267. unescape('_author'),
  1268. smalltalk.method({
  1269. selector: unescape('author'),
  1270. category: 'accessing',
  1271. fn: function (){
  1272. var self=this;
  1273. return "Nicolas Petton";
  1274. return self;},
  1275. args: [],
  1276. source: unescape('author%0A%09%5E%27Nicolas%20Petton%27'),
  1277. messageSends: [],
  1278. referencedClasses: []
  1279. }),
  1280. smalltalk.ESUG2011Presentation);
  1281. smalltalk.addMethod(
  1282. unescape('_email'),
  1283. smalltalk.method({
  1284. selector: unescape('email'),
  1285. category: 'accessing',
  1286. fn: function (){
  1287. var self=this;
  1288. return unescape("nico@objectfusion.fr");
  1289. return self;},
  1290. args: [],
  1291. source: unescape('email%0A%09%5E%27nico@objectfusion.fr%27'),
  1292. messageSends: [],
  1293. referencedClasses: []
  1294. }),
  1295. smalltalk.ESUG2011Presentation);
  1296. smalltalk.addMethod(
  1297. unescape('_url'),
  1298. smalltalk.method({
  1299. selector: unescape('url'),
  1300. category: 'accessing',
  1301. fn: function (){
  1302. var self=this;
  1303. return unescape("http%3A//jtalk-project.org");
  1304. return self;},
  1305. args: [],
  1306. source: unescape('url%0A%09%5E%27http%3A//jtalk-project.org%27'),
  1307. messageSends: [],
  1308. referencedClasses: []
  1309. }),
  1310. smalltalk.ESUG2011Presentation);
  1311. smalltalk.addMethod(
  1312. unescape('_slideClasses'),
  1313. smalltalk.method({
  1314. selector: unescape('slideClasses'),
  1315. category: 'accessing',
  1316. fn: function (){
  1317. var self=this;
  1318. 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", []));
  1319. return self;},
  1320. args: [],
  1321. source: unescape('slideClasses%0A%09%5EArray%20new%0A%09%09add%3A%20IntroSlide%3B%0A%09%09add%3A%20AboutSlide%3B%0A%09%09add%3A%20WhatIsJtalkSlide%3B%0A%09%09add%3A%20JtalkFeaturesSlide%3B%0A%09%09add%3A%20WorkspaceSlide%3B%0A%09%09add%3A%20IDESlide%3B%0A%09%09add%3A%20CountersSlide%3B%0A%09%09add%3A%20JtalkAndJavascriptSlide%3B%0A%09%09add%3A%20JtalkAndJavascriptSlide2%3B%0A%09%09add%3A%20JtalkAndJavascriptSlide3%3B%0A%09%09add%3A%20JtalkAndJavascriptSlide4%3B%0A%09%09add%3A%20JtalkAndCLI%3B%0A%09%09add%3A%20JtalkAndNode%3B%0A%09%09add%3A%20JtalkAndNode2%3B%0A%09%09add%3A%20JtalkAndNode3%3B%0A%09%09add%3A%20JtalkAndWebOS%3B%0A%09%09add%3A%20JtalkAndEnyo%3B%0A%09%09add%3A%20ContributionsSlide%3B%0A%09%09yourself'),
  1322. messageSends: ["add:", "yourself", "new"],
  1323. referencedClasses: ["IntroSlide", "AboutSlide", "WhatIsJtalkSlide", "JtalkFeaturesSlide", "WorkspaceSlide", "IDESlide", "CountersSlide", "JtalkAndJavascriptSlide", "JtalkAndJavascriptSlide2", "JtalkAndJavascriptSlide3", "JtalkAndJavascriptSlide4", "JtalkAndCLI", "JtalkAndNode", "JtalkAndNode2", "JtalkAndNode3", "JtalkAndWebOS", "JtalkAndEnyo", "ContributionsSlide", "Array"]
  1324. }),
  1325. smalltalk.ESUG2011Presentation);
  1326. smalltalk.addMethod(
  1327. unescape('_style'),
  1328. smalltalk.method({
  1329. selector: unescape('style'),
  1330. category: 'accessing',
  1331. fn: function (){
  1332. var self=this;
  1333. 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");
  1334. return self;},
  1335. args: [],
  1336. source: unescape('style%0A%09%5E%27%0Abody%20%7B%0A%20%20%20%20font-family%3A%20Helvetica%2CArial%2Csans%3B%0A%7D%0A%0A%23slides%20%7B%0A%20%20%20%20width%3A%20100%25%3B%0A%20%20%20%20height%3A%20100%25%3B%0A%20%20%20%20overflow%3A%20hidden%3B%0A%20%20%20%20position%3A%20absolute%3B%0A%20%20%20%20top%3A%200%3B%0A%20%20%20%20bottom%3A%200%3B%0A%20%20%20%20left%3A%200%3B%0A%20%20%20%20right%3A%200%3B%0A%20%20%20%20background%3A%20%23555%3B%0A%7D%0A%0A.slide%20%7B%0A%20%20%20%20background%3A%20%23fff%3B%0A%20%20%20%20color%3A%20%23444%3B%0A%20%20%20%20text-align%3A%20left%3B%0A%20%20%20%20font-size%3A%2020px%3B%0A%20%20%20%20line-height%3A%201.8em%3B%0A%20%20%20%20height%3A%20500px%3B%0A%20%20%20%20width%3A%20700px%3B%0A%20%20%20%20padding%3A%2060px%3B%0A%20%20%20%20position%3A%20absolute%3B%0A%20%20%20%20left%3A%2050%25%3B%0A%20%20%20%20top%3A%2050%25%3B%0A%20%20%20%20margin-left%3A%20-420px%3B%0A%20%20%20%20margin-top%3A%20-320px%3B%0A%20%20%20%20box-shadow%3A%200%200%2020px%20%23111%3B%0A%20%20%20%20-moz-box-shadow%3A%200%200%2020px%20%23111%3B%0A%20%20%20%20-webkit-box-shadow%3A%200%200%2020px%20%23111%3B%0A%7D%0A%0A.slide.transparent%20%7B%0A%20%20%20%20background%3A%20transparent%3B%0A%20%20%20%20box-shadow%3A%200%200%200%20none%3B%0A%20%20%20%20-moz-box-shadow%3A%200%200%200%20transparent%3B%0A%20%20%20%20-webkit-box-shadow%3A%200%200%200%20transparent%3B%0A%20%20%20%20color%3A%20%23fff%20%21important%3B%0A%7D%0A%0A.slide.black%20%7B%0A%20%20%20%20background%3A%20black%3B%0A%20%20%20%20background-image%3A%20-webkit-gradient%28%0A%09linear%2C%0A%09left%20bottom%2C%0A%09left%20top%2C%0A%09color-stop%280.38%2C%20rgb%2879%2C79%2C79%29%29%2C%0A%09color-stop%280.69%2C%20rgb%2833%2C33%2C33%29%29%2C%0A%09color-stop%280.86%2C%20rgb%284%2C4%2C4%29%29%0A%20%20%20%20%29%3B%0A%20%20%20%20background-image%3A%20-moz-linear-gradient%28%0A%09center%20bottom%2C%0A%09rgb%2879%2C79%2C79%29%2038%25%2C%0A%09rgb%2833%2C33%2C33%29%2069%25%2C%0A%09rgb%284%2C4%2C4%29%2086%25%0A%20%20%20%20%29%3B%0A%20%20%20%20color%3A%20%23fff%20%21important%3B%0A%7D%0A%0A.slide.black%20h1%2C%20.slide.black%20h2%2C%20.slide.black%20h3%2C%0A.slide.transparent%20h1%2C%20.slide.transparent%20h2%2C%20.slide.transparent%20h3%20%7B%0A%20%20%20%20color%3A%20%23fff%3B%0A%20%20%20%20text-shadow%3A%200%201px%204px%20%23aaa%3B%0A%7D%0A%0A.slide.black%20a%2C%20.slide.transparent%20a%20%7B%0A%20%20%20%20color%3A%20%23ccc%3B%0A%7D%0A%0A.slide.white%20%7B%0A%20%20%20%20color%3A%20%23333%20%21important%3B%0A%7D%0A%0A.slide.white%20h1%2C%20.slide.white%20h2%2C%20.slide.white%20h3%20%7B%0A%20%20%20%20color%3A%20%23333%3B%0A%7D%0A%0A.slide.white%20a%20%7B%0A%20%20%20%20color%3A%20%23333%3B%0A%7D%0A%0A%0A.slide%20h1%2C%20.slide%20h2%2C%20.slide%20h3%20%7B%0A%20%20%20%20color%3A%20%23333%3B%0A%20%20%20%20/*%20text-align%3A%20center%3B%20*/%0A%7D%0A%0A.slide%20h1%20%7B%0A%20%20%20%20font-family%3A%20%22Droid%20Sans%22%3B%0A%20%20%20%20font-size%3A%2036px%3B%0A%20%20%20%20text-shadow%3A%200%201px%204px%20%23aaa%3B%0A%20%20%20%20margin-top%3A%2030px%3B%0A%20%20%20%20margin-bottom%3A%2050px%3B%0A%7D%0A%0A/*%20.slide%20ul%2C%20.slide%20li%20%7B%20*/%0A/*%20%20%20%20%20padding%3A%200%3B%20*/%0A/*%20%20%20%20%20margin%3A%200%3B%20*/%0A/*%20%7D%20*/%0A%0A.slide%20button%20%7B%0A%20%20%20%20font-size%3A%2018px%3B%0A%7D%0A%0A.slide%20a%20%7B%0A%20%20%20%20color%3A%20%23555%3B%0A%20%20%20%20text-decoration%3A%20none%3B%0A%20%20%20%20cursor%3A%20pointer%3B%0A%7D%0A%0A.slide%20a%3Ahover%20%7B%0A%20%20%20%20color%3A%20%23fff%3B%0A%20%20%20%20background%3A%20%23555%3B%0A%7D%0A%0A.slide%20.right%20%7B%0A%20%20%20%20text-align%3A%20right%3B%0A%7D%0A%0A.slide%20.section.center%20%7B%0A%20%20%20%20text-align%3A%20center%3B%0A%20%20%20%20display%3A%20table-cell%3B%0A%20%20%20%20vertical-align%3A%20middle%3B%0A%20%20%20%20width%3A%20700px%3B%0A%20%20%20%20height%3A%20500px%3B%0A%7D%0A%0A.slide%20code%20%7B%0A%20%20%20%20font-family%3A%20%22Droid%20Sans%20Mono%22%3B%0A%20%20%20%20color%3A%20%23444%3B%0A%20%20%20%20border%3A%201px%20solid%20%23ddd%3B%0A%20%20%20%20background%3A%20%23eee%3B%0A%20%20%20%20border-radius%3A%204px%3B%0A%20%20%20%20padding%3A%202px%3B%0A%20%20%20%20font-size%3A%2016px%3B%0A%7D%0A%0A.slide%20.code2%20%7B%0A%20%20%20%20font-family%3A%20%22Droid%20Sans%20Mono%22%3B%0A%20%20%20%20line-height%3A%201.2em%3B%0A%20%20%20%20color%3A%20%23444%3B%0A%20%20%20%20padding%3A%202px%3B%0A%20%20%20%20font-size%3A%2016px%3B%0A%7D%0A%0A%0A.slide%20.CodeMirror%20%7B%0A%20%20%20%20width%3A%20500px%3B%0A%20%20%20%20height%3A%20300px%3B%0A%20%20%20%20text-align%3A%20left%3B%0A%7D%0A%0A.slide%20.CodeMirror-scroll%20%7B%0A%20%20%20%20text-align%3A%20left%3B%0A%7D%0A%0A.slide%20.fancy%20%7B%0A%20%20%20%20margin-top%3A%2030px%3B%0A%20%20%20%20-webkit-transform%3A%20rotate%28-10deg%29%3B%0A%20%20%20%20-moz-transform%3A%20rotate%28-10deg%29%3B%0A%20%20%20%20transform%3A%20rotate%28-10deg%29%3B%0A%20%20%20%20color%3A%20red%3B%0A%7D%0A%0A.slide%20.comment%20%7B%0A%20%20%20%20opacity%3A%200.6%3B%0A%20%20%20%20font-weight%3A%20normal%3B%0A%7D%0A%0A.slide%20.red%20%7B%0A%20%20%20%20color%3A%20red%3B%0A%7D%0A%0A.slide%20.blue%20%7B%0A%20%20%20%20color%3A%20blue%3B%0A%7D%0A%0A.slide%23WhatIsJtalk%20%7B%0A%20%20%20%20background%3A%20white%20url%28%22esug2011/images/balloon.jpg%22%29%20650px%2050px%20no-repeat%3B%0A%7D%0A%0A.slide%23ide%20%7B%0A%20%20%20%20background%3A%20black%20url%28%22esug2011/images/ide_star_wars.png%22%29%20center%20center%20no-repeat%3B%0A%7D%0A%0A.slide%23JtalkAndCLI%20%7B%0A%20%20%20%20background%3A%20white%20url%28%22esug2011/images/terminal.png%22%29%20620px%2020px%20no-repeat%3B%0A%7D%0A%0A.slide%23JtalkAndNode%20%7B%0A%20%20%20%20background%3A%20white%20url%28%22esug2011/images/nodejs.png%22%29%20580px%2040px%20no-repeat%3B%0A%7D%0A.slide%23JtalkAndNode2%20%7B%0A%20%20%20%20background%3A%20white%20url%28%22esug2011/images/nodejs.png%22%29%20580px%2040px%20no-repeat%3B%0A%7D%0A%0A.slide%23JtalkAndNode3%20%7B%0A%20%20%20%20background%3A%20white%20url%28%22esug2011/images/nodejs.png%22%29%20580px%2040px%20no-repeat%3B%0A%7D%0A%0A.slide%23JtalkAndWebOS%20%7B%0A%20%20%20%20background%3A%20white%20url%28%22esug2011/images/devices.jpg%22%29%20380px%20280px%20no-repeat%3B%0A%7D%0A%0A.slide%23JtalkAndEnyo%20%7B%0A%20%20%20%20background%3A%20white%20url%28%22esug2011/images/enyo.png%22%29%20130px%20150px%20no-repeat%3B%0A%7D%0A%0A.slide%23links%20%7B%0A%20%20%20%20background%3A%20white%20url%28%22esug2011/images/asterix.png%22%29%2030px%20130px%20no-repeat%3B%0A%7D%0A%0A.slide%23links%20.section%20%7B%0A%20%20%20%20margin-left%3A%20250px%3B%0A%20%20%20%20margin-top%3A%20200px%3B%0A%20%20%20%20font-family%3A%20%22Droid%20Sans%22%3B%0A%20%20%20%20font-size%3A%2026px%3B%0A%20%20%20%20font-weight%3A%20bold%3B%0A%7D%0A%0A%0A%23meta%20%7B%0A%20%20%20%20position%3A%20absolute%3B%0A%20%20%20%20font-size%3A%2012px%3B%0A%20%20%20%20opacity%3A%200.6%3B%0A%20%20%20%20bottom%3A%200%3B%0A%20%20%20%20right%3A%200%3B%0A%20%20%20%20z-index%3A%202%3B%0A%20%20%20%20background%3A%20%23333%3B%0A%20%20%20%20text-align%3A%20right%3B%0A%20%20%20%20padding%3A%200%2010px%3B%0A%20%20%20%20line-height%3A%201.8em%3B%0A%20%20%20%20color%3A%20%23eee%3B%0A%20%20%20%20border-top-left-radius%3A%205px%3B%0A%7D%0A%0A%23meta%3Ahover%20%7B%0A%20%20%20%20opacity%3A%200.8%3B%0A%7D%0A%0A%23meta%20p%20%7B%0A%20%20%20%20display%3A%20inline%3B%0A%20%20%20%20padding%3A%200%205px%3B%0A%7D%0A%0A%23meta%20a%20%7B%0A%20%20%20%20//background%3A%20%23ccc%3B%0A%20%20%20%20color%3A%20%23ccc%3B%0A%20%20%20%20text-decoration%3A%20none%3B%0A%20%20%20%20padding%3A%200%205px%3B%0A%7D%0A%0A.slide%20%7B%0A%20%20%20%20%0A%7D%0A%27'),
  1337. messageSends: [],
  1338. referencedClasses: []
  1339. }),
  1340. smalltalk.ESUG2011Presentation);
  1341. smalltalk.ESUG2011Presentation.klass.iVarNames = ['current'];
  1342. smalltalk.addMethod(
  1343. unescape('_title'),
  1344. smalltalk.method({
  1345. selector: unescape('title'),
  1346. category: 'accessing',
  1347. fn: function (){
  1348. var self=this;
  1349. return "Jtalk";
  1350. return self;},
  1351. args: [],
  1352. source: unescape('title%0A%09%5E%27Jtalk%27'),
  1353. messageSends: [],
  1354. referencedClasses: []
  1355. }),
  1356. smalltalk.ESUG2011Presentation.klass);
  1357. smalltalk.addMethod(
  1358. unescape('_isConcrete'),
  1359. smalltalk.method({
  1360. selector: unescape('isConcrete'),
  1361. category: 'testing',
  1362. fn: function (){
  1363. var self=this;
  1364. return true;
  1365. return self;},
  1366. args: [],
  1367. source: unescape('isConcrete%0A%09%5Etrue'),
  1368. messageSends: [],
  1369. referencedClasses: []
  1370. }),
  1371. smalltalk.ESUG2011Presentation.klass);
  1372. smalltalk.addClass('IntroSlide', smalltalk.Slide, [], 'Presentation');
  1373. smalltalk.addMethod(
  1374. unescape('_id'),
  1375. smalltalk.method({
  1376. selector: unescape('id'),
  1377. category: 'accessing',
  1378. fn: function (){
  1379. var self=this;
  1380. return "intro";
  1381. return self;},
  1382. args: [],
  1383. source: unescape('id%0A%09%5E%27intro%27'),
  1384. messageSends: [],
  1385. referencedClasses: []
  1386. }),
  1387. smalltalk.IntroSlide);
  1388. smalltalk.addMethod(
  1389. unescape('_cssClass'),
  1390. smalltalk.method({
  1391. selector: unescape('cssClass'),
  1392. category: 'accessing',
  1393. fn: function (){
  1394. var self=this;
  1395. return "slide black";
  1396. return self;},
  1397. args: [],
  1398. source: unescape('cssClass%0A%09%5E%27slide%20black%27'),
  1399. messageSends: [],
  1400. referencedClasses: []
  1401. }),
  1402. smalltalk.IntroSlide);
  1403. smalltalk.addMethod(
  1404. unescape('_renderSlideOn_'),
  1405. smalltalk.method({
  1406. selector: unescape('renderSlideOn%3A'),
  1407. category: 'rendering',
  1408. fn: function (html){
  1409. var self=this;
  1410. (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", []));
  1411. return self;},
  1412. args: ["html"],
  1413. source: unescape('renderSlideOn%3A%20html%0A%09html%20div%20class%3A%20%27section%20center%27%3B%20with%3A%20%5B%0A%09%09html%20h1%20with%3A%20%27Jtalk%2C%20the%20Smalltalk%20for%20Web%20developers%27.%0A%09%09html%20p%20with%3A%20self%20presentation%20author%2C%20%27%20%26%20G%F6ran%20Krampe%20-%20%27%2C%20self%20presentation%20description.%0A%09%09html%20p%20with%3A%20%5B%0A%09%09%09html%20a%0A%09%09%09%09with%3A%20self%20presentation%20email%3B%0A%09%09%09%09href%3A%20%27mailto%3A%27%2C%20self%20presentation%20email%5D.%0A%09%09html%20p%20with%3A%20%5B%0A%09%09%09html%20a%0A%09%09%09%09with%3A%20%27goran@krampe.se%27%3B%0A%09%09%09%09href%3A%20%27mailto%3Agoran@krampe.se%27%5D.%0A%09%09%0A%20%20%20%20%20%20%20%20%20%20%09html%20p%20with%3A%20%5B%0A%09%09%09html%20a%0A%09%09%09%09with%3A%20%27objectfusion.fr%27%3B%0A%09%09%09%09href%3A%20%27http%3A//www.objectfusion.fr%27%5D%5D'),
  1414. messageSends: ["class:", "with:", "h1", "p", unescape("%2C"), "author", "presentation", "description", "email", "href:", "a", "div"],
  1415. referencedClasses: []
  1416. }),
  1417. smalltalk.IntroSlide);
  1418. smalltalk.addClass('WhatIsJtalkSlide', smalltalk.Slide, [], 'Presentation');
  1419. smalltalk.addMethod(
  1420. unescape('_id'),
  1421. smalltalk.method({
  1422. selector: unescape('id'),
  1423. category: 'accessing',
  1424. fn: function (){
  1425. var self=this;
  1426. return "WhatIsJtalk";
  1427. return self;},
  1428. args: [],
  1429. source: unescape('id%0A%09%5E%27WhatIsJtalk%27'),
  1430. messageSends: [],
  1431. referencedClasses: []
  1432. }),
  1433. smalltalk.WhatIsJtalkSlide);
  1434. smalltalk.addMethod(
  1435. unescape('_renderSlideOn_'),
  1436. smalltalk.method({
  1437. selector: unescape('renderSlideOn%3A'),
  1438. category: 'rendering',
  1439. fn: function (html){
  1440. var self=this;
  1441. (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", []));
  1442. return self;},
  1443. args: ["html"],
  1444. source: unescape('renderSlideOn%3A%20html%0A%09html%20div%20class%3A%20%27section%20center%27%3B%20with%3A%20%5B%0A%09%09html%20h1%20with%3A%20%27Jtalk%20in%20a%20nutshell%27.%0A%09%09html%20h2%20with%3A%20%27Jtalk%20is%20an%20implementation%20of%20Smalltalk%27.%0A%09%09html%20h2%20with%3A%20%27Jtalk%20runs%20on%20top%20of%20the%20JavaScript%20runtime%27.%0A%09%09html%20h2%20with%3A%20%27Jtalk%20is%20an%20opensource%20project%20%28MIT%29%27.%0A%09%09html%20h2%20class%3A%20%27fancy%27%3B%20with%3A%20%27Jtalk%20is%20cool%21%27%5D'),
  1445. messageSends: ["class:", "with:", "h1", "h2", "div"],
  1446. referencedClasses: []
  1447. }),
  1448. smalltalk.WhatIsJtalkSlide);
  1449. smalltalk.addClass('JtalkFeaturesSlide', smalltalk.Slide, [], 'Presentation');
  1450. smalltalk.addMethod(
  1451. unescape('_id'),
  1452. smalltalk.method({
  1453. selector: unescape('id'),
  1454. category: 'accessing',
  1455. fn: function (){
  1456. var self=this;
  1457. return "features";
  1458. return self;},
  1459. args: [],
  1460. source: unescape('id%0A%09%5E%27features%27'),
  1461. messageSends: [],
  1462. referencedClasses: []
  1463. }),
  1464. smalltalk.JtalkFeaturesSlide);
  1465. smalltalk.addMethod(
  1466. unescape('_renderSlideOn_'),
  1467. smalltalk.method({
  1468. selector: unescape('renderSlideOn%3A'),
  1469. category: 'rendering',
  1470. fn: function (html){
  1471. var self=this;
  1472. smalltalk.send(smalltalk.send(html, "_h1", []), "_with_", ["Jtalk features"]);
  1473. 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"]);})]);})]);
  1474. return self;},
  1475. args: ["html"],
  1476. source: unescape('renderSlideOn%3A%20html%0A%09html%20h1%20with%3A%20%27Jtalk%20features%27.%0A%09html%20ul%20with%3A%20%5B%0A%09%09html%20li%20with%3A%20%27Jtalk%20is%20%28mostly%29%20written%20in%20itself%2C%20including%20the%20parser%20%26%20compiler%27.%0A%09%09html%20li%20with%3A%20%27Full%20Smalltalk%20object%20system%2C%20including%20classes%20%26%20metaclasses%2C%20etc%27.%0A%09%09html%20li%20with%3A%20%27Core%20libraries%20%28streams%2C%20collections%2C%20RegExp%2C%20etc%29%27.%0A%09%09html%20li%20with%3A%20%27Web%20related%20libraries%3A%20HTML%20Canvas%2C%20DOM%20manipulation%27.%0A%09%09html%20li%20with%3A%20%27Full%20featured%20IDE%27.%0A%09%09html%20li%20with%3A%20%5B%0A%09%09%09html%20with%3A%27Advanced%20Smalltalk%20features%2C%20including%20%27.%0A%09%09%09html%20code%20with%3A%20%27%23doesNotUnderstand%3A%27.%0A%09%09%09html%20with%3A%20%27%20support%20and%20%27.%0A%09%09%09html%20code%20with%3A%20%27thisContext%27%5D%5D'),
  1477. messageSends: ["with:", "h1", "ul", "li", "code"],
  1478. referencedClasses: []
  1479. }),
  1480. smalltalk.JtalkFeaturesSlide);
  1481. smalltalk.addClass('AboutSlide', smalltalk.Slide, [], 'Presentation');
  1482. smalltalk.addMethod(
  1483. unescape('_id'),
  1484. smalltalk.method({
  1485. selector: unescape('id'),
  1486. category: 'accessing',
  1487. fn: function (){
  1488. var self=this;
  1489. return "about";
  1490. return self;},
  1491. args: [],
  1492. source: unescape('id%0A%09%5E%27about%27'),
  1493. messageSends: [],
  1494. referencedClasses: []
  1495. }),
  1496. smalltalk.AboutSlide);
  1497. smalltalk.addMethod(
  1498. unescape('_cssClass'),
  1499. smalltalk.method({
  1500. selector: unescape('cssClass'),
  1501. category: 'accessing',
  1502. fn: function (){
  1503. var self=this;
  1504. return "slide transparent white";
  1505. return self;},
  1506. args: [],
  1507. source: unescape('cssClass%0A%09%5E%27slide%20transparent%20white%27'),
  1508. messageSends: [],
  1509. referencedClasses: []
  1510. }),
  1511. smalltalk.AboutSlide);
  1512. smalltalk.addMethod(
  1513. unescape('_backgroundColor'),
  1514. smalltalk.method({
  1515. selector: unescape('backgroundColor'),
  1516. category: 'accessing',
  1517. fn: function (){
  1518. var self=this;
  1519. return "white";
  1520. return self;},
  1521. args: [],
  1522. source: unescape('backgroundColor%0A%09%5E%27white%27'),
  1523. messageSends: [],
  1524. referencedClasses: []
  1525. }),
  1526. smalltalk.AboutSlide);
  1527. smalltalk.addMethod(
  1528. unescape('_renderSlideOn_'),
  1529. smalltalk.method({
  1530. selector: unescape('renderSlideOn%3A'),
  1531. category: 'rendering',
  1532. fn: function (html){
  1533. var self=this;
  1534. (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", []));
  1535. return self;},
  1536. args: ["html"],
  1537. source: unescape('renderSlideOn%3A%20html%0A%09html%20div%20class%3A%20%27section%20center%27%3B%20with%3A%20%5B%0A%09%09html%20h1%20with%3A%20%27About%20this%20presentation%27.%0A%09%09html%20p%20with%3A%20%27This%20presentation%20is%20entirely%20written%20in%20Jtalk%20and%20is%20licensed%20under%20CC%20BY-SA.%27.%0A%09%09html%20p%20with%3A%20%5B%0A%09%09%09html%20with%3A%20%27Press%20%27.%0A%09%09%09html%20code%20with%3A%20%27%u2190%27.%0A%09%09%09html%20with%3A%20%27%20to%20move%20backward%20and%20%27.%0A%09%09%09html%20code%20with%3A%20%27%20%u2192%27.%0A%09%09%09html%20with%3A%20%27%20to%20move%20forward.%27%5D.%0A%09%09html%20p%20with%3A%20%5B%0A%09%09%09html%20with%3A%20%27Open%20a%20%27.%0A%09%09%09html%20button%20%0A%09%09%09%09with%3A%20%27browser%27%3B%0A%09%09%09%09onClick%3A%20%5BBrowser%20openOn%3A%20Presentation%5D.%0A%09%09%09html%20with%3A%20%27%20to%20edit%20the%20source%20code.%27%5D%5D'),
  1538. messageSends: ["class:", "with:", "h1", "p", "code", "onClick:", "openOn:", "button", "div"],
  1539. referencedClasses: ["Browser", "Presentation"]
  1540. }),
  1541. smalltalk.AboutSlide);
  1542. smalltalk.addClass('JtalkAndJavascriptSlide3', smalltalk.Slide, [], 'Presentation');
  1543. smalltalk.addMethod(
  1544. unescape('_id'),
  1545. smalltalk.method({
  1546. selector: unescape('id'),
  1547. category: 'accessing',
  1548. fn: function (){
  1549. var self=this;
  1550. return "jtalkAndJs3";
  1551. return self;},
  1552. args: [],
  1553. source: unescape('id%0A%09%5E%27jtalkAndJs3%27'),
  1554. messageSends: [],
  1555. referencedClasses: []
  1556. }),
  1557. smalltalk.JtalkAndJavascriptSlide3);
  1558. smalltalk.addMethod(
  1559. unescape('_backgroundColor'),
  1560. smalltalk.method({
  1561. selector: unescape('backgroundColor'),
  1562. category: 'accessing',
  1563. fn: function (){
  1564. var self=this;
  1565. return unescape("%2308C");
  1566. return self;},
  1567. args: [],
  1568. source: unescape('backgroundColor%0A%09%5E%27%2308C%27'),
  1569. messageSends: [],
  1570. referencedClasses: []
  1571. }),
  1572. smalltalk.JtalkAndJavascriptSlide3);
  1573. smalltalk.addMethod(
  1574. unescape('_renderSlideOn_'),
  1575. smalltalk.method({
  1576. selector: unescape('renderSlideOn%3A'),
  1577. category: 'rendering',
  1578. fn: function (html){
  1579. var self=this;
  1580. 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"]);})]);
  1581. smalltalk.send(smalltalk.send(html, "_h2", []), "_with_", [unescape("Smalltalk%20%u21D2%20JavaScript")]);
  1582. 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", []));})]);
  1583. return self;},
  1584. args: ["html"],
  1585. source: unescape('renderSlideOn%3A%20html%0A%09html%20h1%20with%3A%20%5B%0A%09%09html%20with%3A%20%27Smalltalk%20%27.%0A%09%09html%20span%20class%3A%20%27red%27%3B%20with%3A%20%27%u2665%27.%0A%09%09html%20with%3A%20%27%20JavaScript%27%5D.%0A%09html%20h2%20with%3A%20%27Smalltalk%20%u21D2%20JavaScript%27.%0A%09html%20ol%20with%3A%20%5B%0A%09%09html%20li%20%0A%09%09%09with%3A%20%27Unary%20messages%20begin%20with%20an%20underscore%3A%20%27%3B%0A%09%09%09with%3A%20%5Bhtml%20code%20with%3A%20%27yourself%27%5D%3B%0A%09%09%09with%3A%20%27%20becomes%20%27%3B%0A%09%09%09with%3A%20%5Bhtml%20code%20with%3A%20%27_yourself%28%29%27%5D.%0A%09%09html%20li%20%0A%09%09%09with%3A%20%27Binary%20messages%20are%20prefixed%20with%202%20underscores%3A%20%27%3B%0A%09%09%09with%3A%20%5Bhtml%20code%20with%3A%20%273@4%27%5D%3B%0A%09%09%09with%3A%20%27%20becomes%20%27%3B%0A%09%09%09with%3A%20%5Bhtml%20code%20with%3A%20%27%283%29.__at%284%29%27%5D.%0A%09%09html%20li%20%0A%09%09%09with%3A%20%27Keyword%20message%20follow%20the%20same%20rules%20as%20unary%20messages%2C%20with%20a%20final%20underscore%3A%20%27%3B%0A%09%09%09with%3A%20%5Bhtml%20code%20with%3A%20%27aDictionary%20at%3A%203%20put%3A%204%27%5D%3B%0A%09%09%09with%3A%20%27%20becomes%20%27%3B%0A%09%09%09with%3A%20%5Bhtml%20code%20with%3A%20%27aDictionary._at_put_%283%2C%204%29%27%5D%5D'),
  1586. messageSends: ["with:", "h1", "class:", "span", "h2", "ol", "code", "li"],
  1587. referencedClasses: []
  1588. }),
  1589. smalltalk.JtalkAndJavascriptSlide3);
  1590. smalltalk.addClass('JtalkAndJavascriptSlide2', smalltalk.Slide, [], 'Presentation');
  1591. smalltalk.addMethod(
  1592. unescape('_id'),
  1593. smalltalk.method({
  1594. selector: unescape('id'),
  1595. category: 'accessing',
  1596. fn: function (){
  1597. var self=this;
  1598. return "jtalkAndJs2";
  1599. return self;},
  1600. args: [],
  1601. source: unescape('id%0A%09%5E%27jtalkAndJs2%27'),
  1602. messageSends: [],
  1603. referencedClasses: []
  1604. }),
  1605. smalltalk.JtalkAndJavascriptSlide2);
  1606. smalltalk.addMethod(
  1607. unescape('_backgroundColor'),
  1608. smalltalk.method({
  1609. selector: unescape('backgroundColor'),
  1610. category: 'accessing',
  1611. fn: function (){
  1612. var self=this;
  1613. return unescape("%2308C");
  1614. return self;},
  1615. args: [],
  1616. source: unescape('backgroundColor%0A%09%5E%27%2308C%27'),
  1617. messageSends: [],
  1618. referencedClasses: []
  1619. }),
  1620. smalltalk.JtalkAndJavascriptSlide2);
  1621. smalltalk.addMethod(
  1622. unescape('_renderSlideOn_'),
  1623. smalltalk.method({
  1624. selector: unescape('renderSlideOn%3A'),
  1625. category: 'rendering',
  1626. fn: function (html){
  1627. var self=this;
  1628. 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"]);})]);
  1629. smalltalk.send(smalltalk.send(html, "_h2", []), "_with_", ["Jtalk maps one to one with the JavaScript equivalent:"]);
  1630. 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."]);})]);
  1631. return self;},
  1632. args: ["html"],
  1633. source: unescape('renderSlideOn%3A%20html%0A%09html%20h1%20with%3A%20%5B%0A%09%09html%20with%3A%20%27Smalltalk%20%27.%0A%09%09html%20span%20class%3A%20%27red%27%3B%20with%3A%20%27%u2665%27.%0A%09%09html%20with%3A%20%27%20JavaScript%27%5D.%0A%09html%20h2%20with%3A%20%27Jtalk%20maps%20one%20to%20one%20with%20the%20JavaScript%20equivalent%3A%27.%0A%09html%20ul%20with%3A%20%5B%0A%09%09html%20li%20with%3A%20%27String%20%u21D4%20String%27.%0A%09%09html%20li%20with%3A%20%27Number%20%u21D4%20Number%27.%0A%09%09html%20li%20with%3A%20%27BlockClosure%20%u21D4%20function%27.%0A%09%09html%20li%20with%3A%20%27Dictionary%20%u21D4%20Object%27.%0A%09%09html%20li%20with%3A%20%27Error%20%u21D4%20Error%27.%0A%09%09html%20li%20with%3A%20%27etc.%27%5D'),
  1634. messageSends: ["with:", "h1", "class:", "span", "h2", "ul", "li"],
  1635. referencedClasses: []
  1636. }),
  1637. smalltalk.JtalkAndJavascriptSlide2);
  1638. smalltalk.addClass('JtalkAndJavascriptSlide', smalltalk.Slide, [], 'Presentation');
  1639. smalltalk.addMethod(
  1640. unescape('_id'),
  1641. smalltalk.method({
  1642. selector: unescape('id'),
  1643. category: 'accessing',
  1644. fn: function (){
  1645. var self=this;
  1646. return "jtalkAndJs";
  1647. return self;},
  1648. args: [],
  1649. source: unescape('id%0A%09%5E%27jtalkAndJs%27'),
  1650. messageSends: [],
  1651. referencedClasses: []
  1652. }),
  1653. smalltalk.JtalkAndJavascriptSlide);
  1654. smalltalk.addMethod(
  1655. unescape('_cssClass'),
  1656. smalltalk.method({
  1657. selector: unescape('cssClass'),
  1658. category: 'accessing',
  1659. fn: function (){
  1660. var self=this;
  1661. return "slide transparent";
  1662. return self;},
  1663. args: [],
  1664. source: unescape('cssClass%0A%09%5E%27slide%20transparent%27'),
  1665. messageSends: [],
  1666. referencedClasses: []
  1667. }),
  1668. smalltalk.JtalkAndJavascriptSlide);
  1669. smalltalk.addMethod(
  1670. unescape('_backgroundColor'),
  1671. smalltalk.method({
  1672. selector: unescape('backgroundColor'),
  1673. category: 'accessing',
  1674. fn: function (){
  1675. var self=this;
  1676. return unescape("%2308C");
  1677. return self;},
  1678. args: [],
  1679. source: unescape('backgroundColor%0A%09%5E%27%2308C%27'),
  1680. messageSends: [],
  1681. referencedClasses: []
  1682. }),
  1683. smalltalk.JtalkAndJavascriptSlide);
  1684. smalltalk.addMethod(
  1685. unescape('_renderSlideOn_'),
  1686. smalltalk.method({
  1687. selector: unescape('renderSlideOn%3A'),
  1688. category: 'rendering',
  1689. fn: function (html){
  1690. var self=this;
  1691. (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", []));
  1692. return self;},
  1693. args: ["html"],
  1694. source: unescape('renderSlideOn%3A%20html%0A%09html%20div%20class%3A%20%27section%20center%27%3B%20with%3A%20%5B%0A%09%09html%20h1%20with%3A%20%5B%0A%09%09%09html%20with%3A%20%27Smalltalk%20%27.%0A%09%09%09html%20span%20class%3A%20%27red%27%3B%20with%3A%20%27%u2665%27.%0A%09%09%09html%20with%3A%20%27%20JavaScript%27%5D%5D'),
  1695. messageSends: ["class:", "with:", "h1", "span", "div"],
  1696. referencedClasses: []
  1697. }),
  1698. smalltalk.JtalkAndJavascriptSlide);
  1699. smalltalk.addClass('WorkspaceSlide', smalltalk.Slide, [], 'Presentation');
  1700. smalltalk.addMethod(
  1701. unescape('_id'),
  1702. smalltalk.method({
  1703. selector: unescape('id'),
  1704. category: 'accessing',
  1705. fn: function (){
  1706. var self=this;
  1707. return "workspace";
  1708. return self;},
  1709. args: [],
  1710. source: unescape('id%0A%09%5E%27workspace%27'),
  1711. messageSends: [],
  1712. referencedClasses: []
  1713. }),
  1714. smalltalk.WorkspaceSlide);
  1715. smalltalk.addMethod(
  1716. unescape('_backgroundColor'),
  1717. smalltalk.method({
  1718. selector: unescape('backgroundColor'),
  1719. category: 'accessing',
  1720. fn: function (){
  1721. var self=this;
  1722. return unescape("%2318bd7d");
  1723. return self;},
  1724. args: [],
  1725. source: unescape('backgroundColor%0A%09%5E%27%2318bd7d%27'),
  1726. messageSends: [],
  1727. referencedClasses: []
  1728. }),
  1729. smalltalk.WorkspaceSlide);
  1730. smalltalk.addMethod(
  1731. unescape('_renderSlideOn_'),
  1732. smalltalk.method({
  1733. selector: unescape('renderSlideOn%3A'),
  1734. category: 'accessing',
  1735. fn: function (html){
  1736. var self=this;
  1737. var workspace=nil;
  1738. (workspace=smalltalk.send((smalltalk.SourceArea || SourceArea), "_new", []));
  1739. (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", []));
  1740. return self;},
  1741. args: ["html"],
  1742. source: unescape('renderSlideOn%3A%20html%0A%09%7C%20workspace%20%7C%0A%09workspace%20%3A%3D%20SourceArea%20new.%0A%09html%20div%20class%3A%20%27section%20center%27%3B%20with%3A%20%5B%0A%09%09html%20h1%20with%3A%20%27Give%20Jtalk%20a%20try%21%27.%0A%09%09workspace%20renderOn%3A%20html.%0A%09%09html%20div%20with%3A%20%5B%0A%09%09%09html%20button%0A%09%09%09%09with%3A%20%27DoIt%27%3B%0A%09%09%09%09onClick%3A%20%5Bworkspace%20doIt%5D.%0A%09%09%09html%20button%0A%09%09%09%09with%3A%20%27PrintIt%27%3B%0A%09%09%09%09onClick%3A%20%5Bworkspace%20printIt%5D.%0A%09%09%09html%20button%0A%09%09%09%09with%3A%20%27InspectIt%27%3B%0A%09%09%09%09onClick%3A%20%5Bworkspace%20inspectIt%5D%5D%5D'),
  1743. messageSends: ["new", "class:", "with:", "h1", "renderOn:", "div", "onClick:", "doIt", "button", "printIt", "inspectIt"],
  1744. referencedClasses: ["SourceArea"]
  1745. }),
  1746. smalltalk.WorkspaceSlide);
  1747. smalltalk.addClass('CountersSlide', smalltalk.Slide, [], 'Presentation');
  1748. smalltalk.addMethod(
  1749. unescape('_id'),
  1750. smalltalk.method({
  1751. selector: unescape('id'),
  1752. category: 'accessing',
  1753. fn: function (){
  1754. var self=this;
  1755. return "counters";
  1756. return self;},
  1757. args: [],
  1758. source: unescape('id%0A%09%5E%27counters%27'),
  1759. messageSends: [],
  1760. referencedClasses: []
  1761. }),
  1762. smalltalk.CountersSlide);
  1763. smalltalk.addMethod(
  1764. unescape('_backgroundColor'),
  1765. smalltalk.method({
  1766. selector: unescape('backgroundColor'),
  1767. category: 'accessing',
  1768. fn: function (){
  1769. var self=this;
  1770. return unescape("%2318bd7d");
  1771. return self;},
  1772. args: [],
  1773. source: unescape('backgroundColor%0A%09%5E%27%2318bd7d%27'),
  1774. messageSends: [],
  1775. referencedClasses: []
  1776. }),
  1777. smalltalk.CountersSlide);
  1778. smalltalk.addMethod(
  1779. unescape('_renderSlideOn_'),
  1780. smalltalk.method({
  1781. selector: unescape('renderSlideOn%3A'),
  1782. category: 'rendering',
  1783. fn: function (html){
  1784. var self=this;
  1785. (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", []));
  1786. return self;},
  1787. args: ["html"],
  1788. source: unescape('renderSlideOn%3A%20html%0A%09html%20div%20class%3A%20%27section%20center%27%3B%20with%3A%20%5B%0A%09%09html%20h1%20with%3A%20%27The%20counter%20example%27.%0A%09%09html%20div%20with%3A%20%5B%0A%09%09%092%20timesRepeat%3A%20%5BCounter%20new%20renderOn%3A%20html%5D%5D%5D'),
  1789. messageSends: ["class:", "with:", "h1", "div", "timesRepeat:", "renderOn:", "new"],
  1790. referencedClasses: ["Counter"]
  1791. }),
  1792. smalltalk.CountersSlide);
  1793. smalltalk.addClass('JtalkAndJavascriptSlide4', smalltalk.Slide, [], 'Presentation');
  1794. smalltalk.addMethod(
  1795. unescape('_id'),
  1796. smalltalk.method({
  1797. selector: unescape('id'),
  1798. category: 'accessing',
  1799. fn: function (){
  1800. var self=this;
  1801. return "jtalkAndJs4";
  1802. return self;},
  1803. args: [],
  1804. source: unescape('id%0A%09%5E%27jtalkAndJs4%27'),
  1805. messageSends: [],
  1806. referencedClasses: []
  1807. }),
  1808. smalltalk.JtalkAndJavascriptSlide4);
  1809. smalltalk.addMethod(
  1810. unescape('_backgroundColor'),
  1811. smalltalk.method({
  1812. selector: unescape('backgroundColor'),
  1813. category: 'accessing',
  1814. fn: function (){
  1815. var self=this;
  1816. return unescape("%2308C");
  1817. return self;},
  1818. args: [],
  1819. source: unescape('backgroundColor%0A%09%5E%27%2308C%27'),
  1820. messageSends: [],
  1821. referencedClasses: []
  1822. }),
  1823. smalltalk.JtalkAndJavascriptSlide4);
  1824. smalltalk.addMethod(
  1825. unescape('_renderSlideOn_'),
  1826. smalltalk.method({
  1827. selector: unescape('renderSlideOn%3A'),
  1828. category: 'rendering',
  1829. fn: function (html){
  1830. var self=this;
  1831. 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);})]);
  1832. smalltalk.send(smalltalk.send(html, "_h2", []), "_with_", [unescape("JavaScript%20%u21D2%20Smalltalk")]);
  1833. 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", []));})]);
  1834. return self;},
  1835. args: ["html"],
  1836. source: unescape('renderSlideOn%3A%20html%0A%09html%20h1%20with%3A%20%5B%0A%09%09html%20with%3A%20%27JavaScript%20%27.%0A%09%09html%20span%20class%3A%20%27red%27%3B%20with%3A%20%27%u2665%27.%0A%09%09html%20with%3A%20%27%20Smalltalk%20too%21%20%27%3B%0A%09%09with%3A%20%5Bhtml%20span%20class%3A%20%27comment%27%3B%20with%3A%20%27%28how%20cute%29%27%5D%5D.%0A%09html%20h2%20with%3A%20%27JavaScript%20%u21D2%20Smalltalk%27.%0A%09html%20ol%20with%3A%20%5B%0A%09%09html%20li%20%0A%09%09%09with%3A%20%5Bhtml%20code%20with%3A%20%27someUser.name%27%5D%3B%0A%09%09%09with%3A%20%27%20becomes%20%27%3B%0A%09%09%09with%3A%20%5Bhtml%20code%20with%3A%20%27someUser%20name%27%5D.%0A%09%09html%20li%20%0A%09%09%09with%3A%20%5Bhtml%20code%20with%3A%20%27someUser%20name%20%3D%20%22John%22%27%5D%3B%0A%09%09%09with%3A%20%27%20becomes%20%27%3B%0A%09%09%09with%3A%20%5Bhtml%20code%20with%3A%20%27someUser%20name%3A%20%27%27John%27%27%27%5D.%0A%09%09html%20li%20%0A%09%09%09with%3A%20%5Bhtml%20code%20with%3A%20%27console.log%28%27%27hello%20world%27%27%29%27%5D%3B%0A%09%09%09with%3A%20%27%20becomes%20%27%3B%0A%09%09%09with%3A%20%5Bhtml%20code%20with%3A%20%27console%20log%3A%20%27%27hello%20world%27%27%27%5D.%0A%09%09html%20li%20%0A%09%09%09with%3A%20%5Bhtml%20code%20with%3A%20%27window.jQuery%28%27%27foo%27%27%29.css%28%27%27background%27%27%2C%20%27%27red%27%27%29%27%5D%3B%0A%09%09%09with%3A%20%27%20becomes%20%27%3B%0A%09%09%09with%3A%20%5Bhtml%20br%5D%3B%0A%09%09%09with%3A%20%5Bhtml%20code%20with%3A%20%27%28window%20jQuery%3A%20%27%27foo%27%27%29%20css%3A%20%27%27background%27%27%20color%3A%20%27%27red%27%27%27%5D%5D'),
  1837. messageSends: ["with:", "h1", "class:", "span", "h2", "ol", "code", "li", "br"],
  1838. referencedClasses: []
  1839. }),
  1840. smalltalk.JtalkAndJavascriptSlide4);
  1841. smalltalk.addClass('IDESlide', smalltalk.Slide, [], 'Presentation');
  1842. smalltalk.addMethod(
  1843. unescape('_id'),
  1844. smalltalk.method({
  1845. selector: unescape('id'),
  1846. category: 'accessing',
  1847. fn: function (){
  1848. var self=this;
  1849. return "ide";
  1850. return self;},
  1851. args: [],
  1852. source: unescape('id%0A%09%5E%27ide%27'),
  1853. messageSends: [],
  1854. referencedClasses: []
  1855. }),
  1856. smalltalk.IDESlide);
  1857. smalltalk.addMethod(
  1858. unescape('_backgroundColor'),
  1859. smalltalk.method({
  1860. selector: unescape('backgroundColor'),
  1861. category: 'accessing',
  1862. fn: function (){
  1863. var self=this;
  1864. return "black";
  1865. return self;},
  1866. args: [],
  1867. source: unescape('backgroundColor%0A%09%5E%27black%27'),
  1868. messageSends: [],
  1869. referencedClasses: []
  1870. }),
  1871. smalltalk.IDESlide);
  1872. smalltalk.addMethod(
  1873. unescape('_cssClass'),
  1874. smalltalk.method({
  1875. selector: unescape('cssClass'),
  1876. category: 'accessing',
  1877. fn: function (){
  1878. var self=this;
  1879. return "slide transparent";
  1880. return self;},
  1881. args: [],
  1882. source: unescape('cssClass%0A%09%5E%27slide%20transparent%27'),
  1883. messageSends: [],
  1884. referencedClasses: []
  1885. }),
  1886. smalltalk.IDESlide);
  1887. smalltalk.addMethod(
  1888. unescape('_renderSlideOn_'),
  1889. smalltalk.method({
  1890. selector: unescape('renderSlideOn%3A'),
  1891. category: 'rendering',
  1892. fn: function (html){
  1893. var self=this;
  1894. return self;},
  1895. args: ["html"],
  1896. source: unescape('renderSlideOn%3A%20html%0A%22%09html%20div%20class%3A%20%27section%20center%27%3B%20with%3A%20%5B%0A%09%09html%20h1%20%0A%09%09%09with%3A%20%27The%20wonderful%20Jtalk%20%27%3B%0A%09%09%09with%3A%20%5B%0A%09%09%09%09html%20a%20%0A%09%09%09%09%09with%3A%20%27development%20tools%27%3B%0A%09%09%09%09%09onClick%3A%20%5BTabManager%20current%20open%5D%5D%3B%0A%09%09%09with%3A%20%27.%27%5D%0A%22'),
  1897. messageSends: [],
  1898. referencedClasses: []
  1899. }),
  1900. smalltalk.IDESlide);
  1901. smalltalk.addClass('ContributionsSlide', smalltalk.Slide, [], 'Presentation');
  1902. smalltalk.addMethod(
  1903. unescape('_id'),
  1904. smalltalk.method({
  1905. selector: unescape('id'),
  1906. category: 'accessing',
  1907. fn: function (){
  1908. var self=this;
  1909. return "links";
  1910. return self;},
  1911. args: [],
  1912. source: unescape('id%0A%09%5E%27links%27'),
  1913. messageSends: [],
  1914. referencedClasses: []
  1915. }),
  1916. smalltalk.ContributionsSlide);
  1917. smalltalk.addMethod(
  1918. unescape('_renderSlideOn_'),
  1919. smalltalk.method({
  1920. selector: unescape('renderSlideOn%3A'),
  1921. category: 'rendering',
  1922. fn: function (html){
  1923. var self=this;
  1924. (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", []));
  1925. return self;},
  1926. args: ["html"],
  1927. source: unescape('renderSlideOn%3A%20html%0A%09html%20div%20class%3A%20%27section%27%3B%20with%3A%20%5B%0A%09%09html%20p%20with%3A%20%5B%0A%09%09%09html%20a%20href%3A%20%27http%3A//jtalk-project.org%27%3B%20with%3A%20%27jtalk-project.org%27%5D.%0A%09%09html%20p%20with%3A%20%5B%0A%09%09%09html%20a%20href%3A%20%27https%3A//github.com/NicolasPetton/jtalk%27%3B%20with%3A%20%27github.com/NicolasPetton/jtalk%27%5D.%0A%09%09html%20p%20with%3A%20%5B%0A%09%09%09html%20a%20href%3A%20%27http%3A//http%3A//groups.google.com/group/jtalk-project%27%3B%20with%3A%20%27groups.google.com/group/jtalk-project%27%5D%5D'),
  1928. messageSends: ["class:", "with:", "p", "href:", "a", "div"],
  1929. referencedClasses: []
  1930. }),
  1931. smalltalk.ContributionsSlide);
  1932. smalltalk.addClass('JtalkAndCLI', smalltalk.Slide, [], 'Presentation');
  1933. smalltalk.addMethod(
  1934. unescape('_backgroundColor'),
  1935. smalltalk.method({
  1936. selector: unescape('backgroundColor'),
  1937. category: 'not yet classified',
  1938. fn: function (){
  1939. var self=this;
  1940. return unescape("%230A1");
  1941. return self;},
  1942. args: [],
  1943. source: unescape('backgroundColor%0A%09%5E%27%230A1%27'),
  1944. messageSends: [],
  1945. referencedClasses: []
  1946. }),
  1947. smalltalk.JtalkAndCLI);
  1948. smalltalk.addMethod(
  1949. unescape('_id'),
  1950. smalltalk.method({
  1951. selector: unescape('id'),
  1952. category: 'not yet classified',
  1953. fn: function (){
  1954. var self=this;
  1955. return "JtalkAndCLI";
  1956. return self;},
  1957. args: [],
  1958. source: unescape('id%0A%09%5E%27JtalkAndCLI%27'),
  1959. messageSends: [],
  1960. referencedClasses: []
  1961. }),
  1962. smalltalk.JtalkAndCLI);
  1963. smalltalk.addMethod(
  1964. unescape('_renderSlideOn_'),
  1965. smalltalk.method({
  1966. selector: unescape('renderSlideOn%3A'),
  1967. category: 'not yet classified',
  1968. fn: function (html){
  1969. var self=this;
  1970. 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", []));})]);
  1971. smalltalk.send(smalltalk.send(html, "_h2", []), "_with_", [unescape("jtalkc%20-%20a%20fairly%20elaborate%20bash%20script%20that%3A")]);
  1972. 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"]);})]);
  1973. return self;},
  1974. args: ["html"],
  1975. source: unescape('renderSlideOn%3A%20html%0A%09html%20h1%20with%3A%20%5B%0A%09%09html%20with%3A%20%27Jtalk%20and%20%27.%0A%09%09html%20span%20class%3A%20%27blue%27%3B%20with%3A%20%27the%20command%20line%27%5D.%0A%0A%09html%20h2%20with%3A%20%27jtalkc%20-%20a%20fairly%20elaborate%20bash%20script%20that%3A%27.%0A%0A%09html%20ul%20with%3A%20%5B%0A%09%09html%20li%20with%3A%20%27Uses%20Node.js%20to%20run%20the%20Jtalk%20Compiler%27.%0A%09%09html%20li%20with%3A%20%27Compiles%20.st%20files%20to%20.js%27.%0A%09%09html%20li%20with%3A%20%27Links%20.js%20files%20into%20a%20single%20one%27.%0A%09%09html%20li%20with%3A%20%27Adds%20class%20initilization%20and/or%20call%20to%20main%27.%0A%09%09html%20li%20with%3A%20%27Optionally%20runs%20Google%20Closure%20compiler%27%5D'),
  1976. messageSends: ["with:", "h1", "class:", "span", "h2", "ul", "li"],
  1977. referencedClasses: []
  1978. }),
  1979. smalltalk.JtalkAndCLI);
  1980. smalltalk.addClass('JtalkAndNode', smalltalk.Slide, [], 'Presentation');
  1981. smalltalk.addMethod(
  1982. unescape('_backgroundColor'),
  1983. smalltalk.method({
  1984. selector: unescape('backgroundColor'),
  1985. category: 'not yet classified',
  1986. fn: function (){
  1987. var self=this;
  1988. return unescape("%230A1");
  1989. return self;},
  1990. args: [],
  1991. source: unescape('backgroundColor%0A%09%5E%27%230A1%27'),
  1992. messageSends: [],
  1993. referencedClasses: []
  1994. }),
  1995. smalltalk.JtalkAndNode);
  1996. smalltalk.addMethod(
  1997. unescape('_id'),
  1998. smalltalk.method({
  1999. selector: unescape('id'),
  2000. category: 'not yet classified',
  2001. fn: function (){
  2002. var self=this;
  2003. return "JtalkAndNode";
  2004. return self;},
  2005. args: [],
  2006. source: unescape('id%0A%09%5E%27JtalkAndNode%27'),
  2007. messageSends: [],
  2008. referencedClasses: []
  2009. }),
  2010. smalltalk.JtalkAndNode);
  2011. smalltalk.addMethod(
  2012. unescape('_renderSlideOn_'),
  2013. smalltalk.method({
  2014. selector: unescape('renderSlideOn%3A'),
  2015. category: 'not yet classified',
  2016. fn: function (html){
  2017. var self=this;
  2018. 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", []));})]);
  2019. smalltalk.send(smalltalk.send(html, "_h2", []), "_with_", ["Hello.st:"]);
  2020. 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", []));})]);
  2021. return self;},
  2022. args: ["html"],
  2023. source: unescape('renderSlideOn%3A%20html%0A%09html%20h1%20with%3A%20%5B%0A%09%09html%20with%3A%20%27Jtalk%20and%20%27.%0A%09%09html%20span%20class%3A%20%27blue%27%3B%20with%3A%20%27Node.js%27%5D.%0A%0A%09html%20h2%20with%3A%20%27Hello.st%3A%27.%0A%09html%20pre%20with%3A%20%5B%0A%09%09html%20div%20class%3A%20%27code2%27%3B%20with%3A%20%20%27Object%20subclass%3A%20%23Hello%0A%20%20%20%20%20%20%20%20instanceVariableNames%3A%20%27%27%27%27%0A%20%20%20%20%20%20%20%20category%3A%20%27%27Hello%27%27%21%0A%0A%21Hello%20class%20methodsFor%3A%20%27%27main%27%27%21%0Amain%0A%09console%20log%3A%20%27%27Hello%20world%20from%20JTalk%20in%20Node.js%27%27%0A%21%20%21%27%5D'),
  2024. messageSends: ["with:", "h1", "class:", "span", "h2", "pre", "div"],
  2025. referencedClasses: []
  2026. }),
  2027. smalltalk.JtalkAndNode);
  2028. smalltalk.addClass('JtalkAndNode2', smalltalk.Slide, [], 'Presentation');
  2029. smalltalk.addMethod(
  2030. unescape('_backgroundColor'),
  2031. smalltalk.method({
  2032. selector: unescape('backgroundColor'),
  2033. category: 'not yet classified',
  2034. fn: function (){
  2035. var self=this;
  2036. return unescape("%230A1");
  2037. return self;},
  2038. args: [],
  2039. source: unescape('backgroundColor%0A%09%5E%27%230A1%27'),
  2040. messageSends: [],
  2041. referencedClasses: []
  2042. }),
  2043. smalltalk.JtalkAndNode2);
  2044. smalltalk.addMethod(
  2045. unescape('_id'),
  2046. smalltalk.method({
  2047. selector: unescape('id'),
  2048. category: 'not yet classified',
  2049. fn: function (){
  2050. var self=this;
  2051. return "JtalkAndNode2";
  2052. return self;},
  2053. args: [],
  2054. source: unescape('id%0A%09%5E%27JtalkAndNode2%27'),
  2055. messageSends: [],
  2056. referencedClasses: []
  2057. }),
  2058. smalltalk.JtalkAndNode2);
  2059. smalltalk.addMethod(
  2060. unescape('_renderSlideOn_'),
  2061. smalltalk.method({
  2062. selector: unescape('renderSlideOn%3A'),
  2063. category: 'not yet classified',
  2064. fn: function (html){
  2065. var self=this;
  2066. 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", []));})]);
  2067. smalltalk.send(smalltalk.send(html, "_h2", []), "_with_", ["Makefile:"]);
  2068. 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", []));})]);
  2069. smalltalk.send(smalltalk.send(html, "_h2", []), "_with_", ["hello:"]);
  2070. 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", []));})]);
  2071. return self;},
  2072. args: ["html"],
  2073. source: unescape('renderSlideOn%3A%20html%0A%09html%20h1%20with%3A%20%5B%0A%09%09html%20with%3A%20%27Jtalk%20and%20%27.%0A%09%09html%20span%20class%3A%20%27blue%27%3B%20with%3A%20%27Node.js%27%5D.%0A%0A%09html%20h2%20with%3A%20%27Makefile%3A%27.%0A%09html%20pre%20with%3A%20%5B%0A%09%09html%20div%20class%3A%20%27code2%27%3B%20with%3A%20%20%27Program.js%3A%20Hello.st%0A%09../../bin/jtalkc%20-N%20-m%20Hello%20Hello.st%20Program%0A%0Arun%3A%20Program.js%0A%09./hello%0A%0Aclean%3A%0A%09rm%20-f%20Program.js%20Hello.js%0A%27%5D.%0Ahtml%20h2%20with%3A%20%27hello%3A%27.%0A%09html%20pre%20with%3A%20%5B%0A%09%09html%20div%20class%3A%20%27code2%27%3B%20with%3A%20%20%27node%20Program.js%20%24@%27%5D'),
  2074. messageSends: ["with:", "h1", "class:", "span", "h2", "pre", "div"],
  2075. referencedClasses: []
  2076. }),
  2077. smalltalk.JtalkAndNode2);
  2078. smalltalk.addClass('JtalkAndNode3', smalltalk.Slide, [], 'Presentation');
  2079. smalltalk.addMethod(
  2080. unescape('_backgroundColor'),
  2081. smalltalk.method({
  2082. selector: unescape('backgroundColor'),
  2083. category: 'not yet classified',
  2084. fn: function (){
  2085. var self=this;
  2086. return unescape("%230A1");
  2087. return self;},
  2088. args: [],
  2089. source: unescape('backgroundColor%0A%09%5E%27%230A1%27'),
  2090. messageSends: [],
  2091. referencedClasses: []
  2092. }),
  2093. smalltalk.JtalkAndNode3);
  2094. smalltalk.addMethod(
  2095. unescape('_id'),
  2096. smalltalk.method({
  2097. selector: unescape('id'),
  2098. category: 'not yet classified',
  2099. fn: function (){
  2100. var self=this;
  2101. return "JtalkAndNode3";
  2102. return self;},
  2103. args: [],
  2104. source: unescape('id%0A%09%5E%27JtalkAndNode3%27'),
  2105. messageSends: [],
  2106. referencedClasses: []
  2107. }),
  2108. smalltalk.JtalkAndNode3);
  2109. smalltalk.addMethod(
  2110. unescape('_renderSlideOn_'),
  2111. smalltalk.method({
  2112. selector: unescape('renderSlideOn%3A'),
  2113. category: 'not yet classified',
  2114. fn: function (html){
  2115. var self=this;
  2116. 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", []));})]);
  2117. smalltalk.send(smalltalk.send(html, "_h2", []), "_with_", [unescape("make%20clean%20%26%26%20make%20run%3A")]);
  2118. 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", []));})]);
  2119. return self;},
  2120. args: ["html"],
  2121. source: unescape('renderSlideOn%3A%20html%0A%09html%20h1%20with%3A%20%5B%0A%09%09html%20with%3A%20%27Jtalk%20and%20%27.%0A%09%09html%20span%20class%3A%20%27blue%27%3B%20with%3A%20%27Node.js%27%5D.%0A%0A%09html%20h2%20with%3A%20%27make%20clean%20%26%26%20make%20run%3A%27.%0A%0A%09html%20pre%20with%3A%20%5B%0A%09%09html%20div%20class%3A%20%27code2%27%3B%20with%3A%20%20%27rm%20-f%20Program.js%20Hello.js%0A../../bin/jtalkc%20-N%20-m%20Hello%20Hello.st%20Program%0ALoading%20libraries%20%20/home/gokr/jtalk/js/boot.js%20/home/gokr/jtalk/js/Kernel.js%0A/home/gokr/jtalk/js/Parser.js%20/home/gokr/jtalk/js/Compiler.js%0A/home/gokr/jtalk/js/init.js%20/home/gokr/jtalk/nodejs/nodecompile.js%0Aand%20compiling%20...%0ACompiling%20in%20debugMode%3A%20false%0AReading%20file%20Hello.st%0AExporting%20category%20Hello%20as%20Hello.js%0AAdding%20libraries%20%20/home/gokr/jtalk/js/boot.js%20/home/gokr/jtalk/js/Kernel.js%20%20...%0AAdding%20Jtalk%20code%20Hello.js%20...%0AAdding%20initializer%20/home/gokr/jtalk/js/init.js%20...%0AAdding%20call%20to%20Hello%20class%20%3E%3E%20main%20...%0AWriting%20Program.js%20...%0ADone.%0A./hello%27.%0Ahtml%20span%20class%3A%20%27blue%27%3B%20with%3A%27Hello%20world%20from%20JTalk%20in%20Node.js%27%5D'),
  2122. messageSends: ["with:", "h1", "class:", "span", "h2", "pre", "div"],
  2123. referencedClasses: []
  2124. }),
  2125. smalltalk.JtalkAndNode3);
  2126. smalltalk.addClass('JtalkAndWebOS', smalltalk.Slide, [], 'Presentation');
  2127. smalltalk.addMethod(
  2128. unescape('_backgroundColor'),
  2129. smalltalk.method({
  2130. selector: unescape('backgroundColor'),
  2131. category: 'not yet classified',
  2132. fn: function (){
  2133. var self=this;
  2134. return unescape("%230A1");
  2135. return self;},
  2136. args: [],
  2137. source: unescape('backgroundColor%0A%09%5E%27%230A1%27'),
  2138. messageSends: [],
  2139. referencedClasses: []
  2140. }),
  2141. smalltalk.JtalkAndWebOS);
  2142. smalltalk.addMethod(
  2143. unescape('_id'),
  2144. smalltalk.method({
  2145. selector: unescape('id'),
  2146. category: 'not yet classified',
  2147. fn: function (){
  2148. var self=this;
  2149. return "JtalkAndWebOS";
  2150. return self;},
  2151. args: [],
  2152. source: unescape('id%0A%09%5E%27JtalkAndWebOS%27'),
  2153. messageSends: [],
  2154. referencedClasses: []
  2155. }),
  2156. smalltalk.JtalkAndWebOS);
  2157. smalltalk.addMethod(
  2158. unescape('_renderSlideOn_'),
  2159. smalltalk.method({
  2160. selector: unescape('renderSlideOn%3A'),
  2161. category: 'not yet classified',
  2162. fn: function (html){
  2163. var self=this;
  2164. 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", []));})]);
  2165. smalltalk.send(smalltalk.send(html, "_h2", []), "_with_", ["A really cool mobile OS based on Linux:"]);
  2166. 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"]);})]);
  2167. return self;},
  2168. args: ["html"],
  2169. source: unescape('renderSlideOn%3A%20html%0A%09html%20h1%20with%3A%20%5B%0A%09%09html%20with%3A%20%27Jtalk%20and%20%27.%0A%09%09html%20span%20class%3A%20%27blue%27%3B%20with%3A%20%27webOS%27%5D.%0A%0A%09html%20h2%20with%3A%20%27A%20really%20cool%20mobile%20OS%20based%20on%20Linux%3A%27.%0A%0A%09html%20ul%20with%3A%20%5B%0A%09%09html%20li%20with%3A%20%27The%20primary%20language%20in%20webOS%20is%20Javascript%27.%0A%09%09html%20li%20with%3A%20%27The%20new%20UI%20framework%20for%20webOS%203.0%20is%20called%20Enyo%27.%0A%09%09html%20li%20with%3A%20%27Regular%20apps%20run%20in%20V8%20+%20Webkit%27.%0A%09%09html%20li%20with%3A%20%27Background%20services%20run%20in%20Node.js%27%5D'),
  2170. messageSends: ["with:", "h1", "class:", "span", "h2", "ul", "li"],
  2171. referencedClasses: []
  2172. }),
  2173. smalltalk.JtalkAndWebOS);
  2174. smalltalk.addClass('JtalkAndEnyo', smalltalk.Slide, [], 'Presentation');
  2175. smalltalk.addMethod(
  2176. unescape('_id'),
  2177. smalltalk.method({
  2178. selector: unescape('id'),
  2179. category: 'not yet classified',
  2180. fn: function (){
  2181. var self=this;
  2182. return "JtalkAndEnyo";
  2183. return self;},
  2184. args: [],
  2185. source: unescape('id%0A%09%5E%27JtalkAndEnyo%27'),
  2186. messageSends: [],
  2187. referencedClasses: []
  2188. }),
  2189. smalltalk.JtalkAndEnyo);
  2190. smalltalk.addMethod(
  2191. unescape('_backgroundColor'),
  2192. smalltalk.method({
  2193. selector: unescape('backgroundColor'),
  2194. category: 'not yet classified',
  2195. fn: function (){
  2196. var self=this;
  2197. return unescape("%230A1");
  2198. return self;},
  2199. args: [],
  2200. source: unescape('backgroundColor%0A%09%5E%27%230A1%27'),
  2201. messageSends: [],
  2202. referencedClasses: []
  2203. }),
  2204. smalltalk.JtalkAndEnyo);
  2205. smalltalk.addMethod(
  2206. unescape('_renderSlideOn_'),
  2207. smalltalk.method({
  2208. selector: unescape('renderSlideOn%3A'),
  2209. category: 'not yet classified',
  2210. fn: function (html){
  2211. var self=this;
  2212. 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", []));})]);
  2213. return self;},
  2214. args: ["html"],
  2215. source: unescape('renderSlideOn%3A%20html%0A%09html%20h1%20with%3A%20%5B%0A%09%09html%20with%3A%20%27Jtalk%20and%20%27.%0A%09%09html%20span%20class%3A%20%27blue%27%3B%20with%3A%20%27Enyo%27%5D.'),
  2216. messageSends: ["with:", "h1", "class:", "span"],
  2217. referencedClasses: []
  2218. }),
  2219. smalltalk.JtalkAndEnyo);
  2220. smalltalk.addClass('FOSDEM2012Presentation', smalltalk.Presentation, [], 'Presentation');
  2221. smalltalk.addMethod(
  2222. unescape('_description'),
  2223. smalltalk.method({
  2224. selector: unescape('description'),
  2225. category: 'accessing',
  2226. fn: function (){
  2227. var self=this;
  2228. return unescape("FOSDEM%202012%2C%20Brussels");
  2229. return self;},
  2230. args: [],
  2231. source: unescape('description%0A%09%5E%27FOSDEM%202012%2C%20Brussels%27'),
  2232. messageSends: [],
  2233. referencedClasses: []
  2234. }),
  2235. smalltalk.FOSDEM2012Presentation);
  2236. smalltalk.addMethod(
  2237. unescape('_author'),
  2238. smalltalk.method({
  2239. selector: unescape('author'),
  2240. category: 'accessing',
  2241. fn: function (){
  2242. var self=this;
  2243. return unescape("Laurent%20Laffont%2C%20Johnny%20Thornton");
  2244. return self;},
  2245. args: [],
  2246. source: unescape('author%0A%09%5E%27Laurent%20Laffont%2C%20Johnny%20Thornton%27'),
  2247. messageSends: [],
  2248. referencedClasses: []
  2249. }),
  2250. smalltalk.FOSDEM2012Presentation);
  2251. smalltalk.addMethod(
  2252. unescape('_email'),
  2253. smalltalk.method({
  2254. selector: unescape('email'),
  2255. category: 'accessing',
  2256. fn: function (){
  2257. var self=this;
  2258. return unescape("laurent.laffont@gmail.com%2C%20%20johnnyt@xan.do");
  2259. return self;},
  2260. args: [],
  2261. source: unescape('email%0A%09%5E%27laurent.laffont@gmail.com%2C%20%20johnnyt@xan.do%27'),
  2262. messageSends: [],
  2263. referencedClasses: []
  2264. }),
  2265. smalltalk.FOSDEM2012Presentation);
  2266. smalltalk.addMethod(
  2267. unescape('_url'),
  2268. smalltalk.method({
  2269. selector: unescape('url'),
  2270. category: 'accessing',
  2271. fn: function (){
  2272. var self=this;
  2273. return unescape("http%3A//amber-lang.net");
  2274. return self;},
  2275. args: [],
  2276. source: unescape('url%0A%09%5E%27http%3A//amber-lang.net%27'),
  2277. messageSends: [],
  2278. referencedClasses: []
  2279. }),
  2280. smalltalk.FOSDEM2012Presentation);
  2281. smalltalk.addMethod(
  2282. unescape('_style'),
  2283. smalltalk.method({
  2284. selector: unescape('style'),
  2285. category: 'accessing',
  2286. fn: function (){
  2287. var self=this;
  2288. 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%20700px%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%0A.slide%23FOSDEMContributionsSlide%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%23FOSDEMContributionsSlide%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.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%0A.tweet%20%7B%0A%09background-color%3A%20%23aaa%3B%0A%09color%3A%20black%3B%0A%09padding%3A%2010px%3B%0A%09border-radius%3A%2010px%3B%0A%09border%3A%205px%20solid%20%23eee%3B%0A%09margin%3A%2010px%3B%0A%7D%0A%0A.tweet%20img%20%7B%0A%09vertical-align%3A%20top%3B%0A%09margin-right%3A%2010px%3B%0A%7D%0A%0A.tweet%20span%3Afirst-child%20%7B%0A%09float%3A%20right%3B%0A%7D%0A");
  2289. return self;},
  2290. args: [],
  2291. source: unescape('style%0A%09%5E%27%0Abody%20%7B%0A%20%20%20%20font-family%3A%20Helvetica%2CArial%2Csans%3B%0A%7D%0A%0A%23slides%20%7B%0A%20%20%20%20width%3A%20100%25%3B%0A%20%20%20%20height%3A%20100%25%3B%0A%20%20%20%20overflow%3A%20hidden%3B%0A%20%20%20%20position%3A%20absolute%3B%0A%20%20%20%20top%3A%200%3B%0A%20%20%20%20bottom%3A%200%3B%0A%20%20%20%20left%3A%200%3B%0A%20%20%20%20right%3A%200%3B%0A%20%20%20%20background%3A%20%23555%3B%0A%7D%0A%0A.slide%20%7B%0A%20%20%20%20background%3A%20%23fff%3B%0A%20%20%20%20color%3A%20%23444%3B%0A%20%20%20%20text-align%3A%20left%3B%0A%20%20%20%20font-size%3A%2020px%3B%0A%20%20%20%20line-height%3A%201.8em%3B%0A%20%20%20%20height%3A%20500px%3B%0A%20%20%20%20width%3A%20700px%3B%0A%20%20%20%20padding%3A%2060px%3B%0A%20%20%20%20position%3A%20absolute%3B%0A%20%20%20%20left%3A%2050%25%3B%0A%20%20%20%20top%3A%2050%25%3B%0A%20%20%20%20margin-left%3A%20-420px%3B%0A%20%20%20%20margin-top%3A%20-320px%3B%0A%20%20%20%20box-shadow%3A%200%200%2020px%20%23111%3B%0A%20%20%20%20-moz-box-shadow%3A%200%200%2020px%20%23111%3B%0A%20%20%20%20-webkit-box-shadow%3A%200%200%2020px%20%23111%3B%0A%7D%0A%0A.slide.transparent%20%7B%0A%20%20%20%20background%3A%20transparent%3B%0A%20%20%20%20box-shadow%3A%200%200%200%20none%3B%0A%20%20%20%20-moz-box-shadow%3A%200%200%200%20transparent%3B%0A%20%20%20%20-webkit-box-shadow%3A%200%200%200%20transparent%3B%0A%20%20%20%20color%3A%20%23fff%20%21important%3B%0A%7D%0A%0A.slide.black%20%7B%0A%20%20%20%20background%3A%20black%3B%0A%20%20%20%20background-image%3A%20-webkit-gradient%28%0A%09linear%2C%0A%09left%20bottom%2C%0A%09left%20top%2C%0A%09color-stop%280.38%2C%20rgb%2879%2C79%2C79%29%29%2C%0A%09color-stop%280.69%2C%20rgb%2833%2C33%2C33%29%29%2C%0A%09color-stop%280.86%2C%20rgb%284%2C4%2C4%29%29%0A%20%20%20%20%29%3B%0A%20%20%20%20background-image%3A%20-moz-linear-gradient%28%0A%09center%20bottom%2C%0A%09rgb%2879%2C79%2C79%29%2038%25%2C%0A%09rgb%2833%2C33%2C33%29%2069%25%2C%0A%09rgb%284%2C4%2C4%29%2086%25%0A%20%20%20%20%29%3B%0A%20%20%20%20color%3A%20%23fff%20%21important%3B%0A%7D%0A%0A.slide.black%20h1%2C%20.slide.black%20h2%2C%20.slide.black%20h3%2C%0A.slide.transparent%20h1%2C%20.slide.transparent%20h2%2C%20.slide.transparent%20h3%20%7B%0A%20%20%20%20color%3A%20%23fff%3B%0A%20%20%20%20text-shadow%3A%200%201px%204px%20%23aaa%3B%0A%7D%0A%0A.slide.black%20a%2C%20.slide.transparent%20a%20%7B%0A%20%20%20%20color%3A%20%23ccc%3B%0A%7D%0A%0A.slide.white%20%7B%0A%20%20%20%20color%3A%20%23333%20%21important%3B%0A%7D%0A%0A.slide.white%20h1%2C%20.slide.white%20h2%2C%20.slide.white%20h3%20%7B%0A%20%20%20%20color%3A%20%23333%3B%0A%7D%0A%0A.slide.white%20a%20%7B%0A%20%20%20%20color%3A%20%23333%3B%0A%7D%0A%0A%0A.slide%20h1%2C%20.slide%20h2%2C%20.slide%20h3%20%7B%0A%20%20%20%20color%3A%20%23333%3B%0A%20%20%20%20/*%20text-align%3A%20center%3B%20*/%0A%7D%0A%0A.slide%20h1%20%7B%0A%20%20%20%20font-family%3A%20%22Droid%20Sans%22%3B%0A%20%20%20%20font-size%3A%2036px%3B%0A%20%20%20%20text-shadow%3A%200%201px%204px%20%23aaa%3B%0A%20%20%20%20margin-top%3A%2030px%3B%0A%20%20%20%20margin-bottom%3A%2050px%3B%0A%7D%0A%0A.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%20700px%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%0A.slide%23FOSDEMContributionsSlide%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%23FOSDEMContributionsSlide%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.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%0A.tweet%20%7B%0A%09background-color%3A%20%23aaa%3B%0A%09color%3A%20black%3B%0A%09padding%3A%2010px%3B%0A%09border-radius%3A%2010px%3B%0A%09border%3A%205px%20solid%20%23eee%3B%0A%09margin%3A%2010px%3B%0A%7D%0A%0A.tweet%20img%20%7B%0A%09vertical-align%3A%20top%3B%0A%09margin-right%3A%2010px%3B%0A%7D%0A%0A.tweet%20span%3Afirst-child%20%7B%0A%09float%3A%20right%3B%0A%7D%0A%27'),
  2292. messageSends: [],
  2293. referencedClasses: []
  2294. }),
  2295. smalltalk.FOSDEM2012Presentation);
  2296. smalltalk.addMethod(
  2297. unescape('_slideClasses'),
  2298. smalltalk.method({
  2299. selector: unescape('slideClasses'),
  2300. category: 'accessing',
  2301. fn: function (){
  2302. var self=this;
  2303. return [(smalltalk.FOSDEMIntroSlide || FOSDEMIntroSlide),(smalltalk.CountersSlide || CountersSlide),(smalltalk.IDESlide || IDESlide),(smalltalk.JtalkAndJavascriptSlide || JtalkAndJavascriptSlide),(smalltalk.FOSDEMJSPlayGroundSlide || FOSDEMJSPlayGroundSlide),(smalltalk.FOSDEMJSToSmalltalk || FOSDEMJSToSmalltalk),(smalltalk.FOSDEMBookletSlide || FOSDEMBookletSlide),(smalltalk.FOSDEMTwitter || FOSDEMTwitter),(smalltalk.FOSDEMCanvasSlide || FOSDEMCanvasSlide),(smalltalk.FOSDEMAmberBackend || FOSDEMAmberBackend),(smalltalk.FOSDEMREPLSlide || FOSDEMREPLSlide),(smalltalk.FOSDEMCLISlide || FOSDEMCLISlide),(smalltalk.FOSDEMContributionsSlide || FOSDEMContributionsSlide)];
  2304. return self;},
  2305. args: [],
  2306. source: unescape('slideClasses%0A%5E%20%7B%0A%09FOSDEMIntroSlide.%0A%09CountersSlide.%0A%09IDESlide.%0A%09JtalkAndJavascriptSlide.%0A%09FOSDEMJSPlayGroundSlide.%0A%09FOSDEMJSToSmalltalk.%0A%09FOSDEMBookletSlide.%0A%09FOSDEMTwitter.%0A%09FOSDEMCanvasSlide.%0A%09FOSDEMAmberBackend.%0A%09FOSDEMREPLSlide.%0A%09FOSDEMCLISlide.%0A%09FOSDEMContributionsSlide%0A%7D'),
  2307. messageSends: [],
  2308. referencedClasses: ["FOSDEMIntroSlide", "CountersSlide", "IDESlide", "JtalkAndJavascriptSlide", "FOSDEMJSPlayGroundSlide", "FOSDEMJSToSmalltalk", "FOSDEMBookletSlide", "FOSDEMTwitter", "FOSDEMCanvasSlide", "FOSDEMAmberBackend", "FOSDEMREPLSlide", "FOSDEMCLISlide", "FOSDEMContributionsSlide"]
  2309. }),
  2310. smalltalk.FOSDEM2012Presentation);
  2311. smalltalk.addMethod(
  2312. unescape('_isConcrete'),
  2313. smalltalk.method({
  2314. selector: unescape('isConcrete'),
  2315. category: 'testing',
  2316. fn: function (){
  2317. var self=this;
  2318. return true;
  2319. return self;},
  2320. args: [],
  2321. source: unescape('isConcrete%0A%09%5Etrue'),
  2322. messageSends: [],
  2323. referencedClasses: []
  2324. }),
  2325. smalltalk.FOSDEM2012Presentation.klass);
  2326. smalltalk.addMethod(
  2327. unescape('_title'),
  2328. smalltalk.method({
  2329. selector: unescape('title'),
  2330. category: 'testing',
  2331. fn: function (){
  2332. var self=this;
  2333. return "Amber";
  2334. return self;},
  2335. args: [],
  2336. source: unescape('title%0A%09%5E%27Amber%27'),
  2337. messageSends: [],
  2338. referencedClasses: []
  2339. }),
  2340. smalltalk.FOSDEM2012Presentation.klass);
  2341. smalltalk.addClass('FOSDEMTwitter', smalltalk.FOSDEMSlide, ['twitterDiv'], 'Presentation');
  2342. smalltalk.addMethod(
  2343. unescape('_renderSlideOn_'),
  2344. smalltalk.method({
  2345. selector: unescape('renderSlideOn%3A'),
  2346. category: 'rendering',
  2347. fn: function (html){
  2348. var self=this;
  2349. (function($rec){smalltalk.send($rec, "_onClick_", [(function(){return smalltalk.send(self, "_loadTweets", []);})]);return smalltalk.send($rec, "_with_", [unescape("What%20about%20@AmberSmalltalk%20on%20Twitter%20%3F")]);})(smalltalk.send(html, "_button", []));
  2350. (self['@twitterDiv']=smalltalk.send(html, "_div", []));
  2351. return self;},
  2352. args: ["html"],
  2353. source: unescape('renderSlideOn%3A%20html%0A%09html%20button%0A%09%09onClick%3A%20%5Bself%20loadTweets%5D%3B%0A%09%09with%3A%20%27What%20about%20@AmberSmalltalk%20on%20Twitter%20%3F%27.%0A%09twitterDiv%20%3A%3D%20html%20div.'),
  2354. messageSends: ["onClick:", "loadTweets", "with:", "button", "div"],
  2355. referencedClasses: []
  2356. }),
  2357. smalltalk.FOSDEMTwitter);
  2358. smalltalk.addMethod(
  2359. unescape('_renderTweets_'),
  2360. smalltalk.method({
  2361. selector: unescape('renderTweets%3A'),
  2362. category: 'rendering',
  2363. fn: function (tweets){
  2364. var self=this;
  2365. smalltalk.send(self['@twitterDiv'], "_contents_", [(function(html){return smalltalk.send(tweets, "_do_", [(function(tweet){return smalltalk.send(self, "_renderTweet_on_", [tweet, html]);})]);})]);
  2366. return self;},
  2367. args: ["tweets"],
  2368. source: unescape('renderTweets%3A%20tweets%0A%09twitterDiv%20contents%3A%20%5B%09%3Ahtml%7C%0A%09%09%09%09%09%09tweets%20do%3A%20%5B%09%3Atweet%7C%20%20%0A%09%09%09%09%09%09%09%09%09self%20renderTweet%3A%20tweet%20on%3A%20html%5D%20%5D'),
  2369. messageSends: ["contents:", "do:", "renderTweet:on:"],
  2370. referencedClasses: []
  2371. }),
  2372. smalltalk.FOSDEMTwitter);
  2373. smalltalk.addMethod(
  2374. unescape('_renderTweet_on_'),
  2375. smalltalk.method({
  2376. selector: unescape('renderTweet%3Aon%3A'),
  2377. category: 'rendering',
  2378. fn: function (tweet, html){
  2379. var self=this;
  2380. (function($rec){smalltalk.send($rec, "_class_", ["tweet"]);return smalltalk.send($rec, "_with_", [(function(){return (function($rec){smalltalk.send($rec, "_span_", [smalltalk.send(tweet, "_at_", ["created_at"])]);smalltalk.send($rec, "_img_", [smalltalk.send(tweet, "_at_", ["profile_image_url"])]);smalltalk.send($rec, "_span_", [smalltalk.send(tweet, "_at_", ["from_user"])]);return smalltalk.send($rec, "_div_", [smalltalk.send(tweet, "_at_", ["text"])]);})(html);})]);})(smalltalk.send(html, "_div", []));
  2381. return self;},
  2382. args: ["tweet", "html"],
  2383. source: unescape('renderTweet%3A%20tweet%20on%3A%20html%0A%09html%20div%20%0A%09%09class%3A%20%27tweet%27%3B%0A%09%09with%3A%20%5B%0A%09%09%09html%20%0A%09%09%09%09span%3A%20%28tweet%20at%3A%20%27created_at%27%29%3B%0A%09%09%09%09img%3A%20%28tweet%20at%3A%20%27profile_image_url%27%29%3B%0A%09%09%09%09span%3A%20%28tweet%20at%3A%20%27from_user%27%29%3B%0A%09%09%09%09div%3A%20%28tweet%20at%3A%20%27text%27%29.%20%0A%09%09%5D'),
  2384. messageSends: ["class:", "with:", "span:", "at:", "img:", "div:", "div"],
  2385. referencedClasses: []
  2386. }),
  2387. smalltalk.FOSDEMTwitter);
  2388. smalltalk.addMethod(
  2389. unescape('_cssClass'),
  2390. smalltalk.method({
  2391. selector: unescape('cssClass'),
  2392. category: 'accessing',
  2393. fn: function (){
  2394. var self=this;
  2395. return "slide black";
  2396. return self;},
  2397. args: [],
  2398. source: unescape('cssClass%0A%09%5E%20%27slide%20black%27'),
  2399. messageSends: [],
  2400. referencedClasses: []
  2401. }),
  2402. smalltalk.FOSDEMTwitter);
  2403. smalltalk.addMethod(
  2404. unescape('_loadTweets'),
  2405. smalltalk.method({
  2406. selector: unescape('loadTweets'),
  2407. category: 'callback',
  2408. fn: function (){
  2409. var self=this;
  2410. smalltalk.send((typeof jQuery == 'undefined' ? nil : jQuery), "_ajax_options_", [unescape("http%3A//search.twitter.com/search.json%3Frpp%3D3%26q%3D%2540AmberSmalltalk"), smalltalk.HashedCollection._fromPairs_([smalltalk.send("type", "__minus_gt", ["GET"]),smalltalk.send("success", "__minus_gt", [(function(json){return smalltalk.send(self, "_renderTweets_", [smalltalk.send(json, "_results", [])]);})]),smalltalk.send("dataType", "__minus_gt", ["jsonp"])])]);
  2411. return self;},
  2412. args: [],
  2413. source: unescape('loadTweets%0A%09jQuery%20%0A%09%09ajax%3A%20%27http%3A//search.twitter.com/search.json%3Frpp%3D3%26q%3D%2540AmberSmalltalk%27%0A%09%09options%3A%20%23%7B%0A%09%09%09%09%27type%27%20-%3E%20%27GET%27.%0A%09%09%09%09%27success%27%20-%3E%20%5B%20%3Ajson%20%7C%20self%20renderTweets%3A%20%28json%20results%29%5D.%0A%09%09%09%09%27dataType%27%20-%3E%20%27jsonp%27%0A%09%09%09%7D.'),
  2414. messageSends: ["ajax:options:", unescape("-%3E"), "renderTweets:", "results"],
  2415. referencedClasses: []
  2416. }),
  2417. smalltalk.FOSDEMTwitter);
  2418. smalltalk.addClass('FOSDEMCLISlide', smalltalk.FOSDEMSlide, [], 'Presentation');
  2419. smalltalk.addMethod(
  2420. unescape('_renderSlideOn_'),
  2421. smalltalk.method({
  2422. selector: unescape('renderSlideOn%3A'),
  2423. category: 'rendering',
  2424. fn: function (html){
  2425. var self=this;
  2426. smalltalk.send(html, "_h1_", ["CLI"]);
  2427. smalltalk.send(html, "_with_", [unescape("amberc%20compiles%20.st%20files%20into%20node%20programs%20%21")]);
  2428. smalltalk.send(self, "_renderCodeSnippetOn_", [html]);
  2429. return self;},
  2430. args: ["html"],
  2431. source: unescape('renderSlideOn%3A%20html%0A%09html%20h1%3A%20%27CLI%27.%0A%09html%20with%3A%20%20%27amberc%20compiles%20.st%20files%20into%20node%20programs%20%21%27.%0A%09self%20renderCodeSnippetOn%3A%20html.'),
  2432. messageSends: ["h1:", "with:", "renderCodeSnippetOn:"],
  2433. referencedClasses: []
  2434. }),
  2435. smalltalk.FOSDEMCLISlide);
  2436. smalltalk.addMethod(
  2437. unescape('_codeSnippet'),
  2438. smalltalk.method({
  2439. selector: unescape('codeSnippet'),
  2440. category: 'rendering',
  2441. fn: function (){
  2442. var self=this;
  2443. return unescape("cd%20examples/nodejs/hello%0A../../../bin/amberc%20-m%20Hello%20Hello.st%20Program%0Anode%20Program.js%0A%0AHello%20world%20from%20Amber%20in%20Node.js");
  2444. return self;},
  2445. args: [],
  2446. source: unescape('codeSnippet%0A%09%5E%20%0A%27cd%20examples/nodejs/hello%0A../../../bin/amberc%20-m%20Hello%20Hello.st%20Program%0Anode%20Program.js%0A%0AHello%20world%20from%20Amber%20in%20Node.js%27'),
  2447. messageSends: [],
  2448. referencedClasses: []
  2449. }),
  2450. smalltalk.FOSDEMCLISlide);
  2451. smalltalk.addClass('FOSDEMContributionsSlide', smalltalk.FOSDEMSlide, [], 'Presentation');
  2452. smalltalk.addMethod(
  2453. unescape('_renderSlideOn_'),
  2454. smalltalk.method({
  2455. selector: unescape('renderSlideOn%3A'),
  2456. category: 'rendering',
  2457. fn: function (html){
  2458. var self=this;
  2459. (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//amber-lang.net")]);return smalltalk.send($rec, "_with_", [unescape("amber-lang.net")]);})(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/amber")]);return smalltalk.send($rec, "_with_", [unescape("github.com/NicolasPetton/amber")]);})(smalltalk.send(html, "_a", []));})]);return smalltalk.send(smalltalk.send(html, "_p", []), "_with_", [(function(){return (function($rec){smalltalk.send($rec, "_href_", [unescape("http%3A//groups.google.com/group/amber-lang")]);return smalltalk.send($rec, "_with_", [unescape("groups.google.com/group/amber-lang")]);})(smalltalk.send(html, "_a", []));})]);})]);})(smalltalk.send(html, "_div", []));
  2460. return self;},
  2461. args: ["html"],
  2462. source: unescape('renderSlideOn%3A%20html%0A%09html%20div%20class%3A%20%27section%27%3B%20with%3A%20%5B%0A%09%09html%20p%20with%3A%20%5B%0A%09%09%09html%20a%20href%3A%20%27http%3A//amber-lang.net%27%3B%20with%3A%20%27amber-lang.net%27%5D.%0A%09%09html%20p%20with%3A%20%5B%0A%09%09%09html%20a%20href%3A%20%27https%3A//github.com/NicolasPetton/amber%27%3B%20with%3A%20%27github.com/NicolasPetton/amber%27%5D.%0A%09%09html%20p%20with%3A%20%5B%0A%09%09%09html%20a%20href%3A%20%27http%3A//groups.google.com/group/amber-lang%27%3B%20with%3A%20%27groups.google.com/group/amber-lang%27%5D%5D'),
  2463. messageSends: ["class:", "with:", "p", "href:", "a", "div"],
  2464. referencedClasses: []
  2465. }),
  2466. smalltalk.FOSDEMContributionsSlide);