12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382 |
- smalltalk.addClass('HTMLCanvas', smalltalk.Object, ['root'], 'Canvas');
- smalltalk.addMethod(
- unescape('_root_'),
- smalltalk.method({
- selector: unescape('root%3A'),
- category: 'accessing',
- fn: function (aTagBrush){
- var self=this;
- self['@root']=aTagBrush;
- return self;},
- args: ["aTagBrush"],
- source: unescape('root%3A%20aTagBrush%0A%20%20%20%20root%20%3A%3D%20aTagBrush'),
- messageSends: [],
- referencedClasses: []
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- unescape('_root'),
- smalltalk.method({
- selector: unescape('root'),
- category: 'accessing',
- fn: function (){
- var self=this;
- return self['@root'];
- return self;},
- args: [],
- source: unescape('root%0A%20%20%20%20%5Eroot'),
- messageSends: [],
- referencedClasses: []
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- unescape('_with_'),
- smalltalk.method({
- selector: unescape('with%3A'),
- category: 'adding',
- fn: function (anObject){
- var self=this;
- return smalltalk.send(smalltalk.send(self, "_root", []), "_with_", [anObject]);
- return self;},
- args: ["anObject"],
- source: unescape('with%3A%20anObject%0A%20%20%20%20%5Eself%20root%20with%3A%20anObject'),
- messageSends: ["with:", "root"],
- referencedClasses: []
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- unescape('_initialize'),
- smalltalk.method({
- selector: unescape('initialize'),
- category: 'initialization',
- fn: function (){
- var self=this;
- smalltalk.send(self, "_initialize", [], smalltalk.Object);
- (($receiver = self['@root']) == nil || $receiver == undefined) ? (function(){return self['@root']=smalltalk.send((smalltalk.TagBrush || TagBrush), "_fromString_canvas_", ["div", self]);})() : $receiver;
- return self;},
- args: [],
- source: unescape('initialize%0A%20%20%20%20super%20initialize.%0A%20%20%20%20root%20ifNil%3A%20%5Broot%20%3A%3D%20TagBrush%20fromString%3A%20%27div%27%20canvas%3A%20self%5D'),
- messageSends: ["initialize", "ifNil:", "fromString:canvas:"],
- referencedClasses: []
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- unescape('_initializeFromJQuery_'),
- smalltalk.method({
- selector: unescape('initializeFromJQuery%3A'),
- category: 'initialization',
- fn: function (aJQuery){
- var self=this;
- self['@root']=smalltalk.send((smalltalk.TagBrush || TagBrush), "_fromJQuery_canvas_", [aJQuery, self]);
- return self;},
- args: ["aJQuery"],
- source: unescape('initializeFromJQuery%3A%20aJQuery%0A%20%20%20%20root%20%3A%3D%20TagBrush%20fromJQuery%3A%20aJQuery%20canvas%3A%20self'),
- messageSends: ["fromJQuery:canvas:"],
- referencedClasses: []
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- unescape('_newTag_'),
- smalltalk.method({
- selector: unescape('newTag%3A'),
- category: 'tags',
- fn: function (aString){
- var self=this;
- return smalltalk.send((smalltalk.TagBrush || TagBrush), "_fromString_canvas_", [aString, self]);
- return self;},
- args: ["aString"],
- source: unescape('newTag%3A%20aString%0A%20%20%20%20%5ETagBrush%20fromString%3A%20aString%20canvas%3A%20self'),
- messageSends: ["fromString:canvas:"],
- referencedClasses: []
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- unescape('_tag_'),
- smalltalk.method({
- selector: unescape('tag%3A'),
- category: 'tags',
- fn: function (aString){
- var self=this;
- return smalltalk.send(self['@root'], "_addBrush_", [smalltalk.send(self, "_newTag_", [aString])]);
- return self;},
- args: ["aString"],
- source: unescape('tag%3A%20aString%0A%20%20%20%20%5Eroot%20addBrush%3A%20%28self%20newTag%3A%20aString%29'),
- messageSends: ["addBrush:", "newTag:"],
- referencedClasses: []
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- unescape('_h1'),
- smalltalk.method({
- selector: unescape('h1'),
- category: 'tags',
- fn: function (){
- var self=this;
- return smalltalk.send(self, "_tag_", ["h1"]);
- return self;},
- args: [],
- source: unescape('h1%0A%20%20%20%20%5Eself%20tag%3A%20%27h1%27'),
- messageSends: ["tag:"],
- referencedClasses: []
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- unescape('_h2'),
- smalltalk.method({
- selector: unescape('h2'),
- category: 'tags',
- fn: function (){
- var self=this;
- return smalltalk.send(self, "_tag_", ["h2"]);
- return self;},
- args: [],
- source: unescape('h2%0A%20%20%20%20%5Eself%20tag%3A%20%27h2%27'),
- messageSends: ["tag:"],
- referencedClasses: []
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- unescape('_h3'),
- smalltalk.method({
- selector: unescape('h3'),
- category: 'tags',
- fn: function (){
- var self=this;
- return smalltalk.send(self, "_tag_", ["h3"]);
- return self;},
- args: [],
- source: unescape('h3%0A%20%20%20%20%5Eself%20tag%3A%20%27h3%27'),
- messageSends: ["tag:"],
- referencedClasses: []
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- unescape('_h4'),
- smalltalk.method({
- selector: unescape('h4'),
- category: 'tags',
- fn: function (){
- var self=this;
- return smalltalk.send(self, "_tag_", ["h4"]);
- return self;},
- args: [],
- source: unescape('h4%0A%20%20%20%20%5Eself%20tag%3A%20%27h4%27'),
- messageSends: ["tag:"],
- referencedClasses: []
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- unescape('_h5'),
- smalltalk.method({
- selector: unescape('h5'),
- category: 'tags',
- fn: function (){
- var self=this;
- return smalltalk.send(self, "_tag_", ["h5"]);
- return self;},
- args: [],
- source: unescape('h5%0A%20%20%20%20%5Eself%20tag%3A%20%27h5%27'),
- messageSends: ["tag:"],
- referencedClasses: []
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- unescape('_h6'),
- smalltalk.method({
- selector: unescape('h6'),
- category: 'tags',
- fn: function (){
- var self=this;
- return smalltalk.send(self, "_tag_", ["h6"]);
- return self;},
- args: [],
- source: unescape('h6%0A%20%20%20%20%5Eself%20tag%3A%20%27h6%27'),
- messageSends: ["tag:"],
- referencedClasses: []
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- unescape('_p'),
- smalltalk.method({
- selector: unescape('p'),
- category: 'tags',
- fn: function (){
- var self=this;
- return smalltalk.send(self, "_tag_", ["p"]);
- return self;},
- args: [],
- source: unescape('p%0A%20%20%20%20%5Eself%20tag%3A%20%27p%27'),
- messageSends: ["tag:"],
- referencedClasses: []
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- unescape('_div'),
- smalltalk.method({
- selector: unescape('div'),
- category: 'tags',
- fn: function (){
- var self=this;
- return smalltalk.send(self, "_tag_", ["div"]);
- return self;},
- args: [],
- source: unescape('div%0A%20%20%20%20%5Eself%20tag%3A%20%27div%27'),
- messageSends: ["tag:"],
- referencedClasses: []
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- unescape('_span'),
- smalltalk.method({
- selector: unescape('span'),
- category: 'tags',
- fn: function (){
- var self=this;
- return smalltalk.send(self, "_tag_", ["span"]);
- return self;},
- args: [],
- source: unescape('span%0A%20%20%20%20%5Eself%20tag%3A%20%27span%27'),
- messageSends: ["tag:"],
- referencedClasses: []
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- unescape('_img'),
- smalltalk.method({
- selector: unescape('img'),
- category: 'tags',
- fn: function (){
- var self=this;
- return smalltalk.send(self, "_tag_", ["img"]);
- return self;},
- args: [],
- source: unescape('img%0A%20%20%20%20%5Eself%20tag%3A%20%27img%27'),
- messageSends: ["tag:"],
- referencedClasses: []
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- unescape('_ul'),
- smalltalk.method({
- selector: unescape('ul'),
- category: 'tags',
- fn: function (){
- var self=this;
- return smalltalk.send(self, "_tag_", ["ul"]);
- return self;},
- args: [],
- source: unescape('ul%0A%20%20%20%20%5Eself%20tag%3A%20%27ul%27'),
- messageSends: ["tag:"],
- referencedClasses: []
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- unescape('_ol'),
- smalltalk.method({
- selector: unescape('ol'),
- category: 'tags',
- fn: function (){
- var self=this;
- return smalltalk.send(self, "_tag_", ["ol"]);
- return self;},
- args: [],
- source: unescape('ol%0A%20%20%20%20%5Eself%20tag%3A%20%27ol%27'),
- messageSends: ["tag:"],
- referencedClasses: []
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- unescape('_li'),
- smalltalk.method({
- selector: unescape('li'),
- category: 'tags',
- fn: function (){
- var self=this;
- return smalltalk.send(self, "_tag_", ["li"]);
- return self;},
- args: [],
- source: unescape('li%0A%20%20%20%20%5Eself%20tag%3A%20%27li%27'),
- messageSends: ["tag:"],
- referencedClasses: []
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- unescape('_table'),
- smalltalk.method({
- selector: unescape('table'),
- category: 'tags',
- fn: function (){
- var self=this;
- return smalltalk.send(self, "_tag_", ["table"]);
- return self;},
- args: [],
- source: unescape('table%0A%20%20%20%20%5Eself%20tag%3A%20%27table%27'),
- messageSends: ["tag:"],
- referencedClasses: []
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- unescape('_tr'),
- smalltalk.method({
- selector: unescape('tr'),
- category: 'tags',
- fn: function (){
- var self=this;
- return smalltalk.send(self, "_tag_", ["tr"]);
- return self;},
- args: [],
- source: unescape('tr%0A%20%20%20%20%5Eself%20tag%3A%20%27tr%27'),
- messageSends: ["tag:"],
- referencedClasses: []
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- unescape('_td'),
- smalltalk.method({
- selector: unescape('td'),
- category: 'tags',
- fn: function (){
- var self=this;
- return smalltalk.send(self, "_tag_", ["td"]);
- return self;},
- args: [],
- source: unescape('td%20%0A%20%20%20%20%5Eself%20tag%3A%20%27td%27'),
- messageSends: ["tag:"],
- referencedClasses: []
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- unescape('_th'),
- smalltalk.method({
- selector: unescape('th'),
- category: 'tags',
- fn: function (){
- var self=this;
- return smalltalk.send(self, "_tag_", ["th"]);
- return self;},
- args: [],
- source: unescape('th%0A%20%20%20%20%5Eself%20tag%3A%20%27th%27'),
- messageSends: ["tag:"],
- referencedClasses: []
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- unescape('_form'),
- smalltalk.method({
- selector: unescape('form'),
- category: 'tags',
- fn: function (){
- var self=this;
- return smalltalk.send(self, "_tag_", ["form"]);
- return self;},
- args: [],
- source: unescape('form%0A%20%20%20%20%5Eself%20tag%3A%20%27form%27'),
- messageSends: ["tag:"],
- referencedClasses: []
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- unescape('_input'),
- smalltalk.method({
- selector: unescape('input'),
- category: 'tags',
- fn: function (){
- var self=this;
- return smalltalk.send(self, "_tag_", ["input"]);
- return self;},
- args: [],
- source: unescape('input%0A%20%20%20%20%5Eself%20tag%3A%20%27input%27'),
- messageSends: ["tag:"],
- referencedClasses: []
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- unescape('_button'),
- smalltalk.method({
- selector: unescape('button'),
- category: 'tags',
- fn: function (){
- var self=this;
- return smalltalk.send(self, "_tag_", ["button"]);
- return self;},
- args: [],
- source: unescape('button%0A%20%20%20%20%5Eself%20tag%3A%20%27button%27'),
- messageSends: ["tag:"],
- referencedClasses: []
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- unescape('_select'),
- smalltalk.method({
- selector: unescape('select'),
- category: 'tags',
- fn: function (){
- var self=this;
- return smalltalk.send(self, "_tag_", ["select"]);
- return self;},
- args: [],
- source: unescape('select%0A%20%20%20%20%5Eself%20tag%3A%20%27select%27'),
- messageSends: ["tag:"],
- referencedClasses: []
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- unescape('_option'),
- smalltalk.method({
- selector: unescape('option'),
- category: 'tags',
- fn: function (){
- var self=this;
- return smalltalk.send(self, "_tag_", ["option"]);
- return self;},
- args: [],
- source: unescape('option%0A%20%20%20%20%5Eself%20tag%3A%20%27option%27'),
- messageSends: ["tag:"],
- referencedClasses: []
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- unescape('_textarea'),
- smalltalk.method({
- selector: unescape('textarea'),
- category: 'tags',
- fn: function (){
- var self=this;
- return smalltalk.send(self, "_tag_", ["textarea"]);
- return self;},
- args: [],
- source: unescape('textarea%0A%20%20%20%20%5Eself%20tag%3A%20%27textarea%27'),
- messageSends: ["tag:"],
- referencedClasses: []
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- unescape('_a'),
- smalltalk.method({
- selector: unescape('a'),
- category: 'tags',
- fn: function (){
- var self=this;
- return smalltalk.send(self, "_tag_", ["a"]);
- return self;},
- args: [],
- source: unescape('a%0A%20%20%20%20%5Eself%20tag%3A%20%27a%27'),
- messageSends: ["tag:"],
- referencedClasses: []
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- unescape('_canvas'),
- smalltalk.method({
- selector: unescape('canvas'),
- category: 'tags',
- fn: function (){
- var self=this;
- return smalltalk.send(self, "_tag_", ["canvas"]);
- return self;},
- args: [],
- source: unescape('canvas%0A%09%5Eself%20tag%3A%20%27canvas%27'),
- messageSends: ["tag:"],
- referencedClasses: []
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- unescape('_pre'),
- smalltalk.method({
- selector: unescape('pre'),
- category: 'tags',
- fn: function (){
- var self=this;
- return smalltalk.send(self, "_tag_", ["pre"]);
- return self;},
- args: [],
- source: unescape('pre%0A%20%20%20%20%5Eself%20tag%3A%20%27pre%27'),
- messageSends: ["tag:"],
- referencedClasses: []
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- unescape('_code'),
- smalltalk.method({
- selector: unescape('code'),
- category: 'tags',
- fn: function (){
- var self=this;
- return smalltalk.send(self, "_tag_", ["code"]);
- return self;},
- args: [],
- source: unescape('code%0A%20%20%20%20%5Eself%20tag%3A%20%27code%27'),
- messageSends: ["tag:"],
- referencedClasses: []
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- unescape('_br'),
- smalltalk.method({
- selector: unescape('br'),
- category: 'tags',
- fn: function (){
- var self=this;
- return smalltalk.send(self, "_tag_", ["br"]);
- return self;},
- args: [],
- source: unescape('br%0A%20%20%20%20%5Eself%20tag%3A%20%27br%27'),
- messageSends: ["tag:"],
- referencedClasses: []
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- unescape('_script'),
- smalltalk.method({
- selector: unescape('script'),
- category: 'tags',
- fn: function (){
- var self=this;
- return smalltalk.send(self, "_tag_", ["script"]);
- return self;},
- args: [],
- source: unescape('script%0A%20%20%20%20%5Eself%20tag%3A%20%27script%27'),
- messageSends: ["tag:"],
- referencedClasses: []
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- unescape('_link'),
- smalltalk.method({
- selector: unescape('link'),
- category: 'tags',
- fn: function (){
- var self=this;
- return smalltalk.send(self, "_tag_", ["link"]);
- return self;},
- args: [],
- source: unescape('link%0A%20%20%20%20%5Eself%20tag%3A%20%27link%27'),
- messageSends: ["tag:"],
- referencedClasses: []
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- unescape('_style'),
- smalltalk.method({
- selector: unescape('style'),
- category: 'tags',
- fn: function (){
- var self=this;
- return smalltalk.send(self, "_tag_", ["style"]);
- return self;},
- args: [],
- source: unescape('style%0A%09%5Eself%20tag%3A%20%27style%27'),
- messageSends: ["tag:"],
- referencedClasses: []
- }),
- smalltalk.HTMLCanvas);
- smalltalk.addMethod(
- unescape('_onJQuery_'),
- smalltalk.method({
- selector: unescape('onJQuery%3A'),
- category: 'instance creation',
- fn: function (aJQuery){
- var self=this;
- return (function($rec){smalltalk.send($rec, "_initializeFromJQuery_", [aJQuery]);smalltalk.send($rec, "_initialize", []);return smalltalk.send($rec, "_yourself", []);})(smalltalk.send(self, "_basicNew", []));
- return self;},
- args: ["aJQuery"],
- source: unescape('onJQuery%3A%20aJQuery%0A%09%5Eself%20basicNew%0A%09%09initializeFromJQuery%3A%20aJQuery%3B%0A%09%09initialize%3B%0A%09%09yourself'),
- messageSends: ["initializeFromJQuery:", "initialize", "yourself", "basicNew"],
- referencedClasses: []
- }),
- smalltalk.HTMLCanvas.klass);
- smalltalk.addClass('TagBrush', smalltalk.Object, ['canvas', 'element'], 'Canvas');
- smalltalk.addMethod(
- unescape('_element'),
- smalltalk.method({
- selector: unescape('element'),
- category: 'accessing',
- fn: function (){
- var self=this;
- return self['@element'];
- return self;},
- args: [],
- source: unescape('element%0A%20%20%20%20%5Eelement'),
- messageSends: [],
- referencedClasses: []
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- unescape('_contents_'),
- smalltalk.method({
- selector: unescape('contents%3A'),
- category: 'adding',
- fn: function (anObject){
- var self=this;
- (function($rec){smalltalk.send($rec, "_empty", []);return smalltalk.send($rec, "_append_", [anObject]);})(self);
- return self;},
- args: ["anObject"],
- source: unescape('contents%3A%20anObject%0A%20%20%20%20self%20%0A%09empty%3B%0A%20%20%20%09append%3A%20anObject'),
- messageSends: ["empty", "append:"],
- referencedClasses: []
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- unescape('_addBrush_'),
- smalltalk.method({
- selector: unescape('addBrush%3A'),
- category: 'adding',
- fn: function (aTagBrush){
- var self=this;
- smalltalk.send(self, "_appendChild_", [smalltalk.send(aTagBrush, "_element", [])]);
- return aTagBrush;
- return self;},
- args: ["aTagBrush"],
- source: unescape('addBrush%3A%20aTagBrush%0A%20%20%20%20self%20appendChild%3A%20aTagBrush%20element.%0A%20%20%20%20%5EaTagBrush'),
- messageSends: ["appendChild:", "element"],
- referencedClasses: []
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- unescape('_with_'),
- smalltalk.method({
- selector: unescape('with%3A'),
- category: 'adding',
- fn: function (anObject){
- var self=this;
- smalltalk.send(self, "_append_", [anObject]);
- return self;},
- args: ["anObject"],
- source: unescape('with%3A%20anObject%0A%20%20%20%20self%20append%3A%20anObject'),
- messageSends: ["append:"],
- referencedClasses: []
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- unescape('_append_'),
- smalltalk.method({
- selector: unescape('append%3A'),
- category: 'adding',
- fn: function (anObject){
- var self=this;
- smalltalk.send(anObject, "_appendToBrush_", [self]);
- return self;},
- args: ["anObject"],
- source: unescape('append%3A%20anObject%0A%20%20%20%20anObject%20appendToBrush%3A%20self'),
- messageSends: ["appendToBrush:"],
- referencedClasses: []
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- unescape('_appendToBrush_'),
- smalltalk.method({
- selector: unescape('appendToBrush%3A'),
- category: 'adding',
- fn: function (aTagBrush){
- var self=this;
- smalltalk.send(aTagBrush, "_addBrush_", [self]);
- return self;},
- args: ["aTagBrush"],
- source: unescape('appendToBrush%3A%20aTagBrush%0A%20%20%20%20aTagBrush%20addBrush%3A%20self'),
- messageSends: ["addBrush:"],
- referencedClasses: []
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- unescape('_appendBlock_'),
- smalltalk.method({
- selector: unescape('appendBlock%3A'),
- category: 'adding',
- fn: function (aBlock){
- var self=this;
- var root=nil;
- root=smalltalk.send(self['@canvas'], "_root", []);
- smalltalk.send(self['@canvas'], "_root_", [self]);
- smalltalk.send(aBlock, "_value_", [self['@canvas']]);
- smalltalk.send(self['@canvas'], "_root_", [root]);
- return self;},
- args: ["aBlock"],
- source: unescape('appendBlock%3A%20aBlock%0A%20%20%20%20%7C%20root%20%7C%0A%20%20%20%20root%20%3A%3D%20canvas%20root.%0A%20%20%20%20canvas%20root%3A%20self.%0A%20%20%20%20aBlock%20value%3A%20canvas.%0A%20%20%20%20canvas%20root%3A%20root'),
- messageSends: ["root", "root:", "value:"],
- referencedClasses: []
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- unescape('_appendChild_'),
- smalltalk.method({
- selector: unescape('appendChild%3A'),
- category: 'adding',
- fn: function (anElement){
- var self=this;
- var element=self['@element'];
- if (null == element.canHaveChildren || element.canHaveChildren) {
- element.appendChild(anElement);
- } else {
- element.text = String(element.text) + anElement.innerHTML;
- } ;
- return self;},
- args: ["anElement"],
- source: unescape('appendChild%3A%20anElement%0A%09%22In%20IE7%20and%20IE8%20appendChild%20fails%20on%20several%20node%20types.%20So%20we%20need%20to%20check%22%20%0A%20%09%3Cvar%20element%3Dself%5B%27@element%27%5D%3B%0A%20%09if%20%28null%20%3D%3D%20element.canHaveChildren%20%7C%7C%20element.canHaveChildren%29%20%7B%0A%09%09element.appendChild%28anElement%29%3B%0A%20%09%7D%20else%20%7B%0A%20%09%09element.text%20%3D%20String%28element.text%29%20+%20%20anElement.innerHTML%3B%0A%20%09%7D%20%3E'),
- messageSends: [],
- referencedClasses: []
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- unescape('_appendString_'),
- smalltalk.method({
- selector: unescape('appendString%3A'),
- category: 'adding',
- fn: function (aString){
- var self=this;
- smalltalk.send(self, "_appendChild_", [smalltalk.send(self, "_createTextNodeFor_", [aString])]);
- return self;},
- args: ["aString"],
- source: unescape('appendString%3A%20aString%0A%20%20%20%20self%20appendChild%3A%20%28self%20createTextNodeFor%3A%20aString%29'),
- messageSends: ["appendChild:", "createTextNodeFor:"],
- referencedClasses: []
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- unescape('_empty'),
- smalltalk.method({
- selector: unescape('empty'),
- category: 'adding',
- fn: function (){
- var self=this;
- smalltalk.send(smalltalk.send(self, "_asJQuery", []), "_empty", []);
- return self;},
- args: [],
- source: unescape('empty%0A%09self%20asJQuery%20empty'),
- messageSends: ["empty", "asJQuery"],
- referencedClasses: []
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- unescape('_at_put_'),
- smalltalk.method({
- selector: unescape('at%3Aput%3A'),
- category: 'attributes',
- fn: function (aString, aValue){
- var self=this;
- self['@element'].setAttribute(aString, aValue);
- return self;},
- args: ["aString", "aValue"],
- source: unescape('at%3A%20aString%20put%3A%20aValue%0A%20%20%20%20%3Cself%5B%27@element%27%5D.setAttribute%28aString%2C%20aValue%29%3E'),
- messageSends: [],
- referencedClasses: []
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- unescape('_removeAt_'),
- smalltalk.method({
- selector: unescape('removeAt%3A'),
- category: 'attributes',
- fn: function (aString){
- var self=this;
- self['@element'].removeAttribute(aString);
- return self;},
- args: ["aString"],
- source: unescape('removeAt%3A%20aString%0A%20%20%20%20%3Cself%5B%27@element%27%5D.removeAttribute%28aString%29%3E'),
- messageSends: [],
- referencedClasses: []
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- unescape('_class_'),
- smalltalk.method({
- selector: unescape('class%3A'),
- category: 'attributes',
- fn: function (aString){
- var self=this;
- smalltalk.send(self, "_at_put_", ["class", aString]);
- return self;},
- args: ["aString"],
- source: unescape('class%3A%20aString%0A%20%20%20%20self%20at%3A%20%27class%27%20put%3A%20aString'),
- messageSends: ["at:put:"],
- referencedClasses: []
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- unescape('_id_'),
- smalltalk.method({
- selector: unescape('id%3A'),
- category: 'attributes',
- fn: function (aString){
- var self=this;
- smalltalk.send(self, "_at_put_", ["id", aString]);
- return self;},
- args: ["aString"],
- source: unescape('id%3A%20aString%0A%20%20%20%20self%20at%3A%20%27id%27%20put%3A%20aString'),
- messageSends: ["at:put:"],
- referencedClasses: []
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- unescape('_src_'),
- smalltalk.method({
- selector: unescape('src%3A'),
- category: 'attributes',
- fn: function (aString){
- var self=this;
- smalltalk.send(self, "_at_put_", ["src", aString]);
- return self;},
- args: ["aString"],
- source: unescape('src%3A%20aString%0A%20%20%20%20self%20%20at%3A%20%27src%27%20put%3A%20aString'),
- messageSends: ["at:put:"],
- referencedClasses: []
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- unescape('_href_'),
- smalltalk.method({
- selector: unescape('href%3A'),
- category: 'attributes',
- fn: function (aString){
- var self=this;
- smalltalk.send(self, "_at_put_", ["href", aString]);
- return self;},
- args: ["aString"],
- source: unescape('href%3A%20aString%0A%20%20%20%20self%20at%3A%20%27href%27%20put%3A%20aString'),
- messageSends: ["at:put:"],
- referencedClasses: []
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- unescape('_title_'),
- smalltalk.method({
- selector: unescape('title%3A'),
- category: 'attributes',
- fn: function (aString){
- var self=this;
- smalltalk.send(self, "_at_put_", ["title", aString]);
- return self;},
- args: ["aString"],
- source: unescape('title%3A%20aString%0A%20%20%20%20self%20at%3A%20%27title%27%20put%3A%20aString'),
- messageSends: ["at:put:"],
- referencedClasses: []
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- unescape('_style_'),
- smalltalk.method({
- selector: unescape('style%3A'),
- category: 'attributes',
- fn: function (aString){
- var self=this;
- smalltalk.send(self, "_at_put_", ["style", aString]);
- return self;},
- args: ["aString"],
- source: unescape('style%3A%20aString%0A%20%20%20%20self%20at%3A%20%27style%27%20put%3A%20aString'),
- messageSends: ["at:put:"],
- referencedClasses: []
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- unescape('_type_'),
- smalltalk.method({
- selector: unescape('type%3A'),
- category: 'attributes',
- fn: function (aString){
- var self=this;
- smalltalk.send(self, "_at_put_", ["type", aString]);
- return self;},
- args: ["aString"],
- source: unescape('type%3A%20aString%0A%20%20%20%20self%20at%3A%20%27type%27%20put%3A%20aString'),
- messageSends: ["at:put:"],
- referencedClasses: []
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- unescape('_media_'),
- smalltalk.method({
- selector: unescape('media%3A'),
- category: 'attributes',
- fn: function (aString){
- var self=this;
- smalltalk.send(self, "_at_put_", ["media", aString]);
- return self;},
- args: ["aString"],
- source: unescape('media%3A%20aString%0A%20%20%20%20self%20at%3A%20%27media%27%20put%3A%20aString'),
- messageSends: ["at:put:"],
- referencedClasses: []
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- unescape('_rel_'),
- smalltalk.method({
- selector: unescape('rel%3A'),
- category: 'attributes',
- fn: function (aString){
- var self=this;
- smalltalk.send(self, "_at_put_", ["rel", aString]);
- return self;},
- args: ["aString"],
- source: unescape('rel%3A%20aString%0A%20%20%20%20self%20%20at%3A%20%27rel%27%20put%3A%20aString'),
- messageSends: ["at:put:"],
- referencedClasses: []
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- unescape('_asJQuery'),
- smalltalk.method({
- selector: unescape('asJQuery'),
- category: 'converting',
- fn: function (){
- var self=this;
- return smalltalk.JQuery._from_(jQuery(self['@element']));
- return self;},
- args: [],
- source: unescape('asJQuery%0A%09%3Creturn%20smalltalk.JQuery._from_%28jQuery%28self%5B%27@element%27%5D%29%29%3E'),
- messageSends: [],
- referencedClasses: []
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- unescape('_asJQueryDo_'),
- smalltalk.method({
- selector: unescape('asJQueryDo%3A'),
- category: 'converting',
- fn: function (aBlock){
- var self=this;
- smalltalk.send(aBlock, "_value_", [smalltalk.send(self, "_asJQuery", [])]);
- return self;},
- args: ["aBlock"],
- source: unescape('asJQueryDo%3A%20aBlock%0A%20%20%20%20aBlock%20value%3A%20self%20asJQuery'),
- messageSends: ["value:", "asJQuery"],
- referencedClasses: []
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- unescape('_onKeyDown_'),
- smalltalk.method({
- selector: unescape('onKeyDown%3A'),
- category: 'events',
- fn: function (aBlock){
- var self=this;
- smalltalk.send(smalltalk.send(self, "_asJQuery", []), "_on_do_", ["keydown", aBlock]);
- return self;},
- args: ["aBlock"],
- source: unescape('onKeyDown%3A%20aBlock%0A%20%20%20%20self%20asJQuery%20on%3A%20%27keydown%27%20do%3A%20aBlock'),
- messageSends: ["on:do:", "asJQuery"],
- referencedClasses: []
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- unescape('_onKeyPress_'),
- smalltalk.method({
- selector: unescape('onKeyPress%3A'),
- category: 'events',
- fn: function (aBlock){
- var self=this;
- smalltalk.send(smalltalk.send(self, "_asJQuery", []), "_on_do_", ["keypress", aBlock]);
- return self;},
- args: ["aBlock"],
- source: unescape('onKeyPress%3A%20aBlock%0A%20%20%20%20self%20asJQuery%20on%3A%20%27keypress%27%20do%3A%20aBlock'),
- messageSends: ["on:do:", "asJQuery"],
- referencedClasses: []
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- unescape('_onKeyUp_'),
- smalltalk.method({
- selector: unescape('onKeyUp%3A'),
- category: 'events',
- fn: function (aBlock){
- var self=this;
- smalltalk.send(smalltalk.send(self, "_asJQuery", []), "_on_do_", ["keyup", aBlock]);
- return self;},
- args: ["aBlock"],
- source: unescape('onKeyUp%3A%20aBlock%0A%20%20%20%20self%20asJQuery%20on%3A%20%27keyup%27%20do%3A%20aBlock'),
- messageSends: ["on:do:", "asJQuery"],
- referencedClasses: []
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- unescape('_onFocus_'),
- smalltalk.method({
- selector: unescape('onFocus%3A'),
- category: 'events',
- fn: function (aBlock){
- var self=this;
- smalltalk.send(smalltalk.send(self, "_asJQuery", []), "_on_do_", ["focus", aBlock]);
- return self;},
- args: ["aBlock"],
- source: unescape('onFocus%3A%20aBlock%0A%20%20%20%20self%20asJQuery%20on%3A%20%27focus%27%20do%3A%20aBlock'),
- messageSends: ["on:do:", "asJQuery"],
- referencedClasses: []
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- unescape('_onBlur_'),
- smalltalk.method({
- selector: unescape('onBlur%3A'),
- category: 'events',
- fn: function (aBlock){
- var self=this;
- smalltalk.send(smalltalk.send(self, "_asJQuery", []), "_on_do_", ["blur", aBlock]);
- return self;},
- args: ["aBlock"],
- source: unescape('onBlur%3A%20aBlock%0A%20%20%20%20self%20asJQuery%20on%3A%20%27blur%27%20do%3A%20aBlock'),
- messageSends: ["on:do:", "asJQuery"],
- referencedClasses: []
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- unescape('_onChange_'),
- smalltalk.method({
- selector: unescape('onChange%3A'),
- category: 'events',
- fn: function (aBlock){
- var self=this;
- smalltalk.send(smalltalk.send(self, "_asJQuery", []), "_on_do_", ["change", aBlock]);
- return self;},
- args: ["aBlock"],
- source: unescape('onChange%3A%20aBlock%0A%20%20%20%20self%20asJQuery%20on%3A%20%27change%27%20do%3A%20aBlock'),
- messageSends: ["on:do:", "asJQuery"],
- referencedClasses: []
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- unescape('_onClick_'),
- smalltalk.method({
- selector: unescape('onClick%3A'),
- category: 'events',
- fn: function (aBlock){
- var self=this;
- smalltalk.send(smalltalk.send(self, "_asJQuery", []), "_on_do_", ["click", aBlock]);
- return self;},
- args: ["aBlock"],
- source: unescape('onClick%3A%20aBlock%0A%20%20%20%20self%20asJQuery%20on%3A%20%27click%27%20do%3A%20aBlock'),
- messageSends: ["on:do:", "asJQuery"],
- referencedClasses: []
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- unescape('_initializeFromString_canvas_'),
- smalltalk.method({
- selector: unescape('initializeFromString%3Acanvas%3A'),
- category: 'initialization',
- fn: function (aString, aCanvas){
- var self=this;
- self['@element']=smalltalk.send(self, "_createElementFor_", [aString]);
- self['@canvas']=aCanvas;
- return self;},
- args: ["aString", "aCanvas"],
- source: unescape('initializeFromString%3A%20aString%20canvas%3A%20aCanvas%0A%20%20%20%20element%20%3A%3D%20self%20createElementFor%3A%20aString.%0A%20%20%20%20canvas%20%3A%3D%20aCanvas'),
- messageSends: ["createElementFor:"],
- referencedClasses: []
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- unescape('_initializeFromJQuery_canvas_'),
- smalltalk.method({
- selector: unescape('initializeFromJQuery%3Acanvas%3A'),
- category: 'initialization',
- fn: function (aJQuery, aCanvas){
- var self=this;
- self['@element']=smalltalk.send(smalltalk.send(aJQuery, "_jquery", []), "_get_", [(0)]);
- self['@canvas']=aCanvas;
- return self;},
- args: ["aJQuery", "aCanvas"],
- source: unescape('initializeFromJQuery%3A%20aJQuery%20canvas%3A%20aCanvas%0A%20%20%20%20element%20%3A%3D%20aJQuery%20jquery%20get%3A%200.%0A%20%20%20%20canvas%20%3A%3D%20aCanvas'),
- messageSends: ["get:", "jquery"],
- referencedClasses: []
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- unescape('_createElementFor_'),
- smalltalk.method({
- selector: unescape('createElementFor%3A'),
- category: 'private',
- fn: function (aString){
- var self=this;
- return document.createElement(String(aString));
- return self;},
- args: ["aString"],
- source: unescape('createElementFor%3A%20aString%0A%09%3Creturn%20document.createElement%28String%28aString%29%29%3E'),
- messageSends: [],
- referencedClasses: []
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- unescape('_createTextNodeFor_'),
- smalltalk.method({
- selector: unescape('createTextNodeFor%3A'),
- category: 'private',
- fn: function (aString){
- var self=this;
- return document.createTextNode(String(aString));
- return self;},
- args: ["aString"],
- source: unescape('createTextNodeFor%3A%20aString%0A%09%3Creturn%20document.createTextNode%28String%28aString%29%29%3E'),
- messageSends: [],
- referencedClasses: []
- }),
- smalltalk.TagBrush);
- smalltalk.addMethod(
- unescape('_fromString_canvas_'),
- smalltalk.method({
- selector: unescape('fromString%3Acanvas%3A'),
- category: 'instance creation',
- fn: function (aString, aCanvas){
- var self=this;
- return (function($rec){smalltalk.send($rec, "_initializeFromString_canvas_", [aString, aCanvas]);return smalltalk.send($rec, "_yourself", []);})(smalltalk.send(self, "_new", []));
- return self;},
- args: ["aString", "aCanvas"],
- source: unescape('fromString%3A%20aString%20canvas%3A%20aCanvas%0A%20%20%20%20%5Eself%20new%0A%09initializeFromString%3A%20aString%20canvas%3A%20aCanvas%3B%0A%09yourself'),
- messageSends: ["initializeFromString:canvas:", "yourself", "new"],
- referencedClasses: []
- }),
- smalltalk.TagBrush.klass);
- smalltalk.addMethod(
- unescape('_fromJQuery_canvas_'),
- smalltalk.method({
- selector: unescape('fromJQuery%3Acanvas%3A'),
- category: 'instance creation',
- fn: function (aJQuery, aCanvas){
- var self=this;
- return (function($rec){smalltalk.send($rec, "_initializeFromJQuery_canvas_", [aJQuery, aCanvas]);return smalltalk.send($rec, "_yourself", []);})(smalltalk.send(self, "_new", []));
- return self;},
- args: ["aJQuery", "aCanvas"],
- source: unescape('fromJQuery%3A%20aJQuery%20canvas%3A%20aCanvas%0A%20%20%20%20%5Eself%20new%0A%09initializeFromJQuery%3A%20aJQuery%20canvas%3A%20aCanvas%3B%0A%09yourself'),
- messageSends: ["initializeFromJQuery:canvas:", "yourself", "new"],
- referencedClasses: []
- }),
- smalltalk.TagBrush.klass);
- smalltalk.addClass('Widget', smalltalk.Object, [], 'Canvas');
- smalltalk.addMethod(
- unescape('_alert_'),
- smalltalk.method({
- selector: unescape('alert%3A'),
- category: 'actions',
- fn: function (aString){
- var self=this;
- alert(aString);
- return self;},
- args: ["aString"],
- source: unescape('alert%3A%20aString%0A%20%20%20%20%3Calert%28aString%29%3E'),
- messageSends: [],
- referencedClasses: []
- }),
- smalltalk.Widget);
- smalltalk.addMethod(
- unescape('_confirm_'),
- smalltalk.method({
- selector: unescape('confirm%3A'),
- category: 'actions',
- fn: function (aString){
- var self=this;
- return window.confirm(aString);
- return self;},
- args: ["aString"],
- source: unescape('confirm%3A%20aString%0A%20%20%20%20%3Creturn%20window.confirm%28aString%29%3E'),
- messageSends: [],
- referencedClasses: []
- }),
- smalltalk.Widget);
- smalltalk.addMethod(
- unescape('_prompt_'),
- smalltalk.method({
- selector: unescape('prompt%3A'),
- category: 'actions',
- fn: function (aString){
- var self=this;
- return smalltalk.send(self, "_prompt_default_", [aString, ""]);
- return self;},
- args: ["aString"],
- source: unescape('prompt%3A%20aString%0A%20%20%20%20%5Eself%20prompt%3A%20aString%20default%3A%20%27%27'),
- messageSends: ["prompt:default:"],
- referencedClasses: []
- }),
- smalltalk.Widget);
- smalltalk.addMethod(
- unescape('_prompt_default_'),
- smalltalk.method({
- selector: unescape('prompt%3Adefault%3A'),
- category: 'actions',
- fn: function (aString, anotherString){
- var self=this;
- return window.prompt(aString, anotherString);
- return self;},
- args: ["aString", "anotherString"],
- source: unescape('prompt%3A%20aString%20default%3A%20anotherString%0A%20%20%20%20%3Creturn%20window.prompt%28aString%2C%20anotherString%29%3E'),
- messageSends: [],
- referencedClasses: []
- }),
- smalltalk.Widget);
- smalltalk.addMethod(
- unescape('_appendToBrush_'),
- smalltalk.method({
- selector: unescape('appendToBrush%3A'),
- category: 'adding',
- fn: function (aTagBrush){
- var self=this;
- smalltalk.send(self, "_appendToJQuery_", [smalltalk.send(aTagBrush, "_asJQuery", [])]);
- return self;},
- args: ["aTagBrush"],
- source: unescape('appendToBrush%3A%20aTagBrush%0A%20%20%20%20self%20appendToJQuery%3A%20aTagBrush%20asJQuery'),
- messageSends: ["appendToJQuery:", "asJQuery"],
- referencedClasses: []
- }),
- smalltalk.Widget);
- smalltalk.addMethod(
- unescape('_appendToJQuery_'),
- smalltalk.method({
- selector: unescape('appendToJQuery%3A'),
- category: 'adding',
- fn: function (aJQuery){
- var self=this;
- smalltalk.send(self, "_renderOn_", [smalltalk.send((smalltalk.HTMLCanvas || HTMLCanvas), "_onJQuery_", [aJQuery])]);
- return self;},
- args: ["aJQuery"],
- source: unescape('appendToJQuery%3A%20aJQuery%0A%20%20%20self%20renderOn%3A%20%28HTMLCanvas%20onJQuery%3A%20aJQuery%29'),
- messageSends: ["renderOn:", "onJQuery:"],
- referencedClasses: [smalltalk.HTMLCanvas]
- }),
- smalltalk.Widget);
- smalltalk.addMethod(
- unescape('_renderOn_'),
- smalltalk.method({
- selector: unescape('renderOn%3A'),
- category: 'rendering',
- fn: function (html){
- var self=this;
- self;
- return self;},
- args: ["html"],
- source: unescape('renderOn%3A%20html%0A%20%20%20%20self'),
- messageSends: [],
- referencedClasses: []
- }),
- smalltalk.Widget);
- smalltalk.addMethod(
- unescape('_appendToBrush_'),
- smalltalk.method({
- selector: unescape('appendToBrush%3A'),
- category: '*Canvas',
- fn: function (aTagBrush){
- var self=this;
- smalltalk.send(aTagBrush, "_append_", [smalltalk.send(self, "_asString", [])]);
- return self;},
- args: ["aTagBrush"],
- source: unescape('appendToBrush%3A%20aTagBrush%0A%20%20%20%20aTagBrush%20append%3A%20self%20asString'),
- messageSends: ["append:", "asString"],
- referencedClasses: []
- }),
- smalltalk.Object);
- smalltalk.addMethod(
- unescape('_appendToBrush_'),
- smalltalk.method({
- selector: unescape('appendToBrush%3A'),
- category: '*Canvas',
- fn: function (aTagBrush){
- var self=this;
- smalltalk.send(aTagBrush, "_appendBlock_", [self]);
- return self;},
- args: ["aTagBrush"],
- source: unescape('appendToBrush%3A%20aTagBrush%0A%20%20%20%20aTagBrush%20appendBlock%3A%20self'),
- messageSends: ["appendBlock:"],
- referencedClasses: []
- }),
- smalltalk.BlockClosure);
- smalltalk.addMethod(
- unescape('_appendToBrush_'),
- smalltalk.method({
- selector: unescape('appendToBrush%3A'),
- category: '*Canvas',
- fn: function (aTagBrush){
- var self=this;
- smalltalk.send(aTagBrush, "_appendString_", [self]);
- return self;},
- args: ["aTagBrush"],
- source: unescape('appendToBrush%3A%20aTagBrush%0A%20%20%20%20aTagBrush%20appendString%3A%20self'),
- messageSends: ["appendString:"],
- referencedClasses: []
- }),
- smalltalk.String);
|