Presentation.js 274 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108
  1. define("amber-presentation/Presentation", ["amber/boot", "amber_core/Web"], function($boot){
  2. var $core=$boot.api,nil=$boot.nil,$recv=$boot.asReceiver,$globals=$boot.globals;
  3. var smalltalk=$core,_st=$recv,globals=$globals;
  4. $core.addPackage('Presentation');
  5. $core.packages["Presentation"].transport = {"type":"amd","amdNamespace":"amber-presentation"};
  6. $core.addClass('Presentation', $globals.Widget, ['currentSlide', 'slides'], 'Presentation');
  7. $core.addMethod(
  8. $core.method({
  9. selector: "author",
  10. protocol: 'accessing',
  11. fn: function (){
  12. var self=this;
  13. return "John Smith";
  14. },
  15. //>>excludeStart("ide", pragmas.excludeIdeData);
  16. args: [],
  17. source: "author\x0a\x09^'John Smith'",
  18. referencedClasses: [],
  19. //>>excludeEnd("ide");
  20. messageSends: []
  21. }),
  22. $globals.Presentation);
  23. $core.addMethod(
  24. $core.method({
  25. selector: "currentSlide",
  26. protocol: 'accessing',
  27. fn: function (){
  28. var self=this;
  29. var $1;
  30. $1=self["@currentSlide"];
  31. return $1;
  32. },
  33. //>>excludeStart("ide", pragmas.excludeIdeData);
  34. args: [],
  35. source: "currentSlide\x0a\x09^currentSlide",
  36. referencedClasses: [],
  37. //>>excludeEnd("ide");
  38. messageSends: []
  39. }),
  40. $globals.Presentation);
  41. $core.addMethod(
  42. $core.method({
  43. selector: "currentSlide:",
  44. protocol: 'accessing',
  45. fn: function (aSlide){
  46. var self=this;
  47. self["@currentSlide"]=aSlide;
  48. return self;
  49. },
  50. //>>excludeStart("ide", pragmas.excludeIdeData);
  51. args: ["aSlide"],
  52. source: "currentSlide: aSlide\x0a\x09currentSlide := aSlide",
  53. referencedClasses: [],
  54. //>>excludeEnd("ide");
  55. messageSends: []
  56. }),
  57. $globals.Presentation);
  58. $core.addMethod(
  59. $core.method({
  60. selector: "currentSlideIndex",
  61. protocol: 'actions',
  62. fn: function (){
  63. var self=this;
  64. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  65. return $core.withContext(function($ctx1) {
  66. //>>excludeEnd("ctx");
  67. var $1;
  68. $1=$recv(self._slides())._indexOf_ifAbsent_(self._currentSlide(),(function(){
  69. return (1);
  70. }));
  71. return $1;
  72. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  73. }, function($ctx1) {$ctx1.fill(self,"currentSlideIndex",{},$globals.Presentation)});
  74. //>>excludeEnd("ctx");
  75. },
  76. //>>excludeStart("ide", pragmas.excludeIdeData);
  77. args: [],
  78. source: "currentSlideIndex\x0a\x09^ self slides indexOf: self currentSlide ifAbsent: [1]",
  79. referencedClasses: [],
  80. //>>excludeEnd("ide");
  81. messageSends: ["indexOf:ifAbsent:", "slides", "currentSlide"]
  82. }),
  83. $globals.Presentation);
  84. $core.addMethod(
  85. $core.method({
  86. selector: "description",
  87. protocol: 'accessing',
  88. fn: function (){
  89. var self=this;
  90. return "A presentation written in Jtalk";
  91. },
  92. //>>excludeStart("ide", pragmas.excludeIdeData);
  93. args: [],
  94. source: "description\x0a\x09^'A presentation written in Jtalk'",
  95. referencedClasses: [],
  96. //>>excludeEnd("ide");
  97. messageSends: []
  98. }),
  99. $globals.Presentation);
  100. $core.addMethod(
  101. $core.method({
  102. selector: "email",
  103. protocol: 'accessing',
  104. fn: function (){
  105. var self=this;
  106. return "john@smith.com";
  107. },
  108. //>>excludeStart("ide", pragmas.excludeIdeData);
  109. args: [],
  110. source: "email\x0a\x09^'john@smith.com'",
  111. referencedClasses: [],
  112. //>>excludeEnd("ide");
  113. messageSends: []
  114. }),
  115. $globals.Presentation);
  116. $core.addMethod(
  117. $core.method({
  118. selector: "initSlides",
  119. protocol: 'initialization',
  120. fn: function (){
  121. var self=this;
  122. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  123. return $core.withContext(function($ctx1) {
  124. //>>excludeEnd("ctx");
  125. self["@slides"]=$recv(self._slideClasses())._collect_((function(each){
  126. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  127. return $core.withContext(function($ctx2) {
  128. //>>excludeEnd("ctx");
  129. return $recv(each)._on_(self);
  130. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  131. }, function($ctx2) {$ctx2.fillBlock({each:each},$ctx1,1)});
  132. //>>excludeEnd("ctx");
  133. }));
  134. return self;
  135. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  136. }, function($ctx1) {$ctx1.fill(self,"initSlides",{},$globals.Presentation)});
  137. //>>excludeEnd("ctx");
  138. },
  139. //>>excludeStart("ide", pragmas.excludeIdeData);
  140. args: [],
  141. source: "initSlides\x0a\x09slides := self slideClasses collect: [:each | each on: self]",
  142. referencedClasses: [],
  143. //>>excludeEnd("ide");
  144. messageSends: ["collect:", "slideClasses", "on:"]
  145. }),
  146. $globals.Presentation);
  147. $core.addMethod(
  148. $core.method({
  149. selector: "moveAt:",
  150. protocol: 'actions',
  151. fn: function (anInteger){
  152. var self=this;
  153. var next;
  154. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  155. return $core.withContext(function($ctx1) {
  156. //>>excludeEnd("ctx");
  157. var $1,$receiver;
  158. next=$recv(self._slides())._at_ifAbsent_(anInteger,(function(){
  159. return nil;
  160. }));
  161. $1=next;
  162. if(($receiver = $1) == null || $receiver.isNil){
  163. $1;
  164. } else {
  165. self["@currentSlide"]=next;
  166. self["@currentSlide"];
  167. $recv(next)._show();
  168. };
  169. return self;
  170. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  171. }, function($ctx1) {$ctx1.fill(self,"moveAt:",{anInteger:anInteger,next:next},$globals.Presentation)});
  172. //>>excludeEnd("ctx");
  173. },
  174. //>>excludeStart("ide", pragmas.excludeIdeData);
  175. args: ["anInteger"],
  176. source: "moveAt: anInteger\x0a\x09| next |\x0a\x09next := self slides \x0a\x09\x09\x09at: anInteger\x0a\x09\x09\x09ifAbsent: [nil].\x0a\x09next ifNotNil: [currentSlide := next. next show]",
  177. referencedClasses: [],
  178. //>>excludeEnd("ide");
  179. messageSends: ["at:ifAbsent:", "slides", "ifNotNil:", "show"]
  180. }),
  181. $globals.Presentation);
  182. $core.addMethod(
  183. $core.method({
  184. selector: "nextSlide",
  185. protocol: 'actions',
  186. fn: function (){
  187. var self=this;
  188. var next;
  189. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  190. return $core.withContext(function($ctx1) {
  191. //>>excludeEnd("ctx");
  192. var $1,$2,$receiver;
  193. $1=self._currentSlide();
  194. if(($receiver = $1) == null || $receiver.isNil){
  195. $1;
  196. } else {
  197. next=$recv(self._slides())._at_ifAbsent_($recv(self._currentSlideIndex()).__plus((1)),(function(){
  198. return nil;
  199. }));
  200. next;
  201. $2=next;
  202. if(($receiver = $2) == null || $receiver.isNil){
  203. $2;
  204. } else {
  205. self["@currentSlide"]=next;
  206. self["@currentSlide"];
  207. $recv(next)._show();
  208. };
  209. };
  210. return self;
  211. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  212. }, function($ctx1) {$ctx1.fill(self,"nextSlide",{next:next},$globals.Presentation)});
  213. //>>excludeEnd("ctx");
  214. },
  215. //>>excludeStart("ide", pragmas.excludeIdeData);
  216. args: [],
  217. source: "nextSlide\x0a\x09| next |\x0a\x09self currentSlide ifNotNil: [\x0a\x09\x09next := self slides \x0a\x09\x09\x09at: (self currentSlideIndex) + 1\x0a\x09\x09\x09ifAbsent: [nil].\x0a\x09\x09next ifNotNil: [currentSlide := next. next show]]",
  218. referencedClasses: [],
  219. //>>excludeEnd("ide");
  220. messageSends: ["ifNotNil:", "currentSlide", "at:ifAbsent:", "slides", "+", "currentSlideIndex", "show"]
  221. }),
  222. $globals.Presentation);
  223. $core.addMethod(
  224. $core.method({
  225. selector: "previousSlide",
  226. protocol: 'actions',
  227. fn: function (){
  228. var self=this;
  229. var next;
  230. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  231. return $core.withContext(function($ctx1) {
  232. //>>excludeEnd("ctx");
  233. var $1,$2,$receiver;
  234. $1=self._currentSlide();
  235. if(($receiver = $1) == null || $receiver.isNil){
  236. $1;
  237. } else {
  238. next=$recv(self._slides())._at_ifAbsent_($recv(self._currentSlideIndex()).__minus((1)),(function(){
  239. return nil;
  240. }));
  241. next;
  242. $2=next;
  243. if(($receiver = $2) == null || $receiver.isNil){
  244. $2;
  245. } else {
  246. self["@currentSlide"]=next;
  247. self["@currentSlide"];
  248. $recv(next)._show();
  249. };
  250. };
  251. return self;
  252. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  253. }, function($ctx1) {$ctx1.fill(self,"previousSlide",{next:next},$globals.Presentation)});
  254. //>>excludeEnd("ctx");
  255. },
  256. //>>excludeStart("ide", pragmas.excludeIdeData);
  257. args: [],
  258. source: "previousSlide\x0a\x09| next |\x0a\x09self currentSlide ifNotNil: [\x0a\x09\x09next := self slides \x0a\x09\x09\x09at: (self currentSlideIndex) - 1\x0a\x09\x09\x09ifAbsent: [nil].\x0a\x09\x09next ifNotNil: [currentSlide := next. next show]]",
  259. referencedClasses: [],
  260. //>>excludeEnd("ide");
  261. messageSends: ["ifNotNil:", "currentSlide", "at:ifAbsent:", "slides", "-", "currentSlideIndex", "show"]
  262. }),
  263. $globals.Presentation);
  264. $core.addMethod(
  265. $core.method({
  266. selector: "renderOn:",
  267. protocol: 'rendering',
  268. fn: function (html){
  269. var self=this;
  270. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  271. return $core.withContext(function($ctx1) {
  272. //>>excludeEnd("ctx");
  273. var $1,$2,$3,$4;
  274. $1=$recv(html)._style();
  275. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  276. $ctx1.sendIdx["style"]=1;
  277. //>>excludeEnd("ctx");
  278. $recv($1)._type_("text/css");
  279. $2=$recv($1)._with_(self._style());
  280. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  281. $ctx1.sendIdx["with:"]=1;
  282. //>>excludeEnd("ctx");
  283. $3=$recv(html)._div();
  284. $recv($3)._id_("slides");
  285. $4=$recv($3)._with_((function(){
  286. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  287. return $core.withContext(function($ctx2) {
  288. //>>excludeEnd("ctx");
  289. return self._renderSlidesOn_(html);
  290. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  291. }, function($ctx2) {$ctx2.fillBlock({},$ctx1,1)});
  292. //>>excludeEnd("ctx");
  293. }));
  294. return self;
  295. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  296. }, function($ctx1) {$ctx1.fill(self,"renderOn:",{html:html},$globals.Presentation)});
  297. //>>excludeEnd("ctx");
  298. },
  299. //>>excludeStart("ide", pragmas.excludeIdeData);
  300. args: ["html"],
  301. source: "renderOn: html\x0a\x09html style\x0a\x09\x09type: 'text/css';\x0a\x09\x09with: self style.\x0a\x09html div \x0a\x09\x09id: 'slides';\x0a\x09\x09with: [self renderSlidesOn: html]",
  302. referencedClasses: [],
  303. //>>excludeEnd("ide");
  304. messageSends: ["type:", "style", "with:", "id:", "div", "renderSlidesOn:"]
  305. }),
  306. $globals.Presentation);
  307. $core.addMethod(
  308. $core.method({
  309. selector: "renderSlidesOn:",
  310. protocol: 'rendering',
  311. fn: function (html){
  312. var self=this;
  313. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  314. return $core.withContext(function($ctx1) {
  315. //>>excludeEnd("ctx");
  316. var $1,$2,$receiver;
  317. $1=self._slides();
  318. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  319. $ctx1.sendIdx["slides"]=1;
  320. //>>excludeEnd("ctx");
  321. $recv($1)._do_((function(each){
  322. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  323. return $core.withContext(function($ctx2) {
  324. //>>excludeEnd("ctx");
  325. return $recv(each)._renderOn_(html);
  326. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  327. }, function($ctx2) {$ctx2.fillBlock({each:each},$ctx1,1)});
  328. //>>excludeEnd("ctx");
  329. }));
  330. $2=self["@currentSlide"];
  331. if(($receiver = $2) == null || $receiver.isNil){
  332. self["@currentSlide"]=$recv(self._slides())._first();
  333. self["@currentSlide"];
  334. } else {
  335. $2;
  336. };
  337. self._showCurrentSlide();
  338. return self;
  339. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  340. }, function($ctx1) {$ctx1.fill(self,"renderSlidesOn:",{html:html},$globals.Presentation)});
  341. //>>excludeEnd("ctx");
  342. },
  343. //>>excludeStart("ide", pragmas.excludeIdeData);
  344. args: ["html"],
  345. source: "renderSlidesOn: html\x0a\x09self slides do: [:each | \x0a\x09\x09each renderOn: html].\x0a\x09currentSlide ifNil: [currentSlide := self slides first].\x0a\x09self showCurrentSlide",
  346. referencedClasses: [],
  347. //>>excludeEnd("ide");
  348. messageSends: ["do:", "slides", "renderOn:", "ifNil:", "first", "showCurrentSlide"]
  349. }),
  350. $globals.Presentation);
  351. $core.addMethod(
  352. $core.method({
  353. selector: "showCurrentSlide",
  354. protocol: 'actions',
  355. fn: function (){
  356. var self=this;
  357. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  358. return $core.withContext(function($ctx1) {
  359. //>>excludeEnd("ctx");
  360. var $1,$2,$6,$5,$4,$3,$7,$8,$receiver;
  361. $1=self._currentSlide();
  362. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  363. $ctx1.sendIdx["currentSlide"]=1;
  364. //>>excludeEnd("ctx");
  365. if(($receiver = $1) == null || $receiver.isNil){
  366. $1;
  367. } else {
  368. $2=".slide"._asJQuery();
  369. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  370. $ctx1.sendIdx["asJQuery"]=1;
  371. //>>excludeEnd("ctx");
  372. $recv($2)._hide();
  373. $6=self._currentSlide();
  374. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  375. $ctx1.sendIdx["currentSlide"]=2;
  376. //>>excludeEnd("ctx");
  377. $5=$recv($6)._id();
  378. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  379. $ctx1.sendIdx["id"]=1;
  380. //>>excludeEnd("ctx");
  381. $4="#".__comma($5);
  382. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  383. $ctx1.sendIdx[","]=1;
  384. //>>excludeEnd("ctx");
  385. $3=$recv($4)._asJQuery();
  386. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  387. $ctx1.sendIdx["asJQuery"]=2;
  388. //>>excludeEnd("ctx");
  389. $recv($3)._show();
  390. $7="title"._asJQuery();
  391. $8=$recv($recv(self._title()).__comma(" - ")).__comma($recv(self._currentSlide())._id());
  392. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  393. $ctx1.sendIdx[","]=2;
  394. //>>excludeEnd("ctx");
  395. $recv($7)._text_($8);
  396. };
  397. return self;
  398. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  399. }, function($ctx1) {$ctx1.fill(self,"showCurrentSlide",{},$globals.Presentation)});
  400. //>>excludeEnd("ctx");
  401. },
  402. //>>excludeStart("ide", pragmas.excludeIdeData);
  403. args: [],
  404. source: "showCurrentSlide\x0a\x09self currentSlide ifNotNil: [\x0a\x09\x09'.slide' asJQuery hide.\x0a\x09\x09('#', self currentSlide id) asJQuery show.\x0a \x09'title' asJQuery text: self title, ' - ', self currentSlide id.\x0a ]",
  405. referencedClasses: [],
  406. //>>excludeEnd("ide");
  407. messageSends: ["ifNotNil:", "currentSlide", "hide", "asJQuery", "show", ",", "id", "text:", "title"]
  408. }),
  409. $globals.Presentation);
  410. $core.addMethod(
  411. $core.method({
  412. selector: "slideClasses",
  413. protocol: 'accessing',
  414. fn: function (){
  415. var self=this;
  416. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  417. return $core.withContext(function($ctx1) {
  418. //>>excludeEnd("ctx");
  419. var $1;
  420. $1=self._subclassResponsibility();
  421. return $1;
  422. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  423. }, function($ctx1) {$ctx1.fill(self,"slideClasses",{},$globals.Presentation)});
  424. //>>excludeEnd("ctx");
  425. },
  426. //>>excludeStart("ide", pragmas.excludeIdeData);
  427. args: [],
  428. source: "slideClasses\x0a\x09^self subclassResponsibility",
  429. referencedClasses: [],
  430. //>>excludeEnd("ide");
  431. messageSends: ["subclassResponsibility"]
  432. }),
  433. $globals.Presentation);
  434. $core.addMethod(
  435. $core.method({
  436. selector: "slideTransition",
  437. protocol: 'accessing',
  438. fn: function (){
  439. var self=this;
  440. return "fade";
  441. },
  442. //>>excludeStart("ide", pragmas.excludeIdeData);
  443. args: [],
  444. source: "slideTransition\x0a\x09^'fade'",
  445. referencedClasses: [],
  446. //>>excludeEnd("ide");
  447. messageSends: []
  448. }),
  449. $globals.Presentation);
  450. $core.addMethod(
  451. $core.method({
  452. selector: "slides",
  453. protocol: 'accessing',
  454. fn: function (){
  455. var self=this;
  456. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  457. return $core.withContext(function($ctx1) {
  458. //>>excludeEnd("ctx");
  459. var $1,$2,$receiver;
  460. $1=self["@slides"];
  461. if(($receiver = $1) == null || $receiver.isNil){
  462. self._initSlides();
  463. } else {
  464. $1;
  465. };
  466. $2=self["@slides"];
  467. return $2;
  468. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  469. }, function($ctx1) {$ctx1.fill(self,"slides",{},$globals.Presentation)});
  470. //>>excludeEnd("ctx");
  471. },
  472. //>>excludeStart("ide", pragmas.excludeIdeData);
  473. args: [],
  474. source: "slides\x0a\x09slides ifNil: [self initSlides].\x0a\x09^slides",
  475. referencedClasses: [],
  476. //>>excludeEnd("ide");
  477. messageSends: ["ifNil:", "initSlides"]
  478. }),
  479. $globals.Presentation);
  480. $core.addMethod(
  481. $core.method({
  482. selector: "slidesDo:",
  483. protocol: 'enumerating',
  484. fn: function (aBlockWithArg){
  485. var self=this;
  486. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  487. return $core.withContext(function($ctx1) {
  488. //>>excludeEnd("ctx");
  489. $recv(self._slides())._do_((function(aSlide){
  490. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  491. return $core.withContext(function($ctx2) {
  492. //>>excludeEnd("ctx");
  493. return $recv(aBlockWithArg)._value_(aSlide);
  494. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  495. }, function($ctx2) {$ctx2.fillBlock({aSlide:aSlide},$ctx1,1)});
  496. //>>excludeEnd("ctx");
  497. }));
  498. return self;
  499. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  500. }, function($ctx1) {$ctx1.fill(self,"slidesDo:",{aBlockWithArg:aBlockWithArg},$globals.Presentation)});
  501. //>>excludeEnd("ctx");
  502. },
  503. //>>excludeStart("ide", pragmas.excludeIdeData);
  504. args: ["aBlockWithArg"],
  505. source: "slidesDo: aBlockWithArg\x0a\x09self slides do: [:aSlide| aBlockWithArg value: aSlide].",
  506. referencedClasses: [],
  507. //>>excludeEnd("ide");
  508. messageSends: ["do:", "slides", "value:"]
  509. }),
  510. $globals.Presentation);
  511. $core.addMethod(
  512. $core.method({
  513. selector: "style",
  514. protocol: 'accessing',
  515. fn: function (){
  516. var self=this;
  517. return "";
  518. },
  519. //>>excludeStart("ide", pragmas.excludeIdeData);
  520. args: [],
  521. source: "style\x0a\x09\x22Should return a CSS style\x22\x0a\x09^ ''",
  522. referencedClasses: [],
  523. //>>excludeEnd("ide");
  524. messageSends: []
  525. }),
  526. $globals.Presentation);
  527. $core.addMethod(
  528. $core.method({
  529. selector: "title",
  530. protocol: 'accessing',
  531. fn: function (){
  532. var self=this;
  533. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  534. return $core.withContext(function($ctx1) {
  535. //>>excludeEnd("ctx");
  536. var $1;
  537. $1=$recv(self._class())._title();
  538. return $1;
  539. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  540. }, function($ctx1) {$ctx1.fill(self,"title",{},$globals.Presentation)});
  541. //>>excludeEnd("ctx");
  542. },
  543. //>>excludeStart("ide", pragmas.excludeIdeData);
  544. args: [],
  545. source: "title\x0a\x09^ self class title.",
  546. referencedClasses: [],
  547. //>>excludeEnd("ide");
  548. messageSends: ["title", "class"]
  549. }),
  550. $globals.Presentation);
  551. $core.addMethod(
  552. $core.method({
  553. selector: "url",
  554. protocol: 'accessing',
  555. fn: function (){
  556. var self=this;
  557. return "http://jtalk-project.org";
  558. },
  559. //>>excludeStart("ide", pragmas.excludeIdeData);
  560. args: [],
  561. source: "url\x0a\x09^'http://jtalk-project.org'",
  562. referencedClasses: [],
  563. //>>excludeEnd("ide");
  564. messageSends: []
  565. }),
  566. $globals.Presentation);
  567. $globals.Presentation.klass.iVarNames = ['current'];
  568. $core.addMethod(
  569. $core.method({
  570. selector: "concretePresentations",
  571. protocol: 'accessing',
  572. fn: function (){
  573. var self=this;
  574. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  575. return $core.withContext(function($ctx1) {
  576. //>>excludeEnd("ctx");
  577. var $1;
  578. $1=$recv(self._allSubclasses())._select_((function(aPresentationClass){
  579. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  580. return $core.withContext(function($ctx2) {
  581. //>>excludeEnd("ctx");
  582. return $recv(aPresentationClass)._isConcrete();
  583. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  584. }, function($ctx2) {$ctx2.fillBlock({aPresentationClass:aPresentationClass},$ctx1,1)});
  585. //>>excludeEnd("ctx");
  586. }));
  587. return $1;
  588. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  589. }, function($ctx1) {$ctx1.fill(self,"concretePresentations",{},$globals.Presentation.klass)});
  590. //>>excludeEnd("ctx");
  591. },
  592. //>>excludeStart("ide", pragmas.excludeIdeData);
  593. args: [],
  594. source: "concretePresentations\x0a\x09^ self allSubclasses select: [:aPresentationClass| aPresentationClass isConcrete]",
  595. referencedClasses: [],
  596. //>>excludeEnd("ide");
  597. messageSends: ["select:", "allSubclasses", "isConcrete"]
  598. }),
  599. $globals.Presentation.klass);
  600. $core.addMethod(
  601. $core.method({
  602. selector: "concretePresentationsDo:",
  603. protocol: 'enumerating',
  604. fn: function (aBlockWithArg){
  605. var self=this;
  606. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  607. return $core.withContext(function($ctx1) {
  608. //>>excludeEnd("ctx");
  609. $recv(self._concretePresentations())._do_(aBlockWithArg);
  610. return self;
  611. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  612. }, function($ctx1) {$ctx1.fill(self,"concretePresentationsDo:",{aBlockWithArg:aBlockWithArg},$globals.Presentation.klass)});
  613. //>>excludeEnd("ctx");
  614. },
  615. //>>excludeStart("ide", pragmas.excludeIdeData);
  616. args: ["aBlockWithArg"],
  617. source: "concretePresentationsDo: aBlockWithArg\x0a\x09self concretePresentations do: aBlockWithArg.",
  618. referencedClasses: [],
  619. //>>excludeEnd("ide");
  620. messageSends: ["do:", "concretePresentations"]
  621. }),
  622. $globals.Presentation.klass);
  623. $core.addMethod(
  624. $core.method({
  625. selector: "isConcrete",
  626. protocol: 'testing',
  627. fn: function (){
  628. var self=this;
  629. return false;
  630. },
  631. //>>excludeStart("ide", pragmas.excludeIdeData);
  632. args: [],
  633. source: "isConcrete\x0a\x09^false",
  634. referencedClasses: [],
  635. //>>excludeEnd("ide");
  636. messageSends: []
  637. }),
  638. $globals.Presentation.klass);
  639. $core.addMethod(
  640. $core.method({
  641. selector: "title",
  642. protocol: 'accessing',
  643. fn: function (){
  644. var self=this;
  645. return "Slides";
  646. },
  647. //>>excludeStart("ide", pragmas.excludeIdeData);
  648. args: [],
  649. source: "title\x0a\x09^ 'Slides'",
  650. referencedClasses: [],
  651. //>>excludeEnd("ide");
  652. messageSends: []
  653. }),
  654. $globals.Presentation.klass);
  655. $core.addClass('ESUG2011Presentation', $globals.Presentation, [], 'Presentation');
  656. $core.addMethod(
  657. $core.method({
  658. selector: "author",
  659. protocol: 'accessing',
  660. fn: function (){
  661. var self=this;
  662. return "Nicolas Petton";
  663. },
  664. //>>excludeStart("ide", pragmas.excludeIdeData);
  665. args: [],
  666. source: "author\x0a\x09^'Nicolas Petton'",
  667. referencedClasses: [],
  668. //>>excludeEnd("ide");
  669. messageSends: []
  670. }),
  671. $globals.ESUG2011Presentation);
  672. $core.addMethod(
  673. $core.method({
  674. selector: "description",
  675. protocol: 'accessing',
  676. fn: function (){
  677. var self=this;
  678. return "ESUG 2011, Edinburgh";
  679. },
  680. //>>excludeStart("ide", pragmas.excludeIdeData);
  681. args: [],
  682. source: "description\x0a\x09^'ESUG 2011, Edinburgh'",
  683. referencedClasses: [],
  684. //>>excludeEnd("ide");
  685. messageSends: []
  686. }),
  687. $globals.ESUG2011Presentation);
  688. $core.addMethod(
  689. $core.method({
  690. selector: "email",
  691. protocol: 'accessing',
  692. fn: function (){
  693. var self=this;
  694. return "nico@objectfusion.fr";
  695. },
  696. //>>excludeStart("ide", pragmas.excludeIdeData);
  697. args: [],
  698. source: "email\x0a\x09^'nico@objectfusion.fr'",
  699. referencedClasses: [],
  700. //>>excludeEnd("ide");
  701. messageSends: []
  702. }),
  703. $globals.ESUG2011Presentation);
  704. $core.addMethod(
  705. $core.method({
  706. selector: "slideClasses",
  707. protocol: 'accessing',
  708. fn: function (){
  709. var self=this;
  710. function $Array(){return $globals.Array||(typeof Array=="undefined"?nil:Array)}
  711. function $IntroSlide(){return $globals.IntroSlide||(typeof IntroSlide=="undefined"?nil:IntroSlide)}
  712. function $AboutSlide(){return $globals.AboutSlide||(typeof AboutSlide=="undefined"?nil:AboutSlide)}
  713. function $WhatIsJtalkSlide(){return $globals.WhatIsJtalkSlide||(typeof WhatIsJtalkSlide=="undefined"?nil:WhatIsJtalkSlide)}
  714. function $JtalkFeaturesSlide(){return $globals.JtalkFeaturesSlide||(typeof JtalkFeaturesSlide=="undefined"?nil:JtalkFeaturesSlide)}
  715. function $WorkspaceSlide(){return $globals.WorkspaceSlide||(typeof WorkspaceSlide=="undefined"?nil:WorkspaceSlide)}
  716. function $IDESlide(){return $globals.IDESlide||(typeof IDESlide=="undefined"?nil:IDESlide)}
  717. function $CountersSlide(){return $globals.CountersSlide||(typeof CountersSlide=="undefined"?nil:CountersSlide)}
  718. function $JtalkAndJavascriptSlide(){return $globals.JtalkAndJavascriptSlide||(typeof JtalkAndJavascriptSlide=="undefined"?nil:JtalkAndJavascriptSlide)}
  719. function $JtalkAndJavascriptSlide2(){return $globals.JtalkAndJavascriptSlide2||(typeof JtalkAndJavascriptSlide2=="undefined"?nil:JtalkAndJavascriptSlide2)}
  720. function $JtalkAndJavascriptSlide3(){return $globals.JtalkAndJavascriptSlide3||(typeof JtalkAndJavascriptSlide3=="undefined"?nil:JtalkAndJavascriptSlide3)}
  721. function $JtalkAndJavascriptSlide4(){return $globals.JtalkAndJavascriptSlide4||(typeof JtalkAndJavascriptSlide4=="undefined"?nil:JtalkAndJavascriptSlide4)}
  722. function $JtalkAndCLI(){return $globals.JtalkAndCLI||(typeof JtalkAndCLI=="undefined"?nil:JtalkAndCLI)}
  723. function $JtalkAndNode(){return $globals.JtalkAndNode||(typeof JtalkAndNode=="undefined"?nil:JtalkAndNode)}
  724. function $JtalkAndNode2(){return $globals.JtalkAndNode2||(typeof JtalkAndNode2=="undefined"?nil:JtalkAndNode2)}
  725. function $JtalkAndNode3(){return $globals.JtalkAndNode3||(typeof JtalkAndNode3=="undefined"?nil:JtalkAndNode3)}
  726. function $JtalkAndWebOS(){return $globals.JtalkAndWebOS||(typeof JtalkAndWebOS=="undefined"?nil:JtalkAndWebOS)}
  727. function $JtalkAndEnyo(){return $globals.JtalkAndEnyo||(typeof JtalkAndEnyo=="undefined"?nil:JtalkAndEnyo)}
  728. function $ContributionsSlide(){return $globals.ContributionsSlide||(typeof ContributionsSlide=="undefined"?nil:ContributionsSlide)}
  729. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  730. return $core.withContext(function($ctx1) {
  731. //>>excludeEnd("ctx");
  732. var $2,$3,$1;
  733. $2=$recv($Array())._new();
  734. $recv($2)._add_($IntroSlide());
  735. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  736. $ctx1.sendIdx["add:"]=1;
  737. //>>excludeEnd("ctx");
  738. $recv($2)._add_($AboutSlide());
  739. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  740. $ctx1.sendIdx["add:"]=2;
  741. //>>excludeEnd("ctx");
  742. $recv($2)._add_($WhatIsJtalkSlide());
  743. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  744. $ctx1.sendIdx["add:"]=3;
  745. //>>excludeEnd("ctx");
  746. $recv($2)._add_($JtalkFeaturesSlide());
  747. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  748. $ctx1.sendIdx["add:"]=4;
  749. //>>excludeEnd("ctx");
  750. $recv($2)._add_($WorkspaceSlide());
  751. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  752. $ctx1.sendIdx["add:"]=5;
  753. //>>excludeEnd("ctx");
  754. $recv($2)._add_($IDESlide());
  755. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  756. $ctx1.sendIdx["add:"]=6;
  757. //>>excludeEnd("ctx");
  758. $recv($2)._add_($CountersSlide());
  759. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  760. $ctx1.sendIdx["add:"]=7;
  761. //>>excludeEnd("ctx");
  762. $recv($2)._add_($JtalkAndJavascriptSlide());
  763. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  764. $ctx1.sendIdx["add:"]=8;
  765. //>>excludeEnd("ctx");
  766. $recv($2)._add_($JtalkAndJavascriptSlide2());
  767. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  768. $ctx1.sendIdx["add:"]=9;
  769. //>>excludeEnd("ctx");
  770. $recv($2)._add_($JtalkAndJavascriptSlide3());
  771. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  772. $ctx1.sendIdx["add:"]=10;
  773. //>>excludeEnd("ctx");
  774. $recv($2)._add_($JtalkAndJavascriptSlide4());
  775. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  776. $ctx1.sendIdx["add:"]=11;
  777. //>>excludeEnd("ctx");
  778. $recv($2)._add_($JtalkAndCLI());
  779. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  780. $ctx1.sendIdx["add:"]=12;
  781. //>>excludeEnd("ctx");
  782. $recv($2)._add_($JtalkAndNode());
  783. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  784. $ctx1.sendIdx["add:"]=13;
  785. //>>excludeEnd("ctx");
  786. $recv($2)._add_($JtalkAndNode2());
  787. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  788. $ctx1.sendIdx["add:"]=14;
  789. //>>excludeEnd("ctx");
  790. $recv($2)._add_($JtalkAndNode3());
  791. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  792. $ctx1.sendIdx["add:"]=15;
  793. //>>excludeEnd("ctx");
  794. $recv($2)._add_($JtalkAndWebOS());
  795. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  796. $ctx1.sendIdx["add:"]=16;
  797. //>>excludeEnd("ctx");
  798. $recv($2)._add_($JtalkAndEnyo());
  799. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  800. $ctx1.sendIdx["add:"]=17;
  801. //>>excludeEnd("ctx");
  802. $recv($2)._add_($ContributionsSlide());
  803. $3=$recv($2)._yourself();
  804. $1=$3;
  805. return $1;
  806. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  807. }, function($ctx1) {$ctx1.fill(self,"slideClasses",{},$globals.ESUG2011Presentation)});
  808. //>>excludeEnd("ctx");
  809. },
  810. //>>excludeStart("ide", pragmas.excludeIdeData);
  811. args: [],
  812. source: "slideClasses\x0a\x09^Array new\x0a\x09\x09add: IntroSlide;\x0a\x09\x09add: AboutSlide;\x0a\x09\x09add: WhatIsJtalkSlide;\x0a\x09\x09add: JtalkFeaturesSlide;\x0a\x09\x09add: WorkspaceSlide;\x0a\x09\x09add: IDESlide;\x0a\x09\x09add: CountersSlide;\x0a\x09\x09add: JtalkAndJavascriptSlide;\x0a\x09\x09add: JtalkAndJavascriptSlide2;\x0a\x09\x09add: JtalkAndJavascriptSlide3;\x0a\x09\x09add: JtalkAndJavascriptSlide4;\x0a\x09\x09add: JtalkAndCLI;\x0a\x09\x09add: JtalkAndNode;\x0a\x09\x09add: JtalkAndNode2;\x0a\x09\x09add: JtalkAndNode3;\x0a\x09\x09add: JtalkAndWebOS;\x0a\x09\x09add: JtalkAndEnyo;\x0a\x09\x09add: ContributionsSlide;\x0a\x09\x09yourself",
  813. referencedClasses: ["Array", "IntroSlide", "AboutSlide", "WhatIsJtalkSlide", "JtalkFeaturesSlide", "WorkspaceSlide", "IDESlide", "CountersSlide", "JtalkAndJavascriptSlide", "JtalkAndJavascriptSlide2", "JtalkAndJavascriptSlide3", "JtalkAndJavascriptSlide4", "JtalkAndCLI", "JtalkAndNode", "JtalkAndNode2", "JtalkAndNode3", "JtalkAndWebOS", "JtalkAndEnyo", "ContributionsSlide"],
  814. //>>excludeEnd("ide");
  815. messageSends: ["add:", "new", "yourself"]
  816. }),
  817. $globals.ESUG2011Presentation);
  818. $core.addMethod(
  819. $core.method({
  820. selector: "style",
  821. protocol: 'accessing',
  822. fn: function (){
  823. var self=this;
  824. return "\x0abody {\x0a font-family: Helvetica,Arial,sans;\x0a}\x0a\x0a#slides {\x0a width: 100%;\x0a height: 100%;\x0a overflow: hidden;\x0a position: absolute;\x0a top: 0;\x0a bottom: 0;\x0a left: 0;\x0a right: 0;\x0a background: #555;\x0a}\x0a\x0a.slide {\x0a background: #fff;\x0a color: #444;\x0a text-align: left;\x0a font-size: 20px;\x0a line-height: 1.8em;\x0a height: 500px;\x0a width: 700px;\x0a padding: 60px;\x0a position: absolute;\x0a left: 50%;\x0a top: 50%;\x0a margin-left: -420px;\x0a margin-top: -320px;\x0a box-shadow: 0 0 20px #111;\x0a -moz-box-shadow: 0 0 20px #111;\x0a -webkit-box-shadow: 0 0 20px #111;\x0a}\x0a\x0a.slide.transparent {\x0a background: transparent;\x0a box-shadow: 0 0 0 none;\x0a -moz-box-shadow: 0 0 0 transparent;\x0a -webkit-box-shadow: 0 0 0 transparent;\x0a color: #fff !important;\x0a}\x0a\x0a.slide.black {\x0a background: black;\x0a background-image: -webkit-gradient(\x0a\x09linear,\x0a\x09left bottom,\x0a\x09left top,\x0a\x09color-stop(0.38, rgb(79,79,79)),\x0a\x09color-stop(0.69, rgb(33,33,33)),\x0a\x09color-stop(0.86, rgb(4,4,4))\x0a );\x0a background-image: -moz-linear-gradient(\x0a\x09center bottom,\x0a\x09rgb(79,79,79) 38%,\x0a\x09rgb(33,33,33) 69%,\x0a\x09rgb(4,4,4) 86%\x0a );\x0a color: #fff !important;\x0a}\x0a\x0a.slide.black h1, .slide.black h2, .slide.black h3,\x0a.slide.transparent h1, .slide.transparent h2, .slide.transparent h3 {\x0a color: #fff;\x0a text-shadow: 0 1px 4px #aaa;\x0a}\x0a\x0a.slide.black a, .slide.transparent a {\x0a color: #ccc;\x0a}\x0a\x0a.slide.white {\x0a color: #333 !important;\x0a}\x0a\x0a.slide.white h1, .slide.white h2, .slide.white h3 {\x0a color: #333;\x0a}\x0a\x0a.slide.white a {\x0a color: #333;\x0a}\x0a\x0a\x0a.slide h1, .slide h2, .slide h3 {\x0a color: #333;\x0a /* text-align: center; */\x0a}\x0a\x0a.slide h1 {\x0a font-family: \x22Droid Sans\x22;\x0a font-size: 36px;\x0a text-shadow: 0 1px 4px #aaa;\x0a margin-top: 30px;\x0a margin-bottom: 50px;\x0a}\x0a\x0a/* .slide ul, .slide li { */\x0a/* padding: 0; */\x0a/* margin: 0; */\x0a/* } */\x0a\x0a.slide button {\x0a font-size: 18px;\x0a}\x0a\x0a.slide a {\x0a color: #555;\x0a text-decoration: none;\x0a cursor: pointer;\x0a}\x0a\x0a.slide a:hover {\x0a color: #fff;\x0a background: #555;\x0a}\x0a\x0a.slide .right {\x0a text-align: right;\x0a}\x0a\x0a.slide .section.center {\x0a text-align: center;\x0a display: table-cell;\x0a vertical-align: middle;\x0a width: 700px;\x0a height: 500px;\x0a}\x0a\x0a.slide code {\x0a font-family: \x22Droid Sans Mono\x22;\x0a color: #444;\x0a border: 1px solid #ddd;\x0a background: #eee;\x0a border-radius: 4px;\x0a padding: 2px;\x0a font-size: 16px;\x0a}\x0a\x0a.slide .code2 {\x0a font-family: \x22Droid Sans Mono\x22;\x0a line-height: 1.2em;\x0a color: #444;\x0a padding: 2px;\x0a font-size: 16px;\x0a}\x0a\x0a\x0a.slide .CodeMirror {\x0a width: 500px;\x0a height: 300px;\x0a text-align: left;\x0a}\x0a\x0a.slide .CodeMirror-scroll {\x0a text-align: left;\x0a}\x0a\x0a.slide .fancy {\x0a margin-top: 30px;\x0a -webkit-transform: rotate(-10deg);\x0a -moz-transform: rotate(-10deg);\x0a transform: rotate(-10deg);\x0a color: red;\x0a}\x0a\x0a.slide .comment {\x0a opacity: 0.6;\x0a font-weight: normal;\x0a}\x0a\x0a.slide .red {\x0a color: red;\x0a}\x0a\x0a.slide .blue {\x0a color: blue;\x0a}\x0a\x0a.slide#WhatIsJtalk {\x0a background: white url(\x22esug2011/images/balloon.jpg\x22) 650px 50px no-repeat;\x0a}\x0a\x0a.slide#ide {\x0a background: black url(\x22esug2011/images/ide_star_wars.png\x22) center center no-repeat;\x0a}\x0a\x0a.slide#JtalkAndCLI {\x0a background: white url(\x22esug2011/images/terminal.png\x22) 620px 20px no-repeat;\x0a}\x0a\x0a.slide#JtalkAndNode {\x0a background: white url(\x22esug2011/images/nodejs.png\x22) 580px 40px no-repeat;\x0a}\x0a.slide#JtalkAndNode2 {\x0a background: white url(\x22esug2011/images/nodejs.png\x22) 580px 40px no-repeat;\x0a}\x0a\x0a.slide#JtalkAndNode3 {\x0a background: white url(\x22esug2011/images/nodejs.png\x22) 580px 40px no-repeat;\x0a}\x0a\x0a.slide#JtalkAndWebOS {\x0a background: white url(\x22esug2011/images/devices.jpg\x22) 380px 280px no-repeat;\x0a}\x0a\x0a.slide#JtalkAndEnyo {\x0a background: white url(\x22esug2011/images/enyo.png\x22) 130px 150px no-repeat;\x0a}\x0a\x0a.slide#links {\x0a background: white url(\x22esug2011/images/asterix.png\x22) 30px 130px no-repeat;\x0a}\x0a\x0a.slide#links .section {\x0a margin-left: 250px;\x0a margin-top: 200px;\x0a font-family: \x22Droid Sans\x22;\x0a font-size: 26px;\x0a font-weight: bold;\x0a}\x0a\x0a\x0a#meta {\x0a position: absolute;\x0a font-size: 12px;\x0a opacity: 0.6;\x0a bottom: 0;\x0a right: 0;\x0a z-index: 2;\x0a background: #333;\x0a text-align: right;\x0a padding: 0 10px;\x0a line-height: 1.8em;\x0a color: #eee;\x0a border-top-left-radius: 5px;\x0a}\x0a\x0a#meta:hover {\x0a opacity: 0.8;\x0a}\x0a\x0a#meta p {\x0a display: inline;\x0a padding: 0 5px;\x0a}\x0a\x0a#meta a {\x0a //background: #ccc;\x0a color: #ccc;\x0a text-decoration: none;\x0a padding: 0 5px;\x0a}\x0a\x0a.slide {\x0a \x0a}\x0a";
  825. },
  826. //>>excludeStart("ide", pragmas.excludeIdeData);
  827. args: [],
  828. source: "style\x0a\x09^'\x0abody {\x0a font-family: Helvetica,Arial,sans;\x0a}\x0a\x0a#slides {\x0a width: 100%;\x0a height: 100%;\x0a overflow: hidden;\x0a position: absolute;\x0a top: 0;\x0a bottom: 0;\x0a left: 0;\x0a right: 0;\x0a background: #555;\x0a}\x0a\x0a.slide {\x0a background: #fff;\x0a color: #444;\x0a text-align: left;\x0a font-size: 20px;\x0a line-height: 1.8em;\x0a height: 500px;\x0a width: 700px;\x0a padding: 60px;\x0a position: absolute;\x0a left: 50%;\x0a top: 50%;\x0a margin-left: -420px;\x0a margin-top: -320px;\x0a box-shadow: 0 0 20px #111;\x0a -moz-box-shadow: 0 0 20px #111;\x0a -webkit-box-shadow: 0 0 20px #111;\x0a}\x0a\x0a.slide.transparent {\x0a background: transparent;\x0a box-shadow: 0 0 0 none;\x0a -moz-box-shadow: 0 0 0 transparent;\x0a -webkit-box-shadow: 0 0 0 transparent;\x0a color: #fff !important;\x0a}\x0a\x0a.slide.black {\x0a background: black;\x0a background-image: -webkit-gradient(\x0a\x09linear,\x0a\x09left bottom,\x0a\x09left top,\x0a\x09color-stop(0.38, rgb(79,79,79)),\x0a\x09color-stop(0.69, rgb(33,33,33)),\x0a\x09color-stop(0.86, rgb(4,4,4))\x0a );\x0a background-image: -moz-linear-gradient(\x0a\x09center bottom,\x0a\x09rgb(79,79,79) 38%,\x0a\x09rgb(33,33,33) 69%,\x0a\x09rgb(4,4,4) 86%\x0a );\x0a color: #fff !important;\x0a}\x0a\x0a.slide.black h1, .slide.black h2, .slide.black h3,\x0a.slide.transparent h1, .slide.transparent h2, .slide.transparent h3 {\x0a color: #fff;\x0a text-shadow: 0 1px 4px #aaa;\x0a}\x0a\x0a.slide.black a, .slide.transparent a {\x0a color: #ccc;\x0a}\x0a\x0a.slide.white {\x0a color: #333 !important;\x0a}\x0a\x0a.slide.white h1, .slide.white h2, .slide.white h3 {\x0a color: #333;\x0a}\x0a\x0a.slide.white a {\x0a color: #333;\x0a}\x0a\x0a\x0a.slide h1, .slide h2, .slide h3 {\x0a color: #333;\x0a /* text-align: center; */\x0a}\x0a\x0a.slide h1 {\x0a font-family: \x22Droid Sans\x22;\x0a font-size: 36px;\x0a text-shadow: 0 1px 4px #aaa;\x0a margin-top: 30px;\x0a margin-bottom: 50px;\x0a}\x0a\x0a/* .slide ul, .slide li { */\x0a/* padding: 0; */\x0a/* margin: 0; */\x0a/* } */\x0a\x0a.slide button {\x0a font-size: 18px;\x0a}\x0a\x0a.slide a {\x0a color: #555;\x0a text-decoration: none;\x0a cursor: pointer;\x0a}\x0a\x0a.slide a:hover {\x0a color: #fff;\x0a background: #555;\x0a}\x0a\x0a.slide .right {\x0a text-align: right;\x0a}\x0a\x0a.slide .section.center {\x0a text-align: center;\x0a display: table-cell;\x0a vertical-align: middle;\x0a width: 700px;\x0a height: 500px;\x0a}\x0a\x0a.slide code {\x0a font-family: \x22Droid Sans Mono\x22;\x0a color: #444;\x0a border: 1px solid #ddd;\x0a background: #eee;\x0a border-radius: 4px;\x0a padding: 2px;\x0a font-size: 16px;\x0a}\x0a\x0a.slide .code2 {\x0a font-family: \x22Droid Sans Mono\x22;\x0a line-height: 1.2em;\x0a color: #444;\x0a padding: 2px;\x0a font-size: 16px;\x0a}\x0a\x0a\x0a.slide .CodeMirror {\x0a width: 500px;\x0a height: 300px;\x0a text-align: left;\x0a}\x0a\x0a.slide .CodeMirror-scroll {\x0a text-align: left;\x0a}\x0a\x0a.slide .fancy {\x0a margin-top: 30px;\x0a -webkit-transform: rotate(-10deg);\x0a -moz-transform: rotate(-10deg);\x0a transform: rotate(-10deg);\x0a color: red;\x0a}\x0a\x0a.slide .comment {\x0a opacity: 0.6;\x0a font-weight: normal;\x0a}\x0a\x0a.slide .red {\x0a color: red;\x0a}\x0a\x0a.slide .blue {\x0a color: blue;\x0a}\x0a\x0a.slide#WhatIsJtalk {\x0a background: white url(\x22esug2011/images/balloon.jpg\x22) 650px 50px no-repeat;\x0a}\x0a\x0a.slide#ide {\x0a background: black url(\x22esug2011/images/ide_star_wars.png\x22) center center no-repeat;\x0a}\x0a\x0a.slide#JtalkAndCLI {\x0a background: white url(\x22esug2011/images/terminal.png\x22) 620px 20px no-repeat;\x0a}\x0a\x0a.slide#JtalkAndNode {\x0a background: white url(\x22esug2011/images/nodejs.png\x22) 580px 40px no-repeat;\x0a}\x0a.slide#JtalkAndNode2 {\x0a background: white url(\x22esug2011/images/nodejs.png\x22) 580px 40px no-repeat;\x0a}\x0a\x0a.slide#JtalkAndNode3 {\x0a background: white url(\x22esug2011/images/nodejs.png\x22) 580px 40px no-repeat;\x0a}\x0a\x0a.slide#JtalkAndWebOS {\x0a background: white url(\x22esug2011/images/devices.jpg\x22) 380px 280px no-repeat;\x0a}\x0a\x0a.slide#JtalkAndEnyo {\x0a background: white url(\x22esug2011/images/enyo.png\x22) 130px 150px no-repeat;\x0a}\x0a\x0a.slide#links {\x0a background: white url(\x22esug2011/images/asterix.png\x22) 30px 130px no-repeat;\x0a}\x0a\x0a.slide#links .section {\x0a margin-left: 250px;\x0a margin-top: 200px;\x0a font-family: \x22Droid Sans\x22;\x0a font-size: 26px;\x0a font-weight: bold;\x0a}\x0a\x0a\x0a#meta {\x0a position: absolute;\x0a font-size: 12px;\x0a opacity: 0.6;\x0a bottom: 0;\x0a right: 0;\x0a z-index: 2;\x0a background: #333;\x0a text-align: right;\x0a padding: 0 10px;\x0a line-height: 1.8em;\x0a color: #eee;\x0a border-top-left-radius: 5px;\x0a}\x0a\x0a#meta:hover {\x0a opacity: 0.8;\x0a}\x0a\x0a#meta p {\x0a display: inline;\x0a padding: 0 5px;\x0a}\x0a\x0a#meta a {\x0a //background: #ccc;\x0a color: #ccc;\x0a text-decoration: none;\x0a padding: 0 5px;\x0a}\x0a\x0a.slide {\x0a \x0a}\x0a'",
  829. referencedClasses: [],
  830. //>>excludeEnd("ide");
  831. messageSends: []
  832. }),
  833. $globals.ESUG2011Presentation);
  834. $core.addMethod(
  835. $core.method({
  836. selector: "url",
  837. protocol: 'accessing',
  838. fn: function (){
  839. var self=this;
  840. return "http://jtalk-project.org";
  841. },
  842. //>>excludeStart("ide", pragmas.excludeIdeData);
  843. args: [],
  844. source: "url\x0a\x09^'http://jtalk-project.org'",
  845. referencedClasses: [],
  846. //>>excludeEnd("ide");
  847. messageSends: []
  848. }),
  849. $globals.ESUG2011Presentation);
  850. $globals.ESUG2011Presentation.klass.iVarNames = ['current'];
  851. $core.addMethod(
  852. $core.method({
  853. selector: "isConcrete",
  854. protocol: 'testing',
  855. fn: function (){
  856. var self=this;
  857. return true;
  858. },
  859. //>>excludeStart("ide", pragmas.excludeIdeData);
  860. args: [],
  861. source: "isConcrete\x0a\x09^true",
  862. referencedClasses: [],
  863. //>>excludeEnd("ide");
  864. messageSends: []
  865. }),
  866. $globals.ESUG2011Presentation.klass);
  867. $core.addMethod(
  868. $core.method({
  869. selector: "title",
  870. protocol: 'accessing',
  871. fn: function (){
  872. var self=this;
  873. return "Jtalk";
  874. },
  875. //>>excludeStart("ide", pragmas.excludeIdeData);
  876. args: [],
  877. source: "title\x0a\x09^'Jtalk'",
  878. referencedClasses: [],
  879. //>>excludeEnd("ide");
  880. messageSends: []
  881. }),
  882. $globals.ESUG2011Presentation.klass);
  883. $core.addClass('FOSDEM2012Presentation', $globals.Presentation, [], 'Presentation');
  884. $core.addMethod(
  885. $core.method({
  886. selector: "author",
  887. protocol: 'accessing',
  888. fn: function (){
  889. var self=this;
  890. return "Laurent Laffont, Johnny Thornton";
  891. },
  892. //>>excludeStart("ide", pragmas.excludeIdeData);
  893. args: [],
  894. source: "author\x0a\x09^'Laurent Laffont, Johnny Thornton'",
  895. referencedClasses: [],
  896. //>>excludeEnd("ide");
  897. messageSends: []
  898. }),
  899. $globals.FOSDEM2012Presentation);
  900. $core.addMethod(
  901. $core.method({
  902. selector: "description",
  903. protocol: 'accessing',
  904. fn: function (){
  905. var self=this;
  906. return "FOSDEM 2012, Brussels";
  907. },
  908. //>>excludeStart("ide", pragmas.excludeIdeData);
  909. args: [],
  910. source: "description\x0a\x09^'FOSDEM 2012, Brussels'",
  911. referencedClasses: [],
  912. //>>excludeEnd("ide");
  913. messageSends: []
  914. }),
  915. $globals.FOSDEM2012Presentation);
  916. $core.addMethod(
  917. $core.method({
  918. selector: "email",
  919. protocol: 'accessing',
  920. fn: function (){
  921. var self=this;
  922. return "laurent.laffont@gmail.com, johnnyt@xan.do";
  923. },
  924. //>>excludeStart("ide", pragmas.excludeIdeData);
  925. args: [],
  926. source: "email\x0a\x09^'laurent.laffont@gmail.com, johnnyt@xan.do'",
  927. referencedClasses: [],
  928. //>>excludeEnd("ide");
  929. messageSends: []
  930. }),
  931. $globals.FOSDEM2012Presentation);
  932. $core.addMethod(
  933. $core.method({
  934. selector: "slideClasses",
  935. protocol: 'accessing',
  936. fn: function (){
  937. var self=this;
  938. function $FOSDEMIntroSlide(){return $globals.FOSDEMIntroSlide||(typeof FOSDEMIntroSlide=="undefined"?nil:FOSDEMIntroSlide)}
  939. function $FOSDEMAmberZeroNine(){return $globals.FOSDEMAmberZeroNine||(typeof FOSDEMAmberZeroNine=="undefined"?nil:FOSDEMAmberZeroNine)}
  940. function $CountersSlide(){return $globals.CountersSlide||(typeof CountersSlide=="undefined"?nil:CountersSlide)}
  941. function $IDESlide(){return $globals.IDESlide||(typeof IDESlide=="undefined"?nil:IDESlide)}
  942. function $JtalkAndJavascriptSlide(){return $globals.JtalkAndJavascriptSlide||(typeof JtalkAndJavascriptSlide=="undefined"?nil:JtalkAndJavascriptSlide)}
  943. function $FOSDEMJSPlayGroundSlide(){return $globals.FOSDEMJSPlayGroundSlide||(typeof FOSDEMJSPlayGroundSlide=="undefined"?nil:FOSDEMJSPlayGroundSlide)}
  944. function $FOSDEMJSToSmalltalk(){return $globals.FOSDEMJSToSmalltalk||(typeof FOSDEMJSToSmalltalk=="undefined"?nil:FOSDEMJSToSmalltalk)}
  945. function $FOSDEMBookletSlide(){return $globals.FOSDEMBookletSlide||(typeof FOSDEMBookletSlide=="undefined"?nil:FOSDEMBookletSlide)}
  946. function $FOSDEMTwitter(){return $globals.FOSDEMTwitter||(typeof FOSDEMTwitter=="undefined"?nil:FOSDEMTwitter)}
  947. function $FOSDEMCanvasSlide(){return $globals.FOSDEMCanvasSlide||(typeof FOSDEMCanvasSlide=="undefined"?nil:FOSDEMCanvasSlide)}
  948. function $FOSDEMAmberBackend(){return $globals.FOSDEMAmberBackend||(typeof FOSDEMAmberBackend=="undefined"?nil:FOSDEMAmberBackend)}
  949. function $FOSDEMREPLSlide(){return $globals.FOSDEMREPLSlide||(typeof FOSDEMREPLSlide=="undefined"?nil:FOSDEMREPLSlide)}
  950. function $FOSDEMCLISlide(){return $globals.FOSDEMCLISlide||(typeof FOSDEMCLISlide=="undefined"?nil:FOSDEMCLISlide)}
  951. function $FOSDEMContributionsSlide(){return $globals.FOSDEMContributionsSlide||(typeof FOSDEMContributionsSlide=="undefined"?nil:FOSDEMContributionsSlide)}
  952. var $1;
  953. $1=[$FOSDEMIntroSlide(),$FOSDEMAmberZeroNine(),$CountersSlide(),$IDESlide(),$JtalkAndJavascriptSlide(),$FOSDEMJSPlayGroundSlide(),$FOSDEMJSToSmalltalk(),$FOSDEMBookletSlide(),$FOSDEMTwitter(),$FOSDEMCanvasSlide(),$FOSDEMAmberBackend(),$FOSDEMREPLSlide(),$FOSDEMCLISlide(),$FOSDEMContributionsSlide()];
  954. return $1;
  955. },
  956. //>>excludeStart("ide", pragmas.excludeIdeData);
  957. args: [],
  958. source: "slideClasses\x0a^ {\x0a\x09FOSDEMIntroSlide.\x0a\x09FOSDEMAmberZeroNine.\x0a\x09CountersSlide.\x0a\x09IDESlide.\x0a\x09JtalkAndJavascriptSlide.\x0a\x09FOSDEMJSPlayGroundSlide.\x0a\x09FOSDEMJSToSmalltalk.\x0a\x09FOSDEMBookletSlide.\x0a\x09FOSDEMTwitter.\x0a\x09FOSDEMCanvasSlide.\x0a\x09FOSDEMAmberBackend.\x0a\x09FOSDEMREPLSlide.\x0a\x09FOSDEMCLISlide.\x0a\x09FOSDEMContributionsSlide\x0a}",
  959. referencedClasses: ["FOSDEMIntroSlide", "FOSDEMAmberZeroNine", "CountersSlide", "IDESlide", "JtalkAndJavascriptSlide", "FOSDEMJSPlayGroundSlide", "FOSDEMJSToSmalltalk", "FOSDEMBookletSlide", "FOSDEMTwitter", "FOSDEMCanvasSlide", "FOSDEMAmberBackend", "FOSDEMREPLSlide", "FOSDEMCLISlide", "FOSDEMContributionsSlide"],
  960. //>>excludeEnd("ide");
  961. messageSends: []
  962. }),
  963. $globals.FOSDEM2012Presentation);
  964. $core.addMethod(
  965. $core.method({
  966. selector: "style",
  967. protocol: 'accessing',
  968. fn: function (){
  969. var self=this;
  970. return "\x0abody {\x0a font-family: Helvetica,Arial,sans;\x0a}\x0a\x0a#slides {\x0a width: 100%;\x0a height: 100%;\x0a overflow: hidden;\x0a position: absolute;\x0a top: 0;\x0a bottom: 0;\x0a left: 0;\x0a right: 0;\x0a background: #555;\x0a}\x0a\x0a.slide {\x0a background: #fff;\x0a color: #444;\x0a text-align: left;\x0a font-size: 20px;\x0a line-height: 1.8em;\x0a height: 500px;\x0a width: 700px;\x0a padding: 60px;\x0a position: absolute;\x0a left: 50%;\x0a top: 50%;\x0a margin-left: -420px;\x0a margin-top: -320px;\x0a box-shadow: 0 0 20px #111;\x0a -moz-box-shadow: 0 0 20px #111;\x0a -webkit-box-shadow: 0 0 20px #111;\x0a}\x0a\x0a.slide.transparent {\x0a background: transparent;\x0a box-shadow: 0 0 0 none;\x0a -moz-box-shadow: 0 0 0 transparent;\x0a -webkit-box-shadow: 0 0 0 transparent;\x0a color: #fff !important;\x0a}\x0a\x0a.slide.black {\x0a background: black;\x0a background-image: -webkit-gradient(\x0a\x09linear,\x0a\x09left bottom,\x0a\x09left top,\x0a\x09color-stop(0.38, rgb(79,79,79)),\x0a\x09color-stop(0.69, rgb(33,33,33)),\x0a\x09color-stop(0.86, rgb(4,4,4))\x0a );\x0a background-image: -moz-linear-gradient(\x0a\x09center bottom,\x0a\x09rgb(79,79,79) 38%,\x0a\x09rgb(33,33,33) 69%,\x0a\x09rgb(4,4,4) 86%\x0a );\x0a color: #fff !important;\x0a}\x0a\x0a.slide.black h1, .slide.black h2, .slide.black h3,\x0a.slide.transparent h1, .slide.transparent h2, .slide.transparent h3 {\x0a color: #fff;\x0a text-shadow: 0 1px 4px #aaa;\x0a}\x0a\x0a.slide.black a, .slide.transparent a {\x0a color: #ccc;\x0a}\x0a\x0a.slide.white {\x0a color: #333 !important;\x0a}\x0a\x0a.slide.white h1, .slide.white h2, .slide.white h3 {\x0a color: #333;\x0a}\x0a\x0a.slide.white a {\x0a color: #333;\x0a}\x0a\x0a\x0a.slide h1, .slide h2, .slide h3 {\x0a color: #333;\x0a /* text-align: center; */\x0a}\x0a\x0a.slide h1 {\x0a font-family: \x22Droid Sans\x22;\x0a font-size: 36px;\x0a text-shadow: 0 1px 4px #aaa;\x0a margin-top: 30px;\x0a margin-bottom: 50px;\x0a}\x0a\x0a.slide button {\x0a font-size: 18px;\x0a}\x0a\x0a.slide a {\x0a color: #555;\x0a text-decoration: none;\x0a cursor: pointer;\x0a}\x0a\x0a.slide a:hover {\x0a color: #fff;\x0a background: #555;\x0a}\x0a\x0a.slide .right {\x0a text-align: right;\x0a}\x0a\x0a.slide .section.center {\x0a text-align: center;\x0a display: table-cell;\x0a vertical-align: middle;\x0a width: 700px;\x0a height: 500px;\x0a}\x0a\x0a.slide code {\x0a font-family: \x22Droid Sans Mono\x22;\x0a color: #444;\x0a border: 1px solid #ddd;\x0a background: #eee;\x0a border-radius: 4px;\x0a padding: 2px;\x0a font-size: 16px;\x0a}\x0a\x0a.slide .code2 {\x0a font-family: \x22Droid Sans Mono\x22;\x0a line-height: 1.2em;\x0a color: #444;\x0a padding: 2px;\x0a font-size: 16px;\x0a}\x0a\x0a\x0a.slide .CodeMirror {\x0a width: 700px;\x0a height: 300px;\x0a text-align: left;\x0a}\x0a\x0a.slide .CodeMirror-scroll {\x0a text-align: left;\x0a}\x0a\x0a.slide .fancy {\x0a margin-top: 30px;\x0a -webkit-transform: rotate(-10deg);\x0a -moz-transform: rotate(-10deg);\x0a transform: rotate(-10deg);\x0a color: red;\x0a}\x0a\x0a.slide .comment {\x0a opacity: 0.6;\x0a font-weight: normal;\x0a}\x0a\x0a.slide .red {\x0a color: red;\x0a}\x0a\x0a.slide .blue {\x0a color: blue;\x0a}\x0a\x0a#meta {\x0a position: absolute;\x0a font-size: 12px;\x0a opacity: 0.6;\x0a bottom: 0;\x0a right: 0;\x0a z-index: 2;\x0a background: #333;\x0a text-align: right;\x0a padding: 0 10px;\x0a line-height: 1.8em;\x0a color: #eee;\x0a border-top-left-radius: 5px;\x0a}\x0a\x0a#meta:hover {\x0a opacity: 0.8;\x0a}\x0a\x0a#meta p {\x0a display: inline;\x0a padding: 0 5px;\x0a}\x0a\x0a#meta a {\x0a //background: #ccc;\x0a color: #ccc;\x0a text-decoration: none;\x0a padding: 0 5px;\x0a}\x0a\x0a.slide {\x0a \x0a}\x0a\x0a.slide.blue3d {\x0a background: #feffff;\x0a background: -moz-linear-gradient(top, #feffff 0%, #d2ebf9 100%);\x0a background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#feffff), color-stop(100%,#d2ebf9));\x0a background: -webkit-linear-gradient(top, #feffff 0%,#d2ebf9 100%);\x0a background: -o-linear-gradient(top, #feffff 0%,#d2ebf9 100%);\x0a background: -ms-linear-gradient(top, #feffff 0%,#d2ebf9 100%);\x0a filter: progid:DXImageTransform.Microsoft.gradient( startColorstr=\x22#feffff\x22, endColorstr=\x22#d2ebf9\x22,GradientType=0 );\x0a background: linear-gradient(top, #feffff 0%,#d2ebf9 100%);\x0a}\x0a\x0a\x0a.slide.red3d {\x0a background: #febbbb;\x0a background: -moz-linear-gradient(top, #febbbb 0%, #fe9090 71%, #ff5c5c 95%);\x0a background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#febbbb), color-stop(71%,#fe9090), color-stop(95%,#ff5c5c));\x0a background: -webkit-linear-gradient(top, #febbbb 0%,#fe9090 71%,#ff5c5c 95%);\x0a background: -o-linear-gradient(top, #febbbb 0%,#fe9090 71%,#ff5c5c 95%);\x0a background: -ms-linear-gradient(top, #febbbb 0%,#fe9090 71%,#ff5c5c 95%);\x0a filter: progid:DXImageTransform.Microsoft.gradient( startColorstr=\x22#febbbb\x22, endColorstr=\x22#ff5c5c\x22,GradientType=0 );\x0a background: linear-gradient(top, #febbbb 0%,#fe9090 71%,#ff5c5c 95%);\x0a}\x0a\x0a\x0a.slide.green3d {\x0a background: #cdeb8e;\x0a background: -moz-linear-gradient(top, #cdeb8e 0%, #a5c956 100%);\x0a background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#cdeb8e), color-stop(100%,#a5c956));\x0a background: -webkit-linear-gradient(top, #cdeb8e 0%,#a5c956 100%);\x0a background: -o-linear-gradient(top, #cdeb8e 0%,#a5c956 100%);\x0a background: -ms-linear-gradient(top, #cdeb8e 0%,#a5c956 100%);\x0a filter: progid:DXImageTransform.Microsoft.gradient( startColorstr=\x22#cdeb8e\x22, endColorstr=\x22#a5c956\x22,GradientType=0 );\x0a background: linear-gradient(top, #cdeb8e 0%,#a5c956 100%);\x0a}\x0a\x0a@-webkit-keyframes rotate-horizontal {\x0a\x090% { -webkit-transform: perspective(1000px) rotateY(-10deg);}\x0a\x09100% { -webkit-transform: perspective(1000px) rotateY(10deg);}\x0a}\x0a\x0a.animate p{\x0a-webkit-animation: rotate-horizontal 2s infinite alternate ease-in-out;\x0a}\x0a\x0a#FOSDEMAmberBackend img {\x0a\x09margin: 5px;\x0a\x09-webkit-animation: rotate-horizontal 2s infinite alternate ease-in-out;\x0a}\x0a\x0a.slide#FOSDEMContributionsSlide {\x0a background: white url(\x22esug2011/images/asterix.png\x22) 30px 130px no-repeat;\x0a}\x0a\x0a.slide#FOSDEMContributionsSlide .section {\x0a margin-left: 250px;\x0a margin-top: 200px;\x0a font-family: \x22Droid Sans\x22;\x0a font-size: 26px;\x0a font-weight: bold;\x0a}\x0a\x0a\x0a.slide#ide {\x0a background: black url(\x22esug2011/images/ide_star_wars.png\x22) center center no-repeat;\x0a}\x0a\x0a\x0a.tweet {\x0a\x09background-color: #aaa;\x0a\x09color: black;\x0a\x09padding: 10px;\x0a\x09border-radius: 10px;\x0a\x09border: 5px solid #eee;\x0a\x09margin: 10px;\x0a}\x0a\x0a.tweet img {\x0a\x09vertical-align: top;\x0a\x09margin-right: 10px;\x0a}\x0a\x0a.tweet span:first-child {\x0a\x09float: right;\x0a}\x0a";
  971. },
  972. //>>excludeStart("ide", pragmas.excludeIdeData);
  973. args: [],
  974. source: "style\x0a\x09^'\x0abody {\x0a font-family: Helvetica,Arial,sans;\x0a}\x0a\x0a#slides {\x0a width: 100%;\x0a height: 100%;\x0a overflow: hidden;\x0a position: absolute;\x0a top: 0;\x0a bottom: 0;\x0a left: 0;\x0a right: 0;\x0a background: #555;\x0a}\x0a\x0a.slide {\x0a background: #fff;\x0a color: #444;\x0a text-align: left;\x0a font-size: 20px;\x0a line-height: 1.8em;\x0a height: 500px;\x0a width: 700px;\x0a padding: 60px;\x0a position: absolute;\x0a left: 50%;\x0a top: 50%;\x0a margin-left: -420px;\x0a margin-top: -320px;\x0a box-shadow: 0 0 20px #111;\x0a -moz-box-shadow: 0 0 20px #111;\x0a -webkit-box-shadow: 0 0 20px #111;\x0a}\x0a\x0a.slide.transparent {\x0a background: transparent;\x0a box-shadow: 0 0 0 none;\x0a -moz-box-shadow: 0 0 0 transparent;\x0a -webkit-box-shadow: 0 0 0 transparent;\x0a color: #fff !important;\x0a}\x0a\x0a.slide.black {\x0a background: black;\x0a background-image: -webkit-gradient(\x0a\x09linear,\x0a\x09left bottom,\x0a\x09left top,\x0a\x09color-stop(0.38, rgb(79,79,79)),\x0a\x09color-stop(0.69, rgb(33,33,33)),\x0a\x09color-stop(0.86, rgb(4,4,4))\x0a );\x0a background-image: -moz-linear-gradient(\x0a\x09center bottom,\x0a\x09rgb(79,79,79) 38%,\x0a\x09rgb(33,33,33) 69%,\x0a\x09rgb(4,4,4) 86%\x0a );\x0a color: #fff !important;\x0a}\x0a\x0a.slide.black h1, .slide.black h2, .slide.black h3,\x0a.slide.transparent h1, .slide.transparent h2, .slide.transparent h3 {\x0a color: #fff;\x0a text-shadow: 0 1px 4px #aaa;\x0a}\x0a\x0a.slide.black a, .slide.transparent a {\x0a color: #ccc;\x0a}\x0a\x0a.slide.white {\x0a color: #333 !important;\x0a}\x0a\x0a.slide.white h1, .slide.white h2, .slide.white h3 {\x0a color: #333;\x0a}\x0a\x0a.slide.white a {\x0a color: #333;\x0a}\x0a\x0a\x0a.slide h1, .slide h2, .slide h3 {\x0a color: #333;\x0a /* text-align: center; */\x0a}\x0a\x0a.slide h1 {\x0a font-family: \x22Droid Sans\x22;\x0a font-size: 36px;\x0a text-shadow: 0 1px 4px #aaa;\x0a margin-top: 30px;\x0a margin-bottom: 50px;\x0a}\x0a\x0a.slide button {\x0a font-size: 18px;\x0a}\x0a\x0a.slide a {\x0a color: #555;\x0a text-decoration: none;\x0a cursor: pointer;\x0a}\x0a\x0a.slide a:hover {\x0a color: #fff;\x0a background: #555;\x0a}\x0a\x0a.slide .right {\x0a text-align: right;\x0a}\x0a\x0a.slide .section.center {\x0a text-align: center;\x0a display: table-cell;\x0a vertical-align: middle;\x0a width: 700px;\x0a height: 500px;\x0a}\x0a\x0a.slide code {\x0a font-family: \x22Droid Sans Mono\x22;\x0a color: #444;\x0a border: 1px solid #ddd;\x0a background: #eee;\x0a border-radius: 4px;\x0a padding: 2px;\x0a font-size: 16px;\x0a}\x0a\x0a.slide .code2 {\x0a font-family: \x22Droid Sans Mono\x22;\x0a line-height: 1.2em;\x0a color: #444;\x0a padding: 2px;\x0a font-size: 16px;\x0a}\x0a\x0a\x0a.slide .CodeMirror {\x0a width: 700px;\x0a height: 300px;\x0a text-align: left;\x0a}\x0a\x0a.slide .CodeMirror-scroll {\x0a text-align: left;\x0a}\x0a\x0a.slide .fancy {\x0a margin-top: 30px;\x0a -webkit-transform: rotate(-10deg);\x0a -moz-transform: rotate(-10deg);\x0a transform: rotate(-10deg);\x0a color: red;\x0a}\x0a\x0a.slide .comment {\x0a opacity: 0.6;\x0a font-weight: normal;\x0a}\x0a\x0a.slide .red {\x0a color: red;\x0a}\x0a\x0a.slide .blue {\x0a color: blue;\x0a}\x0a\x0a#meta {\x0a position: absolute;\x0a font-size: 12px;\x0a opacity: 0.6;\x0a bottom: 0;\x0a right: 0;\x0a z-index: 2;\x0a background: #333;\x0a text-align: right;\x0a padding: 0 10px;\x0a line-height: 1.8em;\x0a color: #eee;\x0a border-top-left-radius: 5px;\x0a}\x0a\x0a#meta:hover {\x0a opacity: 0.8;\x0a}\x0a\x0a#meta p {\x0a display: inline;\x0a padding: 0 5px;\x0a}\x0a\x0a#meta a {\x0a //background: #ccc;\x0a color: #ccc;\x0a text-decoration: none;\x0a padding: 0 5px;\x0a}\x0a\x0a.slide {\x0a \x0a}\x0a\x0a.slide.blue3d {\x0a background: #feffff;\x0a background: -moz-linear-gradient(top, #feffff 0%, #d2ebf9 100%);\x0a background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#feffff), color-stop(100%,#d2ebf9));\x0a background: -webkit-linear-gradient(top, #feffff 0%,#d2ebf9 100%);\x0a background: -o-linear-gradient(top, #feffff 0%,#d2ebf9 100%);\x0a background: -ms-linear-gradient(top, #feffff 0%,#d2ebf9 100%);\x0a filter: progid:DXImageTransform.Microsoft.gradient( startColorstr=\x22#feffff\x22, endColorstr=\x22#d2ebf9\x22,GradientType=0 );\x0a background: linear-gradient(top, #feffff 0%,#d2ebf9 100%);\x0a}\x0a\x0a\x0a.slide.red3d {\x0a background: #febbbb;\x0a background: -moz-linear-gradient(top, #febbbb 0%, #fe9090 71%, #ff5c5c 95%);\x0a background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#febbbb), color-stop(71%,#fe9090), color-stop(95%,#ff5c5c));\x0a background: -webkit-linear-gradient(top, #febbbb 0%,#fe9090 71%,#ff5c5c 95%);\x0a background: -o-linear-gradient(top, #febbbb 0%,#fe9090 71%,#ff5c5c 95%);\x0a background: -ms-linear-gradient(top, #febbbb 0%,#fe9090 71%,#ff5c5c 95%);\x0a filter: progid:DXImageTransform.Microsoft.gradient( startColorstr=\x22#febbbb\x22, endColorstr=\x22#ff5c5c\x22,GradientType=0 );\x0a background: linear-gradient(top, #febbbb 0%,#fe9090 71%,#ff5c5c 95%);\x0a}\x0a\x0a\x0a.slide.green3d {\x0a background: #cdeb8e;\x0a background: -moz-linear-gradient(top, #cdeb8e 0%, #a5c956 100%);\x0a background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#cdeb8e), color-stop(100%,#a5c956));\x0a background: -webkit-linear-gradient(top, #cdeb8e 0%,#a5c956 100%);\x0a background: -o-linear-gradient(top, #cdeb8e 0%,#a5c956 100%);\x0a background: -ms-linear-gradient(top, #cdeb8e 0%,#a5c956 100%);\x0a filter: progid:DXImageTransform.Microsoft.gradient( startColorstr=\x22#cdeb8e\x22, endColorstr=\x22#a5c956\x22,GradientType=0 );\x0a background: linear-gradient(top, #cdeb8e 0%,#a5c956 100%);\x0a}\x0a\x0a@-webkit-keyframes rotate-horizontal {\x0a\x090% { -webkit-transform: perspective(1000px) rotateY(-10deg);}\x0a\x09100% { -webkit-transform: perspective(1000px) rotateY(10deg);}\x0a}\x0a\x0a.animate p{\x0a-webkit-animation: rotate-horizontal 2s infinite alternate ease-in-out;\x0a}\x0a\x0a#FOSDEMAmberBackend img {\x0a\x09margin: 5px;\x0a\x09-webkit-animation: rotate-horizontal 2s infinite alternate ease-in-out;\x0a}\x0a\x0a.slide#FOSDEMContributionsSlide {\x0a background: white url(\x22esug2011/images/asterix.png\x22) 30px 130px no-repeat;\x0a}\x0a\x0a.slide#FOSDEMContributionsSlide .section {\x0a margin-left: 250px;\x0a margin-top: 200px;\x0a font-family: \x22Droid Sans\x22;\x0a font-size: 26px;\x0a font-weight: bold;\x0a}\x0a\x0a\x0a.slide#ide {\x0a background: black url(\x22esug2011/images/ide_star_wars.png\x22) center center no-repeat;\x0a}\x0a\x0a\x0a.tweet {\x0a\x09background-color: #aaa;\x0a\x09color: black;\x0a\x09padding: 10px;\x0a\x09border-radius: 10px;\x0a\x09border: 5px solid #eee;\x0a\x09margin: 10px;\x0a}\x0a\x0a.tweet img {\x0a\x09vertical-align: top;\x0a\x09margin-right: 10px;\x0a}\x0a\x0a.tweet span:first-child {\x0a\x09float: right;\x0a}\x0a'",
  975. referencedClasses: [],
  976. //>>excludeEnd("ide");
  977. messageSends: []
  978. }),
  979. $globals.FOSDEM2012Presentation);
  980. $core.addMethod(
  981. $core.method({
  982. selector: "url",
  983. protocol: 'accessing',
  984. fn: function (){
  985. var self=this;
  986. return "http://amber-lang.net";
  987. },
  988. //>>excludeStart("ide", pragmas.excludeIdeData);
  989. args: [],
  990. source: "url\x0a\x09^'http://amber-lang.net'",
  991. referencedClasses: [],
  992. //>>excludeEnd("ide");
  993. messageSends: []
  994. }),
  995. $globals.FOSDEM2012Presentation);
  996. $core.addMethod(
  997. $core.method({
  998. selector: "isConcrete",
  999. protocol: 'testing',
  1000. fn: function (){
  1001. var self=this;
  1002. return true;
  1003. },
  1004. //>>excludeStart("ide", pragmas.excludeIdeData);
  1005. args: [],
  1006. source: "isConcrete\x0a\x09^true",
  1007. referencedClasses: [],
  1008. //>>excludeEnd("ide");
  1009. messageSends: []
  1010. }),
  1011. $globals.FOSDEM2012Presentation.klass);
  1012. $core.addMethod(
  1013. $core.method({
  1014. selector: "title",
  1015. protocol: 'testing',
  1016. fn: function (){
  1017. var self=this;
  1018. return "Amber";
  1019. },
  1020. //>>excludeStart("ide", pragmas.excludeIdeData);
  1021. args: [],
  1022. source: "title\x0a\x09^'Amber'",
  1023. referencedClasses: [],
  1024. //>>excludeEnd("ide");
  1025. messageSends: []
  1026. }),
  1027. $globals.FOSDEM2012Presentation.klass);
  1028. $core.addClass('SweSUG2012Presentation', $globals.Presentation, [], 'Presentation');
  1029. $core.addMethod(
  1030. $core.method({
  1031. selector: "author",
  1032. protocol: 'accessing',
  1033. fn: function (){
  1034. var self=this;
  1035. return "Göran Krampe";
  1036. },
  1037. //>>excludeStart("ide", pragmas.excludeIdeData);
  1038. args: [],
  1039. source: "author\x0a\x09^'Göran Krampe'",
  1040. referencedClasses: [],
  1041. //>>excludeEnd("ide");
  1042. messageSends: []
  1043. }),
  1044. $globals.SweSUG2012Presentation);
  1045. $core.addMethod(
  1046. $core.method({
  1047. selector: "description",
  1048. protocol: 'accessing',
  1049. fn: function (){
  1050. var self=this;
  1051. return "SweSUG 2012, Stockholm";
  1052. },
  1053. //>>excludeStart("ide", pragmas.excludeIdeData);
  1054. args: [],
  1055. source: "description\x0a\x09^'SweSUG 2012, Stockholm'",
  1056. referencedClasses: [],
  1057. //>>excludeEnd("ide");
  1058. messageSends: []
  1059. }),
  1060. $globals.SweSUG2012Presentation);
  1061. $core.addMethod(
  1062. $core.method({
  1063. selector: "email",
  1064. protocol: 'accessing',
  1065. fn: function (){
  1066. var self=this;
  1067. return "goran@krampe.se";
  1068. },
  1069. //>>excludeStart("ide", pragmas.excludeIdeData);
  1070. args: [],
  1071. source: "email\x0a\x09^'goran@krampe.se'",
  1072. referencedClasses: [],
  1073. //>>excludeEnd("ide");
  1074. messageSends: []
  1075. }),
  1076. $globals.SweSUG2012Presentation);
  1077. $core.addMethod(
  1078. $core.method({
  1079. selector: "slideClasses",
  1080. protocol: 'accessing',
  1081. fn: function (){
  1082. var self=this;
  1083. function $Array(){return $globals.Array||(typeof Array=="undefined"?nil:Array)}
  1084. function $SweSUGIntroSlide(){return $globals.SweSUGIntroSlide||(typeof SweSUGIntroSlide=="undefined"?nil:SweSUGIntroSlide)}
  1085. function $SweSUGAboutSlide(){return $globals.SweSUGAboutSlide||(typeof SweSUGAboutSlide=="undefined"?nil:SweSUGAboutSlide)}
  1086. function $SweSUGWhatIsAmberSlide(){return $globals.SweSUGWhatIsAmberSlide||(typeof SweSUGWhatIsAmberSlide=="undefined"?nil:SweSUGWhatIsAmberSlide)}
  1087. function $SweSUGAmberFeaturesSlide(){return $globals.SweSUGAmberFeaturesSlide||(typeof SweSUGAmberFeaturesSlide=="undefined"?nil:SweSUGAmberFeaturesSlide)}
  1088. function $SweSUGWorkspaceSlide(){return $globals.SweSUGWorkspaceSlide||(typeof SweSUGWorkspaceSlide=="undefined"?nil:SweSUGWorkspaceSlide)}
  1089. function $IDESlide(){return $globals.IDESlide||(typeof IDESlide=="undefined"?nil:IDESlide)}
  1090. function $CountersSlide(){return $globals.CountersSlide||(typeof CountersSlide=="undefined"?nil:CountersSlide)}
  1091. function $JtalkAndJavascriptSlide(){return $globals.JtalkAndJavascriptSlide||(typeof JtalkAndJavascriptSlide=="undefined"?nil:JtalkAndJavascriptSlide)}
  1092. function $JtalkAndJavascriptSlide2(){return $globals.JtalkAndJavascriptSlide2||(typeof JtalkAndJavascriptSlide2=="undefined"?nil:JtalkAndJavascriptSlide2)}
  1093. function $JtalkAndJavascriptSlide3(){return $globals.JtalkAndJavascriptSlide3||(typeof JtalkAndJavascriptSlide3=="undefined"?nil:JtalkAndJavascriptSlide3)}
  1094. function $JtalkAndJavascriptSlide4(){return $globals.JtalkAndJavascriptSlide4||(typeof JtalkAndJavascriptSlide4=="undefined"?nil:JtalkAndJavascriptSlide4)}
  1095. function $JtalkAndCLI(){return $globals.JtalkAndCLI||(typeof JtalkAndCLI=="undefined"?nil:JtalkAndCLI)}
  1096. function $JtalkAndNode(){return $globals.JtalkAndNode||(typeof JtalkAndNode=="undefined"?nil:JtalkAndNode)}
  1097. function $JtalkAndNode2(){return $globals.JtalkAndNode2||(typeof JtalkAndNode2=="undefined"?nil:JtalkAndNode2)}
  1098. function $JtalkAndNode3(){return $globals.JtalkAndNode3||(typeof JtalkAndNode3=="undefined"?nil:JtalkAndNode3)}
  1099. function $JtalkAndWebOS(){return $globals.JtalkAndWebOS||(typeof JtalkAndWebOS=="undefined"?nil:JtalkAndWebOS)}
  1100. function $JtalkAndEnyo(){return $globals.JtalkAndEnyo||(typeof JtalkAndEnyo=="undefined"?nil:JtalkAndEnyo)}
  1101. function $ContributionsSlide(){return $globals.ContributionsSlide||(typeof ContributionsSlide=="undefined"?nil:ContributionsSlide)}
  1102. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  1103. return $core.withContext(function($ctx1) {
  1104. //>>excludeEnd("ctx");
  1105. var $2,$3,$1;
  1106. $2=$recv($Array())._new();
  1107. $recv($2)._add_($SweSUGIntroSlide());
  1108. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  1109. $ctx1.sendIdx["add:"]=1;
  1110. //>>excludeEnd("ctx");
  1111. $recv($2)._add_($SweSUGAboutSlide());
  1112. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  1113. $ctx1.sendIdx["add:"]=2;
  1114. //>>excludeEnd("ctx");
  1115. $recv($2)._add_($SweSUGWhatIsAmberSlide());
  1116. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  1117. $ctx1.sendIdx["add:"]=3;
  1118. //>>excludeEnd("ctx");
  1119. $recv($2)._add_($SweSUGAmberFeaturesSlide());
  1120. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  1121. $ctx1.sendIdx["add:"]=4;
  1122. //>>excludeEnd("ctx");
  1123. $recv($2)._add_($SweSUGWorkspaceSlide());
  1124. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  1125. $ctx1.sendIdx["add:"]=5;
  1126. //>>excludeEnd("ctx");
  1127. $recv($2)._add_($IDESlide());
  1128. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  1129. $ctx1.sendIdx["add:"]=6;
  1130. //>>excludeEnd("ctx");
  1131. $recv($2)._add_($CountersSlide());
  1132. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  1133. $ctx1.sendIdx["add:"]=7;
  1134. //>>excludeEnd("ctx");
  1135. $recv($2)._add_($JtalkAndJavascriptSlide());
  1136. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  1137. $ctx1.sendIdx["add:"]=8;
  1138. //>>excludeEnd("ctx");
  1139. $recv($2)._add_($JtalkAndJavascriptSlide2());
  1140. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  1141. $ctx1.sendIdx["add:"]=9;
  1142. //>>excludeEnd("ctx");
  1143. $recv($2)._add_($JtalkAndJavascriptSlide3());
  1144. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  1145. $ctx1.sendIdx["add:"]=10;
  1146. //>>excludeEnd("ctx");
  1147. $recv($2)._add_($JtalkAndJavascriptSlide4());
  1148. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  1149. $ctx1.sendIdx["add:"]=11;
  1150. //>>excludeEnd("ctx");
  1151. $recv($2)._add_($JtalkAndCLI());
  1152. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  1153. $ctx1.sendIdx["add:"]=12;
  1154. //>>excludeEnd("ctx");
  1155. $recv($2)._add_($JtalkAndNode());
  1156. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  1157. $ctx1.sendIdx["add:"]=13;
  1158. //>>excludeEnd("ctx");
  1159. $recv($2)._add_($JtalkAndNode2());
  1160. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  1161. $ctx1.sendIdx["add:"]=14;
  1162. //>>excludeEnd("ctx");
  1163. $recv($2)._add_($JtalkAndNode3());
  1164. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  1165. $ctx1.sendIdx["add:"]=15;
  1166. //>>excludeEnd("ctx");
  1167. $recv($2)._add_($JtalkAndWebOS());
  1168. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  1169. $ctx1.sendIdx["add:"]=16;
  1170. //>>excludeEnd("ctx");
  1171. $recv($2)._add_($JtalkAndEnyo());
  1172. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  1173. $ctx1.sendIdx["add:"]=17;
  1174. //>>excludeEnd("ctx");
  1175. $recv($2)._add_($ContributionsSlide());
  1176. $3=$recv($2)._yourself();
  1177. $1=$3;
  1178. return $1;
  1179. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  1180. }, function($ctx1) {$ctx1.fill(self,"slideClasses",{},$globals.SweSUG2012Presentation)});
  1181. //>>excludeEnd("ctx");
  1182. },
  1183. //>>excludeStart("ide", pragmas.excludeIdeData);
  1184. args: [],
  1185. source: "slideClasses\x0a\x09^Array new\x0a\x09\x09add: SweSUGIntroSlide;\x0a\x09\x09add: SweSUGAboutSlide;\x0a\x09\x09add: SweSUGWhatIsAmberSlide;\x0a\x09\x09add: SweSUGAmberFeaturesSlide;\x0a\x09\x09add: SweSUGWorkspaceSlide;\x0a\x09\x09add: IDESlide;\x0a\x09\x09add: CountersSlide;\x0a\x09\x09add: JtalkAndJavascriptSlide;\x0a\x09\x09add: JtalkAndJavascriptSlide2;\x0a\x09\x09add: JtalkAndJavascriptSlide3;\x0a\x09\x09add: JtalkAndJavascriptSlide4;\x0a\x09\x09add: JtalkAndCLI;\x0a\x09\x09add: JtalkAndNode;\x0a\x09\x09add: JtalkAndNode2;\x0a\x09\x09add: JtalkAndNode3;\x0a\x09\x09add: JtalkAndWebOS;\x0a\x09\x09add: JtalkAndEnyo;\x0a\x09\x09add: ContributionsSlide;\x0a\x09\x09yourself",
  1186. referencedClasses: ["Array", "SweSUGIntroSlide", "SweSUGAboutSlide", "SweSUGWhatIsAmberSlide", "SweSUGAmberFeaturesSlide", "SweSUGWorkspaceSlide", "IDESlide", "CountersSlide", "JtalkAndJavascriptSlide", "JtalkAndJavascriptSlide2", "JtalkAndJavascriptSlide3", "JtalkAndJavascriptSlide4", "JtalkAndCLI", "JtalkAndNode", "JtalkAndNode2", "JtalkAndNode3", "JtalkAndWebOS", "JtalkAndEnyo", "ContributionsSlide"],
  1187. //>>excludeEnd("ide");
  1188. messageSends: ["add:", "new", "yourself"]
  1189. }),
  1190. $globals.SweSUG2012Presentation);
  1191. $core.addMethod(
  1192. $core.method({
  1193. selector: "style",
  1194. protocol: 'accessing',
  1195. fn: function (){
  1196. var self=this;
  1197. return "\x0abody {\x0a font-family: Helvetica,Arial,sans;\x0a}\x0a\x0a#slides {\x0a width: 100%;\x0a height: 100%;\x0a overflow: hidden;\x0a position: absolute;\x0a top: 0;\x0a bottom: 0;\x0a left: 0;\x0a right: 0;\x0a background: #555;\x0a}\x0a\x0a.slide {\x0a background: #fff;\x0a color: #444;\x0a text-align: left;\x0a font-size: 20px;\x0a line-height: 1.8em;\x0a height: 500px;\x0a width: 700px;\x0a padding: 60px;\x0a position: absolute;\x0a left: 50%;\x0a top: 50%;\x0a margin-left: -420px;\x0a margin-top: -320px;\x0a box-shadow: 0 0 20px #111;\x0a -moz-box-shadow: 0 0 20px #111;\x0a -webkit-box-shadow: 0 0 20px #111;\x0a}\x0a\x0a.slide.transparent {\x0a background: transparent;\x0a box-shadow: 0 0 0 none;\x0a -moz-box-shadow: 0 0 0 transparent;\x0a -webkit-box-shadow: 0 0 0 transparent;\x0a color: #fff !important;\x0a}\x0a\x0a.slide.black {\x0a background: black;\x0a background-image: -webkit-gradient(\x0a\x09linear,\x0a\x09left bottom,\x0a\x09left top,\x0a\x09color-stop(0.38, rgb(79,79,79)),\x0a\x09color-stop(0.69, rgb(33,33,33)),\x0a\x09color-stop(0.86, rgb(4,4,4))\x0a );\x0a background-image: -moz-linear-gradient(\x0a\x09center bottom,\x0a\x09rgb(79,79,79) 38%,\x0a\x09rgb(33,33,33) 69%,\x0a\x09rgb(4,4,4) 86%\x0a );\x0a color: #fff !important;\x0a}\x0a\x0a.slide.black h1, .slide.black h2, .slide.black h3,\x0a.slide.transparent h1, .slide.transparent h2, .slide.transparent h3 {\x0a color: #fff;\x0a text-shadow: 0 1px 4px #aaa;\x0a}\x0a\x0a.slide.black a, .slide.transparent a {\x0a color: #ccc;\x0a}\x0a\x0a.slide.white {\x0a color: #333 !important;\x0a}\x0a\x0a.slide.white h1, .slide.white h2, .slide.white h3 {\x0a color: #333;\x0a}\x0a\x0a.slide.white a {\x0a color: #333;\x0a}\x0a\x0a\x0a.slide h1, .slide h2, .slide h3 {\x0a color: #333;\x0a /* text-align: center; */\x0a}\x0a\x0a.slide h1 {\x0a font-family: \x22Droid Sans\x22;\x0a font-size: 36px;\x0a text-shadow: 0 1px 4px #aaa;\x0a margin-top: 30px;\x0a margin-bottom: 50px;\x0a}\x0a\x0a/* .slide ul, .slide li { */\x0a/* padding: 0; */\x0a/* margin: 0; */\x0a/* } */\x0a\x0a.slide button {\x0a font-size: 18px;\x0a}\x0a\x0a.slide a {\x0a color: #555;\x0a text-decoration: none;\x0a cursor: pointer;\x0a}\x0a\x0a.slide a:hover {\x0a color: #fff;\x0a background: #555;\x0a}\x0a\x0a.slide .right {\x0a text-align: right;\x0a}\x0a\x0a.slide .section.center {\x0a text-align: center;\x0a display: table-cell;\x0a vertical-align: middle;\x0a width: 700px;\x0a height: 500px;\x0a}\x0a\x0a.slide code {\x0a font-family: \x22Droid Sans Mono\x22;\x0a color: #444;\x0a border: 1px solid #ddd;\x0a background: #eee;\x0a border-radius: 4px;\x0a padding: 2px;\x0a font-size: 16px;\x0a}\x0a\x0a.slide .code2 {\x0a font-family: \x22Droid Sans Mono\x22;\x0a line-height: 1.2em;\x0a color: #444;\x0a padding: 2px;\x0a font-size: 16px;\x0a}\x0a\x0a\x0a.slide .CodeMirror {\x0a width: 500px;\x0a height: 300px;\x0a text-align: left;\x0a}\x0a\x0a.slide .CodeMirror-scroll {\x0a text-align: left;\x0a}\x0a\x0a.slide .fancy {\x0a margin-top: 30px;\x0a -webkit-transform: rotate(-10deg);\x0a -moz-transform: rotate(-10deg);\x0a transform: rotate(-10deg);\x0a color: red;\x0a}\x0a\x0a.slide .comment {\x0a opacity: 0.6;\x0a font-weight: normal;\x0a}\x0a\x0a.slide .red {\x0a color: red;\x0a}\x0a\x0a.slide .blue {\x0a color: blue;\x0a}\x0a\x0a.slide#WhatIsJtalk {\x0a background: white url(\x22esug2011/images/balloon.jpg\x22) 650px 50px no-repeat;\x0a}\x0a\x0a.slide#ide {\x0a background: black url(\x22esug2011/images/ide_star_wars.png\x22) center center no-repeat;\x0a}\x0a\x0a.slide#JtalkAndCLI {\x0a background: white url(\x22esug2011/images/terminal.png\x22) 620px 20px no-repeat;\x0a}\x0a\x0a.slide#JtalkAndNode {\x0a background: white url(\x22esug2011/images/nodejs.png\x22) 580px 40px no-repeat;\x0a}\x0a.slide#JtalkAndNode2 {\x0a background: white url(\x22esug2011/images/nodejs.png\x22) 580px 40px no-repeat;\x0a}\x0a\x0a.slide#JtalkAndNode3 {\x0a background: white url(\x22esug2011/images/nodejs.png\x22) 580px 40px no-repeat;\x0a}\x0a\x0a.slide#JtalkAndWebOS {\x0a background: white url(\x22esug2011/images/devices.jpg\x22) 380px 280px no-repeat;\x0a}\x0a\x0a.slide#JtalkAndEnyo {\x0a background: white url(\x22esug2011/images/enyo.png\x22) 130px 150px no-repeat;\x0a}\x0a\x0a.slide#links {\x0a background: white url(\x22esug2011/images/asterix.png\x22) 30px 130px no-repeat;\x0a}\x0a\x0a.slide#links .section {\x0a margin-left: 250px;\x0a margin-top: 200px;\x0a font-family: \x22Droid Sans\x22;\x0a font-size: 26px;\x0a font-weight: bold;\x0a}\x0a\x0a\x0a#meta {\x0a position: absolute;\x0a font-size: 12px;\x0a opacity: 0.6;\x0a bottom: 0;\x0a right: 0;\x0a z-index: 2;\x0a background: #333;\x0a text-align: right;\x0a padding: 0 10px;\x0a line-height: 1.8em;\x0a color: #eee;\x0a border-top-left-radius: 5px;\x0a}\x0a\x0a#meta:hover {\x0a opacity: 0.8;\x0a}\x0a\x0a#meta p {\x0a display: inline;\x0a padding: 0 5px;\x0a}\x0a\x0a#meta a {\x0a //background: #ccc;\x0a color: #ccc;\x0a text-decoration: none;\x0a padding: 0 5px;\x0a}\x0a\x0a.slide {\x0a \x0a}\x0a";
  1198. },
  1199. //>>excludeStart("ide", pragmas.excludeIdeData);
  1200. args: [],
  1201. source: "style\x0a\x09^'\x0abody {\x0a font-family: Helvetica,Arial,sans;\x0a}\x0a\x0a#slides {\x0a width: 100%;\x0a height: 100%;\x0a overflow: hidden;\x0a position: absolute;\x0a top: 0;\x0a bottom: 0;\x0a left: 0;\x0a right: 0;\x0a background: #555;\x0a}\x0a\x0a.slide {\x0a background: #fff;\x0a color: #444;\x0a text-align: left;\x0a font-size: 20px;\x0a line-height: 1.8em;\x0a height: 500px;\x0a width: 700px;\x0a padding: 60px;\x0a position: absolute;\x0a left: 50%;\x0a top: 50%;\x0a margin-left: -420px;\x0a margin-top: -320px;\x0a box-shadow: 0 0 20px #111;\x0a -moz-box-shadow: 0 0 20px #111;\x0a -webkit-box-shadow: 0 0 20px #111;\x0a}\x0a\x0a.slide.transparent {\x0a background: transparent;\x0a box-shadow: 0 0 0 none;\x0a -moz-box-shadow: 0 0 0 transparent;\x0a -webkit-box-shadow: 0 0 0 transparent;\x0a color: #fff !important;\x0a}\x0a\x0a.slide.black {\x0a background: black;\x0a background-image: -webkit-gradient(\x0a\x09linear,\x0a\x09left bottom,\x0a\x09left top,\x0a\x09color-stop(0.38, rgb(79,79,79)),\x0a\x09color-stop(0.69, rgb(33,33,33)),\x0a\x09color-stop(0.86, rgb(4,4,4))\x0a );\x0a background-image: -moz-linear-gradient(\x0a\x09center bottom,\x0a\x09rgb(79,79,79) 38%,\x0a\x09rgb(33,33,33) 69%,\x0a\x09rgb(4,4,4) 86%\x0a );\x0a color: #fff !important;\x0a}\x0a\x0a.slide.black h1, .slide.black h2, .slide.black h3,\x0a.slide.transparent h1, .slide.transparent h2, .slide.transparent h3 {\x0a color: #fff;\x0a text-shadow: 0 1px 4px #aaa;\x0a}\x0a\x0a.slide.black a, .slide.transparent a {\x0a color: #ccc;\x0a}\x0a\x0a.slide.white {\x0a color: #333 !important;\x0a}\x0a\x0a.slide.white h1, .slide.white h2, .slide.white h3 {\x0a color: #333;\x0a}\x0a\x0a.slide.white a {\x0a color: #333;\x0a}\x0a\x0a\x0a.slide h1, .slide h2, .slide h3 {\x0a color: #333;\x0a /* text-align: center; */\x0a}\x0a\x0a.slide h1 {\x0a font-family: \x22Droid Sans\x22;\x0a font-size: 36px;\x0a text-shadow: 0 1px 4px #aaa;\x0a margin-top: 30px;\x0a margin-bottom: 50px;\x0a}\x0a\x0a/* .slide ul, .slide li { */\x0a/* padding: 0; */\x0a/* margin: 0; */\x0a/* } */\x0a\x0a.slide button {\x0a font-size: 18px;\x0a}\x0a\x0a.slide a {\x0a color: #555;\x0a text-decoration: none;\x0a cursor: pointer;\x0a}\x0a\x0a.slide a:hover {\x0a color: #fff;\x0a background: #555;\x0a}\x0a\x0a.slide .right {\x0a text-align: right;\x0a}\x0a\x0a.slide .section.center {\x0a text-align: center;\x0a display: table-cell;\x0a vertical-align: middle;\x0a width: 700px;\x0a height: 500px;\x0a}\x0a\x0a.slide code {\x0a font-family: \x22Droid Sans Mono\x22;\x0a color: #444;\x0a border: 1px solid #ddd;\x0a background: #eee;\x0a border-radius: 4px;\x0a padding: 2px;\x0a font-size: 16px;\x0a}\x0a\x0a.slide .code2 {\x0a font-family: \x22Droid Sans Mono\x22;\x0a line-height: 1.2em;\x0a color: #444;\x0a padding: 2px;\x0a font-size: 16px;\x0a}\x0a\x0a\x0a.slide .CodeMirror {\x0a width: 500px;\x0a height: 300px;\x0a text-align: left;\x0a}\x0a\x0a.slide .CodeMirror-scroll {\x0a text-align: left;\x0a}\x0a\x0a.slide .fancy {\x0a margin-top: 30px;\x0a -webkit-transform: rotate(-10deg);\x0a -moz-transform: rotate(-10deg);\x0a transform: rotate(-10deg);\x0a color: red;\x0a}\x0a\x0a.slide .comment {\x0a opacity: 0.6;\x0a font-weight: normal;\x0a}\x0a\x0a.slide .red {\x0a color: red;\x0a}\x0a\x0a.slide .blue {\x0a color: blue;\x0a}\x0a\x0a.slide#WhatIsJtalk {\x0a background: white url(\x22esug2011/images/balloon.jpg\x22) 650px 50px no-repeat;\x0a}\x0a\x0a.slide#ide {\x0a background: black url(\x22esug2011/images/ide_star_wars.png\x22) center center no-repeat;\x0a}\x0a\x0a.slide#JtalkAndCLI {\x0a background: white url(\x22esug2011/images/terminal.png\x22) 620px 20px no-repeat;\x0a}\x0a\x0a.slide#JtalkAndNode {\x0a background: white url(\x22esug2011/images/nodejs.png\x22) 580px 40px no-repeat;\x0a}\x0a.slide#JtalkAndNode2 {\x0a background: white url(\x22esug2011/images/nodejs.png\x22) 580px 40px no-repeat;\x0a}\x0a\x0a.slide#JtalkAndNode3 {\x0a background: white url(\x22esug2011/images/nodejs.png\x22) 580px 40px no-repeat;\x0a}\x0a\x0a.slide#JtalkAndWebOS {\x0a background: white url(\x22esug2011/images/devices.jpg\x22) 380px 280px no-repeat;\x0a}\x0a\x0a.slide#JtalkAndEnyo {\x0a background: white url(\x22esug2011/images/enyo.png\x22) 130px 150px no-repeat;\x0a}\x0a\x0a.slide#links {\x0a background: white url(\x22esug2011/images/asterix.png\x22) 30px 130px no-repeat;\x0a}\x0a\x0a.slide#links .section {\x0a margin-left: 250px;\x0a margin-top: 200px;\x0a font-family: \x22Droid Sans\x22;\x0a font-size: 26px;\x0a font-weight: bold;\x0a}\x0a\x0a\x0a#meta {\x0a position: absolute;\x0a font-size: 12px;\x0a opacity: 0.6;\x0a bottom: 0;\x0a right: 0;\x0a z-index: 2;\x0a background: #333;\x0a text-align: right;\x0a padding: 0 10px;\x0a line-height: 1.8em;\x0a color: #eee;\x0a border-top-left-radius: 5px;\x0a}\x0a\x0a#meta:hover {\x0a opacity: 0.8;\x0a}\x0a\x0a#meta p {\x0a display: inline;\x0a padding: 0 5px;\x0a}\x0a\x0a#meta a {\x0a //background: #ccc;\x0a color: #ccc;\x0a text-decoration: none;\x0a padding: 0 5px;\x0a}\x0a\x0a.slide {\x0a \x0a}\x0a'",
  1202. referencedClasses: [],
  1203. //>>excludeEnd("ide");
  1204. messageSends: []
  1205. }),
  1206. $globals.SweSUG2012Presentation);
  1207. $core.addMethod(
  1208. $core.method({
  1209. selector: "url",
  1210. protocol: 'accessing',
  1211. fn: function (){
  1212. var self=this;
  1213. return "http://www.amber-lang.net";
  1214. },
  1215. //>>excludeStart("ide", pragmas.excludeIdeData);
  1216. args: [],
  1217. source: "url\x0a\x09^'http://www.amber-lang.net'",
  1218. referencedClasses: [],
  1219. //>>excludeEnd("ide");
  1220. messageSends: []
  1221. }),
  1222. $globals.SweSUG2012Presentation);
  1223. $core.addMethod(
  1224. $core.method({
  1225. selector: "isConcrete",
  1226. protocol: 'testing',
  1227. fn: function (){
  1228. var self=this;
  1229. return true;
  1230. },
  1231. //>>excludeStart("ide", pragmas.excludeIdeData);
  1232. args: [],
  1233. source: "isConcrete\x0a\x09^true",
  1234. referencedClasses: [],
  1235. //>>excludeEnd("ide");
  1236. messageSends: []
  1237. }),
  1238. $globals.SweSUG2012Presentation.klass);
  1239. $core.addMethod(
  1240. $core.method({
  1241. selector: "title",
  1242. protocol: 'accessing',
  1243. fn: function (){
  1244. var self=this;
  1245. return "Amber rocks!";
  1246. },
  1247. //>>excludeStart("ide", pragmas.excludeIdeData);
  1248. args: [],
  1249. source: "title\x0a\x09^'Amber rocks!'",
  1250. referencedClasses: [],
  1251. //>>excludeEnd("ide");
  1252. messageSends: []
  1253. }),
  1254. $globals.SweSUG2012Presentation.klass);
  1255. $core.addClass('PresentationNavigator', $globals.Widget, ['presentationBrush', 'currentPresentation', 'slideSelect'], 'Presentation');
  1256. $core.addMethod(
  1257. $core.method({
  1258. selector: "checkHash",
  1259. protocol: 'hash',
  1260. fn: function (){
  1261. var self=this;
  1262. var hash,presentation;
  1263. function $Presentation(){return $globals.Presentation||(typeof Presentation=="undefined"?nil:Presentation)}
  1264. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  1265. return $core.withContext(function($ctx1) {
  1266. //>>excludeEnd("ctx");
  1267. var $1;
  1268. var $early={};
  1269. try {
  1270. hash=$recv($recv($recv($recv(document)._location())._hash())._replace_with_("^#",""))._tokenize_("-");
  1271. presentation=$recv($recv($Presentation())._concretePresentations())._detect_ifNone_((function(aPresentationClass){
  1272. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  1273. return $core.withContext(function($ctx2) {
  1274. //>>excludeEnd("ctx");
  1275. return $recv($recv(aPresentationClass)._name()).__eq_eq($recv(hash)._first());
  1276. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  1277. $ctx2.sendIdx["=="]=1;
  1278. //>>excludeEnd("ctx");
  1279. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  1280. }, function($ctx2) {$ctx2.fillBlock({aPresentationClass:aPresentationClass},$ctx1,1)});
  1281. //>>excludeEnd("ctx");
  1282. }),(function(){
  1283. throw $early=[self];
  1284. }));
  1285. $1=$recv(presentation).__eq_eq($recv(self._currentPresentation())._class());
  1286. if(!$core.assert($1)){
  1287. self._selectPresentationNamed_(presentation);
  1288. self._selectSlideAt_($recv(hash)._last());
  1289. };
  1290. return self;
  1291. }
  1292. catch(e) {if(e===$early)return e[0]; throw e}
  1293. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  1294. }, function($ctx1) {$ctx1.fill(self,"checkHash",{hash:hash,presentation:presentation},$globals.PresentationNavigator)});
  1295. //>>excludeEnd("ctx");
  1296. },
  1297. //>>excludeStart("ide", pragmas.excludeIdeData);
  1298. args: [],
  1299. source: "checkHash\x0a\x09| hash presentation |\x0a\x09hash := (document location hash replace: '^#' with: '') tokenize: '-'. \x0a\x09presentation := Presentation concretePresentations \x0a\x09\x09\x09\x09detect: [:aPresentationClass | aPresentationClass name == hash first]\x0a\x09\x09\x09\x09ifNone: [^ self].\x0a\x09presentation == self currentPresentation class ifFalse: [\x0a \x09self selectPresentationNamed: presentation.\x0a \x09self selectSlideAt: hash last\x0a ].",
  1300. referencedClasses: ["Presentation"],
  1301. //>>excludeEnd("ide");
  1302. messageSends: ["tokenize:", "replace:with:", "hash", "location", "detect:ifNone:", "concretePresentations", "==", "name", "first", "ifFalse:", "class", "currentPresentation", "selectPresentationNamed:", "selectSlideAt:", "last"]
  1303. }),
  1304. $globals.PresentationNavigator);
  1305. $core.addMethod(
  1306. $core.method({
  1307. selector: "checkHashChange",
  1308. protocol: 'hash',
  1309. fn: function (){
  1310. var self=this;
  1311. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  1312. return $core.withContext(function($ctx1) {
  1313. //>>excludeEnd("ctx");
  1314. $recv($recv(window)._jQuery_(window))._bind_do_("hashchange",(function(){
  1315. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  1316. return $core.withContext(function($ctx2) {
  1317. //>>excludeEnd("ctx");
  1318. return self._checkHash();
  1319. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  1320. }, function($ctx2) {$ctx2.fillBlock({},$ctx1,1)});
  1321. //>>excludeEnd("ctx");
  1322. }));
  1323. return self;
  1324. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  1325. }, function($ctx1) {$ctx1.fill(self,"checkHashChange",{},$globals.PresentationNavigator)});
  1326. //>>excludeEnd("ctx");
  1327. },
  1328. //>>excludeStart("ide", pragmas.excludeIdeData);
  1329. args: [],
  1330. source: "checkHashChange\x0a\x09(window jQuery: window) bind: 'hashchange' do: [self checkHash]",
  1331. referencedClasses: [],
  1332. //>>excludeEnd("ide");
  1333. messageSends: ["bind:do:", "jQuery:", "checkHash"]
  1334. }),
  1335. $globals.PresentationNavigator);
  1336. $core.addMethod(
  1337. $core.method({
  1338. selector: "currentPresentation",
  1339. protocol: 'accessing',
  1340. fn: function (){
  1341. var self=this;
  1342. function $Presentation(){return $globals.Presentation||(typeof Presentation=="undefined"?nil:Presentation)}
  1343. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  1344. return $core.withContext(function($ctx1) {
  1345. //>>excludeEnd("ctx");
  1346. var $2,$1,$receiver;
  1347. $2=self["@currentPresentation"];
  1348. if(($receiver = $2) == null || $receiver.isNil){
  1349. self["@currentPresentation"]=$recv($recv($recv($Presentation())._concretePresentations())._first())._new();
  1350. $1=self["@currentPresentation"];
  1351. } else {
  1352. $1=$2;
  1353. };
  1354. return $1;
  1355. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  1356. }, function($ctx1) {$ctx1.fill(self,"currentPresentation",{},$globals.PresentationNavigator)});
  1357. //>>excludeEnd("ctx");
  1358. },
  1359. //>>excludeStart("ide", pragmas.excludeIdeData);
  1360. args: [],
  1361. source: "currentPresentation\x0a\x09^ currentPresentation ifNil: [currentPresentation := Presentation concretePresentations first new].",
  1362. referencedClasses: ["Presentation"],
  1363. //>>excludeEnd("ide");
  1364. messageSends: ["ifNil:", "new", "first", "concretePresentations"]
  1365. }),
  1366. $globals.PresentationNavigator);
  1367. $core.addMethod(
  1368. $core.method({
  1369. selector: "currentPresentation:",
  1370. protocol: 'accessing',
  1371. fn: function (aPresentation){
  1372. var self=this;
  1373. self["@currentPresentation"]=aPresentation;
  1374. return self;
  1375. },
  1376. //>>excludeStart("ide", pragmas.excludeIdeData);
  1377. args: ["aPresentation"],
  1378. source: "currentPresentation: aPresentation\x0a\x09currentPresentation := aPresentation.",
  1379. referencedClasses: [],
  1380. //>>excludeEnd("ide");
  1381. messageSends: []
  1382. }),
  1383. $globals.PresentationNavigator);
  1384. $core.addMethod(
  1385. $core.method({
  1386. selector: "nextSlide",
  1387. protocol: 'callbacks',
  1388. fn: function (){
  1389. var self=this;
  1390. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  1391. return $core.withContext(function($ctx1) {
  1392. //>>excludeEnd("ctx");
  1393. $recv(self._currentPresentation())._nextSlide();
  1394. self._updateHash();
  1395. return self;
  1396. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  1397. }, function($ctx1) {$ctx1.fill(self,"nextSlide",{},$globals.PresentationNavigator)});
  1398. //>>excludeEnd("ctx");
  1399. },
  1400. //>>excludeStart("ide", pragmas.excludeIdeData);
  1401. args: [],
  1402. source: "nextSlide\x0a\x09self currentPresentation nextSlide.\x0a\x09self updateHash.",
  1403. referencedClasses: [],
  1404. //>>excludeEnd("ide");
  1405. messageSends: ["nextSlide", "currentPresentation", "updateHash"]
  1406. }),
  1407. $globals.PresentationNavigator);
  1408. $core.addMethod(
  1409. $core.method({
  1410. selector: "open",
  1411. protocol: 'rendering',
  1412. fn: function (){
  1413. var self=this;
  1414. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  1415. return $core.withContext(function($ctx1) {
  1416. //>>excludeEnd("ctx");
  1417. var $1;
  1418. $recv($recv(window)._jQuery_(document))._ready_((function(){
  1419. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  1420. return $core.withContext(function($ctx2) {
  1421. //>>excludeEnd("ctx");
  1422. self._appendToJQuery_("body"._asJQuery());
  1423. self._setKeybindings();
  1424. $1=self._checkHashChange();
  1425. return $1;
  1426. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  1427. }, function($ctx2) {$ctx2.fillBlock({},$ctx1,1)});
  1428. //>>excludeEnd("ctx");
  1429. }));
  1430. return self;
  1431. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  1432. }, function($ctx1) {$ctx1.fill(self,"open",{},$globals.PresentationNavigator)});
  1433. //>>excludeEnd("ctx");
  1434. },
  1435. //>>excludeStart("ide", pragmas.excludeIdeData);
  1436. args: [],
  1437. source: "open\x0a\x09(window jQuery: document) ready: [\x0a \x09self \x0a \x09\x09appendToJQuery: 'body' asJQuery;\x0a \x09\x09setKeybindings;\x0a \x09\x09checkHashChange.\x0a ].",
  1438. referencedClasses: [],
  1439. //>>excludeEnd("ide");
  1440. messageSends: ["ready:", "jQuery:", "appendToJQuery:", "asJQuery", "setKeybindings", "checkHashChange"]
  1441. }),
  1442. $globals.PresentationNavigator);
  1443. $core.addMethod(
  1444. $core.method({
  1445. selector: "previousSlide",
  1446. protocol: 'callbacks',
  1447. fn: function (){
  1448. var self=this;
  1449. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  1450. return $core.withContext(function($ctx1) {
  1451. //>>excludeEnd("ctx");
  1452. $recv(self._currentPresentation())._previousSlide();
  1453. self._updateHash();
  1454. return self;
  1455. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  1456. }, function($ctx1) {$ctx1.fill(self,"previousSlide",{},$globals.PresentationNavigator)});
  1457. //>>excludeEnd("ctx");
  1458. },
  1459. //>>excludeStart("ide", pragmas.excludeIdeData);
  1460. args: [],
  1461. source: "previousSlide\x0a\x09self currentPresentation previousSlide.\x0a\x09self updateHash.",
  1462. referencedClasses: [],
  1463. //>>excludeEnd("ide");
  1464. messageSends: ["previousSlide", "currentPresentation", "updateHash"]
  1465. }),
  1466. $globals.PresentationNavigator);
  1467. $core.addMethod(
  1468. $core.method({
  1469. selector: "reload",
  1470. protocol: 'callbacks',
  1471. fn: function (){
  1472. var self=this;
  1473. var slideIndex;
  1474. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  1475. return $core.withContext(function($ctx1) {
  1476. //>>excludeEnd("ctx");
  1477. var $1;
  1478. $1=self._currentPresentation();
  1479. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  1480. $ctx1.sendIdx["currentPresentation"]=1;
  1481. //>>excludeEnd("ctx");
  1482. slideIndex=$recv($1)._currentSlideIndex();
  1483. self._currentPresentation_($recv($recv(self._currentPresentation())._class())._new());
  1484. self._renderCurrentPresentation();
  1485. self._selectSlideAt_(slideIndex);
  1486. return self;
  1487. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  1488. }, function($ctx1) {$ctx1.fill(self,"reload",{slideIndex:slideIndex},$globals.PresentationNavigator)});
  1489. //>>excludeEnd("ctx");
  1490. },
  1491. //>>excludeStart("ide", pragmas.excludeIdeData);
  1492. args: [],
  1493. source: "reload\x0a\x09|slideIndex|\x0a\x09slideIndex := self currentPresentation currentSlideIndex.\x0a\x09self currentPresentation: self currentPresentation class new.\x0a\x09self renderCurrentPresentation.\x0a\x09self selectSlideAt: slideIndex.",
  1494. referencedClasses: [],
  1495. //>>excludeEnd("ide");
  1496. messageSends: ["currentSlideIndex", "currentPresentation", "currentPresentation:", "new", "class", "renderCurrentPresentation", "selectSlideAt:"]
  1497. }),
  1498. $globals.PresentationNavigator);
  1499. $core.addMethod(
  1500. $core.method({
  1501. selector: "renderCurrentPresentation",
  1502. protocol: 'rendering',
  1503. fn: function (){
  1504. var self=this;
  1505. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  1506. return $core.withContext(function($ctx1) {
  1507. //>>excludeEnd("ctx");
  1508. $recv(self["@presentationBrush"])._contents_((function(html){
  1509. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  1510. return $core.withContext(function($ctx2) {
  1511. //>>excludeEnd("ctx");
  1512. return $recv(self._currentPresentation())._renderOn_(html);
  1513. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  1514. }, function($ctx2) {$ctx2.fillBlock({html:html},$ctx1,1)});
  1515. //>>excludeEnd("ctx");
  1516. }));
  1517. self._updateSlideSelect();
  1518. return self;
  1519. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  1520. }, function($ctx1) {$ctx1.fill(self,"renderCurrentPresentation",{},$globals.PresentationNavigator)});
  1521. //>>excludeEnd("ctx");
  1522. },
  1523. //>>excludeStart("ide", pragmas.excludeIdeData);
  1524. args: [],
  1525. source: "renderCurrentPresentation\x0a\x09presentationBrush contents: [:html |\x0a \x09self currentPresentation renderOn: html.\x0a ].\x0a\x09self updateSlideSelect.",
  1526. referencedClasses: [],
  1527. //>>excludeEnd("ide");
  1528. messageSends: ["contents:", "renderOn:", "currentPresentation", "updateSlideSelect"]
  1529. }),
  1530. $globals.PresentationNavigator);
  1531. $core.addMethod(
  1532. $core.method({
  1533. selector: "renderOn:",
  1534. protocol: 'rendering',
  1535. fn: function (html){
  1536. var self=this;
  1537. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  1538. return $core.withContext(function($ctx1) {
  1539. //>>excludeEnd("ctx");
  1540. var $1,$2,$3,$5,$4,$6,$7;
  1541. $1=$recv(html)._style();
  1542. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  1543. $ctx1.sendIdx["style"]=1;
  1544. //>>excludeEnd("ctx");
  1545. $recv($1)._type_("text/css");
  1546. $2=$recv($1)._with_(self._style());
  1547. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  1548. $ctx1.sendIdx["with:"]=1;
  1549. //>>excludeEnd("ctx");
  1550. $3=$recv(html)._div();
  1551. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  1552. $ctx1.sendIdx["div"]=1;
  1553. //>>excludeEnd("ctx");
  1554. $recv($3)._id_("navigator");
  1555. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  1556. $ctx1.sendIdx["id:"]=1;
  1557. //>>excludeEnd("ctx");
  1558. $4=$recv($3)._with_((function(){
  1559. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  1560. return $core.withContext(function($ctx2) {
  1561. //>>excludeEnd("ctx");
  1562. self._renderToolsOn_(html);
  1563. self._renderPresentationSelectOn_(html);
  1564. $5=self._renderSlideSelectOn_(html);
  1565. return $5;
  1566. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  1567. }, function($ctx2) {$ctx2.fillBlock({},$ctx1,1)});
  1568. //>>excludeEnd("ctx");
  1569. }));
  1570. $6=$recv(html)._div();
  1571. $recv($6)._id_("presentation");
  1572. $7=$recv($6)._yourself();
  1573. self["@presentationBrush"]=$7;
  1574. self._checkHash();
  1575. self._renderCurrentPresentation();
  1576. return self;
  1577. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  1578. }, function($ctx1) {$ctx1.fill(self,"renderOn:",{html:html},$globals.PresentationNavigator)});
  1579. //>>excludeEnd("ctx");
  1580. },
  1581. //>>excludeStart("ide", pragmas.excludeIdeData);
  1582. args: ["html"],
  1583. source: "renderOn: html\x0a\x09html style\x0a\x09\x09type: 'text/css';\x0a\x09\x09with: self style.\x0a\x09html div\x0a\x09\x09id: 'navigator';\x0a\x09\x09with: [\x09self\x0a\x09\x09\x09\x09\x09renderToolsOn: html;\x0a\x09\x09\x09\x09\x09renderPresentationSelectOn: html;\x0a \x09\x09\x09renderSlideSelectOn: html].\x0a\x0a\x09presentationBrush := html div \x0a\x09\x09\x09\x09\x09\x09\x09id: 'presentation';\x0a\x09\x09\x09\x09\x09\x09\x09yourself.\x0a\x0a\x09self checkHash.\x0a\x09self renderCurrentPresentation.",
  1584. referencedClasses: [],
  1585. //>>excludeEnd("ide");
  1586. messageSends: ["type:", "style", "with:", "id:", "div", "renderToolsOn:", "renderPresentationSelectOn:", "renderSlideSelectOn:", "yourself", "checkHash", "renderCurrentPresentation"]
  1587. }),
  1588. $globals.PresentationNavigator);
  1589. $core.addMethod(
  1590. $core.method({
  1591. selector: "renderPresentationSelectOn:",
  1592. protocol: 'rendering',
  1593. fn: function (html){
  1594. var self=this;
  1595. var presentationSelect;
  1596. function $Presentation(){return $globals.Presentation||(typeof Presentation=="undefined"?nil:Presentation)}
  1597. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  1598. return $core.withContext(function($ctx1) {
  1599. //>>excludeEnd("ctx");
  1600. var $1,$3,$4,$2;
  1601. presentationSelect=$recv(html)._select();
  1602. $1=presentationSelect;
  1603. $recv($1)._onChange_((function(){
  1604. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  1605. return $core.withContext(function($ctx2) {
  1606. //>>excludeEnd("ctx");
  1607. return self._selectPresentationNamed_($recv($recv(presentationSelect)._asJQuery())._val());
  1608. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  1609. }, function($ctx2) {$ctx2.fillBlock({},$ctx1,1)});
  1610. //>>excludeEnd("ctx");
  1611. }));
  1612. $2=$recv($1)._with_((function(){
  1613. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  1614. return $core.withContext(function($ctx2) {
  1615. //>>excludeEnd("ctx");
  1616. return $recv($Presentation())._concretePresentationsDo_((function(aPresentationClass){
  1617. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  1618. return $core.withContext(function($ctx3) {
  1619. //>>excludeEnd("ctx");
  1620. $3=$recv(html)._option();
  1621. $recv($3)._value_($recv(aPresentationClass)._name());
  1622. $4=$recv($3)._with_($recv(aPresentationClass)._title());
  1623. return $4;
  1624. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  1625. }, function($ctx3) {$ctx3.fillBlock({aPresentationClass:aPresentationClass},$ctx2,3)});
  1626. //>>excludeEnd("ctx");
  1627. }));
  1628. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  1629. }, function($ctx2) {$ctx2.fillBlock({},$ctx1,2)});
  1630. //>>excludeEnd("ctx");
  1631. }));
  1632. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  1633. $ctx1.sendIdx["with:"]=1;
  1634. //>>excludeEnd("ctx");
  1635. return self;
  1636. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  1637. }, function($ctx1) {$ctx1.fill(self,"renderPresentationSelectOn:",{html:html,presentationSelect:presentationSelect},$globals.PresentationNavigator)});
  1638. //>>excludeEnd("ctx");
  1639. },
  1640. //>>excludeStart("ide", pragmas.excludeIdeData);
  1641. args: ["html"],
  1642. source: "renderPresentationSelectOn: html\x0a\x09|presentationSelect|\x0a\x09presentationSelect := html select.\x0a\x09presentationSelect\x0a\x09\x09onChange: [self selectPresentationNamed: presentationSelect asJQuery val];\x0a\x09\x09with: [\x09Presentation concretePresentationsDo: [:aPresentationClass | \x0a \x09\x09\x09\x09\x09\x09\x09html option\x0a \x09\x09\x09\x09\x09\x09\x09\x09value: aPresentationClass name;\x0a \x09\x09\x09\x09\x09\x09\x09\x09with: aPresentationClass title ] ].",
  1643. referencedClasses: ["Presentation"],
  1644. //>>excludeEnd("ide");
  1645. messageSends: ["select", "onChange:", "selectPresentationNamed:", "val", "asJQuery", "with:", "concretePresentationsDo:", "value:", "option", "name", "title"]
  1646. }),
  1647. $globals.PresentationNavigator);
  1648. $core.addMethod(
  1649. $core.method({
  1650. selector: "renderSlideSelectOn:",
  1651. protocol: 'rendering',
  1652. fn: function (html){
  1653. var self=this;
  1654. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  1655. return $core.withContext(function($ctx1) {
  1656. //>>excludeEnd("ctx");
  1657. self["@slideSelect"]=$recv(html)._select();
  1658. $recv(self["@slideSelect"])._onChange_((function(){
  1659. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  1660. return $core.withContext(function($ctx2) {
  1661. //>>excludeEnd("ctx");
  1662. return self._selectSlideAt_($recv($recv(self["@slideSelect"])._asJQuery())._val());
  1663. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  1664. }, function($ctx2) {$ctx2.fillBlock({},$ctx1,1)});
  1665. //>>excludeEnd("ctx");
  1666. }));
  1667. self._updateSlideSelect();
  1668. return self;
  1669. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  1670. }, function($ctx1) {$ctx1.fill(self,"renderSlideSelectOn:",{html:html},$globals.PresentationNavigator)});
  1671. //>>excludeEnd("ctx");
  1672. },
  1673. //>>excludeStart("ide", pragmas.excludeIdeData);
  1674. args: ["html"],
  1675. source: "renderSlideSelectOn: html\x0a\x09slideSelect := html select.\x0a\x09slideSelect onChange: [ self selectSlideAt: slideSelect asJQuery val ].\x0a\x09self updateSlideSelect.",
  1676. referencedClasses: [],
  1677. //>>excludeEnd("ide");
  1678. messageSends: ["select", "onChange:", "selectSlideAt:", "val", "asJQuery", "updateSlideSelect"]
  1679. }),
  1680. $globals.PresentationNavigator);
  1681. $core.addMethod(
  1682. $core.method({
  1683. selector: "renderToolsOn:",
  1684. protocol: 'rendering',
  1685. fn: function (html){
  1686. var self=this;
  1687. function $TabManager(){return $globals.TabManager||(typeof TabManager=="undefined"?nil:TabManager)}
  1688. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  1689. return $core.withContext(function($ctx1) {
  1690. //>>excludeEnd("ctx");
  1691. var $1,$2,$3,$4,$5,$6,$7,$8;
  1692. $1=$recv(html)._a();
  1693. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  1694. $ctx1.sendIdx["a"]=1;
  1695. //>>excludeEnd("ctx");
  1696. $recv($1)._with_("IDE");
  1697. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  1698. $ctx1.sendIdx["with:"]=1;
  1699. //>>excludeEnd("ctx");
  1700. $2=$recv($1)._onClick_((function(){
  1701. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  1702. return $core.withContext(function($ctx2) {
  1703. //>>excludeEnd("ctx");
  1704. return $recv($recv($TabManager())._current())._open();
  1705. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  1706. }, function($ctx2) {$ctx2.fillBlock({},$ctx1,1)});
  1707. //>>excludeEnd("ctx");
  1708. }));
  1709. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  1710. $ctx1.sendIdx["onClick:"]=1;
  1711. //>>excludeEnd("ctx");
  1712. $3=$recv(html)._a();
  1713. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  1714. $ctx1.sendIdx["a"]=2;
  1715. //>>excludeEnd("ctx");
  1716. $recv($3)._with_("Reload");
  1717. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  1718. $ctx1.sendIdx["with:"]=2;
  1719. //>>excludeEnd("ctx");
  1720. $4=$recv($3)._onClick_((function(){
  1721. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  1722. return $core.withContext(function($ctx2) {
  1723. //>>excludeEnd("ctx");
  1724. return self._reload();
  1725. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  1726. }, function($ctx2) {$ctx2.fillBlock({},$ctx1,2)});
  1727. //>>excludeEnd("ctx");
  1728. }));
  1729. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  1730. $ctx1.sendIdx["onClick:"]=2;
  1731. //>>excludeEnd("ctx");
  1732. $5=$recv(html)._a();
  1733. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  1734. $ctx1.sendIdx["a"]=3;
  1735. //>>excludeEnd("ctx");
  1736. $recv($5)._with_("←");
  1737. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  1738. $ctx1.sendIdx["with:"]=3;
  1739. //>>excludeEnd("ctx");
  1740. $6=$recv($5)._onClick_((function(){
  1741. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  1742. return $core.withContext(function($ctx2) {
  1743. //>>excludeEnd("ctx");
  1744. return self._previousSlide();
  1745. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  1746. }, function($ctx2) {$ctx2.fillBlock({},$ctx1,3)});
  1747. //>>excludeEnd("ctx");
  1748. }));
  1749. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  1750. $ctx1.sendIdx["onClick:"]=3;
  1751. //>>excludeEnd("ctx");
  1752. $7=$recv(html)._a();
  1753. $recv($7)._with_("→");
  1754. $8=$recv($7)._onClick_((function(){
  1755. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  1756. return $core.withContext(function($ctx2) {
  1757. //>>excludeEnd("ctx");
  1758. return self._nextSlide();
  1759. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  1760. }, function($ctx2) {$ctx2.fillBlock({},$ctx1,4)});
  1761. //>>excludeEnd("ctx");
  1762. }));
  1763. return self;
  1764. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  1765. }, function($ctx1) {$ctx1.fill(self,"renderToolsOn:",{html:html},$globals.PresentationNavigator)});
  1766. //>>excludeEnd("ctx");
  1767. },
  1768. //>>excludeStart("ide", pragmas.excludeIdeData);
  1769. args: ["html"],
  1770. source: "renderToolsOn: html\x0a\x09html a \x0a\x09\x09with: 'IDE';\x0a\x09\x09onClick: [TabManager current open].\x0a\x09html a\x0a\x09\x09with: 'Reload';\x0a\x09\x09onClick: [self reload].\x0a\x09html a\x0a\x09\x09with: '←';\x0a\x09\x09onClick: [self previousSlide].\x0a\x09html a\x0a\x09\x09with: '→';\x0a\x09\x09onClick: [self nextSlide].",
  1771. referencedClasses: ["TabManager"],
  1772. //>>excludeEnd("ide");
  1773. messageSends: ["with:", "a", "onClick:", "open", "current", "reload", "previousSlide", "nextSlide"]
  1774. }),
  1775. $globals.PresentationNavigator);
  1776. $core.addMethod(
  1777. $core.method({
  1778. selector: "selectPresentation:",
  1779. protocol: 'callbacks',
  1780. fn: function (aPresentationClass){
  1781. var self=this;
  1782. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  1783. return $core.withContext(function($ctx1) {
  1784. //>>excludeEnd("ctx");
  1785. self._currentPresentation_($recv(aPresentationClass)._new());
  1786. self._renderCurrentPresentation();
  1787. return self;
  1788. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  1789. }, function($ctx1) {$ctx1.fill(self,"selectPresentation:",{aPresentationClass:aPresentationClass},$globals.PresentationNavigator)});
  1790. //>>excludeEnd("ctx");
  1791. },
  1792. //>>excludeStart("ide", pragmas.excludeIdeData);
  1793. args: ["aPresentationClass"],
  1794. source: "selectPresentation: aPresentationClass\x0a\x09self currentPresentation: aPresentationClass new.\x0a\x09self renderCurrentPresentation.",
  1795. referencedClasses: [],
  1796. //>>excludeEnd("ide");
  1797. messageSends: ["currentPresentation:", "new", "renderCurrentPresentation"]
  1798. }),
  1799. $globals.PresentationNavigator);
  1800. $core.addMethod(
  1801. $core.method({
  1802. selector: "selectPresentationNamed:",
  1803. protocol: 'callbacks',
  1804. fn: function (aString){
  1805. var self=this;
  1806. var presentationClass;
  1807. function $Smalltalk(){return $globals.Smalltalk||(typeof Smalltalk=="undefined"?nil:Smalltalk)}
  1808. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  1809. return $core.withContext(function($ctx1) {
  1810. //>>excludeEnd("ctx");
  1811. var $1,$receiver;
  1812. presentationClass=$recv($recv($Smalltalk())._current())._at_(aString);
  1813. $1=presentationClass;
  1814. if(($receiver = $1) == null || $receiver.isNil){
  1815. $1;
  1816. } else {
  1817. self._selectPresentation_(presentationClass);
  1818. };
  1819. return self;
  1820. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  1821. }, function($ctx1) {$ctx1.fill(self,"selectPresentationNamed:",{aString:aString,presentationClass:presentationClass},$globals.PresentationNavigator)});
  1822. //>>excludeEnd("ctx");
  1823. },
  1824. //>>excludeStart("ide", pragmas.excludeIdeData);
  1825. args: ["aString"],
  1826. source: "selectPresentationNamed: aString\x0a\x09|presentationClass|\x0a\x09presentationClass := (Smalltalk current at: aString).\x0a\x09presentationClass ifNotNil: [ self selectPresentation: presentationClass ].",
  1827. referencedClasses: ["Smalltalk"],
  1828. //>>excludeEnd("ide");
  1829. messageSends: ["at:", "current", "ifNotNil:", "selectPresentation:"]
  1830. }),
  1831. $globals.PresentationNavigator);
  1832. $core.addMethod(
  1833. $core.method({
  1834. selector: "selectSlideAt:",
  1835. protocol: 'callbacks',
  1836. fn: function (anInteger){
  1837. var self=this;
  1838. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  1839. return $core.withContext(function($ctx1) {
  1840. //>>excludeEnd("ctx");
  1841. $recv(self._currentPresentation())._moveAt_(anInteger);
  1842. self._updateHash();
  1843. return self;
  1844. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  1845. }, function($ctx1) {$ctx1.fill(self,"selectSlideAt:",{anInteger:anInteger},$globals.PresentationNavigator)});
  1846. //>>excludeEnd("ctx");
  1847. },
  1848. //>>excludeStart("ide", pragmas.excludeIdeData);
  1849. args: ["anInteger"],
  1850. source: "selectSlideAt: anInteger\x0a\x09self currentPresentation moveAt: anInteger.\x0a\x09self updateHash.",
  1851. referencedClasses: [],
  1852. //>>excludeEnd("ide");
  1853. messageSends: ["moveAt:", "currentPresentation", "updateHash"]
  1854. }),
  1855. $globals.PresentationNavigator);
  1856. $core.addMethod(
  1857. $core.method({
  1858. selector: "setKeybindings",
  1859. protocol: 'keybindings',
  1860. fn: function (){
  1861. var self=this;
  1862. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  1863. return $core.withContext(function($ctx1) {
  1864. //>>excludeEnd("ctx");
  1865. var $2,$1,$4,$3,$5;
  1866. $recv($recv(window)._jQuery_(document))._keyup_((function(e){
  1867. var node;
  1868. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  1869. return $core.withContext(function($ctx2) {
  1870. //>>excludeEnd("ctx");
  1871. node=$recv($recv($recv(e)._target())._nodeName())._asLowercase();
  1872. node;
  1873. $2=$recv(node).__eq("textarea");
  1874. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  1875. $ctx2.sendIdx["="]=1;
  1876. //>>excludeEnd("ctx");
  1877. $1=$recv($2)._or_((function(){
  1878. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  1879. return $core.withContext(function($ctx3) {
  1880. //>>excludeEnd("ctx");
  1881. return $recv(node).__eq("input");
  1882. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  1883. $ctx3.sendIdx["="]=2;
  1884. //>>excludeEnd("ctx");
  1885. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  1886. }, function($ctx3) {$ctx3.fillBlock({},$ctx2,2)});
  1887. //>>excludeEnd("ctx");
  1888. }));
  1889. if(!$core.assert($1)){
  1890. $4=$recv(e)._keyCode();
  1891. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  1892. $ctx2.sendIdx["keyCode"]=1;
  1893. //>>excludeEnd("ctx");
  1894. $3=$recv($4).__eq((39));
  1895. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  1896. $ctx2.sendIdx["="]=3;
  1897. //>>excludeEnd("ctx");
  1898. if($core.assert($3)){
  1899. self._nextSlide();
  1900. };
  1901. $5=$recv($recv(e)._keyCode()).__eq((37));
  1902. if($core.assert($5)){
  1903. return self._previousSlide();
  1904. };
  1905. };
  1906. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  1907. }, function($ctx2) {$ctx2.fillBlock({e:e,node:node},$ctx1,1)});
  1908. //>>excludeEnd("ctx");
  1909. }));
  1910. return self;
  1911. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  1912. }, function($ctx1) {$ctx1.fill(self,"setKeybindings",{},$globals.PresentationNavigator)});
  1913. //>>excludeEnd("ctx");
  1914. },
  1915. //>>excludeStart("ide", pragmas.excludeIdeData);
  1916. args: [],
  1917. source: "setKeybindings\x0a\x09(window jQuery: document) keyup: [:e || node |\x0a\x09\x09node := e target nodeName asLowercase.\x0a\x09\x09(node = 'textarea' or: [node = 'input']) ifFalse: [\x0a\x09\x09\x09e keyCode = 39 ifTrue: [self nextSlide].\x0a\x09\x09\x09e keyCode = 37 ifTrue: [self previousSlide]]]",
  1918. referencedClasses: [],
  1919. //>>excludeEnd("ide");
  1920. messageSends: ["keyup:", "jQuery:", "asLowercase", "nodeName", "target", "ifFalse:", "or:", "=", "ifTrue:", "keyCode", "nextSlide", "previousSlide"]
  1921. }),
  1922. $globals.PresentationNavigator);
  1923. $core.addMethod(
  1924. $core.method({
  1925. selector: "style",
  1926. protocol: 'accessing',
  1927. fn: function (){
  1928. var self=this;
  1929. return "\x0a#navigator {\x0a z-index: 1;\x0a position: fixed;\x0a top: 0;\x0a left: 50%;\x0a margin-left: -150px;\x0a padding: 5px;\x0a border-radius: 5px;\x0a -moz-border-radius: 5px;\x0a -webkit-border-radius: 5px;\x0a background: #333;\x0a opacity: 0.3;\x0a color: #eee;\x0a}\x0a\x0a#navigator a {\x0a font-weight: bold;\x0a color: #eee;\x0a text-decoration: none;\x0a cursor: pointer;\x0a padding: 0 2px;\x0a font-size: 14px;\x0a}\x0a\x0a#navigator:hover {\x0a opacity: 0.8;\x0a}\x0a";
  1930. },
  1931. //>>excludeStart("ide", pragmas.excludeIdeData);
  1932. args: [],
  1933. source: "style\x0a\x09^ '\x0a#navigator {\x0a z-index: 1;\x0a position: fixed;\x0a top: 0;\x0a left: 50%;\x0a margin-left: -150px;\x0a padding: 5px;\x0a border-radius: 5px;\x0a -moz-border-radius: 5px;\x0a -webkit-border-radius: 5px;\x0a background: #333;\x0a opacity: 0.3;\x0a color: #eee;\x0a}\x0a\x0a#navigator a {\x0a font-weight: bold;\x0a color: #eee;\x0a text-decoration: none;\x0a cursor: pointer;\x0a padding: 0 2px;\x0a font-size: 14px;\x0a}\x0a\x0a#navigator:hover {\x0a opacity: 0.8;\x0a}\x0a'",
  1934. referencedClasses: [],
  1935. //>>excludeEnd("ide");
  1936. messageSends: []
  1937. }),
  1938. $globals.PresentationNavigator);
  1939. $core.addMethod(
  1940. $core.method({
  1941. selector: "updateHash",
  1942. protocol: 'callbacks',
  1943. fn: function (){
  1944. var self=this;
  1945. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  1946. return $core.withContext(function($ctx1) {
  1947. //>>excludeEnd("ctx");
  1948. var $1,$6,$5,$4,$3,$2;
  1949. $1=$recv(document)._location();
  1950. $6=self._currentPresentation();
  1951. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  1952. $ctx1.sendIdx["currentPresentation"]=1;
  1953. //>>excludeEnd("ctx");
  1954. $5=$recv($6)._class();
  1955. $4=$recv($5)._name();
  1956. $3=$recv($4).__comma("-");
  1957. $2=$recv($3).__comma($recv(self._currentPresentation())._currentSlideIndex());
  1958. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  1959. $ctx1.sendIdx[","]=1;
  1960. //>>excludeEnd("ctx");
  1961. $recv($1)._hash_($2);
  1962. return self;
  1963. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  1964. }, function($ctx1) {$ctx1.fill(self,"updateHash",{},$globals.PresentationNavigator)});
  1965. //>>excludeEnd("ctx");
  1966. },
  1967. //>>excludeStart("ide", pragmas.excludeIdeData);
  1968. args: [],
  1969. source: "updateHash\x0a\x09document location hash: self currentPresentation class name, '-', self currentPresentation currentSlideIndex.",
  1970. referencedClasses: [],
  1971. //>>excludeEnd("ide");
  1972. messageSends: ["hash:", "location", ",", "name", "class", "currentPresentation", "currentSlideIndex"]
  1973. }),
  1974. $globals.PresentationNavigator);
  1975. $core.addMethod(
  1976. $core.method({
  1977. selector: "updateSlideSelect",
  1978. protocol: 'rendering',
  1979. fn: function (){
  1980. var self=this;
  1981. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  1982. return $core.withContext(function($ctx1) {
  1983. //>>excludeEnd("ctx");
  1984. var $1,$2;
  1985. $recv(self["@slideSelect"])._contents_((function(html){
  1986. var index;
  1987. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  1988. return $core.withContext(function($ctx2) {
  1989. //>>excludeEnd("ctx");
  1990. index=(0);
  1991. index;
  1992. return $recv(self._currentPresentation())._slidesDo_((function(aSlide){
  1993. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  1994. return $core.withContext(function($ctx3) {
  1995. //>>excludeEnd("ctx");
  1996. index=$recv(index).__plus((1));
  1997. index;
  1998. $1=$recv(html)._option();
  1999. $recv($1)._value_(index);
  2000. $2=$recv($1)._with_($recv(aSlide)._title());
  2001. return $2;
  2002. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  2003. }, function($ctx3) {$ctx3.fillBlock({aSlide:aSlide},$ctx2,2)});
  2004. //>>excludeEnd("ctx");
  2005. }));
  2006. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  2007. }, function($ctx2) {$ctx2.fillBlock({html:html,index:index},$ctx1,1)});
  2008. //>>excludeEnd("ctx");
  2009. }));
  2010. return self;
  2011. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  2012. }, function($ctx1) {$ctx1.fill(self,"updateSlideSelect",{},$globals.PresentationNavigator)});
  2013. //>>excludeEnd("ctx");
  2014. },
  2015. //>>excludeStart("ide", pragmas.excludeIdeData);
  2016. args: [],
  2017. source: "updateSlideSelect\x0a\x09slideSelect contents: [:html| |index|\x0a\x09\x09 \x09\x09index := 0.\x0a \x09\x09 \x09\x09self currentPresentation slidesDo: [ :aSlide| \x0a \x09\x09 \x09\x09\x09\x09index := index + 1.\x0a \x09\x09 \x09\x09\x09\x09html option\x0a \x09\x09 \x09\x09\x09\x09\x09value: index;\x0a \x09\x09\x09\x09\x09\x09\x09\x09with: aSlide title ] ].",
  2018. referencedClasses: [],
  2019. //>>excludeEnd("ide");
  2020. messageSends: ["contents:", "slidesDo:", "currentPresentation", "+", "value:", "option", "with:", "title"]
  2021. }),
  2022. $globals.PresentationNavigator);
  2023. $core.addMethod(
  2024. $core.method({
  2025. selector: "initialize",
  2026. protocol: 'initialize',
  2027. fn: function (){
  2028. var self=this;
  2029. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  2030. return $core.withContext(function($ctx1) {
  2031. //>>excludeEnd("ctx");
  2032. var $1;
  2033. $1=self._open();
  2034. return $1;
  2035. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  2036. }, function($ctx1) {$ctx1.fill(self,"initialize",{},$globals.PresentationNavigator.klass)});
  2037. //>>excludeEnd("ctx");
  2038. },
  2039. //>>excludeStart("ide", pragmas.excludeIdeData);
  2040. args: [],
  2041. source: "initialize\x0a\x09^ self open",
  2042. referencedClasses: [],
  2043. //>>excludeEnd("ide");
  2044. messageSends: ["open"]
  2045. }),
  2046. $globals.PresentationNavigator.klass);
  2047. $core.addMethod(
  2048. $core.method({
  2049. selector: "open",
  2050. protocol: 'initialize',
  2051. fn: function (){
  2052. var self=this;
  2053. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  2054. return $core.withContext(function($ctx1) {
  2055. //>>excludeEnd("ctx");
  2056. var $1;
  2057. $1=$recv(self._new())._open();
  2058. return $1;
  2059. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  2060. }, function($ctx1) {$ctx1.fill(self,"open",{},$globals.PresentationNavigator.klass)});
  2061. //>>excludeEnd("ctx");
  2062. },
  2063. //>>excludeStart("ide", pragmas.excludeIdeData);
  2064. args: [],
  2065. source: "open\x0a\x09^ self new open",
  2066. referencedClasses: [],
  2067. //>>excludeEnd("ide");
  2068. messageSends: ["open", "new"]
  2069. }),
  2070. $globals.PresentationNavigator.klass);
  2071. $core.addClass('Slide', $globals.Widget, ['presentation'], 'Presentation');
  2072. $core.addMethod(
  2073. $core.method({
  2074. selector: "backgroundColor",
  2075. protocol: 'accessing',
  2076. fn: function (){
  2077. var self=this;
  2078. return "#555";
  2079. },
  2080. //>>excludeStart("ide", pragmas.excludeIdeData);
  2081. args: [],
  2082. source: "backgroundColor\x0a\x09^'#555'",
  2083. referencedClasses: [],
  2084. //>>excludeEnd("ide");
  2085. messageSends: []
  2086. }),
  2087. $globals.Slide);
  2088. $core.addMethod(
  2089. $core.method({
  2090. selector: "cssClass",
  2091. protocol: 'accessing',
  2092. fn: function (){
  2093. var self=this;
  2094. return "slide";
  2095. },
  2096. //>>excludeStart("ide", pragmas.excludeIdeData);
  2097. args: [],
  2098. source: "cssClass\x0a\x09^'slide'",
  2099. referencedClasses: [],
  2100. //>>excludeEnd("ide");
  2101. messageSends: []
  2102. }),
  2103. $globals.Slide);
  2104. $core.addMethod(
  2105. $core.method({
  2106. selector: "id",
  2107. protocol: 'accessing',
  2108. fn: function (){
  2109. var self=this;
  2110. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  2111. return $core.withContext(function($ctx1) {
  2112. //>>excludeEnd("ctx");
  2113. var $1;
  2114. $1=$recv(self._class())._name();
  2115. return $1;
  2116. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  2117. }, function($ctx1) {$ctx1.fill(self,"id",{},$globals.Slide)});
  2118. //>>excludeEnd("ctx");
  2119. },
  2120. //>>excludeStart("ide", pragmas.excludeIdeData);
  2121. args: [],
  2122. source: "id\x0a\x09^ self class name",
  2123. referencedClasses: [],
  2124. //>>excludeEnd("ide");
  2125. messageSends: ["name", "class"]
  2126. }),
  2127. $globals.Slide);
  2128. $core.addMethod(
  2129. $core.method({
  2130. selector: "presentation",
  2131. protocol: 'accessing',
  2132. fn: function (){
  2133. var self=this;
  2134. var $1;
  2135. $1=self["@presentation"];
  2136. return $1;
  2137. },
  2138. //>>excludeStart("ide", pragmas.excludeIdeData);
  2139. args: [],
  2140. source: "presentation\x0a\x09^presentation",
  2141. referencedClasses: [],
  2142. //>>excludeEnd("ide");
  2143. messageSends: []
  2144. }),
  2145. $globals.Slide);
  2146. $core.addMethod(
  2147. $core.method({
  2148. selector: "presentation:",
  2149. protocol: 'accessing',
  2150. fn: function (aPresentation){
  2151. var self=this;
  2152. self["@presentation"]=aPresentation;
  2153. return self;
  2154. },
  2155. //>>excludeStart("ide", pragmas.excludeIdeData);
  2156. args: ["aPresentation"],
  2157. source: "presentation: aPresentation\x0a\x09presentation := aPresentation",
  2158. referencedClasses: [],
  2159. //>>excludeEnd("ide");
  2160. messageSends: []
  2161. }),
  2162. $globals.Slide);
  2163. $core.addMethod(
  2164. $core.method({
  2165. selector: "renderMetaOn:",
  2166. protocol: 'rendering',
  2167. fn: function (html){
  2168. var self=this;
  2169. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  2170. return $core.withContext(function($ctx1) {
  2171. //>>excludeEnd("ctx");
  2172. var $1,$3,$5,$7,$6,$4,$8,$10,$12,$11,$9,$13,$14,$16,$15,$18,$21,$20,$19,$17,$22,$23,$25,$24,$26,$2;
  2173. $1=$recv(html)._div();
  2174. $recv($1)._id_("meta");
  2175. $2=$recv($1)._with_((function(){
  2176. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  2177. return $core.withContext(function($ctx2) {
  2178. //>>excludeEnd("ctx");
  2179. $3=$recv(html)._p();
  2180. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  2181. $ctx2.sendIdx["p"]=1;
  2182. //>>excludeEnd("ctx");
  2183. $recv($3)._class_("title");
  2184. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  2185. $ctx2.sendIdx["class:"]=1;
  2186. //>>excludeEnd("ctx");
  2187. $5=$3;
  2188. $7=self._presentation();
  2189. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  2190. $ctx2.sendIdx["presentation"]=1;
  2191. //>>excludeEnd("ctx");
  2192. $6=$recv($7)._title();
  2193. $4=$recv($5)._with_($6);
  2194. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  2195. $ctx2.sendIdx["with:"]=2;
  2196. //>>excludeEnd("ctx");
  2197. $4;
  2198. $8=$recv(html)._p();
  2199. $recv($8)._class_("description");
  2200. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  2201. $ctx2.sendIdx["class:"]=2;
  2202. //>>excludeEnd("ctx");
  2203. $10=$8;
  2204. $12=self._presentation();
  2205. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  2206. $ctx2.sendIdx["presentation"]=2;
  2207. //>>excludeEnd("ctx");
  2208. $11=$recv($12)._description();
  2209. $9=$recv($10)._with_($11);
  2210. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  2211. $ctx2.sendIdx["with:"]=3;
  2212. //>>excludeEnd("ctx");
  2213. $9;
  2214. $13=$recv(html)._a();
  2215. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  2216. $ctx2.sendIdx["a"]=1;
  2217. //>>excludeEnd("ctx");
  2218. $recv($13)._class_("author");
  2219. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  2220. $ctx2.sendIdx["class:"]=3;
  2221. //>>excludeEnd("ctx");
  2222. $14=$13;
  2223. $16=self._presentation();
  2224. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  2225. $ctx2.sendIdx["presentation"]=3;
  2226. //>>excludeEnd("ctx");
  2227. $15=$recv($16)._author();
  2228. $recv($14)._with_($15);
  2229. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  2230. $ctx2.sendIdx["with:"]=4;
  2231. //>>excludeEnd("ctx");
  2232. $18=$13;
  2233. $21=self._presentation();
  2234. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  2235. $ctx2.sendIdx["presentation"]=4;
  2236. //>>excludeEnd("ctx");
  2237. $20=$recv($21)._email();
  2238. $19="mailto:".__comma($20);
  2239. $17=$recv($18)._href_($19);
  2240. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  2241. $ctx2.sendIdx["href:"]=1;
  2242. //>>excludeEnd("ctx");
  2243. $17;
  2244. $22=$recv(html)._a();
  2245. $recv($22)._class_("url");
  2246. $23=$22;
  2247. $25=self._presentation();
  2248. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  2249. $ctx2.sendIdx["presentation"]=5;
  2250. //>>excludeEnd("ctx");
  2251. $24=$recv($25)._url();
  2252. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  2253. $ctx2.sendIdx["url"]=1;
  2254. //>>excludeEnd("ctx");
  2255. $recv($23)._with_($24);
  2256. $26=$recv($22)._href_($recv(self._presentation())._url());
  2257. return $26;
  2258. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  2259. }, function($ctx2) {$ctx2.fillBlock({},$ctx1,1)});
  2260. //>>excludeEnd("ctx");
  2261. }));
  2262. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  2263. $ctx1.sendIdx["with:"]=1;
  2264. //>>excludeEnd("ctx");
  2265. return self;
  2266. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  2267. }, function($ctx1) {$ctx1.fill(self,"renderMetaOn:",{html:html},$globals.Slide)});
  2268. //>>excludeEnd("ctx");
  2269. },
  2270. //>>excludeStart("ide", pragmas.excludeIdeData);
  2271. args: ["html"],
  2272. source: "renderMetaOn: html\x0a\x09html div \x0a\x09\x09id: 'meta';\x0a\x09\x09with: [\x0a\x09\x09\x09html p class: 'title'; with: self presentation title.\x0a\x09\x09\x09html p class: 'description'; with: self presentation description.\x0a\x09\x09\x09html a class: 'author'; with: self presentation author; href: 'mailto:', self presentation email.\x0a\x09\x09\x09html a class: 'url'; with: self presentation url; href: self presentation url]",
  2273. referencedClasses: [],
  2274. //>>excludeEnd("ide");
  2275. messageSends: ["id:", "div", "with:", "class:", "p", "title", "presentation", "description", "a", "author", "href:", ",", "email", "url"]
  2276. }),
  2277. $globals.Slide);
  2278. $core.addMethod(
  2279. $core.method({
  2280. selector: "renderOn:",
  2281. protocol: 'rendering',
  2282. fn: function (html){
  2283. var self=this;
  2284. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  2285. return $core.withContext(function($ctx1) {
  2286. //>>excludeEnd("ctx");
  2287. var $1,$2;
  2288. $1=$recv(html)._div();
  2289. $recv($1)._class_(self._cssClass());
  2290. $recv($1)._id_(self._id());
  2291. $2=$recv($1)._with_((function(){
  2292. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  2293. return $core.withContext(function($ctx2) {
  2294. //>>excludeEnd("ctx");
  2295. self._renderSlideOn_(html);
  2296. return self._renderMetaOn_(html);
  2297. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  2298. }, function($ctx2) {$ctx2.fillBlock({},$ctx1,1)});
  2299. //>>excludeEnd("ctx");
  2300. }));
  2301. return self;
  2302. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  2303. }, function($ctx1) {$ctx1.fill(self,"renderOn:",{html:html},$globals.Slide)});
  2304. //>>excludeEnd("ctx");
  2305. },
  2306. //>>excludeStart("ide", pragmas.excludeIdeData);
  2307. args: ["html"],
  2308. source: "renderOn: html\x0a\x09html div class: self cssClass; id: self id; with: [\x0a\x09\x09self renderSlideOn: html.\x0a\x09\x09self renderMetaOn: html]",
  2309. referencedClasses: [],
  2310. //>>excludeEnd("ide");
  2311. messageSends: ["class:", "div", "cssClass", "id:", "id", "with:", "renderSlideOn:", "renderMetaOn:"]
  2312. }),
  2313. $globals.Slide);
  2314. $core.addMethod(
  2315. $core.method({
  2316. selector: "renderSlideOn:",
  2317. protocol: 'rendering',
  2318. fn: function (html){
  2319. var self=this;
  2320. return self;
  2321. },
  2322. //>>excludeStart("ide", pragmas.excludeIdeData);
  2323. args: ["html"],
  2324. source: "renderSlideOn: html",
  2325. referencedClasses: [],
  2326. //>>excludeEnd("ide");
  2327. messageSends: []
  2328. }),
  2329. $globals.Slide);
  2330. $core.addMethod(
  2331. $core.method({
  2332. selector: "show",
  2333. protocol: 'actions',
  2334. fn: function (){
  2335. var self=this;
  2336. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  2337. return $core.withContext(function($ctx1) {
  2338. //>>excludeEnd("ctx");
  2339. var $1,$2,$3,$5,$4,$receiver;
  2340. $1=self._backgroundColor();
  2341. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  2342. $ctx1.sendIdx["backgroundColor"]=1;
  2343. //>>excludeEnd("ctx");
  2344. if(($receiver = $1) == null || $receiver.isNil){
  2345. $1;
  2346. } else {
  2347. $2=$recv(window)._jQuery_("#slides");
  2348. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  2349. $ctx1.sendIdx["jQuery:"]=1;
  2350. //>>excludeEnd("ctx");
  2351. $recv($2)._css_color_("background",self._backgroundColor());
  2352. };
  2353. $3=$recv(window)._jQuery_(".slide");
  2354. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  2355. $ctx1.sendIdx["jQuery:"]=2;
  2356. //>>excludeEnd("ctx");
  2357. $5=self._presentation();
  2358. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  2359. $ctx1.sendIdx["presentation"]=1;
  2360. //>>excludeEnd("ctx");
  2361. $4=$recv($5)._slideTransition();
  2362. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  2363. $ctx1.sendIdx["slideTransition"]=1;
  2364. //>>excludeEnd("ctx");
  2365. $recv($3)._hide_options_duration_($4,[],(300));
  2366. $recv($recv(window)._jQuery_("#".__comma(self._id())))._show_options_duration_($recv(self._presentation())._slideTransition(),[],(300));
  2367. return self;
  2368. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  2369. }, function($ctx1) {$ctx1.fill(self,"show",{},$globals.Slide)});
  2370. //>>excludeEnd("ctx");
  2371. },
  2372. //>>excludeStart("ide", pragmas.excludeIdeData);
  2373. args: [],
  2374. source: "show\x0a\x09self backgroundColor ifNotNil: [\x0a\x09\x09(window jQuery: '#slides') css: 'background' color: self backgroundColor].\x0a\x09(window jQuery: '.slide') hide: self presentation slideTransition options: #() duration: 300.\x0a\x09(window jQuery: '#', self id) show: self presentation slideTransition options: #() duration: 300.",
  2375. referencedClasses: [],
  2376. //>>excludeEnd("ide");
  2377. messageSends: ["ifNotNil:", "backgroundColor", "css:color:", "jQuery:", "hide:options:duration:", "slideTransition", "presentation", "show:options:duration:", ",", "id"]
  2378. }),
  2379. $globals.Slide);
  2380. $core.addMethod(
  2381. $core.method({
  2382. selector: "title",
  2383. protocol: 'accessing',
  2384. fn: function (){
  2385. var self=this;
  2386. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  2387. return $core.withContext(function($ctx1) {
  2388. //>>excludeEnd("ctx");
  2389. var $1;
  2390. $1=self._id();
  2391. return $1;
  2392. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  2393. }, function($ctx1) {$ctx1.fill(self,"title",{},$globals.Slide)});
  2394. //>>excludeEnd("ctx");
  2395. },
  2396. //>>excludeStart("ide", pragmas.excludeIdeData);
  2397. args: [],
  2398. source: "title\x0a\x09^ self id",
  2399. referencedClasses: [],
  2400. //>>excludeEnd("ide");
  2401. messageSends: ["id"]
  2402. }),
  2403. $globals.Slide);
  2404. $core.addMethod(
  2405. $core.method({
  2406. selector: "on:",
  2407. protocol: 'instance creation',
  2408. fn: function (aPresentation){
  2409. var self=this;
  2410. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  2411. return $core.withContext(function($ctx1) {
  2412. //>>excludeEnd("ctx");
  2413. var $2,$3,$1;
  2414. $2=self._new();
  2415. $recv($2)._presentation_(aPresentation);
  2416. $3=$recv($2)._yourself();
  2417. $1=$3;
  2418. return $1;
  2419. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  2420. }, function($ctx1) {$ctx1.fill(self,"on:",{aPresentation:aPresentation},$globals.Slide.klass)});
  2421. //>>excludeEnd("ctx");
  2422. },
  2423. //>>excludeStart("ide", pragmas.excludeIdeData);
  2424. args: ["aPresentation"],
  2425. source: "on: aPresentation\x0a\x09^self new\x0a\x09\x09presentation: aPresentation;\x0a\x09\x09yourself",
  2426. referencedClasses: [],
  2427. //>>excludeEnd("ide");
  2428. messageSends: ["presentation:", "new", "yourself"]
  2429. }),
  2430. $globals.Slide.klass);
  2431. $core.addClass('AboutSlide', $globals.Slide, [], 'Presentation');
  2432. $core.addMethod(
  2433. $core.method({
  2434. selector: "backgroundColor",
  2435. protocol: 'accessing',
  2436. fn: function (){
  2437. var self=this;
  2438. return "white";
  2439. },
  2440. //>>excludeStart("ide", pragmas.excludeIdeData);
  2441. args: [],
  2442. source: "backgroundColor\x0a\x09^'white'",
  2443. referencedClasses: [],
  2444. //>>excludeEnd("ide");
  2445. messageSends: []
  2446. }),
  2447. $globals.AboutSlide);
  2448. $core.addMethod(
  2449. $core.method({
  2450. selector: "cssClass",
  2451. protocol: 'accessing',
  2452. fn: function (){
  2453. var self=this;
  2454. return "slide transparent white";
  2455. },
  2456. //>>excludeStart("ide", pragmas.excludeIdeData);
  2457. args: [],
  2458. source: "cssClass\x0a\x09^'slide transparent white'",
  2459. referencedClasses: [],
  2460. //>>excludeEnd("ide");
  2461. messageSends: []
  2462. }),
  2463. $globals.AboutSlide);
  2464. $core.addMethod(
  2465. $core.method({
  2466. selector: "id",
  2467. protocol: 'accessing',
  2468. fn: function (){
  2469. var self=this;
  2470. return "about";
  2471. },
  2472. //>>excludeStart("ide", pragmas.excludeIdeData);
  2473. args: [],
  2474. source: "id\x0a\x09^'about'",
  2475. referencedClasses: [],
  2476. //>>excludeEnd("ide");
  2477. messageSends: []
  2478. }),
  2479. $globals.AboutSlide);
  2480. $core.addMethod(
  2481. $core.method({
  2482. selector: "renderSlideOn:",
  2483. protocol: 'rendering',
  2484. fn: function (html){
  2485. var self=this;
  2486. function $Browser(){return $globals.Browser||(typeof Browser=="undefined"?nil:Browser)}
  2487. function $Presentation(){return $globals.Presentation||(typeof Presentation=="undefined"?nil:Presentation)}
  2488. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  2489. return $core.withContext(function($ctx1) {
  2490. //>>excludeEnd("ctx");
  2491. var $1,$3,$4,$5,$6,$7,$2;
  2492. $1=$recv(html)._div();
  2493. $recv($1)._class_("section center");
  2494. $2=$recv($1)._with_((function(){
  2495. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  2496. return $core.withContext(function($ctx2) {
  2497. //>>excludeEnd("ctx");
  2498. $recv($recv(html)._h1())._with_("About this presentation");
  2499. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  2500. $ctx2.sendIdx["with:"]=2;
  2501. //>>excludeEnd("ctx");
  2502. $3=$recv(html)._p();
  2503. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  2504. $ctx2.sendIdx["p"]=1;
  2505. //>>excludeEnd("ctx");
  2506. $recv($3)._with_("This presentation is entirely written in Jtalk and is licensed under CC BY-SA.");
  2507. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  2508. $ctx2.sendIdx["with:"]=3;
  2509. //>>excludeEnd("ctx");
  2510. $4=$recv(html)._p();
  2511. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  2512. $ctx2.sendIdx["p"]=2;
  2513. //>>excludeEnd("ctx");
  2514. $recv($4)._with_((function(){
  2515. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  2516. return $core.withContext(function($ctx3) {
  2517. //>>excludeEnd("ctx");
  2518. $recv(html)._with_("Press ");
  2519. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  2520. $ctx3.sendIdx["with:"]=5;
  2521. //>>excludeEnd("ctx");
  2522. $5=$recv(html)._code();
  2523. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  2524. $ctx3.sendIdx["code"]=1;
  2525. //>>excludeEnd("ctx");
  2526. $recv($5)._with_("←");
  2527. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  2528. $ctx3.sendIdx["with:"]=6;
  2529. //>>excludeEnd("ctx");
  2530. $recv(html)._with_(" to move backward and ");
  2531. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  2532. $ctx3.sendIdx["with:"]=7;
  2533. //>>excludeEnd("ctx");
  2534. $recv($recv(html)._code())._with_(" →");
  2535. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  2536. $ctx3.sendIdx["with:"]=8;
  2537. //>>excludeEnd("ctx");
  2538. return $recv(html)._with_(" to move forward.");
  2539. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  2540. $ctx3.sendIdx["with:"]=9;
  2541. //>>excludeEnd("ctx");
  2542. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  2543. }, function($ctx3) {$ctx3.fillBlock({},$ctx2,2)});
  2544. //>>excludeEnd("ctx");
  2545. }));
  2546. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  2547. $ctx2.sendIdx["with:"]=4;
  2548. //>>excludeEnd("ctx");
  2549. return $recv($recv(html)._p())._with_((function(){
  2550. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  2551. return $core.withContext(function($ctx3) {
  2552. //>>excludeEnd("ctx");
  2553. $recv(html)._with_("Open a ");
  2554. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  2555. $ctx3.sendIdx["with:"]=11;
  2556. //>>excludeEnd("ctx");
  2557. $6=$recv(html)._button();
  2558. $recv($6)._with_("browser");
  2559. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  2560. $ctx3.sendIdx["with:"]=12;
  2561. //>>excludeEnd("ctx");
  2562. $7=$recv($6)._onClick_((function(){
  2563. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  2564. return $core.withContext(function($ctx4) {
  2565. //>>excludeEnd("ctx");
  2566. return $recv($Browser())._openOn_($Presentation());
  2567. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  2568. }, function($ctx4) {$ctx4.fillBlock({},$ctx3,4)});
  2569. //>>excludeEnd("ctx");
  2570. }));
  2571. $7;
  2572. return $recv(html)._with_(" to edit the source code.");
  2573. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  2574. }, function($ctx3) {$ctx3.fillBlock({},$ctx2,3)});
  2575. //>>excludeEnd("ctx");
  2576. }));
  2577. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  2578. $ctx2.sendIdx["with:"]=10;
  2579. //>>excludeEnd("ctx");
  2580. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  2581. }, function($ctx2) {$ctx2.fillBlock({},$ctx1,1)});
  2582. //>>excludeEnd("ctx");
  2583. }));
  2584. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  2585. $ctx1.sendIdx["with:"]=1;
  2586. //>>excludeEnd("ctx");
  2587. return self;
  2588. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  2589. }, function($ctx1) {$ctx1.fill(self,"renderSlideOn:",{html:html},$globals.AboutSlide)});
  2590. //>>excludeEnd("ctx");
  2591. },
  2592. //>>excludeStart("ide", pragmas.excludeIdeData);
  2593. args: ["html"],
  2594. source: "renderSlideOn: html\x0a\x09html div class: 'section center'; with: [\x0a\x09\x09html h1 with: 'About this presentation'.\x0a\x09\x09html p with: 'This presentation is entirely written in Jtalk and is licensed under CC BY-SA.'.\x0a\x09\x09html p with: [\x0a\x09\x09\x09html with: 'Press '.\x0a\x09\x09\x09html code with: '←'.\x0a\x09\x09\x09html with: ' to move backward and '.\x0a\x09\x09\x09html code with: ' →'.\x0a\x09\x09\x09html with: ' to move forward.'].\x0a\x09\x09html p with: [\x0a\x09\x09\x09html with: 'Open a '.\x0a\x09\x09\x09html button \x0a\x09\x09\x09\x09with: 'browser';\x0a\x09\x09\x09\x09onClick: [Browser openOn: Presentation].\x0a\x09\x09\x09html with: ' to edit the source code.']]",
  2595. referencedClasses: ["Browser", "Presentation"],
  2596. //>>excludeEnd("ide");
  2597. messageSends: ["class:", "div", "with:", "h1", "p", "code", "button", "onClick:", "openOn:"]
  2598. }),
  2599. $globals.AboutSlide);
  2600. $core.addClass('ContributionsSlide', $globals.Slide, [], 'Presentation');
  2601. $core.addMethod(
  2602. $core.method({
  2603. selector: "id",
  2604. protocol: 'accessing',
  2605. fn: function (){
  2606. var self=this;
  2607. return "links";
  2608. },
  2609. //>>excludeStart("ide", pragmas.excludeIdeData);
  2610. args: [],
  2611. source: "id\x0a\x09^'links'",
  2612. referencedClasses: [],
  2613. //>>excludeEnd("ide");
  2614. messageSends: []
  2615. }),
  2616. $globals.ContributionsSlide);
  2617. $core.addMethod(
  2618. $core.method({
  2619. selector: "renderSlideOn:",
  2620. protocol: 'rendering',
  2621. fn: function (html){
  2622. var self=this;
  2623. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  2624. return $core.withContext(function($ctx1) {
  2625. //>>excludeEnd("ctx");
  2626. var $1,$3,$4,$5,$6,$7,$8,$9,$10,$2;
  2627. $1=$recv(html)._div();
  2628. $recv($1)._class_("section");
  2629. $2=$recv($1)._with_((function(){
  2630. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  2631. return $core.withContext(function($ctx2) {
  2632. //>>excludeEnd("ctx");
  2633. $3=$recv(html)._p();
  2634. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  2635. $ctx2.sendIdx["p"]=1;
  2636. //>>excludeEnd("ctx");
  2637. $recv($3)._with_((function(){
  2638. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  2639. return $core.withContext(function($ctx3) {
  2640. //>>excludeEnd("ctx");
  2641. $4=$recv(html)._a();
  2642. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  2643. $ctx3.sendIdx["a"]=1;
  2644. //>>excludeEnd("ctx");
  2645. $recv($4)._href_("http://jtalk-project.org");
  2646. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  2647. $ctx3.sendIdx["href:"]=1;
  2648. //>>excludeEnd("ctx");
  2649. $5=$recv($4)._with_("jtalk-project.org");
  2650. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  2651. $ctx3.sendIdx["with:"]=3;
  2652. //>>excludeEnd("ctx");
  2653. return $5;
  2654. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  2655. }, function($ctx3) {$ctx3.fillBlock({},$ctx2,2)});
  2656. //>>excludeEnd("ctx");
  2657. }));
  2658. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  2659. $ctx2.sendIdx["with:"]=2;
  2660. //>>excludeEnd("ctx");
  2661. $6=$recv(html)._p();
  2662. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  2663. $ctx2.sendIdx["p"]=2;
  2664. //>>excludeEnd("ctx");
  2665. $recv($6)._with_((function(){
  2666. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  2667. return $core.withContext(function($ctx3) {
  2668. //>>excludeEnd("ctx");
  2669. $7=$recv(html)._a();
  2670. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  2671. $ctx3.sendIdx["a"]=2;
  2672. //>>excludeEnd("ctx");
  2673. $recv($7)._href_("https://github.com/NicolasPetton/jtalk");
  2674. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  2675. $ctx3.sendIdx["href:"]=2;
  2676. //>>excludeEnd("ctx");
  2677. $8=$recv($7)._with_("github.com/NicolasPetton/jtalk");
  2678. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  2679. $ctx3.sendIdx["with:"]=5;
  2680. //>>excludeEnd("ctx");
  2681. return $8;
  2682. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  2683. }, function($ctx3) {$ctx3.fillBlock({},$ctx2,3)});
  2684. //>>excludeEnd("ctx");
  2685. }));
  2686. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  2687. $ctx2.sendIdx["with:"]=4;
  2688. //>>excludeEnd("ctx");
  2689. return $recv($recv(html)._p())._with_((function(){
  2690. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  2691. return $core.withContext(function($ctx3) {
  2692. //>>excludeEnd("ctx");
  2693. $9=$recv(html)._a();
  2694. $recv($9)._href_("http://http://groups.google.com/group/jtalk-project");
  2695. $10=$recv($9)._with_("groups.google.com/group/jtalk-project");
  2696. return $10;
  2697. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  2698. }, function($ctx3) {$ctx3.fillBlock({},$ctx2,4)});
  2699. //>>excludeEnd("ctx");
  2700. }));
  2701. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  2702. $ctx2.sendIdx["with:"]=6;
  2703. //>>excludeEnd("ctx");
  2704. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  2705. }, function($ctx2) {$ctx2.fillBlock({},$ctx1,1)});
  2706. //>>excludeEnd("ctx");
  2707. }));
  2708. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  2709. $ctx1.sendIdx["with:"]=1;
  2710. //>>excludeEnd("ctx");
  2711. return self;
  2712. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  2713. }, function($ctx1) {$ctx1.fill(self,"renderSlideOn:",{html:html},$globals.ContributionsSlide)});
  2714. //>>excludeEnd("ctx");
  2715. },
  2716. //>>excludeStart("ide", pragmas.excludeIdeData);
  2717. args: ["html"],
  2718. source: "renderSlideOn: html\x0a\x09html div class: 'section'; with: [\x0a\x09\x09html p with: [\x0a\x09\x09\x09html a href: 'http://jtalk-project.org'; with: 'jtalk-project.org'].\x0a\x09\x09html p with: [\x0a\x09\x09\x09html a href: 'https://github.com/NicolasPetton/jtalk'; with: 'github.com/NicolasPetton/jtalk'].\x0a\x09\x09html p with: [\x0a\x09\x09\x09html a href: 'http://http://groups.google.com/group/jtalk-project'; with: 'groups.google.com/group/jtalk-project']]",
  2719. referencedClasses: [],
  2720. //>>excludeEnd("ide");
  2721. messageSends: ["class:", "div", "with:", "p", "href:", "a"]
  2722. }),
  2723. $globals.ContributionsSlide);
  2724. $core.addClass('CountersSlide', $globals.Slide, [], 'Presentation');
  2725. $core.addMethod(
  2726. $core.method({
  2727. selector: "backgroundColor",
  2728. protocol: 'accessing',
  2729. fn: function (){
  2730. var self=this;
  2731. return "#18bd7d";
  2732. },
  2733. //>>excludeStart("ide", pragmas.excludeIdeData);
  2734. args: [],
  2735. source: "backgroundColor\x0a\x09^'#18bd7d'",
  2736. referencedClasses: [],
  2737. //>>excludeEnd("ide");
  2738. messageSends: []
  2739. }),
  2740. $globals.CountersSlide);
  2741. $core.addMethod(
  2742. $core.method({
  2743. selector: "id",
  2744. protocol: 'accessing',
  2745. fn: function (){
  2746. var self=this;
  2747. return "counters";
  2748. },
  2749. //>>excludeStart("ide", pragmas.excludeIdeData);
  2750. args: [],
  2751. source: "id\x0a\x09^'counters'",
  2752. referencedClasses: [],
  2753. //>>excludeEnd("ide");
  2754. messageSends: []
  2755. }),
  2756. $globals.CountersSlide);
  2757. $core.addMethod(
  2758. $core.method({
  2759. selector: "renderSlideOn:",
  2760. protocol: 'rendering',
  2761. fn: function (html){
  2762. var self=this;
  2763. function $Counter(){return $globals.Counter||(typeof Counter=="undefined"?nil:Counter)}
  2764. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  2765. return $core.withContext(function($ctx1) {
  2766. //>>excludeEnd("ctx");
  2767. var $1,$2;
  2768. $1=$recv(html)._div();
  2769. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  2770. $ctx1.sendIdx["div"]=1;
  2771. //>>excludeEnd("ctx");
  2772. $recv($1)._class_("section center");
  2773. $2=$recv($1)._with_((function(){
  2774. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  2775. return $core.withContext(function($ctx2) {
  2776. //>>excludeEnd("ctx");
  2777. $recv($recv(html)._h1())._with_("The counter example");
  2778. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  2779. $ctx2.sendIdx["with:"]=2;
  2780. //>>excludeEnd("ctx");
  2781. return $recv($recv(html)._div())._with_((function(){
  2782. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  2783. return $core.withContext(function($ctx3) {
  2784. //>>excludeEnd("ctx");
  2785. return (2)._timesRepeat_((function(){
  2786. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  2787. return $core.withContext(function($ctx4) {
  2788. //>>excludeEnd("ctx");
  2789. return $recv($recv($Counter())._new())._renderOn_(html);
  2790. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  2791. }, function($ctx4) {$ctx4.fillBlock({},$ctx3,3)});
  2792. //>>excludeEnd("ctx");
  2793. }));
  2794. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  2795. }, function($ctx3) {$ctx3.fillBlock({},$ctx2,2)});
  2796. //>>excludeEnd("ctx");
  2797. }));
  2798. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  2799. }, function($ctx2) {$ctx2.fillBlock({},$ctx1,1)});
  2800. //>>excludeEnd("ctx");
  2801. }));
  2802. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  2803. $ctx1.sendIdx["with:"]=1;
  2804. //>>excludeEnd("ctx");
  2805. return self;
  2806. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  2807. }, function($ctx1) {$ctx1.fill(self,"renderSlideOn:",{html:html},$globals.CountersSlide)});
  2808. //>>excludeEnd("ctx");
  2809. },
  2810. //>>excludeStart("ide", pragmas.excludeIdeData);
  2811. args: ["html"],
  2812. source: "renderSlideOn: html\x0a\x09html div class: 'section center'; with: [\x0a\x09\x09html h1 with: 'The counter example'.\x0a\x09\x09html div with: [\x0a\x09\x09\x092 timesRepeat: [Counter new renderOn: html]]]",
  2813. referencedClasses: ["Counter"],
  2814. //>>excludeEnd("ide");
  2815. messageSends: ["class:", "div", "with:", "h1", "timesRepeat:", "renderOn:", "new"]
  2816. }),
  2817. $globals.CountersSlide);
  2818. $core.addClass('FOSDEMSlide', $globals.Slide, [], 'Presentation');
  2819. $core.addMethod(
  2820. $core.method({
  2821. selector: "codeSnippet",
  2822. protocol: 'accessing',
  2823. fn: function (){
  2824. var self=this;
  2825. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  2826. return $core.withContext(function($ctx1) {
  2827. //>>excludeEnd("ctx");
  2828. self._subclassResponsibility();
  2829. return self;
  2830. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  2831. }, function($ctx1) {$ctx1.fill(self,"codeSnippet",{},$globals.FOSDEMSlide)});
  2832. //>>excludeEnd("ctx");
  2833. },
  2834. //>>excludeStart("ide", pragmas.excludeIdeData);
  2835. args: [],
  2836. source: "codeSnippet\x0a\x09self subclassResponsibility",
  2837. referencedClasses: [],
  2838. //>>excludeEnd("ide");
  2839. messageSends: ["subclassResponsibility"]
  2840. }),
  2841. $globals.FOSDEMSlide);
  2842. $core.addMethod(
  2843. $core.method({
  2844. selector: "renderCodeSnippetOn:",
  2845. protocol: 'rendering',
  2846. fn: function (html){
  2847. var self=this;
  2848. function $SourceArea(){return $globals.SourceArea||(typeof SourceArea=="undefined"?nil:SourceArea)}
  2849. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  2850. return $core.withContext(function($ctx1) {
  2851. //>>excludeEnd("ctx");
  2852. var $1,$2;
  2853. $1=$recv($SourceArea())._new();
  2854. $recv($1)._renderOn_(html);
  2855. $2=$recv($1)._editor();
  2856. $recv($2)._setValue_(self._codeSnippet());
  2857. return self;
  2858. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  2859. }, function($ctx1) {$ctx1.fill(self,"renderCodeSnippetOn:",{html:html},$globals.FOSDEMSlide)});
  2860. //>>excludeEnd("ctx");
  2861. },
  2862. //>>excludeStart("ide", pragmas.excludeIdeData);
  2863. args: ["html"],
  2864. source: "renderCodeSnippetOn: html\x0a\x09(SourceArea new \x0a\x09\x09\x09renderOn: html;\x0a\x09\x09\x09editor) setValue: self codeSnippet.",
  2865. referencedClasses: ["SourceArea"],
  2866. //>>excludeEnd("ide");
  2867. messageSends: ["setValue:", "renderOn:", "new", "editor", "codeSnippet"]
  2868. }),
  2869. $globals.FOSDEMSlide);
  2870. $core.addMethod(
  2871. $core.method({
  2872. selector: "renderSnippet:on:",
  2873. protocol: 'rendering',
  2874. fn: function (aString,html){
  2875. var self=this;
  2876. function $SourceArea(){return $globals.SourceArea||(typeof SourceArea=="undefined"?nil:SourceArea)}
  2877. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  2878. return $core.withContext(function($ctx1) {
  2879. //>>excludeEnd("ctx");
  2880. var $1,$2;
  2881. $1=$recv($SourceArea())._new();
  2882. $recv($1)._renderOn_(html);
  2883. $2=$recv($1)._editor();
  2884. $recv($2)._setValue_(aString);
  2885. return self;
  2886. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  2887. }, function($ctx1) {$ctx1.fill(self,"renderSnippet:on:",{aString:aString,html:html},$globals.FOSDEMSlide)});
  2888. //>>excludeEnd("ctx");
  2889. },
  2890. //>>excludeStart("ide", pragmas.excludeIdeData);
  2891. args: ["aString", "html"],
  2892. source: "renderSnippet: aString on: html\x0a\x09(SourceArea new \x0a\x09\x09\x09renderOn: html;\x0a\x09\x09\x09editor) setValue: aString.",
  2893. referencedClasses: ["SourceArea"],
  2894. //>>excludeEnd("ide");
  2895. messageSends: ["setValue:", "renderOn:", "new", "editor"]
  2896. }),
  2897. $globals.FOSDEMSlide);
  2898. $core.addClass('FOSDEMAmberBackend', $globals.FOSDEMSlide, [], 'Presentation');
  2899. $core.addMethod(
  2900. $core.method({
  2901. selector: "cssClass",
  2902. protocol: 'accessing',
  2903. fn: function (){
  2904. var self=this;
  2905. return "slide green3d";
  2906. },
  2907. //>>excludeStart("ide", pragmas.excludeIdeData);
  2908. args: [],
  2909. source: "cssClass\x0a\x09^ 'slide green3d'",
  2910. referencedClasses: [],
  2911. //>>excludeEnd("ide");
  2912. messageSends: []
  2913. }),
  2914. $globals.FOSDEMAmberBackend);
  2915. $core.addMethod(
  2916. $core.method({
  2917. selector: "renderSlideOn:",
  2918. protocol: 'rendering',
  2919. fn: function (html){
  2920. var self=this;
  2921. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  2922. return $core.withContext(function($ctx1) {
  2923. //>>excludeEnd("ctx");
  2924. var $1,$2;
  2925. $1=$recv(html)._div();
  2926. $recv($1)._class_("section center");
  2927. $2=$recv($1)._with_((function(){
  2928. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  2929. return $core.withContext(function($ctx2) {
  2930. //>>excludeEnd("ctx");
  2931. $recv(html)._h1_("Need a backend ?");
  2932. return $recv(["nodejs.png","php.gif","rails.png","pharo.png","ambrhino.jpg"])._do_((function(aString){
  2933. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  2934. return $core.withContext(function($ctx3) {
  2935. //>>excludeEnd("ctx");
  2936. return $recv(html)._img_("fosdem2012/images/".__comma(aString));
  2937. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  2938. }, function($ctx3) {$ctx3.fillBlock({aString:aString},$ctx2,2)});
  2939. //>>excludeEnd("ctx");
  2940. }));
  2941. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  2942. }, function($ctx2) {$ctx2.fillBlock({},$ctx1,1)});
  2943. //>>excludeEnd("ctx");
  2944. }));
  2945. return self;
  2946. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  2947. }, function($ctx1) {$ctx1.fill(self,"renderSlideOn:",{html:html},$globals.FOSDEMAmberBackend)});
  2948. //>>excludeEnd("ctx");
  2949. },
  2950. //>>excludeStart("ide", pragmas.excludeIdeData);
  2951. args: ["html"],
  2952. source: "renderSlideOn: html\x0a\x09html div\x0a\x09\x09class: 'section center';\x0a\x09\x09with: [\x09html h1: 'Need a backend ?'.\x0a\x09\x09\x09\x09{'nodejs.png'. 'php.gif'. 'rails.png'. 'pharo.png'. 'ambrhino.jpg'} do: [:aString |\x0a\x09\x09\x09\x09\x09\x09html img: 'fosdem2012/images/', aString.\x0a\x09\x09\x09\x09]\x0a\x09\x09]",
  2953. referencedClasses: [],
  2954. //>>excludeEnd("ide");
  2955. messageSends: ["class:", "div", "with:", "h1:", "do:", "img:", ","]
  2956. }),
  2957. $globals.FOSDEMAmberBackend);
  2958. $core.addClass('FOSDEMAmberZeroNine', $globals.FOSDEMSlide, [], 'Presentation');
  2959. $core.addMethod(
  2960. $core.method({
  2961. selector: "renderSlideOn:",
  2962. protocol: 'not yet classified',
  2963. fn: function (html){
  2964. var self=this;
  2965. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  2966. return $core.withContext(function($ctx1) {
  2967. //>>excludeEnd("ctx");
  2968. var $1,$3,$4,$2;
  2969. $1=$recv(html)._div();
  2970. $recv($1)._class_("section center");
  2971. $2=$recv($1)._with_((function(){
  2972. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  2973. return $core.withContext(function($ctx2) {
  2974. //>>excludeEnd("ctx");
  2975. $recv(html)._h1_("Amber 0.9.1 is out !");
  2976. $recv(html)._div_((function(){
  2977. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  2978. return $core.withContext(function($ctx3) {
  2979. //>>excludeEnd("ctx");
  2980. $3=$recv(html)._cite();
  2981. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  2982. $ctx3.sendIdx["cite"]=1;
  2983. //>>excludeEnd("ctx");
  2984. return $recv($3)._with_("Now with over 43 forks on github and more than 230 followers the project: http://www.amber-lang.net ...is live and kicking!");
  2985. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  2986. $ctx3.sendIdx["with:"]=2;
  2987. //>>excludeEnd("ctx");
  2988. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  2989. }, function($ctx3) {$ctx3.fillBlock({},$ctx2,2)});
  2990. //>>excludeEnd("ctx");
  2991. }));
  2992. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  2993. $ctx2.sendIdx["div:"]=1;
  2994. //>>excludeEnd("ctx");
  2995. $4=$recv(html)._div_((function(){
  2996. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  2997. return $core.withContext(function($ctx3) {
  2998. //>>excludeEnd("ctx");
  2999. return $recv($recv(html)._cite())._with_("-- Nicolas & Göran");
  3000. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  3001. }, function($ctx3) {$ctx3.fillBlock({},$ctx2,3)});
  3002. //>>excludeEnd("ctx");
  3003. }));
  3004. return $4;
  3005. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  3006. }, function($ctx2) {$ctx2.fillBlock({},$ctx1,1)});
  3007. //>>excludeEnd("ctx");
  3008. }));
  3009. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  3010. $ctx1.sendIdx["with:"]=1;
  3011. //>>excludeEnd("ctx");
  3012. return self;
  3013. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  3014. }, function($ctx1) {$ctx1.fill(self,"renderSlideOn:",{html:html},$globals.FOSDEMAmberZeroNine)});
  3015. //>>excludeEnd("ctx");
  3016. },
  3017. //>>excludeStart("ide", pragmas.excludeIdeData);
  3018. args: ["html"],
  3019. source: "renderSlideOn: html\x0a\x09html div \x0a\x09\x09class: 'section center';\x0a\x09\x09with: [ \x09html \x0a\x09\x09\x09\x09\x09h1: 'Amber 0.9.1 is out !';\x0a\x09\x09\x09\x09\x09div: [html cite with: 'Now with over 43 forks on github and more than 230 followers the project: http://www.amber-lang.net ...is live and kicking!'];\x0a\x09\x09\x09\x09\x09div: [html cite with: '-- Nicolas & Göran'] ]",
  3020. referencedClasses: [],
  3021. //>>excludeEnd("ide");
  3022. messageSends: ["class:", "div", "with:", "h1:", "div:", "cite"]
  3023. }),
  3024. $globals.FOSDEMAmberZeroNine);
  3025. $core.addClass('FOSDEMBookletSlide', $globals.FOSDEMSlide, [], 'Presentation');
  3026. $core.addMethod(
  3027. $core.method({
  3028. selector: "bookletOptions",
  3029. protocol: 'rendering',
  3030. fn: function (){
  3031. var self=this;
  3032. var $1;
  3033. $1=$globals.HashedCollection._newFromPairs_(["arrows",true,"keyboard",false,"pageNumbers",false,"closed",true]);
  3034. return $1;
  3035. },
  3036. //>>excludeStart("ide", pragmas.excludeIdeData);
  3037. args: [],
  3038. source: "bookletOptions\x0a\x09^ #{ \x0a\x09\x09'arrows' -> true.\x0a\x09\x09'keyboard' -> false.\x0a\x09\x09'pageNumbers' -> false.\x0a\x09\x09'closed' -> true\x0a\x09}",
  3039. referencedClasses: [],
  3040. //>>excludeEnd("ide");
  3041. messageSends: []
  3042. }),
  3043. $globals.FOSDEMBookletSlide);
  3044. $core.addMethod(
  3045. $core.method({
  3046. selector: "cssClass",
  3047. protocol: 'accessing',
  3048. fn: function (){
  3049. var self=this;
  3050. return "slide blue3d";
  3051. },
  3052. //>>excludeStart("ide", pragmas.excludeIdeData);
  3053. args: [],
  3054. source: "cssClass\x0a\x09^ 'slide blue3d'",
  3055. referencedClasses: [],
  3056. //>>excludeEnd("ide");
  3057. messageSends: []
  3058. }),
  3059. $globals.FOSDEMBookletSlide);
  3060. $core.addMethod(
  3061. $core.method({
  3062. selector: "renderBookOn:",
  3063. protocol: 'rendering',
  3064. fn: function (html){
  3065. var self=this;
  3066. function $Browser(){return $globals.Browser||(typeof Browser=="undefined"?nil:Browser)}
  3067. function $FOSDEMBookletSlide(){return $globals.FOSDEMBookletSlide||(typeof FOSDEMBookletSlide=="undefined"?nil:FOSDEMBookletSlide)}
  3068. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  3069. return $core.withContext(function($ctx1) {
  3070. //>>excludeEnd("ctx");
  3071. var $1,$3,$6,$7,$5,$4,$2;
  3072. $1=$recv(html)._div();
  3073. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  3074. $ctx1.sendIdx["div"]=1;
  3075. //>>excludeEnd("ctx");
  3076. $recv($1)._id_("book");
  3077. $2=$recv($1)._with_((function(){
  3078. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  3079. return $core.withContext(function($ctx2) {
  3080. //>>excludeEnd("ctx");
  3081. $3=$recv(html)._div();
  3082. $recv($3)._class_("b-load");
  3083. $4=$recv($3)._with_((function(){
  3084. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  3085. return $core.withContext(function($ctx3) {
  3086. //>>excludeEnd("ctx");
  3087. $recv(html)._div_("Amber makes it easy to plug existing javascript libraires");
  3088. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  3089. $ctx3.sendIdx["div:"]=1;
  3090. //>>excludeEnd("ctx");
  3091. $recv(html)._div_("Here is an example with the jQuery Booklet plugin");
  3092. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  3093. $ctx3.sendIdx["div:"]=2;
  3094. //>>excludeEnd("ctx");
  3095. $recv(html)._div_("Want to see how ?");
  3096. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  3097. $ctx3.sendIdx["div:"]=3;
  3098. //>>excludeEnd("ctx");
  3099. $5=$recv(html)._div_((function(){
  3100. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  3101. return $core.withContext(function($ctx4) {
  3102. //>>excludeEnd("ctx");
  3103. $6=$recv(html)._button();
  3104. $recv($6)._onClick_((function(){
  3105. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  3106. return $core.withContext(function($ctx5) {
  3107. //>>excludeEnd("ctx");
  3108. return $recv($Browser())._openOn_($FOSDEMBookletSlide());
  3109. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  3110. }, function($ctx5) {$ctx5.fillBlock({},$ctx4,4)});
  3111. //>>excludeEnd("ctx");
  3112. }));
  3113. $7=$recv($6)._with_("Just browse the code :)");
  3114. return $7;
  3115. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  3116. }, function($ctx4) {$ctx4.fillBlock({},$ctx3,3)});
  3117. //>>excludeEnd("ctx");
  3118. }));
  3119. return $5;
  3120. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  3121. }, function($ctx3) {$ctx3.fillBlock({},$ctx2,2)});
  3122. //>>excludeEnd("ctx");
  3123. }));
  3124. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  3125. $ctx2.sendIdx["with:"]=2;
  3126. //>>excludeEnd("ctx");
  3127. return $4;
  3128. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  3129. }, function($ctx2) {$ctx2.fillBlock({},$ctx1,1)});
  3130. //>>excludeEnd("ctx");
  3131. }));
  3132. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  3133. $ctx1.sendIdx["with:"]=1;
  3134. //>>excludeEnd("ctx");
  3135. return self;
  3136. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  3137. }, function($ctx1) {$ctx1.fill(self,"renderBookOn:",{html:html},$globals.FOSDEMBookletSlide)});
  3138. //>>excludeEnd("ctx");
  3139. },
  3140. //>>excludeStart("ide", pragmas.excludeIdeData);
  3141. args: ["html"],
  3142. source: "renderBookOn: html\x0a\x09html div \x0a\x09\x09id: 'book';\x0a\x09\x09with: [\x09html div\x0a\x09\x09\x09\x09\x09class: 'b-load';\x0a\x09\x09\x09\x09\x09with: [\x09html \x0a\x09\x09\x09\x09\x09\x09\x09\x09div: 'Amber makes it easy to plug existing javascript libraires';\x0a\x09\x09\x09\x09\x09\x09\x09\x09div: 'Here is an example with the jQuery Booklet plugin';\x0a\x09\x09\x09\x09\x09\x09\x09\x09div: 'Want to see how ?';\x0a\x09\x09\x09\x09\x09\x09\x09\x09div: [ html button\x0a\x09\x09\x09\x09\x09\x09\x09\x09\x09\x09onClick: [Browser openOn: FOSDEMBookletSlide ];\x0a\x09\x09\x09\x09\x09\x09\x09\x09\x09\x09with: 'Just browse the code :)'.\x09\x09\x09\x09\x09\x09] \x09\x0a\x09\x09\x09\x09\x09\x09\x09\x09\x09\x09\x09\x09\x09\x09\x09\x09\x09\x09\x09\x09\x09\x09\x09\x0a\x09\x09\x09\x09\x09]\x09\x0a\x09\x09].",
  3143. referencedClasses: ["Browser", "FOSDEMBookletSlide"],
  3144. //>>excludeEnd("ide");
  3145. messageSends: ["id:", "div", "with:", "class:", "div:", "onClick:", "button", "openOn:"]
  3146. }),
  3147. $globals.FOSDEMBookletSlide);
  3148. $core.addMethod(
  3149. $core.method({
  3150. selector: "renderSlideOn:",
  3151. protocol: 'rendering',
  3152. fn: function (html){
  3153. var self=this;
  3154. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  3155. return $core.withContext(function($ctx1) {
  3156. //>>excludeEnd("ctx");
  3157. var $1,$2;
  3158. self._renderBookOn_(html);
  3159. $1=$recv(html)._link();
  3160. $recv($1)._rel_("stylesheet");
  3161. $2=$recv($1)._href_("fosdem2012/lib/booklet/jquery.booklet.1.2.0.css");
  3162. $recv(html)._style_(self._style());
  3163. $recv(jQuery)._getScript_do_("fosdem2012/lib/booklet/jquery.booklet.1.2.0.min.js",(function(){
  3164. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  3165. return $core.withContext(function($ctx2) {
  3166. //>>excludeEnd("ctx");
  3167. return $recv("#book"._asJQuery())._booklet_(self._bookletOptions());
  3168. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  3169. }, function($ctx2) {$ctx2.fillBlock({},$ctx1,1)});
  3170. //>>excludeEnd("ctx");
  3171. }));
  3172. return self;
  3173. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  3174. }, function($ctx1) {$ctx1.fill(self,"renderSlideOn:",{html:html},$globals.FOSDEMBookletSlide)});
  3175. //>>excludeEnd("ctx");
  3176. },
  3177. //>>excludeStart("ide", pragmas.excludeIdeData);
  3178. args: ["html"],
  3179. source: "renderSlideOn: html\x0a\x09self renderBookOn: html.\x0a\x09html link \x0a\x09\x09rel:'stylesheet';\x0a\x09\x09href: 'fosdem2012/lib/booklet/jquery.booklet.1.2.0.css'.\x0a\x09\x0a\x09html style: self style.\x0a\x09\x0a\x09jQuery \x0a\x09\x09getScript: 'fosdem2012/lib/booklet/jquery.booklet.1.2.0.min.js' \x09\x0a\x09\x09do: ['#book' asJQuery booklet: self bookletOptions].",
  3180. referencedClasses: [],
  3181. //>>excludeEnd("ide");
  3182. messageSends: ["renderBookOn:", "rel:", "link", "href:", "style:", "style", "getScript:do:", "booklet:", "asJQuery", "bookletOptions"]
  3183. }),
  3184. $globals.FOSDEMBookletSlide);
  3185. $core.addMethod(
  3186. $core.method({
  3187. selector: "style",
  3188. protocol: 'css',
  3189. fn: function (){
  3190. var self=this;
  3191. return "\x0a#book { font-size: 1.4em; }\x0a#book .b-load .b-wrap-right { background-color: #DEC3A9;}\x0a#book .b-load .b-wrap-left { background-color: #DDD;} \x0a";
  3192. },
  3193. //>>excludeStart("ide", pragmas.excludeIdeData);
  3194. args: [],
  3195. source: "style\x0a\x09^ '\x0a#book { font-size: 1.4em; }\x0a#book .b-load .b-wrap-right { background-color: #DEC3A9;}\x0a#book .b-load .b-wrap-left { background-color: #DDD;} \x0a'",
  3196. referencedClasses: [],
  3197. //>>excludeEnd("ide");
  3198. messageSends: []
  3199. }),
  3200. $globals.FOSDEMBookletSlide);
  3201. $core.addClass('FOSDEMCLISlide', $globals.FOSDEMSlide, [], 'Presentation');
  3202. $core.addMethod(
  3203. $core.method({
  3204. selector: "codeSnippet",
  3205. protocol: 'rendering',
  3206. fn: function (){
  3207. var self=this;
  3208. return "cd examples/nodejs/hello\x0a../../../bin/amberc -m Hello Hello.st Program\x0anode Program.js\x0a\x0aHello world from Amber in Node.js";
  3209. },
  3210. //>>excludeStart("ide", pragmas.excludeIdeData);
  3211. args: [],
  3212. source: "codeSnippet\x0a\x09^ \x0a'cd examples/nodejs/hello\x0a../../../bin/amberc -m Hello Hello.st Program\x0anode Program.js\x0a\x0aHello world from Amber in Node.js'",
  3213. referencedClasses: [],
  3214. //>>excludeEnd("ide");
  3215. messageSends: []
  3216. }),
  3217. $globals.FOSDEMCLISlide);
  3218. $core.addMethod(
  3219. $core.method({
  3220. selector: "renderSlideOn:",
  3221. protocol: 'rendering',
  3222. fn: function (html){
  3223. var self=this;
  3224. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  3225. return $core.withContext(function($ctx1) {
  3226. //>>excludeEnd("ctx");
  3227. $recv(html)._h1_("CLI");
  3228. $recv(html)._with_("amberc compiles .st files into node programs !");
  3229. self._renderCodeSnippetOn_(html);
  3230. return self;
  3231. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  3232. }, function($ctx1) {$ctx1.fill(self,"renderSlideOn:",{html:html},$globals.FOSDEMCLISlide)});
  3233. //>>excludeEnd("ctx");
  3234. },
  3235. //>>excludeStart("ide", pragmas.excludeIdeData);
  3236. args: ["html"],
  3237. source: "renderSlideOn: html\x0a\x09html h1: 'CLI'.\x0a\x09html with: 'amberc compiles .st files into node programs !'.\x0a\x09self renderCodeSnippetOn: html.",
  3238. referencedClasses: [],
  3239. //>>excludeEnd("ide");
  3240. messageSends: ["h1:", "with:", "renderCodeSnippetOn:"]
  3241. }),
  3242. $globals.FOSDEMCLISlide);
  3243. $core.addClass('FOSDEMCanvasSlide', $globals.FOSDEMSlide, ['c2d', 'canvas'], 'Presentation');
  3244. $core.addMethod(
  3245. $core.method({
  3246. selector: "cssClass",
  3247. protocol: 'accessing',
  3248. fn: function (){
  3249. var self=this;
  3250. return "slide red3d";
  3251. },
  3252. //>>excludeStart("ide", pragmas.excludeIdeData);
  3253. args: [],
  3254. source: "cssClass\x0a\x09^ 'slide red3d'",
  3255. referencedClasses: [],
  3256. //>>excludeEnd("ide");
  3257. messageSends: []
  3258. }),
  3259. $globals.FOSDEMCanvasSlide);
  3260. $core.addMethod(
  3261. $core.method({
  3262. selector: "drawOnCanvas",
  3263. protocol: 'drawing',
  3264. fn: function (){
  3265. var self=this;
  3266. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  3267. return $core.withContext(function($ctx1) {
  3268. //>>excludeEnd("ctx");
  3269. var $1,$2,$4,$3,$5,$7,$8,$9,$11,$10,$6,$12,$13,$14,$15,$16,$17;
  3270. $1=$recv(self["@canvas"])._element();
  3271. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  3272. $ctx1.sendIdx["element"]=1;
  3273. //>>excludeEnd("ctx");
  3274. self["@c2d"]=$recv($1)._getContext_("2d");
  3275. $2=self["@c2d"];
  3276. $4=$recv(self["@canvas"])._element();
  3277. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  3278. $ctx1.sendIdx["element"]=2;
  3279. //>>excludeEnd("ctx");
  3280. $3=$recv($4)._width();
  3281. $recv($2)._clearRect_y_width_height_((0),(0),$3,$recv($recv(self["@canvas"])._element())._height());
  3282. $5=(40)._atRandom();
  3283. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  3284. $ctx1.sendIdx["atRandom"]=1;
  3285. //>>excludeEnd("ctx");
  3286. $recv($5)._timesRepeat_((function(){
  3287. var rgba;
  3288. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  3289. return $core.withContext(function($ctx2) {
  3290. //>>excludeEnd("ctx");
  3291. $7=(255)._atRandom();
  3292. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  3293. $ctx2.sendIdx["atRandom"]=2;
  3294. //>>excludeEnd("ctx");
  3295. $8=(255)._atRandom();
  3296. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  3297. $ctx2.sendIdx["atRandom"]=3;
  3298. //>>excludeEnd("ctx");
  3299. $9=(255)._atRandom();
  3300. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  3301. $ctx2.sendIdx["atRandom"]=4;
  3302. //>>excludeEnd("ctx");
  3303. $11=(10)._atRandom();
  3304. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  3305. $ctx2.sendIdx["atRandom"]=5;
  3306. //>>excludeEnd("ctx");
  3307. $10=$recv($11).__slash((10));
  3308. $6=[$7,$8,$9,$10];
  3309. rgba=","._join_($6);
  3310. rgba;
  3311. $12=self["@c2d"];
  3312. $13=$recv("rgba(".__comma(rgba)).__comma(")");
  3313. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  3314. $ctx2.sendIdx[","]=1;
  3315. //>>excludeEnd("ctx");
  3316. $recv($12)._at_put_("fillStyle",$13);
  3317. $14=self["@c2d"];
  3318. $15=(600)._atRandom();
  3319. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  3320. $ctx2.sendIdx["atRandom"]=6;
  3321. //>>excludeEnd("ctx");
  3322. $16=(300)._atRandom();
  3323. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  3324. $ctx2.sendIdx["atRandom"]=7;
  3325. //>>excludeEnd("ctx");
  3326. $17=(200)._atRandom();
  3327. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  3328. $ctx2.sendIdx["atRandom"]=8;
  3329. //>>excludeEnd("ctx");
  3330. return $recv($14)._fillRect_y_width_height_($15,$16,$17,(200)._atRandom());
  3331. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  3332. }, function($ctx2) {$ctx2.fillBlock({rgba:rgba},$ctx1,1)});
  3333. //>>excludeEnd("ctx");
  3334. }));
  3335. return self;
  3336. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  3337. }, function($ctx1) {$ctx1.fill(self,"drawOnCanvas",{},$globals.FOSDEMCanvasSlide)});
  3338. //>>excludeEnd("ctx");
  3339. },
  3340. //>>excludeStart("ide", pragmas.excludeIdeData);
  3341. args: [],
  3342. source: "drawOnCanvas\x0a\x09c2d := canvas element getContext: '2d'.\x0a\x09c2d \x0a\x09\x09clearRect: 0 \x0a\x09\x09y: 0 \x0a\x09\x09width: canvas element width \x0a\x09\x09height: canvas element height.\x0a\x09\x0a\x0940 atRandom timesRepeat: [ |rgba|\x0a\x09\x09\x09rgba := ',' join: {255 atRandom. 255 atRandom. 255 atRandom. 10 atRandom / 10}.\x0a\x09\x09\x09c2d\x09at: 'fillStyle' put: 'rgba(', rgba, ')'.\x0a\x09\x09\x09c2d\x0a\x09\x09\x09\x09fillRect: 600 atRandom \x0a\x09\x09\x09\x09y: 300 atRandom \x0a\x09\x09\x09\x09width: 200 atRandom \x0a\x09\x09\x09\x09height: 200 atRandom ]",
  3343. referencedClasses: [],
  3344. //>>excludeEnd("ide");
  3345. messageSends: ["getContext:", "element", "clearRect:y:width:height:", "width", "height", "timesRepeat:", "atRandom", "join:", "/", "at:put:", ",", "fillRect:y:width:height:"]
  3346. }),
  3347. $globals.FOSDEMCanvasSlide);
  3348. $core.addMethod(
  3349. $core.method({
  3350. selector: "renderSlideOn:",
  3351. protocol: 'rendering',
  3352. fn: function (html){
  3353. var self=this;
  3354. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  3355. return $core.withContext(function($ctx1) {
  3356. //>>excludeEnd("ctx");
  3357. var $1,$2;
  3358. $recv(html)._h1_("Playing with canvas");
  3359. $1=$recv(html)._canvas();
  3360. $recv($1)._width_((700));
  3361. $2=$recv($1)._height_((400));
  3362. self["@canvas"]=$2;
  3363. self._updateCanvas();
  3364. return self;
  3365. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  3366. }, function($ctx1) {$ctx1.fill(self,"renderSlideOn:",{html:html},$globals.FOSDEMCanvasSlide)});
  3367. //>>excludeEnd("ctx");
  3368. },
  3369. //>>excludeStart("ide", pragmas.excludeIdeData);
  3370. args: ["html"],
  3371. source: "renderSlideOn: html\x0a\x09html h1: 'Playing with canvas'.\x0a\x09canvas := html canvas \x0a\x09\x09\x09\x09width: 700;\x0a\x09\x09\x09\x09height: 400.\x0a\x0a\x09self updateCanvas.",
  3372. referencedClasses: [],
  3373. //>>excludeEnd("ide");
  3374. messageSends: ["h1:", "width:", "canvas", "height:", "updateCanvas"]
  3375. }),
  3376. $globals.FOSDEMCanvasSlide);
  3377. $core.addMethod(
  3378. $core.method({
  3379. selector: "updateCanvas",
  3380. protocol: 'updating',
  3381. fn: function (){
  3382. var self=this;
  3383. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  3384. return $core.withContext(function($ctx1) {
  3385. //>>excludeEnd("ctx");
  3386. self._drawOnCanvas();
  3387. $recv(window)._setTimeout_delay_((function(){
  3388. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  3389. return $core.withContext(function($ctx2) {
  3390. //>>excludeEnd("ctx");
  3391. return self._updateCanvas();
  3392. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  3393. }, function($ctx2) {$ctx2.fillBlock({},$ctx1,1)});
  3394. //>>excludeEnd("ctx");
  3395. }),(500));
  3396. return self;
  3397. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  3398. }, function($ctx1) {$ctx1.fill(self,"updateCanvas",{},$globals.FOSDEMCanvasSlide)});
  3399. //>>excludeEnd("ctx");
  3400. },
  3401. //>>excludeStart("ide", pragmas.excludeIdeData);
  3402. args: [],
  3403. source: "updateCanvas\x0a\x09self drawOnCanvas.\x0a\x09window setTimeout: [self updateCanvas] delay: 500.",
  3404. referencedClasses: [],
  3405. //>>excludeEnd("ide");
  3406. messageSends: ["drawOnCanvas", "setTimeout:delay:", "updateCanvas"]
  3407. }),
  3408. $globals.FOSDEMCanvasSlide);
  3409. $core.addClass('FOSDEMContributionsSlide', $globals.FOSDEMSlide, [], 'Presentation');
  3410. $core.addMethod(
  3411. $core.method({
  3412. selector: "renderSlideOn:",
  3413. protocol: 'rendering',
  3414. fn: function (html){
  3415. var self=this;
  3416. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  3417. return $core.withContext(function($ctx1) {
  3418. //>>excludeEnd("ctx");
  3419. var $1,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12,$13,$2;
  3420. $1=$recv(html)._div();
  3421. $recv($1)._class_("section");
  3422. $2=$recv($1)._with_((function(){
  3423. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  3424. return $core.withContext(function($ctx2) {
  3425. //>>excludeEnd("ctx");
  3426. $3=$recv(html)._p();
  3427. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  3428. $ctx2.sendIdx["p"]=1;
  3429. //>>excludeEnd("ctx");
  3430. $recv($3)._with_((function(){
  3431. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  3432. return $core.withContext(function($ctx3) {
  3433. //>>excludeEnd("ctx");
  3434. $4=$recv(html)._a();
  3435. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  3436. $ctx3.sendIdx["a"]=1;
  3437. //>>excludeEnd("ctx");
  3438. $recv($4)._href_("/documentation.html");
  3439. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  3440. $ctx3.sendIdx["href:"]=1;
  3441. //>>excludeEnd("ctx");
  3442. $5=$recv($4)._with_("Documentation");
  3443. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  3444. $ctx3.sendIdx["with:"]=3;
  3445. //>>excludeEnd("ctx");
  3446. return $5;
  3447. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  3448. }, function($ctx3) {$ctx3.fillBlock({},$ctx2,2)});
  3449. //>>excludeEnd("ctx");
  3450. }));
  3451. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  3452. $ctx2.sendIdx["with:"]=2;
  3453. //>>excludeEnd("ctx");
  3454. $6=$recv(html)._p();
  3455. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  3456. $ctx2.sendIdx["p"]=2;
  3457. //>>excludeEnd("ctx");
  3458. $recv($6)._with_((function(){
  3459. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  3460. return $core.withContext(function($ctx3) {
  3461. //>>excludeEnd("ctx");
  3462. $7=$recv(html)._a();
  3463. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  3464. $ctx3.sendIdx["a"]=2;
  3465. //>>excludeEnd("ctx");
  3466. $recv($7)._href_("http://amber-lang.net");
  3467. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  3468. $ctx3.sendIdx["href:"]=2;
  3469. //>>excludeEnd("ctx");
  3470. $8=$recv($7)._with_("amber-lang.net");
  3471. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  3472. $ctx3.sendIdx["with:"]=5;
  3473. //>>excludeEnd("ctx");
  3474. return $8;
  3475. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  3476. }, function($ctx3) {$ctx3.fillBlock({},$ctx2,3)});
  3477. //>>excludeEnd("ctx");
  3478. }));
  3479. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  3480. $ctx2.sendIdx["with:"]=4;
  3481. //>>excludeEnd("ctx");
  3482. $9=$recv(html)._p();
  3483. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  3484. $ctx2.sendIdx["p"]=3;
  3485. //>>excludeEnd("ctx");
  3486. $recv($9)._with_((function(){
  3487. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  3488. return $core.withContext(function($ctx3) {
  3489. //>>excludeEnd("ctx");
  3490. $10=$recv(html)._a();
  3491. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  3492. $ctx3.sendIdx["a"]=3;
  3493. //>>excludeEnd("ctx");
  3494. $recv($10)._href_("https://github.com/amber-smalltalk/amber");
  3495. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  3496. $ctx3.sendIdx["href:"]=3;
  3497. //>>excludeEnd("ctx");
  3498. $11=$recv($10)._with_("github.com/amber-smalltalk/amber");
  3499. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  3500. $ctx3.sendIdx["with:"]=7;
  3501. //>>excludeEnd("ctx");
  3502. return $11;
  3503. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  3504. }, function($ctx3) {$ctx3.fillBlock({},$ctx2,4)});
  3505. //>>excludeEnd("ctx");
  3506. }));
  3507. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  3508. $ctx2.sendIdx["with:"]=6;
  3509. //>>excludeEnd("ctx");
  3510. return $recv($recv(html)._p())._with_((function(){
  3511. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  3512. return $core.withContext(function($ctx3) {
  3513. //>>excludeEnd("ctx");
  3514. $12=$recv(html)._a();
  3515. $recv($12)._href_("http://groups.google.com/group/amber-lang");
  3516. $13=$recv($12)._with_("groups.google.com/group/amber-lang");
  3517. return $13;
  3518. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  3519. }, function($ctx3) {$ctx3.fillBlock({},$ctx2,5)});
  3520. //>>excludeEnd("ctx");
  3521. }));
  3522. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  3523. $ctx2.sendIdx["with:"]=8;
  3524. //>>excludeEnd("ctx");
  3525. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  3526. }, function($ctx2) {$ctx2.fillBlock({},$ctx1,1)});
  3527. //>>excludeEnd("ctx");
  3528. }));
  3529. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  3530. $ctx1.sendIdx["with:"]=1;
  3531. //>>excludeEnd("ctx");
  3532. return self;
  3533. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  3534. }, function($ctx1) {$ctx1.fill(self,"renderSlideOn:",{html:html},$globals.FOSDEMContributionsSlide)});
  3535. //>>excludeEnd("ctx");
  3536. },
  3537. //>>excludeStart("ide", pragmas.excludeIdeData);
  3538. args: ["html"],
  3539. source: "renderSlideOn: html\x0a\x09html div class: 'section'; with: [\x0a\x09\x09html p with: [\x0a\x09\x09\x09html a href: '/documentation.html'; with: 'Documentation'].\x0a\x09\x09html p with: [\x0a\x09\x09\x09html a href: 'http://amber-lang.net'; with: 'amber-lang.net'].\x0a\x09\x09html p with: [\x0a\x09\x09\x09html a href: 'https://github.com/amber-smalltalk/amber'; with: 'github.com/amber-smalltalk/amber'].\x0a\x09\x09html p with: [\x0a\x09\x09\x09html a href: 'http://groups.google.com/group/amber-lang'; with: 'groups.google.com/group/amber-lang']]",
  3540. referencedClasses: [],
  3541. //>>excludeEnd("ide");
  3542. messageSends: ["class:", "div", "with:", "p", "href:", "a"]
  3543. }),
  3544. $globals.FOSDEMContributionsSlide);
  3545. $core.addClass('FOSDEMIntroSlide', $globals.FOSDEMSlide, [], 'Presentation');
  3546. $core.addMethod(
  3547. $core.method({
  3548. selector: "renderSlideOn:",
  3549. protocol: 'not yet classified',
  3550. fn: function (html){
  3551. var self=this;
  3552. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  3553. return $core.withContext(function($ctx1) {
  3554. //>>excludeEnd("ctx");
  3555. var $1,$4,$3,$6,$5,$2;
  3556. $1=$recv(html)._div();
  3557. $recv($1)._class_("section center animate");
  3558. $2=$recv($1)._with_((function(){
  3559. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  3560. return $core.withContext(function($ctx2) {
  3561. //>>excludeEnd("ctx");
  3562. $recv($recv(html)._img())._src_("fosdem2012/images/amber.png");
  3563. $4=self._presentation();
  3564. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  3565. $ctx2.sendIdx["presentation"]=1;
  3566. //>>excludeEnd("ctx");
  3567. $3=$recv($4)._author();
  3568. $recv(html)._p_($3);
  3569. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  3570. $ctx2.sendIdx["p:"]=1;
  3571. //>>excludeEnd("ctx");
  3572. $6=self._presentation();
  3573. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  3574. $ctx2.sendIdx["presentation"]=2;
  3575. //>>excludeEnd("ctx");
  3576. $5=$recv($6)._description();
  3577. $recv(html)._p_($5);
  3578. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  3579. $ctx2.sendIdx["p:"]=2;
  3580. //>>excludeEnd("ctx");
  3581. return $recv(html)._p_((function(){
  3582. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  3583. return $core.withContext(function($ctx3) {
  3584. //>>excludeEnd("ctx");
  3585. return $recv(html)._with_($recv(self._presentation())._email());
  3586. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  3587. }, function($ctx3) {$ctx3.fillBlock({},$ctx2,2)});
  3588. //>>excludeEnd("ctx");
  3589. }));
  3590. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  3591. }, function($ctx2) {$ctx2.fillBlock({},$ctx1,1)});
  3592. //>>excludeEnd("ctx");
  3593. }));
  3594. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  3595. $ctx1.sendIdx["with:"]=1;
  3596. //>>excludeEnd("ctx");
  3597. return self;
  3598. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  3599. }, function($ctx1) {$ctx1.fill(self,"renderSlideOn:",{html:html},$globals.FOSDEMIntroSlide)});
  3600. //>>excludeEnd("ctx");
  3601. },
  3602. //>>excludeStart("ide", pragmas.excludeIdeData);
  3603. args: ["html"],
  3604. source: "renderSlideOn: html\x0a\x09html div class: 'section center animate'; with: [\x0a\x09\x09html img src: 'fosdem2012/images/amber.png'.\x0a\x09\x09html p: self presentation author.\x0a \x09html p: self presentation description.\x0a\x09\x09html p: [\x0a\x09\x09\x09html with: self presentation email]].",
  3605. referencedClasses: [],
  3606. //>>excludeEnd("ide");
  3607. messageSends: ["class:", "div", "with:", "src:", "img", "p:", "author", "presentation", "description", "email"]
  3608. }),
  3609. $globals.FOSDEMIntroSlide);
  3610. $core.addClass('FOSDEMJSPlayGroundSlide', $globals.FOSDEMSlide, [], 'Presentation');
  3611. $core.addMethod(
  3612. $core.method({
  3613. selector: "codeSnippet",
  3614. protocol: 'accessing',
  3615. fn: function (){
  3616. var self=this;
  3617. return "|logo|\x0alogo:='img#amberlogo' asJQuery.\x0a\x0alogo\x0a css:'-webkit-transition' put:'all 10s ease-in-out'.\x0a\x0a<logo.css('-webkit-transform', 'rotateY(360deg)');>.\x0a\x0alogo click: [window alert: 'This is cool !'].\x0a\x0alogo inspect";
  3618. },
  3619. //>>excludeStart("ide", pragmas.excludeIdeData);
  3620. args: [],
  3621. source: "codeSnippet\x0a^'|logo|\x0alogo:=''img#amberlogo'' asJQuery.\x0a\x0alogo\x0a css:''-webkit-transition'' put:''all 10s ease-in-out''.\x0a\x0a<logo.css(''-webkit-transform'', ''rotateY(360deg)'');>.\x0a\x0alogo click: [window alert: ''This is cool !''].\x0a\x0alogo inspect'.",
  3622. referencedClasses: [],
  3623. //>>excludeEnd("ide");
  3624. messageSends: []
  3625. }),
  3626. $globals.FOSDEMJSPlayGroundSlide);
  3627. $core.addMethod(
  3628. $core.method({
  3629. selector: "renderSlideOn:",
  3630. protocol: 'rendering',
  3631. fn: function (html){
  3632. var self=this;
  3633. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  3634. return $core.withContext(function($ctx1) {
  3635. //>>excludeEnd("ctx");
  3636. var $1,$3,$4,$2;
  3637. $1=$recv(html)._div();
  3638. $recv($1)._class_("section center");
  3639. $2=$recv($1)._with_((function(){
  3640. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  3641. return $core.withContext(function($ctx2) {
  3642. //>>excludeEnd("ctx");
  3643. self._renderCodeSnippetOn_(html);
  3644. $3=$recv(html)._img();
  3645. $recv($3)._id_("amberlogo");
  3646. $4=$recv($3)._src_("fosdem2012/images/amber.png");
  3647. return $4;
  3648. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  3649. }, function($ctx2) {$ctx2.fillBlock({},$ctx1,1)});
  3650. //>>excludeEnd("ctx");
  3651. }));
  3652. return self;
  3653. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  3654. }, function($ctx1) {$ctx1.fill(self,"renderSlideOn:",{html:html},$globals.FOSDEMJSPlayGroundSlide)});
  3655. //>>excludeEnd("ctx");
  3656. },
  3657. //>>excludeStart("ide", pragmas.excludeIdeData);
  3658. args: ["html"],
  3659. source: "renderSlideOn: html\x0a\x09html div\x0a\x09\x09class: 'section center'; \x0a\x09\x09with: [\x0a\x09\x09\x09self renderCodeSnippetOn: html.\x0a\x09\x09\x09html img\x0a\x09\x09\x09\x09id: 'amberlogo'; \x0a\x09\x09\x09\x09src: 'fosdem2012/images/amber.png'\x09]",
  3660. referencedClasses: [],
  3661. //>>excludeEnd("ide");
  3662. messageSends: ["class:", "div", "with:", "renderCodeSnippetOn:", "id:", "img", "src:"]
  3663. }),
  3664. $globals.FOSDEMJSPlayGroundSlide);
  3665. $core.addClass('FOSDEMJSToSmalltalk', $globals.FOSDEMSlide, [], 'Presentation');
  3666. $core.addMethod(
  3667. $core.method({
  3668. selector: "codeSnippet",
  3669. protocol: 'accessing',
  3670. fn: function (){
  3671. var self=this;
  3672. return "var counter = window.smalltalk.Counter._new();\x0acounter._appendToJQuery_(jQuery('#jsToSmalltalk'));";
  3673. },
  3674. //>>excludeStart("ide", pragmas.excludeIdeData);
  3675. args: [],
  3676. source: "codeSnippet\x0a\x09^\x0a'var counter = window.smalltalk.Counter._new();\x0acounter._appendToJQuery_(jQuery(''#jsToSmalltalk''));'.",
  3677. referencedClasses: [],
  3678. //>>excludeEnd("ide");
  3679. messageSends: []
  3680. }),
  3681. $globals.FOSDEMJSToSmalltalk);
  3682. $core.addMethod(
  3683. $core.method({
  3684. selector: "cssClass",
  3685. protocol: 'accessing',
  3686. fn: function (){
  3687. var self=this;
  3688. return "slide blue3d";
  3689. },
  3690. //>>excludeStart("ide", pragmas.excludeIdeData);
  3691. args: [],
  3692. source: "cssClass\x0a\x09^ 'slide blue3d'",
  3693. referencedClasses: [],
  3694. //>>excludeEnd("ide");
  3695. messageSends: []
  3696. }),
  3697. $globals.FOSDEMJSToSmalltalk);
  3698. $core.addMethod(
  3699. $core.method({
  3700. selector: "renderSlideOn:",
  3701. protocol: 'rendering',
  3702. fn: function (html){
  3703. var self=this;
  3704. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  3705. return $core.withContext(function($ctx1) {
  3706. //>>excludeEnd("ctx");
  3707. var $1,$2;
  3708. $recv(html)._h1_("Call Smalltalk from Javascript");
  3709. $1=$recv(html)._div();
  3710. $recv($1)._id_("jsToSmalltalk");
  3711. $2=$recv($1)._style_("float: left");
  3712. self._renderCodeSnippetOn_(html);
  3713. return self;
  3714. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  3715. }, function($ctx1) {$ctx1.fill(self,"renderSlideOn:",{html:html},$globals.FOSDEMJSToSmalltalk)});
  3716. //>>excludeEnd("ctx");
  3717. },
  3718. //>>excludeStart("ide", pragmas.excludeIdeData);
  3719. args: ["html"],
  3720. source: "renderSlideOn: html\x0a\x09html h1: 'Call Smalltalk from Javascript'.\x0a\x09html div\x0a\x09\x09id: 'jsToSmalltalk';\x0a\x09\x09style: 'float: left'.\x0a\x09self renderCodeSnippetOn: html.",
  3721. referencedClasses: [],
  3722. //>>excludeEnd("ide");
  3723. messageSends: ["h1:", "id:", "div", "style:", "renderCodeSnippetOn:"]
  3724. }),
  3725. $globals.FOSDEMJSToSmalltalk);
  3726. $core.addClass('FOSDEMREPLSlide', $globals.FOSDEMSlide, [], 'Presentation');
  3727. $core.addMethod(
  3728. $core.method({
  3729. selector: "codeSnippet",
  3730. protocol: 'rendering',
  3731. fn: function (){
  3732. var self=this;
  3733. return "./bin/amber\x0afs := require value: 'fs'.\x0afs readdir: '/tmp' do: [:err :file| console log: file]";
  3734. },
  3735. //>>excludeStart("ide", pragmas.excludeIdeData);
  3736. args: [],
  3737. source: "codeSnippet\x0a\x09^ \x0a'./bin/amber\x0afs := require value: ''fs''.\x0afs readdir: ''/tmp'' do: [:err :file| console log: file]'.",
  3738. referencedClasses: [],
  3739. //>>excludeEnd("ide");
  3740. messageSends: []
  3741. }),
  3742. $globals.FOSDEMREPLSlide);
  3743. $core.addMethod(
  3744. $core.method({
  3745. selector: "renderSlideOn:",
  3746. protocol: 'rendering',
  3747. fn: function (html){
  3748. var self=this;
  3749. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  3750. return $core.withContext(function($ctx1) {
  3751. //>>excludeEnd("ctx");
  3752. $recv(html)._h1_("REPL");
  3753. self._renderCodeSnippetOn_(html);
  3754. return self;
  3755. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  3756. }, function($ctx1) {$ctx1.fill(self,"renderSlideOn:",{html:html},$globals.FOSDEMREPLSlide)});
  3757. //>>excludeEnd("ctx");
  3758. },
  3759. //>>excludeStart("ide", pragmas.excludeIdeData);
  3760. args: ["html"],
  3761. source: "renderSlideOn: html\x0a\x09html h1: 'REPL'.\x0a\x09self renderCodeSnippetOn: html.",
  3762. referencedClasses: [],
  3763. //>>excludeEnd("ide");
  3764. messageSends: ["h1:", "renderCodeSnippetOn:"]
  3765. }),
  3766. $globals.FOSDEMREPLSlide);
  3767. $core.addClass('FOSDEMTwitter', $globals.FOSDEMSlide, ['twitterDiv'], 'Presentation');
  3768. $core.addMethod(
  3769. $core.method({
  3770. selector: "cssClass",
  3771. protocol: 'accessing',
  3772. fn: function (){
  3773. var self=this;
  3774. return "slide black";
  3775. },
  3776. //>>excludeStart("ide", pragmas.excludeIdeData);
  3777. args: [],
  3778. source: "cssClass\x0a\x09^ 'slide black'",
  3779. referencedClasses: [],
  3780. //>>excludeEnd("ide");
  3781. messageSends: []
  3782. }),
  3783. $globals.FOSDEMTwitter);
  3784. $core.addMethod(
  3785. $core.method({
  3786. selector: "loadTweets",
  3787. protocol: 'callback',
  3788. fn: function (){
  3789. var self=this;
  3790. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  3791. return $core.withContext(function($ctx1) {
  3792. //>>excludeEnd("ctx");
  3793. $recv(jQuery)._ajax_options_("http://search.twitter.com/search.json?rpp=3&q=%40AmberSmalltalk",$globals.HashedCollection._newFromPairs_(["type","GET","success",(function(json){
  3794. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  3795. return $core.withContext(function($ctx2) {
  3796. //>>excludeEnd("ctx");
  3797. return self._renderTweets_($recv(json)._results());
  3798. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  3799. }, function($ctx2) {$ctx2.fillBlock({json:json},$ctx1,1)});
  3800. //>>excludeEnd("ctx");
  3801. }),"dataType","jsonp"]));
  3802. return self;
  3803. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  3804. }, function($ctx1) {$ctx1.fill(self,"loadTweets",{},$globals.FOSDEMTwitter)});
  3805. //>>excludeEnd("ctx");
  3806. },
  3807. //>>excludeStart("ide", pragmas.excludeIdeData);
  3808. args: [],
  3809. source: "loadTweets\x0a\x09jQuery \x0a\x09\x09ajax: 'http://search.twitter.com/search.json?rpp=3&q=%40AmberSmalltalk'\x0a\x09\x09options: #{\x0a\x09\x09\x09\x09'type' -> 'GET'.\x0a\x09\x09\x09\x09'success' -> [ :json | self renderTweets: (json results)].\x0a\x09\x09\x09\x09'dataType' -> 'jsonp'\x0a\x09\x09\x09}.",
  3810. referencedClasses: [],
  3811. //>>excludeEnd("ide");
  3812. messageSends: ["ajax:options:", "renderTweets:", "results"]
  3813. }),
  3814. $globals.FOSDEMTwitter);
  3815. $core.addMethod(
  3816. $core.method({
  3817. selector: "renderSlideOn:",
  3818. protocol: 'rendering',
  3819. fn: function (html){
  3820. var self=this;
  3821. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  3822. return $core.withContext(function($ctx1) {
  3823. //>>excludeEnd("ctx");
  3824. var $1,$2;
  3825. $1=$recv(html)._button();
  3826. $recv($1)._onClick_((function(){
  3827. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  3828. return $core.withContext(function($ctx2) {
  3829. //>>excludeEnd("ctx");
  3830. return self._loadTweets();
  3831. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  3832. }, function($ctx2) {$ctx2.fillBlock({},$ctx1,1)});
  3833. //>>excludeEnd("ctx");
  3834. }));
  3835. $2=$recv($1)._with_("What about @AmberSmalltalk on Twitter ?");
  3836. self["@twitterDiv"]=$recv(html)._div();
  3837. return self;
  3838. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  3839. }, function($ctx1) {$ctx1.fill(self,"renderSlideOn:",{html:html},$globals.FOSDEMTwitter)});
  3840. //>>excludeEnd("ctx");
  3841. },
  3842. //>>excludeStart("ide", pragmas.excludeIdeData);
  3843. args: ["html"],
  3844. source: "renderSlideOn: html\x0a\x09html button\x0a\x09\x09onClick: [self loadTweets];\x0a\x09\x09with: 'What about @AmberSmalltalk on Twitter ?'.\x0a\x09twitterDiv := html div.",
  3845. referencedClasses: [],
  3846. //>>excludeEnd("ide");
  3847. messageSends: ["onClick:", "button", "loadTweets", "with:", "div"]
  3848. }),
  3849. $globals.FOSDEMTwitter);
  3850. $core.addMethod(
  3851. $core.method({
  3852. selector: "renderTweet:on:",
  3853. protocol: 'rendering',
  3854. fn: function (tweet,html){
  3855. var self=this;
  3856. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  3857. return $core.withContext(function($ctx1) {
  3858. //>>excludeEnd("ctx");
  3859. var $1,$3,$4,$5,$6,$2;
  3860. $1=$recv(html)._div();
  3861. $recv($1)._class_("tweet");
  3862. $2=$recv($1)._with_((function(){
  3863. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  3864. return $core.withContext(function($ctx2) {
  3865. //>>excludeEnd("ctx");
  3866. $3=$recv(tweet)._at_("created_at");
  3867. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  3868. $ctx2.sendIdx["at:"]=1;
  3869. //>>excludeEnd("ctx");
  3870. $recv(html)._span_($3);
  3871. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  3872. $ctx2.sendIdx["span:"]=1;
  3873. //>>excludeEnd("ctx");
  3874. $4=$recv(tweet)._at_("profile_image_url");
  3875. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  3876. $ctx2.sendIdx["at:"]=2;
  3877. //>>excludeEnd("ctx");
  3878. $recv(html)._img_($4);
  3879. $5=$recv(tweet)._at_("from_user");
  3880. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  3881. $ctx2.sendIdx["at:"]=3;
  3882. //>>excludeEnd("ctx");
  3883. $recv(html)._span_($5);
  3884. $6=$recv(html)._div_($recv(tweet)._at_("text"));
  3885. return $6;
  3886. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  3887. }, function($ctx2) {$ctx2.fillBlock({},$ctx1,1)});
  3888. //>>excludeEnd("ctx");
  3889. }));
  3890. return self;
  3891. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  3892. }, function($ctx1) {$ctx1.fill(self,"renderTweet:on:",{tweet:tweet,html:html},$globals.FOSDEMTwitter)});
  3893. //>>excludeEnd("ctx");
  3894. },
  3895. //>>excludeStart("ide", pragmas.excludeIdeData);
  3896. args: ["tweet", "html"],
  3897. source: "renderTweet: tweet on: html\x0a\x09html div \x0a\x09\x09class: 'tweet';\x0a\x09\x09with: [\x0a\x09\x09\x09html \x0a\x09\x09\x09\x09span: (tweet at: 'created_at');\x0a\x09\x09\x09\x09img: (tweet at: 'profile_image_url');\x0a\x09\x09\x09\x09span: (tweet at: 'from_user');\x0a\x09\x09\x09\x09div: (tweet at: 'text'). \x0a\x09\x09]",
  3898. referencedClasses: [],
  3899. //>>excludeEnd("ide");
  3900. messageSends: ["class:", "div", "with:", "span:", "at:", "img:", "div:"]
  3901. }),
  3902. $globals.FOSDEMTwitter);
  3903. $core.addMethod(
  3904. $core.method({
  3905. selector: "renderTweets:",
  3906. protocol: 'rendering',
  3907. fn: function (tweets){
  3908. var self=this;
  3909. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  3910. return $core.withContext(function($ctx1) {
  3911. //>>excludeEnd("ctx");
  3912. $recv(self["@twitterDiv"])._contents_((function(html){
  3913. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  3914. return $core.withContext(function($ctx2) {
  3915. //>>excludeEnd("ctx");
  3916. return $recv(tweets)._do_((function(tweet){
  3917. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  3918. return $core.withContext(function($ctx3) {
  3919. //>>excludeEnd("ctx");
  3920. return self._renderTweet_on_(tweet,html);
  3921. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  3922. }, function($ctx3) {$ctx3.fillBlock({tweet:tweet},$ctx2,2)});
  3923. //>>excludeEnd("ctx");
  3924. }));
  3925. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  3926. }, function($ctx2) {$ctx2.fillBlock({html:html},$ctx1,1)});
  3927. //>>excludeEnd("ctx");
  3928. }));
  3929. return self;
  3930. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  3931. }, function($ctx1) {$ctx1.fill(self,"renderTweets:",{tweets:tweets},$globals.FOSDEMTwitter)});
  3932. //>>excludeEnd("ctx");
  3933. },
  3934. //>>excludeStart("ide", pragmas.excludeIdeData);
  3935. args: ["tweets"],
  3936. source: "renderTweets: tweets\x0a\x09twitterDiv contents: [\x09:html|\x0a\x09\x09\x09\x09\x09\x09tweets do: [\x09:tweet| \x0a\x09\x09\x09\x09\x09\x09\x09\x09\x09self renderTweet: tweet on: html] ]",
  3937. referencedClasses: [],
  3938. //>>excludeEnd("ide");
  3939. messageSends: ["contents:", "do:", "renderTweet:on:"]
  3940. }),
  3941. $globals.FOSDEMTwitter);
  3942. $core.addClass('IDESlide', $globals.Slide, [], 'Presentation');
  3943. $core.addMethod(
  3944. $core.method({
  3945. selector: "backgroundColor",
  3946. protocol: 'accessing',
  3947. fn: function (){
  3948. var self=this;
  3949. return "black";
  3950. },
  3951. //>>excludeStart("ide", pragmas.excludeIdeData);
  3952. args: [],
  3953. source: "backgroundColor\x0a\x09^'black'",
  3954. referencedClasses: [],
  3955. //>>excludeEnd("ide");
  3956. messageSends: []
  3957. }),
  3958. $globals.IDESlide);
  3959. $core.addMethod(
  3960. $core.method({
  3961. selector: "cssClass",
  3962. protocol: 'accessing',
  3963. fn: function (){
  3964. var self=this;
  3965. return "slide transparent";
  3966. },
  3967. //>>excludeStart("ide", pragmas.excludeIdeData);
  3968. args: [],
  3969. source: "cssClass\x0a\x09^'slide transparent'",
  3970. referencedClasses: [],
  3971. //>>excludeEnd("ide");
  3972. messageSends: []
  3973. }),
  3974. $globals.IDESlide);
  3975. $core.addMethod(
  3976. $core.method({
  3977. selector: "id",
  3978. protocol: 'accessing',
  3979. fn: function (){
  3980. var self=this;
  3981. return "ide";
  3982. },
  3983. //>>excludeStart("ide", pragmas.excludeIdeData);
  3984. args: [],
  3985. source: "id\x0a\x09^'ide'",
  3986. referencedClasses: [],
  3987. //>>excludeEnd("ide");
  3988. messageSends: []
  3989. }),
  3990. $globals.IDESlide);
  3991. $core.addMethod(
  3992. $core.method({
  3993. selector: "renderSlideOn:",
  3994. protocol: 'rendering',
  3995. fn: function (html){
  3996. var self=this;
  3997. return self;
  3998. },
  3999. //>>excludeStart("ide", pragmas.excludeIdeData);
  4000. args: ["html"],
  4001. source: "renderSlideOn: html\x0a\x22\x09html div class: 'section center'; with: [\x0a\x09\x09html h1 \x0a\x09\x09\x09with: 'The wonderful Jtalk ';\x0a\x09\x09\x09with: [\x0a\x09\x09\x09\x09html a \x0a\x09\x09\x09\x09\x09with: 'development tools';\x0a\x09\x09\x09\x09\x09onClick: [TabManager current open]];\x0a\x09\x09\x09with: '.']\x0a\x22",
  4002. referencedClasses: [],
  4003. //>>excludeEnd("ide");
  4004. messageSends: []
  4005. }),
  4006. $globals.IDESlide);
  4007. $core.addClass('IntroSlide', $globals.Slide, [], 'Presentation');
  4008. $core.addMethod(
  4009. $core.method({
  4010. selector: "cssClass",
  4011. protocol: 'accessing',
  4012. fn: function (){
  4013. var self=this;
  4014. return "slide black";
  4015. },
  4016. //>>excludeStart("ide", pragmas.excludeIdeData);
  4017. args: [],
  4018. source: "cssClass\x0a\x09^'slide black'",
  4019. referencedClasses: [],
  4020. //>>excludeEnd("ide");
  4021. messageSends: []
  4022. }),
  4023. $globals.IntroSlide);
  4024. $core.addMethod(
  4025. $core.method({
  4026. selector: "id",
  4027. protocol: 'accessing',
  4028. fn: function (){
  4029. var self=this;
  4030. return "intro";
  4031. },
  4032. //>>excludeStart("ide", pragmas.excludeIdeData);
  4033. args: [],
  4034. source: "id\x0a\x09^'intro'",
  4035. referencedClasses: [],
  4036. //>>excludeEnd("ide");
  4037. messageSends: []
  4038. }),
  4039. $globals.IntroSlide);
  4040. $core.addMethod(
  4041. $core.method({
  4042. selector: "renderSlideOn:",
  4043. protocol: 'rendering',
  4044. fn: function (html){
  4045. var self=this;
  4046. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4047. return $core.withContext(function($ctx1) {
  4048. //>>excludeEnd("ctx");
  4049. var $1,$3,$7,$6,$5,$9,$8,$4,$10,$11,$12,$14,$13,$15,$16,$17,$18,$19,$20,$2;
  4050. $1=$recv(html)._div();
  4051. $recv($1)._class_("section center");
  4052. $2=$recv($1)._with_((function(){
  4053. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4054. return $core.withContext(function($ctx2) {
  4055. //>>excludeEnd("ctx");
  4056. $recv($recv(html)._h1())._with_("Jtalk, the Smalltalk for Web developers");
  4057. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4058. $ctx2.sendIdx["with:"]=2;
  4059. //>>excludeEnd("ctx");
  4060. $3=$recv(html)._p();
  4061. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4062. $ctx2.sendIdx["p"]=1;
  4063. //>>excludeEnd("ctx");
  4064. $7=self._presentation();
  4065. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4066. $ctx2.sendIdx["presentation"]=1;
  4067. //>>excludeEnd("ctx");
  4068. $6=$recv($7)._author();
  4069. $5=$recv($6).__comma(" & Göran Krampe - ");
  4070. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4071. $ctx2.sendIdx[","]=2;
  4072. //>>excludeEnd("ctx");
  4073. $9=self._presentation();
  4074. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4075. $ctx2.sendIdx["presentation"]=2;
  4076. //>>excludeEnd("ctx");
  4077. $8=$recv($9)._description();
  4078. $4=$recv($5).__comma($8);
  4079. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4080. $ctx2.sendIdx[","]=1;
  4081. //>>excludeEnd("ctx");
  4082. $recv($3)._with_($4);
  4083. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4084. $ctx2.sendIdx["with:"]=3;
  4085. //>>excludeEnd("ctx");
  4086. $10=$recv(html)._p();
  4087. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4088. $ctx2.sendIdx["p"]=2;
  4089. //>>excludeEnd("ctx");
  4090. $recv($10)._with_((function(){
  4091. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4092. return $core.withContext(function($ctx3) {
  4093. //>>excludeEnd("ctx");
  4094. $11=$recv(html)._a();
  4095. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4096. $ctx3.sendIdx["a"]=1;
  4097. //>>excludeEnd("ctx");
  4098. $12=$11;
  4099. $14=self._presentation();
  4100. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4101. $ctx3.sendIdx["presentation"]=3;
  4102. //>>excludeEnd("ctx");
  4103. $13=$recv($14)._email();
  4104. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4105. $ctx3.sendIdx["email"]=1;
  4106. //>>excludeEnd("ctx");
  4107. $recv($12)._with_($13);
  4108. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4109. $ctx3.sendIdx["with:"]=5;
  4110. //>>excludeEnd("ctx");
  4111. $15=$recv($11)._href_("mailto:".__comma($recv(self._presentation())._email()));
  4112. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4113. $ctx3.sendIdx["href:"]=1;
  4114. //>>excludeEnd("ctx");
  4115. return $15;
  4116. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4117. }, function($ctx3) {$ctx3.fillBlock({},$ctx2,2)});
  4118. //>>excludeEnd("ctx");
  4119. }));
  4120. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4121. $ctx2.sendIdx["with:"]=4;
  4122. //>>excludeEnd("ctx");
  4123. $16=$recv(html)._p();
  4124. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4125. $ctx2.sendIdx["p"]=3;
  4126. //>>excludeEnd("ctx");
  4127. $recv($16)._with_((function(){
  4128. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4129. return $core.withContext(function($ctx3) {
  4130. //>>excludeEnd("ctx");
  4131. $17=$recv(html)._a();
  4132. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4133. $ctx3.sendIdx["a"]=2;
  4134. //>>excludeEnd("ctx");
  4135. $recv($17)._with_("goran@krampe.se");
  4136. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4137. $ctx3.sendIdx["with:"]=7;
  4138. //>>excludeEnd("ctx");
  4139. $18=$recv($17)._href_("mailto:goran@krampe.se");
  4140. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4141. $ctx3.sendIdx["href:"]=2;
  4142. //>>excludeEnd("ctx");
  4143. return $18;
  4144. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4145. }, function($ctx3) {$ctx3.fillBlock({},$ctx2,3)});
  4146. //>>excludeEnd("ctx");
  4147. }));
  4148. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4149. $ctx2.sendIdx["with:"]=6;
  4150. //>>excludeEnd("ctx");
  4151. return $recv($recv(html)._p())._with_((function(){
  4152. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4153. return $core.withContext(function($ctx3) {
  4154. //>>excludeEnd("ctx");
  4155. $19=$recv(html)._a();
  4156. $recv($19)._with_("objectfusion.fr");
  4157. $20=$recv($19)._href_("http://www.objectfusion.fr");
  4158. return $20;
  4159. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4160. }, function($ctx3) {$ctx3.fillBlock({},$ctx2,4)});
  4161. //>>excludeEnd("ctx");
  4162. }));
  4163. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4164. $ctx2.sendIdx["with:"]=8;
  4165. //>>excludeEnd("ctx");
  4166. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4167. }, function($ctx2) {$ctx2.fillBlock({},$ctx1,1)});
  4168. //>>excludeEnd("ctx");
  4169. }));
  4170. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4171. $ctx1.sendIdx["with:"]=1;
  4172. //>>excludeEnd("ctx");
  4173. return self;
  4174. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4175. }, function($ctx1) {$ctx1.fill(self,"renderSlideOn:",{html:html},$globals.IntroSlide)});
  4176. //>>excludeEnd("ctx");
  4177. },
  4178. //>>excludeStart("ide", pragmas.excludeIdeData);
  4179. args: ["html"],
  4180. source: "renderSlideOn: html\x0a\x09html div class: 'section center'; with: [\x0a\x09\x09html h1 with: 'Jtalk, the Smalltalk for Web developers'.\x0a\x09\x09html p with: self presentation author, ' & Göran Krampe - ', self presentation description.\x0a\x09\x09html p with: [\x0a\x09\x09\x09html a\x0a\x09\x09\x09\x09with: self presentation email;\x0a\x09\x09\x09\x09href: 'mailto:', self presentation email].\x0a\x09\x09html p with: [\x0a\x09\x09\x09html a\x0a\x09\x09\x09\x09with: 'goran@krampe.se';\x0a\x09\x09\x09\x09href: 'mailto:goran@krampe.se'].\x0a\x09\x09\x0a \x09html p with: [\x0a\x09\x09\x09html a\x0a\x09\x09\x09\x09with: 'objectfusion.fr';\x0a\x09\x09\x09\x09href: 'http://www.objectfusion.fr']]",
  4181. referencedClasses: [],
  4182. //>>excludeEnd("ide");
  4183. messageSends: ["class:", "div", "with:", "h1", "p", ",", "author", "presentation", "description", "a", "email", "href:"]
  4184. }),
  4185. $globals.IntroSlide);
  4186. $core.addClass('JtalkAndCLI', $globals.Slide, [], 'Presentation');
  4187. $core.addMethod(
  4188. $core.method({
  4189. selector: "backgroundColor",
  4190. protocol: 'not yet classified',
  4191. fn: function (){
  4192. var self=this;
  4193. return "#0A1";
  4194. },
  4195. //>>excludeStart("ide", pragmas.excludeIdeData);
  4196. args: [],
  4197. source: "backgroundColor\x0a\x09^'#0A1'",
  4198. referencedClasses: [],
  4199. //>>excludeEnd("ide");
  4200. messageSends: []
  4201. }),
  4202. $globals.JtalkAndCLI);
  4203. $core.addMethod(
  4204. $core.method({
  4205. selector: "id",
  4206. protocol: 'not yet classified',
  4207. fn: function (){
  4208. var self=this;
  4209. return "JtalkAndCLI";
  4210. },
  4211. //>>excludeStart("ide", pragmas.excludeIdeData);
  4212. args: [],
  4213. source: "id\x0a\x09^'JtalkAndCLI'",
  4214. referencedClasses: [],
  4215. //>>excludeEnd("ide");
  4216. messageSends: []
  4217. }),
  4218. $globals.JtalkAndCLI);
  4219. $core.addMethod(
  4220. $core.method({
  4221. selector: "renderSlideOn:",
  4222. protocol: 'not yet classified',
  4223. fn: function (html){
  4224. var self=this;
  4225. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4226. return $core.withContext(function($ctx1) {
  4227. //>>excludeEnd("ctx");
  4228. var $1,$2,$3,$4,$5,$6;
  4229. $recv($recv(html)._h1())._with_((function(){
  4230. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4231. return $core.withContext(function($ctx2) {
  4232. //>>excludeEnd("ctx");
  4233. $recv(html)._with_("Jtalk and ");
  4234. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4235. $ctx2.sendIdx["with:"]=2;
  4236. //>>excludeEnd("ctx");
  4237. $1=$recv(html)._span();
  4238. $recv($1)._class_("blue");
  4239. $2=$recv($1)._with_("the command line");
  4240. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4241. $ctx2.sendIdx["with:"]=3;
  4242. //>>excludeEnd("ctx");
  4243. return $2;
  4244. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4245. }, function($ctx2) {$ctx2.fillBlock({},$ctx1,1)});
  4246. //>>excludeEnd("ctx");
  4247. }));
  4248. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4249. $ctx1.sendIdx["with:"]=1;
  4250. //>>excludeEnd("ctx");
  4251. $recv($recv(html)._h2())._with_("jtalkc - a fairly elaborate bash script that:");
  4252. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4253. $ctx1.sendIdx["with:"]=4;
  4254. //>>excludeEnd("ctx");
  4255. $recv($recv(html)._ul())._with_((function(){
  4256. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4257. return $core.withContext(function($ctx2) {
  4258. //>>excludeEnd("ctx");
  4259. $3=$recv(html)._li();
  4260. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4261. $ctx2.sendIdx["li"]=1;
  4262. //>>excludeEnd("ctx");
  4263. $recv($3)._with_("Uses Node.js to run the Jtalk Compiler");
  4264. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4265. $ctx2.sendIdx["with:"]=6;
  4266. //>>excludeEnd("ctx");
  4267. $4=$recv(html)._li();
  4268. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4269. $ctx2.sendIdx["li"]=2;
  4270. //>>excludeEnd("ctx");
  4271. $recv($4)._with_("Compiles .st files to .js");
  4272. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4273. $ctx2.sendIdx["with:"]=7;
  4274. //>>excludeEnd("ctx");
  4275. $5=$recv(html)._li();
  4276. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4277. $ctx2.sendIdx["li"]=3;
  4278. //>>excludeEnd("ctx");
  4279. $recv($5)._with_("Links .js files into a single one");
  4280. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4281. $ctx2.sendIdx["with:"]=8;
  4282. //>>excludeEnd("ctx");
  4283. $6=$recv(html)._li();
  4284. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4285. $ctx2.sendIdx["li"]=4;
  4286. //>>excludeEnd("ctx");
  4287. $recv($6)._with_("Adds class initilization and/or call to main");
  4288. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4289. $ctx2.sendIdx["with:"]=9;
  4290. //>>excludeEnd("ctx");
  4291. return $recv($recv(html)._li())._with_("Optionally runs Google Closure compiler");
  4292. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4293. }, function($ctx2) {$ctx2.fillBlock({},$ctx1,2)});
  4294. //>>excludeEnd("ctx");
  4295. }));
  4296. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4297. $ctx1.sendIdx["with:"]=5;
  4298. //>>excludeEnd("ctx");
  4299. return self;
  4300. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4301. }, function($ctx1) {$ctx1.fill(self,"renderSlideOn:",{html:html},$globals.JtalkAndCLI)});
  4302. //>>excludeEnd("ctx");
  4303. },
  4304. //>>excludeStart("ide", pragmas.excludeIdeData);
  4305. args: ["html"],
  4306. source: "renderSlideOn: html\x0a\x09html h1 with: [\x0a\x09\x09html with: 'Jtalk and '.\x0a\x09\x09html span class: 'blue'; with: 'the command line'].\x0a\x0a\x09html h2 with: 'jtalkc - a fairly elaborate bash script that:'.\x0a\x0a\x09html ul with: [\x0a\x09\x09html li with: 'Uses Node.js to run the Jtalk Compiler'.\x0a\x09\x09html li with: 'Compiles .st files to .js'.\x0a\x09\x09html li with: 'Links .js files into a single one'.\x0a\x09\x09html li with: 'Adds class initilization and/or call to main'.\x0a\x09\x09html li with: 'Optionally runs Google Closure compiler']",
  4307. referencedClasses: [],
  4308. //>>excludeEnd("ide");
  4309. messageSends: ["with:", "h1", "class:", "span", "h2", "ul", "li"]
  4310. }),
  4311. $globals.JtalkAndCLI);
  4312. $core.addClass('JtalkAndEnyo', $globals.Slide, [], 'Presentation');
  4313. $core.addMethod(
  4314. $core.method({
  4315. selector: "backgroundColor",
  4316. protocol: 'not yet classified',
  4317. fn: function (){
  4318. var self=this;
  4319. return "#0A1";
  4320. },
  4321. //>>excludeStart("ide", pragmas.excludeIdeData);
  4322. args: [],
  4323. source: "backgroundColor\x0a\x09^'#0A1'",
  4324. referencedClasses: [],
  4325. //>>excludeEnd("ide");
  4326. messageSends: []
  4327. }),
  4328. $globals.JtalkAndEnyo);
  4329. $core.addMethod(
  4330. $core.method({
  4331. selector: "id",
  4332. protocol: 'not yet classified',
  4333. fn: function (){
  4334. var self=this;
  4335. return "JtalkAndEnyo";
  4336. },
  4337. //>>excludeStart("ide", pragmas.excludeIdeData);
  4338. args: [],
  4339. source: "id\x0a\x09^'JtalkAndEnyo'",
  4340. referencedClasses: [],
  4341. //>>excludeEnd("ide");
  4342. messageSends: []
  4343. }),
  4344. $globals.JtalkAndEnyo);
  4345. $core.addMethod(
  4346. $core.method({
  4347. selector: "renderSlideOn:",
  4348. protocol: 'not yet classified',
  4349. fn: function (html){
  4350. var self=this;
  4351. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4352. return $core.withContext(function($ctx1) {
  4353. //>>excludeEnd("ctx");
  4354. var $1,$2;
  4355. $recv($recv(html)._h1())._with_((function(){
  4356. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4357. return $core.withContext(function($ctx2) {
  4358. //>>excludeEnd("ctx");
  4359. $recv(html)._with_("Jtalk and ");
  4360. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4361. $ctx2.sendIdx["with:"]=2;
  4362. //>>excludeEnd("ctx");
  4363. $1=$recv(html)._span();
  4364. $recv($1)._class_("blue");
  4365. $2=$recv($1)._with_("Enyo");
  4366. return $2;
  4367. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4368. }, function($ctx2) {$ctx2.fillBlock({},$ctx1,1)});
  4369. //>>excludeEnd("ctx");
  4370. }));
  4371. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4372. $ctx1.sendIdx["with:"]=1;
  4373. //>>excludeEnd("ctx");
  4374. return self;
  4375. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4376. }, function($ctx1) {$ctx1.fill(self,"renderSlideOn:",{html:html},$globals.JtalkAndEnyo)});
  4377. //>>excludeEnd("ctx");
  4378. },
  4379. //>>excludeStart("ide", pragmas.excludeIdeData);
  4380. args: ["html"],
  4381. source: "renderSlideOn: html\x0a\x09html h1 with: [\x0a\x09\x09html with: 'Jtalk and '.\x0a\x09\x09html span class: 'blue'; with: 'Enyo'].",
  4382. referencedClasses: [],
  4383. //>>excludeEnd("ide");
  4384. messageSends: ["with:", "h1", "class:", "span"]
  4385. }),
  4386. $globals.JtalkAndEnyo);
  4387. $core.addClass('JtalkAndJavascriptSlide', $globals.Slide, [], 'Presentation');
  4388. $core.addMethod(
  4389. $core.method({
  4390. selector: "backgroundColor",
  4391. protocol: 'accessing',
  4392. fn: function (){
  4393. var self=this;
  4394. return "#08C";
  4395. },
  4396. //>>excludeStart("ide", pragmas.excludeIdeData);
  4397. args: [],
  4398. source: "backgroundColor\x0a\x09^'#08C'",
  4399. referencedClasses: [],
  4400. //>>excludeEnd("ide");
  4401. messageSends: []
  4402. }),
  4403. $globals.JtalkAndJavascriptSlide);
  4404. $core.addMethod(
  4405. $core.method({
  4406. selector: "cssClass",
  4407. protocol: 'accessing',
  4408. fn: function (){
  4409. var self=this;
  4410. return "slide transparent";
  4411. },
  4412. //>>excludeStart("ide", pragmas.excludeIdeData);
  4413. args: [],
  4414. source: "cssClass\x0a\x09^'slide transparent'",
  4415. referencedClasses: [],
  4416. //>>excludeEnd("ide");
  4417. messageSends: []
  4418. }),
  4419. $globals.JtalkAndJavascriptSlide);
  4420. $core.addMethod(
  4421. $core.method({
  4422. selector: "id",
  4423. protocol: 'accessing',
  4424. fn: function (){
  4425. var self=this;
  4426. return "jtalkAndJs";
  4427. },
  4428. //>>excludeStart("ide", pragmas.excludeIdeData);
  4429. args: [],
  4430. source: "id\x0a\x09^'jtalkAndJs'",
  4431. referencedClasses: [],
  4432. //>>excludeEnd("ide");
  4433. messageSends: []
  4434. }),
  4435. $globals.JtalkAndJavascriptSlide);
  4436. $core.addMethod(
  4437. $core.method({
  4438. selector: "renderSlideOn:",
  4439. protocol: 'rendering',
  4440. fn: function (html){
  4441. var self=this;
  4442. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4443. return $core.withContext(function($ctx1) {
  4444. //>>excludeEnd("ctx");
  4445. var $1,$3,$4,$2;
  4446. $1=$recv(html)._div();
  4447. $recv($1)._class_("section center");
  4448. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4449. $ctx1.sendIdx["class:"]=1;
  4450. //>>excludeEnd("ctx");
  4451. $2=$recv($1)._with_((function(){
  4452. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4453. return $core.withContext(function($ctx2) {
  4454. //>>excludeEnd("ctx");
  4455. return $recv($recv(html)._h1())._with_((function(){
  4456. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4457. return $core.withContext(function($ctx3) {
  4458. //>>excludeEnd("ctx");
  4459. $recv(html)._with_("Smalltalk ");
  4460. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4461. $ctx3.sendIdx["with:"]=3;
  4462. //>>excludeEnd("ctx");
  4463. $3=$recv(html)._span();
  4464. $recv($3)._class_("red");
  4465. $4=$recv($3)._with_("♥");
  4466. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4467. $ctx3.sendIdx["with:"]=4;
  4468. //>>excludeEnd("ctx");
  4469. $4;
  4470. return $recv(html)._with_(" JavaScript");
  4471. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4472. }, function($ctx3) {$ctx3.fillBlock({},$ctx2,2)});
  4473. //>>excludeEnd("ctx");
  4474. }));
  4475. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4476. $ctx2.sendIdx["with:"]=2;
  4477. //>>excludeEnd("ctx");
  4478. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4479. }, function($ctx2) {$ctx2.fillBlock({},$ctx1,1)});
  4480. //>>excludeEnd("ctx");
  4481. }));
  4482. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4483. $ctx1.sendIdx["with:"]=1;
  4484. //>>excludeEnd("ctx");
  4485. return self;
  4486. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4487. }, function($ctx1) {$ctx1.fill(self,"renderSlideOn:",{html:html},$globals.JtalkAndJavascriptSlide)});
  4488. //>>excludeEnd("ctx");
  4489. },
  4490. //>>excludeStart("ide", pragmas.excludeIdeData);
  4491. args: ["html"],
  4492. source: "renderSlideOn: html\x0a\x09html div class: 'section center'; with: [\x0a\x09\x09html h1 with: [\x0a\x09\x09\x09html with: 'Smalltalk '.\x0a\x09\x09\x09html span class: 'red'; with: '♥'.\x0a\x09\x09\x09html with: ' JavaScript']]",
  4493. referencedClasses: [],
  4494. //>>excludeEnd("ide");
  4495. messageSends: ["class:", "div", "with:", "h1", "span"]
  4496. }),
  4497. $globals.JtalkAndJavascriptSlide);
  4498. $core.addClass('JtalkAndJavascriptSlide2', $globals.Slide, [], 'Presentation');
  4499. $core.addMethod(
  4500. $core.method({
  4501. selector: "backgroundColor",
  4502. protocol: 'accessing',
  4503. fn: function (){
  4504. var self=this;
  4505. return "#08C";
  4506. },
  4507. //>>excludeStart("ide", pragmas.excludeIdeData);
  4508. args: [],
  4509. source: "backgroundColor\x0a\x09^'#08C'",
  4510. referencedClasses: [],
  4511. //>>excludeEnd("ide");
  4512. messageSends: []
  4513. }),
  4514. $globals.JtalkAndJavascriptSlide2);
  4515. $core.addMethod(
  4516. $core.method({
  4517. selector: "id",
  4518. protocol: 'accessing',
  4519. fn: function (){
  4520. var self=this;
  4521. return "jtalkAndJs2";
  4522. },
  4523. //>>excludeStart("ide", pragmas.excludeIdeData);
  4524. args: [],
  4525. source: "id\x0a\x09^'jtalkAndJs2'",
  4526. referencedClasses: [],
  4527. //>>excludeEnd("ide");
  4528. messageSends: []
  4529. }),
  4530. $globals.JtalkAndJavascriptSlide2);
  4531. $core.addMethod(
  4532. $core.method({
  4533. selector: "renderSlideOn:",
  4534. protocol: 'rendering',
  4535. fn: function (html){
  4536. var self=this;
  4537. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4538. return $core.withContext(function($ctx1) {
  4539. //>>excludeEnd("ctx");
  4540. var $1,$2,$3,$4,$5,$6,$7;
  4541. $recv($recv(html)._h1())._with_((function(){
  4542. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4543. return $core.withContext(function($ctx2) {
  4544. //>>excludeEnd("ctx");
  4545. $recv(html)._with_("Smalltalk ");
  4546. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4547. $ctx2.sendIdx["with:"]=2;
  4548. //>>excludeEnd("ctx");
  4549. $1=$recv(html)._span();
  4550. $recv($1)._class_("red");
  4551. $2=$recv($1)._with_("♥");
  4552. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4553. $ctx2.sendIdx["with:"]=3;
  4554. //>>excludeEnd("ctx");
  4555. $2;
  4556. return $recv(html)._with_(" JavaScript");
  4557. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4558. $ctx2.sendIdx["with:"]=4;
  4559. //>>excludeEnd("ctx");
  4560. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4561. }, function($ctx2) {$ctx2.fillBlock({},$ctx1,1)});
  4562. //>>excludeEnd("ctx");
  4563. }));
  4564. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4565. $ctx1.sendIdx["with:"]=1;
  4566. //>>excludeEnd("ctx");
  4567. $recv($recv(html)._h2())._with_("Jtalk maps one to one with the JavaScript equivalent:");
  4568. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4569. $ctx1.sendIdx["with:"]=5;
  4570. //>>excludeEnd("ctx");
  4571. $recv($recv(html)._ul())._with_((function(){
  4572. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4573. return $core.withContext(function($ctx2) {
  4574. //>>excludeEnd("ctx");
  4575. $3=$recv(html)._li();
  4576. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4577. $ctx2.sendIdx["li"]=1;
  4578. //>>excludeEnd("ctx");
  4579. $recv($3)._with_("String ⇔ String");
  4580. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4581. $ctx2.sendIdx["with:"]=7;
  4582. //>>excludeEnd("ctx");
  4583. $4=$recv(html)._li();
  4584. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4585. $ctx2.sendIdx["li"]=2;
  4586. //>>excludeEnd("ctx");
  4587. $recv($4)._with_("Number ⇔ Number");
  4588. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4589. $ctx2.sendIdx["with:"]=8;
  4590. //>>excludeEnd("ctx");
  4591. $5=$recv(html)._li();
  4592. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4593. $ctx2.sendIdx["li"]=3;
  4594. //>>excludeEnd("ctx");
  4595. $recv($5)._with_("BlockClosure ⇔ function");
  4596. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4597. $ctx2.sendIdx["with:"]=9;
  4598. //>>excludeEnd("ctx");
  4599. $6=$recv(html)._li();
  4600. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4601. $ctx2.sendIdx["li"]=4;
  4602. //>>excludeEnd("ctx");
  4603. $recv($6)._with_("Dictionary ⇔ Object");
  4604. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4605. $ctx2.sendIdx["with:"]=10;
  4606. //>>excludeEnd("ctx");
  4607. $7=$recv(html)._li();
  4608. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4609. $ctx2.sendIdx["li"]=5;
  4610. //>>excludeEnd("ctx");
  4611. $recv($7)._with_("Error ⇔ Error");
  4612. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4613. $ctx2.sendIdx["with:"]=11;
  4614. //>>excludeEnd("ctx");
  4615. return $recv($recv(html)._li())._with_("etc.");
  4616. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4617. }, function($ctx2) {$ctx2.fillBlock({},$ctx1,2)});
  4618. //>>excludeEnd("ctx");
  4619. }));
  4620. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4621. $ctx1.sendIdx["with:"]=6;
  4622. //>>excludeEnd("ctx");
  4623. return self;
  4624. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4625. }, function($ctx1) {$ctx1.fill(self,"renderSlideOn:",{html:html},$globals.JtalkAndJavascriptSlide2)});
  4626. //>>excludeEnd("ctx");
  4627. },
  4628. //>>excludeStart("ide", pragmas.excludeIdeData);
  4629. args: ["html"],
  4630. source: "renderSlideOn: html\x0a\x09html h1 with: [\x0a\x09\x09html with: 'Smalltalk '.\x0a\x09\x09html span class: 'red'; with: '♥'.\x0a\x09\x09html with: ' JavaScript'].\x0a\x09html h2 with: 'Jtalk maps one to one with the JavaScript equivalent:'.\x0a\x09html ul with: [\x0a\x09\x09html li with: 'String ⇔ String'.\x0a\x09\x09html li with: 'Number ⇔ Number'.\x0a\x09\x09html li with: 'BlockClosure ⇔ function'.\x0a\x09\x09html li with: 'Dictionary ⇔ Object'.\x0a\x09\x09html li with: 'Error ⇔ Error'.\x0a\x09\x09html li with: 'etc.']",
  4631. referencedClasses: [],
  4632. //>>excludeEnd("ide");
  4633. messageSends: ["with:", "h1", "class:", "span", "h2", "ul", "li"]
  4634. }),
  4635. $globals.JtalkAndJavascriptSlide2);
  4636. $core.addClass('JtalkAndJavascriptSlide3', $globals.Slide, [], 'Presentation');
  4637. $core.addMethod(
  4638. $core.method({
  4639. selector: "backgroundColor",
  4640. protocol: 'accessing',
  4641. fn: function (){
  4642. var self=this;
  4643. return "#08C";
  4644. },
  4645. //>>excludeStart("ide", pragmas.excludeIdeData);
  4646. args: [],
  4647. source: "backgroundColor\x0a\x09^'#08C'",
  4648. referencedClasses: [],
  4649. //>>excludeEnd("ide");
  4650. messageSends: []
  4651. }),
  4652. $globals.JtalkAndJavascriptSlide3);
  4653. $core.addMethod(
  4654. $core.method({
  4655. selector: "id",
  4656. protocol: 'accessing',
  4657. fn: function (){
  4658. var self=this;
  4659. return "jtalkAndJs3";
  4660. },
  4661. //>>excludeStart("ide", pragmas.excludeIdeData);
  4662. args: [],
  4663. source: "id\x0a\x09^'jtalkAndJs3'",
  4664. referencedClasses: [],
  4665. //>>excludeEnd("ide");
  4666. messageSends: []
  4667. }),
  4668. $globals.JtalkAndJavascriptSlide3);
  4669. $core.addMethod(
  4670. $core.method({
  4671. selector: "renderSlideOn:",
  4672. protocol: 'rendering',
  4673. fn: function (html){
  4674. var self=this;
  4675. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4676. return $core.withContext(function($ctx1) {
  4677. //>>excludeEnd("ctx");
  4678. var $1,$2,$3,$4,$6,$5,$7,$8,$10,$9,$11,$12,$13;
  4679. $recv($recv(html)._h1())._with_((function(){
  4680. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4681. return $core.withContext(function($ctx2) {
  4682. //>>excludeEnd("ctx");
  4683. $recv(html)._with_("Smalltalk ");
  4684. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4685. $ctx2.sendIdx["with:"]=2;
  4686. //>>excludeEnd("ctx");
  4687. $1=$recv(html)._span();
  4688. $recv($1)._class_("red");
  4689. $2=$recv($1)._with_("♥");
  4690. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4691. $ctx2.sendIdx["with:"]=3;
  4692. //>>excludeEnd("ctx");
  4693. $2;
  4694. return $recv(html)._with_(" JavaScript");
  4695. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4696. $ctx2.sendIdx["with:"]=4;
  4697. //>>excludeEnd("ctx");
  4698. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4699. }, function($ctx2) {$ctx2.fillBlock({},$ctx1,1)});
  4700. //>>excludeEnd("ctx");
  4701. }));
  4702. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4703. $ctx1.sendIdx["with:"]=1;
  4704. //>>excludeEnd("ctx");
  4705. $recv($recv(html)._h2())._with_("Smalltalk ⇒ JavaScript");
  4706. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4707. $ctx1.sendIdx["with:"]=5;
  4708. //>>excludeEnd("ctx");
  4709. $recv($recv(html)._ol())._with_((function(){
  4710. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4711. return $core.withContext(function($ctx2) {
  4712. //>>excludeEnd("ctx");
  4713. $3=$recv(html)._li();
  4714. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4715. $ctx2.sendIdx["li"]=1;
  4716. //>>excludeEnd("ctx");
  4717. $recv($3)._with_("Unary messages begin with an underscore: ");
  4718. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4719. $ctx2.sendIdx["with:"]=7;
  4720. //>>excludeEnd("ctx");
  4721. $recv($3)._with_((function(){
  4722. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4723. return $core.withContext(function($ctx3) {
  4724. //>>excludeEnd("ctx");
  4725. $4=$recv(html)._code();
  4726. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4727. $ctx3.sendIdx["code"]=1;
  4728. //>>excludeEnd("ctx");
  4729. return $recv($4)._with_("yourself");
  4730. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4731. $ctx3.sendIdx["with:"]=9;
  4732. //>>excludeEnd("ctx");
  4733. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4734. }, function($ctx3) {$ctx3.fillBlock({},$ctx2,3)});
  4735. //>>excludeEnd("ctx");
  4736. }));
  4737. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4738. $ctx2.sendIdx["with:"]=8;
  4739. //>>excludeEnd("ctx");
  4740. $recv($3)._with_(" becomes ");
  4741. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4742. $ctx2.sendIdx["with:"]=10;
  4743. //>>excludeEnd("ctx");
  4744. $5=$recv($3)._with_((function(){
  4745. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4746. return $core.withContext(function($ctx3) {
  4747. //>>excludeEnd("ctx");
  4748. $6=$recv(html)._code();
  4749. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4750. $ctx3.sendIdx["code"]=2;
  4751. //>>excludeEnd("ctx");
  4752. return $recv($6)._with_("_yourself()");
  4753. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4754. $ctx3.sendIdx["with:"]=12;
  4755. //>>excludeEnd("ctx");
  4756. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4757. }, function($ctx3) {$ctx3.fillBlock({},$ctx2,4)});
  4758. //>>excludeEnd("ctx");
  4759. }));
  4760. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4761. $ctx2.sendIdx["with:"]=11;
  4762. //>>excludeEnd("ctx");
  4763. $5;
  4764. $7=$recv(html)._li();
  4765. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4766. $ctx2.sendIdx["li"]=2;
  4767. //>>excludeEnd("ctx");
  4768. $recv($7)._with_("Binary messages are prefixed with 2 underscores: ");
  4769. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4770. $ctx2.sendIdx["with:"]=13;
  4771. //>>excludeEnd("ctx");
  4772. $recv($7)._with_((function(){
  4773. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4774. return $core.withContext(function($ctx3) {
  4775. //>>excludeEnd("ctx");
  4776. $8=$recv(html)._code();
  4777. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4778. $ctx3.sendIdx["code"]=3;
  4779. //>>excludeEnd("ctx");
  4780. return $recv($8)._with_("3@4");
  4781. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4782. $ctx3.sendIdx["with:"]=15;
  4783. //>>excludeEnd("ctx");
  4784. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4785. }, function($ctx3) {$ctx3.fillBlock({},$ctx2,5)});
  4786. //>>excludeEnd("ctx");
  4787. }));
  4788. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4789. $ctx2.sendIdx["with:"]=14;
  4790. //>>excludeEnd("ctx");
  4791. $recv($7)._with_(" becomes ");
  4792. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4793. $ctx2.sendIdx["with:"]=16;
  4794. //>>excludeEnd("ctx");
  4795. $9=$recv($7)._with_((function(){
  4796. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4797. return $core.withContext(function($ctx3) {
  4798. //>>excludeEnd("ctx");
  4799. $10=$recv(html)._code();
  4800. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4801. $ctx3.sendIdx["code"]=4;
  4802. //>>excludeEnd("ctx");
  4803. return $recv($10)._with_("(3).__at(4)");
  4804. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4805. $ctx3.sendIdx["with:"]=18;
  4806. //>>excludeEnd("ctx");
  4807. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4808. }, function($ctx3) {$ctx3.fillBlock({},$ctx2,6)});
  4809. //>>excludeEnd("ctx");
  4810. }));
  4811. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4812. $ctx2.sendIdx["with:"]=17;
  4813. //>>excludeEnd("ctx");
  4814. $9;
  4815. $11=$recv(html)._li();
  4816. $recv($11)._with_("Keyword message follow the same rules as unary messages, with a final underscore: ");
  4817. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4818. $ctx2.sendIdx["with:"]=19;
  4819. //>>excludeEnd("ctx");
  4820. $recv($11)._with_((function(){
  4821. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4822. return $core.withContext(function($ctx3) {
  4823. //>>excludeEnd("ctx");
  4824. $12=$recv(html)._code();
  4825. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4826. $ctx3.sendIdx["code"]=5;
  4827. //>>excludeEnd("ctx");
  4828. return $recv($12)._with_("aDictionary at: 3 put: 4");
  4829. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4830. $ctx3.sendIdx["with:"]=21;
  4831. //>>excludeEnd("ctx");
  4832. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4833. }, function($ctx3) {$ctx3.fillBlock({},$ctx2,7)});
  4834. //>>excludeEnd("ctx");
  4835. }));
  4836. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4837. $ctx2.sendIdx["with:"]=20;
  4838. //>>excludeEnd("ctx");
  4839. $recv($11)._with_(" becomes ");
  4840. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4841. $ctx2.sendIdx["with:"]=22;
  4842. //>>excludeEnd("ctx");
  4843. $13=$recv($11)._with_((function(){
  4844. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4845. return $core.withContext(function($ctx3) {
  4846. //>>excludeEnd("ctx");
  4847. return $recv($recv(html)._code())._with_("aDictionary._at_put_(3, 4)");
  4848. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4849. }, function($ctx3) {$ctx3.fillBlock({},$ctx2,8)});
  4850. //>>excludeEnd("ctx");
  4851. }));
  4852. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4853. $ctx2.sendIdx["with:"]=23;
  4854. //>>excludeEnd("ctx");
  4855. return $13;
  4856. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4857. }, function($ctx2) {$ctx2.fillBlock({},$ctx1,2)});
  4858. //>>excludeEnd("ctx");
  4859. }));
  4860. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4861. $ctx1.sendIdx["with:"]=6;
  4862. //>>excludeEnd("ctx");
  4863. return self;
  4864. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4865. }, function($ctx1) {$ctx1.fill(self,"renderSlideOn:",{html:html},$globals.JtalkAndJavascriptSlide3)});
  4866. //>>excludeEnd("ctx");
  4867. },
  4868. //>>excludeStart("ide", pragmas.excludeIdeData);
  4869. args: ["html"],
  4870. source: "renderSlideOn: html\x0a\x09html h1 with: [\x0a\x09\x09html with: 'Smalltalk '.\x0a\x09\x09html span class: 'red'; with: '♥'.\x0a\x09\x09html with: ' JavaScript'].\x0a\x09html h2 with: 'Smalltalk ⇒ JavaScript'.\x0a\x09html ol with: [\x0a\x09\x09html li \x0a\x09\x09\x09with: 'Unary messages begin with an underscore: ';\x0a\x09\x09\x09with: [html code with: 'yourself'];\x0a\x09\x09\x09with: ' becomes ';\x0a\x09\x09\x09with: [html code with: '_yourself()'].\x0a\x09\x09html li \x0a\x09\x09\x09with: 'Binary messages are prefixed with 2 underscores: ';\x0a\x09\x09\x09with: [html code with: '3@4'];\x0a\x09\x09\x09with: ' becomes ';\x0a\x09\x09\x09with: [html code with: '(3).__at(4)'].\x0a\x09\x09html li \x0a\x09\x09\x09with: 'Keyword message follow the same rules as unary messages, with a final underscore: ';\x0a\x09\x09\x09with: [html code with: 'aDictionary at: 3 put: 4'];\x0a\x09\x09\x09with: ' becomes ';\x0a\x09\x09\x09with: [html code with: 'aDictionary._at_put_(3, 4)']]",
  4871. referencedClasses: [],
  4872. //>>excludeEnd("ide");
  4873. messageSends: ["with:", "h1", "class:", "span", "h2", "ol", "li", "code"]
  4874. }),
  4875. $globals.JtalkAndJavascriptSlide3);
  4876. $core.addClass('JtalkAndJavascriptSlide4', $globals.Slide, [], 'Presentation');
  4877. $core.addMethod(
  4878. $core.method({
  4879. selector: "backgroundColor",
  4880. protocol: 'accessing',
  4881. fn: function (){
  4882. var self=this;
  4883. return "#08C";
  4884. },
  4885. //>>excludeStart("ide", pragmas.excludeIdeData);
  4886. args: [],
  4887. source: "backgroundColor\x0a\x09^'#08C'",
  4888. referencedClasses: [],
  4889. //>>excludeEnd("ide");
  4890. messageSends: []
  4891. }),
  4892. $globals.JtalkAndJavascriptSlide4);
  4893. $core.addMethod(
  4894. $core.method({
  4895. selector: "id",
  4896. protocol: 'accessing',
  4897. fn: function (){
  4898. var self=this;
  4899. return "jtalkAndJs4";
  4900. },
  4901. //>>excludeStart("ide", pragmas.excludeIdeData);
  4902. args: [],
  4903. source: "id\x0a\x09^'jtalkAndJs4'",
  4904. referencedClasses: [],
  4905. //>>excludeEnd("ide");
  4906. messageSends: []
  4907. }),
  4908. $globals.JtalkAndJavascriptSlide4);
  4909. $core.addMethod(
  4910. $core.method({
  4911. selector: "renderSlideOn:",
  4912. protocol: 'rendering',
  4913. fn: function (html){
  4914. var self=this;
  4915. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4916. return $core.withContext(function($ctx1) {
  4917. //>>excludeEnd("ctx");
  4918. var $1,$2,$4,$5,$3,$6,$7,$9,$8,$10,$11,$13,$12,$14,$15,$17,$16,$18,$19,$20;
  4919. $recv($recv(html)._h1())._with_((function(){
  4920. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4921. return $core.withContext(function($ctx2) {
  4922. //>>excludeEnd("ctx");
  4923. $recv(html)._with_("JavaScript ");
  4924. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4925. $ctx2.sendIdx["with:"]=2;
  4926. //>>excludeEnd("ctx");
  4927. $1=$recv(html)._span();
  4928. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4929. $ctx2.sendIdx["span"]=1;
  4930. //>>excludeEnd("ctx");
  4931. $recv($1)._class_("red");
  4932. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4933. $ctx2.sendIdx["class:"]=1;
  4934. //>>excludeEnd("ctx");
  4935. $2=$recv($1)._with_("♥");
  4936. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4937. $ctx2.sendIdx["with:"]=3;
  4938. //>>excludeEnd("ctx");
  4939. $2;
  4940. $recv(html)._with_(" Smalltalk too! ");
  4941. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4942. $ctx2.sendIdx["with:"]=4;
  4943. //>>excludeEnd("ctx");
  4944. $3=$recv(html)._with_((function(){
  4945. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4946. return $core.withContext(function($ctx3) {
  4947. //>>excludeEnd("ctx");
  4948. $4=$recv(html)._span();
  4949. $recv($4)._class_("comment");
  4950. $5=$recv($4)._with_("(how cute)");
  4951. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4952. $ctx3.sendIdx["with:"]=6;
  4953. //>>excludeEnd("ctx");
  4954. return $5;
  4955. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4956. }, function($ctx3) {$ctx3.fillBlock({},$ctx2,2)});
  4957. //>>excludeEnd("ctx");
  4958. }));
  4959. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4960. $ctx2.sendIdx["with:"]=5;
  4961. //>>excludeEnd("ctx");
  4962. return $3;
  4963. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4964. }, function($ctx2) {$ctx2.fillBlock({},$ctx1,1)});
  4965. //>>excludeEnd("ctx");
  4966. }));
  4967. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4968. $ctx1.sendIdx["with:"]=1;
  4969. //>>excludeEnd("ctx");
  4970. $recv($recv(html)._h2())._with_("JavaScript ⇒ Smalltalk");
  4971. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4972. $ctx1.sendIdx["with:"]=7;
  4973. //>>excludeEnd("ctx");
  4974. $recv($recv(html)._ol())._with_((function(){
  4975. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4976. return $core.withContext(function($ctx2) {
  4977. //>>excludeEnd("ctx");
  4978. $6=$recv(html)._li();
  4979. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4980. $ctx2.sendIdx["li"]=1;
  4981. //>>excludeEnd("ctx");
  4982. $recv($6)._with_((function(){
  4983. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4984. return $core.withContext(function($ctx3) {
  4985. //>>excludeEnd("ctx");
  4986. $7=$recv(html)._code();
  4987. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4988. $ctx3.sendIdx["code"]=1;
  4989. //>>excludeEnd("ctx");
  4990. return $recv($7)._with_("someUser.name");
  4991. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4992. $ctx3.sendIdx["with:"]=10;
  4993. //>>excludeEnd("ctx");
  4994. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4995. }, function($ctx3) {$ctx3.fillBlock({},$ctx2,4)});
  4996. //>>excludeEnd("ctx");
  4997. }));
  4998. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  4999. $ctx2.sendIdx["with:"]=9;
  5000. //>>excludeEnd("ctx");
  5001. $recv($6)._with_(" becomes ");
  5002. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5003. $ctx2.sendIdx["with:"]=11;
  5004. //>>excludeEnd("ctx");
  5005. $8=$recv($6)._with_((function(){
  5006. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5007. return $core.withContext(function($ctx3) {
  5008. //>>excludeEnd("ctx");
  5009. $9=$recv(html)._code();
  5010. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5011. $ctx3.sendIdx["code"]=2;
  5012. //>>excludeEnd("ctx");
  5013. return $recv($9)._with_("someUser name");
  5014. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5015. $ctx3.sendIdx["with:"]=13;
  5016. //>>excludeEnd("ctx");
  5017. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5018. }, function($ctx3) {$ctx3.fillBlock({},$ctx2,5)});
  5019. //>>excludeEnd("ctx");
  5020. }));
  5021. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5022. $ctx2.sendIdx["with:"]=12;
  5023. //>>excludeEnd("ctx");
  5024. $8;
  5025. $10=$recv(html)._li();
  5026. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5027. $ctx2.sendIdx["li"]=2;
  5028. //>>excludeEnd("ctx");
  5029. $recv($10)._with_((function(){
  5030. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5031. return $core.withContext(function($ctx3) {
  5032. //>>excludeEnd("ctx");
  5033. $11=$recv(html)._code();
  5034. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5035. $ctx3.sendIdx["code"]=3;
  5036. //>>excludeEnd("ctx");
  5037. return $recv($11)._with_("someUser name = \x22John\x22");
  5038. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5039. $ctx3.sendIdx["with:"]=15;
  5040. //>>excludeEnd("ctx");
  5041. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5042. }, function($ctx3) {$ctx3.fillBlock({},$ctx2,6)});
  5043. //>>excludeEnd("ctx");
  5044. }));
  5045. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5046. $ctx2.sendIdx["with:"]=14;
  5047. //>>excludeEnd("ctx");
  5048. $recv($10)._with_(" becomes ");
  5049. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5050. $ctx2.sendIdx["with:"]=16;
  5051. //>>excludeEnd("ctx");
  5052. $12=$recv($10)._with_((function(){
  5053. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5054. return $core.withContext(function($ctx3) {
  5055. //>>excludeEnd("ctx");
  5056. $13=$recv(html)._code();
  5057. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5058. $ctx3.sendIdx["code"]=4;
  5059. //>>excludeEnd("ctx");
  5060. return $recv($13)._with_("someUser name: 'John'");
  5061. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5062. $ctx3.sendIdx["with:"]=18;
  5063. //>>excludeEnd("ctx");
  5064. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5065. }, function($ctx3) {$ctx3.fillBlock({},$ctx2,7)});
  5066. //>>excludeEnd("ctx");
  5067. }));
  5068. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5069. $ctx2.sendIdx["with:"]=17;
  5070. //>>excludeEnd("ctx");
  5071. $12;
  5072. $14=$recv(html)._li();
  5073. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5074. $ctx2.sendIdx["li"]=3;
  5075. //>>excludeEnd("ctx");
  5076. $recv($14)._with_((function(){
  5077. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5078. return $core.withContext(function($ctx3) {
  5079. //>>excludeEnd("ctx");
  5080. $15=$recv(html)._code();
  5081. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5082. $ctx3.sendIdx["code"]=5;
  5083. //>>excludeEnd("ctx");
  5084. return $recv($15)._with_("console.log('hello world')");
  5085. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5086. $ctx3.sendIdx["with:"]=20;
  5087. //>>excludeEnd("ctx");
  5088. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5089. }, function($ctx3) {$ctx3.fillBlock({},$ctx2,8)});
  5090. //>>excludeEnd("ctx");
  5091. }));
  5092. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5093. $ctx2.sendIdx["with:"]=19;
  5094. //>>excludeEnd("ctx");
  5095. $recv($14)._with_(" becomes ");
  5096. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5097. $ctx2.sendIdx["with:"]=21;
  5098. //>>excludeEnd("ctx");
  5099. $16=$recv($14)._with_((function(){
  5100. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5101. return $core.withContext(function($ctx3) {
  5102. //>>excludeEnd("ctx");
  5103. $17=$recv(html)._code();
  5104. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5105. $ctx3.sendIdx["code"]=6;
  5106. //>>excludeEnd("ctx");
  5107. return $recv($17)._with_("console log: 'hello world'");
  5108. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5109. $ctx3.sendIdx["with:"]=23;
  5110. //>>excludeEnd("ctx");
  5111. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5112. }, function($ctx3) {$ctx3.fillBlock({},$ctx2,9)});
  5113. //>>excludeEnd("ctx");
  5114. }));
  5115. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5116. $ctx2.sendIdx["with:"]=22;
  5117. //>>excludeEnd("ctx");
  5118. $16;
  5119. $18=$recv(html)._li();
  5120. $recv($18)._with_((function(){
  5121. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5122. return $core.withContext(function($ctx3) {
  5123. //>>excludeEnd("ctx");
  5124. $19=$recv(html)._code();
  5125. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5126. $ctx3.sendIdx["code"]=7;
  5127. //>>excludeEnd("ctx");
  5128. return $recv($19)._with_("window.jQuery('foo').css('background', 'red')");
  5129. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5130. $ctx3.sendIdx["with:"]=25;
  5131. //>>excludeEnd("ctx");
  5132. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5133. }, function($ctx3) {$ctx3.fillBlock({},$ctx2,10)});
  5134. //>>excludeEnd("ctx");
  5135. }));
  5136. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5137. $ctx2.sendIdx["with:"]=24;
  5138. //>>excludeEnd("ctx");
  5139. $recv($18)._with_(" becomes ");
  5140. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5141. $ctx2.sendIdx["with:"]=26;
  5142. //>>excludeEnd("ctx");
  5143. $recv($18)._with_((function(){
  5144. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5145. return $core.withContext(function($ctx3) {
  5146. //>>excludeEnd("ctx");
  5147. return $recv(html)._br();
  5148. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5149. }, function($ctx3) {$ctx3.fillBlock({},$ctx2,11)});
  5150. //>>excludeEnd("ctx");
  5151. }));
  5152. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5153. $ctx2.sendIdx["with:"]=27;
  5154. //>>excludeEnd("ctx");
  5155. $20=$recv($18)._with_((function(){
  5156. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5157. return $core.withContext(function($ctx3) {
  5158. //>>excludeEnd("ctx");
  5159. return $recv($recv(html)._code())._with_("(window jQuery: 'foo') css: 'background' color: 'red'");
  5160. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5161. }, function($ctx3) {$ctx3.fillBlock({},$ctx2,12)});
  5162. //>>excludeEnd("ctx");
  5163. }));
  5164. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5165. $ctx2.sendIdx["with:"]=28;
  5166. //>>excludeEnd("ctx");
  5167. return $20;
  5168. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5169. }, function($ctx2) {$ctx2.fillBlock({},$ctx1,3)});
  5170. //>>excludeEnd("ctx");
  5171. }));
  5172. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5173. $ctx1.sendIdx["with:"]=8;
  5174. //>>excludeEnd("ctx");
  5175. return self;
  5176. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5177. }, function($ctx1) {$ctx1.fill(self,"renderSlideOn:",{html:html},$globals.JtalkAndJavascriptSlide4)});
  5178. //>>excludeEnd("ctx");
  5179. },
  5180. //>>excludeStart("ide", pragmas.excludeIdeData);
  5181. args: ["html"],
  5182. source: "renderSlideOn: html\x0a\x09html h1 with: [\x0a\x09\x09html with: 'JavaScript '.\x0a\x09\x09html span class: 'red'; with: '♥'.\x0a\x09\x09html with: ' Smalltalk too! ';\x0a\x09\x09with: [html span class: 'comment'; with: '(how cute)']].\x0a\x09html h2 with: 'JavaScript ⇒ Smalltalk'.\x0a\x09html ol with: [\x0a\x09\x09html li \x0a\x09\x09\x09with: [html code with: 'someUser.name'];\x0a\x09\x09\x09with: ' becomes ';\x0a\x09\x09\x09with: [html code with: 'someUser name'].\x0a\x09\x09html li \x0a\x09\x09\x09with: [html code with: 'someUser name = \x22John\x22'];\x0a\x09\x09\x09with: ' becomes ';\x0a\x09\x09\x09with: [html code with: 'someUser name: ''John'''].\x0a\x09\x09html li \x0a\x09\x09\x09with: [html code with: 'console.log(''hello world'')'];\x0a\x09\x09\x09with: ' becomes ';\x0a\x09\x09\x09with: [html code with: 'console log: ''hello world'''].\x0a\x09\x09html li \x0a\x09\x09\x09with: [html code with: 'window.jQuery(''foo'').css(''background'', ''red'')'];\x0a\x09\x09\x09with: ' becomes ';\x0a\x09\x09\x09with: [html br];\x0a\x09\x09\x09with: [html code with: '(window jQuery: ''foo'') css: ''background'' color: ''red''']]",
  5183. referencedClasses: [],
  5184. //>>excludeEnd("ide");
  5185. messageSends: ["with:", "h1", "class:", "span", "h2", "ol", "li", "code", "br"]
  5186. }),
  5187. $globals.JtalkAndJavascriptSlide4);
  5188. $core.addClass('JtalkAndNode', $globals.Slide, [], 'Presentation');
  5189. $core.addMethod(
  5190. $core.method({
  5191. selector: "backgroundColor",
  5192. protocol: 'not yet classified',
  5193. fn: function (){
  5194. var self=this;
  5195. return "#0A1";
  5196. },
  5197. //>>excludeStart("ide", pragmas.excludeIdeData);
  5198. args: [],
  5199. source: "backgroundColor\x0a\x09^'#0A1'",
  5200. referencedClasses: [],
  5201. //>>excludeEnd("ide");
  5202. messageSends: []
  5203. }),
  5204. $globals.JtalkAndNode);
  5205. $core.addMethod(
  5206. $core.method({
  5207. selector: "id",
  5208. protocol: 'not yet classified',
  5209. fn: function (){
  5210. var self=this;
  5211. return "JtalkAndNode";
  5212. },
  5213. //>>excludeStart("ide", pragmas.excludeIdeData);
  5214. args: [],
  5215. source: "id\x0a\x09^'JtalkAndNode'",
  5216. referencedClasses: [],
  5217. //>>excludeEnd("ide");
  5218. messageSends: []
  5219. }),
  5220. $globals.JtalkAndNode);
  5221. $core.addMethod(
  5222. $core.method({
  5223. selector: "renderSlideOn:",
  5224. protocol: 'not yet classified',
  5225. fn: function (html){
  5226. var self=this;
  5227. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5228. return $core.withContext(function($ctx1) {
  5229. //>>excludeEnd("ctx");
  5230. var $1,$2,$3,$4;
  5231. $recv($recv(html)._h1())._with_((function(){
  5232. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5233. return $core.withContext(function($ctx2) {
  5234. //>>excludeEnd("ctx");
  5235. $recv(html)._with_("Jtalk and ");
  5236. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5237. $ctx2.sendIdx["with:"]=2;
  5238. //>>excludeEnd("ctx");
  5239. $1=$recv(html)._span();
  5240. $recv($1)._class_("blue");
  5241. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5242. $ctx2.sendIdx["class:"]=1;
  5243. //>>excludeEnd("ctx");
  5244. $2=$recv($1)._with_("Node.js");
  5245. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5246. $ctx2.sendIdx["with:"]=3;
  5247. //>>excludeEnd("ctx");
  5248. return $2;
  5249. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5250. }, function($ctx2) {$ctx2.fillBlock({},$ctx1,1)});
  5251. //>>excludeEnd("ctx");
  5252. }));
  5253. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5254. $ctx1.sendIdx["with:"]=1;
  5255. //>>excludeEnd("ctx");
  5256. $recv($recv(html)._h2())._with_("Hello.st:");
  5257. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5258. $ctx1.sendIdx["with:"]=4;
  5259. //>>excludeEnd("ctx");
  5260. $recv($recv(html)._pre())._with_((function(){
  5261. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5262. return $core.withContext(function($ctx2) {
  5263. //>>excludeEnd("ctx");
  5264. $3=$recv(html)._div();
  5265. $recv($3)._class_("code2");
  5266. $4=$recv($3)._with_("Object subclass: #Hello\x0a instanceVariableNames: ''\x0a category: 'Hello'!\x0a\x0a!Hello class methodsFor: 'main'!\x0amain\x0a\x09console log: 'Hello world from JTalk in Node.js'\x0a! !");
  5267. return $4;
  5268. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5269. }, function($ctx2) {$ctx2.fillBlock({},$ctx1,2)});
  5270. //>>excludeEnd("ctx");
  5271. }));
  5272. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5273. $ctx1.sendIdx["with:"]=5;
  5274. //>>excludeEnd("ctx");
  5275. return self;
  5276. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5277. }, function($ctx1) {$ctx1.fill(self,"renderSlideOn:",{html:html},$globals.JtalkAndNode)});
  5278. //>>excludeEnd("ctx");
  5279. },
  5280. //>>excludeStart("ide", pragmas.excludeIdeData);
  5281. args: ["html"],
  5282. source: "renderSlideOn: html\x0a\x09html h1 with: [\x0a\x09\x09html with: 'Jtalk and '.\x0a\x09\x09html span class: 'blue'; with: 'Node.js'].\x0a\x0a\x09html h2 with: 'Hello.st:'.\x0a\x09html pre with: [\x0a\x09\x09html div class: 'code2'; with: 'Object subclass: #Hello\x0a instanceVariableNames: ''''\x0a category: ''Hello''!\x0a\x0a!Hello class methodsFor: ''main''!\x0amain\x0a\x09console log: ''Hello world from JTalk in Node.js''\x0a! !']",
  5283. referencedClasses: [],
  5284. //>>excludeEnd("ide");
  5285. messageSends: ["with:", "h1", "class:", "span", "h2", "pre", "div"]
  5286. }),
  5287. $globals.JtalkAndNode);
  5288. $core.addClass('JtalkAndNode2', $globals.Slide, [], 'Presentation');
  5289. $core.addMethod(
  5290. $core.method({
  5291. selector: "backgroundColor",
  5292. protocol: 'not yet classified',
  5293. fn: function (){
  5294. var self=this;
  5295. return "#0A1";
  5296. },
  5297. //>>excludeStart("ide", pragmas.excludeIdeData);
  5298. args: [],
  5299. source: "backgroundColor\x0a\x09^'#0A1'",
  5300. referencedClasses: [],
  5301. //>>excludeEnd("ide");
  5302. messageSends: []
  5303. }),
  5304. $globals.JtalkAndNode2);
  5305. $core.addMethod(
  5306. $core.method({
  5307. selector: "id",
  5308. protocol: 'not yet classified',
  5309. fn: function (){
  5310. var self=this;
  5311. return "JtalkAndNode2";
  5312. },
  5313. //>>excludeStart("ide", pragmas.excludeIdeData);
  5314. args: [],
  5315. source: "id\x0a\x09^'JtalkAndNode2'",
  5316. referencedClasses: [],
  5317. //>>excludeEnd("ide");
  5318. messageSends: []
  5319. }),
  5320. $globals.JtalkAndNode2);
  5321. $core.addMethod(
  5322. $core.method({
  5323. selector: "renderSlideOn:",
  5324. protocol: 'not yet classified',
  5325. fn: function (html){
  5326. var self=this;
  5327. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5328. return $core.withContext(function($ctx1) {
  5329. //>>excludeEnd("ctx");
  5330. var $1,$2,$3,$4,$5,$6,$7,$8;
  5331. $recv($recv(html)._h1())._with_((function(){
  5332. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5333. return $core.withContext(function($ctx2) {
  5334. //>>excludeEnd("ctx");
  5335. $recv(html)._with_("Jtalk and ");
  5336. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5337. $ctx2.sendIdx["with:"]=2;
  5338. //>>excludeEnd("ctx");
  5339. $1=$recv(html)._span();
  5340. $recv($1)._class_("blue");
  5341. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5342. $ctx2.sendIdx["class:"]=1;
  5343. //>>excludeEnd("ctx");
  5344. $2=$recv($1)._with_("Node.js");
  5345. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5346. $ctx2.sendIdx["with:"]=3;
  5347. //>>excludeEnd("ctx");
  5348. return $2;
  5349. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5350. }, function($ctx2) {$ctx2.fillBlock({},$ctx1,1)});
  5351. //>>excludeEnd("ctx");
  5352. }));
  5353. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5354. $ctx1.sendIdx["with:"]=1;
  5355. //>>excludeEnd("ctx");
  5356. $3=$recv(html)._h2();
  5357. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5358. $ctx1.sendIdx["h2"]=1;
  5359. //>>excludeEnd("ctx");
  5360. $recv($3)._with_("Makefile:");
  5361. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5362. $ctx1.sendIdx["with:"]=4;
  5363. //>>excludeEnd("ctx");
  5364. $4=$recv(html)._pre();
  5365. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5366. $ctx1.sendIdx["pre"]=1;
  5367. //>>excludeEnd("ctx");
  5368. $recv($4)._with_((function(){
  5369. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5370. return $core.withContext(function($ctx2) {
  5371. //>>excludeEnd("ctx");
  5372. $5=$recv(html)._div();
  5373. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5374. $ctx2.sendIdx["div"]=1;
  5375. //>>excludeEnd("ctx");
  5376. $recv($5)._class_("code2");
  5377. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5378. $ctx2.sendIdx["class:"]=2;
  5379. //>>excludeEnd("ctx");
  5380. $6=$recv($5)._with_("Program.js: Hello.st\x0a\x09../../bin/jtalkc -N -m Hello Hello.st Program\x0a\x0arun: Program.js\x0a\x09./hello\x0a\x0aclean:\x0a\x09rm -f Program.js Hello.js\x0a");
  5381. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5382. $ctx2.sendIdx["with:"]=6;
  5383. //>>excludeEnd("ctx");
  5384. return $6;
  5385. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5386. }, function($ctx2) {$ctx2.fillBlock({},$ctx1,2)});
  5387. //>>excludeEnd("ctx");
  5388. }));
  5389. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5390. $ctx1.sendIdx["with:"]=5;
  5391. //>>excludeEnd("ctx");
  5392. $recv($recv(html)._h2())._with_("hello:");
  5393. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5394. $ctx1.sendIdx["with:"]=7;
  5395. //>>excludeEnd("ctx");
  5396. $recv($recv(html)._pre())._with_((function(){
  5397. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5398. return $core.withContext(function($ctx2) {
  5399. //>>excludeEnd("ctx");
  5400. $7=$recv(html)._div();
  5401. $recv($7)._class_("code2");
  5402. $8=$recv($7)._with_("node Program.js $@");
  5403. return $8;
  5404. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5405. }, function($ctx2) {$ctx2.fillBlock({},$ctx1,3)});
  5406. //>>excludeEnd("ctx");
  5407. }));
  5408. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5409. $ctx1.sendIdx["with:"]=8;
  5410. //>>excludeEnd("ctx");
  5411. return self;
  5412. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5413. }, function($ctx1) {$ctx1.fill(self,"renderSlideOn:",{html:html},$globals.JtalkAndNode2)});
  5414. //>>excludeEnd("ctx");
  5415. },
  5416. //>>excludeStart("ide", pragmas.excludeIdeData);
  5417. args: ["html"],
  5418. source: "renderSlideOn: html\x0a\x09html h1 with: [\x0a\x09\x09html with: 'Jtalk and '.\x0a\x09\x09html span class: 'blue'; with: 'Node.js'].\x0a\x0a\x09html h2 with: 'Makefile:'.\x0a\x09html pre with: [\x0a\x09\x09html div class: 'code2'; with: 'Program.js: Hello.st\x0a\x09../../bin/jtalkc -N -m Hello Hello.st Program\x0a\x0arun: Program.js\x0a\x09./hello\x0a\x0aclean:\x0a\x09rm -f Program.js Hello.js\x0a'].\x0ahtml h2 with: 'hello:'.\x0a\x09html pre with: [\x0a\x09\x09html div class: 'code2'; with: 'node Program.js $@']",
  5419. referencedClasses: [],
  5420. //>>excludeEnd("ide");
  5421. messageSends: ["with:", "h1", "class:", "span", "h2", "pre", "div"]
  5422. }),
  5423. $globals.JtalkAndNode2);
  5424. $core.addClass('JtalkAndNode3', $globals.Slide, [], 'Presentation');
  5425. $core.addMethod(
  5426. $core.method({
  5427. selector: "backgroundColor",
  5428. protocol: 'not yet classified',
  5429. fn: function (){
  5430. var self=this;
  5431. return "#0A1";
  5432. },
  5433. //>>excludeStart("ide", pragmas.excludeIdeData);
  5434. args: [],
  5435. source: "backgroundColor\x0a\x09^'#0A1'",
  5436. referencedClasses: [],
  5437. //>>excludeEnd("ide");
  5438. messageSends: []
  5439. }),
  5440. $globals.JtalkAndNode3);
  5441. $core.addMethod(
  5442. $core.method({
  5443. selector: "id",
  5444. protocol: 'not yet classified',
  5445. fn: function (){
  5446. var self=this;
  5447. return "JtalkAndNode3";
  5448. },
  5449. //>>excludeStart("ide", pragmas.excludeIdeData);
  5450. args: [],
  5451. source: "id\x0a\x09^'JtalkAndNode3'",
  5452. referencedClasses: [],
  5453. //>>excludeEnd("ide");
  5454. messageSends: []
  5455. }),
  5456. $globals.JtalkAndNode3);
  5457. $core.addMethod(
  5458. $core.method({
  5459. selector: "renderSlideOn:",
  5460. protocol: 'not yet classified',
  5461. fn: function (html){
  5462. var self=this;
  5463. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5464. return $core.withContext(function($ctx1) {
  5465. //>>excludeEnd("ctx");
  5466. var $1,$2,$3,$4,$5,$6;
  5467. $recv($recv(html)._h1())._with_((function(){
  5468. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5469. return $core.withContext(function($ctx2) {
  5470. //>>excludeEnd("ctx");
  5471. $recv(html)._with_("Jtalk and ");
  5472. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5473. $ctx2.sendIdx["with:"]=2;
  5474. //>>excludeEnd("ctx");
  5475. $1=$recv(html)._span();
  5476. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5477. $ctx2.sendIdx["span"]=1;
  5478. //>>excludeEnd("ctx");
  5479. $recv($1)._class_("blue");
  5480. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5481. $ctx2.sendIdx["class:"]=1;
  5482. //>>excludeEnd("ctx");
  5483. $2=$recv($1)._with_("Node.js");
  5484. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5485. $ctx2.sendIdx["with:"]=3;
  5486. //>>excludeEnd("ctx");
  5487. return $2;
  5488. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5489. }, function($ctx2) {$ctx2.fillBlock({},$ctx1,1)});
  5490. //>>excludeEnd("ctx");
  5491. }));
  5492. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5493. $ctx1.sendIdx["with:"]=1;
  5494. //>>excludeEnd("ctx");
  5495. $recv($recv(html)._h2())._with_("make clean && make run:");
  5496. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5497. $ctx1.sendIdx["with:"]=4;
  5498. //>>excludeEnd("ctx");
  5499. $recv($recv(html)._pre())._with_((function(){
  5500. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5501. return $core.withContext(function($ctx2) {
  5502. //>>excludeEnd("ctx");
  5503. $3=$recv(html)._div();
  5504. $recv($3)._class_("code2");
  5505. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5506. $ctx2.sendIdx["class:"]=2;
  5507. //>>excludeEnd("ctx");
  5508. $4=$recv($3)._with_("rm -f Program.js Hello.js\x0a../../bin/jtalkc -N -m Hello Hello.st Program\x0aLoading libraries /home/gokr/jtalk/js/boot.js /home/gokr/jtalk/js/Kernel.js\x0a/home/gokr/jtalk/js/Parser.js /home/gokr/jtalk/js/Compiler.js\x0a/home/gokr/jtalk/js/init.js /home/gokr/jtalk/nodejs/nodecompile.js\x0aand compiling ...\x0aCompiling in debugMode: false\x0aReading file Hello.st\x0aExporting category Hello as Hello.js\x0aAdding libraries /home/gokr/jtalk/js/boot.js /home/gokr/jtalk/js/Kernel.js ...\x0aAdding Jtalk code Hello.js ...\x0aAdding initializer /home/gokr/jtalk/js/init.js ...\x0aAdding call to Hello class >> main ...\x0aWriting Program.js ...\x0aDone.\x0a./hello");
  5509. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5510. $ctx2.sendIdx["with:"]=6;
  5511. //>>excludeEnd("ctx");
  5512. $4;
  5513. $5=$recv(html)._span();
  5514. $recv($5)._class_("blue");
  5515. $6=$recv($5)._with_("Hello world from JTalk in Node.js");
  5516. return $6;
  5517. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5518. }, function($ctx2) {$ctx2.fillBlock({},$ctx1,2)});
  5519. //>>excludeEnd("ctx");
  5520. }));
  5521. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5522. $ctx1.sendIdx["with:"]=5;
  5523. //>>excludeEnd("ctx");
  5524. return self;
  5525. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5526. }, function($ctx1) {$ctx1.fill(self,"renderSlideOn:",{html:html},$globals.JtalkAndNode3)});
  5527. //>>excludeEnd("ctx");
  5528. },
  5529. //>>excludeStart("ide", pragmas.excludeIdeData);
  5530. args: ["html"],
  5531. source: "renderSlideOn: html\x0a\x09html h1 with: [\x0a\x09\x09html with: 'Jtalk and '.\x0a\x09\x09html span class: 'blue'; with: 'Node.js'].\x0a\x0a\x09html h2 with: 'make clean && make run:'.\x0a\x0a\x09html pre with: [\x0a\x09\x09html div class: 'code2'; with: 'rm -f Program.js Hello.js\x0a../../bin/jtalkc -N -m Hello Hello.st Program\x0aLoading libraries /home/gokr/jtalk/js/boot.js /home/gokr/jtalk/js/Kernel.js\x0a/home/gokr/jtalk/js/Parser.js /home/gokr/jtalk/js/Compiler.js\x0a/home/gokr/jtalk/js/init.js /home/gokr/jtalk/nodejs/nodecompile.js\x0aand compiling ...\x0aCompiling in debugMode: false\x0aReading file Hello.st\x0aExporting category Hello as Hello.js\x0aAdding libraries /home/gokr/jtalk/js/boot.js /home/gokr/jtalk/js/Kernel.js ...\x0aAdding Jtalk code Hello.js ...\x0aAdding initializer /home/gokr/jtalk/js/init.js ...\x0aAdding call to Hello class >> main ...\x0aWriting Program.js ...\x0aDone.\x0a./hello'.\x0ahtml span class: 'blue'; with:'Hello world from JTalk in Node.js']",
  5532. referencedClasses: [],
  5533. //>>excludeEnd("ide");
  5534. messageSends: ["with:", "h1", "class:", "span", "h2", "pre", "div"]
  5535. }),
  5536. $globals.JtalkAndNode3);
  5537. $core.addClass('JtalkAndWebOS', $globals.Slide, [], 'Presentation');
  5538. $core.addMethod(
  5539. $core.method({
  5540. selector: "backgroundColor",
  5541. protocol: 'not yet classified',
  5542. fn: function (){
  5543. var self=this;
  5544. return "#0A1";
  5545. },
  5546. //>>excludeStart("ide", pragmas.excludeIdeData);
  5547. args: [],
  5548. source: "backgroundColor\x0a\x09^'#0A1'",
  5549. referencedClasses: [],
  5550. //>>excludeEnd("ide");
  5551. messageSends: []
  5552. }),
  5553. $globals.JtalkAndWebOS);
  5554. $core.addMethod(
  5555. $core.method({
  5556. selector: "id",
  5557. protocol: 'not yet classified',
  5558. fn: function (){
  5559. var self=this;
  5560. return "JtalkAndWebOS";
  5561. },
  5562. //>>excludeStart("ide", pragmas.excludeIdeData);
  5563. args: [],
  5564. source: "id\x0a\x09^'JtalkAndWebOS'",
  5565. referencedClasses: [],
  5566. //>>excludeEnd("ide");
  5567. messageSends: []
  5568. }),
  5569. $globals.JtalkAndWebOS);
  5570. $core.addMethod(
  5571. $core.method({
  5572. selector: "renderSlideOn:",
  5573. protocol: 'not yet classified',
  5574. fn: function (html){
  5575. var self=this;
  5576. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5577. return $core.withContext(function($ctx1) {
  5578. //>>excludeEnd("ctx");
  5579. var $1,$2,$3,$4,$5;
  5580. $recv($recv(html)._h1())._with_((function(){
  5581. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5582. return $core.withContext(function($ctx2) {
  5583. //>>excludeEnd("ctx");
  5584. $recv(html)._with_("Jtalk and ");
  5585. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5586. $ctx2.sendIdx["with:"]=2;
  5587. //>>excludeEnd("ctx");
  5588. $1=$recv(html)._span();
  5589. $recv($1)._class_("blue");
  5590. $2=$recv($1)._with_("webOS");
  5591. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5592. $ctx2.sendIdx["with:"]=3;
  5593. //>>excludeEnd("ctx");
  5594. return $2;
  5595. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5596. }, function($ctx2) {$ctx2.fillBlock({},$ctx1,1)});
  5597. //>>excludeEnd("ctx");
  5598. }));
  5599. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5600. $ctx1.sendIdx["with:"]=1;
  5601. //>>excludeEnd("ctx");
  5602. $recv($recv(html)._h2())._with_("A really cool mobile OS based on Linux:");
  5603. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5604. $ctx1.sendIdx["with:"]=4;
  5605. //>>excludeEnd("ctx");
  5606. $recv($recv(html)._ul())._with_((function(){
  5607. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5608. return $core.withContext(function($ctx2) {
  5609. //>>excludeEnd("ctx");
  5610. $3=$recv(html)._li();
  5611. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5612. $ctx2.sendIdx["li"]=1;
  5613. //>>excludeEnd("ctx");
  5614. $recv($3)._with_("The primary language in webOS is Javascript");
  5615. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5616. $ctx2.sendIdx["with:"]=6;
  5617. //>>excludeEnd("ctx");
  5618. $4=$recv(html)._li();
  5619. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5620. $ctx2.sendIdx["li"]=2;
  5621. //>>excludeEnd("ctx");
  5622. $recv($4)._with_("The new UI framework for webOS 3.0 is called Enyo");
  5623. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5624. $ctx2.sendIdx["with:"]=7;
  5625. //>>excludeEnd("ctx");
  5626. $5=$recv(html)._li();
  5627. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5628. $ctx2.sendIdx["li"]=3;
  5629. //>>excludeEnd("ctx");
  5630. $recv($5)._with_("Regular apps run in V8 + Webkit");
  5631. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5632. $ctx2.sendIdx["with:"]=8;
  5633. //>>excludeEnd("ctx");
  5634. return $recv($recv(html)._li())._with_("Background services run in Node.js");
  5635. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5636. }, function($ctx2) {$ctx2.fillBlock({},$ctx1,2)});
  5637. //>>excludeEnd("ctx");
  5638. }));
  5639. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5640. $ctx1.sendIdx["with:"]=5;
  5641. //>>excludeEnd("ctx");
  5642. return self;
  5643. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5644. }, function($ctx1) {$ctx1.fill(self,"renderSlideOn:",{html:html},$globals.JtalkAndWebOS)});
  5645. //>>excludeEnd("ctx");
  5646. },
  5647. //>>excludeStart("ide", pragmas.excludeIdeData);
  5648. args: ["html"],
  5649. source: "renderSlideOn: html\x0a\x09html h1 with: [\x0a\x09\x09html with: 'Jtalk and '.\x0a\x09\x09html span class: 'blue'; with: 'webOS'].\x0a\x0a\x09html h2 with: 'A really cool mobile OS based on Linux:'.\x0a\x0a\x09html ul with: [\x0a\x09\x09html li with: 'The primary language in webOS is Javascript'.\x0a\x09\x09html li with: 'The new UI framework for webOS 3.0 is called Enyo'.\x0a\x09\x09html li with: 'Regular apps run in V8 + Webkit'.\x0a\x09\x09html li with: 'Background services run in Node.js']",
  5650. referencedClasses: [],
  5651. //>>excludeEnd("ide");
  5652. messageSends: ["with:", "h1", "class:", "span", "h2", "ul", "li"]
  5653. }),
  5654. $globals.JtalkAndWebOS);
  5655. $core.addClass('JtalkFeaturesSlide', $globals.Slide, [], 'Presentation');
  5656. $core.addMethod(
  5657. $core.method({
  5658. selector: "id",
  5659. protocol: 'accessing',
  5660. fn: function (){
  5661. var self=this;
  5662. return "features";
  5663. },
  5664. //>>excludeStart("ide", pragmas.excludeIdeData);
  5665. args: [],
  5666. source: "id\x0a\x09^'features'",
  5667. referencedClasses: [],
  5668. //>>excludeEnd("ide");
  5669. messageSends: []
  5670. }),
  5671. $globals.JtalkFeaturesSlide);
  5672. $core.addMethod(
  5673. $core.method({
  5674. selector: "renderSlideOn:",
  5675. protocol: 'rendering',
  5676. fn: function (html){
  5677. var self=this;
  5678. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5679. return $core.withContext(function($ctx1) {
  5680. //>>excludeEnd("ctx");
  5681. var $1,$2,$3,$4,$5,$6;
  5682. $recv($recv(html)._h1())._with_("Jtalk features");
  5683. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5684. $ctx1.sendIdx["with:"]=1;
  5685. //>>excludeEnd("ctx");
  5686. $recv($recv(html)._ul())._with_((function(){
  5687. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5688. return $core.withContext(function($ctx2) {
  5689. //>>excludeEnd("ctx");
  5690. $1=$recv(html)._li();
  5691. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5692. $ctx2.sendIdx["li"]=1;
  5693. //>>excludeEnd("ctx");
  5694. $recv($1)._with_("Jtalk is (mostly) written in itself, including the parser & compiler");
  5695. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5696. $ctx2.sendIdx["with:"]=3;
  5697. //>>excludeEnd("ctx");
  5698. $2=$recv(html)._li();
  5699. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5700. $ctx2.sendIdx["li"]=2;
  5701. //>>excludeEnd("ctx");
  5702. $recv($2)._with_("Full Smalltalk object system, including classes & metaclasses, etc");
  5703. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5704. $ctx2.sendIdx["with:"]=4;
  5705. //>>excludeEnd("ctx");
  5706. $3=$recv(html)._li();
  5707. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5708. $ctx2.sendIdx["li"]=3;
  5709. //>>excludeEnd("ctx");
  5710. $recv($3)._with_("Core libraries (streams, collections, RegExp, etc)");
  5711. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5712. $ctx2.sendIdx["with:"]=5;
  5713. //>>excludeEnd("ctx");
  5714. $4=$recv(html)._li();
  5715. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5716. $ctx2.sendIdx["li"]=4;
  5717. //>>excludeEnd("ctx");
  5718. $recv($4)._with_("Web related libraries: HTML Canvas, DOM manipulation");
  5719. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5720. $ctx2.sendIdx["with:"]=6;
  5721. //>>excludeEnd("ctx");
  5722. $5=$recv(html)._li();
  5723. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5724. $ctx2.sendIdx["li"]=5;
  5725. //>>excludeEnd("ctx");
  5726. $recv($5)._with_("Full featured IDE");
  5727. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5728. $ctx2.sendIdx["with:"]=7;
  5729. //>>excludeEnd("ctx");
  5730. return $recv($recv(html)._li())._with_((function(){
  5731. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5732. return $core.withContext(function($ctx3) {
  5733. //>>excludeEnd("ctx");
  5734. $recv(html)._with_("Advanced Smalltalk features, including ");
  5735. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5736. $ctx3.sendIdx["with:"]=9;
  5737. //>>excludeEnd("ctx");
  5738. $6=$recv(html)._code();
  5739. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5740. $ctx3.sendIdx["code"]=1;
  5741. //>>excludeEnd("ctx");
  5742. $recv($6)._with_("#doesNotUnderstand:");
  5743. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5744. $ctx3.sendIdx["with:"]=10;
  5745. //>>excludeEnd("ctx");
  5746. $recv(html)._with_(" support and ");
  5747. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5748. $ctx3.sendIdx["with:"]=11;
  5749. //>>excludeEnd("ctx");
  5750. return $recv($recv(html)._code())._with_("thisContext");
  5751. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5752. }, function($ctx3) {$ctx3.fillBlock({},$ctx2,2)});
  5753. //>>excludeEnd("ctx");
  5754. }));
  5755. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5756. $ctx2.sendIdx["with:"]=8;
  5757. //>>excludeEnd("ctx");
  5758. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5759. }, function($ctx2) {$ctx2.fillBlock({},$ctx1,1)});
  5760. //>>excludeEnd("ctx");
  5761. }));
  5762. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5763. $ctx1.sendIdx["with:"]=2;
  5764. //>>excludeEnd("ctx");
  5765. return self;
  5766. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5767. }, function($ctx1) {$ctx1.fill(self,"renderSlideOn:",{html:html},$globals.JtalkFeaturesSlide)});
  5768. //>>excludeEnd("ctx");
  5769. },
  5770. //>>excludeStart("ide", pragmas.excludeIdeData);
  5771. args: ["html"],
  5772. source: "renderSlideOn: html\x0a\x09html h1 with: 'Jtalk features'.\x0a\x09html ul with: [\x0a\x09\x09html li with: 'Jtalk is (mostly) written in itself, including the parser & compiler'.\x0a\x09\x09html li with: 'Full Smalltalk object system, including classes & metaclasses, etc'.\x0a\x09\x09html li with: 'Core libraries (streams, collections, RegExp, etc)'.\x0a\x09\x09html li with: 'Web related libraries: HTML Canvas, DOM manipulation'.\x0a\x09\x09html li with: 'Full featured IDE'.\x0a\x09\x09html li with: [\x0a\x09\x09\x09html with:'Advanced Smalltalk features, including '.\x0a\x09\x09\x09html code with: '#doesNotUnderstand:'.\x0a\x09\x09\x09html with: ' support and '.\x0a\x09\x09\x09html code with: 'thisContext']]",
  5773. referencedClasses: [],
  5774. //>>excludeEnd("ide");
  5775. messageSends: ["with:", "h1", "ul", "li", "code"]
  5776. }),
  5777. $globals.JtalkFeaturesSlide);
  5778. $core.addClass('SweSUGSlide', $globals.Slide, [], 'Presentation');
  5779. $core.addMethod(
  5780. $core.method({
  5781. selector: "backgroundColor",
  5782. protocol: 'accessing',
  5783. fn: function (){
  5784. var self=this;
  5785. return "#555";
  5786. },
  5787. //>>excludeStart("ide", pragmas.excludeIdeData);
  5788. args: [],
  5789. source: "backgroundColor\x0a\x09^'#555'",
  5790. referencedClasses: [],
  5791. //>>excludeEnd("ide");
  5792. messageSends: []
  5793. }),
  5794. $globals.SweSUGSlide);
  5795. $core.addMethod(
  5796. $core.method({
  5797. selector: "codeSnippet",
  5798. protocol: 'accessing',
  5799. fn: function (){
  5800. var self=this;
  5801. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5802. return $core.withContext(function($ctx1) {
  5803. //>>excludeEnd("ctx");
  5804. self._subclassResponsibility();
  5805. return self;
  5806. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5807. }, function($ctx1) {$ctx1.fill(self,"codeSnippet",{},$globals.SweSUGSlide)});
  5808. //>>excludeEnd("ctx");
  5809. },
  5810. //>>excludeStart("ide", pragmas.excludeIdeData);
  5811. args: [],
  5812. source: "codeSnippet\x0a\x09self subclassResponsibility",
  5813. referencedClasses: [],
  5814. //>>excludeEnd("ide");
  5815. messageSends: ["subclassResponsibility"]
  5816. }),
  5817. $globals.SweSUGSlide);
  5818. $core.addMethod(
  5819. $core.method({
  5820. selector: "cssClass",
  5821. protocol: 'rendering',
  5822. fn: function (){
  5823. var self=this;
  5824. return "slide blue3d";
  5825. },
  5826. //>>excludeStart("ide", pragmas.excludeIdeData);
  5827. args: [],
  5828. source: "cssClass\x0a\x09^ 'slide blue3d'",
  5829. referencedClasses: [],
  5830. //>>excludeEnd("ide");
  5831. messageSends: []
  5832. }),
  5833. $globals.SweSUGSlide);
  5834. $core.addMethod(
  5835. $core.method({
  5836. selector: "renderCodeSnippetOn:",
  5837. protocol: 'rendering',
  5838. fn: function (html){
  5839. var self=this;
  5840. function $SourceArea(){return $globals.SourceArea||(typeof SourceArea=="undefined"?nil:SourceArea)}
  5841. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5842. return $core.withContext(function($ctx1) {
  5843. //>>excludeEnd("ctx");
  5844. var $1,$2;
  5845. $1=$recv($SourceArea())._new();
  5846. $recv($1)._renderOn_(html);
  5847. $2=$recv($1)._editor();
  5848. $recv($2)._setValue_(self._codeSnippet());
  5849. return self;
  5850. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5851. }, function($ctx1) {$ctx1.fill(self,"renderCodeSnippetOn:",{html:html},$globals.SweSUGSlide)});
  5852. //>>excludeEnd("ctx");
  5853. },
  5854. //>>excludeStart("ide", pragmas.excludeIdeData);
  5855. args: ["html"],
  5856. source: "renderCodeSnippetOn: html\x0a\x09(SourceArea new \x0a\x09\x09\x09renderOn: html;\x0a\x09\x09\x09editor) setValue: self codeSnippet.",
  5857. referencedClasses: ["SourceArea"],
  5858. //>>excludeEnd("ide");
  5859. messageSends: ["setValue:", "renderOn:", "new", "editor", "codeSnippet"]
  5860. }),
  5861. $globals.SweSUGSlide);
  5862. $core.addMethod(
  5863. $core.method({
  5864. selector: "renderSnippet:on:",
  5865. protocol: 'rendering',
  5866. fn: function (aString,html){
  5867. var self=this;
  5868. function $SourceArea(){return $globals.SourceArea||(typeof SourceArea=="undefined"?nil:SourceArea)}
  5869. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5870. return $core.withContext(function($ctx1) {
  5871. //>>excludeEnd("ctx");
  5872. var $1,$2;
  5873. $1=$recv($SourceArea())._new();
  5874. $recv($1)._renderOn_(html);
  5875. $2=$recv($1)._editor();
  5876. $recv($2)._setValue_(aString);
  5877. return self;
  5878. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5879. }, function($ctx1) {$ctx1.fill(self,"renderSnippet:on:",{aString:aString,html:html},$globals.SweSUGSlide)});
  5880. //>>excludeEnd("ctx");
  5881. },
  5882. //>>excludeStart("ide", pragmas.excludeIdeData);
  5883. args: ["aString", "html"],
  5884. source: "renderSnippet: aString on: html\x0a\x09(SourceArea new \x0a\x09\x09\x09renderOn: html;\x0a\x09\x09\x09editor) setValue: aString.",
  5885. referencedClasses: ["SourceArea"],
  5886. //>>excludeEnd("ide");
  5887. messageSends: ["setValue:", "renderOn:", "new", "editor"]
  5888. }),
  5889. $globals.SweSUGSlide);
  5890. $core.addClass('SweSUGAboutSlide', $globals.SweSUGSlide, [], 'Presentation');
  5891. $core.addMethod(
  5892. $core.method({
  5893. selector: "backgroundColor",
  5894. protocol: 'accessing',
  5895. fn: function (){
  5896. var self=this;
  5897. return "#555";
  5898. },
  5899. //>>excludeStart("ide", pragmas.excludeIdeData);
  5900. args: [],
  5901. source: "backgroundColor\x0a\x09^'#555'",
  5902. referencedClasses: [],
  5903. //>>excludeEnd("ide");
  5904. messageSends: []
  5905. }),
  5906. $globals.SweSUGAboutSlide);
  5907. $core.addMethod(
  5908. $core.method({
  5909. selector: "cssClass",
  5910. protocol: 'accessing',
  5911. fn: function (){
  5912. var self=this;
  5913. return "slide blue3d";
  5914. },
  5915. //>>excludeStart("ide", pragmas.excludeIdeData);
  5916. args: [],
  5917. source: "cssClass\x0a\x09^ 'slide blue3d'",
  5918. referencedClasses: [],
  5919. //>>excludeEnd("ide");
  5920. messageSends: []
  5921. }),
  5922. $globals.SweSUGAboutSlide);
  5923. $core.addMethod(
  5924. $core.method({
  5925. selector: "id",
  5926. protocol: 'accessing',
  5927. fn: function (){
  5928. var self=this;
  5929. return "About";
  5930. },
  5931. //>>excludeStart("ide", pragmas.excludeIdeData);
  5932. args: [],
  5933. source: "id\x0a\x09^'About'",
  5934. referencedClasses: [],
  5935. //>>excludeEnd("ide");
  5936. messageSends: []
  5937. }),
  5938. $globals.SweSUGAboutSlide);
  5939. $core.addMethod(
  5940. $core.method({
  5941. selector: "renderSlideOn:",
  5942. protocol: 'rendering',
  5943. fn: function (html){
  5944. var self=this;
  5945. function $Browser(){return $globals.Browser||(typeof Browser=="undefined"?nil:Browser)}
  5946. function $Presentation(){return $globals.Presentation||(typeof Presentation=="undefined"?nil:Presentation)}
  5947. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5948. return $core.withContext(function($ctx1) {
  5949. //>>excludeEnd("ctx");
  5950. var $1,$3,$4,$5,$6,$7,$2;
  5951. $1=$recv(html)._div();
  5952. $recv($1)._class_("section center");
  5953. $2=$recv($1)._with_((function(){
  5954. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5955. return $core.withContext(function($ctx2) {
  5956. //>>excludeEnd("ctx");
  5957. $recv($recv(html)._h1())._with_("About this presentation");
  5958. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5959. $ctx2.sendIdx["with:"]=2;
  5960. //>>excludeEnd("ctx");
  5961. $3=$recv(html)._p();
  5962. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5963. $ctx2.sendIdx["p"]=1;
  5964. //>>excludeEnd("ctx");
  5965. $recv($3)._with_("This presentation is entirely written in Amber. Lots of stuff was heavily copied from the two earlier presentations from ESUG and FOSDEM.");
  5966. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5967. $ctx2.sendIdx["with:"]=3;
  5968. //>>excludeEnd("ctx");
  5969. $4=$recv(html)._p();
  5970. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5971. $ctx2.sendIdx["p"]=2;
  5972. //>>excludeEnd("ctx");
  5973. $recv($4)._with_((function(){
  5974. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5975. return $core.withContext(function($ctx3) {
  5976. //>>excludeEnd("ctx");
  5977. $recv(html)._with_("Press ");
  5978. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5979. $ctx3.sendIdx["with:"]=5;
  5980. //>>excludeEnd("ctx");
  5981. $5=$recv(html)._code();
  5982. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5983. $ctx3.sendIdx["code"]=1;
  5984. //>>excludeEnd("ctx");
  5985. $recv($5)._with_("←");
  5986. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5987. $ctx3.sendIdx["with:"]=6;
  5988. //>>excludeEnd("ctx");
  5989. $recv(html)._with_(" to move backward and ");
  5990. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5991. $ctx3.sendIdx["with:"]=7;
  5992. //>>excludeEnd("ctx");
  5993. $recv($recv(html)._code())._with_(" →");
  5994. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5995. $ctx3.sendIdx["with:"]=8;
  5996. //>>excludeEnd("ctx");
  5997. return $recv(html)._with_(" to move forward.");
  5998. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  5999. $ctx3.sendIdx["with:"]=9;
  6000. //>>excludeEnd("ctx");
  6001. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  6002. }, function($ctx3) {$ctx3.fillBlock({},$ctx2,2)});
  6003. //>>excludeEnd("ctx");
  6004. }));
  6005. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  6006. $ctx2.sendIdx["with:"]=4;
  6007. //>>excludeEnd("ctx");
  6008. return $recv($recv(html)._p())._with_((function(){
  6009. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  6010. return $core.withContext(function($ctx3) {
  6011. //>>excludeEnd("ctx");
  6012. $recv(html)._with_("Open a ");
  6013. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  6014. $ctx3.sendIdx["with:"]=11;
  6015. //>>excludeEnd("ctx");
  6016. $6=$recv(html)._button();
  6017. $recv($6)._with_("browser");
  6018. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  6019. $ctx3.sendIdx["with:"]=12;
  6020. //>>excludeEnd("ctx");
  6021. $7=$recv($6)._onClick_((function(){
  6022. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  6023. return $core.withContext(function($ctx4) {
  6024. //>>excludeEnd("ctx");
  6025. return $recv($Browser())._openOn_($Presentation());
  6026. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  6027. }, function($ctx4) {$ctx4.fillBlock({},$ctx3,4)});
  6028. //>>excludeEnd("ctx");
  6029. }));
  6030. $7;
  6031. return $recv(html)._with_(" to edit the source code.");
  6032. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  6033. }, function($ctx3) {$ctx3.fillBlock({},$ctx2,3)});
  6034. //>>excludeEnd("ctx");
  6035. }));
  6036. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  6037. $ctx2.sendIdx["with:"]=10;
  6038. //>>excludeEnd("ctx");
  6039. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  6040. }, function($ctx2) {$ctx2.fillBlock({},$ctx1,1)});
  6041. //>>excludeEnd("ctx");
  6042. }));
  6043. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  6044. $ctx1.sendIdx["with:"]=1;
  6045. //>>excludeEnd("ctx");
  6046. return self;
  6047. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  6048. }, function($ctx1) {$ctx1.fill(self,"renderSlideOn:",{html:html},$globals.SweSUGAboutSlide)});
  6049. //>>excludeEnd("ctx");
  6050. },
  6051. //>>excludeStart("ide", pragmas.excludeIdeData);
  6052. args: ["html"],
  6053. source: "renderSlideOn: html\x0a\x09html div class: 'section center'; with: [\x0a\x09\x09html h1 with: 'About this presentation'.\x0a\x09\x09html p with: 'This presentation is entirely written in Amber. Lots of stuff was heavily copied from the two earlier presentations from ESUG and FOSDEM.'.\x0a\x09\x09html p with: [\x0a\x09\x09\x09html with: 'Press '.\x0a\x09\x09\x09html code with: '←'.\x0a\x09\x09\x09html with: ' to move backward and '.\x0a\x09\x09\x09html code with: ' →'.\x0a\x09\x09\x09html with: ' to move forward.'].\x0a\x09\x09html p with: [\x0a\x09\x09\x09html with: 'Open a '.\x0a\x09\x09\x09html button \x0a\x09\x09\x09\x09with: 'browser';\x0a\x09\x09\x09\x09onClick: [Browser openOn: Presentation].\x0a\x09\x09\x09html with: ' to edit the source code.']]",
  6054. referencedClasses: ["Browser", "Presentation"],
  6055. //>>excludeEnd("ide");
  6056. messageSends: ["class:", "div", "with:", "h1", "p", "code", "button", "onClick:", "openOn:"]
  6057. }),
  6058. $globals.SweSUGAboutSlide);
  6059. $core.addClass('SweSUGAmberFeaturesSlide', $globals.SweSUGSlide, [], 'Presentation');
  6060. $core.addMethod(
  6061. $core.method({
  6062. selector: "id",
  6063. protocol: 'accessing',
  6064. fn: function (){
  6065. var self=this;
  6066. return "features";
  6067. },
  6068. //>>excludeStart("ide", pragmas.excludeIdeData);
  6069. args: [],
  6070. source: "id\x0a\x09^'features'",
  6071. referencedClasses: [],
  6072. //>>excludeEnd("ide");
  6073. messageSends: []
  6074. }),
  6075. $globals.SweSUGAmberFeaturesSlide);
  6076. $core.addMethod(
  6077. $core.method({
  6078. selector: "renderSlideOn:",
  6079. protocol: 'rendering',
  6080. fn: function (html){
  6081. var self=this;
  6082. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  6083. return $core.withContext(function($ctx1) {
  6084. //>>excludeEnd("ctx");
  6085. var $1,$2,$3,$4,$5,$6,$7;
  6086. $recv($recv(html)._h1())._with_("Amber features");
  6087. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  6088. $ctx1.sendIdx["with:"]=1;
  6089. //>>excludeEnd("ctx");
  6090. $recv($recv(html)._ul())._with_((function(){
  6091. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  6092. return $core.withContext(function($ctx2) {
  6093. //>>excludeEnd("ctx");
  6094. $1=$recv(html)._li();
  6095. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  6096. $ctx2.sendIdx["li"]=1;
  6097. //>>excludeEnd("ctx");
  6098. $recv($1)._with_("Amber is (mostly) written in itself, including the compiler");
  6099. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  6100. $ctx2.sendIdx["with:"]=3;
  6101. //>>excludeEnd("ctx");
  6102. $2=$recv(html)._li();
  6103. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  6104. $ctx2.sendIdx["li"]=2;
  6105. //>>excludeEnd("ctx");
  6106. $recv($2)._with_("Full Smalltalk object system, including classes & metaclasses, etc");
  6107. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  6108. $ctx2.sendIdx["with:"]=4;
  6109. //>>excludeEnd("ctx");
  6110. $3=$recv(html)._li();
  6111. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  6112. $ctx2.sendIdx["li"]=3;
  6113. //>>excludeEnd("ctx");
  6114. $recv($3)._with_("Core libraries (streams, collections, RegExp, etc)");
  6115. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  6116. $ctx2.sendIdx["with:"]=5;
  6117. //>>excludeEnd("ctx");
  6118. $4=$recv(html)._li();
  6119. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  6120. $ctx2.sendIdx["li"]=4;
  6121. //>>excludeEnd("ctx");
  6122. $recv($4)._with_("Web related libraries: HTML Canvas, DOM manipulation");
  6123. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  6124. $ctx2.sendIdx["with:"]=6;
  6125. //>>excludeEnd("ctx");
  6126. $5=$recv(html)._li();
  6127. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  6128. $ctx2.sendIdx["li"]=5;
  6129. //>>excludeEnd("ctx");
  6130. $recv($5)._with_("Very good javascript integration, both ways");
  6131. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  6132. $ctx2.sendIdx["with:"]=7;
  6133. //>>excludeEnd("ctx");
  6134. $6=$recv(html)._li();
  6135. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  6136. $ctx2.sendIdx["li"]=6;
  6137. //>>excludeEnd("ctx");
  6138. $recv($6)._with_("Full featured IDE!");
  6139. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  6140. $ctx2.sendIdx["with:"]=8;
  6141. //>>excludeEnd("ctx");
  6142. return $recv($recv(html)._li())._with_((function(){
  6143. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  6144. return $core.withContext(function($ctx3) {
  6145. //>>excludeEnd("ctx");
  6146. $recv(html)._with_("Advanced features, including ");
  6147. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  6148. $ctx3.sendIdx["with:"]=10;
  6149. //>>excludeEnd("ctx");
  6150. $7=$recv(html)._code();
  6151. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  6152. $ctx3.sendIdx["code"]=1;
  6153. //>>excludeEnd("ctx");
  6154. $recv($7)._with_("#doesNotUnderstand:");
  6155. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  6156. $ctx3.sendIdx["with:"]=11;
  6157. //>>excludeEnd("ctx");
  6158. $recv(html)._with_(" support and ");
  6159. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  6160. $ctx3.sendIdx["with:"]=12;
  6161. //>>excludeEnd("ctx");
  6162. return $recv($recv(html)._code())._with_("thisContext");
  6163. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  6164. }, function($ctx3) {$ctx3.fillBlock({},$ctx2,2)});
  6165. //>>excludeEnd("ctx");
  6166. }));
  6167. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  6168. $ctx2.sendIdx["with:"]=9;
  6169. //>>excludeEnd("ctx");
  6170. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  6171. }, function($ctx2) {$ctx2.fillBlock({},$ctx1,1)});
  6172. //>>excludeEnd("ctx");
  6173. }));
  6174. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  6175. $ctx1.sendIdx["with:"]=2;
  6176. //>>excludeEnd("ctx");
  6177. return self;
  6178. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  6179. }, function($ctx1) {$ctx1.fill(self,"renderSlideOn:",{html:html},$globals.SweSUGAmberFeaturesSlide)});
  6180. //>>excludeEnd("ctx");
  6181. },
  6182. //>>excludeStart("ide", pragmas.excludeIdeData);
  6183. args: ["html"],
  6184. source: "renderSlideOn: html\x0a\x09html h1 with: 'Amber features'.\x0a\x09html ul with: [\x0a\x09\x09html li with: 'Amber is (mostly) written in itself, including the compiler'.\x0a\x09\x09html li with: 'Full Smalltalk object system, including classes & metaclasses, etc'.\x0a\x09\x09html li with: 'Core libraries (streams, collections, RegExp, etc)'.\x0a\x09\x09html li with: 'Web related libraries: HTML Canvas, DOM manipulation'.\x0a\x09\x09html li with: 'Very good javascript integration, both ways'.\x0a\x09\x09html li with: 'Full featured IDE!'.\x0a\x09\x09html li with: [\x0a\x09\x09\x09html with:'Advanced features, including '.\x0a\x09\x09\x09html code with: '#doesNotUnderstand:'.\x0a\x09\x09\x09html with: ' support and '.\x0a\x09\x09\x09html code with: 'thisContext']]",
  6185. referencedClasses: [],
  6186. //>>excludeEnd("ide");
  6187. messageSends: ["with:", "h1", "ul", "li", "code"]
  6188. }),
  6189. $globals.SweSUGAmberFeaturesSlide);
  6190. $core.addClass('SweSUGIntroSlide', $globals.SweSUGSlide, [], 'Presentation');
  6191. $core.addMethod(
  6192. $core.method({
  6193. selector: "id",
  6194. protocol: 'not yet classified',
  6195. fn: function (){
  6196. var self=this;
  6197. return "Intro";
  6198. },
  6199. //>>excludeStart("ide", pragmas.excludeIdeData);
  6200. args: [],
  6201. source: "id\x0a\x09^'Intro'",
  6202. referencedClasses: [],
  6203. //>>excludeEnd("ide");
  6204. messageSends: []
  6205. }),
  6206. $globals.SweSUGIntroSlide);
  6207. $core.addMethod(
  6208. $core.method({
  6209. selector: "renderSlideOn:",
  6210. protocol: 'not yet classified',
  6211. fn: function (html){
  6212. var self=this;
  6213. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  6214. return $core.withContext(function($ctx1) {
  6215. //>>excludeEnd("ctx");
  6216. var $1,$4,$3,$6,$5,$2;
  6217. $1=$recv(html)._div();
  6218. $recv($1)._class_("section center animate");
  6219. $2=$recv($1)._with_((function(){
  6220. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  6221. return $core.withContext(function($ctx2) {
  6222. //>>excludeEnd("ctx");
  6223. $recv($recv(html)._img())._src_("fosdem2012/images/amber.png");
  6224. $4=self._presentation();
  6225. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  6226. $ctx2.sendIdx["presentation"]=1;
  6227. //>>excludeEnd("ctx");
  6228. $3=$recv($4)._author();
  6229. $recv(html)._p_($3);
  6230. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  6231. $ctx2.sendIdx["p:"]=1;
  6232. //>>excludeEnd("ctx");
  6233. $6=self._presentation();
  6234. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  6235. $ctx2.sendIdx["presentation"]=2;
  6236. //>>excludeEnd("ctx");
  6237. $5=$recv($6)._description();
  6238. $recv(html)._p_($5);
  6239. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  6240. $ctx2.sendIdx["p:"]=2;
  6241. //>>excludeEnd("ctx");
  6242. return $recv(html)._p_((function(){
  6243. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  6244. return $core.withContext(function($ctx3) {
  6245. //>>excludeEnd("ctx");
  6246. return $recv(html)._with_($recv(self._presentation())._email());
  6247. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  6248. }, function($ctx3) {$ctx3.fillBlock({},$ctx2,2)});
  6249. //>>excludeEnd("ctx");
  6250. }));
  6251. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  6252. }, function($ctx2) {$ctx2.fillBlock({},$ctx1,1)});
  6253. //>>excludeEnd("ctx");
  6254. }));
  6255. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  6256. $ctx1.sendIdx["with:"]=1;
  6257. //>>excludeEnd("ctx");
  6258. return self;
  6259. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  6260. }, function($ctx1) {$ctx1.fill(self,"renderSlideOn:",{html:html},$globals.SweSUGIntroSlide)});
  6261. //>>excludeEnd("ctx");
  6262. },
  6263. //>>excludeStart("ide", pragmas.excludeIdeData);
  6264. args: ["html"],
  6265. source: "renderSlideOn: html\x0a\x09html div class: 'section center animate'; with: [\x0a\x09\x09html img src: 'fosdem2012/images/amber.png'.\x0a\x09\x09html p: self presentation author.\x0a \x09html p: self presentation description.\x0a\x09\x09html p: [\x0a\x09\x09\x09html with: self presentation email]].",
  6266. referencedClasses: [],
  6267. //>>excludeEnd("ide");
  6268. messageSends: ["class:", "div", "with:", "src:", "img", "p:", "author", "presentation", "description", "email"]
  6269. }),
  6270. $globals.SweSUGIntroSlide);
  6271. $core.addClass('SweSUGWhatIsAmberSlide', $globals.SweSUGSlide, [], 'Presentation');
  6272. $core.addMethod(
  6273. $core.method({
  6274. selector: "id",
  6275. protocol: 'accessing',
  6276. fn: function (){
  6277. var self=this;
  6278. return "WhatIsAmber";
  6279. },
  6280. //>>excludeStart("ide", pragmas.excludeIdeData);
  6281. args: [],
  6282. source: "id\x0a\x09^'WhatIsAmber'",
  6283. referencedClasses: [],
  6284. //>>excludeEnd("ide");
  6285. messageSends: []
  6286. }),
  6287. $globals.SweSUGWhatIsAmberSlide);
  6288. $core.addMethod(
  6289. $core.method({
  6290. selector: "renderSlideOn:",
  6291. protocol: 'rendering',
  6292. fn: function (html){
  6293. var self=this;
  6294. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  6295. return $core.withContext(function($ctx1) {
  6296. //>>excludeEnd("ctx");
  6297. var $1,$3,$4,$5,$6,$7,$2;
  6298. $1=$recv(html)._div();
  6299. $recv($1)._class_("section center");
  6300. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  6301. $ctx1.sendIdx["class:"]=1;
  6302. //>>excludeEnd("ctx");
  6303. $2=$recv($1)._with_((function(){
  6304. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  6305. return $core.withContext(function($ctx2) {
  6306. //>>excludeEnd("ctx");
  6307. $recv(html)._img_("esug2011/images/balloon.jpg");
  6308. $recv($recv(html)._h1())._with_("Amber in a nutshell");
  6309. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  6310. $ctx2.sendIdx["with:"]=2;
  6311. //>>excludeEnd("ctx");
  6312. $3=$recv(html)._h2();
  6313. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  6314. $ctx2.sendIdx["h2"]=1;
  6315. //>>excludeEnd("ctx");
  6316. $recv($3)._with_("Amber is a true Smalltalk");
  6317. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  6318. $ctx2.sendIdx["with:"]=3;
  6319. //>>excludeEnd("ctx");
  6320. $4=$recv(html)._h2();
  6321. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  6322. $ctx2.sendIdx["h2"]=2;
  6323. //>>excludeEnd("ctx");
  6324. $recv($4)._with_("It compiles to and runs on/in JavaScript");
  6325. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  6326. $ctx2.sendIdx["with:"]=4;
  6327. //>>excludeEnd("ctx");
  6328. $5=$recv(html)._h2();
  6329. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  6330. $ctx2.sendIdx["h2"]=3;
  6331. //>>excludeEnd("ctx");
  6332. $recv($5)._with_("MIT license");
  6333. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  6334. $ctx2.sendIdx["with:"]=5;
  6335. //>>excludeEnd("ctx");
  6336. $6=$recv(html)._h2();
  6337. $recv($6)._class_("fancy");
  6338. $7=$recv($6)._with_("Amber is way cool!");
  6339. return $7;
  6340. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  6341. }, function($ctx2) {$ctx2.fillBlock({},$ctx1,1)});
  6342. //>>excludeEnd("ctx");
  6343. }));
  6344. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  6345. $ctx1.sendIdx["with:"]=1;
  6346. //>>excludeEnd("ctx");
  6347. return self;
  6348. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  6349. }, function($ctx1) {$ctx1.fill(self,"renderSlideOn:",{html:html},$globals.SweSUGWhatIsAmberSlide)});
  6350. //>>excludeEnd("ctx");
  6351. },
  6352. //>>excludeStart("ide", pragmas.excludeIdeData);
  6353. args: ["html"],
  6354. source: "renderSlideOn: html\x0a\x09html div class: 'section center'; with: [\x0a\x09\x09html img: 'esug2011/images/balloon.jpg'.\x0a\x09\x09html h1 with: 'Amber in a nutshell'.\x0a\x09\x09html h2 with: 'Amber is a true Smalltalk'.\x0a\x09\x09html h2 with: 'It compiles to and runs on/in JavaScript'.\x0a\x09\x09html h2 with: 'MIT license'.\x0a\x09\x09html h2 class: 'fancy'; with: 'Amber is way cool!']",
  6355. referencedClasses: [],
  6356. //>>excludeEnd("ide");
  6357. messageSends: ["class:", "div", "with:", "img:", "h1", "h2"]
  6358. }),
  6359. $globals.SweSUGWhatIsAmberSlide);
  6360. $core.addClass('SweSUGWorkspaceSlide', $globals.SweSUGSlide, [], 'Presentation');
  6361. $core.addMethod(
  6362. $core.method({
  6363. selector: "backgroundColor",
  6364. protocol: 'accessing',
  6365. fn: function (){
  6366. var self=this;
  6367. return "#18bd7d";
  6368. },
  6369. //>>excludeStart("ide", pragmas.excludeIdeData);
  6370. args: [],
  6371. source: "backgroundColor\x0a\x09^'#18bd7d'",
  6372. referencedClasses: [],
  6373. //>>excludeEnd("ide");
  6374. messageSends: []
  6375. }),
  6376. $globals.SweSUGWorkspaceSlide);
  6377. $core.addMethod(
  6378. $core.method({
  6379. selector: "id",
  6380. protocol: 'accessing',
  6381. fn: function (){
  6382. var self=this;
  6383. return "workspace";
  6384. },
  6385. //>>excludeStart("ide", pragmas.excludeIdeData);
  6386. args: [],
  6387. source: "id\x0a\x09^'workspace'",
  6388. referencedClasses: [],
  6389. //>>excludeEnd("ide");
  6390. messageSends: []
  6391. }),
  6392. $globals.SweSUGWorkspaceSlide);
  6393. $core.addMethod(
  6394. $core.method({
  6395. selector: "renderSlideOn:",
  6396. protocol: 'accessing',
  6397. fn: function (html){
  6398. var self=this;
  6399. var workspace;
  6400. function $SourceArea(){return $globals.SourceArea||(typeof SourceArea=="undefined"?nil:SourceArea)}
  6401. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  6402. return $core.withContext(function($ctx1) {
  6403. //>>excludeEnd("ctx");
  6404. var $1,$3,$4,$5,$6,$7,$8,$2;
  6405. workspace=$recv($SourceArea())._new();
  6406. $1=$recv(html)._div();
  6407. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  6408. $ctx1.sendIdx["div"]=1;
  6409. //>>excludeEnd("ctx");
  6410. $recv($1)._class_("section center");
  6411. $2=$recv($1)._with_((function(){
  6412. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  6413. return $core.withContext(function($ctx2) {
  6414. //>>excludeEnd("ctx");
  6415. $recv($recv(html)._h1())._with_("Give Amber a try!");
  6416. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  6417. $ctx2.sendIdx["with:"]=2;
  6418. //>>excludeEnd("ctx");
  6419. $recv(workspace)._renderOn_(html);
  6420. return $recv($recv(html)._div())._with_((function(){
  6421. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  6422. return $core.withContext(function($ctx3) {
  6423. //>>excludeEnd("ctx");
  6424. $3=$recv(html)._button();
  6425. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  6426. $ctx3.sendIdx["button"]=1;
  6427. //>>excludeEnd("ctx");
  6428. $recv($3)._with_("DoIt");
  6429. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  6430. $ctx3.sendIdx["with:"]=4;
  6431. //>>excludeEnd("ctx");
  6432. $4=$recv($3)._onClick_((function(){
  6433. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  6434. return $core.withContext(function($ctx4) {
  6435. //>>excludeEnd("ctx");
  6436. return $recv(workspace)._doIt();
  6437. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  6438. }, function($ctx4) {$ctx4.fillBlock({},$ctx3,3)});
  6439. //>>excludeEnd("ctx");
  6440. }));
  6441. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  6442. $ctx3.sendIdx["onClick:"]=1;
  6443. //>>excludeEnd("ctx");
  6444. $4;
  6445. $5=$recv(html)._button();
  6446. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  6447. $ctx3.sendIdx["button"]=2;
  6448. //>>excludeEnd("ctx");
  6449. $recv($5)._with_("PrintIt");
  6450. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  6451. $ctx3.sendIdx["with:"]=5;
  6452. //>>excludeEnd("ctx");
  6453. $6=$recv($5)._onClick_((function(){
  6454. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  6455. return $core.withContext(function($ctx4) {
  6456. //>>excludeEnd("ctx");
  6457. return $recv(workspace)._printIt();
  6458. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  6459. }, function($ctx4) {$ctx4.fillBlock({},$ctx3,4)});
  6460. //>>excludeEnd("ctx");
  6461. }));
  6462. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  6463. $ctx3.sendIdx["onClick:"]=2;
  6464. //>>excludeEnd("ctx");
  6465. $6;
  6466. $7=$recv(html)._button();
  6467. $recv($7)._with_("InspectIt");
  6468. $8=$recv($7)._onClick_((function(){
  6469. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  6470. return $core.withContext(function($ctx4) {
  6471. //>>excludeEnd("ctx");
  6472. return $recv(workspace)._inspectIt();
  6473. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  6474. }, function($ctx4) {$ctx4.fillBlock({},$ctx3,5)});
  6475. //>>excludeEnd("ctx");
  6476. }));
  6477. return $8;
  6478. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  6479. }, function($ctx3) {$ctx3.fillBlock({},$ctx2,2)});
  6480. //>>excludeEnd("ctx");
  6481. }));
  6482. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  6483. $ctx2.sendIdx["with:"]=3;
  6484. //>>excludeEnd("ctx");
  6485. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  6486. }, function($ctx2) {$ctx2.fillBlock({},$ctx1,1)});
  6487. //>>excludeEnd("ctx");
  6488. }));
  6489. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  6490. $ctx1.sendIdx["with:"]=1;
  6491. //>>excludeEnd("ctx");
  6492. return self;
  6493. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  6494. }, function($ctx1) {$ctx1.fill(self,"renderSlideOn:",{html:html,workspace:workspace},$globals.SweSUGWorkspaceSlide)});
  6495. //>>excludeEnd("ctx");
  6496. },
  6497. //>>excludeStart("ide", pragmas.excludeIdeData);
  6498. args: ["html"],
  6499. source: "renderSlideOn: html\x0a\x09| workspace |\x0a\x09workspace := SourceArea new.\x0a\x09html div class: 'section center'; with: [\x0a\x09\x09html h1 with: 'Give Amber a try!'.\x0a\x09\x09workspace renderOn: html.\x0a\x09\x09html div with: [\x0a\x09\x09\x09html button\x0a\x09\x09\x09\x09with: 'DoIt';\x0a\x09\x09\x09\x09onClick: [workspace doIt].\x0a\x09\x09\x09html button\x0a\x09\x09\x09\x09with: 'PrintIt';\x0a\x09\x09\x09\x09onClick: [workspace printIt].\x0a\x09\x09\x09html button\x0a\x09\x09\x09\x09with: 'InspectIt';\x0a\x09\x09\x09\x09onClick: [workspace inspectIt]]]",
  6500. referencedClasses: ["SourceArea"],
  6501. //>>excludeEnd("ide");
  6502. messageSends: ["new", "class:", "div", "with:", "h1", "renderOn:", "button", "onClick:", "doIt", "printIt", "inspectIt"]
  6503. }),
  6504. $globals.SweSUGWorkspaceSlide);
  6505. $core.addClass('WhatIsJtalkSlide', $globals.Slide, [], 'Presentation');
  6506. $core.addMethod(
  6507. $core.method({
  6508. selector: "id",
  6509. protocol: 'accessing',
  6510. fn: function (){
  6511. var self=this;
  6512. return "WhatIsJtalk";
  6513. },
  6514. //>>excludeStart("ide", pragmas.excludeIdeData);
  6515. args: [],
  6516. source: "id\x0a\x09^'WhatIsJtalk'",
  6517. referencedClasses: [],
  6518. //>>excludeEnd("ide");
  6519. messageSends: []
  6520. }),
  6521. $globals.WhatIsJtalkSlide);
  6522. $core.addMethod(
  6523. $core.method({
  6524. selector: "renderSlideOn:",
  6525. protocol: 'rendering',
  6526. fn: function (html){
  6527. var self=this;
  6528. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  6529. return $core.withContext(function($ctx1) {
  6530. //>>excludeEnd("ctx");
  6531. var $1,$3,$4,$5,$6,$7,$2;
  6532. $1=$recv(html)._div();
  6533. $recv($1)._class_("section center");
  6534. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  6535. $ctx1.sendIdx["class:"]=1;
  6536. //>>excludeEnd("ctx");
  6537. $2=$recv($1)._with_((function(){
  6538. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  6539. return $core.withContext(function($ctx2) {
  6540. //>>excludeEnd("ctx");
  6541. $recv($recv(html)._h1())._with_("Jtalk in a nutshell");
  6542. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  6543. $ctx2.sendIdx["with:"]=2;
  6544. //>>excludeEnd("ctx");
  6545. $3=$recv(html)._h2();
  6546. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  6547. $ctx2.sendIdx["h2"]=1;
  6548. //>>excludeEnd("ctx");
  6549. $recv($3)._with_("Jtalk is an implementation of Smalltalk");
  6550. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  6551. $ctx2.sendIdx["with:"]=3;
  6552. //>>excludeEnd("ctx");
  6553. $4=$recv(html)._h2();
  6554. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  6555. $ctx2.sendIdx["h2"]=2;
  6556. //>>excludeEnd("ctx");
  6557. $recv($4)._with_("Jtalk runs on top of the JavaScript runtime");
  6558. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  6559. $ctx2.sendIdx["with:"]=4;
  6560. //>>excludeEnd("ctx");
  6561. $5=$recv(html)._h2();
  6562. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  6563. $ctx2.sendIdx["h2"]=3;
  6564. //>>excludeEnd("ctx");
  6565. $recv($5)._with_("Jtalk is an opensource project (MIT)");
  6566. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  6567. $ctx2.sendIdx["with:"]=5;
  6568. //>>excludeEnd("ctx");
  6569. $6=$recv(html)._h2();
  6570. $recv($6)._class_("fancy");
  6571. $7=$recv($6)._with_("Jtalk is cool!");
  6572. return $7;
  6573. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  6574. }, function($ctx2) {$ctx2.fillBlock({},$ctx1,1)});
  6575. //>>excludeEnd("ctx");
  6576. }));
  6577. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  6578. $ctx1.sendIdx["with:"]=1;
  6579. //>>excludeEnd("ctx");
  6580. return self;
  6581. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  6582. }, function($ctx1) {$ctx1.fill(self,"renderSlideOn:",{html:html},$globals.WhatIsJtalkSlide)});
  6583. //>>excludeEnd("ctx");
  6584. },
  6585. //>>excludeStart("ide", pragmas.excludeIdeData);
  6586. args: ["html"],
  6587. source: "renderSlideOn: html\x0a\x09html div class: 'section center'; with: [\x0a\x09\x09html h1 with: 'Jtalk in a nutshell'.\x0a\x09\x09html h2 with: 'Jtalk is an implementation of Smalltalk'.\x0a\x09\x09html h2 with: 'Jtalk runs on top of the JavaScript runtime'.\x0a\x09\x09html h2 with: 'Jtalk is an opensource project (MIT)'.\x0a\x09\x09html h2 class: 'fancy'; with: 'Jtalk is cool!']",
  6588. referencedClasses: [],
  6589. //>>excludeEnd("ide");
  6590. messageSends: ["class:", "div", "with:", "h1", "h2"]
  6591. }),
  6592. $globals.WhatIsJtalkSlide);
  6593. $core.addClass('WorkspaceSlide', $globals.Slide, [], 'Presentation');
  6594. $core.addMethod(
  6595. $core.method({
  6596. selector: "backgroundColor",
  6597. protocol: 'accessing',
  6598. fn: function (){
  6599. var self=this;
  6600. return "#18bd7d";
  6601. },
  6602. //>>excludeStart("ide", pragmas.excludeIdeData);
  6603. args: [],
  6604. source: "backgroundColor\x0a\x09^'#18bd7d'",
  6605. referencedClasses: [],
  6606. //>>excludeEnd("ide");
  6607. messageSends: []
  6608. }),
  6609. $globals.WorkspaceSlide);
  6610. $core.addMethod(
  6611. $core.method({
  6612. selector: "id",
  6613. protocol: 'accessing',
  6614. fn: function (){
  6615. var self=this;
  6616. return "workspace";
  6617. },
  6618. //>>excludeStart("ide", pragmas.excludeIdeData);
  6619. args: [],
  6620. source: "id\x0a\x09^'workspace'",
  6621. referencedClasses: [],
  6622. //>>excludeEnd("ide");
  6623. messageSends: []
  6624. }),
  6625. $globals.WorkspaceSlide);
  6626. $core.addMethod(
  6627. $core.method({
  6628. selector: "renderSlideOn:",
  6629. protocol: 'accessing',
  6630. fn: function (html){
  6631. var self=this;
  6632. var workspace;
  6633. function $SourceArea(){return $globals.SourceArea||(typeof SourceArea=="undefined"?nil:SourceArea)}
  6634. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  6635. return $core.withContext(function($ctx1) {
  6636. //>>excludeEnd("ctx");
  6637. var $1,$3,$4,$5,$6,$7,$8,$2;
  6638. workspace=$recv($SourceArea())._new();
  6639. $1=$recv(html)._div();
  6640. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  6641. $ctx1.sendIdx["div"]=1;
  6642. //>>excludeEnd("ctx");
  6643. $recv($1)._class_("section center");
  6644. $2=$recv($1)._with_((function(){
  6645. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  6646. return $core.withContext(function($ctx2) {
  6647. //>>excludeEnd("ctx");
  6648. $recv($recv(html)._h1())._with_("Give Jtalk a try!");
  6649. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  6650. $ctx2.sendIdx["with:"]=2;
  6651. //>>excludeEnd("ctx");
  6652. $recv(workspace)._renderOn_(html);
  6653. return $recv($recv(html)._div())._with_((function(){
  6654. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  6655. return $core.withContext(function($ctx3) {
  6656. //>>excludeEnd("ctx");
  6657. $3=$recv(html)._button();
  6658. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  6659. $ctx3.sendIdx["button"]=1;
  6660. //>>excludeEnd("ctx");
  6661. $recv($3)._with_("DoIt");
  6662. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  6663. $ctx3.sendIdx["with:"]=4;
  6664. //>>excludeEnd("ctx");
  6665. $4=$recv($3)._onClick_((function(){
  6666. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  6667. return $core.withContext(function($ctx4) {
  6668. //>>excludeEnd("ctx");
  6669. return $recv(workspace)._doIt();
  6670. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  6671. }, function($ctx4) {$ctx4.fillBlock({},$ctx3,3)});
  6672. //>>excludeEnd("ctx");
  6673. }));
  6674. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  6675. $ctx3.sendIdx["onClick:"]=1;
  6676. //>>excludeEnd("ctx");
  6677. $4;
  6678. $5=$recv(html)._button();
  6679. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  6680. $ctx3.sendIdx["button"]=2;
  6681. //>>excludeEnd("ctx");
  6682. $recv($5)._with_("PrintIt");
  6683. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  6684. $ctx3.sendIdx["with:"]=5;
  6685. //>>excludeEnd("ctx");
  6686. $6=$recv($5)._onClick_((function(){
  6687. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  6688. return $core.withContext(function($ctx4) {
  6689. //>>excludeEnd("ctx");
  6690. return $recv(workspace)._printIt();
  6691. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  6692. }, function($ctx4) {$ctx4.fillBlock({},$ctx3,4)});
  6693. //>>excludeEnd("ctx");
  6694. }));
  6695. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  6696. $ctx3.sendIdx["onClick:"]=2;
  6697. //>>excludeEnd("ctx");
  6698. $6;
  6699. $7=$recv(html)._button();
  6700. $recv($7)._with_("InspectIt");
  6701. $8=$recv($7)._onClick_((function(){
  6702. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  6703. return $core.withContext(function($ctx4) {
  6704. //>>excludeEnd("ctx");
  6705. return $recv(workspace)._inspectIt();
  6706. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  6707. }, function($ctx4) {$ctx4.fillBlock({},$ctx3,5)});
  6708. //>>excludeEnd("ctx");
  6709. }));
  6710. return $8;
  6711. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  6712. }, function($ctx3) {$ctx3.fillBlock({},$ctx2,2)});
  6713. //>>excludeEnd("ctx");
  6714. }));
  6715. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  6716. $ctx2.sendIdx["with:"]=3;
  6717. //>>excludeEnd("ctx");
  6718. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  6719. }, function($ctx2) {$ctx2.fillBlock({},$ctx1,1)});
  6720. //>>excludeEnd("ctx");
  6721. }));
  6722. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  6723. $ctx1.sendIdx["with:"]=1;
  6724. //>>excludeEnd("ctx");
  6725. return self;
  6726. //>>excludeStart("ctx", pragmas.excludeDebugContexts);
  6727. }, function($ctx1) {$ctx1.fill(self,"renderSlideOn:",{html:html,workspace:workspace},$globals.WorkspaceSlide)});
  6728. //>>excludeEnd("ctx");
  6729. },
  6730. //>>excludeStart("ide", pragmas.excludeIdeData);
  6731. args: ["html"],
  6732. source: "renderSlideOn: html\x0a\x09| workspace |\x0a\x09workspace := SourceArea new.\x0a\x09html div class: 'section center'; with: [\x0a\x09\x09html h1 with: 'Give Jtalk a try!'.\x0a\x09\x09workspace renderOn: html.\x0a\x09\x09html div with: [\x0a\x09\x09\x09html button\x0a\x09\x09\x09\x09with: 'DoIt';\x0a\x09\x09\x09\x09onClick: [workspace doIt].\x0a\x09\x09\x09html button\x0a\x09\x09\x09\x09with: 'PrintIt';\x0a\x09\x09\x09\x09onClick: [workspace printIt].\x0a\x09\x09\x09html button\x0a\x09\x09\x09\x09with: 'InspectIt';\x0a\x09\x09\x09\x09onClick: [workspace inspectIt]]]",
  6733. referencedClasses: ["SourceArea"],
  6734. //>>excludeEnd("ide");
  6735. messageSends: ["new", "class:", "div", "with:", "h1", "renderOn:", "button", "onClick:", "doIt", "printIt", "inspectIt"]
  6736. }),
  6737. $globals.WorkspaceSlide);
  6738. });