1
0

Presentation.js 156 KB

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