123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499 |
- smalltalk.addPackage('Canvas', {});
- smalltalk.addClass('HTMLCanvas', smalltalk.Object, ['root'], 'Canvas');
- smalltalk.addMethod(
- "_a",
- smalltalk.method({
- selector: "a",
- fn: function (){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
var $1;
- $1=_st(self)._tag_("a");
- return $1;
- }, function($ctx1) {$ctx1.fill(self,"a",{}, smalltalk.HTMLCanvas)})}
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_abbr",
- smalltalk.method({
- selector: "abbr",
- fn: function (){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
var $1;
- $1=_st(self)._tag_("abbr");
- return $1;
- }, function($ctx1) {$ctx1.fill(self,"abbr",{}, smalltalk.HTMLCanvas)})}
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_address",
- smalltalk.method({
- selector: "address",
- fn: function (){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
var $1;
- $1=_st(self)._tag_("address");
- return $1;
- }, function($ctx1) {$ctx1.fill(self,"address",{}, smalltalk.HTMLCanvas)})}
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_area",
- smalltalk.method({
- selector: "area",
- fn: function (){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
var $1;
- $1=_st(self)._tag_("area");
- return $1;
- }, function($ctx1) {$ctx1.fill(self,"area",{}, smalltalk.HTMLCanvas)})}
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_article",
- smalltalk.method({
- selector: "article",
- fn: function (){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
var $1;
- $1=_st(self)._tag_("article");
- return $1;
- }, function($ctx1) {$ctx1.fill(self,"article",{}, smalltalk.HTMLCanvas)})}
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_aside",
- smalltalk.method({
- selector: "aside",
- fn: function (){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
var $1;
- $1=_st(self)._tag_("aside");
- return $1;
- }, function($ctx1) {$ctx1.fill(self,"aside",{}, smalltalk.HTMLCanvas)})}
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_audio",
- smalltalk.method({
- selector: "audio",
- fn: function (){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
var $1;
- $1=_st(self)._tag_("audio");
- return $1;
- }, function($ctx1) {$ctx1.fill(self,"audio",{}, smalltalk.HTMLCanvas)})}
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_base",
- smalltalk.method({
- selector: "base",
- fn: function (){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
var $1;
- $1=_st(self)._tag_("base");
- return $1;
- }, function($ctx1) {$ctx1.fill(self,"base",{}, smalltalk.HTMLCanvas)})}
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_blockquote",
- smalltalk.method({
- selector: "blockquote",
- fn: function (){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
var $1;
- $1=_st(self)._tag_("blockquote");
- return $1;
- }, function($ctx1) {$ctx1.fill(self,"blockquote",{}, smalltalk.HTMLCanvas)})}
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_body",
- smalltalk.method({
- selector: "body",
- fn: function (){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
var $1;
- $1=_st(self)._tag_("body");
- return $1;
- }, function($ctx1) {$ctx1.fill(self,"body",{}, smalltalk.HTMLCanvas)})}
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_br",
- smalltalk.method({
- selector: "br",
- fn: function (){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
var $1;
- $1=_st(self)._tag_("br");
- return $1;
- }, function($ctx1) {$ctx1.fill(self,"br",{}, smalltalk.HTMLCanvas)})}
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_button",
- smalltalk.method({
- selector: "button",
- fn: function (){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
var $1;
- $1=_st(self)._tag_("button");
- return $1;
- }, function($ctx1) {$ctx1.fill(self,"button",{}, smalltalk.HTMLCanvas)})}
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_canvas",
- smalltalk.method({
- selector: "canvas",
- fn: function (){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
var $1;
- $1=_st(self)._tag_("canvas");
- return $1;
- }, function($ctx1) {$ctx1.fill(self,"canvas",{}, smalltalk.HTMLCanvas)})}
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_caption",
- smalltalk.method({
- selector: "caption",
- fn: function (){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
var $1;
- $1=_st(self)._tag_("caption");
- return $1;
- }, function($ctx1) {$ctx1.fill(self,"caption",{}, smalltalk.HTMLCanvas)})}
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_cite",
- smalltalk.method({
- selector: "cite",
- fn: function (){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
var $1;
- $1=_st(self)._tag_("cite");
- return $1;
- }, function($ctx1) {$ctx1.fill(self,"cite",{}, smalltalk.HTMLCanvas)})}
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_code",
- smalltalk.method({
- selector: "code",
- fn: function (){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
var $1;
- $1=_st(self)._tag_("code");
- return $1;
- }, function($ctx1) {$ctx1.fill(self,"code",{}, smalltalk.HTMLCanvas)})}
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_col",
- smalltalk.method({
- selector: "col",
- fn: function (){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
var $1;
- $1=_st(self)._tag_("col");
- return $1;
- }, function($ctx1) {$ctx1.fill(self,"col",{}, smalltalk.HTMLCanvas)})}
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_colgroup",
- smalltalk.method({
- selector: "colgroup",
- fn: function (){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
var $1;
- $1=_st(self)._tag_("colgroup");
- return $1;
- }, function($ctx1) {$ctx1.fill(self,"colgroup",{}, smalltalk.HTMLCanvas)})}
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_command",
- smalltalk.method({
- selector: "command",
- fn: function (){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
var $1;
- $1=_st(self)._tag_("command");
- return $1;
- }, function($ctx1) {$ctx1.fill(self,"command",{}, smalltalk.HTMLCanvas)})}
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_datalist",
- smalltalk.method({
- selector: "datalist",
- fn: function (){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
var $1;
- $1=_st(self)._tag_("datalist");
- return $1;
- }, function($ctx1) {$ctx1.fill(self,"datalist",{}, smalltalk.HTMLCanvas)})}
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_dd",
- smalltalk.method({
- selector: "dd",
- fn: function (){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
var $1;
- $1=_st(self)._tag_("dd");
- return $1;
- }, function($ctx1) {$ctx1.fill(self,"dd",{}, smalltalk.HTMLCanvas)})}
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_del",
- smalltalk.method({
- selector: "del",
- fn: function (){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
var $1;
- $1=_st(self)._tag_("del");
- return $1;
- }, function($ctx1) {$ctx1.fill(self,"del",{}, smalltalk.HTMLCanvas)})}
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_details",
- smalltalk.method({
- selector: "details",
- fn: function (){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
var $1;
- $1=_st(self)._tag_("details");
- return $1;
- }, function($ctx1) {$ctx1.fill(self,"details",{}, smalltalk.HTMLCanvas)})}
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_div",
- smalltalk.method({
- selector: "div",
- fn: function (){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
var $1;
- $1=_st(self)._tag_("div");
- return $1;
- }, function($ctx1) {$ctx1.fill(self,"div",{}, smalltalk.HTMLCanvas)})}
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_div_",
- smalltalk.method({
- selector: "div:",
- fn: function (aBlock){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
var $1;
- $1=_st(_st(self)._div())._with_(aBlock);
- return $1;
- }, function($ctx1) {$ctx1.fill(self,"div:",{aBlock:aBlock}, smalltalk.HTMLCanvas)})}
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_dl",
- smalltalk.method({
- selector: "dl",
- fn: function (){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
var $1;
- $1=_st(self)._tag_("dl");
- return $1;
- }, function($ctx1) {$ctx1.fill(self,"dl",{}, smalltalk.HTMLCanvas)})}
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_dt",
- smalltalk.method({
- selector: "dt",
- fn: function (){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
var $1;
- $1=_st(self)._tag_("dt");
- return $1;
- }, function($ctx1) {$ctx1.fill(self,"dt",{}, smalltalk.HTMLCanvas)})}
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_em",
- smalltalk.method({
- selector: "em",
- fn: function (){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
var $1;
- $1=_st(self)._tag_("em");
- return $1;
- }, function($ctx1) {$ctx1.fill(self,"em",{}, smalltalk.HTMLCanvas)})}
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_embed",
- smalltalk.method({
- selector: "embed",
- fn: function (){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
var $1;
- $1=_st(self)._tag_("embed");
- return $1;
- }, function($ctx1) {$ctx1.fill(self,"embed",{}, smalltalk.HTMLCanvas)})}
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_fieldset",
- smalltalk.method({
- selector: "fieldset",
- fn: function (){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
var $1;
- $1=_st(self)._tag_("fieldset");
- return $1;
- }, function($ctx1) {$ctx1.fill(self,"fieldset",{}, smalltalk.HTMLCanvas)})}
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_figcaption",
- smalltalk.method({
- selector: "figcaption",
- fn: function (){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
var $1;
- $1=_st(self)._tag_("figcaption");
- return $1;
- }, function($ctx1) {$ctx1.fill(self,"figcaption",{}, smalltalk.HTMLCanvas)})}
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_figure",
- smalltalk.method({
- selector: "figure",
- fn: function (){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
var $1;
- $1=_st(self)._tag_("figure");
- return $1;
- }, function($ctx1) {$ctx1.fill(self,"figure",{}, smalltalk.HTMLCanvas)})}
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_footer",
- smalltalk.method({
- selector: "footer",
- fn: function (){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
var $1;
- $1=_st(self)._tag_("footer");
- return $1;
- }, function($ctx1) {$ctx1.fill(self,"footer",{}, smalltalk.HTMLCanvas)})}
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_form",
- smalltalk.method({
- selector: "form",
- fn: function (){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
var $1;
- $1=_st(self)._tag_("form");
- return $1;
- }, function($ctx1) {$ctx1.fill(self,"form",{}, smalltalk.HTMLCanvas)})}
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_h1",
- smalltalk.method({
- selector: "h1",
- fn: function (){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
var $1;
- $1=_st(self)._tag_("h1");
- return $1;
- }, function($ctx1) {$ctx1.fill(self,"h1",{}, smalltalk.HTMLCanvas)})}
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_h1_",
- smalltalk.method({
- selector: "h1:",
- fn: function (anObject){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
var $1;
- $1=_st(_st(self)._h1())._with_(anObject);
- return $1;
- }, function($ctx1) {$ctx1.fill(self,"h1:",{anObject:anObject}, smalltalk.HTMLCanvas)})}
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_h2",
- smalltalk.method({
- selector: "h2",
- fn: function (){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
var $1;
- $1=_st(self)._tag_("h2");
- return $1;
- }, function($ctx1) {$ctx1.fill(self,"h2",{}, smalltalk.HTMLCanvas)})}
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_h2_",
- smalltalk.method({
- selector: "h2:",
- fn: function (anObject){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
var $1;
- $1=_st(_st(self)._h2())._with_(anObject);
- return $1;
- }, function($ctx1) {$ctx1.fill(self,"h2:",{anObject:anObject}, smalltalk.HTMLCanvas)})}
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_h3",
- smalltalk.method({
- selector: "h3",
- fn: function (){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
var $1;
- $1=_st(self)._tag_("h3");
- return $1;
- }, function($ctx1) {$ctx1.fill(self,"h3",{}, smalltalk.HTMLCanvas)})}
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_h3_",
- smalltalk.method({
- selector: "h3:",
- fn: function (anObject){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
var $1;
- $1=_st(_st(self)._h3())._with_(anObject);
- return $1;
- }, function($ctx1) {$ctx1.fill(self,"h3:",{anObject:anObject}, smalltalk.HTMLCanvas)})}
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_h4",
- smalltalk.method({
- selector: "h4",
- fn: function (){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
var $1;
- $1=_st(self)._tag_("h4");
- return $1;
- }, function($ctx1) {$ctx1.fill(self,"h4",{}, smalltalk.HTMLCanvas)})}
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_h4_",
- smalltalk.method({
- selector: "h4:",
- fn: function (anObject){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
var $1;
- $1=_st(_st(self)._h4())._with_(anObject);
- return $1;
- }, function($ctx1) {$ctx1.fill(self,"h4:",{anObject:anObject}, smalltalk.HTMLCanvas)})}
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_h5",
- smalltalk.method({
- selector: "h5",
- fn: function (){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
var $1;
- $1=_st(self)._tag_("h5");
- return $1;
- }, function($ctx1) {$ctx1.fill(self,"h5",{}, smalltalk.HTMLCanvas)})}
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_h5_",
- smalltalk.method({
- selector: "h5:",
- fn: function (anObject){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
var $1;
- $1=_st(_st(self)._h5())._with_(anObject);
- return $1;
- }, function($ctx1) {$ctx1.fill(self,"h5:",{anObject:anObject}, smalltalk.HTMLCanvas)})}
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_h6",
- smalltalk.method({
- selector: "h6",
- fn: function (){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
var $1;
- $1=_st(self)._tag_("h6");
- return $1;
- }, function($ctx1) {$ctx1.fill(self,"h6",{}, smalltalk.HTMLCanvas)})}
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_h6_",
- smalltalk.method({
- selector: "h6:",
- fn: function (anObject){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
var $1;
- $1=_st(_st(self)._h6())._with_(anObject);
- return $1;
- }, function($ctx1) {$ctx1.fill(self,"h6:",{anObject:anObject}, smalltalk.HTMLCanvas)})}
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_head",
- smalltalk.method({
- selector: "head",
- fn: function (){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
var $1;
- $1=_st(self)._tag_("head");
- return $1;
- }, function($ctx1) {$ctx1.fill(self,"head",{}, smalltalk.HTMLCanvas)})}
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_header",
- smalltalk.method({
- selector: "header",
- fn: function (){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
var $1;
- $1=_st(self)._tag_("header");
- return $1;
- }, function($ctx1) {$ctx1.fill(self,"header",{}, smalltalk.HTMLCanvas)})}
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_hgroup",
- smalltalk.method({
- selector: "hgroup",
- fn: function (){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
var $1;
- $1=_st(self)._tag_("hgroup");
- return $1;
- }, function($ctx1) {$ctx1.fill(self,"hgroup",{}, smalltalk.HTMLCanvas)})}
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_hr",
- smalltalk.method({
- selector: "hr",
- fn: function (){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
var $1;
- $1=_st(self)._tag_("hr");
- return $1;
- }, function($ctx1) {$ctx1.fill(self,"hr",{}, smalltalk.HTMLCanvas)})}
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_html",
- smalltalk.method({
- selector: "html",
- fn: function (){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
var $1;
- $1=_st(self)._tag_("html");
- return $1;
- }, function($ctx1) {$ctx1.fill(self,"html",{}, smalltalk.HTMLCanvas)})}
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_iframe",
- smalltalk.method({
- selector: "iframe",
- fn: function (){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
var $1;
- $1=_st(self)._tag_("iframe");
- return $1;
- }, function($ctx1) {$ctx1.fill(self,"iframe",{}, smalltalk.HTMLCanvas)})}
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_iframe_",
- smalltalk.method({
- selector: "iframe:",
- fn: function (aString){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
var $1;
- $1=_st(_st(self)._iframe())._src_(aString);
- return $1;
- }, function($ctx1) {$ctx1.fill(self,"iframe:",{aString:aString}, smalltalk.HTMLCanvas)})}
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_img",
- smalltalk.method({
- selector: "img",
- fn: function (){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
var $1;
- $1=_st(self)._tag_("img");
- return $1;
- }, function($ctx1) {$ctx1.fill(self,"img",{}, smalltalk.HTMLCanvas)})}
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_img_",
- smalltalk.method({
- selector: "img:",
- fn: function (aString){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
var $1;
- $1=_st(_st(self)._img())._src_(aString);
- return $1;
- }, function($ctx1) {$ctx1.fill(self,"img:",{aString:aString}, smalltalk.HTMLCanvas)})}
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_initialize",
- smalltalk.method({
- selector: "initialize",
- fn: function (){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
var $1;
- smalltalk.Object.fn.prototype._initialize.apply(_st(self), []);
- $1=self["@root"];
- if(($receiver = $1) == nil || $receiver == undefined){
- self["@root"]=_st((smalltalk.TagBrush || TagBrush))._fromString_canvas_("div",self);
- self["@root"];
- } else {
- $1;
- };
- return self}, function($ctx1) {$ctx1.fill(self,"initialize",{}, smalltalk.HTMLCanvas)})}
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_initializeFromJQuery_",
- smalltalk.method({
- selector: "initializeFromJQuery:",
- fn: function (aJQuery){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
self["@root"]=_st((smalltalk.TagBrush || TagBrush))._fromJQuery_canvas_(aJQuery,self);
- return self}, function($ctx1) {$ctx1.fill(self,"initializeFromJQuery:",{aJQuery:aJQuery}, smalltalk.HTMLCanvas)})}
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_input",
- smalltalk.method({
- selector: "input",
- fn: function (){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
var $1;
- $1=_st(self)._tag_("input");
- return $1;
- }, function($ctx1) {$ctx1.fill(self,"input",{}, smalltalk.HTMLCanvas)})}
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_label",
- smalltalk.method({
- selector: "label",
- fn: function (){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
var $1;
- $1=_st(self)._tag_("label");
- return $1;
- }, function($ctx1) {$ctx1.fill(self,"label",{}, smalltalk.HTMLCanvas)})}
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_legend",
- smalltalk.method({
- selector: "legend",
- fn: function (){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
var $1;
- $1=_st(self)._tag_("legend");
- return $1;
- }, function($ctx1) {$ctx1.fill(self,"legend",{}, smalltalk.HTMLCanvas)})}
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_li",
- smalltalk.method({
- selector: "li",
- fn: function (){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
var $1;
- $1=_st(self)._tag_("li");
- return $1;
- }, function($ctx1) {$ctx1.fill(self,"li",{}, smalltalk.HTMLCanvas)})}
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_li_",
- smalltalk.method({
- selector: "li:",
- fn: function (anObject){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
var $1;
- $1=_st(_st(self)._li())._with_(anObject);
- return $1;
- }, function($ctx1) {$ctx1.fill(self,"li:",{anObject:anObject}, smalltalk.HTMLCanvas)})}
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_link",
- smalltalk.method({
- selector: "link",
- fn: function (){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
var $1;
- $1=_st(self)._tag_("link");
- return $1;
- }, function($ctx1) {$ctx1.fill(self,"link",{}, smalltalk.HTMLCanvas)})}
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_map",
- smalltalk.method({
- selector: "map",
- fn: function (){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
var $1;
- $1=_st(self)._tag_("map");
- return $1;
- }, function($ctx1) {$ctx1.fill(self,"map",{}, smalltalk.HTMLCanvas)})}
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_mark",
- smalltalk.method({
- selector: "mark",
- fn: function (){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
var $1;
- $1=_st(self)._tag_("mark");
- return $1;
- }, function($ctx1) {$ctx1.fill(self,"mark",{}, smalltalk.HTMLCanvas)})}
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_menu",
- smalltalk.method({
- selector: "menu",
- fn: function (){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
var $1;
- $1=_st(self)._tag_("menu");
- return $1;
- }, function($ctx1) {$ctx1.fill(self,"menu",{}, smalltalk.HTMLCanvas)})}
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_meta",
- smalltalk.method({
- selector: "meta",
- fn: function (){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
var $1;
- $1=_st(self)._tag_("meta");
- return $1;
- }, function($ctx1) {$ctx1.fill(self,"meta",{}, smalltalk.HTMLCanvas)})}
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_nav",
- smalltalk.method({
- selector: "nav",
- fn: function (){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
var $1;
- $1=_st(self)._tag_("nav");
- return $1;
- }, function($ctx1) {$ctx1.fill(self,"nav",{}, smalltalk.HTMLCanvas)})}
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_newTag_",
- smalltalk.method({
- selector: "newTag:",
- fn: function (aString){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
var $1;
- $1=_st((smalltalk.TagBrush || TagBrush))._fromString_canvas_(aString,self);
- return $1;
- }, function($ctx1) {$ctx1.fill(self,"newTag:",{aString:aString}, smalltalk.HTMLCanvas)})}
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_noscript",
- smalltalk.method({
- selector: "noscript",
- fn: function (){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
var $1;
- $1=_st(self)._tag_("noscript");
- return $1;
- }, function($ctx1) {$ctx1.fill(self,"noscript",{}, smalltalk.HTMLCanvas)})}
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_object",
- smalltalk.method({
- selector: "object",
- fn: function (){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
var $1;
- $1=_st(self)._tag_("object");
- return $1;
- }, function($ctx1) {$ctx1.fill(self,"object",{}, smalltalk.HTMLCanvas)})}
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_ol",
- smalltalk.method({
- selector: "ol",
- fn: function (){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
var $1;
- $1=_st(self)._tag_("ol");
- return $1;
- }, function($ctx1) {$ctx1.fill(self,"ol",{}, smalltalk.HTMLCanvas)})}
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_ol_",
- smalltalk.method({
- selector: "ol:",
- fn: function (anObject){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
var $1;
- $1=_st(_st(self)._ol())._with_(anObject);
- return $1;
- }, function($ctx1) {$ctx1.fill(self,"ol:",{anObject:anObject}, smalltalk.HTMLCanvas)})}
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_optgroup",
- smalltalk.method({
- selector: "optgroup",
- fn: function (){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
var $1;
- $1=_st(self)._tag_("optgroup");
- return $1;
- }, function($ctx1) {$ctx1.fill(self,"optgroup",{}, smalltalk.HTMLCanvas)})}
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_option",
- smalltalk.method({
- selector: "option",
- fn: function (){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
var $1;
- $1=_st(self)._tag_("option");
- return $1;
- }, function($ctx1) {$ctx1.fill(self,"option",{}, smalltalk.HTMLCanvas)})}
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_output",
- smalltalk.method({
- selector: "output",
- fn: function (){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
var $1;
- $1=_st(self)._tag_("output");
- return $1;
- }, function($ctx1) {$ctx1.fill(self,"output",{}, smalltalk.HTMLCanvas)})}
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_p",
- smalltalk.method({
- selector: "p",
- fn: function (){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
var $1;
- $1=_st(self)._tag_("p");
- return $1;
- }, function($ctx1) {$ctx1.fill(self,"p",{}, smalltalk.HTMLCanvas)})}
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_p_",
- smalltalk.method({
- selector: "p:",
- fn: function (anObject){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
var $1;
- $1=_st(_st(self)._p())._with_(anObject);
- return $1;
- }, function($ctx1) {$ctx1.fill(self,"p:",{anObject:anObject}, smalltalk.HTMLCanvas)})}
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_param",
- smalltalk.method({
- selector: "param",
- fn: function (){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
var $1;
- $1=_st(self)._tag_("param");
- return $1;
- }, function($ctx1) {$ctx1.fill(self,"param",{}, smalltalk.HTMLCanvas)})}
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_pre",
- smalltalk.method({
- selector: "pre",
- fn: function (){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
var $1;
- $1=_st(self)._tag_("pre");
- return $1;
- }, function($ctx1) {$ctx1.fill(self,"pre",{}, smalltalk.HTMLCanvas)})}
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_progress",
- smalltalk.method({
- selector: "progress",
- fn: function (){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
var $1;
- $1=_st(self)._tag_("progress");
- return $1;
- }, function($ctx1) {$ctx1.fill(self,"progress",{}, smalltalk.HTMLCanvas)})}
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_root",
- smalltalk.method({
- selector: "root",
- fn: function (){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
var $1;
- $1=self["@root"];
- return $1;
- }, function($ctx1) {$ctx1.fill(self,"root",{}, smalltalk.HTMLCanvas)})}
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_root_",
- smalltalk.method({
- selector: "root:",
- fn: function (aTagBrush){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
self["@root"]=aTagBrush;
- return self}, function($ctx1) {$ctx1.fill(self,"root:",{aTagBrush:aTagBrush}, smalltalk.HTMLCanvas)})}
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_script",
- smalltalk.method({
- selector: "script",
- fn: function (){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
var $1;
- $1=_st(self)._tag_("script");
- return $1;
- }, function($ctx1) {$ctx1.fill(self,"script",{}, smalltalk.HTMLCanvas)})}
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_section",
- smalltalk.method({
- selector: "section",
- fn: function (){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
var $1;
- $1=_st(self)._tag_("section");
- return $1;
- }, function($ctx1) {$ctx1.fill(self,"section",{}, smalltalk.HTMLCanvas)})}
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_select",
- smalltalk.method({
- selector: "select",
- fn: function (){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
var $1;
- $1=_st(self)._tag_("select");
- return $1;
- }, function($ctx1) {$ctx1.fill(self,"select",{}, smalltalk.HTMLCanvas)})}
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_small",
- smalltalk.method({
- selector: "small",
- fn: function (){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
var $1;
- $1=_st(self)._tag_("small");
- return $1;
- }, function($ctx1) {$ctx1.fill(self,"small",{}, smalltalk.HTMLCanvas)})}
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_source",
- smalltalk.method({
- selector: "source",
- fn: function (){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
var $1;
- $1=_st(self)._tag_("source");
- return $1;
- }, function($ctx1) {$ctx1.fill(self,"source",{}, smalltalk.HTMLCanvas)})}
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_span",
- smalltalk.method({
- selector: "span",
- fn: function (){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
var $1;
- $1=_st(self)._tag_("span");
- return $1;
- }, function($ctx1) {$ctx1.fill(self,"span",{}, smalltalk.HTMLCanvas)})}
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_span_",
- smalltalk.method({
- selector: "span:",
- fn: function (anObject){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
var $1;
- $1=_st(_st(self)._span())._with_(anObject);
- return $1;
- }, function($ctx1) {$ctx1.fill(self,"span:",{anObject:anObject}, smalltalk.HTMLCanvas)})}
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_strong",
- smalltalk.method({
- selector: "strong",
- fn: function (){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
var $1;
- $1=_st(self)._tag_("strong");
- return $1;
- }, function($ctx1) {$ctx1.fill(self,"strong",{}, smalltalk.HTMLCanvas)})}
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_strong_",
- smalltalk.method({
- selector: "strong:",
- fn: function (anObject){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
var $1;
- $1=_st(_st(self)._strong())._with_(anObject);
- return $1;
- }, function($ctx1) {$ctx1.fill(self,"strong:",{anObject:anObject}, smalltalk.HTMLCanvas)})}
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_style",
- smalltalk.method({
- selector: "style",
- fn: function (){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
var $1;
- $1=_st(self["@root"])._addBrush_(_st((smalltalk.StyleTag || StyleTag))._canvas_(self));
- return $1;
- }, function($ctx1) {$ctx1.fill(self,"style",{}, smalltalk.HTMLCanvas)})}
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_style_",
- smalltalk.method({
- selector: "style:",
- fn: function (aString){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
var $2,$3,$1;
- $2=_st(self)._style();
- _st($2)._with_(aString);
- $3=_st($2)._yourself();
- $1=$3;
- return $1;
- }, function($ctx1) {$ctx1.fill(self,"style:",{aString:aString}, smalltalk.HTMLCanvas)})}
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_sub",
- smalltalk.method({
- selector: "sub",
- fn: function (){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
var $1;
- $1=_st(self)._tag_("sub");
- return $1;
- }, function($ctx1) {$ctx1.fill(self,"sub",{}, smalltalk.HTMLCanvas)})}
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_summary",
- smalltalk.method({
- selector: "summary",
- fn: function (){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
var $1;
- $1=_st(self)._tag_("summary");
- return $1;
- }, function($ctx1) {$ctx1.fill(self,"summary",{}, smalltalk.HTMLCanvas)})}
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_sup",
- smalltalk.method({
- selector: "sup",
- fn: function (){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
var $1;
- $1=_st(self)._tag_("sup");
- return $1;
- }, function($ctx1) {$ctx1.fill(self,"sup",{}, smalltalk.HTMLCanvas)})}
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_table",
- smalltalk.method({
- selector: "table",
- fn: function (){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
var $1;
- $1=_st(self)._tag_("table");
- return $1;
- }, function($ctx1) {$ctx1.fill(self,"table",{}, smalltalk.HTMLCanvas)})}
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_tag_",
- smalltalk.method({
- selector: "tag:",
- fn: function (aString){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
var $1;
- $1=_st(self["@root"])._addBrush_(_st(self)._newTag_(aString));
- return $1;
- }, function($ctx1) {$ctx1.fill(self,"tag:",{aString:aString}, smalltalk.HTMLCanvas)})}
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_tbody",
- smalltalk.method({
- selector: "tbody",
- fn: function (){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
var $1;
- $1=_st(self)._tag_("tbody");
- return $1;
- }, function($ctx1) {$ctx1.fill(self,"tbody",{}, smalltalk.HTMLCanvas)})}
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_td",
- smalltalk.method({
- selector: "td",
- fn: function (){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
var $1;
- $1=_st(self)._tag_("td");
- return $1;
- }, function($ctx1) {$ctx1.fill(self,"td",{}, smalltalk.HTMLCanvas)})}
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_textarea",
- smalltalk.method({
- selector: "textarea",
- fn: function (){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
var $1;
- $1=_st(self)._tag_("textarea");
- return $1;
- }, function($ctx1) {$ctx1.fill(self,"textarea",{}, smalltalk.HTMLCanvas)})}
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_tfoot",
- smalltalk.method({
- selector: "tfoot",
- fn: function (){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
var $1;
- $1=_st(self)._tag_("tfoot");
- return $1;
- }, function($ctx1) {$ctx1.fill(self,"tfoot",{}, smalltalk.HTMLCanvas)})}
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_th",
- smalltalk.method({
- selector: "th",
- fn: function (){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
var $1;
- $1=_st(self)._tag_("th");
- return $1;
- }, function($ctx1) {$ctx1.fill(self,"th",{}, smalltalk.HTMLCanvas)})}
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_thead",
- smalltalk.method({
- selector: "thead",
- fn: function (){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
var $1;
- $1=_st(self)._tag_("thead");
- return $1;
- }, function($ctx1) {$ctx1.fill(self,"thead",{}, smalltalk.HTMLCanvas)})}
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_time",
- smalltalk.method({
- selector: "time",
- fn: function (){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
var $1;
- $1=_st(self)._tag_("time");
- return $1;
- }, function($ctx1) {$ctx1.fill(self,"time",{}, smalltalk.HTMLCanvas)})}
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_title",
- smalltalk.method({
- selector: "title",
- fn: function (){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
var $1;
- $1=_st(self)._tag_("title");
- return $1;
- }, function($ctx1) {$ctx1.fill(self,"title",{}, smalltalk.HTMLCanvas)})}
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_tr",
- smalltalk.method({
- selector: "tr",
- fn: function (){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
var $1;
- $1=_st(self)._tag_("tr");
- return $1;
- }, function($ctx1) {$ctx1.fill(self,"tr",{}, smalltalk.HTMLCanvas)})}
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_ul",
- smalltalk.method({
- selector: "ul",
- fn: function (){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
var $1;
- $1=_st(self)._tag_("ul");
- return $1;
- }, function($ctx1) {$ctx1.fill(self,"ul",{}, smalltalk.HTMLCanvas)})}
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_ul_",
- smalltalk.method({
- selector: "ul:",
- fn: function (anObject){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
var $1;
- $1=_st(_st(self)._ul())._with_(anObject);
- return $1;
- }, function($ctx1) {$ctx1.fill(self,"ul:",{anObject:anObject}, smalltalk.HTMLCanvas)})}
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_video",
- smalltalk.method({
- selector: "video",
- fn: function (){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
var $1;
- $1=_st(self)._tag_("video");
- return $1;
- }, function($ctx1) {$ctx1.fill(self,"video",{}, smalltalk.HTMLCanvas)})}
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_with_",
- smalltalk.method({
- selector: "with:",
- fn: function (anObject){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
var $1;
- $1=_st(_st(self)._root())._with_(anObject);
- return $1;
- }, function($ctx1) {$ctx1.fill(self,"with:",{anObject:anObject}, smalltalk.HTMLCanvas)})}
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- "_browserVersion",
- smalltalk.method({
- selector: "browserVersion",
- fn: function (){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
var $1;
- $1=_st(_st(jQuery)._at_(smalltalk.symbolFor("browser")))._version();
- return $1;
- }, function($ctx1) {$ctx1.fill(self,"browserVersion",{}, smalltalk.HTMLCanvas.klass)})}
- }),
- smalltalk.HTMLCanvas.klass);
- smalltalk.addMethod(
- "_isMSIE",
- smalltalk.method({
- selector: "isMSIE",
- fn: function (){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
var $1;
- $1=_st(_st(_st(jQuery)._at_(smalltalk.symbolFor("browser")))._at_(smalltalk.symbolFor("msie")))._notNil();
- return $1;
- }, function($ctx1) {$ctx1.fill(self,"isMSIE",{}, smalltalk.HTMLCanvas.klass)})}
- }),
- smalltalk.HTMLCanvas.klass);
- smalltalk.addMethod(
- "_isMozilla",
- smalltalk.method({
- selector: "isMozilla",
- fn: function (){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
var $1;
- $1=_st(_st(_st(jQuery)._at_(smalltalk.symbolFor("browser")))._at_(smalltalk.symbolFor("mozilla")))._notNil();
- return $1;
- }, function($ctx1) {$ctx1.fill(self,"isMozilla",{}, smalltalk.HTMLCanvas.klass)})}
- }),
- smalltalk.HTMLCanvas.klass);
- smalltalk.addMethod(
- "_isOpera",
- smalltalk.method({
- selector: "isOpera",
- fn: function (){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
var $1;
- $1=_st(_st(_st(jQuery)._at_(smalltalk.symbolFor("browser")))._at_(smalltalk.symbolFor("opera")))._notNil();
- return $1;
- }, function($ctx1) {$ctx1.fill(self,"isOpera",{}, smalltalk.HTMLCanvas.klass)})}
- }),
- smalltalk.HTMLCanvas.klass);
- smalltalk.addMethod(
- "_isWebkit",
- smalltalk.method({
- selector: "isWebkit",
- fn: function (){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
var $1;
- $1=_st(_st(_st(jQuery)._at_(smalltalk.symbolFor("browser")))._at_(smalltalk.symbolFor("webkit")))._notNil();
- return $1;
- }, function($ctx1) {$ctx1.fill(self,"isWebkit",{}, smalltalk.HTMLCanvas.klass)})}
- }),
- smalltalk.HTMLCanvas.klass);
- smalltalk.addMethod(
- "_onJQuery_",
- smalltalk.method({
- selector: "onJQuery:",
- fn: function (aJQuery){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
var $2,$3,$1;
- $2=_st(self)._basicNew();
- _st($2)._initializeFromJQuery_(aJQuery);
- _st($2)._initialize();
- $3=_st($2)._yourself();
- $1=$3;
- return $1;
- }, function($ctx1) {$ctx1.fill(self,"onJQuery:",{aJQuery:aJQuery}, smalltalk.HTMLCanvas.klass)})}
- }),
- smalltalk.HTMLCanvas.klass);
- smalltalk.addClass('TagBrush', smalltalk.Object, ['canvas', 'element'], 'Canvas');
- smalltalk.addMethod(
- "_accesskey_",
- smalltalk.method({
- selector: "accesskey:",
- fn: function (aString){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
_st(self)._at_put_("accesskey",aString);
- return self}, function($ctx1) {$ctx1.fill(self,"accesskey:",{aString:aString}, smalltalk.TagBrush)})}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_action_",
- smalltalk.method({
- selector: "action:",
- fn: function (aString){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
_st(self)._at_put_("action",aString);
- return self}, function($ctx1) {$ctx1.fill(self,"action:",{aString:aString}, smalltalk.TagBrush)})}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_addBrush_",
- smalltalk.method({
- selector: "addBrush:",
- fn: function (aTagBrush){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
var $1;
- _st(self)._appendChild_(_st(aTagBrush)._element());
- $1=aTagBrush;
- return $1;
- }, function($ctx1) {$ctx1.fill(self,"addBrush:",{aTagBrush:aTagBrush}, smalltalk.TagBrush)})}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_align_",
- smalltalk.method({
- selector: "align:",
- fn: function (aString){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
_st(self)._at_put_("align",aString);
- return self}, function($ctx1) {$ctx1.fill(self,"align:",{aString:aString}, smalltalk.TagBrush)})}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_alt_",
- smalltalk.method({
- selector: "alt:",
- fn: function (aString){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
_st(self)._at_put_("alt",aString);
- return self}, function($ctx1) {$ctx1.fill(self,"alt:",{aString:aString}, smalltalk.TagBrush)})}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_append_",
- smalltalk.method({
- selector: "append:",
- fn: function (anObject){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
_st(anObject)._appendToBrush_(self);
- return self}, function($ctx1) {$ctx1.fill(self,"append:",{anObject:anObject}, smalltalk.TagBrush)})}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_appendBlock_",
- smalltalk.method({
- selector: "appendBlock:",
- fn: function (aBlock){
- var self=this;
- var root;
- return smalltalk.withContext(function($ctx1) {
root=_st(self["@canvas"])._root();
- _st(self["@canvas"])._root_(self);
- _st(aBlock)._value_(self["@canvas"]);
- _st(self["@canvas"])._root_(root);
- return self}, function($ctx1) {$ctx1.fill(self,"appendBlock:",{aBlock:aBlock,root:root}, smalltalk.TagBrush)})}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_appendChild_",
- smalltalk.method({
- selector: "appendChild:",
- fn: function (anElement){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
var element=self['@element'];
- if (null == element.canHaveChildren || element.canHaveChildren) {
- element.appendChild(anElement);
- } else {
- element.text = String(element.text) + anElement.innerHTML;
- } ;
- return self}, function($ctx1) {$ctx1.fill(self,"appendChild:",{anElement:anElement}, smalltalk.TagBrush)})}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_appendString_",
- smalltalk.method({
- selector: "appendString:",
- fn: function (aString){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
_st(self)._appendChild_(_st(self)._createTextNodeFor_(aString));
- return self}, function($ctx1) {$ctx1.fill(self,"appendString:",{aString:aString}, smalltalk.TagBrush)})}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_appendToBrush_",
- smalltalk.method({
- selector: "appendToBrush:",
- fn: function (aTagBrush){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
_st(aTagBrush)._addBrush_(self);
- return self}, function($ctx1) {$ctx1.fill(self,"appendToBrush:",{aTagBrush:aTagBrush}, smalltalk.TagBrush)})}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_asJQuery",
- smalltalk.method({
- selector: "asJQuery",
- fn: function (){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
var $1;
- $1=_st(window)._jQuery_(_st(self)._element());
- return $1;
- }, function($ctx1) {$ctx1.fill(self,"asJQuery",{}, smalltalk.TagBrush)})}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_at_put_",
- smalltalk.method({
- selector: "at:put:",
- fn: function (aString,aValue){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
self['@element'].setAttribute(aString, aValue);
- return self}, function($ctx1) {$ctx1.fill(self,"at:put:",{aString:aString,aValue:aValue}, smalltalk.TagBrush)})}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_class_",
- smalltalk.method({
- selector: "class:",
- fn: function (aString){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
self['@element'].className = aString;
- return self}, function($ctx1) {$ctx1.fill(self,"class:",{aString:aString}, smalltalk.TagBrush)})}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_cols_",
- smalltalk.method({
- selector: "cols:",
- fn: function (aString){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
_st(self)._at_put_("cols",aString);
- return self}, function($ctx1) {$ctx1.fill(self,"cols:",{aString:aString}, smalltalk.TagBrush)})}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_contenteditable_",
- smalltalk.method({
- selector: "contenteditable:",
- fn: function (aString){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
_st(self)._at_put_("contenteditable",aString);
- return self}, function($ctx1) {$ctx1.fill(self,"contenteditable:",{aString:aString}, smalltalk.TagBrush)})}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_contents_",
- smalltalk.method({
- selector: "contents:",
- fn: function (anObject){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
var $1,$2;
- $1=self;
- _st($1)._empty();
- $2=_st($1)._append_(anObject);
- return self}, function($ctx1) {$ctx1.fill(self,"contents:",{anObject:anObject}, smalltalk.TagBrush)})}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_contextmenu_",
- smalltalk.method({
- selector: "contextmenu:",
- fn: function (aString){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
_st(self)._at_put_("contextmenu",aString);
- return self}, function($ctx1) {$ctx1.fill(self,"contextmenu:",{aString:aString}, smalltalk.TagBrush)})}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_createElementFor_",
- smalltalk.method({
- selector: "createElementFor:",
- fn: function (aString){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
return document.createElement(String(aString));
- return self}, function($ctx1) {$ctx1.fill(self,"createElementFor:",{aString:aString}, smalltalk.TagBrush)})}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_createTextNodeFor_",
- smalltalk.method({
- selector: "createTextNodeFor:",
- fn: function (aString){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
return document.createTextNode(String(aString));
- return self}, function($ctx1) {$ctx1.fill(self,"createTextNodeFor:",{aString:aString}, smalltalk.TagBrush)})}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_draggable_",
- smalltalk.method({
- selector: "draggable:",
- fn: function (aString){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
_st(self)._at_put_("draggable",aString);
- return self}, function($ctx1) {$ctx1.fill(self,"draggable:",{aString:aString}, smalltalk.TagBrush)})}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_element",
- smalltalk.method({
- selector: "element",
- fn: function (){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
var $1;
- $1=self["@element"];
- return $1;
- }, function($ctx1) {$ctx1.fill(self,"element",{}, smalltalk.TagBrush)})}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_empty",
- smalltalk.method({
- selector: "empty",
- fn: function (){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
_st(_st(self)._asJQuery())._empty();
- return self}, function($ctx1) {$ctx1.fill(self,"empty",{}, smalltalk.TagBrush)})}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_for_",
- smalltalk.method({
- selector: "for:",
- fn: function (aString){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
_st(self)._at_put_("for",aString);
- return self}, function($ctx1) {$ctx1.fill(self,"for:",{aString:aString}, smalltalk.TagBrush)})}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_height_",
- smalltalk.method({
- selector: "height:",
- fn: function (aString){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
_st(self)._at_put_("height",aString);
- return self}, function($ctx1) {$ctx1.fill(self,"height:",{aString:aString}, smalltalk.TagBrush)})}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_hidden",
- smalltalk.method({
- selector: "hidden",
- fn: function (){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
_st(self)._at_put_("hidden","hidden");
- return self}, function($ctx1) {$ctx1.fill(self,"hidden",{}, smalltalk.TagBrush)})}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_href_",
- smalltalk.method({
- selector: "href:",
- fn: function (aString){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
_st(self)._at_put_("href",aString);
- return self}, function($ctx1) {$ctx1.fill(self,"href:",{aString:aString}, smalltalk.TagBrush)})}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_id_",
- smalltalk.method({
- selector: "id:",
- fn: function (aString){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
_st(self)._at_put_("id",aString);
- return self}, function($ctx1) {$ctx1.fill(self,"id:",{aString:aString}, smalltalk.TagBrush)})}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_initializeFromJQuery_canvas_",
- smalltalk.method({
- selector: "initializeFromJQuery:canvas:",
- fn: function (aJQuery,aCanvas){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
self["@element"]=_st(aJQuery)._get_((0));
- self["@canvas"]=aCanvas;
- return self}, function($ctx1) {$ctx1.fill(self,"initializeFromJQuery:canvas:",{aJQuery:aJQuery,aCanvas:aCanvas}, smalltalk.TagBrush)})}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_initializeFromString_canvas_",
- smalltalk.method({
- selector: "initializeFromString:canvas:",
- fn: function (aString,aCanvas){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
self["@element"]=_st(self)._createElementFor_(aString);
- self["@canvas"]=aCanvas;
- return self}, function($ctx1) {$ctx1.fill(self,"initializeFromString:canvas:",{aString:aString,aCanvas:aCanvas}, smalltalk.TagBrush)})}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_media_",
- smalltalk.method({
- selector: "media:",
- fn: function (aString){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
_st(self)._at_put_("media",aString);
- return self}, function($ctx1) {$ctx1.fill(self,"media:",{aString:aString}, smalltalk.TagBrush)})}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_method_",
- smalltalk.method({
- selector: "method:",
- fn: function (aString){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
_st(self)._at_put_("method",aString);
- return self}, function($ctx1) {$ctx1.fill(self,"method:",{aString:aString}, smalltalk.TagBrush)})}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_name_",
- smalltalk.method({
- selector: "name:",
- fn: function (aString){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
_st(self)._at_put_("name",aString);
- return self}, function($ctx1) {$ctx1.fill(self,"name:",{aString:aString}, smalltalk.TagBrush)})}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_onBlur_",
- smalltalk.method({
- selector: "onBlur:",
- fn: function (aBlock){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
_st(_st(self)._asJQuery())._bind_do_("blur",aBlock);
- return self}, function($ctx1) {$ctx1.fill(self,"onBlur:",{aBlock:aBlock}, smalltalk.TagBrush)})}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_onChange_",
- smalltalk.method({
- selector: "onChange:",
- fn: function (aBlock){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
_st(_st(self)._asJQuery())._bind_do_("change",aBlock);
- return self}, function($ctx1) {$ctx1.fill(self,"onChange:",{aBlock:aBlock}, smalltalk.TagBrush)})}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_onClick_",
- smalltalk.method({
- selector: "onClick:",
- fn: function (aBlock){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
_st(_st(self)._asJQuery())._bind_do_("click",aBlock);
- return self}, function($ctx1) {$ctx1.fill(self,"onClick:",{aBlock:aBlock}, smalltalk.TagBrush)})}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_onDblClick_",
- smalltalk.method({
- selector: "onDblClick:",
- fn: function (aBlock){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
_st(_st(self)._asJQuery())._bind_do_("dblclick",aBlock);
- return self}, function($ctx1) {$ctx1.fill(self,"onDblClick:",{aBlock:aBlock}, smalltalk.TagBrush)})}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_onFocus_",
- smalltalk.method({
- selector: "onFocus:",
- fn: function (aBlock){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
_st(_st(self)._asJQuery())._bind_do_("focus",aBlock);
- return self}, function($ctx1) {$ctx1.fill(self,"onFocus:",{aBlock:aBlock}, smalltalk.TagBrush)})}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_onFocusIn_",
- smalltalk.method({
- selector: "onFocusIn:",
- fn: function (aBlock){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
_st(_st(self)._asJQuery())._bind_do_("focusin",aBlock);
- return self}, function($ctx1) {$ctx1.fill(self,"onFocusIn:",{aBlock:aBlock}, smalltalk.TagBrush)})}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_onFocusOut_",
- smalltalk.method({
- selector: "onFocusOut:",
- fn: function (aBlock){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
_st(_st(self)._asJQuery())._bind_do_("focusout",aBlock);
- return self}, function($ctx1) {$ctx1.fill(self,"onFocusOut:",{aBlock:aBlock}, smalltalk.TagBrush)})}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_onHover_",
- smalltalk.method({
- selector: "onHover:",
- fn: function (aBlock){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
_st(_st(self)._asJQuery())._bind_do_("hover",aBlock);
- return self}, function($ctx1) {$ctx1.fill(self,"onHover:",{aBlock:aBlock}, smalltalk.TagBrush)})}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_onKeyDown_",
- smalltalk.method({
- selector: "onKeyDown:",
- fn: function (aBlock){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
_st(_st(self)._asJQuery())._bind_do_("keydown",aBlock);
- return self}, function($ctx1) {$ctx1.fill(self,"onKeyDown:",{aBlock:aBlock}, smalltalk.TagBrush)})}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_onKeyPress_",
- smalltalk.method({
- selector: "onKeyPress:",
- fn: function (aBlock){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
_st(_st(self)._asJQuery())._bind_do_("keypress",aBlock);
- return self}, function($ctx1) {$ctx1.fill(self,"onKeyPress:",{aBlock:aBlock}, smalltalk.TagBrush)})}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_onKeyUp_",
- smalltalk.method({
- selector: "onKeyUp:",
- fn: function (aBlock){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
_st(_st(self)._asJQuery())._bind_do_("keyup",aBlock);
- return self}, function($ctx1) {$ctx1.fill(self,"onKeyUp:",{aBlock:aBlock}, smalltalk.TagBrush)})}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_onMouseDown_",
- smalltalk.method({
- selector: "onMouseDown:",
- fn: function (aBlock){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
_st(_st(self)._asJQuery())._bind_do_("mousedown",aBlock);
- return self}, function($ctx1) {$ctx1.fill(self,"onMouseDown:",{aBlock:aBlock}, smalltalk.TagBrush)})}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_onMouseEnter_",
- smalltalk.method({
- selector: "onMouseEnter:",
- fn: function (aBlock){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
_st(_st(self)._asJQuery())._bind_do_("mouseenter",aBlock);
- return self}, function($ctx1) {$ctx1.fill(self,"onMouseEnter:",{aBlock:aBlock}, smalltalk.TagBrush)})}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_onMouseLeave_",
- smalltalk.method({
- selector: "onMouseLeave:",
- fn: function (aBlock){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
_st(_st(self)._asJQuery())._bind_do_("mouseleave",aBlock);
- return self}, function($ctx1) {$ctx1.fill(self,"onMouseLeave:",{aBlock:aBlock}, smalltalk.TagBrush)})}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_onMouseMove_",
- smalltalk.method({
- selector: "onMouseMove:",
- fn: function (aBlock){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
_st(_st(self)._asJQuery())._bind_do_("mousemove",aBlock);
- return self}, function($ctx1) {$ctx1.fill(self,"onMouseMove:",{aBlock:aBlock}, smalltalk.TagBrush)})}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_onMouseOut_",
- smalltalk.method({
- selector: "onMouseOut:",
- fn: function (aBlock){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
_st(_st(self)._asJQuery())._bind_do_("mouseout",aBlock);
- return self}, function($ctx1) {$ctx1.fill(self,"onMouseOut:",{aBlock:aBlock}, smalltalk.TagBrush)})}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_onMouseOver_",
- smalltalk.method({
- selector: "onMouseOver:",
- fn: function (aBlock){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
_st(_st(self)._asJQuery())._bind_do_("mouseover",aBlock);
- return self}, function($ctx1) {$ctx1.fill(self,"onMouseOver:",{aBlock:aBlock}, smalltalk.TagBrush)})}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_onMouseUp_",
- smalltalk.method({
- selector: "onMouseUp:",
- fn: function (aBlock){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
_st(_st(self)._asJQuery())._bind_do_("mouseup",aBlock);
- return self}, function($ctx1) {$ctx1.fill(self,"onMouseUp:",{aBlock:aBlock}, smalltalk.TagBrush)})}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_onSelect_",
- smalltalk.method({
- selector: "onSelect:",
- fn: function (aBlock){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
_st(_st(self)._asJQuery())._bind_do_("select",aBlock);
- return self}, function($ctx1) {$ctx1.fill(self,"onSelect:",{aBlock:aBlock}, smalltalk.TagBrush)})}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_onSubmit_",
- smalltalk.method({
- selector: "onSubmit:",
- fn: function (aBlock){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
_st(_st(self)._asJQuery())._bind_do_("submit",aBlock);
- return self}, function($ctx1) {$ctx1.fill(self,"onSubmit:",{aBlock:aBlock}, smalltalk.TagBrush)})}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_onUnload_",
- smalltalk.method({
- selector: "onUnload:",
- fn: function (aBlock){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
_st(_st(self)._asJQuery())._bind_do_("unload",aBlock);
- return self}, function($ctx1) {$ctx1.fill(self,"onUnload:",{aBlock:aBlock}, smalltalk.TagBrush)})}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_placeholder_",
- smalltalk.method({
- selector: "placeholder:",
- fn: function (aString){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
_st(self)._at_put_("placeholder",aString);
- return self}, function($ctx1) {$ctx1.fill(self,"placeholder:",{aString:aString}, smalltalk.TagBrush)})}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_rel_",
- smalltalk.method({
- selector: "rel:",
- fn: function (aString){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
_st(self)._at_put_("rel",aString);
- return self}, function($ctx1) {$ctx1.fill(self,"rel:",{aString:aString}, smalltalk.TagBrush)})}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_removeAt_",
- smalltalk.method({
- selector: "removeAt:",
- fn: function (aString){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
self['@element'].removeAttribute(aString);
- return self}, function($ctx1) {$ctx1.fill(self,"removeAt:",{aString:aString}, smalltalk.TagBrush)})}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_rows_",
- smalltalk.method({
- selector: "rows:",
- fn: function (aString){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
_st(self)._at_put_("rows",aString);
- return self}, function($ctx1) {$ctx1.fill(self,"rows:",{aString:aString}, smalltalk.TagBrush)})}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_src_",
- smalltalk.method({
- selector: "src:",
- fn: function (aString){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
_st(self)._at_put_("src",aString);
- return self}, function($ctx1) {$ctx1.fill(self,"src:",{aString:aString}, smalltalk.TagBrush)})}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_style_",
- smalltalk.method({
- selector: "style:",
- fn: function (aString){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
_st(self)._at_put_("style",aString);
- return self}, function($ctx1) {$ctx1.fill(self,"style:",{aString:aString}, smalltalk.TagBrush)})}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_tabindex_",
- smalltalk.method({
- selector: "tabindex:",
- fn: function (aNumber){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
_st(self)._at_put_("tabindex",aNumber);
- return self}, function($ctx1) {$ctx1.fill(self,"tabindex:",{aNumber:aNumber}, smalltalk.TagBrush)})}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_target_",
- smalltalk.method({
- selector: "target:",
- fn: function (aString){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
_st(self)._at_put_("target",aString);
- return self}, function($ctx1) {$ctx1.fill(self,"target:",{aString:aString}, smalltalk.TagBrush)})}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_title_",
- smalltalk.method({
- selector: "title:",
- fn: function (aString){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
_st(self)._at_put_("title",aString);
- return self}, function($ctx1) {$ctx1.fill(self,"title:",{aString:aString}, smalltalk.TagBrush)})}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_type_",
- smalltalk.method({
- selector: "type:",
- fn: function (aString){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
_st(self)._at_put_("type",aString);
- return self}, function($ctx1) {$ctx1.fill(self,"type:",{aString:aString}, smalltalk.TagBrush)})}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_valign_",
- smalltalk.method({
- selector: "valign:",
- fn: function (aString){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
_st(self)._at_put_("valign",aString);
- return self}, function($ctx1) {$ctx1.fill(self,"valign:",{aString:aString}, smalltalk.TagBrush)})}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_value_",
- smalltalk.method({
- selector: "value:",
- fn: function (aString){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
_st(self)._at_put_("value",aString);
- return self}, function($ctx1) {$ctx1.fill(self,"value:",{aString:aString}, smalltalk.TagBrush)})}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_width_",
- smalltalk.method({
- selector: "width:",
- fn: function (aString){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
_st(self)._at_put_("width",aString);
- return self}, function($ctx1) {$ctx1.fill(self,"width:",{aString:aString}, smalltalk.TagBrush)})}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_with_",
- smalltalk.method({
- selector: "with:",
- fn: function (anObject){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
_st(self)._append_(anObject);
- return self}, function($ctx1) {$ctx1.fill(self,"with:",{anObject:anObject}, smalltalk.TagBrush)})}
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- "_fromJQuery_canvas_",
- smalltalk.method({
- selector: "fromJQuery:canvas:",
- fn: function (aJQuery,aCanvas){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
var $2,$3,$1;
- $2=_st(self)._new();
- _st($2)._initializeFromJQuery_canvas_(aJQuery,aCanvas);
- $3=_st($2)._yourself();
- $1=$3;
- return $1;
- }, function($ctx1) {$ctx1.fill(self,"fromJQuery:canvas:",{aJQuery:aJQuery,aCanvas:aCanvas}, smalltalk.TagBrush.klass)})}
- }),
- smalltalk.TagBrush.klass);
- smalltalk.addMethod(
- "_fromString_canvas_",
- smalltalk.method({
- selector: "fromString:canvas:",
- fn: function (aString,aCanvas){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
var $2,$3,$1;
- $2=_st(self)._new();
- _st($2)._initializeFromString_canvas_(aString,aCanvas);
- $3=_st($2)._yourself();
- $1=$3;
- return $1;
- }, function($ctx1) {$ctx1.fill(self,"fromString:canvas:",{aString:aString,aCanvas:aCanvas}, smalltalk.TagBrush.klass)})}
- }),
- smalltalk.TagBrush.klass);
- smalltalk.addClass('StyleTag', smalltalk.TagBrush, ['canvas', 'element'], 'Canvas');
- smalltalk.addMethod(
- "_with_",
- smalltalk.method({
- selector: "with:",
- fn: function (aString){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
var $1;
- $1=_st((smalltalk.HTMLCanvas || HTMLCanvas))._isMSIE();
- if(smalltalk.assert($1)){
- _st(_st(_st(self)._element())._styleSheet())._cssText_(aString);
- } else {
- smalltalk.TagBrush.fn.prototype._with_.apply(_st(self), [aString]);
- };
- return self}, function($ctx1) {$ctx1.fill(self,"with:",{aString:aString}, smalltalk.StyleTag)})}
- }),
- smalltalk.StyleTag);
- smalltalk.addMethod(
- "_canvas_",
- smalltalk.method({
- selector: "canvas:",
- fn: function (aCanvas){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
var $2,$3,$1;
- $2=_st(self)._new();
- _st($2)._initializeFromString_canvas_("style",aCanvas);
- $3=_st($2)._yourself();
- $1=$3;
- return $1;
- }, function($ctx1) {$ctx1.fill(self,"canvas:",{aCanvas:aCanvas}, smalltalk.StyleTag.klass)})}
- }),
- smalltalk.StyleTag.klass);
- smalltalk.addClass('Widget', smalltalk.Object, [], 'Canvas');
- smalltalk.addMethod(
- "_appendToBrush_",
- smalltalk.method({
- selector: "appendToBrush:",
- fn: function (aTagBrush){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
_st(self)._appendToJQuery_(_st(aTagBrush)._asJQuery());
- return self}, function($ctx1) {$ctx1.fill(self,"appendToBrush:",{aTagBrush:aTagBrush}, smalltalk.Widget)})}
- }),
- smalltalk.Widget);
- smalltalk.addMethod(
- "_appendToJQuery_",
- smalltalk.method({
- selector: "appendToJQuery:",
- fn: function (aJQuery){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
_st(self)._renderOn_(_st((smalltalk.HTMLCanvas || HTMLCanvas))._onJQuery_(aJQuery));
- return self}, function($ctx1) {$ctx1.fill(self,"appendToJQuery:",{aJQuery:aJQuery}, smalltalk.Widget)})}
- }),
- smalltalk.Widget);
- smalltalk.addMethod(
- "_renderOn_",
- smalltalk.method({
- selector: "renderOn:",
- fn: function (html){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
return self}, function($ctx1) {$ctx1.fill(self,"renderOn:",{html:html}, smalltalk.Widget)})}
- }),
- smalltalk.Widget);
- smalltalk.addMethod(
- "_appendToBrush_",
- smalltalk.method({
- selector: "appendToBrush:",
- fn: function (aTagBrush){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
_st(aTagBrush)._append_(_st(self)._asString());
- return self}, function($ctx1) {$ctx1.fill(self,"appendToBrush:",{aTagBrush:aTagBrush}, smalltalk.Object)})}
- }),
- smalltalk.Object);
- smalltalk.addMethod(
- "_appendToJQuery_",
- smalltalk.method({
- selector: "appendToJQuery:",
- fn: function (aJQuery){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
_st(aJQuery)._append_(_st(self)._asString());
- return self}, function($ctx1) {$ctx1.fill(self,"appendToJQuery:",{aJQuery:aJQuery}, smalltalk.Object)})}
- }),
- smalltalk.Object);
- smalltalk.addMethod(
- "_appendToBrush_",
- smalltalk.method({
- selector: "appendToBrush:",
- fn: function (aTagBrush){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
_st(aTagBrush)._appendBlock_(self);
- return self}, function($ctx1) {$ctx1.fill(self,"appendToBrush:",{aTagBrush:aTagBrush}, smalltalk.BlockClosure)})}
- }),
- smalltalk.BlockClosure);
- smalltalk.addMethod(
- "_appendToJQuery_",
- smalltalk.method({
- selector: "appendToJQuery:",
- fn: function (aJQuery){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
_st(self)._value_(_st((smalltalk.HTMLCanvas || HTMLCanvas))._onJQuery_(aJQuery));
- return self}, function($ctx1) {$ctx1.fill(self,"appendToJQuery:",{aJQuery:aJQuery}, smalltalk.BlockClosure)})}
- }),
- smalltalk.BlockClosure);
- smalltalk.addMethod(
- "_appendToBrush_",
- smalltalk.method({
- selector: "appendToBrush:",
- fn: function (aTagBrush){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
_st(aTagBrush)._appendString_(self);
- return self}, function($ctx1) {$ctx1.fill(self,"appendToBrush:",{aTagBrush:aTagBrush}, smalltalk.String)})}
- }),
- smalltalk.String);
- smalltalk.addMethod(
- "_appendToJQuery_",
- smalltalk.method({
- selector: "appendToJQuery:",
- fn: function (aJQuery){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
_st(aJQuery)._append_(self);
- return self}, function($ctx1) {$ctx1.fill(self,"appendToJQuery:",{aJQuery:aJQuery}, smalltalk.String)})}
- }),
- smalltalk.String);
- smalltalk.addMethod(
- "_asJQuery",
- smalltalk.method({
- selector: "asJQuery",
- fn: function (){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
return jQuery(String(self));
- return self}, function($ctx1) {$ctx1.fill(self,"asJQuery",{}, smalltalk.String)})}
- }),
- smalltalk.String);
- smalltalk.addMethod(
- "_asJQuery",
- smalltalk.method({
- selector: "asJQuery",
- fn: function (){
- var self=this;
- return smalltalk.withContext(function($ctx1) {
return jQuery(self['@jsObject']);
- return self}, function($ctx1) {$ctx1.fill(self,"asJQuery",{}, smalltalk.JSObjectProxy)})}
- }),
- smalltalk.JSObjectProxy);
|