1
0

Presentation.deploy.js 85 KB

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