1
0

Canvas.js 72 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482
  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. var $1;
  11. $1=smalltalk.send(self,"_tag_",["a"]);
  12. return $1;
  13. },
  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. var $1;
  28. $1=smalltalk.send(self,"_tag_",["abbr"]);
  29. return $1;
  30. },
  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. var $1;
  45. $1=smalltalk.send(self,"_tag_",["address"]);
  46. return $1;
  47. },
  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. var $1;
  62. $1=smalltalk.send(self,"_tag_",["area"]);
  63. return $1;
  64. },
  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. var $1;
  79. $1=smalltalk.send(self,"_tag_",["article"]);
  80. return $1;
  81. },
  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. var $1;
  96. $1=smalltalk.send(self,"_tag_",["aside"]);
  97. return $1;
  98. },
  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. var $1;
  113. $1=smalltalk.send(self,"_tag_",["audio"]);
  114. return $1;
  115. },
  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. var $1;
  130. $1=smalltalk.send(self,"_tag_",["base"]);
  131. return $1;
  132. },
  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. var $1;
  147. $1=smalltalk.send(self,"_tag_",["blockquote"]);
  148. return $1;
  149. },
  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. var $1;
  164. $1=smalltalk.send(self,"_tag_",["body"]);
  165. return $1;
  166. },
  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. var $1;
  181. $1=smalltalk.send(self,"_tag_",["br"]);
  182. return $1;
  183. },
  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. var $1;
  198. $1=smalltalk.send(self,"_tag_",["button"]);
  199. return $1;
  200. },
  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. var $1;
  215. $1=smalltalk.send(self,"_tag_",["canvas"]);
  216. return $1;
  217. },
  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. var $1;
  232. $1=smalltalk.send(self,"_tag_",["caption"]);
  233. return $1;
  234. },
  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. var $1;
  249. $1=smalltalk.send(self,"_tag_",["cite"]);
  250. return $1;
  251. },
  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. var $1;
  266. $1=smalltalk.send(self,"_tag_",["code"]);
  267. return $1;
  268. },
  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. var $1;
  283. $1=smalltalk.send(self,"_tag_",["col"]);
  284. return $1;
  285. },
  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. var $1;
  300. $1=smalltalk.send(self,"_tag_",["colgroup"]);
  301. return $1;
  302. },
  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. var $1;
  317. $1=smalltalk.send(self,"_tag_",["command"]);
  318. return $1;
  319. },
  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. var $1;
  334. $1=smalltalk.send(self,"_tag_",["datalist"]);
  335. return $1;
  336. },
  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. var $1;
  351. $1=smalltalk.send(self,"_tag_",["dd"]);
  352. return $1;
  353. },
  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. var $1;
  368. $1=smalltalk.send(self,"_tag_",["del"]);
  369. return $1;
  370. },
  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. var $1;
  385. $1=smalltalk.send(self,"_tag_",["details"]);
  386. return $1;
  387. },
  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. var $1;
  402. $1=smalltalk.send(self,"_tag_",["div"]);
  403. return $1;
  404. },
  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. var $1;
  419. $1=smalltalk.send(smalltalk.send(self,"_div",[]),"_with_",[aBlock]);
  420. return $1;
  421. },
  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. var $1;
  436. $1=smalltalk.send(self,"_tag_",["dl"]);
  437. return $1;
  438. },
  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. var $1;
  453. $1=smalltalk.send(self,"_tag_",["dt"]);
  454. return $1;
  455. },
  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. var $1;
  470. $1=smalltalk.send(self,"_tag_",["em"]);
  471. return $1;
  472. },
  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. var $1;
  487. $1=smalltalk.send(self,"_tag_",["embed"]);
  488. return $1;
  489. },
  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. var $1;
  504. $1=smalltalk.send(self,"_tag_",["fieldset"]);
  505. return $1;
  506. },
  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. var $1;
  521. $1=smalltalk.send(self,"_tag_",["figcaption"]);
  522. return $1;
  523. },
  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. var $1;
  538. $1=smalltalk.send(self,"_tag_",["figure"]);
  539. return $1;
  540. },
  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. var $1;
  555. $1=smalltalk.send(self,"_tag_",["footer"]);
  556. return $1;
  557. },
  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. var $1;
  572. $1=smalltalk.send(self,"_tag_",["form"]);
  573. return $1;
  574. },
  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. var $1;
  589. $1=smalltalk.send(self,"_tag_",["h1"]);
  590. return $1;
  591. },
  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. var $1;
  606. $1=smalltalk.send(smalltalk.send(self,"_h1",[]),"_with_",[anObject]);
  607. return $1;
  608. },
  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. var $1;
  623. $1=smalltalk.send(self,"_tag_",["h2"]);
  624. return $1;
  625. },
  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. var $1;
  640. $1=smalltalk.send(smalltalk.send(self,"_h2",[]),"_with_",[anObject]);
  641. return $1;
  642. },
  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. var $1;
  657. $1=smalltalk.send(self,"_tag_",["h3"]);
  658. return $1;
  659. },
  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. var $1;
  674. $1=smalltalk.send(smalltalk.send(self,"_h3",[]),"_with_",[anObject]);
  675. return $1;
  676. },
  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. var $1;
  691. $1=smalltalk.send(self,"_tag_",["h4"]);
  692. return $1;
  693. },
  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. var $1;
  708. $1=smalltalk.send(smalltalk.send(self,"_h4",[]),"_with_",[anObject]);
  709. return $1;
  710. },
  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. var $1;
  725. $1=smalltalk.send(self,"_tag_",["h5"]);
  726. return $1;
  727. },
  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. var $1;
  742. $1=smalltalk.send(smalltalk.send(self,"_h5",[]),"_with_",[anObject]);
  743. return $1;
  744. },
  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. var $1;
  759. $1=smalltalk.send(self,"_tag_",["h6"]);
  760. return $1;
  761. },
  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. var $1;
  776. $1=smalltalk.send(smalltalk.send(self,"_h6",[]),"_with_",[anObject]);
  777. return $1;
  778. },
  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. var $1;
  793. $1=smalltalk.send(self,"_tag_",["head"]);
  794. return $1;
  795. },
  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. var $1;
  810. $1=smalltalk.send(self,"_tag_",["header"]);
  811. return $1;
  812. },
  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. var $1;
  827. $1=smalltalk.send(self,"_tag_",["hgroup"]);
  828. return $1;
  829. },
  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. var $1;
  844. $1=smalltalk.send(self,"_tag_",["hr"]);
  845. return $1;
  846. },
  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. var $1;
  861. $1=smalltalk.send(self,"_tag_",["html"]);
  862. return $1;
  863. },
  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. var $1;
  878. $1=smalltalk.send(self,"_tag_",["iframe"]);
  879. return $1;
  880. },
  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. var $1;
  895. $1=smalltalk.send(smalltalk.send(self,"_iframe",[]),"_src_",[aString]);
  896. return $1;
  897. },
  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. var $1;
  912. $1=smalltalk.send(self,"_tag_",["img"]);
  913. return $1;
  914. },
  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. var $1;
  929. $1=smalltalk.send(smalltalk.send(self,"_img",[]),"_src_",[aString]);
  930. return $1;
  931. },
  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. smalltalk.send(self,"_initialize",[],smalltalk.Object);
  946. if(($receiver = self["@root"]) == nil || $receiver == undefined){
  947. self["@root"]=smalltalk.send((smalltalk.TagBrush || TagBrush),"_fromString_canvas_",["div",self]);
  948. self["@root"];
  949. } else {
  950. self["@root"];
  951. };
  952. return self},
  953. args: [],
  954. source: "initialize\x0a super initialize.\x0a root ifNil: [root := TagBrush fromString: 'div' canvas: self]",
  955. messageSends: ["initialize", "ifNil:", "fromString:canvas:"],
  956. referencedClasses: ["TagBrush"]
  957. }),
  958. smalltalk.HTMLCanvas);
  959. smalltalk.addMethod(
  960. "_initializeFromJQuery_",
  961. smalltalk.method({
  962. selector: "initializeFromJQuery:",
  963. category: 'initialization',
  964. fn: function (aJQuery){
  965. var self=this;
  966. self["@root"]=smalltalk.send((smalltalk.TagBrush || TagBrush),"_fromJQuery_canvas_",[aJQuery,self]);
  967. return self},
  968. args: ["aJQuery"],
  969. source: "initializeFromJQuery: aJQuery\x0a root := TagBrush fromJQuery: aJQuery canvas: self",
  970. messageSends: ["fromJQuery:canvas:"],
  971. referencedClasses: ["TagBrush"]
  972. }),
  973. smalltalk.HTMLCanvas);
  974. smalltalk.addMethod(
  975. "_input",
  976. smalltalk.method({
  977. selector: "input",
  978. category: 'tags',
  979. fn: function (){
  980. var self=this;
  981. var $1;
  982. $1=smalltalk.send(self,"_tag_",["input"]);
  983. return $1;
  984. },
  985. args: [],
  986. source: "input\x0a ^self tag: 'input'",
  987. messageSends: ["tag:"],
  988. referencedClasses: []
  989. }),
  990. smalltalk.HTMLCanvas);
  991. smalltalk.addMethod(
  992. "_label",
  993. smalltalk.method({
  994. selector: "label",
  995. category: 'tags',
  996. fn: function (){
  997. var self=this;
  998. var $1;
  999. $1=smalltalk.send(self,"_tag_",["label"]);
  1000. return $1;
  1001. },
  1002. args: [],
  1003. source: "label\x0a\x09^self tag: 'label'",
  1004. messageSends: ["tag:"],
  1005. referencedClasses: []
  1006. }),
  1007. smalltalk.HTMLCanvas);
  1008. smalltalk.addMethod(
  1009. "_legend",
  1010. smalltalk.method({
  1011. selector: "legend",
  1012. category: 'tags',
  1013. fn: function (){
  1014. var self=this;
  1015. var $1;
  1016. $1=smalltalk.send(self,"_tag_",["legend"]);
  1017. return $1;
  1018. },
  1019. args: [],
  1020. source: "legend\x0a\x09^self tag: 'legend'",
  1021. messageSends: ["tag:"],
  1022. referencedClasses: []
  1023. }),
  1024. smalltalk.HTMLCanvas);
  1025. smalltalk.addMethod(
  1026. "_li",
  1027. smalltalk.method({
  1028. selector: "li",
  1029. category: 'tags',
  1030. fn: function (){
  1031. var self=this;
  1032. var $1;
  1033. $1=smalltalk.send(self,"_tag_",["li"]);
  1034. return $1;
  1035. },
  1036. args: [],
  1037. source: "li\x0a ^self tag: 'li'",
  1038. messageSends: ["tag:"],
  1039. referencedClasses: []
  1040. }),
  1041. smalltalk.HTMLCanvas);
  1042. smalltalk.addMethod(
  1043. "_li_",
  1044. smalltalk.method({
  1045. selector: "li:",
  1046. category: 'tags',
  1047. fn: function (anObject){
  1048. var self=this;
  1049. var $1;
  1050. $1=smalltalk.send(smalltalk.send(self,"_li",[]),"_with_",[anObject]);
  1051. return $1;
  1052. },
  1053. args: ["anObject"],
  1054. source: "li: anObject\x0a ^self li with: anObject",
  1055. messageSends: ["with:", "li"],
  1056. referencedClasses: []
  1057. }),
  1058. smalltalk.HTMLCanvas);
  1059. smalltalk.addMethod(
  1060. "_link",
  1061. smalltalk.method({
  1062. selector: "link",
  1063. category: 'tags',
  1064. fn: function (){
  1065. var self=this;
  1066. var $1;
  1067. $1=smalltalk.send(self,"_tag_",["link"]);
  1068. return $1;
  1069. },
  1070. args: [],
  1071. source: "link\x0a ^self tag: 'link'",
  1072. messageSends: ["tag:"],
  1073. referencedClasses: []
  1074. }),
  1075. smalltalk.HTMLCanvas);
  1076. smalltalk.addMethod(
  1077. "_map",
  1078. smalltalk.method({
  1079. selector: "map",
  1080. category: 'tags',
  1081. fn: function (){
  1082. var self=this;
  1083. var $1;
  1084. $1=smalltalk.send(self,"_tag_",["map"]);
  1085. return $1;
  1086. },
  1087. args: [],
  1088. source: "map\x0a\x09^self tag: 'map'",
  1089. messageSends: ["tag:"],
  1090. referencedClasses: []
  1091. }),
  1092. smalltalk.HTMLCanvas);
  1093. smalltalk.addMethod(
  1094. "_mark",
  1095. smalltalk.method({
  1096. selector: "mark",
  1097. category: 'tags',
  1098. fn: function (){
  1099. var self=this;
  1100. var $1;
  1101. $1=smalltalk.send(self,"_tag_",["mark"]);
  1102. return $1;
  1103. },
  1104. args: [],
  1105. source: "mark\x0a\x09^self tag: 'mark'",
  1106. messageSends: ["tag:"],
  1107. referencedClasses: []
  1108. }),
  1109. smalltalk.HTMLCanvas);
  1110. smalltalk.addMethod(
  1111. "_menu",
  1112. smalltalk.method({
  1113. selector: "menu",
  1114. category: 'tags',
  1115. fn: function (){
  1116. var self=this;
  1117. var $1;
  1118. $1=smalltalk.send(self,"_tag_",["menu"]);
  1119. return $1;
  1120. },
  1121. args: [],
  1122. source: "menu\x0a\x09^self tag: 'menu'",
  1123. messageSends: ["tag:"],
  1124. referencedClasses: []
  1125. }),
  1126. smalltalk.HTMLCanvas);
  1127. smalltalk.addMethod(
  1128. "_meta",
  1129. smalltalk.method({
  1130. selector: "meta",
  1131. category: 'tags',
  1132. fn: function (){
  1133. var self=this;
  1134. var $1;
  1135. $1=smalltalk.send(self,"_tag_",["meta"]);
  1136. return $1;
  1137. },
  1138. args: [],
  1139. source: "meta\x0a\x09^self tag: 'meta'",
  1140. messageSends: ["tag:"],
  1141. referencedClasses: []
  1142. }),
  1143. smalltalk.HTMLCanvas);
  1144. smalltalk.addMethod(
  1145. "_nav",
  1146. smalltalk.method({
  1147. selector: "nav",
  1148. category: 'tags',
  1149. fn: function (){
  1150. var self=this;
  1151. var $1;
  1152. $1=smalltalk.send(self,"_tag_",["nav"]);
  1153. return $1;
  1154. },
  1155. args: [],
  1156. source: "nav\x0a\x09^self tag: 'nav'",
  1157. messageSends: ["tag:"],
  1158. referencedClasses: []
  1159. }),
  1160. smalltalk.HTMLCanvas);
  1161. smalltalk.addMethod(
  1162. "_newTag_",
  1163. smalltalk.method({
  1164. selector: "newTag:",
  1165. category: 'tags',
  1166. fn: function (aString){
  1167. var self=this;
  1168. var $1;
  1169. $1=smalltalk.send((smalltalk.TagBrush || TagBrush),"_fromString_canvas_",[aString,self]);
  1170. return $1;
  1171. },
  1172. args: ["aString"],
  1173. source: "newTag: aString\x0a ^TagBrush fromString: aString canvas: self",
  1174. messageSends: ["fromString:canvas:"],
  1175. referencedClasses: ["TagBrush"]
  1176. }),
  1177. smalltalk.HTMLCanvas);
  1178. smalltalk.addMethod(
  1179. "_noscript",
  1180. smalltalk.method({
  1181. selector: "noscript",
  1182. category: 'tags',
  1183. fn: function (){
  1184. var self=this;
  1185. var $1;
  1186. $1=smalltalk.send(self,"_tag_",["noscript"]);
  1187. return $1;
  1188. },
  1189. args: [],
  1190. source: "noscript\x0a\x09^self tag: 'noscript'",
  1191. messageSends: ["tag:"],
  1192. referencedClasses: []
  1193. }),
  1194. smalltalk.HTMLCanvas);
  1195. smalltalk.addMethod(
  1196. "_object",
  1197. smalltalk.method({
  1198. selector: "object",
  1199. category: 'tags',
  1200. fn: function (){
  1201. var self=this;
  1202. var $1;
  1203. $1=smalltalk.send(self,"_tag_",["object"]);
  1204. return $1;
  1205. },
  1206. args: [],
  1207. source: "object\x0a\x09^self tag: 'object'",
  1208. messageSends: ["tag:"],
  1209. referencedClasses: []
  1210. }),
  1211. smalltalk.HTMLCanvas);
  1212. smalltalk.addMethod(
  1213. "_ol",
  1214. smalltalk.method({
  1215. selector: "ol",
  1216. category: 'tags',
  1217. fn: function (){
  1218. var self=this;
  1219. var $1;
  1220. $1=smalltalk.send(self,"_tag_",["ol"]);
  1221. return $1;
  1222. },
  1223. args: [],
  1224. source: "ol\x0a ^self tag: 'ol'",
  1225. messageSends: ["tag:"],
  1226. referencedClasses: []
  1227. }),
  1228. smalltalk.HTMLCanvas);
  1229. smalltalk.addMethod(
  1230. "_ol_",
  1231. smalltalk.method({
  1232. selector: "ol:",
  1233. category: 'tags',
  1234. fn: function (anObject){
  1235. var self=this;
  1236. var $1;
  1237. $1=smalltalk.send(smalltalk.send(self,"_ol",[]),"_with_",[anObject]);
  1238. return $1;
  1239. },
  1240. args: ["anObject"],
  1241. source: "ol: anObject\x0a ^self ol with: anObject",
  1242. messageSends: ["with:", "ol"],
  1243. referencedClasses: []
  1244. }),
  1245. smalltalk.HTMLCanvas);
  1246. smalltalk.addMethod(
  1247. "_optgroup",
  1248. smalltalk.method({
  1249. selector: "optgroup",
  1250. category: 'tags',
  1251. fn: function (){
  1252. var self=this;
  1253. var $1;
  1254. $1=smalltalk.send(self,"_tag_",["optgroup"]);
  1255. return $1;
  1256. },
  1257. args: [],
  1258. source: "optgroup\x0a\x09^self tag: 'optgroup'",
  1259. messageSends: ["tag:"],
  1260. referencedClasses: []
  1261. }),
  1262. smalltalk.HTMLCanvas);
  1263. smalltalk.addMethod(
  1264. "_option",
  1265. smalltalk.method({
  1266. selector: "option",
  1267. category: 'tags',
  1268. fn: function (){
  1269. var self=this;
  1270. var $1;
  1271. $1=smalltalk.send(self,"_tag_",["option"]);
  1272. return $1;
  1273. },
  1274. args: [],
  1275. source: "option\x0a ^self tag: 'option'",
  1276. messageSends: ["tag:"],
  1277. referencedClasses: []
  1278. }),
  1279. smalltalk.HTMLCanvas);
  1280. smalltalk.addMethod(
  1281. "_output",
  1282. smalltalk.method({
  1283. selector: "output",
  1284. category: 'tags',
  1285. fn: function (){
  1286. var self=this;
  1287. var $1;
  1288. $1=smalltalk.send(self,"_tag_",["output"]);
  1289. return $1;
  1290. },
  1291. args: [],
  1292. source: "output\x0a\x09^self tag: 'output'",
  1293. messageSends: ["tag:"],
  1294. referencedClasses: []
  1295. }),
  1296. smalltalk.HTMLCanvas);
  1297. smalltalk.addMethod(
  1298. "_p",
  1299. smalltalk.method({
  1300. selector: "p",
  1301. category: 'tags',
  1302. fn: function (){
  1303. var self=this;
  1304. var $1;
  1305. $1=smalltalk.send(self,"_tag_",["p"]);
  1306. return $1;
  1307. },
  1308. args: [],
  1309. source: "p\x0a ^self tag: 'p'",
  1310. messageSends: ["tag:"],
  1311. referencedClasses: []
  1312. }),
  1313. smalltalk.HTMLCanvas);
  1314. smalltalk.addMethod(
  1315. "_p_",
  1316. smalltalk.method({
  1317. selector: "p:",
  1318. category: 'tags',
  1319. fn: function (anObject){
  1320. var self=this;
  1321. var $1;
  1322. $1=smalltalk.send(smalltalk.send(self,"_p",[]),"_with_",[anObject]);
  1323. return $1;
  1324. },
  1325. args: ["anObject"],
  1326. source: "p: anObject\x0a ^self p with: anObject",
  1327. messageSends: ["with:", "p"],
  1328. referencedClasses: []
  1329. }),
  1330. smalltalk.HTMLCanvas);
  1331. smalltalk.addMethod(
  1332. "_param",
  1333. smalltalk.method({
  1334. selector: "param",
  1335. category: 'tags',
  1336. fn: function (){
  1337. var self=this;
  1338. var $1;
  1339. $1=smalltalk.send(self,"_tag_",["param"]);
  1340. return $1;
  1341. },
  1342. args: [],
  1343. source: "param\x0a\x09^self tag: 'param'",
  1344. messageSends: ["tag:"],
  1345. referencedClasses: []
  1346. }),
  1347. smalltalk.HTMLCanvas);
  1348. smalltalk.addMethod(
  1349. "_pre",
  1350. smalltalk.method({
  1351. selector: "pre",
  1352. category: 'tags',
  1353. fn: function (){
  1354. var self=this;
  1355. var $1;
  1356. $1=smalltalk.send(self,"_tag_",["pre"]);
  1357. return $1;
  1358. },
  1359. args: [],
  1360. source: "pre\x0a ^self tag: 'pre'",
  1361. messageSends: ["tag:"],
  1362. referencedClasses: []
  1363. }),
  1364. smalltalk.HTMLCanvas);
  1365. smalltalk.addMethod(
  1366. "_progress",
  1367. smalltalk.method({
  1368. selector: "progress",
  1369. category: 'tags',
  1370. fn: function (){
  1371. var self=this;
  1372. var $1;
  1373. $1=smalltalk.send(self,"_tag_",["progress"]);
  1374. return $1;
  1375. },
  1376. args: [],
  1377. source: "progress\x0a\x09^self tag: 'progress'",
  1378. messageSends: ["tag:"],
  1379. referencedClasses: []
  1380. }),
  1381. smalltalk.HTMLCanvas);
  1382. smalltalk.addMethod(
  1383. "_root",
  1384. smalltalk.method({
  1385. selector: "root",
  1386. category: 'accessing',
  1387. fn: function (){
  1388. var self=this;
  1389. return self["@root"];
  1390. },
  1391. args: [],
  1392. source: "root\x0a ^root",
  1393. messageSends: [],
  1394. referencedClasses: []
  1395. }),
  1396. smalltalk.HTMLCanvas);
  1397. smalltalk.addMethod(
  1398. "_root_",
  1399. smalltalk.method({
  1400. selector: "root:",
  1401. category: 'accessing',
  1402. fn: function (aTagBrush){
  1403. var self=this;
  1404. self["@root"]=aTagBrush;
  1405. return self},
  1406. args: ["aTagBrush"],
  1407. source: "root: aTagBrush\x0a root := aTagBrush",
  1408. messageSends: [],
  1409. referencedClasses: []
  1410. }),
  1411. smalltalk.HTMLCanvas);
  1412. smalltalk.addMethod(
  1413. "_script",
  1414. smalltalk.method({
  1415. selector: "script",
  1416. category: 'tags',
  1417. fn: function (){
  1418. var self=this;
  1419. var $1;
  1420. $1=smalltalk.send(self,"_tag_",["script"]);
  1421. return $1;
  1422. },
  1423. args: [],
  1424. source: "script\x0a ^self tag: 'script'",
  1425. messageSends: ["tag:"],
  1426. referencedClasses: []
  1427. }),
  1428. smalltalk.HTMLCanvas);
  1429. smalltalk.addMethod(
  1430. "_section",
  1431. smalltalk.method({
  1432. selector: "section",
  1433. category: 'tags',
  1434. fn: function (){
  1435. var self=this;
  1436. var $1;
  1437. $1=smalltalk.send(self,"_tag_",["section"]);
  1438. return $1;
  1439. },
  1440. args: [],
  1441. source: "section\x0a ^self tag: 'section'",
  1442. messageSends: ["tag:"],
  1443. referencedClasses: []
  1444. }),
  1445. smalltalk.HTMLCanvas);
  1446. smalltalk.addMethod(
  1447. "_select",
  1448. smalltalk.method({
  1449. selector: "select",
  1450. category: 'tags',
  1451. fn: function (){
  1452. var self=this;
  1453. var $1;
  1454. $1=smalltalk.send(self,"_tag_",["select"]);
  1455. return $1;
  1456. },
  1457. args: [],
  1458. source: "select\x0a ^self tag: 'select'",
  1459. messageSends: ["tag:"],
  1460. referencedClasses: []
  1461. }),
  1462. smalltalk.HTMLCanvas);
  1463. smalltalk.addMethod(
  1464. "_small",
  1465. smalltalk.method({
  1466. selector: "small",
  1467. category: 'tags',
  1468. fn: function (){
  1469. var self=this;
  1470. var $1;
  1471. $1=smalltalk.send(self,"_tag_",["small"]);
  1472. return $1;
  1473. },
  1474. args: [],
  1475. source: "small\x0a\x09^self tag: 'small'",
  1476. messageSends: ["tag:"],
  1477. referencedClasses: []
  1478. }),
  1479. smalltalk.HTMLCanvas);
  1480. smalltalk.addMethod(
  1481. "_source",
  1482. smalltalk.method({
  1483. selector: "source",
  1484. category: 'tags',
  1485. fn: function (){
  1486. var self=this;
  1487. var $1;
  1488. $1=smalltalk.send(self,"_tag_",["source"]);
  1489. return $1;
  1490. },
  1491. args: [],
  1492. source: "source\x0a\x09^self tag: 'source'",
  1493. messageSends: ["tag:"],
  1494. referencedClasses: []
  1495. }),
  1496. smalltalk.HTMLCanvas);
  1497. smalltalk.addMethod(
  1498. "_span",
  1499. smalltalk.method({
  1500. selector: "span",
  1501. category: 'tags',
  1502. fn: function (){
  1503. var self=this;
  1504. var $1;
  1505. $1=smalltalk.send(self,"_tag_",["span"]);
  1506. return $1;
  1507. },
  1508. args: [],
  1509. source: "span\x0a ^self tag: 'span'",
  1510. messageSends: ["tag:"],
  1511. referencedClasses: []
  1512. }),
  1513. smalltalk.HTMLCanvas);
  1514. smalltalk.addMethod(
  1515. "_span_",
  1516. smalltalk.method({
  1517. selector: "span:",
  1518. category: 'tags',
  1519. fn: function (anObject){
  1520. var self=this;
  1521. var $1;
  1522. $1=smalltalk.send(smalltalk.send(self,"_span",[]),"_with_",[anObject]);
  1523. return $1;
  1524. },
  1525. args: ["anObject"],
  1526. source: "span: anObject\x0a ^self span with: anObject",
  1527. messageSends: ["with:", "span"],
  1528. referencedClasses: []
  1529. }),
  1530. smalltalk.HTMLCanvas);
  1531. smalltalk.addMethod(
  1532. "_strong",
  1533. smalltalk.method({
  1534. selector: "strong",
  1535. category: 'tags',
  1536. fn: function (){
  1537. var self=this;
  1538. var $1;
  1539. $1=smalltalk.send(self,"_tag_",["strong"]);
  1540. return $1;
  1541. },
  1542. args: [],
  1543. source: "strong\x0a\x09^self tag: 'strong'",
  1544. messageSends: ["tag:"],
  1545. referencedClasses: []
  1546. }),
  1547. smalltalk.HTMLCanvas);
  1548. smalltalk.addMethod(
  1549. "_strong_",
  1550. smalltalk.method({
  1551. selector: "strong:",
  1552. category: 'tags',
  1553. fn: function (anObject){
  1554. var self=this;
  1555. var $1;
  1556. $1=smalltalk.send(smalltalk.send(self,"_strong",[]),"_with_",[anObject]);
  1557. return $1;
  1558. },
  1559. args: ["anObject"],
  1560. source: "strong: anObject\x0a\x09^self strong with: anObject",
  1561. messageSends: ["with:", "strong"],
  1562. referencedClasses: []
  1563. }),
  1564. smalltalk.HTMLCanvas);
  1565. smalltalk.addMethod(
  1566. "_style",
  1567. smalltalk.method({
  1568. selector: "style",
  1569. category: 'tags',
  1570. fn: function (){
  1571. var self=this;
  1572. var $1;
  1573. $1=smalltalk.send(self["@root"],"_addBrush_",[smalltalk.send((smalltalk.StyleTag || StyleTag),"_canvas_",[self])]);
  1574. return $1;
  1575. },
  1576. args: [],
  1577. source: "style\x0a\x09^ root addBrush: (StyleTag canvas: self)",
  1578. messageSends: ["addBrush:", "canvas:"],
  1579. referencedClasses: ["StyleTag"]
  1580. }),
  1581. smalltalk.HTMLCanvas);
  1582. smalltalk.addMethod(
  1583. "_style_",
  1584. smalltalk.method({
  1585. selector: "style:",
  1586. category: 'tags',
  1587. fn: function (aString){
  1588. var self=this;
  1589. var $2,$3,$1;
  1590. $2=smalltalk.send(self,"_style",[]);
  1591. smalltalk.send($2,"_with_",[aString]);
  1592. $3=smalltalk.send($2,"_yourself",[]);
  1593. $1=$3;
  1594. return $1;
  1595. },
  1596. args: ["aString"],
  1597. source: "style: aString\x0a\x09^ self style with: aString; yourself",
  1598. messageSends: ["with:", "style", "yourself"],
  1599. referencedClasses: []
  1600. }),
  1601. smalltalk.HTMLCanvas);
  1602. smalltalk.addMethod(
  1603. "_sub",
  1604. smalltalk.method({
  1605. selector: "sub",
  1606. category: 'tags',
  1607. fn: function (){
  1608. var self=this;
  1609. var $1;
  1610. $1=smalltalk.send(self,"_tag_",["sub"]);
  1611. return $1;
  1612. },
  1613. args: [],
  1614. source: "sub\x0a\x09^self tag: 'sub'",
  1615. messageSends: ["tag:"],
  1616. referencedClasses: []
  1617. }),
  1618. smalltalk.HTMLCanvas);
  1619. smalltalk.addMethod(
  1620. "_summary",
  1621. smalltalk.method({
  1622. selector: "summary",
  1623. category: 'tags',
  1624. fn: function (){
  1625. var self=this;
  1626. var $1;
  1627. $1=smalltalk.send(self,"_tag_",["summary"]);
  1628. return $1;
  1629. },
  1630. args: [],
  1631. source: "summary\x0a\x09^self tag: 'summary'",
  1632. messageSends: ["tag:"],
  1633. referencedClasses: []
  1634. }),
  1635. smalltalk.HTMLCanvas);
  1636. smalltalk.addMethod(
  1637. "_sup",
  1638. smalltalk.method({
  1639. selector: "sup",
  1640. category: 'tags',
  1641. fn: function (){
  1642. var self=this;
  1643. var $1;
  1644. $1=smalltalk.send(self,"_tag_",["sup"]);
  1645. return $1;
  1646. },
  1647. args: [],
  1648. source: "sup\x0a\x09^self tag: 'sup'",
  1649. messageSends: ["tag:"],
  1650. referencedClasses: []
  1651. }),
  1652. smalltalk.HTMLCanvas);
  1653. smalltalk.addMethod(
  1654. "_table",
  1655. smalltalk.method({
  1656. selector: "table",
  1657. category: 'tags',
  1658. fn: function (){
  1659. var self=this;
  1660. var $1;
  1661. $1=smalltalk.send(self,"_tag_",["table"]);
  1662. return $1;
  1663. },
  1664. args: [],
  1665. source: "table\x0a ^self tag: 'table'",
  1666. messageSends: ["tag:"],
  1667. referencedClasses: []
  1668. }),
  1669. smalltalk.HTMLCanvas);
  1670. smalltalk.addMethod(
  1671. "_tag_",
  1672. smalltalk.method({
  1673. selector: "tag:",
  1674. category: 'tags',
  1675. fn: function (aString){
  1676. var self=this;
  1677. var $1;
  1678. $1=smalltalk.send(self["@root"],"_addBrush_",[smalltalk.send(self,"_newTag_",[aString])]);
  1679. return $1;
  1680. },
  1681. args: ["aString"],
  1682. source: "tag: aString\x0a ^root addBrush: (self newTag: aString)",
  1683. messageSends: ["addBrush:", "newTag:"],
  1684. referencedClasses: []
  1685. }),
  1686. smalltalk.HTMLCanvas);
  1687. smalltalk.addMethod(
  1688. "_tbody",
  1689. smalltalk.method({
  1690. selector: "tbody",
  1691. category: 'tags',
  1692. fn: function (){
  1693. var self=this;
  1694. var $1;
  1695. $1=smalltalk.send(self,"_tag_",["tbody"]);
  1696. return $1;
  1697. },
  1698. args: [],
  1699. source: "tbody\x0a ^self tag: 'tbody'",
  1700. messageSends: ["tag:"],
  1701. referencedClasses: []
  1702. }),
  1703. smalltalk.HTMLCanvas);
  1704. smalltalk.addMethod(
  1705. "_td",
  1706. smalltalk.method({
  1707. selector: "td",
  1708. category: 'tags',
  1709. fn: function (){
  1710. var self=this;
  1711. var $1;
  1712. $1=smalltalk.send(self,"_tag_",["td"]);
  1713. return $1;
  1714. },
  1715. args: [],
  1716. source: "td \x0a ^self tag: 'td'",
  1717. messageSends: ["tag:"],
  1718. referencedClasses: []
  1719. }),
  1720. smalltalk.HTMLCanvas);
  1721. smalltalk.addMethod(
  1722. "_textarea",
  1723. smalltalk.method({
  1724. selector: "textarea",
  1725. category: 'tags',
  1726. fn: function (){
  1727. var self=this;
  1728. var $1;
  1729. $1=smalltalk.send(self,"_tag_",["textarea"]);
  1730. return $1;
  1731. },
  1732. args: [],
  1733. source: "textarea\x0a ^self tag: 'textarea'",
  1734. messageSends: ["tag:"],
  1735. referencedClasses: []
  1736. }),
  1737. smalltalk.HTMLCanvas);
  1738. smalltalk.addMethod(
  1739. "_tfoot",
  1740. smalltalk.method({
  1741. selector: "tfoot",
  1742. category: 'tags',
  1743. fn: function (){
  1744. var self=this;
  1745. var $1;
  1746. $1=smalltalk.send(self,"_tag_",["tfoot"]);
  1747. return $1;
  1748. },
  1749. args: [],
  1750. source: "tfoot\x0a ^self tag: 'tfoot'",
  1751. messageSends: ["tag:"],
  1752. referencedClasses: []
  1753. }),
  1754. smalltalk.HTMLCanvas);
  1755. smalltalk.addMethod(
  1756. "_th",
  1757. smalltalk.method({
  1758. selector: "th",
  1759. category: 'tags',
  1760. fn: function (){
  1761. var self=this;
  1762. var $1;
  1763. $1=smalltalk.send(self,"_tag_",["th"]);
  1764. return $1;
  1765. },
  1766. args: [],
  1767. source: "th\x0a ^self tag: 'th'",
  1768. messageSends: ["tag:"],
  1769. referencedClasses: []
  1770. }),
  1771. smalltalk.HTMLCanvas);
  1772. smalltalk.addMethod(
  1773. "_thead",
  1774. smalltalk.method({
  1775. selector: "thead",
  1776. category: 'tags',
  1777. fn: function (){
  1778. var self=this;
  1779. var $1;
  1780. $1=smalltalk.send(self,"_tag_",["thead"]);
  1781. return $1;
  1782. },
  1783. args: [],
  1784. source: "thead\x0a ^self tag: 'thead'",
  1785. messageSends: ["tag:"],
  1786. referencedClasses: []
  1787. }),
  1788. smalltalk.HTMLCanvas);
  1789. smalltalk.addMethod(
  1790. "_time",
  1791. smalltalk.method({
  1792. selector: "time",
  1793. category: 'tags',
  1794. fn: function (){
  1795. var self=this;
  1796. var $1;
  1797. $1=smalltalk.send(self,"_tag_",["time"]);
  1798. return $1;
  1799. },
  1800. args: [],
  1801. source: "time\x0a\x09^self tag: 'time'",
  1802. messageSends: ["tag:"],
  1803. referencedClasses: []
  1804. }),
  1805. smalltalk.HTMLCanvas);
  1806. smalltalk.addMethod(
  1807. "_title",
  1808. smalltalk.method({
  1809. selector: "title",
  1810. category: 'tags',
  1811. fn: function (){
  1812. var self=this;
  1813. var $1;
  1814. $1=smalltalk.send(self,"_tag_",["title"]);
  1815. return $1;
  1816. },
  1817. args: [],
  1818. source: "title\x0a\x09^self tag: 'title'",
  1819. messageSends: ["tag:"],
  1820. referencedClasses: []
  1821. }),
  1822. smalltalk.HTMLCanvas);
  1823. smalltalk.addMethod(
  1824. "_tr",
  1825. smalltalk.method({
  1826. selector: "tr",
  1827. category: 'tags',
  1828. fn: function (){
  1829. var self=this;
  1830. var $1;
  1831. $1=smalltalk.send(self,"_tag_",["tr"]);
  1832. return $1;
  1833. },
  1834. args: [],
  1835. source: "tr\x0a ^self tag: 'tr'",
  1836. messageSends: ["tag:"],
  1837. referencedClasses: []
  1838. }),
  1839. smalltalk.HTMLCanvas);
  1840. smalltalk.addMethod(
  1841. "_ul",
  1842. smalltalk.method({
  1843. selector: "ul",
  1844. category: 'tags',
  1845. fn: function (){
  1846. var self=this;
  1847. var $1;
  1848. $1=smalltalk.send(self,"_tag_",["ul"]);
  1849. return $1;
  1850. },
  1851. args: [],
  1852. source: "ul\x0a ^self tag: 'ul'",
  1853. messageSends: ["tag:"],
  1854. referencedClasses: []
  1855. }),
  1856. smalltalk.HTMLCanvas);
  1857. smalltalk.addMethod(
  1858. "_ul_",
  1859. smalltalk.method({
  1860. selector: "ul:",
  1861. category: 'tags',
  1862. fn: function (anObject){
  1863. var self=this;
  1864. var $1;
  1865. $1=smalltalk.send(smalltalk.send(self,"_ul",[]),"_with_",[anObject]);
  1866. return $1;
  1867. },
  1868. args: ["anObject"],
  1869. source: "ul: anObject\x0a ^self ul with: anObject",
  1870. messageSends: ["with:", "ul"],
  1871. referencedClasses: []
  1872. }),
  1873. smalltalk.HTMLCanvas);
  1874. smalltalk.addMethod(
  1875. "_video",
  1876. smalltalk.method({
  1877. selector: "video",
  1878. category: 'tags',
  1879. fn: function (){
  1880. var self=this;
  1881. var $1;
  1882. $1=smalltalk.send(self,"_tag_",["video"]);
  1883. return $1;
  1884. },
  1885. args: [],
  1886. source: "video\x0a ^self tag: 'video'",
  1887. messageSends: ["tag:"],
  1888. referencedClasses: []
  1889. }),
  1890. smalltalk.HTMLCanvas);
  1891. smalltalk.addMethod(
  1892. "_with_",
  1893. smalltalk.method({
  1894. selector: "with:",
  1895. category: 'adding',
  1896. fn: function (anObject){
  1897. var self=this;
  1898. var $1;
  1899. $1=smalltalk.send(smalltalk.send(self,"_root",[]),"_with_",[anObject]);
  1900. return $1;
  1901. },
  1902. args: ["anObject"],
  1903. source: "with: anObject\x0a ^self root with: anObject",
  1904. messageSends: ["with:", "root"],
  1905. referencedClasses: []
  1906. }),
  1907. smalltalk.HTMLCanvas);
  1908. smalltalk.addMethod(
  1909. "_browserVersion",
  1910. smalltalk.method({
  1911. selector: "browserVersion",
  1912. category: 'instance creation',
  1913. fn: function (){
  1914. var self=this;
  1915. var $1;
  1916. $1=smalltalk.send(smalltalk.send(jQuery,"_at_",[smalltalk.symbolFor("browser")]),"_version",[]);
  1917. return $1;
  1918. },
  1919. args: [],
  1920. source: "browserVersion\x0a\x09^(jQuery at: #browser) version",
  1921. messageSends: ["version", "at:"],
  1922. referencedClasses: []
  1923. }),
  1924. smalltalk.HTMLCanvas.klass);
  1925. smalltalk.addMethod(
  1926. "_isMSIE",
  1927. smalltalk.method({
  1928. selector: "isMSIE",
  1929. category: 'instance creation',
  1930. fn: function (){
  1931. var self=this;
  1932. var $1;
  1933. $1=smalltalk.send(smalltalk.send(smalltalk.send(jQuery,"_at_",[smalltalk.symbolFor("browser")]),"_at_",[smalltalk.symbolFor("msie")]),"_notNil",[]);
  1934. return $1;
  1935. },
  1936. args: [],
  1937. source: "isMSIE\x0a\x09^((jQuery at: #browser) at: #msie) notNil",
  1938. messageSends: ["notNil", "at:"],
  1939. referencedClasses: []
  1940. }),
  1941. smalltalk.HTMLCanvas.klass);
  1942. smalltalk.addMethod(
  1943. "_isMozilla",
  1944. smalltalk.method({
  1945. selector: "isMozilla",
  1946. category: 'instance creation',
  1947. fn: function (){
  1948. var self=this;
  1949. var $1;
  1950. $1=smalltalk.send(smalltalk.send(smalltalk.send(jQuery,"_at_",[smalltalk.symbolFor("browser")]),"_at_",[smalltalk.symbolFor("mozilla")]),"_notNil",[]);
  1951. return $1;
  1952. },
  1953. args: [],
  1954. source: "isMozilla\x0a\x09^((jQuery at: #browser) at: #mozilla) notNil",
  1955. messageSends: ["notNil", "at:"],
  1956. referencedClasses: []
  1957. }),
  1958. smalltalk.HTMLCanvas.klass);
  1959. smalltalk.addMethod(
  1960. "_isOpera",
  1961. smalltalk.method({
  1962. selector: "isOpera",
  1963. category: 'instance creation',
  1964. fn: function (){
  1965. var self=this;
  1966. var $1;
  1967. $1=smalltalk.send(smalltalk.send(smalltalk.send(jQuery,"_at_",[smalltalk.symbolFor("browser")]),"_at_",[smalltalk.symbolFor("opera")]),"_notNil",[]);
  1968. return $1;
  1969. },
  1970. args: [],
  1971. source: "isOpera\x0a\x09^((jQuery at: #browser) at: #opera) notNil",
  1972. messageSends: ["notNil", "at:"],
  1973. referencedClasses: []
  1974. }),
  1975. smalltalk.HTMLCanvas.klass);
  1976. smalltalk.addMethod(
  1977. "_isWebkit",
  1978. smalltalk.method({
  1979. selector: "isWebkit",
  1980. category: 'instance creation',
  1981. fn: function (){
  1982. var self=this;
  1983. var $1;
  1984. $1=smalltalk.send(smalltalk.send(smalltalk.send(jQuery,"_at_",[smalltalk.symbolFor("browser")]),"_at_",[smalltalk.symbolFor("webkit")]),"_notNil",[]);
  1985. return $1;
  1986. },
  1987. args: [],
  1988. source: "isWebkit\x0a\x09^((jQuery at: #browser) at: #webkit) notNil",
  1989. messageSends: ["notNil", "at:"],
  1990. referencedClasses: []
  1991. }),
  1992. smalltalk.HTMLCanvas.klass);
  1993. smalltalk.addMethod(
  1994. "_onJQuery_",
  1995. smalltalk.method({
  1996. selector: "onJQuery:",
  1997. category: 'instance creation',
  1998. fn: function (aJQuery){
  1999. var self=this;
  2000. var $2,$3,$1;
  2001. $2=smalltalk.send(self,"_basicNew",[]);
  2002. smalltalk.send($2,"_initializeFromJQuery_",[aJQuery]);
  2003. smalltalk.send($2,"_initialize",[]);
  2004. $3=smalltalk.send($2,"_yourself",[]);
  2005. $1=$3;
  2006. return $1;
  2007. },
  2008. args: ["aJQuery"],
  2009. source: "onJQuery: aJQuery\x0a\x09^self basicNew\x0a\x09\x09initializeFromJQuery: aJQuery;\x0a\x09\x09initialize;\x0a\x09\x09yourself",
  2010. messageSends: ["initializeFromJQuery:", "basicNew", "initialize", "yourself"],
  2011. referencedClasses: []
  2012. }),
  2013. smalltalk.HTMLCanvas.klass);
  2014. smalltalk.addClass('TagBrush', smalltalk.Object, ['canvas', 'element'], 'Canvas');
  2015. smalltalk.addMethod(
  2016. "_accesskey_",
  2017. smalltalk.method({
  2018. selector: "accesskey:",
  2019. category: 'attributes',
  2020. fn: function (aString){
  2021. var self=this;
  2022. smalltalk.send(self,"_at_put_",["accesskey",aString]);
  2023. return self},
  2024. args: ["aString"],
  2025. source: "accesskey: aString\x0a\x09self at: 'accesskey' put: aString",
  2026. messageSends: ["at:put:"],
  2027. referencedClasses: []
  2028. }),
  2029. smalltalk.TagBrush);
  2030. smalltalk.addMethod(
  2031. "_action_",
  2032. smalltalk.method({
  2033. selector: "action:",
  2034. category: 'attributes',
  2035. fn: function (aString){
  2036. var self=this;
  2037. smalltalk.send(self,"_at_put_",["action",aString]);
  2038. return self},
  2039. args: ["aString"],
  2040. source: "action: aString\x0a\x09self at: 'action' put: aString",
  2041. messageSends: ["at:put:"],
  2042. referencedClasses: []
  2043. }),
  2044. smalltalk.TagBrush);
  2045. smalltalk.addMethod(
  2046. "_addBrush_",
  2047. smalltalk.method({
  2048. selector: "addBrush:",
  2049. category: 'adding',
  2050. fn: function (aTagBrush){
  2051. var self=this;
  2052. smalltalk.send(self,"_appendChild_",[smalltalk.send(aTagBrush,"_element",[])]);
  2053. return aTagBrush;
  2054. },
  2055. args: ["aTagBrush"],
  2056. source: "addBrush: aTagBrush\x0a self appendChild: aTagBrush element.\x0a ^aTagBrush",
  2057. messageSends: ["appendChild:", "element"],
  2058. referencedClasses: []
  2059. }),
  2060. smalltalk.TagBrush);
  2061. smalltalk.addMethod(
  2062. "_align_",
  2063. smalltalk.method({
  2064. selector: "align:",
  2065. category: 'attributes',
  2066. fn: function (aString){
  2067. var self=this;
  2068. smalltalk.send(self,"_at_put_",["align",aString]);
  2069. return self},
  2070. args: ["aString"],
  2071. source: "align: aString\x0a\x09self at: 'align' put: aString",
  2072. messageSends: ["at:put:"],
  2073. referencedClasses: []
  2074. }),
  2075. smalltalk.TagBrush);
  2076. smalltalk.addMethod(
  2077. "_alt_",
  2078. smalltalk.method({
  2079. selector: "alt:",
  2080. category: 'attributes',
  2081. fn: function (aString){
  2082. var self=this;
  2083. smalltalk.send(self,"_at_put_",["alt",aString]);
  2084. return self},
  2085. args: ["aString"],
  2086. source: "alt: aString\x0a\x09self at: 'alt' put: aString",
  2087. messageSends: ["at:put:"],
  2088. referencedClasses: []
  2089. }),
  2090. smalltalk.TagBrush);
  2091. smalltalk.addMethod(
  2092. "_append_",
  2093. smalltalk.method({
  2094. selector: "append:",
  2095. category: 'adding',
  2096. fn: function (anObject){
  2097. var self=this;
  2098. smalltalk.send(anObject,"_appendToBrush_",[self]);
  2099. return self},
  2100. args: ["anObject"],
  2101. source: "append: anObject\x0a anObject appendToBrush: self",
  2102. messageSends: ["appendToBrush:"],
  2103. referencedClasses: []
  2104. }),
  2105. smalltalk.TagBrush);
  2106. smalltalk.addMethod(
  2107. "_appendBlock_",
  2108. smalltalk.method({
  2109. selector: "appendBlock:",
  2110. category: 'adding',
  2111. fn: function (aBlock){
  2112. var self=this;
  2113. var root;
  2114. root=smalltalk.send(self["@canvas"],"_root",[]);
  2115. smalltalk.send(self["@canvas"],"_root_",[self]);
  2116. smalltalk.send(aBlock,"_value_",[self["@canvas"]]);
  2117. smalltalk.send(self["@canvas"],"_root_",[root]);
  2118. return self},
  2119. args: ["aBlock"],
  2120. source: "appendBlock: aBlock\x0a | root |\x0a root := canvas root.\x0a canvas root: self.\x0a aBlock value: canvas.\x0a canvas root: root",
  2121. messageSends: ["root", "root:", "value:"],
  2122. referencedClasses: []
  2123. }),
  2124. smalltalk.TagBrush);
  2125. smalltalk.addMethod(
  2126. "_appendChild_",
  2127. smalltalk.method({
  2128. selector: "appendChild:",
  2129. category: 'adding',
  2130. fn: function (anElement){
  2131. var self=this;
  2132. var element=self['@element'];
  2133. if (null == element.canHaveChildren || element.canHaveChildren) {
  2134. element.appendChild(anElement);
  2135. } else {
  2136. element.text = String(element.text) + anElement.innerHTML;
  2137. } ;
  2138. ;
  2139. return self},
  2140. args: ["anElement"],
  2141. 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} >",
  2142. messageSends: [],
  2143. referencedClasses: []
  2144. }),
  2145. smalltalk.TagBrush);
  2146. smalltalk.addMethod(
  2147. "_appendString_",
  2148. smalltalk.method({
  2149. selector: "appendString:",
  2150. category: 'adding',
  2151. fn: function (aString){
  2152. var self=this;
  2153. smalltalk.send(self,"_appendChild_",[smalltalk.send(self,"_createTextNodeFor_",[aString])]);
  2154. return self},
  2155. args: ["aString"],
  2156. source: "appendString: aString\x0a self appendChild: (self createTextNodeFor: aString)",
  2157. messageSends: ["appendChild:", "createTextNodeFor:"],
  2158. referencedClasses: []
  2159. }),
  2160. smalltalk.TagBrush);
  2161. smalltalk.addMethod(
  2162. "_appendToBrush_",
  2163. smalltalk.method({
  2164. selector: "appendToBrush:",
  2165. category: 'adding',
  2166. fn: function (aTagBrush){
  2167. var self=this;
  2168. smalltalk.send(aTagBrush,"_addBrush_",[self]);
  2169. return self},
  2170. args: ["aTagBrush"],
  2171. source: "appendToBrush: aTagBrush\x0a aTagBrush addBrush: self",
  2172. messageSends: ["addBrush:"],
  2173. referencedClasses: []
  2174. }),
  2175. smalltalk.TagBrush);
  2176. smalltalk.addMethod(
  2177. "_asJQuery",
  2178. smalltalk.method({
  2179. selector: "asJQuery",
  2180. category: 'converting',
  2181. fn: function (){
  2182. var self=this;
  2183. var $1;
  2184. $1=smalltalk.send(window,"_jQuery_",[smalltalk.send(self,"_element",[])]);
  2185. return $1;
  2186. },
  2187. args: [],
  2188. source: "asJQuery\x0a ^window jQuery: self element",
  2189. messageSends: ["jQuery:", "element"],
  2190. referencedClasses: []
  2191. }),
  2192. smalltalk.TagBrush);
  2193. smalltalk.addMethod(
  2194. "_at_put_",
  2195. smalltalk.method({
  2196. selector: "at:put:",
  2197. category: 'attributes',
  2198. fn: function (aString,aValue){
  2199. var self=this;
  2200. self['@element'].setAttribute(aString, aValue);
  2201. ;
  2202. return self},
  2203. args: ["aString", "aValue"],
  2204. source: "at: aString put: aValue\x0a <self['@element'].setAttribute(aString, aValue)>",
  2205. messageSends: [],
  2206. referencedClasses: []
  2207. }),
  2208. smalltalk.TagBrush);
  2209. smalltalk.addMethod(
  2210. "_class_",
  2211. smalltalk.method({
  2212. selector: "class:",
  2213. category: 'attributes',
  2214. fn: function (aString){
  2215. var self=this;
  2216. self['@element'].className = aString;
  2217. ;
  2218. return self},
  2219. args: ["aString"],
  2220. source: "class: aString\x0a <self['@element'].className = aString>",
  2221. messageSends: [],
  2222. referencedClasses: []
  2223. }),
  2224. smalltalk.TagBrush);
  2225. smalltalk.addMethod(
  2226. "_cols_",
  2227. smalltalk.method({
  2228. selector: "cols:",
  2229. category: 'attributes',
  2230. fn: function (aString){
  2231. var self=this;
  2232. smalltalk.send(self,"_at_put_",["cols",aString]);
  2233. return self},
  2234. args: ["aString"],
  2235. source: "cols: aString\x0a\x09self at: 'cols' put: aString",
  2236. messageSends: ["at:put:"],
  2237. referencedClasses: []
  2238. }),
  2239. smalltalk.TagBrush);
  2240. smalltalk.addMethod(
  2241. "_contenteditable_",
  2242. smalltalk.method({
  2243. selector: "contenteditable:",
  2244. category: 'attributes',
  2245. fn: function (aString){
  2246. var self=this;
  2247. smalltalk.send(self,"_at_put_",["contenteditable",aString]);
  2248. return self},
  2249. args: ["aString"],
  2250. source: "contenteditable: aString\x0a\x09self at: 'contenteditable' put: aString",
  2251. messageSends: ["at:put:"],
  2252. referencedClasses: []
  2253. }),
  2254. smalltalk.TagBrush);
  2255. smalltalk.addMethod(
  2256. "_contents_",
  2257. smalltalk.method({
  2258. selector: "contents:",
  2259. category: 'adding',
  2260. fn: function (anObject){
  2261. var self=this;
  2262. var $1;
  2263. smalltalk.send(self,"_empty",[]);
  2264. $1=smalltalk.send(self,"_append_",[anObject]);
  2265. return self},
  2266. args: ["anObject"],
  2267. source: "contents: anObject\x0a self \x0a\x09empty;\x0a \x09append: anObject",
  2268. messageSends: ["empty", "append:"],
  2269. referencedClasses: []
  2270. }),
  2271. smalltalk.TagBrush);
  2272. smalltalk.addMethod(
  2273. "_contextmenu_",
  2274. smalltalk.method({
  2275. selector: "contextmenu:",
  2276. category: 'attributes',
  2277. fn: function (aString){
  2278. var self=this;
  2279. smalltalk.send(self,"_at_put_",["contextmenu",aString]);
  2280. return self},
  2281. args: ["aString"],
  2282. source: "contextmenu: aString\x0a\x09self at: 'contextmenu' put: aString",
  2283. messageSends: ["at:put:"],
  2284. referencedClasses: []
  2285. }),
  2286. smalltalk.TagBrush);
  2287. smalltalk.addMethod(
  2288. "_createElementFor_",
  2289. smalltalk.method({
  2290. selector: "createElementFor:",
  2291. category: 'private',
  2292. fn: function (aString){
  2293. var self=this;
  2294. return document.createElement(String(aString));
  2295. ;
  2296. return self},
  2297. args: ["aString"],
  2298. source: "createElementFor: aString\x0a\x09<return document.createElement(String(aString))>",
  2299. messageSends: [],
  2300. referencedClasses: []
  2301. }),
  2302. smalltalk.TagBrush);
  2303. smalltalk.addMethod(
  2304. "_createTextNodeFor_",
  2305. smalltalk.method({
  2306. selector: "createTextNodeFor:",
  2307. category: 'private',
  2308. fn: function (aString){
  2309. var self=this;
  2310. return document.createTextNode(String(aString));
  2311. ;
  2312. return self},
  2313. args: ["aString"],
  2314. source: "createTextNodeFor: aString\x0a\x09<return document.createTextNode(String(aString))>",
  2315. messageSends: [],
  2316. referencedClasses: []
  2317. }),
  2318. smalltalk.TagBrush);
  2319. smalltalk.addMethod(
  2320. "_draggable_",
  2321. smalltalk.method({
  2322. selector: "draggable:",
  2323. category: 'attributes',
  2324. fn: function (aString){
  2325. var self=this;
  2326. smalltalk.send(self,"_at_put_",["draggable",aString]);
  2327. return self},
  2328. args: ["aString"],
  2329. source: "draggable: aString\x0a\x09self at: 'draggable' put: aString",
  2330. messageSends: ["at:put:"],
  2331. referencedClasses: []
  2332. }),
  2333. smalltalk.TagBrush);
  2334. smalltalk.addMethod(
  2335. "_element",
  2336. smalltalk.method({
  2337. selector: "element",
  2338. category: 'accessing',
  2339. fn: function (){
  2340. var self=this;
  2341. return self["@element"];
  2342. },
  2343. args: [],
  2344. source: "element\x0a ^element",
  2345. messageSends: [],
  2346. referencedClasses: []
  2347. }),
  2348. smalltalk.TagBrush);
  2349. smalltalk.addMethod(
  2350. "_empty",
  2351. smalltalk.method({
  2352. selector: "empty",
  2353. category: 'adding',
  2354. fn: function (){
  2355. var self=this;
  2356. smalltalk.send(smalltalk.send(self,"_asJQuery",[]),"_empty",[]);
  2357. return self},
  2358. args: [],
  2359. source: "empty\x0a\x09self asJQuery empty",
  2360. messageSends: ["empty", "asJQuery"],
  2361. referencedClasses: []
  2362. }),
  2363. smalltalk.TagBrush);
  2364. smalltalk.addMethod(
  2365. "_for_",
  2366. smalltalk.method({
  2367. selector: "for:",
  2368. category: 'attributes',
  2369. fn: function (aString){
  2370. var self=this;
  2371. smalltalk.send(self,"_at_put_",["for",aString]);
  2372. return self},
  2373. args: ["aString"],
  2374. source: "for: aString\x0a\x09self at: 'for' put: aString",
  2375. messageSends: ["at:put:"],
  2376. referencedClasses: []
  2377. }),
  2378. smalltalk.TagBrush);
  2379. smalltalk.addMethod(
  2380. "_height_",
  2381. smalltalk.method({
  2382. selector: "height:",
  2383. category: 'attributes',
  2384. fn: function (aString){
  2385. var self=this;
  2386. smalltalk.send(self,"_at_put_",["height",aString]);
  2387. return self},
  2388. args: ["aString"],
  2389. source: "height: aString\x0a self at: 'height' put: aString",
  2390. messageSends: ["at:put:"],
  2391. referencedClasses: []
  2392. }),
  2393. smalltalk.TagBrush);
  2394. smalltalk.addMethod(
  2395. "_hidden",
  2396. smalltalk.method({
  2397. selector: "hidden",
  2398. category: 'attributes',
  2399. fn: function (){
  2400. var self=this;
  2401. smalltalk.send(self,"_at_put_",["hidden","hidden"]);
  2402. return self},
  2403. args: [],
  2404. source: "hidden\x0a\x09self at: 'hidden' put: 'hidden'",
  2405. messageSends: ["at:put:"],
  2406. referencedClasses: []
  2407. }),
  2408. smalltalk.TagBrush);
  2409. smalltalk.addMethod(
  2410. "_href_",
  2411. smalltalk.method({
  2412. selector: "href:",
  2413. category: 'attributes',
  2414. fn: function (aString){
  2415. var self=this;
  2416. smalltalk.send(self,"_at_put_",["href",aString]);
  2417. return self},
  2418. args: ["aString"],
  2419. source: "href: aString\x0a self at: 'href' put: aString",
  2420. messageSends: ["at:put:"],
  2421. referencedClasses: []
  2422. }),
  2423. smalltalk.TagBrush);
  2424. smalltalk.addMethod(
  2425. "_id_",
  2426. smalltalk.method({
  2427. selector: "id:",
  2428. category: 'attributes',
  2429. fn: function (aString){
  2430. var self=this;
  2431. smalltalk.send(self,"_at_put_",["id",aString]);
  2432. return self},
  2433. args: ["aString"],
  2434. source: "id: aString\x0a self at: 'id' put: aString",
  2435. messageSends: ["at:put:"],
  2436. referencedClasses: []
  2437. }),
  2438. smalltalk.TagBrush);
  2439. smalltalk.addMethod(
  2440. "_initializeFromJQuery_canvas_",
  2441. smalltalk.method({
  2442. selector: "initializeFromJQuery:canvas:",
  2443. category: 'initialization',
  2444. fn: function (aJQuery,aCanvas){
  2445. var self=this;
  2446. self["@element"]=smalltalk.send(aJQuery,"_get_",[(0)]);
  2447. self["@canvas"]=aCanvas;
  2448. return self},
  2449. args: ["aJQuery", "aCanvas"],
  2450. source: "initializeFromJQuery: aJQuery canvas: aCanvas\x0a element := aJQuery get: 0.\x0a canvas := aCanvas",
  2451. messageSends: ["get:"],
  2452. referencedClasses: []
  2453. }),
  2454. smalltalk.TagBrush);
  2455. smalltalk.addMethod(
  2456. "_initializeFromString_canvas_",
  2457. smalltalk.method({
  2458. selector: "initializeFromString:canvas:",
  2459. category: 'initialization',
  2460. fn: function (aString,aCanvas){
  2461. var self=this;
  2462. self["@element"]=smalltalk.send(self,"_createElementFor_",[aString]);
  2463. self["@canvas"]=aCanvas;
  2464. return self},
  2465. args: ["aString", "aCanvas"],
  2466. source: "initializeFromString: aString canvas: aCanvas\x0a element := self createElementFor: aString.\x0a canvas := aCanvas",
  2467. messageSends: ["createElementFor:"],
  2468. referencedClasses: []
  2469. }),
  2470. smalltalk.TagBrush);
  2471. smalltalk.addMethod(
  2472. "_media_",
  2473. smalltalk.method({
  2474. selector: "media:",
  2475. category: 'attributes',
  2476. fn: function (aString){
  2477. var self=this;
  2478. smalltalk.send(self,"_at_put_",["media",aString]);
  2479. return self},
  2480. args: ["aString"],
  2481. source: "media: aString\x0a self at: 'media' put: aString",
  2482. messageSends: ["at:put:"],
  2483. referencedClasses: []
  2484. }),
  2485. smalltalk.TagBrush);
  2486. smalltalk.addMethod(
  2487. "_method_",
  2488. smalltalk.method({
  2489. selector: "method:",
  2490. category: 'attributes',
  2491. fn: function (aString){
  2492. var self=this;
  2493. smalltalk.send(self,"_at_put_",["method",aString]);
  2494. return self},
  2495. args: ["aString"],
  2496. source: "method: aString\x0a\x09self at: 'method' put: aString",
  2497. messageSends: ["at:put:"],
  2498. referencedClasses: []
  2499. }),
  2500. smalltalk.TagBrush);
  2501. smalltalk.addMethod(
  2502. "_name_",
  2503. smalltalk.method({
  2504. selector: "name:",
  2505. category: 'attributes',
  2506. fn: function (aString){
  2507. var self=this;
  2508. smalltalk.send(self,"_at_put_",["name",aString]);
  2509. return self},
  2510. args: ["aString"],
  2511. source: "name: aString\x0a\x09self at: 'name' put: aString",
  2512. messageSends: ["at:put:"],
  2513. referencedClasses: []
  2514. }),
  2515. smalltalk.TagBrush);
  2516. smalltalk.addMethod(
  2517. "_onBlur_",
  2518. smalltalk.method({
  2519. selector: "onBlur:",
  2520. category: 'events',
  2521. fn: function (aBlock){
  2522. var self=this;
  2523. smalltalk.send(smalltalk.send(self,"_asJQuery",[]),"_bind_do_",["blur",aBlock]);
  2524. return self},
  2525. args: ["aBlock"],
  2526. source: "onBlur: aBlock\x0a self asJQuery bind: 'blur' do: aBlock",
  2527. messageSends: ["bind:do:", "asJQuery"],
  2528. referencedClasses: []
  2529. }),
  2530. smalltalk.TagBrush);
  2531. smalltalk.addMethod(
  2532. "_onChange_",
  2533. smalltalk.method({
  2534. selector: "onChange:",
  2535. category: 'events',
  2536. fn: function (aBlock){
  2537. var self=this;
  2538. smalltalk.send(smalltalk.send(self,"_asJQuery",[]),"_bind_do_",["change",aBlock]);
  2539. return self},
  2540. args: ["aBlock"],
  2541. source: "onChange: aBlock\x0a self asJQuery bind: 'change' do: aBlock",
  2542. messageSends: ["bind:do:", "asJQuery"],
  2543. referencedClasses: []
  2544. }),
  2545. smalltalk.TagBrush);
  2546. smalltalk.addMethod(
  2547. "_onClick_",
  2548. smalltalk.method({
  2549. selector: "onClick:",
  2550. category: 'events',
  2551. fn: function (aBlock){
  2552. var self=this;
  2553. smalltalk.send(smalltalk.send(self,"_asJQuery",[]),"_bind_do_",["click",aBlock]);
  2554. return self},
  2555. args: ["aBlock"],
  2556. source: "onClick: aBlock\x0a self asJQuery bind: 'click' do: aBlock",
  2557. messageSends: ["bind:do:", "asJQuery"],
  2558. referencedClasses: []
  2559. }),
  2560. smalltalk.TagBrush);
  2561. smalltalk.addMethod(
  2562. "_onDblClick_",
  2563. smalltalk.method({
  2564. selector: "onDblClick:",
  2565. category: 'events',
  2566. fn: function (aBlock){
  2567. var self=this;
  2568. smalltalk.send(smalltalk.send(self,"_asJQuery",[]),"_bind_do_",["dblclick",aBlock]);
  2569. return self},
  2570. args: ["aBlock"],
  2571. source: "onDblClick: aBlock\x0a\x09self asJQuery bind: 'dblclick' do: aBlock",
  2572. messageSends: ["bind:do:", "asJQuery"],
  2573. referencedClasses: []
  2574. }),
  2575. smalltalk.TagBrush);
  2576. smalltalk.addMethod(
  2577. "_onFocus_",
  2578. smalltalk.method({
  2579. selector: "onFocus:",
  2580. category: 'events',
  2581. fn: function (aBlock){
  2582. var self=this;
  2583. smalltalk.send(smalltalk.send(self,"_asJQuery",[]),"_bind_do_",["focus",aBlock]);
  2584. return self},
  2585. args: ["aBlock"],
  2586. source: "onFocus: aBlock\x0a self asJQuery bind: 'focus' do: aBlock",
  2587. messageSends: ["bind:do:", "asJQuery"],
  2588. referencedClasses: []
  2589. }),
  2590. smalltalk.TagBrush);
  2591. smalltalk.addMethod(
  2592. "_onFocusIn_",
  2593. smalltalk.method({
  2594. selector: "onFocusIn:",
  2595. category: 'events',
  2596. fn: function (aBlock){
  2597. var self=this;
  2598. smalltalk.send(smalltalk.send(self,"_asJQuery",[]),"_bind_do_",["focusin",aBlock]);
  2599. return self},
  2600. args: ["aBlock"],
  2601. source: "onFocusIn: aBlock\x0a\x09self asJQuery bind: 'focusin' do: aBlock",
  2602. messageSends: ["bind:do:", "asJQuery"],
  2603. referencedClasses: []
  2604. }),
  2605. smalltalk.TagBrush);
  2606. smalltalk.addMethod(
  2607. "_onFocusOut_",
  2608. smalltalk.method({
  2609. selector: "onFocusOut:",
  2610. category: 'events',
  2611. fn: function (aBlock){
  2612. var self=this;
  2613. smalltalk.send(smalltalk.send(self,"_asJQuery",[]),"_bind_do_",["focusout",aBlock]);
  2614. return self},
  2615. args: ["aBlock"],
  2616. source: "onFocusOut: aBlock\x0a\x09self asJQuery bind: 'focusout' do: aBlock",
  2617. messageSends: ["bind:do:", "asJQuery"],
  2618. referencedClasses: []
  2619. }),
  2620. smalltalk.TagBrush);
  2621. smalltalk.addMethod(
  2622. "_onHover_",
  2623. smalltalk.method({
  2624. selector: "onHover:",
  2625. category: 'events',
  2626. fn: function (aBlock){
  2627. var self=this;
  2628. smalltalk.send(smalltalk.send(self,"_asJQuery",[]),"_bind_do_",["hover",aBlock]);
  2629. return self},
  2630. args: ["aBlock"],
  2631. source: "onHover: aBlock\x0a\x09self asJQuery bind: 'hover' do: aBlock",
  2632. messageSends: ["bind:do:", "asJQuery"],
  2633. referencedClasses: []
  2634. }),
  2635. smalltalk.TagBrush);
  2636. smalltalk.addMethod(
  2637. "_onKeyDown_",
  2638. smalltalk.method({
  2639. selector: "onKeyDown:",
  2640. category: 'events',
  2641. fn: function (aBlock){
  2642. var self=this;
  2643. smalltalk.send(smalltalk.send(self,"_asJQuery",[]),"_bind_do_",["keydown",aBlock]);
  2644. return self},
  2645. args: ["aBlock"],
  2646. source: "onKeyDown: aBlock\x0a self asJQuery bind: 'keydown' do: aBlock",
  2647. messageSends: ["bind:do:", "asJQuery"],
  2648. referencedClasses: []
  2649. }),
  2650. smalltalk.TagBrush);
  2651. smalltalk.addMethod(
  2652. "_onKeyPress_",
  2653. smalltalk.method({
  2654. selector: "onKeyPress:",
  2655. category: 'events',
  2656. fn: function (aBlock){
  2657. var self=this;
  2658. smalltalk.send(smalltalk.send(self,"_asJQuery",[]),"_bind_do_",["keypress",aBlock]);
  2659. return self},
  2660. args: ["aBlock"],
  2661. source: "onKeyPress: aBlock\x0a self asJQuery bind: 'keypress' do: aBlock",
  2662. messageSends: ["bind:do:", "asJQuery"],
  2663. referencedClasses: []
  2664. }),
  2665. smalltalk.TagBrush);
  2666. smalltalk.addMethod(
  2667. "_onKeyUp_",
  2668. smalltalk.method({
  2669. selector: "onKeyUp:",
  2670. category: 'events',
  2671. fn: function (aBlock){
  2672. var self=this;
  2673. smalltalk.send(smalltalk.send(self,"_asJQuery",[]),"_bind_do_",["keyup",aBlock]);
  2674. return self},
  2675. args: ["aBlock"],
  2676. source: "onKeyUp: aBlock\x0a self asJQuery bind: 'keyup' do: aBlock",
  2677. messageSends: ["bind:do:", "asJQuery"],
  2678. referencedClasses: []
  2679. }),
  2680. smalltalk.TagBrush);
  2681. smalltalk.addMethod(
  2682. "_onMouseDown_",
  2683. smalltalk.method({
  2684. selector: "onMouseDown:",
  2685. category: 'events',
  2686. fn: function (aBlock){
  2687. var self=this;
  2688. smalltalk.send(smalltalk.send(self,"_asJQuery",[]),"_bind_do_",["mousedown",aBlock]);
  2689. return self},
  2690. args: ["aBlock"],
  2691. source: "onMouseDown: aBlock\x0a\x09self asJQuery bind: 'mousedown' do: aBlock",
  2692. messageSends: ["bind:do:", "asJQuery"],
  2693. referencedClasses: []
  2694. }),
  2695. smalltalk.TagBrush);
  2696. smalltalk.addMethod(
  2697. "_onMouseEnter_",
  2698. smalltalk.method({
  2699. selector: "onMouseEnter:",
  2700. category: 'events',
  2701. fn: function (aBlock){
  2702. var self=this;
  2703. smalltalk.send(smalltalk.send(self,"_asJQuery",[]),"_bind_do_",["mouseenter",aBlock]);
  2704. return self},
  2705. args: ["aBlock"],
  2706. source: "onMouseEnter: aBlock\x0a\x09self asJQuery bind: 'mouseenter' do: aBlock",
  2707. messageSends: ["bind:do:", "asJQuery"],
  2708. referencedClasses: []
  2709. }),
  2710. smalltalk.TagBrush);
  2711. smalltalk.addMethod(
  2712. "_onMouseLeave_",
  2713. smalltalk.method({
  2714. selector: "onMouseLeave:",
  2715. category: 'events',
  2716. fn: function (aBlock){
  2717. var self=this;
  2718. smalltalk.send(smalltalk.send(self,"_asJQuery",[]),"_bind_do_",["mouseleave",aBlock]);
  2719. return self},
  2720. args: ["aBlock"],
  2721. source: "onMouseLeave: aBlock\x0a\x09self asJQuery bind: 'mouseleave' do: aBlock",
  2722. messageSends: ["bind:do:", "asJQuery"],
  2723. referencedClasses: []
  2724. }),
  2725. smalltalk.TagBrush);
  2726. smalltalk.addMethod(
  2727. "_onMouseMove_",
  2728. smalltalk.method({
  2729. selector: "onMouseMove:",
  2730. category: 'events',
  2731. fn: function (aBlock){
  2732. var self=this;
  2733. smalltalk.send(smalltalk.send(self,"_asJQuery",[]),"_bind_do_",["mousemove",aBlock]);
  2734. return self},
  2735. args: ["aBlock"],
  2736. source: "onMouseMove: aBlock\x0a\x09self asJQuery bind: 'mousemove' do: aBlock",
  2737. messageSends: ["bind:do:", "asJQuery"],
  2738. referencedClasses: []
  2739. }),
  2740. smalltalk.TagBrush);
  2741. smalltalk.addMethod(
  2742. "_onMouseOut_",
  2743. smalltalk.method({
  2744. selector: "onMouseOut:",
  2745. category: 'events',
  2746. fn: function (aBlock){
  2747. var self=this;
  2748. smalltalk.send(smalltalk.send(self,"_asJQuery",[]),"_bind_do_",["mouseout",aBlock]);
  2749. return self},
  2750. args: ["aBlock"],
  2751. source: "onMouseOut: aBlock\x0a\x09self asJQuery bind: 'mouseout' do: aBlock",
  2752. messageSends: ["bind:do:", "asJQuery"],
  2753. referencedClasses: []
  2754. }),
  2755. smalltalk.TagBrush);
  2756. smalltalk.addMethod(
  2757. "_onMouseOver_",
  2758. smalltalk.method({
  2759. selector: "onMouseOver:",
  2760. category: 'events',
  2761. fn: function (aBlock){
  2762. var self=this;
  2763. smalltalk.send(smalltalk.send(self,"_asJQuery",[]),"_bind_do_",["mouseover",aBlock]);
  2764. return self},
  2765. args: ["aBlock"],
  2766. source: "onMouseOver: aBlock\x0a\x09self asJQuery bind: 'mouseover' do: aBlock",
  2767. messageSends: ["bind:do:", "asJQuery"],
  2768. referencedClasses: []
  2769. }),
  2770. smalltalk.TagBrush);
  2771. smalltalk.addMethod(
  2772. "_onMouseUp_",
  2773. smalltalk.method({
  2774. selector: "onMouseUp:",
  2775. category: 'events',
  2776. fn: function (aBlock){
  2777. var self=this;
  2778. smalltalk.send(smalltalk.send(self,"_asJQuery",[]),"_bind_do_",["mouseup",aBlock]);
  2779. return self},
  2780. args: ["aBlock"],
  2781. source: "onMouseUp: aBlock\x0a\x09self asJQuery bind: 'mouseup' do: aBlock",
  2782. messageSends: ["bind:do:", "asJQuery"],
  2783. referencedClasses: []
  2784. }),
  2785. smalltalk.TagBrush);
  2786. smalltalk.addMethod(
  2787. "_onSelect_",
  2788. smalltalk.method({
  2789. selector: "onSelect:",
  2790. category: 'events',
  2791. fn: function (aBlock){
  2792. var self=this;
  2793. smalltalk.send(smalltalk.send(self,"_asJQuery",[]),"_bind_do_",["select",aBlock]);
  2794. return self},
  2795. args: ["aBlock"],
  2796. source: "onSelect: aBlock\x0a\x09self asJQuery bind: 'select' do: aBlock",
  2797. messageSends: ["bind:do:", "asJQuery"],
  2798. referencedClasses: []
  2799. }),
  2800. smalltalk.TagBrush);
  2801. smalltalk.addMethod(
  2802. "_onSubmit_",
  2803. smalltalk.method({
  2804. selector: "onSubmit:",
  2805. category: 'events',
  2806. fn: function (aBlock){
  2807. var self=this;
  2808. smalltalk.send(smalltalk.send(self,"_asJQuery",[]),"_bind_do_",["submit",aBlock]);
  2809. return self},
  2810. args: ["aBlock"],
  2811. source: "onSubmit: aBlock\x0a\x09self asJQuery bind: 'submit' do: aBlock",
  2812. messageSends: ["bind:do:", "asJQuery"],
  2813. referencedClasses: []
  2814. }),
  2815. smalltalk.TagBrush);
  2816. smalltalk.addMethod(
  2817. "_onUnload_",
  2818. smalltalk.method({
  2819. selector: "onUnload:",
  2820. category: 'events',
  2821. fn: function (aBlock){
  2822. var self=this;
  2823. smalltalk.send(smalltalk.send(self,"_asJQuery",[]),"_bind_do_",["unload",aBlock]);
  2824. return self},
  2825. args: ["aBlock"],
  2826. source: "onUnload: aBlock\x0a\x09self asJQuery bind: 'unload' do: aBlock",
  2827. messageSends: ["bind:do:", "asJQuery"],
  2828. referencedClasses: []
  2829. }),
  2830. smalltalk.TagBrush);
  2831. smalltalk.addMethod(
  2832. "_placeholder_",
  2833. smalltalk.method({
  2834. selector: "placeholder:",
  2835. category: 'attributes',
  2836. fn: function (aString){
  2837. var self=this;
  2838. smalltalk.send(self,"_at_put_",["placeholder",aString]);
  2839. return self},
  2840. args: ["aString"],
  2841. source: "placeholder: aString\x0a\x09self at: 'placeholder' put: aString",
  2842. messageSends: ["at:put:"],
  2843. referencedClasses: []
  2844. }),
  2845. smalltalk.TagBrush);
  2846. smalltalk.addMethod(
  2847. "_rel_",
  2848. smalltalk.method({
  2849. selector: "rel:",
  2850. category: 'attributes',
  2851. fn: function (aString){
  2852. var self=this;
  2853. smalltalk.send(self,"_at_put_",["rel",aString]);
  2854. return self},
  2855. args: ["aString"],
  2856. source: "rel: aString\x0a self at: 'rel' put: aString",
  2857. messageSends: ["at:put:"],
  2858. referencedClasses: []
  2859. }),
  2860. smalltalk.TagBrush);
  2861. smalltalk.addMethod(
  2862. "_removeAt_",
  2863. smalltalk.method({
  2864. selector: "removeAt:",
  2865. category: 'attributes',
  2866. fn: function (aString){
  2867. var self=this;
  2868. self['@element'].removeAttribute(aString);
  2869. ;
  2870. return self},
  2871. args: ["aString"],
  2872. source: "removeAt: aString\x0a <self['@element'].removeAttribute(aString)>",
  2873. messageSends: [],
  2874. referencedClasses: []
  2875. }),
  2876. smalltalk.TagBrush);
  2877. smalltalk.addMethod(
  2878. "_rows_",
  2879. smalltalk.method({
  2880. selector: "rows:",
  2881. category: 'attributes',
  2882. fn: function (aString){
  2883. var self=this;
  2884. smalltalk.send(self,"_at_put_",["rows",aString]);
  2885. return self},
  2886. args: ["aString"],
  2887. source: "rows: aString\x0a\x09self at: 'rows' put: aString",
  2888. messageSends: ["at:put:"],
  2889. referencedClasses: []
  2890. }),
  2891. smalltalk.TagBrush);
  2892. smalltalk.addMethod(
  2893. "_src_",
  2894. smalltalk.method({
  2895. selector: "src:",
  2896. category: 'attributes',
  2897. fn: function (aString){
  2898. var self=this;
  2899. smalltalk.send(self,"_at_put_",["src",aString]);
  2900. return self},
  2901. args: ["aString"],
  2902. source: "src: aString\x0a self at: 'src' put: aString",
  2903. messageSends: ["at:put:"],
  2904. referencedClasses: []
  2905. }),
  2906. smalltalk.TagBrush);
  2907. smalltalk.addMethod(
  2908. "_style_",
  2909. smalltalk.method({
  2910. selector: "style:",
  2911. category: 'attributes',
  2912. fn: function (aString){
  2913. var self=this;
  2914. smalltalk.send(self,"_at_put_",["style",aString]);
  2915. return self},
  2916. args: ["aString"],
  2917. source: "style: aString\x0a self at: 'style' put: aString",
  2918. messageSends: ["at:put:"],
  2919. referencedClasses: []
  2920. }),
  2921. smalltalk.TagBrush);
  2922. smalltalk.addMethod(
  2923. "_tabindex_",
  2924. smalltalk.method({
  2925. selector: "tabindex:",
  2926. category: 'attributes',
  2927. fn: function (aNumber){
  2928. var self=this;
  2929. smalltalk.send(self,"_at_put_",["tabindex",aNumber]);
  2930. return self},
  2931. args: ["aNumber"],
  2932. source: "tabindex: aNumber\x0a\x09self at: 'tabindex' put: aNumber",
  2933. messageSends: ["at:put:"],
  2934. referencedClasses: []
  2935. }),
  2936. smalltalk.TagBrush);
  2937. smalltalk.addMethod(
  2938. "_target_",
  2939. smalltalk.method({
  2940. selector: "target:",
  2941. category: 'attributes',
  2942. fn: function (aString){
  2943. var self=this;
  2944. smalltalk.send(self,"_at_put_",["target",aString]);
  2945. return self},
  2946. args: ["aString"],
  2947. source: "target: aString\x0a\x09self at: 'target' put: aString",
  2948. messageSends: ["at:put:"],
  2949. referencedClasses: []
  2950. }),
  2951. smalltalk.TagBrush);
  2952. smalltalk.addMethod(
  2953. "_title_",
  2954. smalltalk.method({
  2955. selector: "title:",
  2956. category: 'attributes',
  2957. fn: function (aString){
  2958. var self=this;
  2959. smalltalk.send(self,"_at_put_",["title",aString]);
  2960. return self},
  2961. args: ["aString"],
  2962. source: "title: aString\x0a self at: 'title' put: aString",
  2963. messageSends: ["at:put:"],
  2964. referencedClasses: []
  2965. }),
  2966. smalltalk.TagBrush);
  2967. smalltalk.addMethod(
  2968. "_type_",
  2969. smalltalk.method({
  2970. selector: "type:",
  2971. category: 'attributes',
  2972. fn: function (aString){
  2973. var self=this;
  2974. smalltalk.send(self,"_at_put_",["type",aString]);
  2975. return self},
  2976. args: ["aString"],
  2977. source: "type: aString\x0a self at: 'type' put: aString",
  2978. messageSends: ["at:put:"],
  2979. referencedClasses: []
  2980. }),
  2981. smalltalk.TagBrush);
  2982. smalltalk.addMethod(
  2983. "_valign_",
  2984. smalltalk.method({
  2985. selector: "valign:",
  2986. category: 'attributes',
  2987. fn: function (aString){
  2988. var self=this;
  2989. smalltalk.send(self,"_at_put_",["valign",aString]);
  2990. return self},
  2991. args: ["aString"],
  2992. source: "valign: aString\x0a\x09self at: 'valign' put: aString",
  2993. messageSends: ["at:put:"],
  2994. referencedClasses: []
  2995. }),
  2996. smalltalk.TagBrush);
  2997. smalltalk.addMethod(
  2998. "_value_",
  2999. smalltalk.method({
  3000. selector: "value:",
  3001. category: 'attributes',
  3002. fn: function (aString){
  3003. var self=this;
  3004. smalltalk.send(self,"_at_put_",["value",aString]);
  3005. return self},
  3006. args: ["aString"],
  3007. source: "value: aString\x0a self at: 'value' put: aString",
  3008. messageSends: ["at:put:"],
  3009. referencedClasses: []
  3010. }),
  3011. smalltalk.TagBrush);
  3012. smalltalk.addMethod(
  3013. "_width_",
  3014. smalltalk.method({
  3015. selector: "width:",
  3016. category: 'attributes',
  3017. fn: function (aString){
  3018. var self=this;
  3019. smalltalk.send(self,"_at_put_",["width",aString]);
  3020. return self},
  3021. args: ["aString"],
  3022. source: "width: aString\x0a self at: 'width' put: aString",
  3023. messageSends: ["at:put:"],
  3024. referencedClasses: []
  3025. }),
  3026. smalltalk.TagBrush);
  3027. smalltalk.addMethod(
  3028. "_with_",
  3029. smalltalk.method({
  3030. selector: "with:",
  3031. category: 'adding',
  3032. fn: function (anObject){
  3033. var self=this;
  3034. smalltalk.send(self,"_append_",[anObject]);
  3035. return self},
  3036. args: ["anObject"],
  3037. source: "with: anObject\x0a self append: anObject",
  3038. messageSends: ["append:"],
  3039. referencedClasses: []
  3040. }),
  3041. smalltalk.TagBrush);
  3042. smalltalk.addMethod(
  3043. "_fromJQuery_canvas_",
  3044. smalltalk.method({
  3045. selector: "fromJQuery:canvas:",
  3046. category: 'instance creation',
  3047. fn: function (aJQuery,aCanvas){
  3048. var self=this;
  3049. var $2,$3,$1;
  3050. $2=smalltalk.send(self,"_new",[]);
  3051. smalltalk.send($2,"_initializeFromJQuery_canvas_",[aJQuery,aCanvas]);
  3052. $3=smalltalk.send($2,"_yourself",[]);
  3053. $1=$3;
  3054. return $1;
  3055. },
  3056. args: ["aJQuery", "aCanvas"],
  3057. source: "fromJQuery: aJQuery canvas: aCanvas\x0a ^self new\x0a\x09initializeFromJQuery: aJQuery canvas: aCanvas;\x0a\x09yourself",
  3058. messageSends: ["initializeFromJQuery:canvas:", "new", "yourself"],
  3059. referencedClasses: []
  3060. }),
  3061. smalltalk.TagBrush.klass);
  3062. smalltalk.addMethod(
  3063. "_fromString_canvas_",
  3064. smalltalk.method({
  3065. selector: "fromString:canvas:",
  3066. category: 'instance creation',
  3067. fn: function (aString,aCanvas){
  3068. var self=this;
  3069. var $2,$3,$1;
  3070. $2=smalltalk.send(self,"_new",[]);
  3071. smalltalk.send($2,"_initializeFromString_canvas_",[aString,aCanvas]);
  3072. $3=smalltalk.send($2,"_yourself",[]);
  3073. $1=$3;
  3074. return $1;
  3075. },
  3076. args: ["aString", "aCanvas"],
  3077. source: "fromString: aString canvas: aCanvas\x0a ^self new\x0a\x09initializeFromString: aString canvas: aCanvas;\x0a\x09yourself",
  3078. messageSends: ["initializeFromString:canvas:", "new", "yourself"],
  3079. referencedClasses: []
  3080. }),
  3081. smalltalk.TagBrush.klass);
  3082. smalltalk.addClass('StyleTag', smalltalk.TagBrush, ['canvas', 'element'], 'Canvas');
  3083. smalltalk.StyleTag.comment="I'm a <style> tag use to inline CSS or load a stylesheet.\x0a\x0aFor inlining handle IE compatibility problems."
  3084. smalltalk.addMethod(
  3085. "_with_",
  3086. smalltalk.method({
  3087. selector: "with:",
  3088. category: 'adding',
  3089. fn: function (aString){
  3090. var self=this;
  3091. var $1;
  3092. $1=smalltalk.send((smalltalk.HTMLCanvas || HTMLCanvas),"_isMSIE",[]);
  3093. if(smalltalk.assert($1)){
  3094. smalltalk.send(smalltalk.send(smalltalk.send(self,"_element",[]),"_styleSheet",[]),"_cssText_",[aString]);
  3095. } else {
  3096. smalltalk.send(self,"_with_",[aString],smalltalk.TagBrush);
  3097. };
  3098. return self},
  3099. args: ["aString"],
  3100. source: "with: aString\x0a\x09HTMLCanvas isMSIE\x0a\x09\x09ifTrue: [self element styleSheet cssText: aString ]\x0a\x09\x09ifFalse: [super with: aString ].",
  3101. messageSends: ["ifTrue:ifFalse:", "cssText:", "styleSheet", "element", "with:", "isMSIE"],
  3102. referencedClasses: ["HTMLCanvas"]
  3103. }),
  3104. smalltalk.StyleTag);
  3105. smalltalk.addMethod(
  3106. "_canvas_",
  3107. smalltalk.method({
  3108. selector: "canvas:",
  3109. category: 'instance creation',
  3110. fn: function (aCanvas){
  3111. var self=this;
  3112. var $2,$3,$1;
  3113. $2=smalltalk.send(self,"_new",[]);
  3114. smalltalk.send($2,"_initializeFromString_canvas_",["style",aCanvas]);
  3115. $3=smalltalk.send($2,"_yourself",[]);
  3116. $1=$3;
  3117. return $1;
  3118. },
  3119. args: ["aCanvas"],
  3120. source: "canvas: aCanvas\x0a ^self new\x0a\x09initializeFromString: 'style' canvas: aCanvas;\x0a\x09yourself",
  3121. messageSends: ["initializeFromString:canvas:", "new", "yourself"],
  3122. referencedClasses: []
  3123. }),
  3124. smalltalk.StyleTag.klass);
  3125. smalltalk.addClass('Widget', smalltalk.Object, [], 'Canvas');
  3126. smalltalk.addMethod(
  3127. "_appendToBrush_",
  3128. smalltalk.method({
  3129. selector: "appendToBrush:",
  3130. category: 'adding',
  3131. fn: function (aTagBrush){
  3132. var self=this;
  3133. smalltalk.send(self,"_appendToJQuery_",[smalltalk.send(aTagBrush,"_asJQuery",[])]);
  3134. return self},
  3135. args: ["aTagBrush"],
  3136. source: "appendToBrush: aTagBrush\x0a self appendToJQuery: aTagBrush asJQuery",
  3137. messageSends: ["appendToJQuery:", "asJQuery"],
  3138. referencedClasses: []
  3139. }),
  3140. smalltalk.Widget);
  3141. smalltalk.addMethod(
  3142. "_appendToJQuery_",
  3143. smalltalk.method({
  3144. selector: "appendToJQuery:",
  3145. category: 'adding',
  3146. fn: function (aJQuery){
  3147. var self=this;
  3148. smalltalk.send(self,"_renderOn_",[smalltalk.send((smalltalk.HTMLCanvas || HTMLCanvas),"_onJQuery_",[aJQuery])]);
  3149. return self},
  3150. args: ["aJQuery"],
  3151. source: "appendToJQuery: aJQuery\x0a self renderOn: (HTMLCanvas onJQuery: aJQuery)",
  3152. messageSends: ["renderOn:", "onJQuery:"],
  3153. referencedClasses: ["HTMLCanvas"]
  3154. }),
  3155. smalltalk.Widget);
  3156. smalltalk.addMethod(
  3157. "_renderOn_",
  3158. smalltalk.method({
  3159. selector: "renderOn:",
  3160. category: 'rendering',
  3161. fn: function (html){
  3162. var self=this;
  3163. return self},
  3164. args: ["html"],
  3165. source: "renderOn: html\x0a self",
  3166. messageSends: [],
  3167. referencedClasses: []
  3168. }),
  3169. smalltalk.Widget);
  3170. smalltalk.addMethod(
  3171. "_appendToBrush_",
  3172. smalltalk.method({
  3173. selector: "appendToBrush:",
  3174. category: '*Canvas',
  3175. fn: function (aTagBrush){
  3176. var self=this;
  3177. smalltalk.send(aTagBrush,"_append_",[smalltalk.send(self,"_asString",[])]);
  3178. return self},
  3179. args: ["aTagBrush"],
  3180. source: "appendToBrush: aTagBrush\x0a aTagBrush append: self asString",
  3181. messageSends: ["append:", "asString"],
  3182. referencedClasses: []
  3183. }),
  3184. smalltalk.Object);
  3185. smalltalk.addMethod(
  3186. "_appendToJQuery_",
  3187. smalltalk.method({
  3188. selector: "appendToJQuery:",
  3189. category: '*Canvas',
  3190. fn: function (aJQuery){
  3191. var self=this;
  3192. smalltalk.send(aJQuery,"_append_",[smalltalk.send(self,"_asString",[])]);
  3193. return self},
  3194. args: ["aJQuery"],
  3195. source: "appendToJQuery: aJQuery\x0a aJQuery append: self asString",
  3196. messageSends: ["append:", "asString"],
  3197. referencedClasses: []
  3198. }),
  3199. smalltalk.Object);
  3200. smalltalk.addMethod(
  3201. "_appendToBrush_",
  3202. smalltalk.method({
  3203. selector: "appendToBrush:",
  3204. category: '*Canvas',
  3205. fn: function (aTagBrush){
  3206. var self=this;
  3207. smalltalk.send(aTagBrush,"_appendBlock_",[self]);
  3208. return self},
  3209. args: ["aTagBrush"],
  3210. source: "appendToBrush: aTagBrush\x0a aTagBrush appendBlock: self",
  3211. messageSends: ["appendBlock:"],
  3212. referencedClasses: []
  3213. }),
  3214. smalltalk.BlockClosure);
  3215. smalltalk.addMethod(
  3216. "_appendToJQuery_",
  3217. smalltalk.method({
  3218. selector: "appendToJQuery:",
  3219. category: '*Canvas',
  3220. fn: function (aJQuery){
  3221. var self=this;
  3222. smalltalk.send(self,"_value_",[smalltalk.send((smalltalk.HTMLCanvas || HTMLCanvas),"_onJQuery_",[aJQuery])]);
  3223. return self},
  3224. args: ["aJQuery"],
  3225. source: "appendToJQuery: aJQuery\x0a self value: (HTMLCanvas onJQuery: aJQuery)",
  3226. messageSends: ["value:", "onJQuery:"],
  3227. referencedClasses: ["HTMLCanvas"]
  3228. }),
  3229. smalltalk.BlockClosure);
  3230. smalltalk.addMethod(
  3231. "_appendToBrush_",
  3232. smalltalk.method({
  3233. selector: "appendToBrush:",
  3234. category: '*Canvas',
  3235. fn: function (aTagBrush){
  3236. var self=this;
  3237. smalltalk.send(aTagBrush,"_appendString_",[self]);
  3238. return self},
  3239. args: ["aTagBrush"],
  3240. source: "appendToBrush: aTagBrush\x0a aTagBrush appendString: self",
  3241. messageSends: ["appendString:"],
  3242. referencedClasses: []
  3243. }),
  3244. smalltalk.String);
  3245. smalltalk.addMethod(
  3246. "_appendToJQuery_",
  3247. smalltalk.method({
  3248. selector: "appendToJQuery:",
  3249. category: '*Canvas',
  3250. fn: function (aJQuery){
  3251. var self=this;
  3252. smalltalk.send(aJQuery,"_append_",[self]);
  3253. return self},
  3254. args: ["aJQuery"],
  3255. source: "appendToJQuery: aJQuery\x0a aJQuery append: self",
  3256. messageSends: ["append:"],
  3257. referencedClasses: []
  3258. }),
  3259. smalltalk.String);
  3260. smalltalk.addMethod(
  3261. "_asJQuery",
  3262. smalltalk.method({
  3263. selector: "asJQuery",
  3264. category: '*Canvas',
  3265. fn: function (){
  3266. var self=this;
  3267. return jQuery(String(self));
  3268. ;
  3269. return self},
  3270. args: [],
  3271. source: "asJQuery\x0a <return jQuery(String(self))>",
  3272. messageSends: [],
  3273. referencedClasses: []
  3274. }),
  3275. smalltalk.String);