12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123 |
- smalltalk.addClass('Slide', smalltalk.Widget, ['presentation'], 'Presentation');
- smalltalk.addMethod(
- unescape('_presentation'),
- smalltalk.method({
- selector: unescape('presentation'),
- category: 'accessing',
- fn: function () {
- var self = this;
- return self['@presentation'];
- return self;
- },
- args: [],
- source: unescape('presentation%0A%09%5Epresentation'),
- messageSends: [],
- referencedClasses: []
- }),
- smalltalk.Slide);
- smalltalk.addMethod(
- unescape('_presentation_'),
- smalltalk.method({
- selector: unescape('presentation%3A'),
- category: 'accessing',
- fn: function (aPresentation) {
- var self = this;
- self['@presentation'] = aPresentation;
- return self;
- },
- args: ["aPresentation"],
- source: unescape('presentation%3A%20aPresentation%0A%09presentation%20%3A%3D%20aPresentation'),
- messageSends: [],
- referencedClasses: []
- }),
- smalltalk.Slide);
- smalltalk.addMethod(
- unescape('_id'),
- smalltalk.method({
- selector: unescape('id'),
- category: 'accessing',
- fn: function () {
- var self = this;
- smalltalk.send(self, "_subclassResponsibility", []);
- return self;
- },
- args: [],
- source: unescape('id%0A%09self%20subclassResponsibility'),
- messageSends: ["subclassResponsibility"],
- referencedClasses: []
- }),
- smalltalk.Slide);
- smalltalk.addMethod(
- unescape('_cssClass'),
- smalltalk.method({
- selector: unescape('cssClass'),
- category: 'accessing',
- fn: function () {
- var self = this;
- return "slide";
- return self;
- },
- args: [],
- source: unescape('cssClass%0A%09%5E%27slide%27'),
- messageSends: [],
- referencedClasses: []
- }),
- smalltalk.Slide);
- smalltalk.addMethod(
- unescape('_backgroundColor'),
- smalltalk.method({
- selector: unescape('backgroundColor'),
- category: 'accessing',
- fn: function () {
- var self = this;
- return unescape("%23555");
- return self;
- },
- args: [],
- source: unescape('backgroundColor%0A%09%5E%27%23555%27'),
- messageSends: [],
- referencedClasses: []
- }),
- smalltalk.Slide);
- smalltalk.addMethod(
- unescape('_show'),
- smalltalk.method({
- selector: unescape('show'),
- category: 'actions',
- fn: function () {
- var self = this;
- smalltalk.send(smalltalk.send(typeof document == "undefined" ? nil : document, "_location", []), "_hash_", [smalltalk.send(self, "_id", [])]);
- ($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;
- smalltalk.send(smalltalk.send(typeof window == "undefined" ? nil : window, "_jQuery_", [".slide"]), "_hide_options_duration_", [smalltalk.send(smalltalk.send(self, "_presentation", []), "_slideTransition", []), [], 300]);
- 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]);
- return self;
- },
- args: [],
- source: unescape('show%0A%09document%20location%20hash%3A%20self%20id.%0A%09self%20backgroundColor%20ifNotNil%3A%20%5B%0A%09%09%28window%20jQuery%3A%20%27%23slides%27%29%20css%3A%20%27background%27%20color%3A%20self%20backgroundColor%5D.%0A%09%28window%20jQuery%3A%20%27.slide%27%29%20hide%3A%20self%20presentation%20slideTransition%20options%3A%20%23%28%29%20duration%3A%20300.%0A%09%28window%20jQuery%3A%20%27%23%27%2C%20self%20id%29%20show%3A%20self%20presentation%20slideTransition%20options%3A%20%23%28%29%20duration%3A%20300.'),
- messageSends: ["hash:", "location", "id", "ifNotNil:", "backgroundColor", "css:color:", "jQuery:", "hide:options:duration:", "slideTransition", "presentation", "show:options:duration:", unescape("%2C")],
- referencedClasses: []
- }),
- smalltalk.Slide);
- smalltalk.addMethod(
- unescape('_renderOn_'),
- smalltalk.method({
- selector: unescape('renderOn%3A'),
- category: 'rendering',
- fn: function (html) {
- var self = this;
- (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", [])));
- return self;
- },
- args: ["html"],
- source: unescape('renderOn%3A%20html%0A%09html%20div%20class%3A%20self%20cssClass%3B%20id%3A%20self%20id%3B%20with%3A%20%5B%0A%09%09self%20renderSlideOn%3A%20html.%0A%09%09self%20renderMetaOn%3A%20html%5D'),
- messageSends: ["class:", "cssClass", "id:", "id", "with:", "renderSlideOn:", "renderMetaOn:", "div"],
- referencedClasses: []
- }),
- smalltalk.Slide);
- smalltalk.addMethod(
- unescape('_renderSlideOn_'),
- smalltalk.method({
- selector: unescape('renderSlideOn%3A'),
- category: 'rendering',
- fn: function (html) {
- var self = this;
- return self;
- },
- args: ["html"],
- source: unescape('renderSlideOn%3A%20html'),
- messageSends: [],
- referencedClasses: []
- }),
- smalltalk.Slide);
- smalltalk.addMethod(
- unescape('_renderMetaOn_'),
- smalltalk.method({
- selector: unescape('renderMetaOn%3A'),
- category: 'rendering',
- fn: function (html) {
- var self = this;
- (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", [])));
- return self;
- },
- args: ["html"],
- source: unescape('renderMetaOn%3A%20html%0A%09html%20div%20%0A%09%09id%3A%20%27meta%27%3B%0A%09%09with%3A%20%5B%0A%09%09%09html%20p%20class%3A%20%27title%27%3B%20with%3A%20self%20presentation%20title.%0A%09%09%09html%20p%20class%3A%20%27description%27%3B%20with%3A%20self%20presentation%20description.%0A%09%09%09html%20a%20class%3A%20%27author%27%3B%20with%3A%20self%20presentation%20author%3B%20href%3A%20%27mailto%3A%27%2C%20self%20presentation%20email.%0A%09%09%09html%20a%20class%3A%20%27url%27%3B%20with%3A%20self%20presentation%20url%3B%20href%3A%20self%20presentation%20url%5D'),
- messageSends: ["id:", "with:", "class:", "title", "presentation", "p", "description", "author", "href:", unescape("%2C"), "email", "a", "url", "div"],
- referencedClasses: []
- }),
- smalltalk.Slide);
- smalltalk.addMethod(
- unescape('_title'),
- smalltalk.method({
- selector: unescape('title'),
- category: 'accessing',
- fn: function (){
- var self=this;
- return smalltalk.send(self, "_id", []);
- return self;},
- args: [],
- source: unescape('title%0A%09%5E%20self%20id'),
- messageSends: ["id"],
- referencedClasses: []
- }),
- smalltalk.Slide);
- smalltalk.addMethod(
- unescape('_on_'),
- smalltalk.method({
- selector: unescape('on%3A'),
- category: 'instance creation',
- fn: function (aPresentation) {
- var self = this;
- return function ($rec) {smalltalk.send($rec, "_presentation_", [aPresentation]);return smalltalk.send($rec, "_yourself", []);}(smalltalk.send(self, "_new", []));
- return self;
- },
- args: ["aPresentation"],
- source: unescape('on%3A%20aPresentation%0A%09%5Eself%20new%0A%09%09presentation%3A%20aPresentation%3B%0A%09%09yourself'),
- messageSends: ["presentation:", "yourself", "new"],
- referencedClasses: []
- }),
- smalltalk.Slide.klass);
- smalltalk.addClass('Presentation', smalltalk.Widget, ['currentSlide', 'slides'], 'Presentation');
- smalltalk.addMethod(
- unescape('_title'),
- smalltalk.method({
- selector: unescape('title'),
- category: 'accessing',
- fn: function () {
- var self = this;
- return smalltalk.send(smalltalk.send(self, "_class", []), "_title", []);
- return self;
- },
- args: [],
- source: unescape('title%0A%09%5E%20self%20class%20title.'),
- messageSends: ["title", "class"],
- referencedClasses: []
- }),
- smalltalk.Presentation);
- smalltalk.addMethod(
- unescape('_author'),
- smalltalk.method({
- selector: unescape('author'),
- category: 'accessing',
- fn: function () {
- var self = this;
- return "John Smith";
- return self;
- },
- args: [],
- source: unescape('author%0A%09%5E%27John%20Smith%27'),
- messageSends: [],
- referencedClasses: []
- }),
- smalltalk.Presentation);
- smalltalk.addMethod(
- unescape('_url'),
- smalltalk.method({
- selector: unescape('url'),
- category: 'accessing',
- fn: function () {
- var self = this;
- return unescape("http%3A//jtalk-project.org");
- return self;
- },
- args: [],
- source: unescape('url%0A%09%5E%27http%3A//jtalk-project.org%27'),
- messageSends: [],
- referencedClasses: []
- }),
- smalltalk.Presentation);
- smalltalk.addMethod(
- unescape('_description'),
- smalltalk.method({
- selector: unescape('description'),
- category: 'accessing',
- fn: function () {
- var self = this;
- return "A presentation written in Jtalk";
- return self;
- },
- args: [],
- source: unescape('description%0A%09%5E%27A%20presentation%20written%20in%20Jtalk%27'),
- messageSends: [],
- referencedClasses: []
- }),
- smalltalk.Presentation);
- smalltalk.addMethod(
- unescape('_email'),
- smalltalk.method({
- selector: unescape('email'),
- category: 'accessing',
- fn: function () {
- var self = this;
- return unescape("john@smith.com");
- return self;
- },
- args: [],
- source: unescape('email%0A%09%5E%27john@smith.com%27'),
- messageSends: [],
- referencedClasses: []
- }),
- smalltalk.Presentation);
- smalltalk.addMethod(
- unescape('_slides'),
- smalltalk.method({
- selector: unescape('slides'),
- category: 'accessing',
- fn: function () {
- var self = this;
- ($receiver = self['@slides']) == nil || $receiver == undefined ? function () {return smalltalk.send(self, "_initSlides", []);}() : $receiver;
- return self['@slides'];
- return self;
- },
- args: [],
- source: unescape('slides%0A%09slides%20ifNil%3A%20%5Bself%20initSlides%5D.%0A%09%5Eslides'),
- messageSends: ["ifNil:", "initSlides"],
- referencedClasses: []
- }),
- smalltalk.Presentation);
- smalltalk.addMethod(
- unescape('_slideClasses'),
- smalltalk.method({
- selector: unescape('slideClasses'),
- category: 'accessing',
- fn: function () {
- var self = this;
- return smalltalk.send(self, "_subclassResponsibility", []);
- return self;
- },
- args: [],
- source: unescape('slideClasses%0A%09%5Eself%20subclassResponsibility'),
- messageSends: ["subclassResponsibility"],
- referencedClasses: []
- }),
- smalltalk.Presentation);
- smalltalk.addMethod(
- unescape('_currentSlide'),
- smalltalk.method({
- selector: unescape('currentSlide'),
- category: 'accessing',
- fn: function () {
- var self = this;
- return self['@currentSlide'];
- return self;
- },
- args: [],
- source: unescape('currentSlide%0A%09%5EcurrentSlide'),
- messageSends: [],
- referencedClasses: []
- }),
- smalltalk.Presentation);
- smalltalk.addMethod(
- unescape('_currentSlide_'),
- smalltalk.method({
- selector: unescape('currentSlide%3A'),
- category: 'accessing',
- fn: function (aSlide) {
- var self = this;
- self['@currentSlide'] = aSlide;
- return self;
- },
- args: ["aSlide"],
- source: unescape('currentSlide%3A%20aSlide%0A%09currentSlide%20%3A%3D%20aSlide'),
- messageSends: [],
- referencedClasses: []
- }),
- smalltalk.Presentation);
- smalltalk.addMethod(
- unescape('_slideTransition'),
- smalltalk.method({
- selector: unescape('slideTransition'),
- category: 'accessing',
- fn: function () {
- var self = this;
- return "fade";
- return self;
- },
- args: [],
- source: unescape('slideTransition%0A%09%5E%27fade%27'),
- messageSends: [],
- referencedClasses: []
- }),
- smalltalk.Presentation);
- smalltalk.addMethod(
- unescape('_style'),
- smalltalk.method({
- selector: unescape('style'),
- category: 'accessing',
- fn: function () {
- var self = this;
- return "";
- return self;
- },
- args: [],
- source: unescape('style%0A%09%22Should%20return%20a%20CSS%20style%22%0A%09%5E%20%27%27'),
- messageSends: [],
- referencedClasses: []
- }),
- smalltalk.Presentation);
- smalltalk.addMethod(
- unescape('_nextSlide'),
- smalltalk.method({
- selector: unescape('nextSlide'),
- category: 'actions',
- fn: function () {
- var self = this;
- var next = nil;
- ($receiver = smalltalk.send(self, "_currentSlide", [])) != nil &&
- $receiver != undefined ? function () {next = smalltalk.send(smalltalk.send(self, "_slides", []), "_at_ifAbsent_", [($receiver = smalltalk.send(smalltalk.send(self, "_slides", []), "_indexOf_", [smalltalk.send(self, "_currentSlide", [])])).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;
- return self;
- },
- args: [],
- source: unescape('nextSlide%0A%09%7C%20next%20%7C%0A%09self%20currentSlide%20ifNotNil%3A%20%5B%0A%09%09next%20%3A%3D%20self%20slides%20%0A%09%09%09at%3A%20%28self%20slides%20indexOf%3A%20self%20currentSlide%29%20+%201%0A%09%09%09ifAbsent%3A%20%5Bnil%5D.%0A%09%09next%20ifNotNil%3A%20%5BcurrentSlide%20%3A%3D%20next.%20next%20show%5D%5D'),
- messageSends: ["ifNotNil:", "currentSlide", "at:ifAbsent:", "slides", unescape("+"), "indexOf:", "show"],
- referencedClasses: []
- }),
- smalltalk.Presentation);
- smalltalk.addMethod(
- unescape('_showCurrentSlide'),
- smalltalk.method({
- selector: unescape('showCurrentSlide'),
- category: 'actions',
- fn: function () {
- var self = this;
- ($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;
- return self;
- },
- args: [],
- source: unescape('showCurrentSlide%0A%09self%20currentSlide%20ifNotNil%3A%20%5B%0A%09%09%27.slide%27%20asJQuery%20hide.%0A%09%09%28%27%23%27%2C%20self%20currentSlide%20id%29%20asJQuery%20show.%0A%20%20%20%20%20%20%20%20%20%20%09%27title%27%20asJQuery%20text%3A%20self%20title%2C%20%27%20-%20%27%2C%20self%20currentSlide%20id.%0A%20%20%20%20%20%20%20%20%5D'),
- messageSends: ["ifNotNil:", "currentSlide", "hide", "asJQuery", "show", unescape("%2C"), "id", "text:", "title"],
- referencedClasses: []
- }),
- smalltalk.Presentation);
- smalltalk.addMethod(
- unescape('_previousSlide'),
- smalltalk.method({
- selector: unescape('previousSlide'),
- category: 'actions',
- fn: function () {
- var self = this;
- var next = nil;
- ($receiver = smalltalk.send(self, "_currentSlide", [])) != nil &&
- $receiver != undefined ? function () {next = smalltalk.send(smalltalk.send(self, "_slides", []), "_at_ifAbsent_", [($receiver = smalltalk.send(smalltalk.send(self, "_slides", []), "_indexOf_", [smalltalk.send(self, "_currentSlide", [])])).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;
- return self;
- },
- args: [],
- source: unescape('previousSlide%0A%09%7C%20next%20%7C%0A%09self%20currentSlide%20ifNotNil%3A%20%5B%0A%09%09next%20%3A%3D%20self%20slides%20%0A%09%09%09at%3A%20%28self%20slides%20indexOf%3A%20self%20currentSlide%29%20-%201%0A%09%09%09ifAbsent%3A%20%5Bnil%5D.%0A%09%09next%20ifNotNil%3A%20%5BcurrentSlide%20%3A%3D%20next.%20next%20show%5D%5D'),
- messageSends: ["ifNotNil:", "currentSlide", "at:ifAbsent:", "slides", unescape("-"), "indexOf:", "show"],
- referencedClasses: []
- }),
- smalltalk.Presentation);
- smalltalk.addMethod(
- unescape('_checkHash'),
- smalltalk.method({
- selector: unescape('checkHash'),
- category: 'actions',
- fn: function () {
- var self = this;
- var hash = nil;
- var slide = nil;
- hash = smalltalk.send(smalltalk.send(smalltalk.send(typeof document == "undefined" ? nil : document, "_location", []), "_hash", []), "_replace_with_", [unescape("%5E%23"), ""]);
- slide = smalltalk.send(smalltalk.send(self, "_slides", []), "_detect_ifNone_", [function (each) {return smalltalk.send(smalltalk.send(each, "_id", []), "__eq", [hash]);}, function () {return nil;}]);
- ($receiver = slide) != nil && $receiver != undefined ? function () {return ($receiver = smalltalk.send(smalltalk.send(self, "_currentSlide", []), "__eq", [slide])).klass === smalltalk.Boolean ? !$receiver ? function () {smalltalk.send(self, "_currentSlide_", [slide]);return smalltalk.send(slide, "_show", []);}() : nil : smalltalk.send($receiver, "_ifFalse_", [function () {smalltalk.send(self, "_currentSlide_", [slide]);return smalltalk.send(slide, "_show", []);}]);}() : nil;
- return self;
- },
- args: [],
- source: unescape('checkHash%0A%09%7C%20hash%20slide%20%7C%0A%09hash%20%3A%3D%20document%20location%20hash%20%20replace%3A%20%27%5E%23%27%20with%3A%20%27%27.%0A%09slide%20%3A%3D%20self%20slides%20detect%3A%20%20%5B%3Aeach%20%7C%20each%20id%20%3D%20hash%5D%20ifNone%3A%20%5Bnil%5D.%0A%09slide%20ifNotNil%3A%20%5B%0A%09%09self%20currentSlide%20%3D%20slide%20ifFalse%3A%20%5B%0A%09%09%09self%20currentSlide%3A%20slide.%0A%09%09%09slide%20show%5D%5D'),
- messageSends: ["replace:with:", "hash", "location", "detect:ifNone:", "slides", unescape("%3D"), "id", "ifNotNil:", "ifFalse:", "currentSlide", "currentSlide:", "show"],
- referencedClasses: []
- }),
- smalltalk.Presentation);
- smalltalk.addMethod(
- unescape('_initSlides'),
- smalltalk.method({
- selector: unescape('initSlides'),
- category: 'initialization',
- fn: function () {
- var self = this;
- self['@slides'] = smalltalk.send(smalltalk.send(self, "_slideClasses", []), "_collect_", [function (each) {return smalltalk.send(each, "_on_", [self]);}]);
- return self;
- },
- args: [],
- source: unescape('initSlides%0A%09slides%20%3A%3D%20self%20slideClasses%20collect%3A%20%5B%3Aeach%20%7C%20each%20on%3A%20self%5D'),
- messageSends: ["collect:", "slideClasses", "on:"],
- referencedClasses: []
- }),
- smalltalk.Presentation);
- smalltalk.addMethod(
- unescape('_renderOn_'),
- smalltalk.method({
- selector: unescape('renderOn%3A'),
- category: 'rendering',
- fn: function (html) {
- var self = this;
- (function ($rec) {smalltalk.send($rec, "_type_", [unescape("text/css")]);return smalltalk.send($rec, "_with_", [smalltalk.send(self, "_style", [])]);}(smalltalk.send(html, "_style", [])));
- (function ($rec) {smalltalk.send($rec, "_id_", ["slides"]);return smalltalk.send($rec, "_with_", [function () {return smalltalk.send(self, "_renderSlidesOn_", [html]);}]);}(smalltalk.send(html, "_div", [])));
- return self;
- },
- args: ["html"],
- source: unescape('renderOn%3A%20html%0A%09html%20style%0A%09%09type%3A%20%27text/css%27%3B%0A%09%09with%3A%20self%20style.%0A%09html%20div%20%0A%09%09id%3A%20%27slides%27%3B%0A%09%09with%3A%20%5Bself%20renderSlidesOn%3A%20html%5D'),
- messageSends: ["type:", "with:", "style", "id:", "renderSlidesOn:", "div"],
- referencedClasses: []
- }),
- smalltalk.Presentation);
- smalltalk.addMethod(
- unescape('_renderSlidesOn_'),
- smalltalk.method({
- selector: unescape('renderSlidesOn%3A'),
- category: 'rendering',
- fn: function (html) {
- var self = this;
- smalltalk.send(smalltalk.send(self, "_slides", []), "_do_", [function (each) {return smalltalk.send(each, "_renderOn_", [html]);}]);
- ($receiver = self['@currentSlide']) == nil ||
- $receiver == undefined ? function () {return self['@currentSlide'] = smalltalk.send(smalltalk.send(self, "_slides", []), "_first", []);}() : $receiver;
- smalltalk.send(self, "_showCurrentSlide", []);
- return self;
- },
- args: ["html"],
- source: unescape('renderSlidesOn%3A%20html%0A%09self%20slides%20do%3A%20%5B%3Aeach%20%7C%20%0A%09%09each%20renderOn%3A%20html%5D.%0A%09currentSlide%20ifNil%3A%20%5BcurrentSlide%20%3A%3D%20self%20slides%20first%5D.%0A%09self%20showCurrentSlide'),
- messageSends: ["do:", "slides", "renderOn:", "ifNil:", "first", "showCurrentSlide"],
- referencedClasses: []
- }),
- smalltalk.Presentation);
- smalltalk.addMethod(
- unescape('_slidesDo_'),
- smalltalk.method({
- selector: unescape('slidesDo%3A'),
- category: 'enumerating',
- fn: function (aBlockWithArg){
- var self=this;
- smalltalk.send(smalltalk.send(self, "_slides", []), "_do_", [(function(aSlide){return smalltalk.send(aBlockWithArg, "_value_", [aSlide]);})]);
- return self;},
- args: ["aBlockWithArg"],
- source: unescape('slidesDo%3A%20aBlockWithArg%0A%09self%20slides%20do%3A%20%5B%3AaSlide%7C%20aBlockWithArg%20value%3A%20aSlide%5D.'),
- messageSends: ["do:", "slides", "value:"],
- referencedClasses: []
- }),
- smalltalk.Presentation);
- smalltalk.addMethod(
- unescape('_moveAt_'),
- smalltalk.method({
- selector: unescape('moveAt%3A'),
- category: 'actions',
- fn: function (anInteger){
- var self=this;
- var next=nil;
- next=smalltalk.send(smalltalk.send(self, "_slides", []), "_at_ifAbsent_", [anInteger, (function(){return nil;})]);
- (($receiver = next) != nil && $receiver != undefined) ? (function(){self['@currentSlide']=next;return smalltalk.send(next, "_show", []);})() : nil;
- return self;},
- args: ["anInteger"],
- source: unescape('moveAt%3A%20anInteger%0A%09%7C%20next%20%7C%0A%09next%20%3A%3D%20self%20slides%20%0A%09%09%09at%3A%20anInteger%0A%09%09%09ifAbsent%3A%20%5Bnil%5D.%0A%09next%20ifNotNil%3A%20%5BcurrentSlide%20%3A%3D%20next.%20next%20show%5D'),
- messageSends: ["at:ifAbsent:", "slides", "ifNotNil:", "show"],
- referencedClasses: []
- }),
- smalltalk.Presentation);
- smalltalk.Presentation.klass.iVarNames = ['current'];
- smalltalk.addMethod(
- unescape('_isConcrete'),
- smalltalk.method({
- selector: unescape('isConcrete'),
- category: 'testing',
- fn: function () {
- var self = this;
- return false;
- return self;
- },
- args: [],
- source: unescape('isConcrete%0A%09%5Efalse'),
- messageSends: [],
- referencedClasses: []
- }),
- smalltalk.Presentation.klass);
- smalltalk.addMethod(
- unescape('_concretePresentations'),
- smalltalk.method({
- selector: unescape('concretePresentations'),
- category: 'accessing',
- fn: function () {
- var self = this;
- return smalltalk.send(smalltalk.send(self, "_allSubclasses", []), "_select_", [function (aPresentationClass) {return smalltalk.send(aPresentationClass, "_isConcrete", []);}]);
- return self;
- },
- args: [],
- source: unescape('concretePresentations%0A%09%5E%20self%20allSubclasses%20select%3A%20%5B%3AaPresentationClass%7C%20aPresentationClass%20isConcrete%5D'),
- messageSends: ["select:", "allSubclasses", "isConcrete"],
- referencedClasses: []
- }),
- smalltalk.Presentation.klass);
- smalltalk.addMethod(
- unescape('_title'),
- smalltalk.method({
- selector: unescape('title'),
- category: 'accessing',
- fn: function () {
- var self = this;
- return "Slides";
- return self;
- },
- args: [],
- source: unescape('title%0A%09%5E%20%27Slides%27'),
- messageSends: [],
- referencedClasses: []
- }),
- smalltalk.Presentation.klass);
- smalltalk.addMethod(
- unescape('_concretePresentationsDo_'),
- smalltalk.method({
- selector: unescape('concretePresentationsDo%3A'),
- category: 'enumerating',
- fn: function (aBlockWithArg) {
- var self = this;
- smalltalk.send(smalltalk.send(self, "_concretePresentations", []), "_do_", [aBlockWithArg]);
- return self;
- },
- args: ["aBlockWithArg"],
- source: unescape('concretePresentationsDo%3A%20aBlockWithArg%0A%09self%20concretePresentations%20do%3A%20aBlockWithArg.'),
- messageSends: ["do:", "concretePresentations"],
- referencedClasses: []
- }),
- smalltalk.Presentation.klass);
- smalltalk.addClass('ESUG2011Presentation', smalltalk.Presentation, [], 'Presentation');
- smalltalk.addMethod(
- unescape('_description'),
- smalltalk.method({
- selector: unescape('description'),
- category: 'accessing',
- fn: function () {
- var self = this;
- return unescape("ESUG%202011%2C%20Edinburgh");
- return self;
- },
- args: [],
- source: unescape('description%0A%09%5E%27ESUG%202011%2C%20Edinburgh%27'),
- messageSends: [],
- referencedClasses: []
- }),
- smalltalk.ESUG2011Presentation);
- smalltalk.addMethod(
- unescape('_author'),
- smalltalk.method({
- selector: unescape('author'),
- category: 'accessing',
- fn: function () {
- var self = this;
- return "Nicolas Petton";
- return self;
- },
- args: [],
- source: unescape('author%0A%09%5E%27Nicolas%20Petton%27'),
- messageSends: [],
- referencedClasses: []
- }),
- smalltalk.ESUG2011Presentation);
- smalltalk.addMethod(
- unescape('_email'),
- smalltalk.method({
- selector: unescape('email'),
- category: 'accessing',
- fn: function () {
- var self = this;
- return unescape("nico@objectfusion.fr");
- return self;
- },
- args: [],
- source: unescape('email%0A%09%5E%27nico@objectfusion.fr%27'),
- messageSends: [],
- referencedClasses: []
- }),
- smalltalk.ESUG2011Presentation);
- smalltalk.addMethod(
- unescape('_url'),
- smalltalk.method({
- selector: unescape('url'),
- category: 'accessing',
- fn: function () {
- var self = this;
- return unescape("http%3A//jtalk-project.org");
- return self;
- },
- args: [],
- source: unescape('url%0A%09%5E%27http%3A//jtalk-project.org%27'),
- messageSends: [],
- referencedClasses: []
- }),
- smalltalk.ESUG2011Presentation);
- smalltalk.addMethod(
- unescape('_slideClasses'),
- smalltalk.method({
- selector: unescape('slideClasses'),
- category: 'accessing',
- fn: function () {
- var self = this;
- 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", []));
- return self;
- },
- args: [],
- source: unescape('slideClasses%0A%09%5EArray%20new%0A%09%09add%3A%20IntroSlide%3B%0A%09%09add%3A%20AboutSlide%3B%0A%09%09add%3A%20WhatIsJtalkSlide%3B%0A%09%09add%3A%20JtalkFeaturesSlide%3B%0A%09%09add%3A%20WorkspaceSlide%3B%0A%09%09add%3A%20IDESlide%3B%0A%09%09add%3A%20CountersSlide%3B%0A%09%09add%3A%20JtalkAndJavascriptSlide%3B%0A%09%09add%3A%20JtalkAndJavascriptSlide2%3B%0A%09%09add%3A%20JtalkAndJavascriptSlide3%3B%0A%09%09add%3A%20JtalkAndJavascriptSlide4%3B%0A%09%09add%3A%20JtalkAndCLI%3B%0A%09%09add%3A%20JtalkAndNode%3B%0A%09%09add%3A%20JtalkAndNode2%3B%0A%09%09add%3A%20JtalkAndNode3%3B%0A%09%09add%3A%20JtalkAndWebOS%3B%0A%09%09add%3A%20JtalkAndEnyo%3B%0A%09%09add%3A%20ContributionsSlide%3B%0A%09%09yourself'),
- messageSends: ["add:", "yourself", "new"],
- referencedClasses: [smalltalk.Array]
- }),
- smalltalk.ESUG2011Presentation);
- smalltalk.addMethod(
- unescape('_style'),
- smalltalk.method({
- selector: unescape('style'),
- category: 'accessing',
- fn: function () {
- var self = this;
- 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");
- return self;
- },
- args: [],
- source: unescape('style%0A%09%5E%27%0Abody%20%7B%0A%20%20%20%20font-family%3A%20Helvetica%2CArial%2Csans%3B%0A%7D%0A%0A%23slides%20%7B%0A%20%20%20%20width%3A%20100%25%3B%0A%20%20%20%20height%3A%20100%25%3B%0A%20%20%20%20overflow%3A%20hidden%3B%0A%20%20%20%20position%3A%20absolute%3B%0A%20%20%20%20top%3A%200%3B%0A%20%20%20%20bottom%3A%200%3B%0A%20%20%20%20left%3A%200%3B%0A%20%20%20%20right%3A%200%3B%0A%20%20%20%20background%3A%20%23555%3B%0A%7D%0A%0A.slide%20%7B%0A%20%20%20%20background%3A%20%23fff%3B%0A%20%20%20%20color%3A%20%23444%3B%0A%20%20%20%20text-align%3A%20left%3B%0A%20%20%20%20font-size%3A%2020px%3B%0A%20%20%20%20line-height%3A%201.8em%3B%0A%20%20%20%20height%3A%20500px%3B%0A%20%20%20%20width%3A%20700px%3B%0A%20%20%20%20padding%3A%2060px%3B%0A%20%20%20%20position%3A%20absolute%3B%0A%20%20%20%20left%3A%2050%25%3B%0A%20%20%20%20top%3A%2050%25%3B%0A%20%20%20%20margin-left%3A%20-420px%3B%0A%20%20%20%20margin-top%3A%20-320px%3B%0A%20%20%20%20box-shadow%3A%200%200%2020px%20%23111%3B%0A%20%20%20%20-moz-box-shadow%3A%200%200%2020px%20%23111%3B%0A%20%20%20%20-webkit-box-shadow%3A%200%200%2020px%20%23111%3B%0A%7D%0A%0A.slide.transparent%20%7B%0A%20%20%20%20background%3A%20transparent%3B%0A%20%20%20%20box-shadow%3A%200%200%200%20none%3B%0A%20%20%20%20-moz-box-shadow%3A%200%200%200%20transparent%3B%0A%20%20%20%20-webkit-box-shadow%3A%200%200%200%20transparent%3B%0A%20%20%20%20color%3A%20%23fff%20%21important%3B%0A%7D%0A%0A.slide.black%20%7B%0A%20%20%20%20background%3A%20black%3B%0A%20%20%20%20background-image%3A%20-webkit-gradient%28%0A%09linear%2C%0A%09left%20bottom%2C%0A%09left%20top%2C%0A%09color-stop%280.38%2C%20rgb%2879%2C79%2C79%29%29%2C%0A%09color-stop%280.69%2C%20rgb%2833%2C33%2C33%29%29%2C%0A%09color-stop%280.86%2C%20rgb%284%2C4%2C4%29%29%0A%20%20%20%20%29%3B%0A%20%20%20%20background-image%3A%20-moz-linear-gradient%28%0A%09center%20bottom%2C%0A%09rgb%2879%2C79%2C79%29%2038%25%2C%0A%09rgb%2833%2C33%2C33%29%2069%25%2C%0A%09rgb%284%2C4%2C4%29%2086%25%0A%20%20%20%20%29%3B%0A%20%20%20%20color%3A%20%23fff%20%21important%3B%0A%7D%0A%0A.slide.black%20h1%2C%20.slide.black%20h2%2C%20.slide.black%20h3%2C%0A.slide.transparent%20h1%2C%20.slide.transparent%20h2%2C%20.slide.transparent%20h3%20%7B%0A%20%20%20%20color%3A%20%23fff%3B%0A%20%20%20%20text-shadow%3A%200%201px%204px%20%23aaa%3B%0A%7D%0A%0A.slide.black%20a%2C%20.slide.transparent%20a%20%7B%0A%20%20%20%20color%3A%20%23ccc%3B%0A%7D%0A%0A.slide.white%20%7B%0A%20%20%20%20color%3A%20%23333%20%21important%3B%0A%7D%0A%0A.slide.white%20h1%2C%20.slide.white%20h2%2C%20.slide.white%20h3%20%7B%0A%20%20%20%20color%3A%20%23333%3B%0A%7D%0A%0A.slide.white%20a%20%7B%0A%20%20%20%20color%3A%20%23333%3B%0A%7D%0A%0A%0A.slide%20h1%2C%20.slide%20h2%2C%20.slide%20h3%20%7B%0A%20%20%20%20color%3A%20%23333%3B%0A%20%20%20%20/*%20text-align%3A%20center%3B%20*/%0A%7D%0A%0A.slide%20h1%20%7B%0A%20%20%20%20font-family%3A%20%22Droid%20Sans%22%3B%0A%20%20%20%20font-size%3A%2036px%3B%0A%20%20%20%20text-shadow%3A%200%201px%204px%20%23aaa%3B%0A%20%20%20%20margin-top%3A%2030px%3B%0A%20%20%20%20margin-bottom%3A%2050px%3B%0A%7D%0A%0A/*%20.slide%20ul%2C%20.slide%20li%20%7B%20*/%0A/*%20%20%20%20%20padding%3A%200%3B%20*/%0A/*%20%20%20%20%20margin%3A%200%3B%20*/%0A/*%20%7D%20*/%0A%0A.slide%20button%20%7B%0A%20%20%20%20font-size%3A%2018px%3B%0A%7D%0A%0A.slide%20a%20%7B%0A%20%20%20%20color%3A%20%23555%3B%0A%20%20%20%20text-decoration%3A%20none%3B%0A%20%20%20%20cursor%3A%20pointer%3B%0A%7D%0A%0A.slide%20a%3Ahover%20%7B%0A%20%20%20%20color%3A%20%23fff%3B%0A%20%20%20%20background%3A%20%23555%3B%0A%7D%0A%0A.slide%20.right%20%7B%0A%20%20%20%20text-align%3A%20right%3B%0A%7D%0A%0A.slide%20.section.center%20%7B%0A%20%20%20%20text-align%3A%20center%3B%0A%20%20%20%20display%3A%20table-cell%3B%0A%20%20%20%20vertical-align%3A%20middle%3B%0A%20%20%20%20width%3A%20700px%3B%0A%20%20%20%20height%3A%20500px%3B%0A%7D%0A%0A.slide%20code%20%7B%0A%20%20%20%20font-family%3A%20%22Droid%20Sans%20Mono%22%3B%0A%20%20%20%20color%3A%20%23444%3B%0A%20%20%20%20border%3A%201px%20solid%20%23ddd%3B%0A%20%20%20%20background%3A%20%23eee%3B%0A%20%20%20%20border-radius%3A%204px%3B%0A%20%20%20%20padding%3A%202px%3B%0A%20%20%20%20font-size%3A%2016px%3B%0A%7D%0A%0A.slide%20.code2%20%7B%0A%20%20%20%20font-family%3A%20%22Droid%20Sans%20Mono%22%3B%0A%20%20%20%20line-height%3A%201.2em%3B%0A%20%20%20%20color%3A%20%23444%3B%0A%20%20%20%20padding%3A%202px%3B%0A%20%20%20%20font-size%3A%2016px%3B%0A%7D%0A%0A%0A.slide%20.CodeMirror%20%7B%0A%20%20%20%20width%3A%20500px%3B%0A%20%20%20%20height%3A%20300px%3B%0A%20%20%20%20text-align%3A%20left%3B%0A%7D%0A%0A.slide%20.CodeMirror-scroll%20%7B%0A%20%20%20%20text-align%3A%20left%3B%0A%7D%0A%0A.slide%20.fancy%20%7B%0A%20%20%20%20margin-top%3A%2030px%3B%0A%20%20%20%20-webkit-transform%3A%20rotate%28-10deg%29%3B%0A%20%20%20%20-moz-transform%3A%20rotate%28-10deg%29%3B%0A%20%20%20%20transform%3A%20rotate%28-10deg%29%3B%0A%20%20%20%20color%3A%20red%3B%0A%7D%0A%0A.slide%20.comment%20%7B%0A%20%20%20%20opacity%3A%200.6%3B%0A%20%20%20%20font-weight%3A%20normal%3B%0A%7D%0A%0A.slide%20.red%20%7B%0A%20%20%20%20color%3A%20red%3B%0A%7D%0A%0A.slide%20.blue%20%7B%0A%20%20%20%20color%3A%20blue%3B%0A%7D%0A%0A.slide%23WhatIsJtalk%20%7B%0A%20%20%20%20background%3A%20white%20url%28%22esug2011/images/balloon.jpg%22%29%20650px%2050px%20no-repeat%3B%0A%7D%0A%0A.slide%23ide%20%7B%0A%20%20%20%20background%3A%20black%20url%28%22esug2011/images/ide_star_wars.png%22%29%20center%20center%20no-repeat%3B%0A%7D%0A%0A.slide%23JtalkAndCLI%20%7B%0A%20%20%20%20background%3A%20white%20url%28%22esug2011/images/terminal.png%22%29%20620px%2020px%20no-repeat%3B%0A%7D%0A%0A.slide%23JtalkAndNode%20%7B%0A%20%20%20%20background%3A%20white%20url%28%22esug2011/images/nodejs.png%22%29%20580px%2040px%20no-repeat%3B%0A%7D%0A.slide%23JtalkAndNode2%20%7B%0A%20%20%20%20background%3A%20white%20url%28%22esug2011/images/nodejs.png%22%29%20580px%2040px%20no-repeat%3B%0A%7D%0A%0A.slide%23JtalkAndNode3%20%7B%0A%20%20%20%20background%3A%20white%20url%28%22esug2011/images/nodejs.png%22%29%20580px%2040px%20no-repeat%3B%0A%7D%0A%0A.slide%23JtalkAndWebOS%20%7B%0A%20%20%20%20background%3A%20white%20url%28%22esug2011/images/devices.jpg%22%29%20380px%20280px%20no-repeat%3B%0A%7D%0A%0A.slide%23JtalkAndEnyo%20%7B%0A%20%20%20%20background%3A%20white%20url%28%22esug2011/images/enyo.png%22%29%20130px%20150px%20no-repeat%3B%0A%7D%0A%0A.slide%23links%20%7B%0A%20%20%20%20background%3A%20white%20url%28%22esug2011/images/asterix.png%22%29%2030px%20130px%20no-repeat%3B%0A%7D%0A%0A.slide%23links%20.section%20%7B%0A%20%20%20%20margin-left%3A%20250px%3B%0A%20%20%20%20margin-top%3A%20200px%3B%0A%20%20%20%20font-family%3A%20%22Droid%20Sans%22%3B%0A%20%20%20%20font-size%3A%2026px%3B%0A%20%20%20%20font-weight%3A%20bold%3B%0A%7D%0A%0A%0A%23meta%20%7B%0A%20%20%20%20position%3A%20absolute%3B%0A%20%20%20%20font-size%3A%2012px%3B%0A%20%20%20%20opacity%3A%200.6%3B%0A%20%20%20%20bottom%3A%200%3B%0A%20%20%20%20right%3A%200%3B%0A%20%20%20%20z-index%3A%202%3B%0A%20%20%20%20background%3A%20%23333%3B%0A%20%20%20%20text-align%3A%20right%3B%0A%20%20%20%20padding%3A%200%2010px%3B%0A%20%20%20%20line-height%3A%201.8em%3B%0A%20%20%20%20color%3A%20%23eee%3B%0A%20%20%20%20border-top-left-radius%3A%205px%3B%0A%7D%0A%0A%23meta%3Ahover%20%7B%0A%20%20%20%20opacity%3A%200.8%3B%0A%7D%0A%0A%23meta%20p%20%7B%0A%20%20%20%20display%3A%20inline%3B%0A%20%20%20%20padding%3A%200%205px%3B%0A%7D%0A%0A%23meta%20a%20%7B%0A%20%20%20%20//background%3A%20%23ccc%3B%0A%20%20%20%20color%3A%20%23ccc%3B%0A%20%20%20%20text-decoration%3A%20none%3B%0A%20%20%20%20padding%3A%200%205px%3B%0A%7D%0A%0A.slide%20%7B%0A%20%20%20%20%0A%7D%0A%27'),
- messageSends: [],
- referencedClasses: []
- }),
- smalltalk.ESUG2011Presentation);
- smalltalk.ESUG2011Presentation.klass.iVarNames = ['current'];
- smalltalk.addMethod(
- unescape('_isConcrete'),
- smalltalk.method({
- selector: unescape('isConcrete'),
- category: 'testing',
- fn: function () {
- var self = this;
- return true;
- return self;
- },
- args: [],
- source: unescape('isConcrete%0A%09%5Etrue'),
- messageSends: [],
- referencedClasses: []
- }),
- smalltalk.ESUG2011Presentation.klass);
- smalltalk.addMethod(
- unescape('_title'),
- smalltalk.method({
- selector: unescape('title'),
- category: 'accessing',
- fn: function () {
- var self = this;
- return "Jtalk";
- return self;
- },
- args: [],
- source: unescape('title%0A%09%5E%27Jtalk%27'),
- messageSends: [],
- referencedClasses: []
- }),
- smalltalk.ESUG2011Presentation.klass);
- smalltalk.addClass('IntroSlide', smalltalk.Slide, [], 'Presentation');
- smalltalk.addMethod(
- unescape('_id'),
- smalltalk.method({
- selector: unescape('id'),
- category: 'accessing',
- fn: function () {
- var self = this;
- return "intro";
- return self;
- },
- args: [],
- source: unescape('id%0A%09%5E%27intro%27'),
- messageSends: [],
- referencedClasses: []
- }),
- smalltalk.IntroSlide);
- smalltalk.addMethod(
- unescape('_cssClass'),
- smalltalk.method({
- selector: unescape('cssClass'),
- category: 'accessing',
- fn: function () {
- var self = this;
- return "slide black";
- return self;
- },
- args: [],
- source: unescape('cssClass%0A%09%5E%27slide%20black%27'),
- messageSends: [],
- referencedClasses: []
- }),
- smalltalk.IntroSlide);
- smalltalk.addMethod(
- unescape('_renderSlideOn_'),
- smalltalk.method({
- selector: unescape('renderSlideOn%3A'),
- category: 'rendering',
- fn: function (html) {
- var self = this;
- (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", [])));
- return self;
- },
- args: ["html"],
- source: unescape('renderSlideOn%3A%20html%0A%09html%20div%20class%3A%20%27section%20center%27%3B%20with%3A%20%5B%0A%09%09html%20h1%20with%3A%20%27Jtalk%2C%20the%20Smalltalk%20for%20Web%20developers%27.%0A%09%09html%20p%20with%3A%20self%20presentation%20author%2C%20%27%20%26%20G%F6ran%20Krampe%20-%20%27%2C%20self%20presentation%20description.%0A%09%09html%20p%20with%3A%20%5B%0A%09%09%09html%20a%0A%09%09%09%09with%3A%20self%20presentation%20email%3B%0A%09%09%09%09href%3A%20%27mailto%3A%27%2C%20self%20presentation%20email%5D.%0A%09%09html%20p%20with%3A%20%5B%0A%09%09%09html%20a%0A%09%09%09%09with%3A%20%27goran@krampe.se%27%3B%0A%09%09%09%09href%3A%20%27mailto%3Agoran@krampe.se%27%5D.%0A%09%09%0A%20%20%20%20%20%20%20%20%20%20%09html%20p%20with%3A%20%5B%0A%09%09%09html%20a%0A%09%09%09%09with%3A%20%27objectfusion.fr%27%3B%0A%09%09%09%09href%3A%20%27http%3A//www.objectfusion.fr%27%5D%5D'),
- messageSends: ["class:", "with:", "h1", "p", unescape("%2C"), "author", "presentation", "description", "email", "href:", "a", "div"],
- referencedClasses: []
- }),
- smalltalk.IntroSlide);
- smalltalk.addClass('WhatIsJtalkSlide', smalltalk.Slide, [], 'Presentation');
- smalltalk.addMethod(
- unescape('_id'),
- smalltalk.method({
- selector: unescape('id'),
- category: 'accessing',
- fn: function () {
- var self = this;
- return "WhatIsJtalk";
- return self;
- },
- args: [],
- source: unescape('id%0A%09%5E%27WhatIsJtalk%27'),
- messageSends: [],
- referencedClasses: []
- }),
- smalltalk.WhatIsJtalkSlide);
- smalltalk.addMethod(
- unescape('_renderSlideOn_'),
- smalltalk.method({
- selector: unescape('renderSlideOn%3A'),
- category: 'rendering',
- fn: function (html) {
- var self = this;
- (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", [])));
- return self;
- },
- args: ["html"],
- source: unescape('renderSlideOn%3A%20html%0A%09html%20div%20class%3A%20%27section%20center%27%3B%20with%3A%20%5B%0A%09%09html%20h1%20with%3A%20%27Jtalk%20in%20a%20nutshell%27.%0A%09%09html%20h2%20with%3A%20%27Jtalk%20is%20an%20implementation%20of%20Smalltalk%27.%0A%09%09html%20h2%20with%3A%20%27Jtalk%20runs%20on%20top%20of%20the%20JavaScript%20runtime%27.%0A%09%09html%20h2%20with%3A%20%27Jtalk%20is%20an%20opensource%20project%20%28MIT%29%27.%0A%09%09html%20h2%20class%3A%20%27fancy%27%3B%20with%3A%20%27Jtalk%20is%20cool%21%27%5D'),
- messageSends: ["class:", "with:", "h1", "h2", "div"],
- referencedClasses: []
- }),
- smalltalk.WhatIsJtalkSlide);
- smalltalk.addClass('JtalkFeaturesSlide', smalltalk.Slide, [], 'Presentation');
- smalltalk.addMethod(
- unescape('_id'),
- smalltalk.method({
- selector: unescape('id'),
- category: 'accessing',
- fn: function () {
- var self = this;
- return "features";
- return self;
- },
- args: [],
- source: unescape('id%0A%09%5E%27features%27'),
- messageSends: [],
- referencedClasses: []
- }),
- smalltalk.JtalkFeaturesSlide);
- smalltalk.addMethod(
- unescape('_renderSlideOn_'),
- smalltalk.method({
- selector: unescape('renderSlideOn%3A'),
- category: 'rendering',
- fn: function (html) {
- var self = this;
- smalltalk.send(smalltalk.send(html, "_h1", []), "_with_", ["Jtalk features"]);
- 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"]);}]);}]);
- return self;
- },
- args: ["html"],
- source: unescape('renderSlideOn%3A%20html%0A%09html%20h1%20with%3A%20%27Jtalk%20features%27.%0A%09html%20ul%20with%3A%20%5B%0A%09%09html%20li%20with%3A%20%27Jtalk%20is%20%28mostly%29%20written%20in%20itself%2C%20including%20the%20parser%20%26%20compiler%27.%0A%09%09html%20li%20with%3A%20%27Full%20Smalltalk%20object%20system%2C%20including%20classes%20%26%20metaclasses%2C%20etc%27.%0A%09%09html%20li%20with%3A%20%27Core%20libraries%20%28streams%2C%20collections%2C%20RegExp%2C%20etc%29%27.%0A%09%09html%20li%20with%3A%20%27Web%20related%20libraries%3A%20HTML%20Canvas%2C%20DOM%20manipulation%27.%0A%09%09html%20li%20with%3A%20%27Full%20featured%20IDE%27.%0A%09%09html%20li%20with%3A%20%5B%0A%09%09%09html%20with%3A%27Advanced%20Smalltalk%20features%2C%20including%20%27.%0A%09%09%09html%20code%20with%3A%20%27%23doesNotUnderstand%3A%27.%0A%09%09%09html%20with%3A%20%27%20support%20and%20%27.%0A%09%09%09html%20code%20with%3A%20%27thisContext%27%5D%5D'),
- messageSends: ["with:", "h1", "ul", "li", "code"],
- referencedClasses: []
- }),
- smalltalk.JtalkFeaturesSlide);
- smalltalk.addClass('AboutSlide', smalltalk.Slide, [], 'Presentation');
- smalltalk.addMethod(
- unescape('_id'),
- smalltalk.method({
- selector: unescape('id'),
- category: 'accessing',
- fn: function () {
- var self = this;
- return "about";
- return self;
- },
- args: [],
- source: unescape('id%0A%09%5E%27about%27'),
- messageSends: [],
- referencedClasses: []
- }),
- smalltalk.AboutSlide);
- smalltalk.addMethod(
- unescape('_cssClass'),
- smalltalk.method({
- selector: unescape('cssClass'),
- category: 'accessing',
- fn: function () {
- var self = this;
- return "slide transparent white";
- return self;
- },
- args: [],
- source: unescape('cssClass%0A%09%5E%27slide%20transparent%20white%27'),
- messageSends: [],
- referencedClasses: []
- }),
- smalltalk.AboutSlide);
- smalltalk.addMethod(
- unescape('_backgroundColor'),
- smalltalk.method({
- selector: unescape('backgroundColor'),
- category: 'accessing',
- fn: function () {
- var self = this;
- return "white";
- return self;
- },
- args: [],
- source: unescape('backgroundColor%0A%09%5E%27white%27'),
- messageSends: [],
- referencedClasses: []
- }),
- smalltalk.AboutSlide);
- smalltalk.addMethod(
- unescape('_renderSlideOn_'),
- smalltalk.method({
- selector: unescape('renderSlideOn%3A'),
- category: 'rendering',
- fn: function (html) {
- var self = this;
- (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", [])));
- return self;
- },
- args: ["html"],
- source: unescape('renderSlideOn%3A%20html%0A%09html%20div%20class%3A%20%27section%20center%27%3B%20with%3A%20%5B%0A%09%09html%20h1%20with%3A%20%27About%20this%20presentation%27.%0A%09%09html%20p%20with%3A%20%27This%20presentation%20is%20entirely%20written%20in%20Jtalk%20and%20is%20licensed%20under%20CC%20BY-SA.%27.%0A%09%09html%20p%20with%3A%20%5B%0A%09%09%09html%20with%3A%20%27Press%20%27.%0A%09%09%09html%20code%20with%3A%20%27%u2190%27.%0A%09%09%09html%20with%3A%20%27%20to%20move%20backward%20and%20%27.%0A%09%09%09html%20code%20with%3A%20%27%20%u2192%27.%0A%09%09%09html%20with%3A%20%27%20to%20move%20forward.%27%5D.%0A%09%09html%20p%20with%3A%20%5B%0A%09%09%09html%20with%3A%20%27Open%20a%20%27.%0A%09%09%09html%20button%20%0A%09%09%09%09with%3A%20%27browser%27%3B%0A%09%09%09%09onClick%3A%20%5BBrowser%20openOn%3A%20Presentation%5D.%0A%09%09%09html%20with%3A%20%27%20to%20edit%20the%20source%20code.%27%5D%5D'),
- messageSends: ["class:", "with:", "h1", "p", "code", "onClick:", "openOn:", "button", "div"],
- referencedClasses: [smalltalk.Presentation]
- }),
- smalltalk.AboutSlide);
- smalltalk.addClass('JtalkAndJavascriptSlide3', smalltalk.Slide, [], 'Presentation');
- smalltalk.addMethod(
- unescape('_id'),
- smalltalk.method({
- selector: unescape('id'),
- category: 'accessing',
- fn: function () {
- var self = this;
- return "jtalkAndJs3";
- return self;
- },
- args: [],
- source: unescape('id%0A%09%5E%27jtalkAndJs3%27'),
- messageSends: [],
- referencedClasses: []
- }),
- smalltalk.JtalkAndJavascriptSlide3);
- smalltalk.addMethod(
- unescape('_backgroundColor'),
- smalltalk.method({
- selector: unescape('backgroundColor'),
- category: 'accessing',
- fn: function () {
- var self = this;
- return unescape("%2308C");
- return self;
- },
- args: [],
- source: unescape('backgroundColor%0A%09%5E%27%2308C%27'),
- messageSends: [],
- referencedClasses: []
- }),
- smalltalk.JtalkAndJavascriptSlide3);
- smalltalk.addMethod(
- unescape('_renderSlideOn_'),
- smalltalk.method({
- selector: unescape('renderSlideOn%3A'),
- category: 'rendering',
- fn: function (html) {
- var self = this;
- 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(smalltalk.send(html, "_h2", []), "_with_", [unescape("Smalltalk%20%u21D2%20JavaScript")]);
- 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", []));}]);
- return self;
- },
- args: ["html"],
- source: unescape('renderSlideOn%3A%20html%0A%09html%20h1%20with%3A%20%5B%0A%09%09html%20with%3A%20%27Smalltalk%20%27.%0A%09%09html%20span%20class%3A%20%27red%27%3B%20with%3A%20%27%u2665%27.%0A%09%09html%20with%3A%20%27%20JavaScript%27%5D.%0A%09html%20h2%20with%3A%20%27Smalltalk%20%u21D2%20JavaScript%27.%0A%09html%20ol%20with%3A%20%5B%0A%09%09html%20li%20%0A%09%09%09with%3A%20%27Unary%20messages%20begin%20with%20an%20underscore%3A%20%27%3B%0A%09%09%09with%3A%20%5Bhtml%20code%20with%3A%20%27yourself%27%5D%3B%0A%09%09%09with%3A%20%27%20becomes%20%27%3B%0A%09%09%09with%3A%20%5Bhtml%20code%20with%3A%20%27_yourself%28%29%27%5D.%0A%09%09html%20li%20%0A%09%09%09with%3A%20%27Binary%20messages%20are%20prefixed%20with%202%20underscores%3A%20%27%3B%0A%09%09%09with%3A%20%5Bhtml%20code%20with%3A%20%273@4%27%5D%3B%0A%09%09%09with%3A%20%27%20becomes%20%27%3B%0A%09%09%09with%3A%20%5Bhtml%20code%20with%3A%20%27%283%29.__at%284%29%27%5D.%0A%09%09html%20li%20%0A%09%09%09with%3A%20%27Keyword%20message%20follow%20the%20same%20rules%20as%20unary%20messages%2C%20with%20a%20final%20underscore%3A%20%27%3B%0A%09%09%09with%3A%20%5Bhtml%20code%20with%3A%20%27aDictionary%20at%3A%203%20put%3A%204%27%5D%3B%0A%09%09%09with%3A%20%27%20becomes%20%27%3B%0A%09%09%09with%3A%20%5Bhtml%20code%20with%3A%20%27aDictionary._at_put_%283%2C%204%29%27%5D%5D'),
- messageSends: ["with:", "h1", "class:", "span", "h2", "ol", "code", "li"],
- referencedClasses: []
- }),
- smalltalk.JtalkAndJavascriptSlide3);
- smalltalk.addClass('JtalkAndJavascriptSlide2', smalltalk.Slide, [], 'Presentation');
- smalltalk.addMethod(
- unescape('_id'),
- smalltalk.method({
- selector: unescape('id'),
- category: 'accessing',
- fn: function () {
- var self = this;
- return "jtalkAndJs2";
- return self;
- },
- args: [],
- source: unescape('id%0A%09%5E%27jtalkAndJs2%27'),
- messageSends: [],
- referencedClasses: []
- }),
- smalltalk.JtalkAndJavascriptSlide2);
- smalltalk.addMethod(
- unescape('_backgroundColor'),
- smalltalk.method({
- selector: unescape('backgroundColor'),
- category: 'accessing',
- fn: function () {
- var self = this;
- return unescape("%2308C");
- return self;
- },
- args: [],
- source: unescape('backgroundColor%0A%09%5E%27%2308C%27'),
- messageSends: [],
- referencedClasses: []
- }),
- smalltalk.JtalkAndJavascriptSlide2);
- smalltalk.addMethod(
- unescape('_renderSlideOn_'),
- smalltalk.method({
- selector: unescape('renderSlideOn%3A'),
- category: 'rendering',
- fn: function (html) {
- var self = this;
- 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(smalltalk.send(html, "_h2", []), "_with_", ["Jtalk maps one to one with the JavaScript equivalent:"]);
- 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."]);}]);
- return self;
- },
- args: ["html"],
- source: unescape('renderSlideOn%3A%20html%0A%09html%20h1%20with%3A%20%5B%0A%09%09html%20with%3A%20%27Smalltalk%20%27.%0A%09%09html%20span%20class%3A%20%27red%27%3B%20with%3A%20%27%u2665%27.%0A%09%09html%20with%3A%20%27%20JavaScript%27%5D.%0A%09html%20h2%20with%3A%20%27Jtalk%20maps%20one%20to%20one%20with%20the%20JavaScript%20equivalent%3A%27.%0A%09html%20ul%20with%3A%20%5B%0A%09%09html%20li%20with%3A%20%27String%20%u21D4%20String%27.%0A%09%09html%20li%20with%3A%20%27Number%20%u21D4%20Number%27.%0A%09%09html%20li%20with%3A%20%27BlockClosure%20%u21D4%20function%27.%0A%09%09html%20li%20with%3A%20%27Dictionary%20%u21D4%20Object%27.%0A%09%09html%20li%20with%3A%20%27Error%20%u21D4%20Error%27.%0A%09%09html%20li%20with%3A%20%27etc.%27%5D'),
- messageSends: ["with:", "h1", "class:", "span", "h2", "ul", "li"],
- referencedClasses: []
- }),
- smalltalk.JtalkAndJavascriptSlide2);
- smalltalk.addClass('JtalkAndJavascriptSlide', smalltalk.Slide, [], 'Presentation');
- smalltalk.addMethod(
- unescape('_id'),
- smalltalk.method({
- selector: unescape('id'),
- category: 'accessing',
- fn: function () {
- var self = this;
- return "jtalkAndJs";
- return self;
- },
- args: [],
- source: unescape('id%0A%09%5E%27jtalkAndJs%27'),
- messageSends: [],
- referencedClasses: []
- }),
- smalltalk.JtalkAndJavascriptSlide);
- smalltalk.addMethod(
- unescape('_cssClass'),
- smalltalk.method({
- selector: unescape('cssClass'),
- category: 'accessing',
- fn: function () {
- var self = this;
- return "slide transparent";
- return self;
- },
- args: [],
- source: unescape('cssClass%0A%09%5E%27slide%20transparent%27'),
- messageSends: [],
- referencedClasses: []
- }),
- smalltalk.JtalkAndJavascriptSlide);
- smalltalk.addMethod(
- unescape('_backgroundColor'),
- smalltalk.method({
- selector: unescape('backgroundColor'),
- category: 'accessing',
- fn: function () {
- var self = this;
- return unescape("%2308C");
- return self;
- },
- args: [],
- source: unescape('backgroundColor%0A%09%5E%27%2308C%27'),
- messageSends: [],
- referencedClasses: []
- }),
- smalltalk.JtalkAndJavascriptSlide);
- smalltalk.addMethod(
- unescape('_renderSlideOn_'),
- smalltalk.method({
- selector: unescape('renderSlideOn%3A'),
- category: 'rendering',
- fn: function (html) {
- var self = this;
- (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", [])));
- return self;
- },
- args: ["html"],
- source: unescape('renderSlideOn%3A%20html%0A%09html%20div%20class%3A%20%27section%20center%27%3B%20with%3A%20%5B%0A%09%09html%20h1%20with%3A%20%5B%0A%09%09%09html%20with%3A%20%27Smalltalk%20%27.%0A%09%09%09html%20span%20class%3A%20%27red%27%3B%20with%3A%20%27%u2665%27.%0A%09%09%09html%20with%3A%20%27%20JavaScript%27%5D%5D'),
- messageSends: ["class:", "with:", "h1", "span", "div"],
- referencedClasses: []
- }),
- smalltalk.JtalkAndJavascriptSlide);
- smalltalk.addClass('WorkspaceSlide', smalltalk.Slide, [], 'Presentation');
- smalltalk.addMethod(
- unescape('_id'),
- smalltalk.method({
- selector: unescape('id'),
- category: 'accessing',
- fn: function () {
- var self = this;
- return "workspace";
- return self;
- },
- args: [],
- source: unescape('id%0A%09%5E%27workspace%27'),
- messageSends: [],
- referencedClasses: []
- }),
- smalltalk.WorkspaceSlide);
- smalltalk.addMethod(
- unescape('_backgroundColor'),
- smalltalk.method({
- selector: unescape('backgroundColor'),
- category: 'accessing',
- fn: function () {
- var self = this;
- return unescape("%2318bd7d");
- return self;
- },
- args: [],
- source: unescape('backgroundColor%0A%09%5E%27%2318bd7d%27'),
- messageSends: [],
- referencedClasses: []
- }),
- smalltalk.WorkspaceSlide);
- smalltalk.addMethod(
- unescape('_renderSlideOn_'),
- smalltalk.method({
- selector: unescape('renderSlideOn%3A'),
- category: 'accessing',
- fn: function (html) {
- var self = this;
- var workspace = nil;
- workspace = smalltalk.send(smalltalk.SourceArea || SourceArea, "_new", []);
- (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", [])));
- return self;
- },
- args: ["html"],
- source: unescape('renderSlideOn%3A%20html%0A%09%7C%20workspace%20%7C%0A%09workspace%20%3A%3D%20SourceArea%20new.%0A%09html%20div%20class%3A%20%27section%20center%27%3B%20with%3A%20%5B%0A%09%09html%20h1%20with%3A%20%27Give%20Jtalk%20a%20try%21%27.%0A%09%09workspace%20renderOn%3A%20html.%0A%09%09html%20div%20with%3A%20%5B%0A%09%09%09html%20button%0A%09%09%09%09with%3A%20%27DoIt%27%3B%0A%09%09%09%09onClick%3A%20%5Bworkspace%20doIt%5D.%0A%09%09%09html%20button%0A%09%09%09%09with%3A%20%27PrintIt%27%3B%0A%09%09%09%09onClick%3A%20%5Bworkspace%20printIt%5D.%0A%09%09%09html%20button%0A%09%09%09%09with%3A%20%27InspectIt%27%3B%0A%09%09%09%09onClick%3A%20%5Bworkspace%20inspectIt%5D%5D%5D'),
- messageSends: ["new", "class:", "with:", "h1", "renderOn:", "div", "onClick:", "doIt", "button", "printIt", "inspectIt"],
- referencedClasses: []
- }),
- smalltalk.WorkspaceSlide);
- smalltalk.addClass('CountersSlide', smalltalk.Slide, [], 'Presentation');
- smalltalk.addMethod(
- unescape('_id'),
- smalltalk.method({
- selector: unescape('id'),
- category: 'accessing',
- fn: function () {
- var self = this;
- return "counters";
- return self;
- },
- args: [],
- source: unescape('id%0A%09%5E%27counters%27'),
- messageSends: [],
- referencedClasses: []
- }),
- smalltalk.CountersSlide);
- smalltalk.addMethod(
- unescape('_backgroundColor'),
- smalltalk.method({
- selector: unescape('backgroundColor'),
- category: 'accessing',
- fn: function () {
- var self = this;
- return unescape("%2318bd7d");
- return self;
- },
- args: [],
- source: unescape('backgroundColor%0A%09%5E%27%2318bd7d%27'),
- messageSends: [],
- referencedClasses: []
- }),
- smalltalk.CountersSlide);
- smalltalk.addMethod(
- unescape('_renderSlideOn_'),
- smalltalk.method({
- selector: unescape('renderSlideOn%3A'),
- category: 'rendering',
- fn: function (html) {
- var self = this;
- (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", [])));
- return self;
- },
- args: ["html"],
- source: unescape('renderSlideOn%3A%20html%0A%09html%20div%20class%3A%20%27section%20center%27%3B%20with%3A%20%5B%0A%09%09html%20h1%20with%3A%20%27The%20counter%20example%27.%0A%09%09html%20div%20with%3A%20%5B%0A%09%09%092%20timesRepeat%3A%20%5BCounter%20new%20renderOn%3A%20html%5D%5D%5D'),
- messageSends: ["class:", "with:", "h1", "div", "timesRepeat:", "renderOn:", "new"],
- referencedClasses: [smalltalk.Counter]
- }),
- smalltalk.CountersSlide);
- smalltalk.addClass('JtalkAndJavascriptSlide4', smalltalk.Slide, [], 'Presentation');
- smalltalk.addMethod(
- unescape('_id'),
- smalltalk.method({
- selector: unescape('id'),
- category: 'accessing',
- fn: function () {
- var self = this;
- return "jtalkAndJs4";
- return self;
- },
- args: [],
- source: unescape('id%0A%09%5E%27jtalkAndJs4%27'),
- messageSends: [],
- referencedClasses: []
- }),
- smalltalk.JtalkAndJavascriptSlide4);
- smalltalk.addMethod(
- unescape('_backgroundColor'),
- smalltalk.method({
- selector: unescape('backgroundColor'),
- category: 'accessing',
- fn: function () {
- var self = this;
- return unescape("%2308C");
- return self;
- },
- args: [],
- source: unescape('backgroundColor%0A%09%5E%27%2308C%27'),
- messageSends: [],
- referencedClasses: []
- }),
- smalltalk.JtalkAndJavascriptSlide4);
- smalltalk.addMethod(
- unescape('_renderSlideOn_'),
- smalltalk.method({
- selector: unescape('renderSlideOn%3A'),
- category: 'rendering',
- fn: function (html) {
- var self = this;
- 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);}]);
- smalltalk.send(smalltalk.send(html, "_h2", []), "_with_", [unescape("JavaScript%20%u21D2%20Smalltalk")]);
- 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", []));}]);
- return self;
- },
- args: ["html"],
- source: unescape('renderSlideOn%3A%20html%0A%09html%20h1%20with%3A%20%5B%0A%09%09html%20with%3A%20%27JavaScript%20%27.%0A%09%09html%20span%20class%3A%20%27red%27%3B%20with%3A%20%27%u2665%27.%0A%09%09html%20with%3A%20%27%20Smalltalk%20too%21%20%27%3B%0A%09%09with%3A%20%5Bhtml%20span%20class%3A%20%27comment%27%3B%20with%3A%20%27%28how%20cute%29%27%5D%5D.%0A%09html%20h2%20with%3A%20%27JavaScript%20%u21D2%20Smalltalk%27.%0A%09html%20ol%20with%3A%20%5B%0A%09%09html%20li%20%0A%09%09%09with%3A%20%5Bhtml%20code%20with%3A%20%27someUser.name%27%5D%3B%0A%09%09%09with%3A%20%27%20becomes%20%27%3B%0A%09%09%09with%3A%20%5Bhtml%20code%20with%3A%20%27someUser%20name%27%5D.%0A%09%09html%20li%20%0A%09%09%09with%3A%20%5Bhtml%20code%20with%3A%20%27someUser%20name%20%3D%20%22John%22%27%5D%3B%0A%09%09%09with%3A%20%27%20becomes%20%27%3B%0A%09%09%09with%3A%20%5Bhtml%20code%20with%3A%20%27someUser%20name%3A%20%27%27John%27%27%27%5D.%0A%09%09html%20li%20%0A%09%09%09with%3A%20%5Bhtml%20code%20with%3A%20%27console.log%28%27%27hello%20world%27%27%29%27%5D%3B%0A%09%09%09with%3A%20%27%20becomes%20%27%3B%0A%09%09%09with%3A%20%5Bhtml%20code%20with%3A%20%27console%20log%3A%20%27%27hello%20world%27%27%27%5D.%0A%09%09html%20li%20%0A%09%09%09with%3A%20%5Bhtml%20code%20with%3A%20%27window.jQuery%28%27%27foo%27%27%29.css%28%27%27background%27%27%2C%20%27%27red%27%27%29%27%5D%3B%0A%09%09%09with%3A%20%27%20becomes%20%27%3B%0A%09%09%09with%3A%20%5Bhtml%20br%5D%3B%0A%09%09%09with%3A%20%5Bhtml%20code%20with%3A%20%27%28window%20jQuery%3A%20%27%27foo%27%27%29%20css%3A%20%27%27background%27%27%20color%3A%20%27%27red%27%27%27%5D%5D'),
- messageSends: ["with:", "h1", "class:", "span", "h2", "ol", "code", "li", "br"],
- referencedClasses: []
- }),
- smalltalk.JtalkAndJavascriptSlide4);
- smalltalk.addClass('IDESlide', smalltalk.Slide, [], 'Presentation');
- smalltalk.addMethod(
- unescape('_id'),
- smalltalk.method({
- selector: unescape('id'),
- category: 'accessing',
- fn: function () {
- var self = this;
- return "ide";
- return self;
- },
- args: [],
- source: unescape('id%0A%09%5E%27ide%27'),
- messageSends: [],
- referencedClasses: []
- }),
- smalltalk.IDESlide);
- smalltalk.addMethod(
- unescape('_backgroundColor'),
- smalltalk.method({
- selector: unescape('backgroundColor'),
- category: 'accessing',
- fn: function () {
- var self = this;
- return "black";
- return self;
- },
- args: [],
- source: unescape('backgroundColor%0A%09%5E%27black%27'),
- messageSends: [],
- referencedClasses: []
- }),
- smalltalk.IDESlide);
- smalltalk.addMethod(
- unescape('_cssClass'),
- smalltalk.method({
- selector: unescape('cssClass'),
- category: 'accessing',
- fn: function () {
- var self = this;
- return "slide transparent";
- return self;
- },
- args: [],
- source: unescape('cssClass%0A%09%5E%27slide%20transparent%27'),
- messageSends: [],
- referencedClasses: []
- }),
- smalltalk.IDESlide);
- smalltalk.addMethod(
- unescape('_renderSlideOn_'),
- smalltalk.method({
- selector: unescape('renderSlideOn%3A'),
- category: 'rendering',
- fn: function (html) {
- var self = this;
- return self;
- },
- args: ["html"],
- source: unescape('renderSlideOn%3A%20html%0A%22%09html%20div%20class%3A%20%27section%20center%27%3B%20with%3A%20%5B%0A%09%09html%20h1%20%0A%09%09%09with%3A%20%27The%20wonderful%20Jtalk%20%27%3B%0A%09%09%09with%3A%20%5B%0A%09%09%09%09html%20a%20%0A%09%09%09%09%09with%3A%20%27development%20tools%27%3B%0A%09%09%09%09%09onClick%3A%20%5BTabManager%20current%20open%5D%5D%3B%0A%09%09%09with%3A%20%27.%27%5D%0A%22'),
- messageSends: [],
- referencedClasses: []
- }),
- smalltalk.IDESlide);
- smalltalk.addClass('ContributionsSlide', smalltalk.Slide, [], 'Presentation');
- smalltalk.addMethod(
- unescape('_id'),
- smalltalk.method({
- selector: unescape('id'),
- category: 'accessing',
- fn: function () {
- var self = this;
- return "links";
- return self;
- },
- args: [],
- source: unescape('id%0A%09%5E%27links%27'),
- messageSends: [],
- referencedClasses: []
- }),
- smalltalk.ContributionsSlide);
- smalltalk.addMethod(
- unescape('_renderSlideOn_'),
- smalltalk.method({
- selector: unescape('renderSlideOn%3A'),
- category: 'rendering',
- fn: function (html) {
- var self = this;
- (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", [])));
- return self;
- },
- args: ["html"],
- source: unescape('renderSlideOn%3A%20html%0A%09html%20div%20class%3A%20%27section%27%3B%20with%3A%20%5B%0A%09%09html%20p%20with%3A%20%5B%0A%09%09%09html%20a%20href%3A%20%27http%3A//jtalk-project.org%27%3B%20with%3A%20%27jtalk-project.org%27%5D.%0A%09%09html%20p%20with%3A%20%5B%0A%09%09%09html%20a%20href%3A%20%27https%3A//github.com/NicolasPetton/jtalk%27%3B%20with%3A%20%27github.com/NicolasPetton/jtalk%27%5D.%0A%09%09html%20p%20with%3A%20%5B%0A%09%09%09html%20a%20href%3A%20%27http%3A//http%3A//groups.google.com/group/jtalk-project%27%3B%20with%3A%20%27groups.google.com/group/jtalk-project%27%5D%5D'),
- messageSends: ["class:", "with:", "p", "href:", "a", "div"],
- referencedClasses: []
- }),
- smalltalk.ContributionsSlide);
- smalltalk.addClass('JtalkAndCLI', smalltalk.Slide, [], 'Presentation');
- smalltalk.addMethod(
- unescape('_backgroundColor'),
- smalltalk.method({
- selector: unescape('backgroundColor'),
- category: 'not yet classified',
- fn: function () {
- var self = this;
- return unescape("%230A1");
- return self;
- },
- args: [],
- source: unescape('backgroundColor%0A%09%5E%27%230A1%27'),
- messageSends: [],
- referencedClasses: []
- }),
- smalltalk.JtalkAndCLI);
- smalltalk.addMethod(
- unescape('_id'),
- smalltalk.method({
- selector: unescape('id'),
- category: 'not yet classified',
- fn: function () {
- var self = this;
- return "JtalkAndCLI";
- return self;
- },
- args: [],
- source: unescape('id%0A%09%5E%27JtalkAndCLI%27'),
- messageSends: [],
- referencedClasses: []
- }),
- smalltalk.JtalkAndCLI);
- smalltalk.addMethod(
- unescape('_renderSlideOn_'),
- smalltalk.method({
- selector: unescape('renderSlideOn%3A'),
- category: 'not yet classified',
- fn: function (html) {
- var self = this;
- 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", []));}]);
- smalltalk.send(smalltalk.send(html, "_h2", []), "_with_", [unescape("jtalkc%20-%20a%20fairly%20elaborate%20bash%20script%20that%3A")]);
- 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"]);}]);
- return self;
- },
- args: ["html"],
- source: unescape('renderSlideOn%3A%20html%0A%09html%20h1%20with%3A%20%5B%0A%09%09html%20with%3A%20%27Jtalk%20and%20%27.%0A%09%09html%20span%20class%3A%20%27blue%27%3B%20with%3A%20%27the%20command%20line%27%5D.%0A%0A%09html%20h2%20with%3A%20%27jtalkc%20-%20a%20fairly%20elaborate%20bash%20script%20that%3A%27.%0A%0A%09html%20ul%20with%3A%20%5B%0A%09%09html%20li%20with%3A%20%27Uses%20Node.js%20to%20run%20the%20Jtalk%20Compiler%27.%0A%09%09html%20li%20with%3A%20%27Compiles%20.st%20files%20to%20.js%27.%0A%09%09html%20li%20with%3A%20%27Links%20.js%20files%20into%20a%20single%20one%27.%0A%09%09html%20li%20with%3A%20%27Adds%20class%20initilization%20and/or%20call%20to%20main%27.%0A%09%09html%20li%20with%3A%20%27Optionally%20runs%20Google%20Closure%20compiler%27%5D'),
- messageSends: ["with:", "h1", "class:", "span", "h2", "ul", "li"],
- referencedClasses: []
- }),
- smalltalk.JtalkAndCLI);
- smalltalk.addClass('JtalkAndNode', smalltalk.Slide, [], 'Presentation');
- smalltalk.addMethod(
- unescape('_backgroundColor'),
- smalltalk.method({
- selector: unescape('backgroundColor'),
- category: 'not yet classified',
- fn: function () {
- var self = this;
- return unescape("%230A1");
- return self;
- },
- args: [],
- source: unescape('backgroundColor%0A%09%5E%27%230A1%27'),
- messageSends: [],
- referencedClasses: []
- }),
- smalltalk.JtalkAndNode);
- smalltalk.addMethod(
- unescape('_id'),
- smalltalk.method({
- selector: unescape('id'),
- category: 'not yet classified',
- fn: function () {
- var self = this;
- return "JtalkAndNode";
- return self;
- },
- args: [],
- source: unescape('id%0A%09%5E%27JtalkAndNode%27'),
- messageSends: [],
- referencedClasses: []
- }),
- smalltalk.JtalkAndNode);
- smalltalk.addMethod(
- unescape('_renderSlideOn_'),
- smalltalk.method({
- selector: unescape('renderSlideOn%3A'),
- category: 'not yet classified',
- fn: function (html) {
- var self = this;
- 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", []));}]);
- smalltalk.send(smalltalk.send(html, "_h2", []), "_with_", ["Hello.st:"]);
- 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", []));}]);
- return self;
- },
- args: ["html"],
- source: unescape('renderSlideOn%3A%20html%0A%09html%20h1%20with%3A%20%5B%0A%09%09html%20with%3A%20%27Jtalk%20and%20%27.%0A%09%09html%20span%20class%3A%20%27blue%27%3B%20with%3A%20%27Node.js%27%5D.%0A%0A%09html%20h2%20with%3A%20%27Hello.st%3A%27.%0A%09html%20pre%20with%3A%20%5B%0A%09%09html%20div%20class%3A%20%27code2%27%3B%20with%3A%20%20%27Object%20subclass%3A%20%23Hello%0A%20%20%20%20%20%20%20%20instanceVariableNames%3A%20%27%27%27%27%0A%20%20%20%20%20%20%20%20category%3A%20%27%27Hello%27%27%21%0A%0A%21Hello%20class%20methodsFor%3A%20%27%27main%27%27%21%0Amain%0A%09console%20log%3A%20%27%27Hello%20world%20from%20JTalk%20in%20Node.js%27%27%0A%21%20%21%27%5D'),
- messageSends: ["with:", "h1", "class:", "span", "h2", "pre", "div"],
- referencedClasses: []
- }),
- smalltalk.JtalkAndNode);
- smalltalk.addClass('JtalkAndNode2', smalltalk.Slide, [], 'Presentation');
- smalltalk.addMethod(
- unescape('_backgroundColor'),
- smalltalk.method({
- selector: unescape('backgroundColor'),
- category: 'not yet classified',
- fn: function () {
- var self = this;
- return unescape("%230A1");
- return self;
- },
- args: [],
- source: unescape('backgroundColor%0A%09%5E%27%230A1%27'),
- messageSends: [],
- referencedClasses: []
- }),
- smalltalk.JtalkAndNode2);
- smalltalk.addMethod(
- unescape('_id'),
- smalltalk.method({
- selector: unescape('id'),
- category: 'not yet classified',
- fn: function () {
- var self = this;
- return "JtalkAndNode2";
- return self;
- },
- args: [],
- source: unescape('id%0A%09%5E%27JtalkAndNode2%27'),
- messageSends: [],
- referencedClasses: []
- }),
- smalltalk.JtalkAndNode2);
- smalltalk.addMethod(
- unescape('_renderSlideOn_'),
- smalltalk.method({
- selector: unescape('renderSlideOn%3A'),
- category: 'not yet classified',
- fn: function (html) {
- var self = this;
- 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", []));}]);
- smalltalk.send(smalltalk.send(html, "_h2", []), "_with_", ["Makefile:"]);
- 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", []));}]);
- smalltalk.send(smalltalk.send(html, "_h2", []), "_with_", ["hello:"]);
- 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", []));}]);
- return self;
- },
- args: ["html"],
- source: unescape('renderSlideOn%3A%20html%0A%09html%20h1%20with%3A%20%5B%0A%09%09html%20with%3A%20%27Jtalk%20and%20%27.%0A%09%09html%20span%20class%3A%20%27blue%27%3B%20with%3A%20%27Node.js%27%5D.%0A%0A%09html%20h2%20with%3A%20%27Makefile%3A%27.%0A%09html%20pre%20with%3A%20%5B%0A%09%09html%20div%20class%3A%20%27code2%27%3B%20with%3A%20%20%27Program.js%3A%20Hello.st%0A%09../../bin/jtalkc%20-N%20-m%20Hello%20Hello.st%20Program%0A%0Arun%3A%20Program.js%0A%09./hello%0A%0Aclean%3A%0A%09rm%20-f%20Program.js%20Hello.js%0A%27%5D.%0Ahtml%20h2%20with%3A%20%27hello%3A%27.%0A%09html%20pre%20with%3A%20%5B%0A%09%09html%20div%20class%3A%20%27code2%27%3B%20with%3A%20%20%27node%20Program.js%20%24@%27%5D'),
- messageSends: ["with:", "h1", "class:", "span", "h2", "pre", "div"],
- referencedClasses: []
- }),
- smalltalk.JtalkAndNode2);
- smalltalk.addClass('JtalkAndNode3', smalltalk.Slide, [], 'Presentation');
- smalltalk.addMethod(
- unescape('_backgroundColor'),
- smalltalk.method({
- selector: unescape('backgroundColor'),
- category: 'not yet classified',
- fn: function () {
- var self = this;
- return unescape("%230A1");
- return self;
- },
- args: [],
- source: unescape('backgroundColor%0A%09%5E%27%230A1%27'),
- messageSends: [],
- referencedClasses: []
- }),
- smalltalk.JtalkAndNode3);
- smalltalk.addMethod(
- unescape('_id'),
- smalltalk.method({
- selector: unescape('id'),
- category: 'not yet classified',
- fn: function () {
- var self = this;
- return "JtalkAndNode3";
- return self;
- },
- args: [],
- source: unescape('id%0A%09%5E%27JtalkAndNode3%27'),
- messageSends: [],
- referencedClasses: []
- }),
- smalltalk.JtalkAndNode3);
- smalltalk.addMethod(
- unescape('_renderSlideOn_'),
- smalltalk.method({
- selector: unescape('renderSlideOn%3A'),
- category: 'not yet classified',
- fn: function (html) {
- var self = this;
- 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", []));}]);
- smalltalk.send(smalltalk.send(html, "_h2", []), "_with_", [unescape("make%20clean%20%26%26%20make%20run%3A")]);
- 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", []));}]);
- return self;
- },
- args: ["html"],
- source: unescape('renderSlideOn%3A%20html%0A%09html%20h1%20with%3A%20%5B%0A%09%09html%20with%3A%20%27Jtalk%20and%20%27.%0A%09%09html%20span%20class%3A%20%27blue%27%3B%20with%3A%20%27Node.js%27%5D.%0A%0A%09html%20h2%20with%3A%20%27make%20clean%20%26%26%20make%20run%3A%27.%0A%0A%09html%20pre%20with%3A%20%5B%0A%09%09html%20div%20class%3A%20%27code2%27%3B%20with%3A%20%20%27rm%20-f%20Program.js%20Hello.js%0A../../bin/jtalkc%20-N%20-m%20Hello%20Hello.st%20Program%0ALoading%20libraries%20%20/home/gokr/jtalk/js/boot.js%20/home/gokr/jtalk/js/Kernel.js%0A/home/gokr/jtalk/js/Parser.js%20/home/gokr/jtalk/js/Compiler.js%0A/home/gokr/jtalk/js/init.js%20/home/gokr/jtalk/nodejs/nodecompile.js%0Aand%20compiling%20...%0ACompiling%20in%20debugMode%3A%20false%0AReading%20file%20Hello.st%0AExporting%20category%20Hello%20as%20Hello.js%0AAdding%20libraries%20%20/home/gokr/jtalk/js/boot.js%20/home/gokr/jtalk/js/Kernel.js%20%20...%0AAdding%20Jtalk%20code%20Hello.js%20...%0AAdding%20initializer%20/home/gokr/jtalk/js/init.js%20...%0AAdding%20call%20to%20Hello%20class%20%3E%3E%20main%20...%0AWriting%20Program.js%20...%0ADone.%0A./hello%27.%0Ahtml%20span%20class%3A%20%27blue%27%3B%20with%3A%27Hello%20world%20from%20JTalk%20in%20Node.js%27%5D'),
- messageSends: ["with:", "h1", "class:", "span", "h2", "pre", "div"],
- referencedClasses: []
- }),
- smalltalk.JtalkAndNode3);
- smalltalk.addClass('JtalkAndWebOS', smalltalk.Slide, [], 'Presentation');
- smalltalk.addMethod(
- unescape('_backgroundColor'),
- smalltalk.method({
- selector: unescape('backgroundColor'),
- category: 'not yet classified',
- fn: function () {
- var self = this;
- return unescape("%230A1");
- return self;
- },
- args: [],
- source: unescape('backgroundColor%0A%09%5E%27%230A1%27'),
- messageSends: [],
- referencedClasses: []
- }),
- smalltalk.JtalkAndWebOS);
- smalltalk.addMethod(
- unescape('_id'),
- smalltalk.method({
- selector: unescape('id'),
- category: 'not yet classified',
- fn: function () {
- var self = this;
- return "JtalkAndWebOS";
- return self;
- },
- args: [],
- source: unescape('id%0A%09%5E%27JtalkAndWebOS%27'),
- messageSends: [],
- referencedClasses: []
- }),
- smalltalk.JtalkAndWebOS);
- smalltalk.addMethod(
- unescape('_renderSlideOn_'),
- smalltalk.method({
- selector: unescape('renderSlideOn%3A'),
- category: 'not yet classified',
- fn: function (html) {
- var self = this;
- 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", []));}]);
- smalltalk.send(smalltalk.send(html, "_h2", []), "_with_", ["A really cool mobile OS based on Linux:"]);
- 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"]);}]);
- return self;
- },
- args: ["html"],
- source: unescape('renderSlideOn%3A%20html%0A%09html%20h1%20with%3A%20%5B%0A%09%09html%20with%3A%20%27Jtalk%20and%20%27.%0A%09%09html%20span%20class%3A%20%27blue%27%3B%20with%3A%20%27webOS%27%5D.%0A%0A%09html%20h2%20with%3A%20%27A%20really%20cool%20mobile%20OS%20based%20on%20Linux%3A%27.%0A%0A%09html%20ul%20with%3A%20%5B%0A%09%09html%20li%20with%3A%20%27The%20primary%20language%20in%20webOS%20is%20Javascript%27.%0A%09%09html%20li%20with%3A%20%27The%20new%20UI%20framework%20for%20webOS%203.0%20is%20called%20Enyo%27.%0A%09%09html%20li%20with%3A%20%27Regular%20apps%20run%20in%20V8%20+%20Webkit%27.%0A%09%09html%20li%20with%3A%20%27Background%20services%20run%20in%20Node.js%27%5D'),
- messageSends: ["with:", "h1", "class:", "span", "h2", "ul", "li"],
- referencedClasses: []
- }),
- smalltalk.JtalkAndWebOS);
- smalltalk.addClass('JtalkAndEnyo', smalltalk.Slide, [], 'Presentation');
- smalltalk.addMethod(
- unescape('_id'),
- smalltalk.method({
- selector: unescape('id'),
- category: 'not yet classified',
- fn: function () {
- var self = this;
- return "JtalkAndEnyo";
- return self;
- },
- args: [],
- source: unescape('id%0A%09%5E%27JtalkAndEnyo%27'),
- messageSends: [],
- referencedClasses: []
- }),
- smalltalk.JtalkAndEnyo);
- smalltalk.addMethod(
- unescape('_backgroundColor'),
- smalltalk.method({
- selector: unescape('backgroundColor'),
- category: 'not yet classified',
- fn: function () {
- var self = this;
- return unescape("%230A1");
- return self;
- },
- args: [],
- source: unescape('backgroundColor%0A%09%5E%27%230A1%27'),
- messageSends: [],
- referencedClasses: []
- }),
- smalltalk.JtalkAndEnyo);
- smalltalk.addMethod(
- unescape('_renderSlideOn_'),
- smalltalk.method({
- selector: unescape('renderSlideOn%3A'),
- category: 'not yet classified',
- fn: function (html) {
- var self = this;
- 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", []));}]);
- return self;
- },
- args: ["html"],
- source: unescape('renderSlideOn%3A%20html%0A%09html%20h1%20with%3A%20%5B%0A%09%09html%20with%3A%20%27Jtalk%20and%20%27.%0A%09%09html%20span%20class%3A%20%27blue%27%3B%20with%3A%20%27Enyo%27%5D.'),
- messageSends: ["with:", "h1", "class:", "span"],
- referencedClasses: []
- }),
- smalltalk.JtalkAndEnyo);
- smalltalk.addClass('PresentationNavigator', smalltalk.Widget, ['presentationBrush', 'currentPresentation', 'slideSelect'], 'Presentation');
- smalltalk.addMethod(
- unescape('_renderToolsOn_'),
- smalltalk.method({
- selector: unescape('renderToolsOn%3A'),
- category: 'rendering',
- fn: function (html) {
- var self = this;
- (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", [])));
- (function ($rec) {smalltalk.send($rec, "_with_", ["Reload"]);return smalltalk.send($rec, "_onClick_", [function () {return smalltalk.send(self, "_reload", []);}]);}(smalltalk.send(html, "_a", [])));
- (function ($rec) {smalltalk.send($rec, "_with_", [unescape("%u2190")]);return smalltalk.send($rec, "_onClick_", [function () {return smalltalk.send(self, "_previousSlide", []);}]);}(smalltalk.send(html, "_a", [])));
- (function ($rec) {smalltalk.send($rec, "_with_", [unescape("%u2192")]);return smalltalk.send($rec, "_onClick_", [function () {return smalltalk.send(self, "_nextSlide", []);}]);}(smalltalk.send(html, "_a", [])));
- return self;
- },
- args: ["html"],
- source: unescape('renderToolsOn%3A%20html%0A%09html%20a%20%0A%09%09with%3A%20%27IDE%27%3B%0A%09%09onClick%3A%20%5BTabManager%20current%20open%5D.%0A%09html%20a%0A%09%09with%3A%20%27Reload%27%3B%0A%09%09onClick%3A%20%5Bself%20reload%5D.%0A%09html%20a%0A%09%09with%3A%20%27%u2190%27%3B%0A%09%09onClick%3A%20%5Bself%20previousSlide%5D.%0A%09html%20a%0A%09%09with%3A%20%27%u2192%27%3B%0A%09%09onClick%3A%20%5Bself%20nextSlide%5D.'),
- messageSends: ["with:", "onClick:", "open", "current", "a", "reload", "previousSlide", "nextSlide"],
- referencedClasses: [smalltalk.TabManager]
- }),
- smalltalk.PresentationNavigator);
- smalltalk.addMethod(
- unescape('_setKeybindings'),
- smalltalk.method({
- selector: unescape('setKeybindings'),
- category: 'keybindings',
- fn: function () {
- var self = this;
- smalltalk.send(smalltalk.send(typeof window == "undefined" ? nil : window, "_jQuery_", [typeof document == "undefined" ? nil : document]), "_keyup_", [function (e) {var node = nil;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", []);}]);}]);}]);
- return self;
- },
- args: [],
- source: unescape('setKeybindings%0A%09%28window%20jQuery%3A%20document%29%20keyup%3A%20%5B%3Ae%20%7C%7C%20node%20%7C%0A%09%09node%20%3A%3D%20e%20target%20nodeName%20asLowercase.%0A%09%09%28node%20%3D%20%27textarea%27%20or%3A%20%5Bnode%20%3D%20%27input%27%5D%29%20ifFalse%3A%20%5B%0A%09%09%09e%20keyCode%20%3D%2039%20ifTrue%3A%20%5Bself%20nextSlide%5D.%0A%09%09%09e%20keyCode%20%3D%2037%20ifTrue%3A%20%5Bself%20previousSlide%5D%5D%5D'),
- messageSends: ["keyup:", "jQuery:", "asLowercase", "nodeName", "target", "ifFalse:", "or:", unescape("%3D"), "ifTrue:", "keyCode", "nextSlide", "previousSlide"],
- referencedClasses: []
- }),
- smalltalk.PresentationNavigator);
- smalltalk.addMethod(
- unescape('_checkHash'),
- smalltalk.method({
- selector: unescape('checkHash'),
- category: 'hash',
- fn: function () {
- var self = this;
- smalltalk.send(smalltalk.send(self, "_currentPresentation", []), "_checkHash", []);
- return self;
- },
- args: [],
- source: unescape('checkHash%0A%09self%20currentPresentation%20checkHash'),
- messageSends: ["checkHash", "currentPresentation"],
- referencedClasses: []
- }),
- smalltalk.PresentationNavigator);
- smalltalk.addMethod(
- unescape('_checkHashChange'),
- smalltalk.method({
- selector: unescape('checkHashChange'),
- category: 'hash',
- fn: function () {
- var self = this;
- smalltalk.send(smalltalk.send(typeof window == "undefined" ? nil : window, "_jQuery_", [typeof window == "undefined" ? nil : window]), "_bind_do_", ["hashchange", function () {return smalltalk.send(self, "_checkHash", []);}]);
- return self;
- },
- args: [],
- source: unescape('checkHashChange%0A%09%28window%20jQuery%3A%20window%29%20bind%3A%20%27hashchange%27%20do%3A%20%5Bself%20checkHash%5D'),
- messageSends: ["bind:do:", "jQuery:", "checkHash"],
- referencedClasses: []
- }),
- smalltalk.PresentationNavigator);
- smalltalk.addMethod(
- unescape('_renderPresentationSelectOn_'),
- smalltalk.method({
- selector: unescape('renderPresentationSelectOn%3A'),
- category: 'rendering',
- fn: function (html) {
- var self = this;
- var presentationSelect = nil;
- presentationSelect = smalltalk.send(html, "_select", []);
- (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));
- return self;
- },
- args: ["html"],
- source: unescape('renderPresentationSelectOn%3A%20html%0A%09%7CpresentationSelect%7C%0A%09presentationSelect%20%3A%3D%20html%20select.%0A%09presentationSelect%0A%09%09onChange%3A%20%5Bself%20%20selectPresentationNamed%3A%20%20presentationSelect%20asJQuery%20val%5D%3B%0A%09%09with%3A%20%5B%09Presentation%20concretePresentationsDo%3A%20%5B%3AaPresentationClass%20%7C%20%20%20%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%09%09%09%09%09%09%09html%20option%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%09%09%09%09%09%09%09%09value%3A%20aPresentationClass%20name%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%09%09%09%09%09%09%09%09with%3A%20aPresentationClass%20title%20%5D%20%5D.'),
- messageSends: ["select", "onChange:", "selectPresentationNamed:", "val", "asJQuery", "with:", "concretePresentationsDo:", "value:", "name", "title", "option"],
- referencedClasses: [smalltalk.Presentation]
- }),
- smalltalk.PresentationNavigator);
- smalltalk.addMethod(
- unescape('_open'),
- smalltalk.method({
- selector: unescape('open'),
- category: 'rendering',
- fn: function () {
- var self = this;
- 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);}]);
- return self;
- },
- args: [],
- source: unescape('open%0A%09%28window%20jQuery%3A%20document%29%20%20ready%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%09self%20%0A%20%20%20%20%20%20%20%20%20%20%09%09appendToJQuery%3A%20%27body%27%20asJQuery%3B%0A%20%20%20%20%20%20%20%20%20%20%09%09setKeybindings%3B%0A%20%20%20%20%20%20%20%20%20%20%09%09checkHashChange.%0A%20%20%20%20%20%20%20%20%5D.'),
- messageSends: ["ready:", "jQuery:", "appendToJQuery:", "asJQuery", "setKeybindings", "checkHashChange"],
- referencedClasses: []
- }),
- smalltalk.PresentationNavigator);
- smalltalk.addMethod(
- unescape('_renderOn_'),
- smalltalk.method({
- selector: unescape('renderOn%3A'),
- category: 'rendering',
- fn: function (html){
- var self=this;
- (function($rec){smalltalk.send($rec, "_type_", [unescape("text/css")]);return smalltalk.send($rec, "_with_", [smalltalk.send(self, "_style", [])]);})(smalltalk.send(html, "_style", []));
- (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", []));
- self['@presentationBrush']=(function($rec){smalltalk.send($rec, "_id_", ["presentation"]);return smalltalk.send($rec, "_yourself", []);})(smalltalk.send(html, "_div", []));
- smalltalk.send(self, "_renderCurrentPresentation", []);
- return self;},
- args: ["html"],
- source: unescape('renderOn%3A%20html%0A%09html%20style%0A%09%09type%3A%20%27text/css%27%3B%0A%09%09with%3A%20self%20style.%0A%09html%20div%0A%09%09id%3A%20%27navigator%27%3B%0A%09%09with%3A%20%5B%09self%0A%09%09%09%09%09renderToolsOn%3A%20html%3B%0A%09%09%09%09%09renderPresentationSelectOn%3A%20html%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%09%09%09renderSlideSelectOn%3A%20html%5D.%0A%0A%09presentationBrush%20%3A%3D%20html%20div%20%0A%09%09%09%09%09%09%09id%3A%20%27presentation%27%3B%0A%09%09%09%09%09%09%09yourself.%0A%0A%09self%20renderCurrentPresentation.'),
- messageSends: ["type:", "with:", "style", "id:", "renderToolsOn:", "renderPresentationSelectOn:", "renderSlideSelectOn:", "div", "yourself", "renderCurrentPresentation"],
- referencedClasses: []
- }),
- smalltalk.PresentationNavigator);
- smalltalk.addMethod(
- unescape('_selectPresentation_'),
- smalltalk.method({
- selector: unescape('selectPresentation%3A'),
- category: 'callbacks',
- fn: function (aPresentationClass) {
- var self = this;
- smalltalk.send(self, "_currentPresentation_", [smalltalk.send(aPresentationClass, "_new", [])]);
- smalltalk.send(self, "_renderCurrentPresentation", []);
- return self;
- },
- args: ["aPresentationClass"],
- source: unescape('selectPresentation%3A%20aPresentationClass%0A%09self%20currentPresentation%3A%20aPresentationClass%20new.%0A%09self%20renderCurrentPresentation.'),
- messageSends: ["currentPresentation:", "new", "renderCurrentPresentation"],
- referencedClasses: []
- }),
- smalltalk.PresentationNavigator);
- smalltalk.addMethod(
- unescape('_currentPresentation_'),
- smalltalk.method({
- selector: unescape('currentPresentation%3A'),
- category: 'accessing',
- fn: function (aPresentation) {
- var self = this;
- self['@currentPresentation'] = aPresentation;
- return self;
- },
- args: ["aPresentation"],
- source: unescape('currentPresentation%3A%20aPresentation%0A%09currentPresentation%20%3A%3D%20aPresentation.'),
- messageSends: [],
- referencedClasses: []
- }),
- smalltalk.PresentationNavigator);
- smalltalk.addMethod(
- unescape('_currentPresentation'),
- smalltalk.method({
- selector: unescape('currentPresentation'),
- category: 'accessing',
- fn: function () {
- var self = this;
- return ($receiver = self['@currentPresentation']) == nil ||
- $receiver == undefined ? function () {return self['@currentPresentation'] = smalltalk.send(smalltalk.send(smalltalk.send(smalltalk.Presentation || Presentation, "_concretePresentations", []), "_first", []), "_new", []);}() : $receiver;
- return self;
- },
- args: [],
- source: unescape('currentPresentation%0A%09%5E%20%20currentPresentation%20ifNil%3A%20%5BcurrentPresentation%20%3A%3D%20Presentation%20concretePresentations%20first%20new%5D.'),
- messageSends: ["ifNil:", "new", "first", "concretePresentations"],
- referencedClasses: [smalltalk.Presentation]
- }),
- smalltalk.PresentationNavigator);
- smalltalk.addMethod(
- unescape('_selectPresentationNamed_'),
- smalltalk.method({
- selector: unescape('selectPresentationNamed%3A'),
- category: 'callbacks',
- fn: function (aString){
- var self=this;
- var presentationClass=nil;
- presentationClass=smalltalk.send(smalltalk.send((smalltalk.Smalltalk || Smalltalk), "_current", []), "_at_", [aString]);
- (($receiver = presentationClass) != nil && $receiver != undefined) ? (function(){return smalltalk.send(self, "_selectPresentation_", [presentationClass]);})() : nil;
- smalltalk.send(self, "_updateSlideSelect", []);
- return self;},
- args: ["aString"],
- source: unescape('selectPresentationNamed%3A%20aString%0A%09%7CpresentationClass%7C%0A%09presentationClass%20%3A%3D%20%20%28Smalltalk%20current%20at%3A%20aString%29.%0A%09presentationClass%20ifNotNil%3A%20%5B%20self%20selectPresentation%3A%20presentationClass%20%5D.%0A%09self%20updateSlideSelect.'),
- messageSends: ["at:", "current", "ifNotNil:", "selectPresentation:", "updateSlideSelect"],
- referencedClasses: [smalltalk.Smalltalk]
- }),
- smalltalk.PresentationNavigator);
- smalltalk.addMethod(
- unescape('_style'),
- smalltalk.method({
- selector: unescape('style'),
- category: 'accessing',
- fn: function () {
- var self = this;
- 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");
- return self;
- },
- args: [],
- source: unescape('style%0A%09%5E%20%27%0A%23navigator%20%7B%0A%20%20%20%20z-index%3A%201%3B%0A%20%20%20%20position%3A%20fixed%3B%0A%20%20%20%20top%3A%200%3B%0A%20%20%20%20left%3A%2050%25%3B%0A%20%20%20%20margin-left%3A%20-150px%3B%0A%20%20%20%20padding%3A%205px%3B%0A%20%20%20%20border-radius%3A%205px%3B%0A%20%20%20%20-moz-border-radius%3A%205px%3B%0A%20%20%20%20-webkit-border-radius%3A%205px%3B%0A%20%20%20%20background%3A%20%23333%3B%0A%20%20%20%20opacity%3A%200.3%3B%0A%20%20%20%20color%3A%20%23eee%3B%0A%7D%0A%0A%23navigator%20a%20%7B%0A%20%20%20%20font-weight%3A%20bold%3B%0A%20%20%20%20color%3A%20%23eee%3B%0A%20%20%20%20text-decoration%3A%20none%3B%0A%20%20%20%20cursor%3A%20pointer%3B%0A%20%20%20%20padding%3A%200%202px%3B%0A%20%20%20%20font-size%3A%2014px%3B%0A%7D%0A%0A%23navigator%3Ahover%20%7B%0A%20%20%20%20opacity%3A%200.8%3B%0A%7D%0A%27'),
- messageSends: [],
- referencedClasses: []
- }),
- smalltalk.PresentationNavigator);
- smalltalk.addMethod(
- unescape('_renderCurrentPresentation'),
- smalltalk.method({
- selector: unescape('renderCurrentPresentation'),
- category: 'rendering',
- fn: function () {
- var self = this;
- smalltalk.send(self['@presentationBrush'], "_contents_", [function (html) {return function ($rec) {smalltalk.send($rec, "_renderOn_", [html]);return smalltalk.send($rec, "_checkHash", []);}(smalltalk.send(self, "_currentPresentation", []));}]);
- return self;
- },
- args: [],
- source: unescape('renderCurrentPresentation%0A%09presentationBrush%20contents%3A%20%5B%3Ahtml%20%7C%0A%20%20%20%20%20%20%20%20%09self%20currentPresentation%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%09renderOn%3A%20html%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%09checkHash.%0A%20%20%20%20%20%20%20%20%5D.%0A'),
- messageSends: ["contents:", "renderOn:", "checkHash", "currentPresentation"],
- referencedClasses: []
- }),
- smalltalk.PresentationNavigator);
- smalltalk.addMethod(
- unescape('_previousSlide'),
- smalltalk.method({
- selector: unescape('previousSlide'),
- category: 'callbacks',
- fn: function () {
- var self = this;
- smalltalk.send(smalltalk.send(self, "_currentPresentation", []), "_previousSlide", []);
- return self;
- },
- args: [],
- source: unescape('previousSlide%0A%09self%20currentPresentation%20previousSlide'),
- messageSends: ["previousSlide", "currentPresentation"],
- referencedClasses: []
- }),
- smalltalk.PresentationNavigator);
- smalltalk.addMethod(
- unescape('_nextSlide'),
- smalltalk.method({
- selector: unescape('nextSlide'),
- category: 'callbacks',
- fn: function () {
- var self = this;
- smalltalk.send(smalltalk.send(self, "_currentPresentation", []), "_nextSlide", []);
- return self;
- },
- args: [],
- source: unescape('nextSlide%0A%09self%20currentPresentation%20nextSlide'),
- messageSends: ["nextSlide", "currentPresentation"],
- referencedClasses: []
- }),
- smalltalk.PresentationNavigator);
- smalltalk.addMethod(
- unescape('_reload'),
- smalltalk.method({
- selector: unescape('reload'),
- category: 'callbacks',
- fn: function () {
- var self = this;
- smalltalk.send(self, "_currentPresentation_", [smalltalk.send(smalltalk.send(smalltalk.send(self, "_currentPresentation", []), "_class", []), "_new", [])]);
- smalltalk.send(self, "_renderCurrentPresentation", []);
- return self;
- },
- args: [],
- source: unescape('reload%0A%09self%20currentPresentation%3A%20self%20currentPresentation%20class%20new.%0A%09self%20renderCurrentPresentation.'),
- messageSends: ["currentPresentation:", "new", "class", "currentPresentation", "renderCurrentPresentation"],
- referencedClasses: []
- }),
- smalltalk.PresentationNavigator);
- smalltalk.addMethod(
- unescape('_renderSlideSelectOn_'),
- smalltalk.method({
- selector: unescape('renderSlideSelectOn%3A'),
- category: 'rendering',
- fn: function (html){
- var self=this;
- self['@slideSelect']=smalltalk.send(html, "_select", []);
- smalltalk.send(self['@slideSelect'], "_onChange_", [(function(){return smalltalk.send(self, "_selectSlideAt_", [smalltalk.send(smalltalk.send(self['@slideSelect'], "_asJQuery", []), "_val", [])]);})]);
- smalltalk.send(self, "_updateSlideSelect", []);
- return self;},
- args: ["html"],
- source: unescape('renderSlideSelectOn%3A%20html%0A%09slideSelect%20%3A%3D%20html%20select.%0A%09slideSelect%20onChange%3A%20%5B%20self%20%20selectSlideAt%3A%20%20slideSelect%20asJQuery%20val%20%5D.%0A%09self%20updateSlideSelect.'),
- messageSends: ["select", "onChange:", "selectSlideAt:", "val", "asJQuery", "updateSlideSelect"],
- referencedClasses: []
- }),
- smalltalk.PresentationNavigator);
- smalltalk.addMethod(
- unescape('_selectSlideAt_'),
- smalltalk.method({
- selector: unescape('selectSlideAt%3A'),
- category: 'callbacks',
- fn: function (anInteger){
- var self=this;
- smalltalk.send((smalltalk.Transcript || Transcript), "_show_", [anInteger]);
- smalltalk.send(smalltalk.send(self, "_currentPresentation", []), "_moveAt_", [anInteger]);
- return self;},
- args: ["anInteger"],
- source: unescape('selectSlideAt%3A%20anInteger%0A%09Transcript%20show%3A%20anInteger.%0A%09self%20currentPresentation%20moveAt%3A%20anInteger'),
- messageSends: ["show:", "moveAt:", "currentPresentation"],
- referencedClasses: [smalltalk.Transcript]
- }),
- smalltalk.PresentationNavigator);
- smalltalk.addMethod(
- unescape('_updateSlideSelect'),
- smalltalk.method({
- selector: unescape('updateSlideSelect'),
- category: 'rendering',
- fn: function (){
- var self=this;
- smalltalk.send(self['@slideSelect'], "_contents_", [(function(html){var index=nil;
- 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", []));})]);})]);
- return self;},
- args: [],
- source: unescape('updateSlideSelect%0A%09slideSelect%20contents%3A%20%5B%3Ahtml%7C%20%7Cindex%7C%0A%09%09%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%09%09index%20%3A%3D%200.%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%09%09%20%20%20%20%20%20%20%09%09self%20currentPresentation%20slidesDo%3A%20%5B%20%3AaSlide%7C%20%20%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%09%09%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%09%09%09%09index%20%3A%3D%20index%20+%201.%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%09%09%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%09%09%09%09html%20option%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%09%09%20%20%20%20%09%09%09%09%09value%3A%20index%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%09%09%09%09%09%09%09%09with%3A%20aSlide%20title%20%5D%20%5D.'),
- messageSends: ["contents:", "slidesDo:", "currentPresentation", unescape("+"), "value:", "with:", "title", "option"],
- referencedClasses: []
- }),
- smalltalk.PresentationNavigator);
- smalltalk.addMethod(
- unescape('_initialize'),
- smalltalk.method({
- selector: unescape('initialize'),
- category: 'initialize',
- fn: function () {
- var self = this;
- return smalltalk.send(self, "_open", []);
- return self;
- },
- args: [],
- source: unescape('initialize%0A%09%5E%20self%20open'),
- messageSends: ["open"],
- referencedClasses: []
- }),
- smalltalk.PresentationNavigator.klass);
- smalltalk.addMethod(
- unescape('_open'),
- smalltalk.method({
- selector: unescape('open'),
- category: 'initialize',
- fn: function () {
- var self = this;
- return smalltalk.send(smalltalk.send(self, "_new", []), "_open", []);
- return self;
- },
- args: [],
- source: unescape('open%0A%09%5E%20self%20new%20open'),
- messageSends: ["open", "new"],
- referencedClasses: []
- }),
- smalltalk.PresentationNavigator.klass);
|