Canvas.js 93 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500
  1. smalltalk.addPackage('Canvas', {});
  2. smalltalk.addClass('HTMLCanvas', smalltalk.Object, ['root'], 'Canvas');
  3. smalltalk.addMethod(
  4. "_a",
  5. smalltalk.method({
  6. selector: "a",
  7. category: 'tags',
  8. fn: function (){
  9. var self=this;
  10. return smalltalk.withContext(function($ctx1) { var $1;
  11. $1=_st(self)._tag_("a");
  12. return $1;
  13. }, function($ctx1) {$ctx1.fill(self,"a",{}, smalltalk.HTMLCanvas)})},
  14. args: [],
  15. source: "a\x0a ^self tag: 'a'",
  16. messageSends: ["tag:"],
  17. referencedClasses: []
  18. }),
  19. smalltalk.HTMLCanvas);
  20. smalltalk.addMethod(
  21. "_abbr",
  22. smalltalk.method({
  23. selector: "abbr",
  24. category: 'tags',
  25. fn: function (){
  26. var self=this;
  27. return smalltalk.withContext(function($ctx1) { var $1;
  28. $1=_st(self)._tag_("abbr");
  29. return $1;
  30. }, function($ctx1) {$ctx1.fill(self,"abbr",{}, smalltalk.HTMLCanvas)})},
  31. args: [],
  32. source: "abbr\x0a\x09^self tag: 'abbr'",
  33. messageSends: ["tag:"],
  34. referencedClasses: []
  35. }),
  36. smalltalk.HTMLCanvas);
  37. smalltalk.addMethod(
  38. "_address",
  39. smalltalk.method({
  40. selector: "address",
  41. category: 'tags',
  42. fn: function (){
  43. var self=this;
  44. return smalltalk.withContext(function($ctx1) { var $1;
  45. $1=_st(self)._tag_("address");
  46. return $1;
  47. }, function($ctx1) {$ctx1.fill(self,"address",{}, smalltalk.HTMLCanvas)})},
  48. args: [],
  49. source: "address\x0a\x09^self tag: 'address'",
  50. messageSends: ["tag:"],
  51. referencedClasses: []
  52. }),
  53. smalltalk.HTMLCanvas);
  54. smalltalk.addMethod(
  55. "_area",
  56. smalltalk.method({
  57. selector: "area",
  58. category: 'tags',
  59. fn: function (){
  60. var self=this;
  61. return smalltalk.withContext(function($ctx1) { var $1;
  62. $1=_st(self)._tag_("area");
  63. return $1;
  64. }, function($ctx1) {$ctx1.fill(self,"area",{}, smalltalk.HTMLCanvas)})},
  65. args: [],
  66. source: "area\x0a\x09^self tag: 'area'",
  67. messageSends: ["tag:"],
  68. referencedClasses: []
  69. }),
  70. smalltalk.HTMLCanvas);
  71. smalltalk.addMethod(
  72. "_article",
  73. smalltalk.method({
  74. selector: "article",
  75. category: 'tags',
  76. fn: function (){
  77. var self=this;
  78. return smalltalk.withContext(function($ctx1) { var $1;
  79. $1=_st(self)._tag_("article");
  80. return $1;
  81. }, function($ctx1) {$ctx1.fill(self,"article",{}, smalltalk.HTMLCanvas)})},
  82. args: [],
  83. source: "article\x0a ^self tag: 'article'",
  84. messageSends: ["tag:"],
  85. referencedClasses: []
  86. }),
  87. smalltalk.HTMLCanvas);
  88. smalltalk.addMethod(
  89. "_aside",
  90. smalltalk.method({
  91. selector: "aside",
  92. category: 'tags',
  93. fn: function (){
  94. var self=this;
  95. return smalltalk.withContext(function($ctx1) { var $1;
  96. $1=_st(self)._tag_("aside");
  97. return $1;
  98. }, function($ctx1) {$ctx1.fill(self,"aside",{}, smalltalk.HTMLCanvas)})},
  99. args: [],
  100. source: "aside\x0a\x09^self tag: 'aside'",
  101. messageSends: ["tag:"],
  102. referencedClasses: []
  103. }),
  104. smalltalk.HTMLCanvas);
  105. smalltalk.addMethod(
  106. "_audio",
  107. smalltalk.method({
  108. selector: "audio",
  109. category: 'tags',
  110. fn: function (){
  111. var self=this;
  112. return smalltalk.withContext(function($ctx1) { var $1;
  113. $1=_st(self)._tag_("audio");
  114. return $1;
  115. }, function($ctx1) {$ctx1.fill(self,"audio",{}, smalltalk.HTMLCanvas)})},
  116. args: [],
  117. source: "audio\x0a ^self tag: 'audio'",
  118. messageSends: ["tag:"],
  119. referencedClasses: []
  120. }),
  121. smalltalk.HTMLCanvas);
  122. smalltalk.addMethod(
  123. "_base",
  124. smalltalk.method({
  125. selector: "base",
  126. category: 'tags',
  127. fn: function (){
  128. var self=this;
  129. return smalltalk.withContext(function($ctx1) { var $1;
  130. $1=_st(self)._tag_("base");
  131. return $1;
  132. }, function($ctx1) {$ctx1.fill(self,"base",{}, smalltalk.HTMLCanvas)})},
  133. args: [],
  134. source: "base\x0a\x09^self tag: 'base'",
  135. messageSends: ["tag:"],
  136. referencedClasses: []
  137. }),
  138. smalltalk.HTMLCanvas);
  139. smalltalk.addMethod(
  140. "_blockquote",
  141. smalltalk.method({
  142. selector: "blockquote",
  143. category: 'tags',
  144. fn: function (){
  145. var self=this;
  146. return smalltalk.withContext(function($ctx1) { var $1;
  147. $1=_st(self)._tag_("blockquote");
  148. return $1;
  149. }, function($ctx1) {$ctx1.fill(self,"blockquote",{}, smalltalk.HTMLCanvas)})},
  150. args: [],
  151. source: "blockquote\x0a\x09^self tag: 'blockquote'",
  152. messageSends: ["tag:"],
  153. referencedClasses: []
  154. }),
  155. smalltalk.HTMLCanvas);
  156. smalltalk.addMethod(
  157. "_body",
  158. smalltalk.method({
  159. selector: "body",
  160. category: 'tags',
  161. fn: function (){
  162. var self=this;
  163. return smalltalk.withContext(function($ctx1) { var $1;
  164. $1=_st(self)._tag_("body");
  165. return $1;
  166. }, function($ctx1) {$ctx1.fill(self,"body",{}, smalltalk.HTMLCanvas)})},
  167. args: [],
  168. source: "body\x0a\x09^self tag: 'body'",
  169. messageSends: ["tag:"],
  170. referencedClasses: []
  171. }),
  172. smalltalk.HTMLCanvas);
  173. smalltalk.addMethod(
  174. "_br",
  175. smalltalk.method({
  176. selector: "br",
  177. category: 'tags',
  178. fn: function (){
  179. var self=this;
  180. return smalltalk.withContext(function($ctx1) { var $1;
  181. $1=_st(self)._tag_("br");
  182. return $1;
  183. }, function($ctx1) {$ctx1.fill(self,"br",{}, smalltalk.HTMLCanvas)})},
  184. args: [],
  185. source: "br\x0a ^self tag: 'br'",
  186. messageSends: ["tag:"],
  187. referencedClasses: []
  188. }),
  189. smalltalk.HTMLCanvas);
  190. smalltalk.addMethod(
  191. "_button",
  192. smalltalk.method({
  193. selector: "button",
  194. category: 'tags',
  195. fn: function (){
  196. var self=this;
  197. return smalltalk.withContext(function($ctx1) { var $1;
  198. $1=_st(self)._tag_("button");
  199. return $1;
  200. }, function($ctx1) {$ctx1.fill(self,"button",{}, smalltalk.HTMLCanvas)})},
  201. args: [],
  202. source: "button\x0a ^self tag: 'button'",
  203. messageSends: ["tag:"],
  204. referencedClasses: []
  205. }),
  206. smalltalk.HTMLCanvas);
  207. smalltalk.addMethod(
  208. "_canvas",
  209. smalltalk.method({
  210. selector: "canvas",
  211. category: 'tags',
  212. fn: function (){
  213. var self=this;
  214. return smalltalk.withContext(function($ctx1) { var $1;
  215. $1=_st(self)._tag_("canvas");
  216. return $1;
  217. }, function($ctx1) {$ctx1.fill(self,"canvas",{}, smalltalk.HTMLCanvas)})},
  218. args: [],
  219. source: "canvas\x0a\x09^self tag: 'canvas'",
  220. messageSends: ["tag:"],
  221. referencedClasses: []
  222. }),
  223. smalltalk.HTMLCanvas);
  224. smalltalk.addMethod(
  225. "_caption",
  226. smalltalk.method({
  227. selector: "caption",
  228. category: 'tags',
  229. fn: function (){
  230. var self=this;
  231. return smalltalk.withContext(function($ctx1) { var $1;
  232. $1=_st(self)._tag_("caption");
  233. return $1;
  234. }, function($ctx1) {$ctx1.fill(self,"caption",{}, smalltalk.HTMLCanvas)})},
  235. args: [],
  236. source: "caption\x0a\x09^self tag: 'caption'",
  237. messageSends: ["tag:"],
  238. referencedClasses: []
  239. }),
  240. smalltalk.HTMLCanvas);
  241. smalltalk.addMethod(
  242. "_cite",
  243. smalltalk.method({
  244. selector: "cite",
  245. category: 'tags',
  246. fn: function (){
  247. var self=this;
  248. return smalltalk.withContext(function($ctx1) { var $1;
  249. $1=_st(self)._tag_("cite");
  250. return $1;
  251. }, function($ctx1) {$ctx1.fill(self,"cite",{}, smalltalk.HTMLCanvas)})},
  252. args: [],
  253. source: "cite\x0a\x09^self tag: 'cite'",
  254. messageSends: ["tag:"],
  255. referencedClasses: []
  256. }),
  257. smalltalk.HTMLCanvas);
  258. smalltalk.addMethod(
  259. "_code",
  260. smalltalk.method({
  261. selector: "code",
  262. category: 'tags',
  263. fn: function (){
  264. var self=this;
  265. return smalltalk.withContext(function($ctx1) { var $1;
  266. $1=_st(self)._tag_("code");
  267. return $1;
  268. }, function($ctx1) {$ctx1.fill(self,"code",{}, smalltalk.HTMLCanvas)})},
  269. args: [],
  270. source: "code\x0a ^self tag: 'code'",
  271. messageSends: ["tag:"],
  272. referencedClasses: []
  273. }),
  274. smalltalk.HTMLCanvas);
  275. smalltalk.addMethod(
  276. "_col",
  277. smalltalk.method({
  278. selector: "col",
  279. category: 'tags',
  280. fn: function (){
  281. var self=this;
  282. return smalltalk.withContext(function($ctx1) { var $1;
  283. $1=_st(self)._tag_("col");
  284. return $1;
  285. }, function($ctx1) {$ctx1.fill(self,"col",{}, smalltalk.HTMLCanvas)})},
  286. args: [],
  287. source: "col\x0a\x09^self tag: 'col'",
  288. messageSends: ["tag:"],
  289. referencedClasses: []
  290. }),
  291. smalltalk.HTMLCanvas);
  292. smalltalk.addMethod(
  293. "_colgroup",
  294. smalltalk.method({
  295. selector: "colgroup",
  296. category: 'tags',
  297. fn: function (){
  298. var self=this;
  299. return smalltalk.withContext(function($ctx1) { var $1;
  300. $1=_st(self)._tag_("colgroup");
  301. return $1;
  302. }, function($ctx1) {$ctx1.fill(self,"colgroup",{}, smalltalk.HTMLCanvas)})},
  303. args: [],
  304. source: "colgroup\x0a\x09^self tag: 'colgroup'",
  305. messageSends: ["tag:"],
  306. referencedClasses: []
  307. }),
  308. smalltalk.HTMLCanvas);
  309. smalltalk.addMethod(
  310. "_command",
  311. smalltalk.method({
  312. selector: "command",
  313. category: 'tags',
  314. fn: function (){
  315. var self=this;
  316. return smalltalk.withContext(function($ctx1) { var $1;
  317. $1=_st(self)._tag_("command");
  318. return $1;
  319. }, function($ctx1) {$ctx1.fill(self,"command",{}, smalltalk.HTMLCanvas)})},
  320. args: [],
  321. source: "command\x0a\x09^self tag: 'command'",
  322. messageSends: ["tag:"],
  323. referencedClasses: []
  324. }),
  325. smalltalk.HTMLCanvas);
  326. smalltalk.addMethod(
  327. "_datalist",
  328. smalltalk.method({
  329. selector: "datalist",
  330. category: 'tags',
  331. fn: function (){
  332. var self=this;
  333. return smalltalk.withContext(function($ctx1) { var $1;
  334. $1=_st(self)._tag_("datalist");
  335. return $1;
  336. }, function($ctx1) {$ctx1.fill(self,"datalist",{}, smalltalk.HTMLCanvas)})},
  337. args: [],
  338. source: "datalist\x0a\x09^self tag: 'datalist'",
  339. messageSends: ["tag:"],
  340. referencedClasses: []
  341. }),
  342. smalltalk.HTMLCanvas);
  343. smalltalk.addMethod(
  344. "_dd",
  345. smalltalk.method({
  346. selector: "dd",
  347. category: 'tags',
  348. fn: function (){
  349. var self=this;
  350. return smalltalk.withContext(function($ctx1) { var $1;
  351. $1=_st(self)._tag_("dd");
  352. return $1;
  353. }, function($ctx1) {$ctx1.fill(self,"dd",{}, smalltalk.HTMLCanvas)})},
  354. args: [],
  355. source: "dd\x0a\x09^self tag: 'dd'",
  356. messageSends: ["tag:"],
  357. referencedClasses: []
  358. }),
  359. smalltalk.HTMLCanvas);
  360. smalltalk.addMethod(
  361. "_del",
  362. smalltalk.method({
  363. selector: "del",
  364. category: 'tags',
  365. fn: function (){
  366. var self=this;
  367. return smalltalk.withContext(function($ctx1) { var $1;
  368. $1=_st(self)._tag_("del");
  369. return $1;
  370. }, function($ctx1) {$ctx1.fill(self,"del",{}, smalltalk.HTMLCanvas)})},
  371. args: [],
  372. source: "del\x0a\x09^self tag: 'del'",
  373. messageSends: ["tag:"],
  374. referencedClasses: []
  375. }),
  376. smalltalk.HTMLCanvas);
  377. smalltalk.addMethod(
  378. "_details",
  379. smalltalk.method({
  380. selector: "details",
  381. category: 'tags',
  382. fn: function (){
  383. var self=this;
  384. return smalltalk.withContext(function($ctx1) { var $1;
  385. $1=_st(self)._tag_("details");
  386. return $1;
  387. }, function($ctx1) {$ctx1.fill(self,"details",{}, smalltalk.HTMLCanvas)})},
  388. args: [],
  389. source: "details\x0a\x09^self tag: 'details'",
  390. messageSends: ["tag:"],
  391. referencedClasses: []
  392. }),
  393. smalltalk.HTMLCanvas);
  394. smalltalk.addMethod(
  395. "_div",
  396. smalltalk.method({
  397. selector: "div",
  398. category: 'tags',
  399. fn: function (){
  400. var self=this;
  401. return smalltalk.withContext(function($ctx1) { var $1;
  402. $1=_st(self)._tag_("div");
  403. return $1;
  404. }, function($ctx1) {$ctx1.fill(self,"div",{}, smalltalk.HTMLCanvas)})},
  405. args: [],
  406. source: "div\x0a ^self tag: 'div'",
  407. messageSends: ["tag:"],
  408. referencedClasses: []
  409. }),
  410. smalltalk.HTMLCanvas);
  411. smalltalk.addMethod(
  412. "_div_",
  413. smalltalk.method({
  414. selector: "div:",
  415. category: 'tags',
  416. fn: function (aBlock){
  417. var self=this;
  418. return smalltalk.withContext(function($ctx1) { var $1;
  419. $1=_st(_st(self)._div())._with_(aBlock);
  420. return $1;
  421. }, function($ctx1) {$ctx1.fill(self,"div:",{aBlock:aBlock}, smalltalk.HTMLCanvas)})},
  422. args: ["aBlock"],
  423. source: "div: aBlock\x0a ^self div with: aBlock",
  424. messageSends: ["with:", "div"],
  425. referencedClasses: []
  426. }),
  427. smalltalk.HTMLCanvas);
  428. smalltalk.addMethod(
  429. "_dl",
  430. smalltalk.method({
  431. selector: "dl",
  432. category: 'tags',
  433. fn: function (){
  434. var self=this;
  435. return smalltalk.withContext(function($ctx1) { var $1;
  436. $1=_st(self)._tag_("dl");
  437. return $1;
  438. }, function($ctx1) {$ctx1.fill(self,"dl",{}, smalltalk.HTMLCanvas)})},
  439. args: [],
  440. source: "dl\x0a\x09^self tag: 'dl'",
  441. messageSends: ["tag:"],
  442. referencedClasses: []
  443. }),
  444. smalltalk.HTMLCanvas);
  445. smalltalk.addMethod(
  446. "_dt",
  447. smalltalk.method({
  448. selector: "dt",
  449. category: 'tags',
  450. fn: function (){
  451. var self=this;
  452. return smalltalk.withContext(function($ctx1) { var $1;
  453. $1=_st(self)._tag_("dt");
  454. return $1;
  455. }, function($ctx1) {$ctx1.fill(self,"dt",{}, smalltalk.HTMLCanvas)})},
  456. args: [],
  457. source: "dt\x0a\x09^self tag: 'dt'",
  458. messageSends: ["tag:"],
  459. referencedClasses: []
  460. }),
  461. smalltalk.HTMLCanvas);
  462. smalltalk.addMethod(
  463. "_em",
  464. smalltalk.method({
  465. selector: "em",
  466. category: 'tags',
  467. fn: function (){
  468. var self=this;
  469. return smalltalk.withContext(function($ctx1) { var $1;
  470. $1=_st(self)._tag_("em");
  471. return $1;
  472. }, function($ctx1) {$ctx1.fill(self,"em",{}, smalltalk.HTMLCanvas)})},
  473. args: [],
  474. source: "em\x0a\x09^self tag: 'em'",
  475. messageSends: ["tag:"],
  476. referencedClasses: []
  477. }),
  478. smalltalk.HTMLCanvas);
  479. smalltalk.addMethod(
  480. "_embed",
  481. smalltalk.method({
  482. selector: "embed",
  483. category: 'tags',
  484. fn: function (){
  485. var self=this;
  486. return smalltalk.withContext(function($ctx1) { var $1;
  487. $1=_st(self)._tag_("embed");
  488. return $1;
  489. }, function($ctx1) {$ctx1.fill(self,"embed",{}, smalltalk.HTMLCanvas)})},
  490. args: [],
  491. source: "embed\x0a\x09^self tag: 'embed'",
  492. messageSends: ["tag:"],
  493. referencedClasses: []
  494. }),
  495. smalltalk.HTMLCanvas);
  496. smalltalk.addMethod(
  497. "_fieldset",
  498. smalltalk.method({
  499. selector: "fieldset",
  500. category: 'tags',
  501. fn: function (){
  502. var self=this;
  503. return smalltalk.withContext(function($ctx1) { var $1;
  504. $1=_st(self)._tag_("fieldset");
  505. return $1;
  506. }, function($ctx1) {$ctx1.fill(self,"fieldset",{}, smalltalk.HTMLCanvas)})},
  507. args: [],
  508. source: "fieldset\x0a ^self tag: 'fieldset'",
  509. messageSends: ["tag:"],
  510. referencedClasses: []
  511. }),
  512. smalltalk.HTMLCanvas);
  513. smalltalk.addMethod(
  514. "_figcaption",
  515. smalltalk.method({
  516. selector: "figcaption",
  517. category: 'tags',
  518. fn: function (){
  519. var self=this;
  520. return smalltalk.withContext(function($ctx1) { var $1;
  521. $1=_st(self)._tag_("figcaption");
  522. return $1;
  523. }, function($ctx1) {$ctx1.fill(self,"figcaption",{}, smalltalk.HTMLCanvas)})},
  524. args: [],
  525. source: "figcaption\x0a\x09^self tag: 'figcaption'",
  526. messageSends: ["tag:"],
  527. referencedClasses: []
  528. }),
  529. smalltalk.HTMLCanvas);
  530. smalltalk.addMethod(
  531. "_figure",
  532. smalltalk.method({
  533. selector: "figure",
  534. category: 'tags',
  535. fn: function (){
  536. var self=this;
  537. return smalltalk.withContext(function($ctx1) { var $1;
  538. $1=_st(self)._tag_("figure");
  539. return $1;
  540. }, function($ctx1) {$ctx1.fill(self,"figure",{}, smalltalk.HTMLCanvas)})},
  541. args: [],
  542. source: "figure\x0a\x09^self tag: 'figure'",
  543. messageSends: ["tag:"],
  544. referencedClasses: []
  545. }),
  546. smalltalk.HTMLCanvas);
  547. smalltalk.addMethod(
  548. "_footer",
  549. smalltalk.method({
  550. selector: "footer",
  551. category: 'tags',
  552. fn: function (){
  553. var self=this;
  554. return smalltalk.withContext(function($ctx1) { var $1;
  555. $1=_st(self)._tag_("footer");
  556. return $1;
  557. }, function($ctx1) {$ctx1.fill(self,"footer",{}, smalltalk.HTMLCanvas)})},
  558. args: [],
  559. source: "footer\x0a ^self tag: 'footer'",
  560. messageSends: ["tag:"],
  561. referencedClasses: []
  562. }),
  563. smalltalk.HTMLCanvas);
  564. smalltalk.addMethod(
  565. "_form",
  566. smalltalk.method({
  567. selector: "form",
  568. category: 'tags',
  569. fn: function (){
  570. var self=this;
  571. return smalltalk.withContext(function($ctx1) { var $1;
  572. $1=_st(self)._tag_("form");
  573. return $1;
  574. }, function($ctx1) {$ctx1.fill(self,"form",{}, smalltalk.HTMLCanvas)})},
  575. args: [],
  576. source: "form\x0a ^self tag: 'form'",
  577. messageSends: ["tag:"],
  578. referencedClasses: []
  579. }),
  580. smalltalk.HTMLCanvas);
  581. smalltalk.addMethod(
  582. "_h1",
  583. smalltalk.method({
  584. selector: "h1",
  585. category: 'tags',
  586. fn: function (){
  587. var self=this;
  588. return smalltalk.withContext(function($ctx1) { var $1;
  589. $1=_st(self)._tag_("h1");
  590. return $1;
  591. }, function($ctx1) {$ctx1.fill(self,"h1",{}, smalltalk.HTMLCanvas)})},
  592. args: [],
  593. source: "h1\x0a ^self tag: 'h1'",
  594. messageSends: ["tag:"],
  595. referencedClasses: []
  596. }),
  597. smalltalk.HTMLCanvas);
  598. smalltalk.addMethod(
  599. "_h1_",
  600. smalltalk.method({
  601. selector: "h1:",
  602. category: 'tags',
  603. fn: function (anObject){
  604. var self=this;
  605. return smalltalk.withContext(function($ctx1) { var $1;
  606. $1=_st(_st(self)._h1())._with_(anObject);
  607. return $1;
  608. }, function($ctx1) {$ctx1.fill(self,"h1:",{anObject:anObject}, smalltalk.HTMLCanvas)})},
  609. args: ["anObject"],
  610. source: "h1: anObject\x0a ^self h1 with: anObject",
  611. messageSends: ["with:", "h1"],
  612. referencedClasses: []
  613. }),
  614. smalltalk.HTMLCanvas);
  615. smalltalk.addMethod(
  616. "_h2",
  617. smalltalk.method({
  618. selector: "h2",
  619. category: 'tags',
  620. fn: function (){
  621. var self=this;
  622. return smalltalk.withContext(function($ctx1) { var $1;
  623. $1=_st(self)._tag_("h2");
  624. return $1;
  625. }, function($ctx1) {$ctx1.fill(self,"h2",{}, smalltalk.HTMLCanvas)})},
  626. args: [],
  627. source: "h2\x0a ^self tag: 'h2'",
  628. messageSends: ["tag:"],
  629. referencedClasses: []
  630. }),
  631. smalltalk.HTMLCanvas);
  632. smalltalk.addMethod(
  633. "_h2_",
  634. smalltalk.method({
  635. selector: "h2:",
  636. category: 'tags',
  637. fn: function (anObject){
  638. var self=this;
  639. return smalltalk.withContext(function($ctx1) { var $1;
  640. $1=_st(_st(self)._h2())._with_(anObject);
  641. return $1;
  642. }, function($ctx1) {$ctx1.fill(self,"h2:",{anObject:anObject}, smalltalk.HTMLCanvas)})},
  643. args: ["anObject"],
  644. source: "h2: anObject\x0a ^ self h2 with: anObject",
  645. messageSends: ["with:", "h2"],
  646. referencedClasses: []
  647. }),
  648. smalltalk.HTMLCanvas);
  649. smalltalk.addMethod(
  650. "_h3",
  651. smalltalk.method({
  652. selector: "h3",
  653. category: 'tags',
  654. fn: function (){
  655. var self=this;
  656. return smalltalk.withContext(function($ctx1) { var $1;
  657. $1=_st(self)._tag_("h3");
  658. return $1;
  659. }, function($ctx1) {$ctx1.fill(self,"h3",{}, smalltalk.HTMLCanvas)})},
  660. args: [],
  661. source: "h3\x0a ^self tag: 'h3'",
  662. messageSends: ["tag:"],
  663. referencedClasses: []
  664. }),
  665. smalltalk.HTMLCanvas);
  666. smalltalk.addMethod(
  667. "_h3_",
  668. smalltalk.method({
  669. selector: "h3:",
  670. category: 'tags',
  671. fn: function (anObject){
  672. var self=this;
  673. return smalltalk.withContext(function($ctx1) { var $1;
  674. $1=_st(_st(self)._h3())._with_(anObject);
  675. return $1;
  676. }, function($ctx1) {$ctx1.fill(self,"h3:",{anObject:anObject}, smalltalk.HTMLCanvas)})},
  677. args: ["anObject"],
  678. source: "h3: anObject\x0a ^self h3 with: anObject",
  679. messageSends: ["with:", "h3"],
  680. referencedClasses: []
  681. }),
  682. smalltalk.HTMLCanvas);
  683. smalltalk.addMethod(
  684. "_h4",
  685. smalltalk.method({
  686. selector: "h4",
  687. category: 'tags',
  688. fn: function (){
  689. var self=this;
  690. return smalltalk.withContext(function($ctx1) { var $1;
  691. $1=_st(self)._tag_("h4");
  692. return $1;
  693. }, function($ctx1) {$ctx1.fill(self,"h4",{}, smalltalk.HTMLCanvas)})},
  694. args: [],
  695. source: "h4\x0a ^self tag: 'h4'",
  696. messageSends: ["tag:"],
  697. referencedClasses: []
  698. }),
  699. smalltalk.HTMLCanvas);
  700. smalltalk.addMethod(
  701. "_h4_",
  702. smalltalk.method({
  703. selector: "h4:",
  704. category: 'tags',
  705. fn: function (anObject){
  706. var self=this;
  707. return smalltalk.withContext(function($ctx1) { var $1;
  708. $1=_st(_st(self)._h4())._with_(anObject);
  709. return $1;
  710. }, function($ctx1) {$ctx1.fill(self,"h4:",{anObject:anObject}, smalltalk.HTMLCanvas)})},
  711. args: ["anObject"],
  712. source: "h4: anObject\x0a ^self h4 with: anObject",
  713. messageSends: ["with:", "h4"],
  714. referencedClasses: []
  715. }),
  716. smalltalk.HTMLCanvas);
  717. smalltalk.addMethod(
  718. "_h5",
  719. smalltalk.method({
  720. selector: "h5",
  721. category: 'tags',
  722. fn: function (){
  723. var self=this;
  724. return smalltalk.withContext(function($ctx1) { var $1;
  725. $1=_st(self)._tag_("h5");
  726. return $1;
  727. }, function($ctx1) {$ctx1.fill(self,"h5",{}, smalltalk.HTMLCanvas)})},
  728. args: [],
  729. source: "h5\x0a ^self tag: 'h5'",
  730. messageSends: ["tag:"],
  731. referencedClasses: []
  732. }),
  733. smalltalk.HTMLCanvas);
  734. smalltalk.addMethod(
  735. "_h5_",
  736. smalltalk.method({
  737. selector: "h5:",
  738. category: 'tags',
  739. fn: function (anObject){
  740. var self=this;
  741. return smalltalk.withContext(function($ctx1) { var $1;
  742. $1=_st(_st(self)._h5())._with_(anObject);
  743. return $1;
  744. }, function($ctx1) {$ctx1.fill(self,"h5:",{anObject:anObject}, smalltalk.HTMLCanvas)})},
  745. args: ["anObject"],
  746. source: "h5: anObject\x0a ^self h5 with: anObject",
  747. messageSends: ["with:", "h5"],
  748. referencedClasses: []
  749. }),
  750. smalltalk.HTMLCanvas);
  751. smalltalk.addMethod(
  752. "_h6",
  753. smalltalk.method({
  754. selector: "h6",
  755. category: 'tags',
  756. fn: function (){
  757. var self=this;
  758. return smalltalk.withContext(function($ctx1) { var $1;
  759. $1=_st(self)._tag_("h6");
  760. return $1;
  761. }, function($ctx1) {$ctx1.fill(self,"h6",{}, smalltalk.HTMLCanvas)})},
  762. args: [],
  763. source: "h6\x0a ^self tag: 'h6'",
  764. messageSends: ["tag:"],
  765. referencedClasses: []
  766. }),
  767. smalltalk.HTMLCanvas);
  768. smalltalk.addMethod(
  769. "_h6_",
  770. smalltalk.method({
  771. selector: "h6:",
  772. category: 'tags',
  773. fn: function (anObject){
  774. var self=this;
  775. return smalltalk.withContext(function($ctx1) { var $1;
  776. $1=_st(_st(self)._h6())._with_(anObject);
  777. return $1;
  778. }, function($ctx1) {$ctx1.fill(self,"h6:",{anObject:anObject}, smalltalk.HTMLCanvas)})},
  779. args: ["anObject"],
  780. source: "h6: anObject\x0a ^self h6 with: anObject",
  781. messageSends: ["with:", "h6"],
  782. referencedClasses: []
  783. }),
  784. smalltalk.HTMLCanvas);
  785. smalltalk.addMethod(
  786. "_head",
  787. smalltalk.method({
  788. selector: "head",
  789. category: 'tags',
  790. fn: function (){
  791. var self=this;
  792. return smalltalk.withContext(function($ctx1) { var $1;
  793. $1=_st(self)._tag_("head");
  794. return $1;
  795. }, function($ctx1) {$ctx1.fill(self,"head",{}, smalltalk.HTMLCanvas)})},
  796. args: [],
  797. source: "head\x0a\x09^self tag: 'head'",
  798. messageSends: ["tag:"],
  799. referencedClasses: []
  800. }),
  801. smalltalk.HTMLCanvas);
  802. smalltalk.addMethod(
  803. "_header",
  804. smalltalk.method({
  805. selector: "header",
  806. category: 'tags',
  807. fn: function (){
  808. var self=this;
  809. return smalltalk.withContext(function($ctx1) { var $1;
  810. $1=_st(self)._tag_("header");
  811. return $1;
  812. }, function($ctx1) {$ctx1.fill(self,"header",{}, smalltalk.HTMLCanvas)})},
  813. args: [],
  814. source: "header\x0a ^self tag: 'header'",
  815. messageSends: ["tag:"],
  816. referencedClasses: []
  817. }),
  818. smalltalk.HTMLCanvas);
  819. smalltalk.addMethod(
  820. "_hgroup",
  821. smalltalk.method({
  822. selector: "hgroup",
  823. category: 'tags',
  824. fn: function (){
  825. var self=this;
  826. return smalltalk.withContext(function($ctx1) { var $1;
  827. $1=_st(self)._tag_("hgroup");
  828. return $1;
  829. }, function($ctx1) {$ctx1.fill(self,"hgroup",{}, smalltalk.HTMLCanvas)})},
  830. args: [],
  831. source: "hgroup\x0a\x09^self tag: 'hgroup'",
  832. messageSends: ["tag:"],
  833. referencedClasses: []
  834. }),
  835. smalltalk.HTMLCanvas);
  836. smalltalk.addMethod(
  837. "_hr",
  838. smalltalk.method({
  839. selector: "hr",
  840. category: 'tags',
  841. fn: function (){
  842. var self=this;
  843. return smalltalk.withContext(function($ctx1) { var $1;
  844. $1=_st(self)._tag_("hr");
  845. return $1;
  846. }, function($ctx1) {$ctx1.fill(self,"hr",{}, smalltalk.HTMLCanvas)})},
  847. args: [],
  848. source: "hr\x0a ^self tag: 'hr'",
  849. messageSends: ["tag:"],
  850. referencedClasses: []
  851. }),
  852. smalltalk.HTMLCanvas);
  853. smalltalk.addMethod(
  854. "_html",
  855. smalltalk.method({
  856. selector: "html",
  857. category: 'tags',
  858. fn: function (){
  859. var self=this;
  860. return smalltalk.withContext(function($ctx1) { var $1;
  861. $1=_st(self)._tag_("html");
  862. return $1;
  863. }, function($ctx1) {$ctx1.fill(self,"html",{}, smalltalk.HTMLCanvas)})},
  864. args: [],
  865. source: "html\x0a\x09^self tag: 'html'",
  866. messageSends: ["tag:"],
  867. referencedClasses: []
  868. }),
  869. smalltalk.HTMLCanvas);
  870. smalltalk.addMethod(
  871. "_iframe",
  872. smalltalk.method({
  873. selector: "iframe",
  874. category: 'tags',
  875. fn: function (){
  876. var self=this;
  877. return smalltalk.withContext(function($ctx1) { var $1;
  878. $1=_st(self)._tag_("iframe");
  879. return $1;
  880. }, function($ctx1) {$ctx1.fill(self,"iframe",{}, smalltalk.HTMLCanvas)})},
  881. args: [],
  882. source: "iframe\x0a ^self tag: 'iframe'",
  883. messageSends: ["tag:"],
  884. referencedClasses: []
  885. }),
  886. smalltalk.HTMLCanvas);
  887. smalltalk.addMethod(
  888. "_iframe_",
  889. smalltalk.method({
  890. selector: "iframe:",
  891. category: 'tags',
  892. fn: function (aString){
  893. var self=this;
  894. return smalltalk.withContext(function($ctx1) { var $1;
  895. $1=_st(_st(self)._iframe())._src_(aString);
  896. return $1;
  897. }, function($ctx1) {$ctx1.fill(self,"iframe:",{aString:aString}, smalltalk.HTMLCanvas)})},
  898. args: ["aString"],
  899. source: "iframe: aString\x0a ^self iframe src: aString",
  900. messageSends: ["src:", "iframe"],
  901. referencedClasses: []
  902. }),
  903. smalltalk.HTMLCanvas);
  904. smalltalk.addMethod(
  905. "_img",
  906. smalltalk.method({
  907. selector: "img",
  908. category: 'tags',
  909. fn: function (){
  910. var self=this;
  911. return smalltalk.withContext(function($ctx1) { var $1;
  912. $1=_st(self)._tag_("img");
  913. return $1;
  914. }, function($ctx1) {$ctx1.fill(self,"img",{}, smalltalk.HTMLCanvas)})},
  915. args: [],
  916. source: "img\x0a ^self tag: 'img'",
  917. messageSends: ["tag:"],
  918. referencedClasses: []
  919. }),
  920. smalltalk.HTMLCanvas);
  921. smalltalk.addMethod(
  922. "_img_",
  923. smalltalk.method({
  924. selector: "img:",
  925. category: 'tags',
  926. fn: function (aString){
  927. var self=this;
  928. return smalltalk.withContext(function($ctx1) { var $1;
  929. $1=_st(_st(self)._img())._src_(aString);
  930. return $1;
  931. }, function($ctx1) {$ctx1.fill(self,"img:",{aString:aString}, smalltalk.HTMLCanvas)})},
  932. args: ["aString"],
  933. source: "img: aString\x0a ^self img src: aString",
  934. messageSends: ["src:", "img"],
  935. referencedClasses: []
  936. }),
  937. smalltalk.HTMLCanvas);
  938. smalltalk.addMethod(
  939. "_initialize",
  940. smalltalk.method({
  941. selector: "initialize",
  942. category: 'initialization',
  943. fn: function (){
  944. var self=this;
  945. return smalltalk.withContext(function($ctx1) { var $1;
  946. smalltalk.Object.fn.prototype._initialize.apply(_st(self), []);
  947. $1=self["@root"];
  948. if(($receiver = $1) == nil || $receiver == undefined){
  949. self["@root"]=_st((smalltalk.TagBrush || TagBrush))._fromString_canvas_("div",self);
  950. self["@root"];
  951. } else {
  952. $1;
  953. };
  954. return self}, function($ctx1) {$ctx1.fill(self,"initialize",{}, smalltalk.HTMLCanvas)})},
  955. args: [],
  956. source: "initialize\x0a super initialize.\x0a root ifNil: [root := TagBrush fromString: 'div' canvas: self]",
  957. messageSends: ["initialize", "ifNil:", "fromString:canvas:"],
  958. referencedClasses: ["TagBrush"]
  959. }),
  960. smalltalk.HTMLCanvas);
  961. smalltalk.addMethod(
  962. "_initializeFromJQuery_",
  963. smalltalk.method({
  964. selector: "initializeFromJQuery:",
  965. category: 'initialization',
  966. fn: function (aJQuery){
  967. var self=this;
  968. return smalltalk.withContext(function($ctx1) { self["@root"]=_st((smalltalk.TagBrush || TagBrush))._fromJQuery_canvas_(aJQuery,self);
  969. return self}, function($ctx1) {$ctx1.fill(self,"initializeFromJQuery:",{aJQuery:aJQuery}, smalltalk.HTMLCanvas)})},
  970. args: ["aJQuery"],
  971. source: "initializeFromJQuery: aJQuery\x0a root := TagBrush fromJQuery: aJQuery canvas: self",
  972. messageSends: ["fromJQuery:canvas:"],
  973. referencedClasses: ["TagBrush"]
  974. }),
  975. smalltalk.HTMLCanvas);
  976. smalltalk.addMethod(
  977. "_input",
  978. smalltalk.method({
  979. selector: "input",
  980. category: 'tags',
  981. fn: function (){
  982. var self=this;
  983. return smalltalk.withContext(function($ctx1) { var $1;
  984. $1=_st(self)._tag_("input");
  985. return $1;
  986. }, function($ctx1) {$ctx1.fill(self,"input",{}, smalltalk.HTMLCanvas)})},
  987. args: [],
  988. source: "input\x0a ^self tag: 'input'",
  989. messageSends: ["tag:"],
  990. referencedClasses: []
  991. }),
  992. smalltalk.HTMLCanvas);
  993. smalltalk.addMethod(
  994. "_label",
  995. smalltalk.method({
  996. selector: "label",
  997. category: 'tags',
  998. fn: function (){
  999. var self=this;
  1000. return smalltalk.withContext(function($ctx1) { var $1;
  1001. $1=_st(self)._tag_("label");
  1002. return $1;
  1003. }, function($ctx1) {$ctx1.fill(self,"label",{}, smalltalk.HTMLCanvas)})},
  1004. args: [],
  1005. source: "label\x0a\x09^self tag: 'label'",
  1006. messageSends: ["tag:"],
  1007. referencedClasses: []
  1008. }),
  1009. smalltalk.HTMLCanvas);
  1010. smalltalk.addMethod(
  1011. "_legend",
  1012. smalltalk.method({
  1013. selector: "legend",
  1014. category: 'tags',
  1015. fn: function (){
  1016. var self=this;
  1017. return smalltalk.withContext(function($ctx1) { var $1;
  1018. $1=_st(self)._tag_("legend");
  1019. return $1;
  1020. }, function($ctx1) {$ctx1.fill(self,"legend",{}, smalltalk.HTMLCanvas)})},
  1021. args: [],
  1022. source: "legend\x0a\x09^self tag: 'legend'",
  1023. messageSends: ["tag:"],
  1024. referencedClasses: []
  1025. }),
  1026. smalltalk.HTMLCanvas);
  1027. smalltalk.addMethod(
  1028. "_li",
  1029. smalltalk.method({
  1030. selector: "li",
  1031. category: 'tags',
  1032. fn: function (){
  1033. var self=this;
  1034. return smalltalk.withContext(function($ctx1) { var $1;
  1035. $1=_st(self)._tag_("li");
  1036. return $1;
  1037. }, function($ctx1) {$ctx1.fill(self,"li",{}, smalltalk.HTMLCanvas)})},
  1038. args: [],
  1039. source: "li\x0a ^self tag: 'li'",
  1040. messageSends: ["tag:"],
  1041. referencedClasses: []
  1042. }),
  1043. smalltalk.HTMLCanvas);
  1044. smalltalk.addMethod(
  1045. "_li_",
  1046. smalltalk.method({
  1047. selector: "li:",
  1048. category: 'tags',
  1049. fn: function (anObject){
  1050. var self=this;
  1051. return smalltalk.withContext(function($ctx1) { var $1;
  1052. $1=_st(_st(self)._li())._with_(anObject);
  1053. return $1;
  1054. }, function($ctx1) {$ctx1.fill(self,"li:",{anObject:anObject}, smalltalk.HTMLCanvas)})},
  1055. args: ["anObject"],
  1056. source: "li: anObject\x0a ^self li with: anObject",
  1057. messageSends: ["with:", "li"],
  1058. referencedClasses: []
  1059. }),
  1060. smalltalk.HTMLCanvas);
  1061. smalltalk.addMethod(
  1062. "_link",
  1063. smalltalk.method({
  1064. selector: "link",
  1065. category: 'tags',
  1066. fn: function (){
  1067. var self=this;
  1068. return smalltalk.withContext(function($ctx1) { var $1;
  1069. $1=_st(self)._tag_("link");
  1070. return $1;
  1071. }, function($ctx1) {$ctx1.fill(self,"link",{}, smalltalk.HTMLCanvas)})},
  1072. args: [],
  1073. source: "link\x0a ^self tag: 'link'",
  1074. messageSends: ["tag:"],
  1075. referencedClasses: []
  1076. }),
  1077. smalltalk.HTMLCanvas);
  1078. smalltalk.addMethod(
  1079. "_map",
  1080. smalltalk.method({
  1081. selector: "map",
  1082. category: 'tags',
  1083. fn: function (){
  1084. var self=this;
  1085. return smalltalk.withContext(function($ctx1) { var $1;
  1086. $1=_st(self)._tag_("map");
  1087. return $1;
  1088. }, function($ctx1) {$ctx1.fill(self,"map",{}, smalltalk.HTMLCanvas)})},
  1089. args: [],
  1090. source: "map\x0a\x09^self tag: 'map'",
  1091. messageSends: ["tag:"],
  1092. referencedClasses: []
  1093. }),
  1094. smalltalk.HTMLCanvas);
  1095. smalltalk.addMethod(
  1096. "_mark",
  1097. smalltalk.method({
  1098. selector: "mark",
  1099. category: 'tags',
  1100. fn: function (){
  1101. var self=this;
  1102. return smalltalk.withContext(function($ctx1) { var $1;
  1103. $1=_st(self)._tag_("mark");
  1104. return $1;
  1105. }, function($ctx1) {$ctx1.fill(self,"mark",{}, smalltalk.HTMLCanvas)})},
  1106. args: [],
  1107. source: "mark\x0a\x09^self tag: 'mark'",
  1108. messageSends: ["tag:"],
  1109. referencedClasses: []
  1110. }),
  1111. smalltalk.HTMLCanvas);
  1112. smalltalk.addMethod(
  1113. "_menu",
  1114. smalltalk.method({
  1115. selector: "menu",
  1116. category: 'tags',
  1117. fn: function (){
  1118. var self=this;
  1119. return smalltalk.withContext(function($ctx1) { var $1;
  1120. $1=_st(self)._tag_("menu");
  1121. return $1;
  1122. }, function($ctx1) {$ctx1.fill(self,"menu",{}, smalltalk.HTMLCanvas)})},
  1123. args: [],
  1124. source: "menu\x0a\x09^self tag: 'menu'",
  1125. messageSends: ["tag:"],
  1126. referencedClasses: []
  1127. }),
  1128. smalltalk.HTMLCanvas);
  1129. smalltalk.addMethod(
  1130. "_meta",
  1131. smalltalk.method({
  1132. selector: "meta",
  1133. category: 'tags',
  1134. fn: function (){
  1135. var self=this;
  1136. return smalltalk.withContext(function($ctx1) { var $1;
  1137. $1=_st(self)._tag_("meta");
  1138. return $1;
  1139. }, function($ctx1) {$ctx1.fill(self,"meta",{}, smalltalk.HTMLCanvas)})},
  1140. args: [],
  1141. source: "meta\x0a\x09^self tag: 'meta'",
  1142. messageSends: ["tag:"],
  1143. referencedClasses: []
  1144. }),
  1145. smalltalk.HTMLCanvas);
  1146. smalltalk.addMethod(
  1147. "_nav",
  1148. smalltalk.method({
  1149. selector: "nav",
  1150. category: 'tags',
  1151. fn: function (){
  1152. var self=this;
  1153. return smalltalk.withContext(function($ctx1) { var $1;
  1154. $1=_st(self)._tag_("nav");
  1155. return $1;
  1156. }, function($ctx1) {$ctx1.fill(self,"nav",{}, smalltalk.HTMLCanvas)})},
  1157. args: [],
  1158. source: "nav\x0a\x09^self tag: 'nav'",
  1159. messageSends: ["tag:"],
  1160. referencedClasses: []
  1161. }),
  1162. smalltalk.HTMLCanvas);
  1163. smalltalk.addMethod(
  1164. "_newTag_",
  1165. smalltalk.method({
  1166. selector: "newTag:",
  1167. category: 'tags',
  1168. fn: function (aString){
  1169. var self=this;
  1170. return smalltalk.withContext(function($ctx1) { var $1;
  1171. $1=_st((smalltalk.TagBrush || TagBrush))._fromString_canvas_(aString,self);
  1172. return $1;
  1173. }, function($ctx1) {$ctx1.fill(self,"newTag:",{aString:aString}, smalltalk.HTMLCanvas)})},
  1174. args: ["aString"],
  1175. source: "newTag: aString\x0a ^TagBrush fromString: aString canvas: self",
  1176. messageSends: ["fromString:canvas:"],
  1177. referencedClasses: ["TagBrush"]
  1178. }),
  1179. smalltalk.HTMLCanvas);
  1180. smalltalk.addMethod(
  1181. "_noscript",
  1182. smalltalk.method({
  1183. selector: "noscript",
  1184. category: 'tags',
  1185. fn: function (){
  1186. var self=this;
  1187. return smalltalk.withContext(function($ctx1) { var $1;
  1188. $1=_st(self)._tag_("noscript");
  1189. return $1;
  1190. }, function($ctx1) {$ctx1.fill(self,"noscript",{}, smalltalk.HTMLCanvas)})},
  1191. args: [],
  1192. source: "noscript\x0a\x09^self tag: 'noscript'",
  1193. messageSends: ["tag:"],
  1194. referencedClasses: []
  1195. }),
  1196. smalltalk.HTMLCanvas);
  1197. smalltalk.addMethod(
  1198. "_object",
  1199. smalltalk.method({
  1200. selector: "object",
  1201. category: 'tags',
  1202. fn: function (){
  1203. var self=this;
  1204. return smalltalk.withContext(function($ctx1) { var $1;
  1205. $1=_st(self)._tag_("object");
  1206. return $1;
  1207. }, function($ctx1) {$ctx1.fill(self,"object",{}, smalltalk.HTMLCanvas)})},
  1208. args: [],
  1209. source: "object\x0a\x09^self tag: 'object'",
  1210. messageSends: ["tag:"],
  1211. referencedClasses: []
  1212. }),
  1213. smalltalk.HTMLCanvas);
  1214. smalltalk.addMethod(
  1215. "_ol",
  1216. smalltalk.method({
  1217. selector: "ol",
  1218. category: 'tags',
  1219. fn: function (){
  1220. var self=this;
  1221. return smalltalk.withContext(function($ctx1) { var $1;
  1222. $1=_st(self)._tag_("ol");
  1223. return $1;
  1224. }, function($ctx1) {$ctx1.fill(self,"ol",{}, smalltalk.HTMLCanvas)})},
  1225. args: [],
  1226. source: "ol\x0a ^self tag: 'ol'",
  1227. messageSends: ["tag:"],
  1228. referencedClasses: []
  1229. }),
  1230. smalltalk.HTMLCanvas);
  1231. smalltalk.addMethod(
  1232. "_ol_",
  1233. smalltalk.method({
  1234. selector: "ol:",
  1235. category: 'tags',
  1236. fn: function (anObject){
  1237. var self=this;
  1238. return smalltalk.withContext(function($ctx1) { var $1;
  1239. $1=_st(_st(self)._ol())._with_(anObject);
  1240. return $1;
  1241. }, function($ctx1) {$ctx1.fill(self,"ol:",{anObject:anObject}, smalltalk.HTMLCanvas)})},
  1242. args: ["anObject"],
  1243. source: "ol: anObject\x0a ^self ol with: anObject",
  1244. messageSends: ["with:", "ol"],
  1245. referencedClasses: []
  1246. }),
  1247. smalltalk.HTMLCanvas);
  1248. smalltalk.addMethod(
  1249. "_optgroup",
  1250. smalltalk.method({
  1251. selector: "optgroup",
  1252. category: 'tags',
  1253. fn: function (){
  1254. var self=this;
  1255. return smalltalk.withContext(function($ctx1) { var $1;
  1256. $1=_st(self)._tag_("optgroup");
  1257. return $1;
  1258. }, function($ctx1) {$ctx1.fill(self,"optgroup",{}, smalltalk.HTMLCanvas)})},
  1259. args: [],
  1260. source: "optgroup\x0a\x09^self tag: 'optgroup'",
  1261. messageSends: ["tag:"],
  1262. referencedClasses: []
  1263. }),
  1264. smalltalk.HTMLCanvas);
  1265. smalltalk.addMethod(
  1266. "_option",
  1267. smalltalk.method({
  1268. selector: "option",
  1269. category: 'tags',
  1270. fn: function (){
  1271. var self=this;
  1272. return smalltalk.withContext(function($ctx1) { var $1;
  1273. $1=_st(self)._tag_("option");
  1274. return $1;
  1275. }, function($ctx1) {$ctx1.fill(self,"option",{}, smalltalk.HTMLCanvas)})},
  1276. args: [],
  1277. source: "option\x0a ^self tag: 'option'",
  1278. messageSends: ["tag:"],
  1279. referencedClasses: []
  1280. }),
  1281. smalltalk.HTMLCanvas);
  1282. smalltalk.addMethod(
  1283. "_output",
  1284. smalltalk.method({
  1285. selector: "output",
  1286. category: 'tags',
  1287. fn: function (){
  1288. var self=this;
  1289. return smalltalk.withContext(function($ctx1) { var $1;
  1290. $1=_st(self)._tag_("output");
  1291. return $1;
  1292. }, function($ctx1) {$ctx1.fill(self,"output",{}, smalltalk.HTMLCanvas)})},
  1293. args: [],
  1294. source: "output\x0a\x09^self tag: 'output'",
  1295. messageSends: ["tag:"],
  1296. referencedClasses: []
  1297. }),
  1298. smalltalk.HTMLCanvas);
  1299. smalltalk.addMethod(
  1300. "_p",
  1301. smalltalk.method({
  1302. selector: "p",
  1303. category: 'tags',
  1304. fn: function (){
  1305. var self=this;
  1306. return smalltalk.withContext(function($ctx1) { var $1;
  1307. $1=_st(self)._tag_("p");
  1308. return $1;
  1309. }, function($ctx1) {$ctx1.fill(self,"p",{}, smalltalk.HTMLCanvas)})},
  1310. args: [],
  1311. source: "p\x0a ^self tag: 'p'",
  1312. messageSends: ["tag:"],
  1313. referencedClasses: []
  1314. }),
  1315. smalltalk.HTMLCanvas);
  1316. smalltalk.addMethod(
  1317. "_p_",
  1318. smalltalk.method({
  1319. selector: "p:",
  1320. category: 'tags',
  1321. fn: function (anObject){
  1322. var self=this;
  1323. return smalltalk.withContext(function($ctx1) { var $1;
  1324. $1=_st(_st(self)._p())._with_(anObject);
  1325. return $1;
  1326. }, function($ctx1) {$ctx1.fill(self,"p:",{anObject:anObject}, smalltalk.HTMLCanvas)})},
  1327. args: ["anObject"],
  1328. source: "p: anObject\x0a ^self p with: anObject",
  1329. messageSends: ["with:", "p"],
  1330. referencedClasses: []
  1331. }),
  1332. smalltalk.HTMLCanvas);
  1333. smalltalk.addMethod(
  1334. "_param",
  1335. smalltalk.method({
  1336. selector: "param",
  1337. category: 'tags',
  1338. fn: function (){
  1339. var self=this;
  1340. return smalltalk.withContext(function($ctx1) { var $1;
  1341. $1=_st(self)._tag_("param");
  1342. return $1;
  1343. }, function($ctx1) {$ctx1.fill(self,"param",{}, smalltalk.HTMLCanvas)})},
  1344. args: [],
  1345. source: "param\x0a\x09^self tag: 'param'",
  1346. messageSends: ["tag:"],
  1347. referencedClasses: []
  1348. }),
  1349. smalltalk.HTMLCanvas);
  1350. smalltalk.addMethod(
  1351. "_pre",
  1352. smalltalk.method({
  1353. selector: "pre",
  1354. category: 'tags',
  1355. fn: function (){
  1356. var self=this;
  1357. return smalltalk.withContext(function($ctx1) { var $1;
  1358. $1=_st(self)._tag_("pre");
  1359. return $1;
  1360. }, function($ctx1) {$ctx1.fill(self,"pre",{}, smalltalk.HTMLCanvas)})},
  1361. args: [],
  1362. source: "pre\x0a ^self tag: 'pre'",
  1363. messageSends: ["tag:"],
  1364. referencedClasses: []
  1365. }),
  1366. smalltalk.HTMLCanvas);
  1367. smalltalk.addMethod(
  1368. "_progress",
  1369. smalltalk.method({
  1370. selector: "progress",
  1371. category: 'tags',
  1372. fn: function (){
  1373. var self=this;
  1374. return smalltalk.withContext(function($ctx1) { var $1;
  1375. $1=_st(self)._tag_("progress");
  1376. return $1;
  1377. }, function($ctx1) {$ctx1.fill(self,"progress",{}, smalltalk.HTMLCanvas)})},
  1378. args: [],
  1379. source: "progress\x0a\x09^self tag: 'progress'",
  1380. messageSends: ["tag:"],
  1381. referencedClasses: []
  1382. }),
  1383. smalltalk.HTMLCanvas);
  1384. smalltalk.addMethod(
  1385. "_root",
  1386. smalltalk.method({
  1387. selector: "root",
  1388. category: 'accessing',
  1389. fn: function (){
  1390. var self=this;
  1391. return smalltalk.withContext(function($ctx1) { var $1;
  1392. $1=self["@root"];
  1393. return $1;
  1394. }, function($ctx1) {$ctx1.fill(self,"root",{}, smalltalk.HTMLCanvas)})},
  1395. args: [],
  1396. source: "root\x0a ^root",
  1397. messageSends: [],
  1398. referencedClasses: []
  1399. }),
  1400. smalltalk.HTMLCanvas);
  1401. smalltalk.addMethod(
  1402. "_root_",
  1403. smalltalk.method({
  1404. selector: "root:",
  1405. category: 'accessing',
  1406. fn: function (aTagBrush){
  1407. var self=this;
  1408. return smalltalk.withContext(function($ctx1) { self["@root"]=aTagBrush;
  1409. return self}, function($ctx1) {$ctx1.fill(self,"root:",{aTagBrush:aTagBrush}, smalltalk.HTMLCanvas)})},
  1410. args: ["aTagBrush"],
  1411. source: "root: aTagBrush\x0a root := aTagBrush",
  1412. messageSends: [],
  1413. referencedClasses: []
  1414. }),
  1415. smalltalk.HTMLCanvas);
  1416. smalltalk.addMethod(
  1417. "_script",
  1418. smalltalk.method({
  1419. selector: "script",
  1420. category: 'tags',
  1421. fn: function (){
  1422. var self=this;
  1423. return smalltalk.withContext(function($ctx1) { var $1;
  1424. $1=_st(self)._tag_("script");
  1425. return $1;
  1426. }, function($ctx1) {$ctx1.fill(self,"script",{}, smalltalk.HTMLCanvas)})},
  1427. args: [],
  1428. source: "script\x0a ^self tag: 'script'",
  1429. messageSends: ["tag:"],
  1430. referencedClasses: []
  1431. }),
  1432. smalltalk.HTMLCanvas);
  1433. smalltalk.addMethod(
  1434. "_section",
  1435. smalltalk.method({
  1436. selector: "section",
  1437. category: 'tags',
  1438. fn: function (){
  1439. var self=this;
  1440. return smalltalk.withContext(function($ctx1) { var $1;
  1441. $1=_st(self)._tag_("section");
  1442. return $1;
  1443. }, function($ctx1) {$ctx1.fill(self,"section",{}, smalltalk.HTMLCanvas)})},
  1444. args: [],
  1445. source: "section\x0a ^self tag: 'section'",
  1446. messageSends: ["tag:"],
  1447. referencedClasses: []
  1448. }),
  1449. smalltalk.HTMLCanvas);
  1450. smalltalk.addMethod(
  1451. "_select",
  1452. smalltalk.method({
  1453. selector: "select",
  1454. category: 'tags',
  1455. fn: function (){
  1456. var self=this;
  1457. return smalltalk.withContext(function($ctx1) { var $1;
  1458. $1=_st(self)._tag_("select");
  1459. return $1;
  1460. }, function($ctx1) {$ctx1.fill(self,"select",{}, smalltalk.HTMLCanvas)})},
  1461. args: [],
  1462. source: "select\x0a ^self tag: 'select'",
  1463. messageSends: ["tag:"],
  1464. referencedClasses: []
  1465. }),
  1466. smalltalk.HTMLCanvas);
  1467. smalltalk.addMethod(
  1468. "_small",
  1469. smalltalk.method({
  1470. selector: "small",
  1471. category: 'tags',
  1472. fn: function (){
  1473. var self=this;
  1474. return smalltalk.withContext(function($ctx1) { var $1;
  1475. $1=_st(self)._tag_("small");
  1476. return $1;
  1477. }, function($ctx1) {$ctx1.fill(self,"small",{}, smalltalk.HTMLCanvas)})},
  1478. args: [],
  1479. source: "small\x0a\x09^self tag: 'small'",
  1480. messageSends: ["tag:"],
  1481. referencedClasses: []
  1482. }),
  1483. smalltalk.HTMLCanvas);
  1484. smalltalk.addMethod(
  1485. "_source",
  1486. smalltalk.method({
  1487. selector: "source",
  1488. category: 'tags',
  1489. fn: function (){
  1490. var self=this;
  1491. return smalltalk.withContext(function($ctx1) { var $1;
  1492. $1=_st(self)._tag_("source");
  1493. return $1;
  1494. }, function($ctx1) {$ctx1.fill(self,"source",{}, smalltalk.HTMLCanvas)})},
  1495. args: [],
  1496. source: "source\x0a\x09^self tag: 'source'",
  1497. messageSends: ["tag:"],
  1498. referencedClasses: []
  1499. }),
  1500. smalltalk.HTMLCanvas);
  1501. smalltalk.addMethod(
  1502. "_span",
  1503. smalltalk.method({
  1504. selector: "span",
  1505. category: 'tags',
  1506. fn: function (){
  1507. var self=this;
  1508. return smalltalk.withContext(function($ctx1) { var $1;
  1509. $1=_st(self)._tag_("span");
  1510. return $1;
  1511. }, function($ctx1) {$ctx1.fill(self,"span",{}, smalltalk.HTMLCanvas)})},
  1512. args: [],
  1513. source: "span\x0a ^self tag: 'span'",
  1514. messageSends: ["tag:"],
  1515. referencedClasses: []
  1516. }),
  1517. smalltalk.HTMLCanvas);
  1518. smalltalk.addMethod(
  1519. "_span_",
  1520. smalltalk.method({
  1521. selector: "span:",
  1522. category: 'tags',
  1523. fn: function (anObject){
  1524. var self=this;
  1525. return smalltalk.withContext(function($ctx1) { var $1;
  1526. $1=_st(_st(self)._span())._with_(anObject);
  1527. return $1;
  1528. }, function($ctx1) {$ctx1.fill(self,"span:",{anObject:anObject}, smalltalk.HTMLCanvas)})},
  1529. args: ["anObject"],
  1530. source: "span: anObject\x0a ^self span with: anObject",
  1531. messageSends: ["with:", "span"],
  1532. referencedClasses: []
  1533. }),
  1534. smalltalk.HTMLCanvas);
  1535. smalltalk.addMethod(
  1536. "_strong",
  1537. smalltalk.method({
  1538. selector: "strong",
  1539. category: 'tags',
  1540. fn: function (){
  1541. var self=this;
  1542. return smalltalk.withContext(function($ctx1) { var $1;
  1543. $1=_st(self)._tag_("strong");
  1544. return $1;
  1545. }, function($ctx1) {$ctx1.fill(self,"strong",{}, smalltalk.HTMLCanvas)})},
  1546. args: [],
  1547. source: "strong\x0a\x09^self tag: 'strong'",
  1548. messageSends: ["tag:"],
  1549. referencedClasses: []
  1550. }),
  1551. smalltalk.HTMLCanvas);
  1552. smalltalk.addMethod(
  1553. "_strong_",
  1554. smalltalk.method({
  1555. selector: "strong:",
  1556. category: 'tags',
  1557. fn: function (anObject){
  1558. var self=this;
  1559. return smalltalk.withContext(function($ctx1) { var $1;
  1560. $1=_st(_st(self)._strong())._with_(anObject);
  1561. return $1;
  1562. }, function($ctx1) {$ctx1.fill(self,"strong:",{anObject:anObject}, smalltalk.HTMLCanvas)})},
  1563. args: ["anObject"],
  1564. source: "strong: anObject\x0a\x09^self strong with: anObject",
  1565. messageSends: ["with:", "strong"],
  1566. referencedClasses: []
  1567. }),
  1568. smalltalk.HTMLCanvas);
  1569. smalltalk.addMethod(
  1570. "_style",
  1571. smalltalk.method({
  1572. selector: "style",
  1573. category: 'tags',
  1574. fn: function (){
  1575. var self=this;
  1576. return smalltalk.withContext(function($ctx1) { var $1;
  1577. $1=_st(self["@root"])._addBrush_(_st((smalltalk.StyleTag || StyleTag))._canvas_(self));
  1578. return $1;
  1579. }, function($ctx1) {$ctx1.fill(self,"style",{}, smalltalk.HTMLCanvas)})},
  1580. args: [],
  1581. source: "style\x0a\x09^ root addBrush: (StyleTag canvas: self)",
  1582. messageSends: ["addBrush:", "canvas:"],
  1583. referencedClasses: ["StyleTag"]
  1584. }),
  1585. smalltalk.HTMLCanvas);
  1586. smalltalk.addMethod(
  1587. "_style_",
  1588. smalltalk.method({
  1589. selector: "style:",
  1590. category: 'tags',
  1591. fn: function (aString){
  1592. var self=this;
  1593. return smalltalk.withContext(function($ctx1) { var $2,$3,$1;
  1594. $2=_st(self)._style();
  1595. _st($2)._with_(aString);
  1596. $3=_st($2)._yourself();
  1597. $1=$3;
  1598. return $1;
  1599. }, function($ctx1) {$ctx1.fill(self,"style:",{aString:aString}, smalltalk.HTMLCanvas)})},
  1600. args: ["aString"],
  1601. source: "style: aString\x0a\x09^ self style with: aString; yourself",
  1602. messageSends: ["with:", "style", "yourself"],
  1603. referencedClasses: []
  1604. }),
  1605. smalltalk.HTMLCanvas);
  1606. smalltalk.addMethod(
  1607. "_sub",
  1608. smalltalk.method({
  1609. selector: "sub",
  1610. category: 'tags',
  1611. fn: function (){
  1612. var self=this;
  1613. return smalltalk.withContext(function($ctx1) { var $1;
  1614. $1=_st(self)._tag_("sub");
  1615. return $1;
  1616. }, function($ctx1) {$ctx1.fill(self,"sub",{}, smalltalk.HTMLCanvas)})},
  1617. args: [],
  1618. source: "sub\x0a\x09^self tag: 'sub'",
  1619. messageSends: ["tag:"],
  1620. referencedClasses: []
  1621. }),
  1622. smalltalk.HTMLCanvas);
  1623. smalltalk.addMethod(
  1624. "_summary",
  1625. smalltalk.method({
  1626. selector: "summary",
  1627. category: 'tags',
  1628. fn: function (){
  1629. var self=this;
  1630. return smalltalk.withContext(function($ctx1) { var $1;
  1631. $1=_st(self)._tag_("summary");
  1632. return $1;
  1633. }, function($ctx1) {$ctx1.fill(self,"summary",{}, smalltalk.HTMLCanvas)})},
  1634. args: [],
  1635. source: "summary\x0a\x09^self tag: 'summary'",
  1636. messageSends: ["tag:"],
  1637. referencedClasses: []
  1638. }),
  1639. smalltalk.HTMLCanvas);
  1640. smalltalk.addMethod(
  1641. "_sup",
  1642. smalltalk.method({
  1643. selector: "sup",
  1644. category: 'tags',
  1645. fn: function (){
  1646. var self=this;
  1647. return smalltalk.withContext(function($ctx1) { var $1;
  1648. $1=_st(self)._tag_("sup");
  1649. return $1;
  1650. }, function($ctx1) {$ctx1.fill(self,"sup",{}, smalltalk.HTMLCanvas)})},
  1651. args: [],
  1652. source: "sup\x0a\x09^self tag: 'sup'",
  1653. messageSends: ["tag:"],
  1654. referencedClasses: []
  1655. }),
  1656. smalltalk.HTMLCanvas);
  1657. smalltalk.addMethod(
  1658. "_table",
  1659. smalltalk.method({
  1660. selector: "table",
  1661. category: 'tags',
  1662. fn: function (){
  1663. var self=this;
  1664. return smalltalk.withContext(function($ctx1) { var $1;
  1665. $1=_st(self)._tag_("table");
  1666. return $1;
  1667. }, function($ctx1) {$ctx1.fill(self,"table",{}, smalltalk.HTMLCanvas)})},
  1668. args: [],
  1669. source: "table\x0a ^self tag: 'table'",
  1670. messageSends: ["tag:"],
  1671. referencedClasses: []
  1672. }),
  1673. smalltalk.HTMLCanvas);
  1674. smalltalk.addMethod(
  1675. "_tag_",
  1676. smalltalk.method({
  1677. selector: "tag:",
  1678. category: 'tags',
  1679. fn: function (aString){
  1680. var self=this;
  1681. return smalltalk.withContext(function($ctx1) { var $1;
  1682. $1=_st(self["@root"])._addBrush_(_st(self)._newTag_(aString));
  1683. return $1;
  1684. }, function($ctx1) {$ctx1.fill(self,"tag:",{aString:aString}, smalltalk.HTMLCanvas)})},
  1685. args: ["aString"],
  1686. source: "tag: aString\x0a ^root addBrush: (self newTag: aString)",
  1687. messageSends: ["addBrush:", "newTag:"],
  1688. referencedClasses: []
  1689. }),
  1690. smalltalk.HTMLCanvas);
  1691. smalltalk.addMethod(
  1692. "_tbody",
  1693. smalltalk.method({
  1694. selector: "tbody",
  1695. category: 'tags',
  1696. fn: function (){
  1697. var self=this;
  1698. return smalltalk.withContext(function($ctx1) { var $1;
  1699. $1=_st(self)._tag_("tbody");
  1700. return $1;
  1701. }, function($ctx1) {$ctx1.fill(self,"tbody",{}, smalltalk.HTMLCanvas)})},
  1702. args: [],
  1703. source: "tbody\x0a ^self tag: 'tbody'",
  1704. messageSends: ["tag:"],
  1705. referencedClasses: []
  1706. }),
  1707. smalltalk.HTMLCanvas);
  1708. smalltalk.addMethod(
  1709. "_td",
  1710. smalltalk.method({
  1711. selector: "td",
  1712. category: 'tags',
  1713. fn: function (){
  1714. var self=this;
  1715. return smalltalk.withContext(function($ctx1) { var $1;
  1716. $1=_st(self)._tag_("td");
  1717. return $1;
  1718. }, function($ctx1) {$ctx1.fill(self,"td",{}, smalltalk.HTMLCanvas)})},
  1719. args: [],
  1720. source: "td \x0a ^self tag: 'td'",
  1721. messageSends: ["tag:"],
  1722. referencedClasses: []
  1723. }),
  1724. smalltalk.HTMLCanvas);
  1725. smalltalk.addMethod(
  1726. "_textarea",
  1727. smalltalk.method({
  1728. selector: "textarea",
  1729. category: 'tags',
  1730. fn: function (){
  1731. var self=this;
  1732. return smalltalk.withContext(function($ctx1) { var $1;
  1733. $1=_st(self)._tag_("textarea");
  1734. return $1;
  1735. }, function($ctx1) {$ctx1.fill(self,"textarea",{}, smalltalk.HTMLCanvas)})},
  1736. args: [],
  1737. source: "textarea\x0a ^self tag: 'textarea'",
  1738. messageSends: ["tag:"],
  1739. referencedClasses: []
  1740. }),
  1741. smalltalk.HTMLCanvas);
  1742. smalltalk.addMethod(
  1743. "_tfoot",
  1744. smalltalk.method({
  1745. selector: "tfoot",
  1746. category: 'tags',
  1747. fn: function (){
  1748. var self=this;
  1749. return smalltalk.withContext(function($ctx1) { var $1;
  1750. $1=_st(self)._tag_("tfoot");
  1751. return $1;
  1752. }, function($ctx1) {$ctx1.fill(self,"tfoot",{}, smalltalk.HTMLCanvas)})},
  1753. args: [],
  1754. source: "tfoot\x0a ^self tag: 'tfoot'",
  1755. messageSends: ["tag:"],
  1756. referencedClasses: []
  1757. }),
  1758. smalltalk.HTMLCanvas);
  1759. smalltalk.addMethod(
  1760. "_th",
  1761. smalltalk.method({
  1762. selector: "th",
  1763. category: 'tags',
  1764. fn: function (){
  1765. var self=this;
  1766. return smalltalk.withContext(function($ctx1) { var $1;
  1767. $1=_st(self)._tag_("th");
  1768. return $1;
  1769. }, function($ctx1) {$ctx1.fill(self,"th",{}, smalltalk.HTMLCanvas)})},
  1770. args: [],
  1771. source: "th\x0a ^self tag: 'th'",
  1772. messageSends: ["tag:"],
  1773. referencedClasses: []
  1774. }),
  1775. smalltalk.HTMLCanvas);
  1776. smalltalk.addMethod(
  1777. "_thead",
  1778. smalltalk.method({
  1779. selector: "thead",
  1780. category: 'tags',
  1781. fn: function (){
  1782. var self=this;
  1783. return smalltalk.withContext(function($ctx1) { var $1;
  1784. $1=_st(self)._tag_("thead");
  1785. return $1;
  1786. }, function($ctx1) {$ctx1.fill(self,"thead",{}, smalltalk.HTMLCanvas)})},
  1787. args: [],
  1788. source: "thead\x0a ^self tag: 'thead'",
  1789. messageSends: ["tag:"],
  1790. referencedClasses: []
  1791. }),
  1792. smalltalk.HTMLCanvas);
  1793. smalltalk.addMethod(
  1794. "_time",
  1795. smalltalk.method({
  1796. selector: "time",
  1797. category: 'tags',
  1798. fn: function (){
  1799. var self=this;
  1800. return smalltalk.withContext(function($ctx1) { var $1;
  1801. $1=_st(self)._tag_("time");
  1802. return $1;
  1803. }, function($ctx1) {$ctx1.fill(self,"time",{}, smalltalk.HTMLCanvas)})},
  1804. args: [],
  1805. source: "time\x0a\x09^self tag: 'time'",
  1806. messageSends: ["tag:"],
  1807. referencedClasses: []
  1808. }),
  1809. smalltalk.HTMLCanvas);
  1810. smalltalk.addMethod(
  1811. "_title",
  1812. smalltalk.method({
  1813. selector: "title",
  1814. category: 'tags',
  1815. fn: function (){
  1816. var self=this;
  1817. return smalltalk.withContext(function($ctx1) { var $1;
  1818. $1=_st(self)._tag_("title");
  1819. return $1;
  1820. }, function($ctx1) {$ctx1.fill(self,"title",{}, smalltalk.HTMLCanvas)})},
  1821. args: [],
  1822. source: "title\x0a\x09^self tag: 'title'",
  1823. messageSends: ["tag:"],
  1824. referencedClasses: []
  1825. }),
  1826. smalltalk.HTMLCanvas);
  1827. smalltalk.addMethod(
  1828. "_tr",
  1829. smalltalk.method({
  1830. selector: "tr",
  1831. category: 'tags',
  1832. fn: function (){
  1833. var self=this;
  1834. return smalltalk.withContext(function($ctx1) { var $1;
  1835. $1=_st(self)._tag_("tr");
  1836. return $1;
  1837. }, function($ctx1) {$ctx1.fill(self,"tr",{}, smalltalk.HTMLCanvas)})},
  1838. args: [],
  1839. source: "tr\x0a ^self tag: 'tr'",
  1840. messageSends: ["tag:"],
  1841. referencedClasses: []
  1842. }),
  1843. smalltalk.HTMLCanvas);
  1844. smalltalk.addMethod(
  1845. "_ul",
  1846. smalltalk.method({
  1847. selector: "ul",
  1848. category: 'tags',
  1849. fn: function (){
  1850. var self=this;
  1851. return smalltalk.withContext(function($ctx1) { var $1;
  1852. $1=_st(self)._tag_("ul");
  1853. return $1;
  1854. }, function($ctx1) {$ctx1.fill(self,"ul",{}, smalltalk.HTMLCanvas)})},
  1855. args: [],
  1856. source: "ul\x0a ^self tag: 'ul'",
  1857. messageSends: ["tag:"],
  1858. referencedClasses: []
  1859. }),
  1860. smalltalk.HTMLCanvas);
  1861. smalltalk.addMethod(
  1862. "_ul_",
  1863. smalltalk.method({
  1864. selector: "ul:",
  1865. category: 'tags',
  1866. fn: function (anObject){
  1867. var self=this;
  1868. return smalltalk.withContext(function($ctx1) { var $1;
  1869. $1=_st(_st(self)._ul())._with_(anObject);
  1870. return $1;
  1871. }, function($ctx1) {$ctx1.fill(self,"ul:",{anObject:anObject}, smalltalk.HTMLCanvas)})},
  1872. args: ["anObject"],
  1873. source: "ul: anObject\x0a ^self ul with: anObject",
  1874. messageSends: ["with:", "ul"],
  1875. referencedClasses: []
  1876. }),
  1877. smalltalk.HTMLCanvas);
  1878. smalltalk.addMethod(
  1879. "_video",
  1880. smalltalk.method({
  1881. selector: "video",
  1882. category: 'tags',
  1883. fn: function (){
  1884. var self=this;
  1885. return smalltalk.withContext(function($ctx1) { var $1;
  1886. $1=_st(self)._tag_("video");
  1887. return $1;
  1888. }, function($ctx1) {$ctx1.fill(self,"video",{}, smalltalk.HTMLCanvas)})},
  1889. args: [],
  1890. source: "video\x0a ^self tag: 'video'",
  1891. messageSends: ["tag:"],
  1892. referencedClasses: []
  1893. }),
  1894. smalltalk.HTMLCanvas);
  1895. smalltalk.addMethod(
  1896. "_with_",
  1897. smalltalk.method({
  1898. selector: "with:",
  1899. category: 'adding',
  1900. fn: function (anObject){
  1901. var self=this;
  1902. return smalltalk.withContext(function($ctx1) { var $1;
  1903. $1=_st(_st(self)._root())._with_(anObject);
  1904. return $1;
  1905. }, function($ctx1) {$ctx1.fill(self,"with:",{anObject:anObject}, smalltalk.HTMLCanvas)})},
  1906. args: ["anObject"],
  1907. source: "with: anObject\x0a ^self root with: anObject",
  1908. messageSends: ["with:", "root"],
  1909. referencedClasses: []
  1910. }),
  1911. smalltalk.HTMLCanvas);
  1912. smalltalk.addMethod(
  1913. "_browserVersion",
  1914. smalltalk.method({
  1915. selector: "browserVersion",
  1916. category: 'instance creation',
  1917. fn: function (){
  1918. var self=this;
  1919. return smalltalk.withContext(function($ctx1) { var $1;
  1920. $1=_st(_st(jQuery)._at_(smalltalk.symbolFor("browser")))._version();
  1921. return $1;
  1922. }, function($ctx1) {$ctx1.fill(self,"browserVersion",{}, smalltalk.HTMLCanvas.klass)})},
  1923. args: [],
  1924. source: "browserVersion\x0a\x09^(jQuery at: #browser) version",
  1925. messageSends: ["version", "at:"],
  1926. referencedClasses: []
  1927. }),
  1928. smalltalk.HTMLCanvas.klass);
  1929. smalltalk.addMethod(
  1930. "_isMSIE",
  1931. smalltalk.method({
  1932. selector: "isMSIE",
  1933. category: 'instance creation',
  1934. fn: function (){
  1935. var self=this;
  1936. return smalltalk.withContext(function($ctx1) { var $1;
  1937. $1=_st(_st(_st(jQuery)._at_(smalltalk.symbolFor("browser")))._at_(smalltalk.symbolFor("msie")))._notNil();
  1938. return $1;
  1939. }, function($ctx1) {$ctx1.fill(self,"isMSIE",{}, smalltalk.HTMLCanvas.klass)})},
  1940. args: [],
  1941. source: "isMSIE\x0a\x09^((jQuery at: #browser) at: #msie) notNil",
  1942. messageSends: ["notNil", "at:"],
  1943. referencedClasses: []
  1944. }),
  1945. smalltalk.HTMLCanvas.klass);
  1946. smalltalk.addMethod(
  1947. "_isMozilla",
  1948. smalltalk.method({
  1949. selector: "isMozilla",
  1950. category: 'instance creation',
  1951. fn: function (){
  1952. var self=this;
  1953. return smalltalk.withContext(function($ctx1) { var $1;
  1954. $1=_st(_st(_st(jQuery)._at_(smalltalk.symbolFor("browser")))._at_(smalltalk.symbolFor("mozilla")))._notNil();
  1955. return $1;
  1956. }, function($ctx1) {$ctx1.fill(self,"isMozilla",{}, smalltalk.HTMLCanvas.klass)})},
  1957. args: [],
  1958. source: "isMozilla\x0a\x09^((jQuery at: #browser) at: #mozilla) notNil",
  1959. messageSends: ["notNil", "at:"],
  1960. referencedClasses: []
  1961. }),
  1962. smalltalk.HTMLCanvas.klass);
  1963. smalltalk.addMethod(
  1964. "_isOpera",
  1965. smalltalk.method({
  1966. selector: "isOpera",
  1967. category: 'instance creation',
  1968. fn: function (){
  1969. var self=this;
  1970. return smalltalk.withContext(function($ctx1) { var $1;
  1971. $1=_st(_st(_st(jQuery)._at_(smalltalk.symbolFor("browser")))._at_(smalltalk.symbolFor("opera")))._notNil();
  1972. return $1;
  1973. }, function($ctx1) {$ctx1.fill(self,"isOpera",{}, smalltalk.HTMLCanvas.klass)})},
  1974. args: [],
  1975. source: "isOpera\x0a\x09^((jQuery at: #browser) at: #opera) notNil",
  1976. messageSends: ["notNil", "at:"],
  1977. referencedClasses: []
  1978. }),
  1979. smalltalk.HTMLCanvas.klass);
  1980. smalltalk.addMethod(
  1981. "_isWebkit",
  1982. smalltalk.method({
  1983. selector: "isWebkit",
  1984. category: 'instance creation',
  1985. fn: function (){
  1986. var self=this;
  1987. return smalltalk.withContext(function($ctx1) { var $1;
  1988. $1=_st(_st(_st(jQuery)._at_(smalltalk.symbolFor("browser")))._at_(smalltalk.symbolFor("webkit")))._notNil();
  1989. return $1;
  1990. }, function($ctx1) {$ctx1.fill(self,"isWebkit",{}, smalltalk.HTMLCanvas.klass)})},
  1991. args: [],
  1992. source: "isWebkit\x0a\x09^((jQuery at: #browser) at: #webkit) notNil",
  1993. messageSends: ["notNil", "at:"],
  1994. referencedClasses: []
  1995. }),
  1996. smalltalk.HTMLCanvas.klass);
  1997. smalltalk.addMethod(
  1998. "_onJQuery_",
  1999. smalltalk.method({
  2000. selector: "onJQuery:",
  2001. category: 'instance creation',
  2002. fn: function (aJQuery){
  2003. var self=this;
  2004. return smalltalk.withContext(function($ctx1) { var $2,$3,$1;
  2005. $2=_st(self)._basicNew();
  2006. _st($2)._initializeFromJQuery_(aJQuery);
  2007. _st($2)._initialize();
  2008. $3=_st($2)._yourself();
  2009. $1=$3;
  2010. return $1;
  2011. }, function($ctx1) {$ctx1.fill(self,"onJQuery:",{aJQuery:aJQuery}, smalltalk.HTMLCanvas.klass)})},
  2012. args: ["aJQuery"],
  2013. source: "onJQuery: aJQuery\x0a\x09^self basicNew\x0a\x09\x09initializeFromJQuery: aJQuery;\x0a\x09\x09initialize;\x0a\x09\x09yourself",
  2014. messageSends: ["initializeFromJQuery:", "basicNew", "initialize", "yourself"],
  2015. referencedClasses: []
  2016. }),
  2017. smalltalk.HTMLCanvas.klass);
  2018. smalltalk.addClass('TagBrush', smalltalk.Object, ['canvas', 'element'], 'Canvas');
  2019. smalltalk.addMethod(
  2020. "_accesskey_",
  2021. smalltalk.method({
  2022. selector: "accesskey:",
  2023. category: 'attributes',
  2024. fn: function (aString){
  2025. var self=this;
  2026. return smalltalk.withContext(function($ctx1) { _st(self)._at_put_("accesskey",aString);
  2027. return self}, function($ctx1) {$ctx1.fill(self,"accesskey:",{aString:aString}, smalltalk.TagBrush)})},
  2028. args: ["aString"],
  2029. source: "accesskey: aString\x0a\x09self at: 'accesskey' put: aString",
  2030. messageSends: ["at:put:"],
  2031. referencedClasses: []
  2032. }),
  2033. smalltalk.TagBrush);
  2034. smalltalk.addMethod(
  2035. "_action_",
  2036. smalltalk.method({
  2037. selector: "action:",
  2038. category: 'attributes',
  2039. fn: function (aString){
  2040. var self=this;
  2041. return smalltalk.withContext(function($ctx1) { _st(self)._at_put_("action",aString);
  2042. return self}, function($ctx1) {$ctx1.fill(self,"action:",{aString:aString}, smalltalk.TagBrush)})},
  2043. args: ["aString"],
  2044. source: "action: aString\x0a\x09self at: 'action' put: aString",
  2045. messageSends: ["at:put:"],
  2046. referencedClasses: []
  2047. }),
  2048. smalltalk.TagBrush);
  2049. smalltalk.addMethod(
  2050. "_addBrush_",
  2051. smalltalk.method({
  2052. selector: "addBrush:",
  2053. category: 'adding',
  2054. fn: function (aTagBrush){
  2055. var self=this;
  2056. return smalltalk.withContext(function($ctx1) { var $1;
  2057. _st(self)._appendChild_(_st(aTagBrush)._element());
  2058. $1=aTagBrush;
  2059. return $1;
  2060. }, function($ctx1) {$ctx1.fill(self,"addBrush:",{aTagBrush:aTagBrush}, smalltalk.TagBrush)})},
  2061. args: ["aTagBrush"],
  2062. source: "addBrush: aTagBrush\x0a self appendChild: aTagBrush element.\x0a ^aTagBrush",
  2063. messageSends: ["appendChild:", "element"],
  2064. referencedClasses: []
  2065. }),
  2066. smalltalk.TagBrush);
  2067. smalltalk.addMethod(
  2068. "_align_",
  2069. smalltalk.method({
  2070. selector: "align:",
  2071. category: 'attributes',
  2072. fn: function (aString){
  2073. var self=this;
  2074. return smalltalk.withContext(function($ctx1) { _st(self)._at_put_("align",aString);
  2075. return self}, function($ctx1) {$ctx1.fill(self,"align:",{aString:aString}, smalltalk.TagBrush)})},
  2076. args: ["aString"],
  2077. source: "align: aString\x0a\x09self at: 'align' put: aString",
  2078. messageSends: ["at:put:"],
  2079. referencedClasses: []
  2080. }),
  2081. smalltalk.TagBrush);
  2082. smalltalk.addMethod(
  2083. "_alt_",
  2084. smalltalk.method({
  2085. selector: "alt:",
  2086. category: 'attributes',
  2087. fn: function (aString){
  2088. var self=this;
  2089. return smalltalk.withContext(function($ctx1) { _st(self)._at_put_("alt",aString);
  2090. return self}, function($ctx1) {$ctx1.fill(self,"alt:",{aString:aString}, smalltalk.TagBrush)})},
  2091. args: ["aString"],
  2092. source: "alt: aString\x0a\x09self at: 'alt' put: aString",
  2093. messageSends: ["at:put:"],
  2094. referencedClasses: []
  2095. }),
  2096. smalltalk.TagBrush);
  2097. smalltalk.addMethod(
  2098. "_append_",
  2099. smalltalk.method({
  2100. selector: "append:",
  2101. category: 'adding',
  2102. fn: function (anObject){
  2103. var self=this;
  2104. return smalltalk.withContext(function($ctx1) { _st(anObject)._appendToBrush_(self);
  2105. return self}, function($ctx1) {$ctx1.fill(self,"append:",{anObject:anObject}, smalltalk.TagBrush)})},
  2106. args: ["anObject"],
  2107. source: "append: anObject\x0a anObject appendToBrush: self",
  2108. messageSends: ["appendToBrush:"],
  2109. referencedClasses: []
  2110. }),
  2111. smalltalk.TagBrush);
  2112. smalltalk.addMethod(
  2113. "_appendBlock_",
  2114. smalltalk.method({
  2115. selector: "appendBlock:",
  2116. category: 'adding',
  2117. fn: function (aBlock){
  2118. var self=this;
  2119. var root;
  2120. return smalltalk.withContext(function($ctx1) { root=_st(self["@canvas"])._root();
  2121. _st(self["@canvas"])._root_(self);
  2122. _st(aBlock)._value_(self["@canvas"]);
  2123. _st(self["@canvas"])._root_(root);
  2124. return self}, function($ctx1) {$ctx1.fill(self,"appendBlock:",{aBlock:aBlock,root:root}, smalltalk.TagBrush)})},
  2125. args: ["aBlock"],
  2126. source: "appendBlock: aBlock\x0a | root |\x0a root := canvas root.\x0a canvas root: self.\x0a aBlock value: canvas.\x0a canvas root: root",
  2127. messageSends: ["root", "root:", "value:"],
  2128. referencedClasses: []
  2129. }),
  2130. smalltalk.TagBrush);
  2131. smalltalk.addMethod(
  2132. "_appendChild_",
  2133. smalltalk.method({
  2134. selector: "appendChild:",
  2135. category: 'adding',
  2136. fn: function (anElement){
  2137. var self=this;
  2138. return smalltalk.withContext(function($ctx1) { var element=self['@element'];
  2139. if (null == element.canHaveChildren || element.canHaveChildren) {
  2140. element.appendChild(anElement);
  2141. } else {
  2142. element.text = String(element.text) + anElement.innerHTML;
  2143. } ;
  2144. return self}, function($ctx1) {$ctx1.fill(self,"appendChild:",{anElement:anElement}, smalltalk.TagBrush)})},
  2145. args: ["anElement"],
  2146. source: "appendChild: anElement\x0a\x09\x22In IE7 and IE8 appendChild fails on several node types. So we need to check\x22 \x0a \x09<var element=self['@element'];\x0a \x09if (null == element.canHaveChildren || element.canHaveChildren) {\x0a\x09\x09element.appendChild(anElement);\x0a \x09} else {\x0a \x09\x09element.text = String(element.text) + anElement.innerHTML;\x0a \x09} >",
  2147. messageSends: [],
  2148. referencedClasses: []
  2149. }),
  2150. smalltalk.TagBrush);
  2151. smalltalk.addMethod(
  2152. "_appendString_",
  2153. smalltalk.method({
  2154. selector: "appendString:",
  2155. category: 'adding',
  2156. fn: function (aString){
  2157. var self=this;
  2158. return smalltalk.withContext(function($ctx1) { _st(self)._appendChild_(_st(self)._createTextNodeFor_(aString));
  2159. return self}, function($ctx1) {$ctx1.fill(self,"appendString:",{aString:aString}, smalltalk.TagBrush)})},
  2160. args: ["aString"],
  2161. source: "appendString: aString\x0a self appendChild: (self createTextNodeFor: aString)",
  2162. messageSends: ["appendChild:", "createTextNodeFor:"],
  2163. referencedClasses: []
  2164. }),
  2165. smalltalk.TagBrush);
  2166. smalltalk.addMethod(
  2167. "_appendToBrush_",
  2168. smalltalk.method({
  2169. selector: "appendToBrush:",
  2170. category: 'adding',
  2171. fn: function (aTagBrush){
  2172. var self=this;
  2173. return smalltalk.withContext(function($ctx1) { _st(aTagBrush)._addBrush_(self);
  2174. return self}, function($ctx1) {$ctx1.fill(self,"appendToBrush:",{aTagBrush:aTagBrush}, smalltalk.TagBrush)})},
  2175. args: ["aTagBrush"],
  2176. source: "appendToBrush: aTagBrush\x0a aTagBrush addBrush: self",
  2177. messageSends: ["addBrush:"],
  2178. referencedClasses: []
  2179. }),
  2180. smalltalk.TagBrush);
  2181. smalltalk.addMethod(
  2182. "_asJQuery",
  2183. smalltalk.method({
  2184. selector: "asJQuery",
  2185. category: 'converting',
  2186. fn: function (){
  2187. var self=this;
  2188. return smalltalk.withContext(function($ctx1) { var $1;
  2189. $1=_st(window)._jQuery_(_st(self)._element());
  2190. return $1;
  2191. }, function($ctx1) {$ctx1.fill(self,"asJQuery",{}, smalltalk.TagBrush)})},
  2192. args: [],
  2193. source: "asJQuery\x0a ^window jQuery: self element",
  2194. messageSends: ["jQuery:", "element"],
  2195. referencedClasses: []
  2196. }),
  2197. smalltalk.TagBrush);
  2198. smalltalk.addMethod(
  2199. "_at_put_",
  2200. smalltalk.method({
  2201. selector: "at:put:",
  2202. category: 'attributes',
  2203. fn: function (aString,aValue){
  2204. var self=this;
  2205. return smalltalk.withContext(function($ctx1) { self['@element'].setAttribute(aString, aValue);
  2206. return self}, function($ctx1) {$ctx1.fill(self,"at:put:",{aString:aString,aValue:aValue}, smalltalk.TagBrush)})},
  2207. args: ["aString", "aValue"],
  2208. source: "at: aString put: aValue\x0a <self['@element'].setAttribute(aString, aValue)>",
  2209. messageSends: [],
  2210. referencedClasses: []
  2211. }),
  2212. smalltalk.TagBrush);
  2213. smalltalk.addMethod(
  2214. "_class_",
  2215. smalltalk.method({
  2216. selector: "class:",
  2217. category: 'attributes',
  2218. fn: function (aString){
  2219. var self=this;
  2220. return smalltalk.withContext(function($ctx1) { self['@element'].className = aString;
  2221. return self}, function($ctx1) {$ctx1.fill(self,"class:",{aString:aString}, smalltalk.TagBrush)})},
  2222. args: ["aString"],
  2223. source: "class: aString\x0a <self['@element'].className = aString>",
  2224. messageSends: [],
  2225. referencedClasses: []
  2226. }),
  2227. smalltalk.TagBrush);
  2228. smalltalk.addMethod(
  2229. "_cols_",
  2230. smalltalk.method({
  2231. selector: "cols:",
  2232. category: 'attributes',
  2233. fn: function (aString){
  2234. var self=this;
  2235. return smalltalk.withContext(function($ctx1) { _st(self)._at_put_("cols",aString);
  2236. return self}, function($ctx1) {$ctx1.fill(self,"cols:",{aString:aString}, smalltalk.TagBrush)})},
  2237. args: ["aString"],
  2238. source: "cols: aString\x0a\x09self at: 'cols' put: aString",
  2239. messageSends: ["at:put:"],
  2240. referencedClasses: []
  2241. }),
  2242. smalltalk.TagBrush);
  2243. smalltalk.addMethod(
  2244. "_contenteditable_",
  2245. smalltalk.method({
  2246. selector: "contenteditable:",
  2247. category: 'attributes',
  2248. fn: function (aString){
  2249. var self=this;
  2250. return smalltalk.withContext(function($ctx1) { _st(self)._at_put_("contenteditable",aString);
  2251. return self}, function($ctx1) {$ctx1.fill(self,"contenteditable:",{aString:aString}, smalltalk.TagBrush)})},
  2252. args: ["aString"],
  2253. source: "contenteditable: aString\x0a\x09self at: 'contenteditable' put: aString",
  2254. messageSends: ["at:put:"],
  2255. referencedClasses: []
  2256. }),
  2257. smalltalk.TagBrush);
  2258. smalltalk.addMethod(
  2259. "_contents_",
  2260. smalltalk.method({
  2261. selector: "contents:",
  2262. category: 'adding',
  2263. fn: function (anObject){
  2264. var self=this;
  2265. return smalltalk.withContext(function($ctx1) { var $1,$2;
  2266. $1=self;
  2267. _st($1)._empty();
  2268. $2=_st($1)._append_(anObject);
  2269. return self}, function($ctx1) {$ctx1.fill(self,"contents:",{anObject:anObject}, smalltalk.TagBrush)})},
  2270. args: ["anObject"],
  2271. source: "contents: anObject\x0a self \x0a\x09empty;\x0a \x09append: anObject",
  2272. messageSends: ["empty", "append:"],
  2273. referencedClasses: []
  2274. }),
  2275. smalltalk.TagBrush);
  2276. smalltalk.addMethod(
  2277. "_contextmenu_",
  2278. smalltalk.method({
  2279. selector: "contextmenu:",
  2280. category: 'attributes',
  2281. fn: function (aString){
  2282. var self=this;
  2283. return smalltalk.withContext(function($ctx1) { _st(self)._at_put_("contextmenu",aString);
  2284. return self}, function($ctx1) {$ctx1.fill(self,"contextmenu:",{aString:aString}, smalltalk.TagBrush)})},
  2285. args: ["aString"],
  2286. source: "contextmenu: aString\x0a\x09self at: 'contextmenu' put: aString",
  2287. messageSends: ["at:put:"],
  2288. referencedClasses: []
  2289. }),
  2290. smalltalk.TagBrush);
  2291. smalltalk.addMethod(
  2292. "_createElementFor_",
  2293. smalltalk.method({
  2294. selector: "createElementFor:",
  2295. category: 'private',
  2296. fn: function (aString){
  2297. var self=this;
  2298. return smalltalk.withContext(function($ctx1) { return document.createElement(String(aString));
  2299. return self}, function($ctx1) {$ctx1.fill(self,"createElementFor:",{aString:aString}, smalltalk.TagBrush)})},
  2300. args: ["aString"],
  2301. source: "createElementFor: aString\x0a\x09<return document.createElement(String(aString))>",
  2302. messageSends: [],
  2303. referencedClasses: []
  2304. }),
  2305. smalltalk.TagBrush);
  2306. smalltalk.addMethod(
  2307. "_createTextNodeFor_",
  2308. smalltalk.method({
  2309. selector: "createTextNodeFor:",
  2310. category: 'private',
  2311. fn: function (aString){
  2312. var self=this;
  2313. return smalltalk.withContext(function($ctx1) { return document.createTextNode(String(aString));
  2314. return self}, function($ctx1) {$ctx1.fill(self,"createTextNodeFor:",{aString:aString}, smalltalk.TagBrush)})},
  2315. args: ["aString"],
  2316. source: "createTextNodeFor: aString\x0a\x09<return document.createTextNode(String(aString))>",
  2317. messageSends: [],
  2318. referencedClasses: []
  2319. }),
  2320. smalltalk.TagBrush);
  2321. smalltalk.addMethod(
  2322. "_draggable_",
  2323. smalltalk.method({
  2324. selector: "draggable:",
  2325. category: 'attributes',
  2326. fn: function (aString){
  2327. var self=this;
  2328. return smalltalk.withContext(function($ctx1) { _st(self)._at_put_("draggable",aString);
  2329. return self}, function($ctx1) {$ctx1.fill(self,"draggable:",{aString:aString}, smalltalk.TagBrush)})},
  2330. args: ["aString"],
  2331. source: "draggable: aString\x0a\x09self at: 'draggable' put: aString",
  2332. messageSends: ["at:put:"],
  2333. referencedClasses: []
  2334. }),
  2335. smalltalk.TagBrush);
  2336. smalltalk.addMethod(
  2337. "_element",
  2338. smalltalk.method({
  2339. selector: "element",
  2340. category: 'accessing',
  2341. fn: function (){
  2342. var self=this;
  2343. return smalltalk.withContext(function($ctx1) { var $1;
  2344. $1=self["@element"];
  2345. return $1;
  2346. }, function($ctx1) {$ctx1.fill(self,"element",{}, smalltalk.TagBrush)})},
  2347. args: [],
  2348. source: "element\x0a ^element",
  2349. messageSends: [],
  2350. referencedClasses: []
  2351. }),
  2352. smalltalk.TagBrush);
  2353. smalltalk.addMethod(
  2354. "_empty",
  2355. smalltalk.method({
  2356. selector: "empty",
  2357. category: 'adding',
  2358. fn: function (){
  2359. var self=this;
  2360. return smalltalk.withContext(function($ctx1) { _st(_st(self)._asJQuery())._empty();
  2361. return self}, function($ctx1) {$ctx1.fill(self,"empty",{}, smalltalk.TagBrush)})},
  2362. args: [],
  2363. source: "empty\x0a\x09self asJQuery empty",
  2364. messageSends: ["empty", "asJQuery"],
  2365. referencedClasses: []
  2366. }),
  2367. smalltalk.TagBrush);
  2368. smalltalk.addMethod(
  2369. "_for_",
  2370. smalltalk.method({
  2371. selector: "for:",
  2372. category: 'attributes',
  2373. fn: function (aString){
  2374. var self=this;
  2375. return smalltalk.withContext(function($ctx1) { _st(self)._at_put_("for",aString);
  2376. return self}, function($ctx1) {$ctx1.fill(self,"for:",{aString:aString}, smalltalk.TagBrush)})},
  2377. args: ["aString"],
  2378. source: "for: aString\x0a\x09self at: 'for' put: aString",
  2379. messageSends: ["at:put:"],
  2380. referencedClasses: []
  2381. }),
  2382. smalltalk.TagBrush);
  2383. smalltalk.addMethod(
  2384. "_height_",
  2385. smalltalk.method({
  2386. selector: "height:",
  2387. category: 'attributes',
  2388. fn: function (aString){
  2389. var self=this;
  2390. return smalltalk.withContext(function($ctx1) { _st(self)._at_put_("height",aString);
  2391. return self}, function($ctx1) {$ctx1.fill(self,"height:",{aString:aString}, smalltalk.TagBrush)})},
  2392. args: ["aString"],
  2393. source: "height: aString\x0a self at: 'height' put: aString",
  2394. messageSends: ["at:put:"],
  2395. referencedClasses: []
  2396. }),
  2397. smalltalk.TagBrush);
  2398. smalltalk.addMethod(
  2399. "_hidden",
  2400. smalltalk.method({
  2401. selector: "hidden",
  2402. category: 'attributes',
  2403. fn: function (){
  2404. var self=this;
  2405. return smalltalk.withContext(function($ctx1) { _st(self)._at_put_("hidden","hidden");
  2406. return self}, function($ctx1) {$ctx1.fill(self,"hidden",{}, smalltalk.TagBrush)})},
  2407. args: [],
  2408. source: "hidden\x0a\x09self at: 'hidden' put: 'hidden'",
  2409. messageSends: ["at:put:"],
  2410. referencedClasses: []
  2411. }),
  2412. smalltalk.TagBrush);
  2413. smalltalk.addMethod(
  2414. "_href_",
  2415. smalltalk.method({
  2416. selector: "href:",
  2417. category: 'attributes',
  2418. fn: function (aString){
  2419. var self=this;
  2420. return smalltalk.withContext(function($ctx1) { _st(self)._at_put_("href",aString);
  2421. return self}, function($ctx1) {$ctx1.fill(self,"href:",{aString:aString}, smalltalk.TagBrush)})},
  2422. args: ["aString"],
  2423. source: "href: aString\x0a self at: 'href' put: aString",
  2424. messageSends: ["at:put:"],
  2425. referencedClasses: []
  2426. }),
  2427. smalltalk.TagBrush);
  2428. smalltalk.addMethod(
  2429. "_id_",
  2430. smalltalk.method({
  2431. selector: "id:",
  2432. category: 'attributes',
  2433. fn: function (aString){
  2434. var self=this;
  2435. return smalltalk.withContext(function($ctx1) { _st(self)._at_put_("id",aString);
  2436. return self}, function($ctx1) {$ctx1.fill(self,"id:",{aString:aString}, smalltalk.TagBrush)})},
  2437. args: ["aString"],
  2438. source: "id: aString\x0a self at: 'id' put: aString",
  2439. messageSends: ["at:put:"],
  2440. referencedClasses: []
  2441. }),
  2442. smalltalk.TagBrush);
  2443. smalltalk.addMethod(
  2444. "_initializeFromJQuery_canvas_",
  2445. smalltalk.method({
  2446. selector: "initializeFromJQuery:canvas:",
  2447. category: 'initialization',
  2448. fn: function (aJQuery,aCanvas){
  2449. var self=this;
  2450. return smalltalk.withContext(function($ctx1) { self["@element"]=_st(aJQuery)._get_((0));
  2451. self["@canvas"]=aCanvas;
  2452. return self}, function($ctx1) {$ctx1.fill(self,"initializeFromJQuery:canvas:",{aJQuery:aJQuery,aCanvas:aCanvas}, smalltalk.TagBrush)})},
  2453. args: ["aJQuery", "aCanvas"],
  2454. source: "initializeFromJQuery: aJQuery canvas: aCanvas\x0a element := aJQuery get: 0.\x0a canvas := aCanvas",
  2455. messageSends: ["get:"],
  2456. referencedClasses: []
  2457. }),
  2458. smalltalk.TagBrush);
  2459. smalltalk.addMethod(
  2460. "_initializeFromString_canvas_",
  2461. smalltalk.method({
  2462. selector: "initializeFromString:canvas:",
  2463. category: 'initialization',
  2464. fn: function (aString,aCanvas){
  2465. var self=this;
  2466. return smalltalk.withContext(function($ctx1) { self["@element"]=_st(self)._createElementFor_(aString);
  2467. self["@canvas"]=aCanvas;
  2468. return self}, function($ctx1) {$ctx1.fill(self,"initializeFromString:canvas:",{aString:aString,aCanvas:aCanvas}, smalltalk.TagBrush)})},
  2469. args: ["aString", "aCanvas"],
  2470. source: "initializeFromString: aString canvas: aCanvas\x0a element := self createElementFor: aString.\x0a canvas := aCanvas",
  2471. messageSends: ["createElementFor:"],
  2472. referencedClasses: []
  2473. }),
  2474. smalltalk.TagBrush);
  2475. smalltalk.addMethod(
  2476. "_media_",
  2477. smalltalk.method({
  2478. selector: "media:",
  2479. category: 'attributes',
  2480. fn: function (aString){
  2481. var self=this;
  2482. return smalltalk.withContext(function($ctx1) { _st(self)._at_put_("media",aString);
  2483. return self}, function($ctx1) {$ctx1.fill(self,"media:",{aString:aString}, smalltalk.TagBrush)})},
  2484. args: ["aString"],
  2485. source: "media: aString\x0a self at: 'media' put: aString",
  2486. messageSends: ["at:put:"],
  2487. referencedClasses: []
  2488. }),
  2489. smalltalk.TagBrush);
  2490. smalltalk.addMethod(
  2491. "_method_",
  2492. smalltalk.method({
  2493. selector: "method:",
  2494. category: 'attributes',
  2495. fn: function (aString){
  2496. var self=this;
  2497. return smalltalk.withContext(function($ctx1) { _st(self)._at_put_("method",aString);
  2498. return self}, function($ctx1) {$ctx1.fill(self,"method:",{aString:aString}, smalltalk.TagBrush)})},
  2499. args: ["aString"],
  2500. source: "method: aString\x0a\x09self at: 'method' put: aString",
  2501. messageSends: ["at:put:"],
  2502. referencedClasses: []
  2503. }),
  2504. smalltalk.TagBrush);
  2505. smalltalk.addMethod(
  2506. "_name_",
  2507. smalltalk.method({
  2508. selector: "name:",
  2509. category: 'attributes',
  2510. fn: function (aString){
  2511. var self=this;
  2512. return smalltalk.withContext(function($ctx1) { _st(self)._at_put_("name",aString);
  2513. return self}, function($ctx1) {$ctx1.fill(self,"name:",{aString:aString}, smalltalk.TagBrush)})},
  2514. args: ["aString"],
  2515. source: "name: aString\x0a\x09self at: 'name' put: aString",
  2516. messageSends: ["at:put:"],
  2517. referencedClasses: []
  2518. }),
  2519. smalltalk.TagBrush);
  2520. smalltalk.addMethod(
  2521. "_onBlur_",
  2522. smalltalk.method({
  2523. selector: "onBlur:",
  2524. category: 'events',
  2525. fn: function (aBlock){
  2526. var self=this;
  2527. return smalltalk.withContext(function($ctx1) { _st(_st(self)._asJQuery())._bind_do_("blur",aBlock);
  2528. return self}, function($ctx1) {$ctx1.fill(self,"onBlur:",{aBlock:aBlock}, smalltalk.TagBrush)})},
  2529. args: ["aBlock"],
  2530. source: "onBlur: aBlock\x0a self asJQuery bind: 'blur' do: aBlock",
  2531. messageSends: ["bind:do:", "asJQuery"],
  2532. referencedClasses: []
  2533. }),
  2534. smalltalk.TagBrush);
  2535. smalltalk.addMethod(
  2536. "_onChange_",
  2537. smalltalk.method({
  2538. selector: "onChange:",
  2539. category: 'events',
  2540. fn: function (aBlock){
  2541. var self=this;
  2542. return smalltalk.withContext(function($ctx1) { _st(_st(self)._asJQuery())._bind_do_("change",aBlock);
  2543. return self}, function($ctx1) {$ctx1.fill(self,"onChange:",{aBlock:aBlock}, smalltalk.TagBrush)})},
  2544. args: ["aBlock"],
  2545. source: "onChange: aBlock\x0a self asJQuery bind: 'change' do: aBlock",
  2546. messageSends: ["bind:do:", "asJQuery"],
  2547. referencedClasses: []
  2548. }),
  2549. smalltalk.TagBrush);
  2550. smalltalk.addMethod(
  2551. "_onClick_",
  2552. smalltalk.method({
  2553. selector: "onClick:",
  2554. category: 'events',
  2555. fn: function (aBlock){
  2556. var self=this;
  2557. return smalltalk.withContext(function($ctx1) { _st(_st(self)._asJQuery())._bind_do_("click",aBlock);
  2558. return self}, function($ctx1) {$ctx1.fill(self,"onClick:",{aBlock:aBlock}, smalltalk.TagBrush)})},
  2559. args: ["aBlock"],
  2560. source: "onClick: aBlock\x0a self asJQuery bind: 'click' do: aBlock",
  2561. messageSends: ["bind:do:", "asJQuery"],
  2562. referencedClasses: []
  2563. }),
  2564. smalltalk.TagBrush);
  2565. smalltalk.addMethod(
  2566. "_onDblClick_",
  2567. smalltalk.method({
  2568. selector: "onDblClick:",
  2569. category: 'events',
  2570. fn: function (aBlock){
  2571. var self=this;
  2572. return smalltalk.withContext(function($ctx1) { _st(_st(self)._asJQuery())._bind_do_("dblclick",aBlock);
  2573. return self}, function($ctx1) {$ctx1.fill(self,"onDblClick:",{aBlock:aBlock}, smalltalk.TagBrush)})},
  2574. args: ["aBlock"],
  2575. source: "onDblClick: aBlock\x0a\x09self asJQuery bind: 'dblclick' do: aBlock",
  2576. messageSends: ["bind:do:", "asJQuery"],
  2577. referencedClasses: []
  2578. }),
  2579. smalltalk.TagBrush);
  2580. smalltalk.addMethod(
  2581. "_onFocus_",
  2582. smalltalk.method({
  2583. selector: "onFocus:",
  2584. category: 'events',
  2585. fn: function (aBlock){
  2586. var self=this;
  2587. return smalltalk.withContext(function($ctx1) { _st(_st(self)._asJQuery())._bind_do_("focus",aBlock);
  2588. return self}, function($ctx1) {$ctx1.fill(self,"onFocus:",{aBlock:aBlock}, smalltalk.TagBrush)})},
  2589. args: ["aBlock"],
  2590. source: "onFocus: aBlock\x0a self asJQuery bind: 'focus' do: aBlock",
  2591. messageSends: ["bind:do:", "asJQuery"],
  2592. referencedClasses: []
  2593. }),
  2594. smalltalk.TagBrush);
  2595. smalltalk.addMethod(
  2596. "_onFocusIn_",
  2597. smalltalk.method({
  2598. selector: "onFocusIn:",
  2599. category: 'events',
  2600. fn: function (aBlock){
  2601. var self=this;
  2602. return smalltalk.withContext(function($ctx1) { _st(_st(self)._asJQuery())._bind_do_("focusin",aBlock);
  2603. return self}, function($ctx1) {$ctx1.fill(self,"onFocusIn:",{aBlock:aBlock}, smalltalk.TagBrush)})},
  2604. args: ["aBlock"],
  2605. source: "onFocusIn: aBlock\x0a\x09self asJQuery bind: 'focusin' do: aBlock",
  2606. messageSends: ["bind:do:", "asJQuery"],
  2607. referencedClasses: []
  2608. }),
  2609. smalltalk.TagBrush);
  2610. smalltalk.addMethod(
  2611. "_onFocusOut_",
  2612. smalltalk.method({
  2613. selector: "onFocusOut:",
  2614. category: 'events',
  2615. fn: function (aBlock){
  2616. var self=this;
  2617. return smalltalk.withContext(function($ctx1) { _st(_st(self)._asJQuery())._bind_do_("focusout",aBlock);
  2618. return self}, function($ctx1) {$ctx1.fill(self,"onFocusOut:",{aBlock:aBlock}, smalltalk.TagBrush)})},
  2619. args: ["aBlock"],
  2620. source: "onFocusOut: aBlock\x0a\x09self asJQuery bind: 'focusout' do: aBlock",
  2621. messageSends: ["bind:do:", "asJQuery"],
  2622. referencedClasses: []
  2623. }),
  2624. smalltalk.TagBrush);
  2625. smalltalk.addMethod(
  2626. "_onHover_",
  2627. smalltalk.method({
  2628. selector: "onHover:",
  2629. category: 'events',
  2630. fn: function (aBlock){
  2631. var self=this;
  2632. return smalltalk.withContext(function($ctx1) { _st(_st(self)._asJQuery())._bind_do_("hover",aBlock);
  2633. return self}, function($ctx1) {$ctx1.fill(self,"onHover:",{aBlock:aBlock}, smalltalk.TagBrush)})},
  2634. args: ["aBlock"],
  2635. source: "onHover: aBlock\x0a\x09self asJQuery bind: 'hover' do: aBlock",
  2636. messageSends: ["bind:do:", "asJQuery"],
  2637. referencedClasses: []
  2638. }),
  2639. smalltalk.TagBrush);
  2640. smalltalk.addMethod(
  2641. "_onKeyDown_",
  2642. smalltalk.method({
  2643. selector: "onKeyDown:",
  2644. category: 'events',
  2645. fn: function (aBlock){
  2646. var self=this;
  2647. return smalltalk.withContext(function($ctx1) { _st(_st(self)._asJQuery())._bind_do_("keydown",aBlock);
  2648. return self}, function($ctx1) {$ctx1.fill(self,"onKeyDown:",{aBlock:aBlock}, smalltalk.TagBrush)})},
  2649. args: ["aBlock"],
  2650. source: "onKeyDown: aBlock\x0a self asJQuery bind: 'keydown' do: aBlock",
  2651. messageSends: ["bind:do:", "asJQuery"],
  2652. referencedClasses: []
  2653. }),
  2654. smalltalk.TagBrush);
  2655. smalltalk.addMethod(
  2656. "_onKeyPress_",
  2657. smalltalk.method({
  2658. selector: "onKeyPress:",
  2659. category: 'events',
  2660. fn: function (aBlock){
  2661. var self=this;
  2662. return smalltalk.withContext(function($ctx1) { _st(_st(self)._asJQuery())._bind_do_("keypress",aBlock);
  2663. return self}, function($ctx1) {$ctx1.fill(self,"onKeyPress:",{aBlock:aBlock}, smalltalk.TagBrush)})},
  2664. args: ["aBlock"],
  2665. source: "onKeyPress: aBlock\x0a self asJQuery bind: 'keypress' do: aBlock",
  2666. messageSends: ["bind:do:", "asJQuery"],
  2667. referencedClasses: []
  2668. }),
  2669. smalltalk.TagBrush);
  2670. smalltalk.addMethod(
  2671. "_onKeyUp_",
  2672. smalltalk.method({
  2673. selector: "onKeyUp:",
  2674. category: 'events',
  2675. fn: function (aBlock){
  2676. var self=this;
  2677. return smalltalk.withContext(function($ctx1) { _st(_st(self)._asJQuery())._bind_do_("keyup",aBlock);
  2678. return self}, function($ctx1) {$ctx1.fill(self,"onKeyUp:",{aBlock:aBlock}, smalltalk.TagBrush)})},
  2679. args: ["aBlock"],
  2680. source: "onKeyUp: aBlock\x0a self asJQuery bind: 'keyup' do: aBlock",
  2681. messageSends: ["bind:do:", "asJQuery"],
  2682. referencedClasses: []
  2683. }),
  2684. smalltalk.TagBrush);
  2685. smalltalk.addMethod(
  2686. "_onMouseDown_",
  2687. smalltalk.method({
  2688. selector: "onMouseDown:",
  2689. category: 'events',
  2690. fn: function (aBlock){
  2691. var self=this;
  2692. return smalltalk.withContext(function($ctx1) { _st(_st(self)._asJQuery())._bind_do_("mousedown",aBlock);
  2693. return self}, function($ctx1) {$ctx1.fill(self,"onMouseDown:",{aBlock:aBlock}, smalltalk.TagBrush)})},
  2694. args: ["aBlock"],
  2695. source: "onMouseDown: aBlock\x0a\x09self asJQuery bind: 'mousedown' do: aBlock",
  2696. messageSends: ["bind:do:", "asJQuery"],
  2697. referencedClasses: []
  2698. }),
  2699. smalltalk.TagBrush);
  2700. smalltalk.addMethod(
  2701. "_onMouseEnter_",
  2702. smalltalk.method({
  2703. selector: "onMouseEnter:",
  2704. category: 'events',
  2705. fn: function (aBlock){
  2706. var self=this;
  2707. return smalltalk.withContext(function($ctx1) { _st(_st(self)._asJQuery())._bind_do_("mouseenter",aBlock);
  2708. return self}, function($ctx1) {$ctx1.fill(self,"onMouseEnter:",{aBlock:aBlock}, smalltalk.TagBrush)})},
  2709. args: ["aBlock"],
  2710. source: "onMouseEnter: aBlock\x0a\x09self asJQuery bind: 'mouseenter' do: aBlock",
  2711. messageSends: ["bind:do:", "asJQuery"],
  2712. referencedClasses: []
  2713. }),
  2714. smalltalk.TagBrush);
  2715. smalltalk.addMethod(
  2716. "_onMouseLeave_",
  2717. smalltalk.method({
  2718. selector: "onMouseLeave:",
  2719. category: 'events',
  2720. fn: function (aBlock){
  2721. var self=this;
  2722. return smalltalk.withContext(function($ctx1) { _st(_st(self)._asJQuery())._bind_do_("mouseleave",aBlock);
  2723. return self}, function($ctx1) {$ctx1.fill(self,"onMouseLeave:",{aBlock:aBlock}, smalltalk.TagBrush)})},
  2724. args: ["aBlock"],
  2725. source: "onMouseLeave: aBlock\x0a\x09self asJQuery bind: 'mouseleave' do: aBlock",
  2726. messageSends: ["bind:do:", "asJQuery"],
  2727. referencedClasses: []
  2728. }),
  2729. smalltalk.TagBrush);
  2730. smalltalk.addMethod(
  2731. "_onMouseMove_",
  2732. smalltalk.method({
  2733. selector: "onMouseMove:",
  2734. category: 'events',
  2735. fn: function (aBlock){
  2736. var self=this;
  2737. return smalltalk.withContext(function($ctx1) { _st(_st(self)._asJQuery())._bind_do_("mousemove",aBlock);
  2738. return self}, function($ctx1) {$ctx1.fill(self,"onMouseMove:",{aBlock:aBlock}, smalltalk.TagBrush)})},
  2739. args: ["aBlock"],
  2740. source: "onMouseMove: aBlock\x0a\x09self asJQuery bind: 'mousemove' do: aBlock",
  2741. messageSends: ["bind:do:", "asJQuery"],
  2742. referencedClasses: []
  2743. }),
  2744. smalltalk.TagBrush);
  2745. smalltalk.addMethod(
  2746. "_onMouseOut_",
  2747. smalltalk.method({
  2748. selector: "onMouseOut:",
  2749. category: 'events',
  2750. fn: function (aBlock){
  2751. var self=this;
  2752. return smalltalk.withContext(function($ctx1) { _st(_st(self)._asJQuery())._bind_do_("mouseout",aBlock);
  2753. return self}, function($ctx1) {$ctx1.fill(self,"onMouseOut:",{aBlock:aBlock}, smalltalk.TagBrush)})},
  2754. args: ["aBlock"],
  2755. source: "onMouseOut: aBlock\x0a\x09self asJQuery bind: 'mouseout' do: aBlock",
  2756. messageSends: ["bind:do:", "asJQuery"],
  2757. referencedClasses: []
  2758. }),
  2759. smalltalk.TagBrush);
  2760. smalltalk.addMethod(
  2761. "_onMouseOver_",
  2762. smalltalk.method({
  2763. selector: "onMouseOver:",
  2764. category: 'events',
  2765. fn: function (aBlock){
  2766. var self=this;
  2767. return smalltalk.withContext(function($ctx1) { _st(_st(self)._asJQuery())._bind_do_("mouseover",aBlock);
  2768. return self}, function($ctx1) {$ctx1.fill(self,"onMouseOver:",{aBlock:aBlock}, smalltalk.TagBrush)})},
  2769. args: ["aBlock"],
  2770. source: "onMouseOver: aBlock\x0a\x09self asJQuery bind: 'mouseover' do: aBlock",
  2771. messageSends: ["bind:do:", "asJQuery"],
  2772. referencedClasses: []
  2773. }),
  2774. smalltalk.TagBrush);
  2775. smalltalk.addMethod(
  2776. "_onMouseUp_",
  2777. smalltalk.method({
  2778. selector: "onMouseUp:",
  2779. category: 'events',
  2780. fn: function (aBlock){
  2781. var self=this;
  2782. return smalltalk.withContext(function($ctx1) { _st(_st(self)._asJQuery())._bind_do_("mouseup",aBlock);
  2783. return self}, function($ctx1) {$ctx1.fill(self,"onMouseUp:",{aBlock:aBlock}, smalltalk.TagBrush)})},
  2784. args: ["aBlock"],
  2785. source: "onMouseUp: aBlock\x0a\x09self asJQuery bind: 'mouseup' do: aBlock",
  2786. messageSends: ["bind:do:", "asJQuery"],
  2787. referencedClasses: []
  2788. }),
  2789. smalltalk.TagBrush);
  2790. smalltalk.addMethod(
  2791. "_onSelect_",
  2792. smalltalk.method({
  2793. selector: "onSelect:",
  2794. category: 'events',
  2795. fn: function (aBlock){
  2796. var self=this;
  2797. return smalltalk.withContext(function($ctx1) { _st(_st(self)._asJQuery())._bind_do_("select",aBlock);
  2798. return self}, function($ctx1) {$ctx1.fill(self,"onSelect:",{aBlock:aBlock}, smalltalk.TagBrush)})},
  2799. args: ["aBlock"],
  2800. source: "onSelect: aBlock\x0a\x09self asJQuery bind: 'select' do: aBlock",
  2801. messageSends: ["bind:do:", "asJQuery"],
  2802. referencedClasses: []
  2803. }),
  2804. smalltalk.TagBrush);
  2805. smalltalk.addMethod(
  2806. "_onSubmit_",
  2807. smalltalk.method({
  2808. selector: "onSubmit:",
  2809. category: 'events',
  2810. fn: function (aBlock){
  2811. var self=this;
  2812. return smalltalk.withContext(function($ctx1) { _st(_st(self)._asJQuery())._bind_do_("submit",aBlock);
  2813. return self}, function($ctx1) {$ctx1.fill(self,"onSubmit:",{aBlock:aBlock}, smalltalk.TagBrush)})},
  2814. args: ["aBlock"],
  2815. source: "onSubmit: aBlock\x0a\x09self asJQuery bind: 'submit' do: aBlock",
  2816. messageSends: ["bind:do:", "asJQuery"],
  2817. referencedClasses: []
  2818. }),
  2819. smalltalk.TagBrush);
  2820. smalltalk.addMethod(
  2821. "_onUnload_",
  2822. smalltalk.method({
  2823. selector: "onUnload:",
  2824. category: 'events',
  2825. fn: function (aBlock){
  2826. var self=this;
  2827. return smalltalk.withContext(function($ctx1) { _st(_st(self)._asJQuery())._bind_do_("unload",aBlock);
  2828. return self}, function($ctx1) {$ctx1.fill(self,"onUnload:",{aBlock:aBlock}, smalltalk.TagBrush)})},
  2829. args: ["aBlock"],
  2830. source: "onUnload: aBlock\x0a\x09self asJQuery bind: 'unload' do: aBlock",
  2831. messageSends: ["bind:do:", "asJQuery"],
  2832. referencedClasses: []
  2833. }),
  2834. smalltalk.TagBrush);
  2835. smalltalk.addMethod(
  2836. "_placeholder_",
  2837. smalltalk.method({
  2838. selector: "placeholder:",
  2839. category: 'attributes',
  2840. fn: function (aString){
  2841. var self=this;
  2842. return smalltalk.withContext(function($ctx1) { _st(self)._at_put_("placeholder",aString);
  2843. return self}, function($ctx1) {$ctx1.fill(self,"placeholder:",{aString:aString}, smalltalk.TagBrush)})},
  2844. args: ["aString"],
  2845. source: "placeholder: aString\x0a\x09self at: 'placeholder' put: aString",
  2846. messageSends: ["at:put:"],
  2847. referencedClasses: []
  2848. }),
  2849. smalltalk.TagBrush);
  2850. smalltalk.addMethod(
  2851. "_rel_",
  2852. smalltalk.method({
  2853. selector: "rel:",
  2854. category: 'attributes',
  2855. fn: function (aString){
  2856. var self=this;
  2857. return smalltalk.withContext(function($ctx1) { _st(self)._at_put_("rel",aString);
  2858. return self}, function($ctx1) {$ctx1.fill(self,"rel:",{aString:aString}, smalltalk.TagBrush)})},
  2859. args: ["aString"],
  2860. source: "rel: aString\x0a self at: 'rel' put: aString",
  2861. messageSends: ["at:put:"],
  2862. referencedClasses: []
  2863. }),
  2864. smalltalk.TagBrush);
  2865. smalltalk.addMethod(
  2866. "_removeAt_",
  2867. smalltalk.method({
  2868. selector: "removeAt:",
  2869. category: 'attributes',
  2870. fn: function (aString){
  2871. var self=this;
  2872. return smalltalk.withContext(function($ctx1) { self['@element'].removeAttribute(aString);
  2873. return self}, function($ctx1) {$ctx1.fill(self,"removeAt:",{aString:aString}, smalltalk.TagBrush)})},
  2874. args: ["aString"],
  2875. source: "removeAt: aString\x0a <self['@element'].removeAttribute(aString)>",
  2876. messageSends: [],
  2877. referencedClasses: []
  2878. }),
  2879. smalltalk.TagBrush);
  2880. smalltalk.addMethod(
  2881. "_rows_",
  2882. smalltalk.method({
  2883. selector: "rows:",
  2884. category: 'attributes',
  2885. fn: function (aString){
  2886. var self=this;
  2887. return smalltalk.withContext(function($ctx1) { _st(self)._at_put_("rows",aString);
  2888. return self}, function($ctx1) {$ctx1.fill(self,"rows:",{aString:aString}, smalltalk.TagBrush)})},
  2889. args: ["aString"],
  2890. source: "rows: aString\x0a\x09self at: 'rows' put: aString",
  2891. messageSends: ["at:put:"],
  2892. referencedClasses: []
  2893. }),
  2894. smalltalk.TagBrush);
  2895. smalltalk.addMethod(
  2896. "_src_",
  2897. smalltalk.method({
  2898. selector: "src:",
  2899. category: 'attributes',
  2900. fn: function (aString){
  2901. var self=this;
  2902. return smalltalk.withContext(function($ctx1) { _st(self)._at_put_("src",aString);
  2903. return self}, function($ctx1) {$ctx1.fill(self,"src:",{aString:aString}, smalltalk.TagBrush)})},
  2904. args: ["aString"],
  2905. source: "src: aString\x0a self at: 'src' put: aString",
  2906. messageSends: ["at:put:"],
  2907. referencedClasses: []
  2908. }),
  2909. smalltalk.TagBrush);
  2910. smalltalk.addMethod(
  2911. "_style_",
  2912. smalltalk.method({
  2913. selector: "style:",
  2914. category: 'attributes',
  2915. fn: function (aString){
  2916. var self=this;
  2917. return smalltalk.withContext(function($ctx1) { _st(self)._at_put_("style",aString);
  2918. return self}, function($ctx1) {$ctx1.fill(self,"style:",{aString:aString}, smalltalk.TagBrush)})},
  2919. args: ["aString"],
  2920. source: "style: aString\x0a self at: 'style' put: aString",
  2921. messageSends: ["at:put:"],
  2922. referencedClasses: []
  2923. }),
  2924. smalltalk.TagBrush);
  2925. smalltalk.addMethod(
  2926. "_tabindex_",
  2927. smalltalk.method({
  2928. selector: "tabindex:",
  2929. category: 'attributes',
  2930. fn: function (aNumber){
  2931. var self=this;
  2932. return smalltalk.withContext(function($ctx1) { _st(self)._at_put_("tabindex",aNumber);
  2933. return self}, function($ctx1) {$ctx1.fill(self,"tabindex:",{aNumber:aNumber}, smalltalk.TagBrush)})},
  2934. args: ["aNumber"],
  2935. source: "tabindex: aNumber\x0a\x09self at: 'tabindex' put: aNumber",
  2936. messageSends: ["at:put:"],
  2937. referencedClasses: []
  2938. }),
  2939. smalltalk.TagBrush);
  2940. smalltalk.addMethod(
  2941. "_target_",
  2942. smalltalk.method({
  2943. selector: "target:",
  2944. category: 'attributes',
  2945. fn: function (aString){
  2946. var self=this;
  2947. return smalltalk.withContext(function($ctx1) { _st(self)._at_put_("target",aString);
  2948. return self}, function($ctx1) {$ctx1.fill(self,"target:",{aString:aString}, smalltalk.TagBrush)})},
  2949. args: ["aString"],
  2950. source: "target: aString\x0a\x09self at: 'target' put: aString",
  2951. messageSends: ["at:put:"],
  2952. referencedClasses: []
  2953. }),
  2954. smalltalk.TagBrush);
  2955. smalltalk.addMethod(
  2956. "_title_",
  2957. smalltalk.method({
  2958. selector: "title:",
  2959. category: 'attributes',
  2960. fn: function (aString){
  2961. var self=this;
  2962. return smalltalk.withContext(function($ctx1) { _st(self)._at_put_("title",aString);
  2963. return self}, function($ctx1) {$ctx1.fill(self,"title:",{aString:aString}, smalltalk.TagBrush)})},
  2964. args: ["aString"],
  2965. source: "title: aString\x0a self at: 'title' put: aString",
  2966. messageSends: ["at:put:"],
  2967. referencedClasses: []
  2968. }),
  2969. smalltalk.TagBrush);
  2970. smalltalk.addMethod(
  2971. "_type_",
  2972. smalltalk.method({
  2973. selector: "type:",
  2974. category: 'attributes',
  2975. fn: function (aString){
  2976. var self=this;
  2977. return smalltalk.withContext(function($ctx1) { _st(self)._at_put_("type",aString);
  2978. return self}, function($ctx1) {$ctx1.fill(self,"type:",{aString:aString}, smalltalk.TagBrush)})},
  2979. args: ["aString"],
  2980. source: "type: aString\x0a self at: 'type' put: aString",
  2981. messageSends: ["at:put:"],
  2982. referencedClasses: []
  2983. }),
  2984. smalltalk.TagBrush);
  2985. smalltalk.addMethod(
  2986. "_valign_",
  2987. smalltalk.method({
  2988. selector: "valign:",
  2989. category: 'attributes',
  2990. fn: function (aString){
  2991. var self=this;
  2992. return smalltalk.withContext(function($ctx1) { _st(self)._at_put_("valign",aString);
  2993. return self}, function($ctx1) {$ctx1.fill(self,"valign:",{aString:aString}, smalltalk.TagBrush)})},
  2994. args: ["aString"],
  2995. source: "valign: aString\x0a\x09self at: 'valign' put: aString",
  2996. messageSends: ["at:put:"],
  2997. referencedClasses: []
  2998. }),
  2999. smalltalk.TagBrush);
  3000. smalltalk.addMethod(
  3001. "_value_",
  3002. smalltalk.method({
  3003. selector: "value:",
  3004. category: 'attributes',
  3005. fn: function (aString){
  3006. var self=this;
  3007. return smalltalk.withContext(function($ctx1) { _st(self)._at_put_("value",aString);
  3008. return self}, function($ctx1) {$ctx1.fill(self,"value:",{aString:aString}, smalltalk.TagBrush)})},
  3009. args: ["aString"],
  3010. source: "value: aString\x0a self at: 'value' put: aString",
  3011. messageSends: ["at:put:"],
  3012. referencedClasses: []
  3013. }),
  3014. smalltalk.TagBrush);
  3015. smalltalk.addMethod(
  3016. "_width_",
  3017. smalltalk.method({
  3018. selector: "width:",
  3019. category: 'attributes',
  3020. fn: function (aString){
  3021. var self=this;
  3022. return smalltalk.withContext(function($ctx1) { _st(self)._at_put_("width",aString);
  3023. return self}, function($ctx1) {$ctx1.fill(self,"width:",{aString:aString}, smalltalk.TagBrush)})},
  3024. args: ["aString"],
  3025. source: "width: aString\x0a self at: 'width' put: aString",
  3026. messageSends: ["at:put:"],
  3027. referencedClasses: []
  3028. }),
  3029. smalltalk.TagBrush);
  3030. smalltalk.addMethod(
  3031. "_with_",
  3032. smalltalk.method({
  3033. selector: "with:",
  3034. category: 'adding',
  3035. fn: function (anObject){
  3036. var self=this;
  3037. return smalltalk.withContext(function($ctx1) { _st(self)._append_(anObject);
  3038. return self}, function($ctx1) {$ctx1.fill(self,"with:",{anObject:anObject}, smalltalk.TagBrush)})},
  3039. args: ["anObject"],
  3040. source: "with: anObject\x0a self append: anObject",
  3041. messageSends: ["append:"],
  3042. referencedClasses: []
  3043. }),
  3044. smalltalk.TagBrush);
  3045. smalltalk.addMethod(
  3046. "_fromJQuery_canvas_",
  3047. smalltalk.method({
  3048. selector: "fromJQuery:canvas:",
  3049. category: 'instance creation',
  3050. fn: function (aJQuery,aCanvas){
  3051. var self=this;
  3052. return smalltalk.withContext(function($ctx1) { var $2,$3,$1;
  3053. $2=_st(self)._new();
  3054. _st($2)._initializeFromJQuery_canvas_(aJQuery,aCanvas);
  3055. $3=_st($2)._yourself();
  3056. $1=$3;
  3057. return $1;
  3058. }, function($ctx1) {$ctx1.fill(self,"fromJQuery:canvas:",{aJQuery:aJQuery,aCanvas:aCanvas}, smalltalk.TagBrush.klass)})},
  3059. args: ["aJQuery", "aCanvas"],
  3060. source: "fromJQuery: aJQuery canvas: aCanvas\x0a ^self new\x0a\x09initializeFromJQuery: aJQuery canvas: aCanvas;\x0a\x09yourself",
  3061. messageSends: ["initializeFromJQuery:canvas:", "new", "yourself"],
  3062. referencedClasses: []
  3063. }),
  3064. smalltalk.TagBrush.klass);
  3065. smalltalk.addMethod(
  3066. "_fromString_canvas_",
  3067. smalltalk.method({
  3068. selector: "fromString:canvas:",
  3069. category: 'instance creation',
  3070. fn: function (aString,aCanvas){
  3071. var self=this;
  3072. return smalltalk.withContext(function($ctx1) { var $2,$3,$1;
  3073. $2=_st(self)._new();
  3074. _st($2)._initializeFromString_canvas_(aString,aCanvas);
  3075. $3=_st($2)._yourself();
  3076. $1=$3;
  3077. return $1;
  3078. }, function($ctx1) {$ctx1.fill(self,"fromString:canvas:",{aString:aString,aCanvas:aCanvas}, smalltalk.TagBrush.klass)})},
  3079. args: ["aString", "aCanvas"],
  3080. source: "fromString: aString canvas: aCanvas\x0a ^self new\x0a\x09initializeFromString: aString canvas: aCanvas;\x0a\x09yourself",
  3081. messageSends: ["initializeFromString:canvas:", "new", "yourself"],
  3082. referencedClasses: []
  3083. }),
  3084. smalltalk.TagBrush.klass);
  3085. smalltalk.addClass('StyleTag', smalltalk.TagBrush, ['canvas', 'element'], 'Canvas');
  3086. smalltalk.StyleTag.comment="I'm a <style> tag use to inline CSS or load a stylesheet.\x0a\x0aFor inlining handle IE compatibility problems."
  3087. smalltalk.addMethod(
  3088. "_with_",
  3089. smalltalk.method({
  3090. selector: "with:",
  3091. category: 'adding',
  3092. fn: function (aString){
  3093. var self=this;
  3094. return smalltalk.withContext(function($ctx1) { var $1;
  3095. $1=_st((smalltalk.HTMLCanvas || HTMLCanvas))._isMSIE();
  3096. if(smalltalk.assert($1)){
  3097. _st(_st(_st(self)._element())._styleSheet())._cssText_(aString);
  3098. } else {
  3099. smalltalk.TagBrush.fn.prototype._with_.apply(_st(self), [aString]);
  3100. };
  3101. return self}, function($ctx1) {$ctx1.fill(self,"with:",{aString:aString}, smalltalk.StyleTag)})},
  3102. args: ["aString"],
  3103. source: "with: aString\x0a\x09HTMLCanvas isMSIE\x0a\x09\x09ifTrue: [self element styleSheet cssText: aString ]\x0a\x09\x09ifFalse: [super with: aString ].",
  3104. messageSends: ["ifTrue:ifFalse:", "cssText:", "styleSheet", "element", "with:", "isMSIE"],
  3105. referencedClasses: ["HTMLCanvas"]
  3106. }),
  3107. smalltalk.StyleTag);
  3108. smalltalk.addMethod(
  3109. "_canvas_",
  3110. smalltalk.method({
  3111. selector: "canvas:",
  3112. category: 'instance creation',
  3113. fn: function (aCanvas){
  3114. var self=this;
  3115. return smalltalk.withContext(function($ctx1) { var $2,$3,$1;
  3116. $2=_st(self)._new();
  3117. _st($2)._initializeFromString_canvas_("style",aCanvas);
  3118. $3=_st($2)._yourself();
  3119. $1=$3;
  3120. return $1;
  3121. }, function($ctx1) {$ctx1.fill(self,"canvas:",{aCanvas:aCanvas}, smalltalk.StyleTag.klass)})},
  3122. args: ["aCanvas"],
  3123. source: "canvas: aCanvas\x0a ^self new\x0a\x09initializeFromString: 'style' canvas: aCanvas;\x0a\x09yourself",
  3124. messageSends: ["initializeFromString:canvas:", "new", "yourself"],
  3125. referencedClasses: []
  3126. }),
  3127. smalltalk.StyleTag.klass);
  3128. smalltalk.addClass('Widget', smalltalk.Object, [], 'Canvas');
  3129. smalltalk.addMethod(
  3130. "_appendToBrush_",
  3131. smalltalk.method({
  3132. selector: "appendToBrush:",
  3133. category: 'adding',
  3134. fn: function (aTagBrush){
  3135. var self=this;
  3136. return smalltalk.withContext(function($ctx1) { _st(self)._appendToJQuery_(_st(aTagBrush)._asJQuery());
  3137. return self}, function($ctx1) {$ctx1.fill(self,"appendToBrush:",{aTagBrush:aTagBrush}, smalltalk.Widget)})},
  3138. args: ["aTagBrush"],
  3139. source: "appendToBrush: aTagBrush\x0a self appendToJQuery: aTagBrush asJQuery",
  3140. messageSends: ["appendToJQuery:", "asJQuery"],
  3141. referencedClasses: []
  3142. }),
  3143. smalltalk.Widget);
  3144. smalltalk.addMethod(
  3145. "_appendToJQuery_",
  3146. smalltalk.method({
  3147. selector: "appendToJQuery:",
  3148. category: 'adding',
  3149. fn: function (aJQuery){
  3150. var self=this;
  3151. return smalltalk.withContext(function($ctx1) { _st(self)._renderOn_(_st((smalltalk.HTMLCanvas || HTMLCanvas))._onJQuery_(aJQuery));
  3152. return self}, function($ctx1) {$ctx1.fill(self,"appendToJQuery:",{aJQuery:aJQuery}, smalltalk.Widget)})},
  3153. args: ["aJQuery"],
  3154. source: "appendToJQuery: aJQuery\x0a self renderOn: (HTMLCanvas onJQuery: aJQuery)",
  3155. messageSends: ["renderOn:", "onJQuery:"],
  3156. referencedClasses: ["HTMLCanvas"]
  3157. }),
  3158. smalltalk.Widget);
  3159. smalltalk.addMethod(
  3160. "_renderOn_",
  3161. smalltalk.method({
  3162. selector: "renderOn:",
  3163. category: 'rendering',
  3164. fn: function (html){
  3165. var self=this;
  3166. return smalltalk.withContext(function($ctx1) { return self}, function($ctx1) {$ctx1.fill(self,"renderOn:",{html:html}, smalltalk.Widget)})},
  3167. args: ["html"],
  3168. source: "renderOn: html\x0a self",
  3169. messageSends: [],
  3170. referencedClasses: []
  3171. }),
  3172. smalltalk.Widget);
  3173. smalltalk.addMethod(
  3174. "_appendToBrush_",
  3175. smalltalk.method({
  3176. selector: "appendToBrush:",
  3177. category: '*Canvas',
  3178. fn: function (aTagBrush){
  3179. var self=this;
  3180. return smalltalk.withContext(function($ctx1) { _st(aTagBrush)._append_(_st(self)._asString());
  3181. return self}, function($ctx1) {$ctx1.fill(self,"appendToBrush:",{aTagBrush:aTagBrush}, smalltalk.Object)})},
  3182. args: ["aTagBrush"],
  3183. source: "appendToBrush: aTagBrush\x0a aTagBrush append: self asString",
  3184. messageSends: ["append:", "asString"],
  3185. referencedClasses: []
  3186. }),
  3187. smalltalk.Object);
  3188. smalltalk.addMethod(
  3189. "_appendToJQuery_",
  3190. smalltalk.method({
  3191. selector: "appendToJQuery:",
  3192. category: '*Canvas',
  3193. fn: function (aJQuery){
  3194. var self=this;
  3195. return smalltalk.withContext(function($ctx1) { _st(aJQuery)._append_(_st(self)._asString());
  3196. return self}, function($ctx1) {$ctx1.fill(self,"appendToJQuery:",{aJQuery:aJQuery}, smalltalk.Object)})},
  3197. args: ["aJQuery"],
  3198. source: "appendToJQuery: aJQuery\x0a aJQuery append: self asString",
  3199. messageSends: ["append:", "asString"],
  3200. referencedClasses: []
  3201. }),
  3202. smalltalk.Object);
  3203. smalltalk.addMethod(
  3204. "_appendToBrush_",
  3205. smalltalk.method({
  3206. selector: "appendToBrush:",
  3207. category: '*Canvas',
  3208. fn: function (aTagBrush){
  3209. var self=this;
  3210. return smalltalk.withContext(function($ctx1) { _st(aTagBrush)._appendBlock_(self);
  3211. return self}, function($ctx1) {$ctx1.fill(self,"appendToBrush:",{aTagBrush:aTagBrush}, smalltalk.BlockClosure)})},
  3212. args: ["aTagBrush"],
  3213. source: "appendToBrush: aTagBrush\x0a aTagBrush appendBlock: self",
  3214. messageSends: ["appendBlock:"],
  3215. referencedClasses: []
  3216. }),
  3217. smalltalk.BlockClosure);
  3218. smalltalk.addMethod(
  3219. "_appendToJQuery_",
  3220. smalltalk.method({
  3221. selector: "appendToJQuery:",
  3222. category: '*Canvas',
  3223. fn: function (aJQuery){
  3224. var self=this;
  3225. return smalltalk.withContext(function($ctx1) { _st(self)._value_(_st((smalltalk.HTMLCanvas || HTMLCanvas))._onJQuery_(aJQuery));
  3226. return self}, function($ctx1) {$ctx1.fill(self,"appendToJQuery:",{aJQuery:aJQuery}, smalltalk.BlockClosure)})},
  3227. args: ["aJQuery"],
  3228. source: "appendToJQuery: aJQuery\x0a self value: (HTMLCanvas onJQuery: aJQuery)",
  3229. messageSends: ["value:", "onJQuery:"],
  3230. referencedClasses: ["HTMLCanvas"]
  3231. }),
  3232. smalltalk.BlockClosure);
  3233. smalltalk.addMethod(
  3234. "_appendToBrush_",
  3235. smalltalk.method({
  3236. selector: "appendToBrush:",
  3237. category: '*Canvas',
  3238. fn: function (aTagBrush){
  3239. var self=this;
  3240. return smalltalk.withContext(function($ctx1) { _st(aTagBrush)._appendString_(self);
  3241. return self}, function($ctx1) {$ctx1.fill(self,"appendToBrush:",{aTagBrush:aTagBrush}, smalltalk.String)})},
  3242. args: ["aTagBrush"],
  3243. source: "appendToBrush: aTagBrush\x0a aTagBrush appendString: self",
  3244. messageSends: ["appendString:"],
  3245. referencedClasses: []
  3246. }),
  3247. smalltalk.String);
  3248. smalltalk.addMethod(
  3249. "_appendToJQuery_",
  3250. smalltalk.method({
  3251. selector: "appendToJQuery:",
  3252. category: '*Canvas',
  3253. fn: function (aJQuery){
  3254. var self=this;
  3255. return smalltalk.withContext(function($ctx1) { _st(aJQuery)._append_(self);
  3256. return self}, function($ctx1) {$ctx1.fill(self,"appendToJQuery:",{aJQuery:aJQuery}, smalltalk.String)})},
  3257. args: ["aJQuery"],
  3258. source: "appendToJQuery: aJQuery\x0a aJQuery append: self",
  3259. messageSends: ["append:"],
  3260. referencedClasses: []
  3261. }),
  3262. smalltalk.String);
  3263. smalltalk.addMethod(
  3264. "_asJQuery",
  3265. smalltalk.method({
  3266. selector: "asJQuery",
  3267. category: '*Canvas',
  3268. fn: function (){
  3269. var self=this;
  3270. return smalltalk.withContext(function($ctx1) { return jQuery(String(self));
  3271. return self}, function($ctx1) {$ctx1.fill(self,"asJQuery",{}, smalltalk.String)})},
  3272. args: [],
  3273. source: "asJQuery\x0a <return jQuery(String(self))>",
  3274. messageSends: [],
  3275. referencedClasses: []
  3276. }),
  3277. smalltalk.String);
  3278. smalltalk.addMethod(
  3279. "_asJQuery",
  3280. smalltalk.method({
  3281. selector: "asJQuery",
  3282. category: '*Canvas',
  3283. fn: function (){
  3284. var self=this;
  3285. return smalltalk.withContext(function($ctx1) { return jQuery(self['@jsObject']);
  3286. return self}, function($ctx1) {$ctx1.fill(self,"asJQuery",{}, smalltalk.JSObjectProxy)})},
  3287. args: [],
  3288. source: "asJQuery\x0a <return jQuery(self['@jsObject'])>",
  3289. messageSends: [],
  3290. referencedClasses: []
  3291. }),
  3292. smalltalk.JSObjectProxy);