1
0

Canvas.js 72 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499
  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);
  3276. smalltalk.addMethod(
  3277. "_asJQuery",
  3278. smalltalk.method({
  3279. selector: "asJQuery",
  3280. category: '*Canvas',
  3281. fn: function (){
  3282. var self=this;
  3283. return jQuery(self['@jsObject']);
  3284. ;
  3285. return self},
  3286. args: [],
  3287. source: "asJQuery\x0a <return jQuery(self['@jsObject'])>",
  3288. messageSends: [],
  3289. referencedClasses: []
  3290. }),
  3291. smalltalk.JSObjectProxy);