2
0

Presentation.js 172 KB

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