Presentation.deploy.js 95 KB

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