Presentation.deploy.js 92 KB

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