2
0

Canvas.js 73 KB

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