Canvas.deploy.js 64 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499
  1. smalltalk.addPackage('Canvas', {});
  2. smalltalk.addClass('HTMLCanvas', smalltalk.Object, ['root'], 'Canvas');
  3. smalltalk.addMethod(
  4. "_a",
  5. smalltalk.method({
  6. selector: "a",
  7. fn: function (){
  8. var self=this;
  9. return smalltalk.withContext(function($ctx1) { var $1;
  10. $1=_st(self)._tag_("a");
  11. return $1;
  12. }, function($ctx1) {$ctx1.fill(self,"a",{}, smalltalk.HTMLCanvas)})}
  13. }),
  14. smalltalk.HTMLCanvas);
  15. smalltalk.addMethod(
  16. "_abbr",
  17. smalltalk.method({
  18. selector: "abbr",
  19. fn: function (){
  20. var self=this;
  21. return smalltalk.withContext(function($ctx1) { var $1;
  22. $1=_st(self)._tag_("abbr");
  23. return $1;
  24. }, function($ctx1) {$ctx1.fill(self,"abbr",{}, smalltalk.HTMLCanvas)})}
  25. }),
  26. smalltalk.HTMLCanvas);
  27. smalltalk.addMethod(
  28. "_address",
  29. smalltalk.method({
  30. selector: "address",
  31. fn: function (){
  32. var self=this;
  33. return smalltalk.withContext(function($ctx1) { var $1;
  34. $1=_st(self)._tag_("address");
  35. return $1;
  36. }, function($ctx1) {$ctx1.fill(self,"address",{}, smalltalk.HTMLCanvas)})}
  37. }),
  38. smalltalk.HTMLCanvas);
  39. smalltalk.addMethod(
  40. "_area",
  41. smalltalk.method({
  42. selector: "area",
  43. fn: function (){
  44. var self=this;
  45. return smalltalk.withContext(function($ctx1) { var $1;
  46. $1=_st(self)._tag_("area");
  47. return $1;
  48. }, function($ctx1) {$ctx1.fill(self,"area",{}, smalltalk.HTMLCanvas)})}
  49. }),
  50. smalltalk.HTMLCanvas);
  51. smalltalk.addMethod(
  52. "_article",
  53. smalltalk.method({
  54. selector: "article",
  55. fn: function (){
  56. var self=this;
  57. return smalltalk.withContext(function($ctx1) { var $1;
  58. $1=_st(self)._tag_("article");
  59. return $1;
  60. }, function($ctx1) {$ctx1.fill(self,"article",{}, smalltalk.HTMLCanvas)})}
  61. }),
  62. smalltalk.HTMLCanvas);
  63. smalltalk.addMethod(
  64. "_aside",
  65. smalltalk.method({
  66. selector: "aside",
  67. fn: function (){
  68. var self=this;
  69. return smalltalk.withContext(function($ctx1) { var $1;
  70. $1=_st(self)._tag_("aside");
  71. return $1;
  72. }, function($ctx1) {$ctx1.fill(self,"aside",{}, smalltalk.HTMLCanvas)})}
  73. }),
  74. smalltalk.HTMLCanvas);
  75. smalltalk.addMethod(
  76. "_audio",
  77. smalltalk.method({
  78. selector: "audio",
  79. fn: function (){
  80. var self=this;
  81. return smalltalk.withContext(function($ctx1) { var $1;
  82. $1=_st(self)._tag_("audio");
  83. return $1;
  84. }, function($ctx1) {$ctx1.fill(self,"audio",{}, smalltalk.HTMLCanvas)})}
  85. }),
  86. smalltalk.HTMLCanvas);
  87. smalltalk.addMethod(
  88. "_base",
  89. smalltalk.method({
  90. selector: "base",
  91. fn: function (){
  92. var self=this;
  93. return smalltalk.withContext(function($ctx1) { var $1;
  94. $1=_st(self)._tag_("base");
  95. return $1;
  96. }, function($ctx1) {$ctx1.fill(self,"base",{}, smalltalk.HTMLCanvas)})}
  97. }),
  98. smalltalk.HTMLCanvas);
  99. smalltalk.addMethod(
  100. "_blockquote",
  101. smalltalk.method({
  102. selector: "blockquote",
  103. fn: function (){
  104. var self=this;
  105. return smalltalk.withContext(function($ctx1) { var $1;
  106. $1=_st(self)._tag_("blockquote");
  107. return $1;
  108. }, function($ctx1) {$ctx1.fill(self,"blockquote",{}, smalltalk.HTMLCanvas)})}
  109. }),
  110. smalltalk.HTMLCanvas);
  111. smalltalk.addMethod(
  112. "_body",
  113. smalltalk.method({
  114. selector: "body",
  115. fn: function (){
  116. var self=this;
  117. return smalltalk.withContext(function($ctx1) { var $1;
  118. $1=_st(self)._tag_("body");
  119. return $1;
  120. }, function($ctx1) {$ctx1.fill(self,"body",{}, smalltalk.HTMLCanvas)})}
  121. }),
  122. smalltalk.HTMLCanvas);
  123. smalltalk.addMethod(
  124. "_br",
  125. smalltalk.method({
  126. selector: "br",
  127. fn: function (){
  128. var self=this;
  129. return smalltalk.withContext(function($ctx1) { var $1;
  130. $1=_st(self)._tag_("br");
  131. return $1;
  132. }, function($ctx1) {$ctx1.fill(self,"br",{}, smalltalk.HTMLCanvas)})}
  133. }),
  134. smalltalk.HTMLCanvas);
  135. smalltalk.addMethod(
  136. "_button",
  137. smalltalk.method({
  138. selector: "button",
  139. fn: function (){
  140. var self=this;
  141. return smalltalk.withContext(function($ctx1) { var $1;
  142. $1=_st(self)._tag_("button");
  143. return $1;
  144. }, function($ctx1) {$ctx1.fill(self,"button",{}, smalltalk.HTMLCanvas)})}
  145. }),
  146. smalltalk.HTMLCanvas);
  147. smalltalk.addMethod(
  148. "_canvas",
  149. smalltalk.method({
  150. selector: "canvas",
  151. fn: function (){
  152. var self=this;
  153. return smalltalk.withContext(function($ctx1) { var $1;
  154. $1=_st(self)._tag_("canvas");
  155. return $1;
  156. }, function($ctx1) {$ctx1.fill(self,"canvas",{}, smalltalk.HTMLCanvas)})}
  157. }),
  158. smalltalk.HTMLCanvas);
  159. smalltalk.addMethod(
  160. "_caption",
  161. smalltalk.method({
  162. selector: "caption",
  163. fn: function (){
  164. var self=this;
  165. return smalltalk.withContext(function($ctx1) { var $1;
  166. $1=_st(self)._tag_("caption");
  167. return $1;
  168. }, function($ctx1) {$ctx1.fill(self,"caption",{}, smalltalk.HTMLCanvas)})}
  169. }),
  170. smalltalk.HTMLCanvas);
  171. smalltalk.addMethod(
  172. "_cite",
  173. smalltalk.method({
  174. selector: "cite",
  175. fn: function (){
  176. var self=this;
  177. return smalltalk.withContext(function($ctx1) { var $1;
  178. $1=_st(self)._tag_("cite");
  179. return $1;
  180. }, function($ctx1) {$ctx1.fill(self,"cite",{}, smalltalk.HTMLCanvas)})}
  181. }),
  182. smalltalk.HTMLCanvas);
  183. smalltalk.addMethod(
  184. "_code",
  185. smalltalk.method({
  186. selector: "code",
  187. fn: function (){
  188. var self=this;
  189. return smalltalk.withContext(function($ctx1) { var $1;
  190. $1=_st(self)._tag_("code");
  191. return $1;
  192. }, function($ctx1) {$ctx1.fill(self,"code",{}, smalltalk.HTMLCanvas)})}
  193. }),
  194. smalltalk.HTMLCanvas);
  195. smalltalk.addMethod(
  196. "_col",
  197. smalltalk.method({
  198. selector: "col",
  199. fn: function (){
  200. var self=this;
  201. return smalltalk.withContext(function($ctx1) { var $1;
  202. $1=_st(self)._tag_("col");
  203. return $1;
  204. }, function($ctx1) {$ctx1.fill(self,"col",{}, smalltalk.HTMLCanvas)})}
  205. }),
  206. smalltalk.HTMLCanvas);
  207. smalltalk.addMethod(
  208. "_colgroup",
  209. smalltalk.method({
  210. selector: "colgroup",
  211. fn: function (){
  212. var self=this;
  213. return smalltalk.withContext(function($ctx1) { var $1;
  214. $1=_st(self)._tag_("colgroup");
  215. return $1;
  216. }, function($ctx1) {$ctx1.fill(self,"colgroup",{}, smalltalk.HTMLCanvas)})}
  217. }),
  218. smalltalk.HTMLCanvas);
  219. smalltalk.addMethod(
  220. "_command",
  221. smalltalk.method({
  222. selector: "command",
  223. fn: function (){
  224. var self=this;
  225. return smalltalk.withContext(function($ctx1) { var $1;
  226. $1=_st(self)._tag_("command");
  227. return $1;
  228. }, function($ctx1) {$ctx1.fill(self,"command",{}, smalltalk.HTMLCanvas)})}
  229. }),
  230. smalltalk.HTMLCanvas);
  231. smalltalk.addMethod(
  232. "_datalist",
  233. smalltalk.method({
  234. selector: "datalist",
  235. fn: function (){
  236. var self=this;
  237. return smalltalk.withContext(function($ctx1) { var $1;
  238. $1=_st(self)._tag_("datalist");
  239. return $1;
  240. }, function($ctx1) {$ctx1.fill(self,"datalist",{}, smalltalk.HTMLCanvas)})}
  241. }),
  242. smalltalk.HTMLCanvas);
  243. smalltalk.addMethod(
  244. "_dd",
  245. smalltalk.method({
  246. selector: "dd",
  247. fn: function (){
  248. var self=this;
  249. return smalltalk.withContext(function($ctx1) { var $1;
  250. $1=_st(self)._tag_("dd");
  251. return $1;
  252. }, function($ctx1) {$ctx1.fill(self,"dd",{}, smalltalk.HTMLCanvas)})}
  253. }),
  254. smalltalk.HTMLCanvas);
  255. smalltalk.addMethod(
  256. "_del",
  257. smalltalk.method({
  258. selector: "del",
  259. fn: function (){
  260. var self=this;
  261. return smalltalk.withContext(function($ctx1) { var $1;
  262. $1=_st(self)._tag_("del");
  263. return $1;
  264. }, function($ctx1) {$ctx1.fill(self,"del",{}, smalltalk.HTMLCanvas)})}
  265. }),
  266. smalltalk.HTMLCanvas);
  267. smalltalk.addMethod(
  268. "_details",
  269. smalltalk.method({
  270. selector: "details",
  271. fn: function (){
  272. var self=this;
  273. return smalltalk.withContext(function($ctx1) { var $1;
  274. $1=_st(self)._tag_("details");
  275. return $1;
  276. }, function($ctx1) {$ctx1.fill(self,"details",{}, smalltalk.HTMLCanvas)})}
  277. }),
  278. smalltalk.HTMLCanvas);
  279. smalltalk.addMethod(
  280. "_div",
  281. smalltalk.method({
  282. selector: "div",
  283. fn: function (){
  284. var self=this;
  285. return smalltalk.withContext(function($ctx1) { var $1;
  286. $1=_st(self)._tag_("div");
  287. return $1;
  288. }, function($ctx1) {$ctx1.fill(self,"div",{}, smalltalk.HTMLCanvas)})}
  289. }),
  290. smalltalk.HTMLCanvas);
  291. smalltalk.addMethod(
  292. "_div_",
  293. smalltalk.method({
  294. selector: "div:",
  295. fn: function (aBlock){
  296. var self=this;
  297. return smalltalk.withContext(function($ctx1) { var $1;
  298. $1=_st(_st(self)._div())._with_(aBlock);
  299. return $1;
  300. }, function($ctx1) {$ctx1.fill(self,"div:",{aBlock:aBlock}, smalltalk.HTMLCanvas)})}
  301. }),
  302. smalltalk.HTMLCanvas);
  303. smalltalk.addMethod(
  304. "_dl",
  305. smalltalk.method({
  306. selector: "dl",
  307. fn: function (){
  308. var self=this;
  309. return smalltalk.withContext(function($ctx1) { var $1;
  310. $1=_st(self)._tag_("dl");
  311. return $1;
  312. }, function($ctx1) {$ctx1.fill(self,"dl",{}, smalltalk.HTMLCanvas)})}
  313. }),
  314. smalltalk.HTMLCanvas);
  315. smalltalk.addMethod(
  316. "_dt",
  317. smalltalk.method({
  318. selector: "dt",
  319. fn: function (){
  320. var self=this;
  321. return smalltalk.withContext(function($ctx1) { var $1;
  322. $1=_st(self)._tag_("dt");
  323. return $1;
  324. }, function($ctx1) {$ctx1.fill(self,"dt",{}, smalltalk.HTMLCanvas)})}
  325. }),
  326. smalltalk.HTMLCanvas);
  327. smalltalk.addMethod(
  328. "_em",
  329. smalltalk.method({
  330. selector: "em",
  331. fn: function (){
  332. var self=this;
  333. return smalltalk.withContext(function($ctx1) { var $1;
  334. $1=_st(self)._tag_("em");
  335. return $1;
  336. }, function($ctx1) {$ctx1.fill(self,"em",{}, smalltalk.HTMLCanvas)})}
  337. }),
  338. smalltalk.HTMLCanvas);
  339. smalltalk.addMethod(
  340. "_embed",
  341. smalltalk.method({
  342. selector: "embed",
  343. fn: function (){
  344. var self=this;
  345. return smalltalk.withContext(function($ctx1) { var $1;
  346. $1=_st(self)._tag_("embed");
  347. return $1;
  348. }, function($ctx1) {$ctx1.fill(self,"embed",{}, smalltalk.HTMLCanvas)})}
  349. }),
  350. smalltalk.HTMLCanvas);
  351. smalltalk.addMethod(
  352. "_fieldset",
  353. smalltalk.method({
  354. selector: "fieldset",
  355. fn: function (){
  356. var self=this;
  357. return smalltalk.withContext(function($ctx1) { var $1;
  358. $1=_st(self)._tag_("fieldset");
  359. return $1;
  360. }, function($ctx1) {$ctx1.fill(self,"fieldset",{}, smalltalk.HTMLCanvas)})}
  361. }),
  362. smalltalk.HTMLCanvas);
  363. smalltalk.addMethod(
  364. "_figcaption",
  365. smalltalk.method({
  366. selector: "figcaption",
  367. fn: function (){
  368. var self=this;
  369. return smalltalk.withContext(function($ctx1) { var $1;
  370. $1=_st(self)._tag_("figcaption");
  371. return $1;
  372. }, function($ctx1) {$ctx1.fill(self,"figcaption",{}, smalltalk.HTMLCanvas)})}
  373. }),
  374. smalltalk.HTMLCanvas);
  375. smalltalk.addMethod(
  376. "_figure",
  377. smalltalk.method({
  378. selector: "figure",
  379. fn: function (){
  380. var self=this;
  381. return smalltalk.withContext(function($ctx1) { var $1;
  382. $1=_st(self)._tag_("figure");
  383. return $1;
  384. }, function($ctx1) {$ctx1.fill(self,"figure",{}, smalltalk.HTMLCanvas)})}
  385. }),
  386. smalltalk.HTMLCanvas);
  387. smalltalk.addMethod(
  388. "_footer",
  389. smalltalk.method({
  390. selector: "footer",
  391. fn: function (){
  392. var self=this;
  393. return smalltalk.withContext(function($ctx1) { var $1;
  394. $1=_st(self)._tag_("footer");
  395. return $1;
  396. }, function($ctx1) {$ctx1.fill(self,"footer",{}, smalltalk.HTMLCanvas)})}
  397. }),
  398. smalltalk.HTMLCanvas);
  399. smalltalk.addMethod(
  400. "_form",
  401. smalltalk.method({
  402. selector: "form",
  403. fn: function (){
  404. var self=this;
  405. return smalltalk.withContext(function($ctx1) { var $1;
  406. $1=_st(self)._tag_("form");
  407. return $1;
  408. }, function($ctx1) {$ctx1.fill(self,"form",{}, smalltalk.HTMLCanvas)})}
  409. }),
  410. smalltalk.HTMLCanvas);
  411. smalltalk.addMethod(
  412. "_h1",
  413. smalltalk.method({
  414. selector: "h1",
  415. fn: function (){
  416. var self=this;
  417. return smalltalk.withContext(function($ctx1) { var $1;
  418. $1=_st(self)._tag_("h1");
  419. return $1;
  420. }, function($ctx1) {$ctx1.fill(self,"h1",{}, smalltalk.HTMLCanvas)})}
  421. }),
  422. smalltalk.HTMLCanvas);
  423. smalltalk.addMethod(
  424. "_h1_",
  425. smalltalk.method({
  426. selector: "h1:",
  427. fn: function (anObject){
  428. var self=this;
  429. return smalltalk.withContext(function($ctx1) { var $1;
  430. $1=_st(_st(self)._h1())._with_(anObject);
  431. return $1;
  432. }, function($ctx1) {$ctx1.fill(self,"h1:",{anObject:anObject}, smalltalk.HTMLCanvas)})}
  433. }),
  434. smalltalk.HTMLCanvas);
  435. smalltalk.addMethod(
  436. "_h2",
  437. smalltalk.method({
  438. selector: "h2",
  439. fn: function (){
  440. var self=this;
  441. return smalltalk.withContext(function($ctx1) { var $1;
  442. $1=_st(self)._tag_("h2");
  443. return $1;
  444. }, function($ctx1) {$ctx1.fill(self,"h2",{}, smalltalk.HTMLCanvas)})}
  445. }),
  446. smalltalk.HTMLCanvas);
  447. smalltalk.addMethod(
  448. "_h2_",
  449. smalltalk.method({
  450. selector: "h2:",
  451. fn: function (anObject){
  452. var self=this;
  453. return smalltalk.withContext(function($ctx1) { var $1;
  454. $1=_st(_st(self)._h2())._with_(anObject);
  455. return $1;
  456. }, function($ctx1) {$ctx1.fill(self,"h2:",{anObject:anObject}, smalltalk.HTMLCanvas)})}
  457. }),
  458. smalltalk.HTMLCanvas);
  459. smalltalk.addMethod(
  460. "_h3",
  461. smalltalk.method({
  462. selector: "h3",
  463. fn: function (){
  464. var self=this;
  465. return smalltalk.withContext(function($ctx1) { var $1;
  466. $1=_st(self)._tag_("h3");
  467. return $1;
  468. }, function($ctx1) {$ctx1.fill(self,"h3",{}, smalltalk.HTMLCanvas)})}
  469. }),
  470. smalltalk.HTMLCanvas);
  471. smalltalk.addMethod(
  472. "_h3_",
  473. smalltalk.method({
  474. selector: "h3:",
  475. fn: function (anObject){
  476. var self=this;
  477. return smalltalk.withContext(function($ctx1) { var $1;
  478. $1=_st(_st(self)._h3())._with_(anObject);
  479. return $1;
  480. }, function($ctx1) {$ctx1.fill(self,"h3:",{anObject:anObject}, smalltalk.HTMLCanvas)})}
  481. }),
  482. smalltalk.HTMLCanvas);
  483. smalltalk.addMethod(
  484. "_h4",
  485. smalltalk.method({
  486. selector: "h4",
  487. fn: function (){
  488. var self=this;
  489. return smalltalk.withContext(function($ctx1) { var $1;
  490. $1=_st(self)._tag_("h4");
  491. return $1;
  492. }, function($ctx1) {$ctx1.fill(self,"h4",{}, smalltalk.HTMLCanvas)})}
  493. }),
  494. smalltalk.HTMLCanvas);
  495. smalltalk.addMethod(
  496. "_h4_",
  497. smalltalk.method({
  498. selector: "h4:",
  499. fn: function (anObject){
  500. var self=this;
  501. return smalltalk.withContext(function($ctx1) { var $1;
  502. $1=_st(_st(self)._h4())._with_(anObject);
  503. return $1;
  504. }, function($ctx1) {$ctx1.fill(self,"h4:",{anObject:anObject}, smalltalk.HTMLCanvas)})}
  505. }),
  506. smalltalk.HTMLCanvas);
  507. smalltalk.addMethod(
  508. "_h5",
  509. smalltalk.method({
  510. selector: "h5",
  511. fn: function (){
  512. var self=this;
  513. return smalltalk.withContext(function($ctx1) { var $1;
  514. $1=_st(self)._tag_("h5");
  515. return $1;
  516. }, function($ctx1) {$ctx1.fill(self,"h5",{}, smalltalk.HTMLCanvas)})}
  517. }),
  518. smalltalk.HTMLCanvas);
  519. smalltalk.addMethod(
  520. "_h5_",
  521. smalltalk.method({
  522. selector: "h5:",
  523. fn: function (anObject){
  524. var self=this;
  525. return smalltalk.withContext(function($ctx1) { var $1;
  526. $1=_st(_st(self)._h5())._with_(anObject);
  527. return $1;
  528. }, function($ctx1) {$ctx1.fill(self,"h5:",{anObject:anObject}, smalltalk.HTMLCanvas)})}
  529. }),
  530. smalltalk.HTMLCanvas);
  531. smalltalk.addMethod(
  532. "_h6",
  533. smalltalk.method({
  534. selector: "h6",
  535. fn: function (){
  536. var self=this;
  537. return smalltalk.withContext(function($ctx1) { var $1;
  538. $1=_st(self)._tag_("h6");
  539. return $1;
  540. }, function($ctx1) {$ctx1.fill(self,"h6",{}, smalltalk.HTMLCanvas)})}
  541. }),
  542. smalltalk.HTMLCanvas);
  543. smalltalk.addMethod(
  544. "_h6_",
  545. smalltalk.method({
  546. selector: "h6:",
  547. fn: function (anObject){
  548. var self=this;
  549. return smalltalk.withContext(function($ctx1) { var $1;
  550. $1=_st(_st(self)._h6())._with_(anObject);
  551. return $1;
  552. }, function($ctx1) {$ctx1.fill(self,"h6:",{anObject:anObject}, smalltalk.HTMLCanvas)})}
  553. }),
  554. smalltalk.HTMLCanvas);
  555. smalltalk.addMethod(
  556. "_head",
  557. smalltalk.method({
  558. selector: "head",
  559. fn: function (){
  560. var self=this;
  561. return smalltalk.withContext(function($ctx1) { var $1;
  562. $1=_st(self)._tag_("head");
  563. return $1;
  564. }, function($ctx1) {$ctx1.fill(self,"head",{}, smalltalk.HTMLCanvas)})}
  565. }),
  566. smalltalk.HTMLCanvas);
  567. smalltalk.addMethod(
  568. "_header",
  569. smalltalk.method({
  570. selector: "header",
  571. fn: function (){
  572. var self=this;
  573. return smalltalk.withContext(function($ctx1) { var $1;
  574. $1=_st(self)._tag_("header");
  575. return $1;
  576. }, function($ctx1) {$ctx1.fill(self,"header",{}, smalltalk.HTMLCanvas)})}
  577. }),
  578. smalltalk.HTMLCanvas);
  579. smalltalk.addMethod(
  580. "_hgroup",
  581. smalltalk.method({
  582. selector: "hgroup",
  583. fn: function (){
  584. var self=this;
  585. return smalltalk.withContext(function($ctx1) { var $1;
  586. $1=_st(self)._tag_("hgroup");
  587. return $1;
  588. }, function($ctx1) {$ctx1.fill(self,"hgroup",{}, smalltalk.HTMLCanvas)})}
  589. }),
  590. smalltalk.HTMLCanvas);
  591. smalltalk.addMethod(
  592. "_hr",
  593. smalltalk.method({
  594. selector: "hr",
  595. fn: function (){
  596. var self=this;
  597. return smalltalk.withContext(function($ctx1) { var $1;
  598. $1=_st(self)._tag_("hr");
  599. return $1;
  600. }, function($ctx1) {$ctx1.fill(self,"hr",{}, smalltalk.HTMLCanvas)})}
  601. }),
  602. smalltalk.HTMLCanvas);
  603. smalltalk.addMethod(
  604. "_html",
  605. smalltalk.method({
  606. selector: "html",
  607. fn: function (){
  608. var self=this;
  609. return smalltalk.withContext(function($ctx1) { var $1;
  610. $1=_st(self)._tag_("html");
  611. return $1;
  612. }, function($ctx1) {$ctx1.fill(self,"html",{}, smalltalk.HTMLCanvas)})}
  613. }),
  614. smalltalk.HTMLCanvas);
  615. smalltalk.addMethod(
  616. "_iframe",
  617. smalltalk.method({
  618. selector: "iframe",
  619. fn: function (){
  620. var self=this;
  621. return smalltalk.withContext(function($ctx1) { var $1;
  622. $1=_st(self)._tag_("iframe");
  623. return $1;
  624. }, function($ctx1) {$ctx1.fill(self,"iframe",{}, smalltalk.HTMLCanvas)})}
  625. }),
  626. smalltalk.HTMLCanvas);
  627. smalltalk.addMethod(
  628. "_iframe_",
  629. smalltalk.method({
  630. selector: "iframe:",
  631. fn: function (aString){
  632. var self=this;
  633. return smalltalk.withContext(function($ctx1) { var $1;
  634. $1=_st(_st(self)._iframe())._src_(aString);
  635. return $1;
  636. }, function($ctx1) {$ctx1.fill(self,"iframe:",{aString:aString}, smalltalk.HTMLCanvas)})}
  637. }),
  638. smalltalk.HTMLCanvas);
  639. smalltalk.addMethod(
  640. "_img",
  641. smalltalk.method({
  642. selector: "img",
  643. fn: function (){
  644. var self=this;
  645. return smalltalk.withContext(function($ctx1) { var $1;
  646. $1=_st(self)._tag_("img");
  647. return $1;
  648. }, function($ctx1) {$ctx1.fill(self,"img",{}, smalltalk.HTMLCanvas)})}
  649. }),
  650. smalltalk.HTMLCanvas);
  651. smalltalk.addMethod(
  652. "_img_",
  653. smalltalk.method({
  654. selector: "img:",
  655. fn: function (aString){
  656. var self=this;
  657. return smalltalk.withContext(function($ctx1) { var $1;
  658. $1=_st(_st(self)._img())._src_(aString);
  659. return $1;
  660. }, function($ctx1) {$ctx1.fill(self,"img:",{aString:aString}, smalltalk.HTMLCanvas)})}
  661. }),
  662. smalltalk.HTMLCanvas);
  663. smalltalk.addMethod(
  664. "_initialize",
  665. smalltalk.method({
  666. selector: "initialize",
  667. fn: function (){
  668. var self=this;
  669. return smalltalk.withContext(function($ctx1) { var $1;
  670. smalltalk.Object.fn.prototype._initialize.apply(_st(self), []);
  671. $1=self["@root"];
  672. if(($receiver = $1) == nil || $receiver == undefined){
  673. self["@root"]=_st((smalltalk.TagBrush || TagBrush))._fromString_canvas_("div",self);
  674. self["@root"];
  675. } else {
  676. $1;
  677. };
  678. return self}, function($ctx1) {$ctx1.fill(self,"initialize",{}, smalltalk.HTMLCanvas)})}
  679. }),
  680. smalltalk.HTMLCanvas);
  681. smalltalk.addMethod(
  682. "_initializeFromJQuery_",
  683. smalltalk.method({
  684. selector: "initializeFromJQuery:",
  685. fn: function (aJQuery){
  686. var self=this;
  687. return smalltalk.withContext(function($ctx1) { self["@root"]=_st((smalltalk.TagBrush || TagBrush))._fromJQuery_canvas_(aJQuery,self);
  688. return self}, function($ctx1) {$ctx1.fill(self,"initializeFromJQuery:",{aJQuery:aJQuery}, smalltalk.HTMLCanvas)})}
  689. }),
  690. smalltalk.HTMLCanvas);
  691. smalltalk.addMethod(
  692. "_input",
  693. smalltalk.method({
  694. selector: "input",
  695. fn: function (){
  696. var self=this;
  697. return smalltalk.withContext(function($ctx1) { var $1;
  698. $1=_st(self)._tag_("input");
  699. return $1;
  700. }, function($ctx1) {$ctx1.fill(self,"input",{}, smalltalk.HTMLCanvas)})}
  701. }),
  702. smalltalk.HTMLCanvas);
  703. smalltalk.addMethod(
  704. "_label",
  705. smalltalk.method({
  706. selector: "label",
  707. fn: function (){
  708. var self=this;
  709. return smalltalk.withContext(function($ctx1) { var $1;
  710. $1=_st(self)._tag_("label");
  711. return $1;
  712. }, function($ctx1) {$ctx1.fill(self,"label",{}, smalltalk.HTMLCanvas)})}
  713. }),
  714. smalltalk.HTMLCanvas);
  715. smalltalk.addMethod(
  716. "_legend",
  717. smalltalk.method({
  718. selector: "legend",
  719. fn: function (){
  720. var self=this;
  721. return smalltalk.withContext(function($ctx1) { var $1;
  722. $1=_st(self)._tag_("legend");
  723. return $1;
  724. }, function($ctx1) {$ctx1.fill(self,"legend",{}, smalltalk.HTMLCanvas)})}
  725. }),
  726. smalltalk.HTMLCanvas);
  727. smalltalk.addMethod(
  728. "_li",
  729. smalltalk.method({
  730. selector: "li",
  731. fn: function (){
  732. var self=this;
  733. return smalltalk.withContext(function($ctx1) { var $1;
  734. $1=_st(self)._tag_("li");
  735. return $1;
  736. }, function($ctx1) {$ctx1.fill(self,"li",{}, smalltalk.HTMLCanvas)})}
  737. }),
  738. smalltalk.HTMLCanvas);
  739. smalltalk.addMethod(
  740. "_li_",
  741. smalltalk.method({
  742. selector: "li:",
  743. fn: function (anObject){
  744. var self=this;
  745. return smalltalk.withContext(function($ctx1) { var $1;
  746. $1=_st(_st(self)._li())._with_(anObject);
  747. return $1;
  748. }, function($ctx1) {$ctx1.fill(self,"li:",{anObject:anObject}, smalltalk.HTMLCanvas)})}
  749. }),
  750. smalltalk.HTMLCanvas);
  751. smalltalk.addMethod(
  752. "_link",
  753. smalltalk.method({
  754. selector: "link",
  755. fn: function (){
  756. var self=this;
  757. return smalltalk.withContext(function($ctx1) { var $1;
  758. $1=_st(self)._tag_("link");
  759. return $1;
  760. }, function($ctx1) {$ctx1.fill(self,"link",{}, smalltalk.HTMLCanvas)})}
  761. }),
  762. smalltalk.HTMLCanvas);
  763. smalltalk.addMethod(
  764. "_map",
  765. smalltalk.method({
  766. selector: "map",
  767. fn: function (){
  768. var self=this;
  769. return smalltalk.withContext(function($ctx1) { var $1;
  770. $1=_st(self)._tag_("map");
  771. return $1;
  772. }, function($ctx1) {$ctx1.fill(self,"map",{}, smalltalk.HTMLCanvas)})}
  773. }),
  774. smalltalk.HTMLCanvas);
  775. smalltalk.addMethod(
  776. "_mark",
  777. smalltalk.method({
  778. selector: "mark",
  779. fn: function (){
  780. var self=this;
  781. return smalltalk.withContext(function($ctx1) { var $1;
  782. $1=_st(self)._tag_("mark");
  783. return $1;
  784. }, function($ctx1) {$ctx1.fill(self,"mark",{}, smalltalk.HTMLCanvas)})}
  785. }),
  786. smalltalk.HTMLCanvas);
  787. smalltalk.addMethod(
  788. "_menu",
  789. smalltalk.method({
  790. selector: "menu",
  791. fn: function (){
  792. var self=this;
  793. return smalltalk.withContext(function($ctx1) { var $1;
  794. $1=_st(self)._tag_("menu");
  795. return $1;
  796. }, function($ctx1) {$ctx1.fill(self,"menu",{}, smalltalk.HTMLCanvas)})}
  797. }),
  798. smalltalk.HTMLCanvas);
  799. smalltalk.addMethod(
  800. "_meta",
  801. smalltalk.method({
  802. selector: "meta",
  803. fn: function (){
  804. var self=this;
  805. return smalltalk.withContext(function($ctx1) { var $1;
  806. $1=_st(self)._tag_("meta");
  807. return $1;
  808. }, function($ctx1) {$ctx1.fill(self,"meta",{}, smalltalk.HTMLCanvas)})}
  809. }),
  810. smalltalk.HTMLCanvas);
  811. smalltalk.addMethod(
  812. "_nav",
  813. smalltalk.method({
  814. selector: "nav",
  815. fn: function (){
  816. var self=this;
  817. return smalltalk.withContext(function($ctx1) { var $1;
  818. $1=_st(self)._tag_("nav");
  819. return $1;
  820. }, function($ctx1) {$ctx1.fill(self,"nav",{}, smalltalk.HTMLCanvas)})}
  821. }),
  822. smalltalk.HTMLCanvas);
  823. smalltalk.addMethod(
  824. "_newTag_",
  825. smalltalk.method({
  826. selector: "newTag:",
  827. fn: function (aString){
  828. var self=this;
  829. return smalltalk.withContext(function($ctx1) { var $1;
  830. $1=_st((smalltalk.TagBrush || TagBrush))._fromString_canvas_(aString,self);
  831. return $1;
  832. }, function($ctx1) {$ctx1.fill(self,"newTag:",{aString:aString}, smalltalk.HTMLCanvas)})}
  833. }),
  834. smalltalk.HTMLCanvas);
  835. smalltalk.addMethod(
  836. "_noscript",
  837. smalltalk.method({
  838. selector: "noscript",
  839. fn: function (){
  840. var self=this;
  841. return smalltalk.withContext(function($ctx1) { var $1;
  842. $1=_st(self)._tag_("noscript");
  843. return $1;
  844. }, function($ctx1) {$ctx1.fill(self,"noscript",{}, smalltalk.HTMLCanvas)})}
  845. }),
  846. smalltalk.HTMLCanvas);
  847. smalltalk.addMethod(
  848. "_object",
  849. smalltalk.method({
  850. selector: "object",
  851. fn: function (){
  852. var self=this;
  853. return smalltalk.withContext(function($ctx1) { var $1;
  854. $1=_st(self)._tag_("object");
  855. return $1;
  856. }, function($ctx1) {$ctx1.fill(self,"object",{}, smalltalk.HTMLCanvas)})}
  857. }),
  858. smalltalk.HTMLCanvas);
  859. smalltalk.addMethod(
  860. "_ol",
  861. smalltalk.method({
  862. selector: "ol",
  863. fn: function (){
  864. var self=this;
  865. return smalltalk.withContext(function($ctx1) { var $1;
  866. $1=_st(self)._tag_("ol");
  867. return $1;
  868. }, function($ctx1) {$ctx1.fill(self,"ol",{}, smalltalk.HTMLCanvas)})}
  869. }),
  870. smalltalk.HTMLCanvas);
  871. smalltalk.addMethod(
  872. "_ol_",
  873. smalltalk.method({
  874. selector: "ol:",
  875. fn: function (anObject){
  876. var self=this;
  877. return smalltalk.withContext(function($ctx1) { var $1;
  878. $1=_st(_st(self)._ol())._with_(anObject);
  879. return $1;
  880. }, function($ctx1) {$ctx1.fill(self,"ol:",{anObject:anObject}, smalltalk.HTMLCanvas)})}
  881. }),
  882. smalltalk.HTMLCanvas);
  883. smalltalk.addMethod(
  884. "_optgroup",
  885. smalltalk.method({
  886. selector: "optgroup",
  887. fn: function (){
  888. var self=this;
  889. return smalltalk.withContext(function($ctx1) { var $1;
  890. $1=_st(self)._tag_("optgroup");
  891. return $1;
  892. }, function($ctx1) {$ctx1.fill(self,"optgroup",{}, smalltalk.HTMLCanvas)})}
  893. }),
  894. smalltalk.HTMLCanvas);
  895. smalltalk.addMethod(
  896. "_option",
  897. smalltalk.method({
  898. selector: "option",
  899. fn: function (){
  900. var self=this;
  901. return smalltalk.withContext(function($ctx1) { var $1;
  902. $1=_st(self)._tag_("option");
  903. return $1;
  904. }, function($ctx1) {$ctx1.fill(self,"option",{}, smalltalk.HTMLCanvas)})}
  905. }),
  906. smalltalk.HTMLCanvas);
  907. smalltalk.addMethod(
  908. "_output",
  909. smalltalk.method({
  910. selector: "output",
  911. fn: function (){
  912. var self=this;
  913. return smalltalk.withContext(function($ctx1) { var $1;
  914. $1=_st(self)._tag_("output");
  915. return $1;
  916. }, function($ctx1) {$ctx1.fill(self,"output",{}, smalltalk.HTMLCanvas)})}
  917. }),
  918. smalltalk.HTMLCanvas);
  919. smalltalk.addMethod(
  920. "_p",
  921. smalltalk.method({
  922. selector: "p",
  923. fn: function (){
  924. var self=this;
  925. return smalltalk.withContext(function($ctx1) { var $1;
  926. $1=_st(self)._tag_("p");
  927. return $1;
  928. }, function($ctx1) {$ctx1.fill(self,"p",{}, smalltalk.HTMLCanvas)})}
  929. }),
  930. smalltalk.HTMLCanvas);
  931. smalltalk.addMethod(
  932. "_p_",
  933. smalltalk.method({
  934. selector: "p:",
  935. fn: function (anObject){
  936. var self=this;
  937. return smalltalk.withContext(function($ctx1) { var $1;
  938. $1=_st(_st(self)._p())._with_(anObject);
  939. return $1;
  940. }, function($ctx1) {$ctx1.fill(self,"p:",{anObject:anObject}, smalltalk.HTMLCanvas)})}
  941. }),
  942. smalltalk.HTMLCanvas);
  943. smalltalk.addMethod(
  944. "_param",
  945. smalltalk.method({
  946. selector: "param",
  947. fn: function (){
  948. var self=this;
  949. return smalltalk.withContext(function($ctx1) { var $1;
  950. $1=_st(self)._tag_("param");
  951. return $1;
  952. }, function($ctx1) {$ctx1.fill(self,"param",{}, smalltalk.HTMLCanvas)})}
  953. }),
  954. smalltalk.HTMLCanvas);
  955. smalltalk.addMethod(
  956. "_pre",
  957. smalltalk.method({
  958. selector: "pre",
  959. fn: function (){
  960. var self=this;
  961. return smalltalk.withContext(function($ctx1) { var $1;
  962. $1=_st(self)._tag_("pre");
  963. return $1;
  964. }, function($ctx1) {$ctx1.fill(self,"pre",{}, smalltalk.HTMLCanvas)})}
  965. }),
  966. smalltalk.HTMLCanvas);
  967. smalltalk.addMethod(
  968. "_progress",
  969. smalltalk.method({
  970. selector: "progress",
  971. fn: function (){
  972. var self=this;
  973. return smalltalk.withContext(function($ctx1) { var $1;
  974. $1=_st(self)._tag_("progress");
  975. return $1;
  976. }, function($ctx1) {$ctx1.fill(self,"progress",{}, smalltalk.HTMLCanvas)})}
  977. }),
  978. smalltalk.HTMLCanvas);
  979. smalltalk.addMethod(
  980. "_root",
  981. smalltalk.method({
  982. selector: "root",
  983. fn: function (){
  984. var self=this;
  985. return smalltalk.withContext(function($ctx1) { var $1;
  986. $1=self["@root"];
  987. return $1;
  988. }, function($ctx1) {$ctx1.fill(self,"root",{}, smalltalk.HTMLCanvas)})}
  989. }),
  990. smalltalk.HTMLCanvas);
  991. smalltalk.addMethod(
  992. "_root_",
  993. smalltalk.method({
  994. selector: "root:",
  995. fn: function (aTagBrush){
  996. var self=this;
  997. return smalltalk.withContext(function($ctx1) { self["@root"]=aTagBrush;
  998. return self}, function($ctx1) {$ctx1.fill(self,"root:",{aTagBrush:aTagBrush}, smalltalk.HTMLCanvas)})}
  999. }),
  1000. smalltalk.HTMLCanvas);
  1001. smalltalk.addMethod(
  1002. "_script",
  1003. smalltalk.method({
  1004. selector: "script",
  1005. fn: function (){
  1006. var self=this;
  1007. return smalltalk.withContext(function($ctx1) { var $1;
  1008. $1=_st(self)._tag_("script");
  1009. return $1;
  1010. }, function($ctx1) {$ctx1.fill(self,"script",{}, smalltalk.HTMLCanvas)})}
  1011. }),
  1012. smalltalk.HTMLCanvas);
  1013. smalltalk.addMethod(
  1014. "_section",
  1015. smalltalk.method({
  1016. selector: "section",
  1017. fn: function (){
  1018. var self=this;
  1019. return smalltalk.withContext(function($ctx1) { var $1;
  1020. $1=_st(self)._tag_("section");
  1021. return $1;
  1022. }, function($ctx1) {$ctx1.fill(self,"section",{}, smalltalk.HTMLCanvas)})}
  1023. }),
  1024. smalltalk.HTMLCanvas);
  1025. smalltalk.addMethod(
  1026. "_select",
  1027. smalltalk.method({
  1028. selector: "select",
  1029. fn: function (){
  1030. var self=this;
  1031. return smalltalk.withContext(function($ctx1) { var $1;
  1032. $1=_st(self)._tag_("select");
  1033. return $1;
  1034. }, function($ctx1) {$ctx1.fill(self,"select",{}, smalltalk.HTMLCanvas)})}
  1035. }),
  1036. smalltalk.HTMLCanvas);
  1037. smalltalk.addMethod(
  1038. "_small",
  1039. smalltalk.method({
  1040. selector: "small",
  1041. fn: function (){
  1042. var self=this;
  1043. return smalltalk.withContext(function($ctx1) { var $1;
  1044. $1=_st(self)._tag_("small");
  1045. return $1;
  1046. }, function($ctx1) {$ctx1.fill(self,"small",{}, smalltalk.HTMLCanvas)})}
  1047. }),
  1048. smalltalk.HTMLCanvas);
  1049. smalltalk.addMethod(
  1050. "_source",
  1051. smalltalk.method({
  1052. selector: "source",
  1053. fn: function (){
  1054. var self=this;
  1055. return smalltalk.withContext(function($ctx1) { var $1;
  1056. $1=_st(self)._tag_("source");
  1057. return $1;
  1058. }, function($ctx1) {$ctx1.fill(self,"source",{}, smalltalk.HTMLCanvas)})}
  1059. }),
  1060. smalltalk.HTMLCanvas);
  1061. smalltalk.addMethod(
  1062. "_span",
  1063. smalltalk.method({
  1064. selector: "span",
  1065. fn: function (){
  1066. var self=this;
  1067. return smalltalk.withContext(function($ctx1) { var $1;
  1068. $1=_st(self)._tag_("span");
  1069. return $1;
  1070. }, function($ctx1) {$ctx1.fill(self,"span",{}, smalltalk.HTMLCanvas)})}
  1071. }),
  1072. smalltalk.HTMLCanvas);
  1073. smalltalk.addMethod(
  1074. "_span_",
  1075. smalltalk.method({
  1076. selector: "span:",
  1077. fn: function (anObject){
  1078. var self=this;
  1079. return smalltalk.withContext(function($ctx1) { var $1;
  1080. $1=_st(_st(self)._span())._with_(anObject);
  1081. return $1;
  1082. }, function($ctx1) {$ctx1.fill(self,"span:",{anObject:anObject}, smalltalk.HTMLCanvas)})}
  1083. }),
  1084. smalltalk.HTMLCanvas);
  1085. smalltalk.addMethod(
  1086. "_strong",
  1087. smalltalk.method({
  1088. selector: "strong",
  1089. fn: function (){
  1090. var self=this;
  1091. return smalltalk.withContext(function($ctx1) { var $1;
  1092. $1=_st(self)._tag_("strong");
  1093. return $1;
  1094. }, function($ctx1) {$ctx1.fill(self,"strong",{}, smalltalk.HTMLCanvas)})}
  1095. }),
  1096. smalltalk.HTMLCanvas);
  1097. smalltalk.addMethod(
  1098. "_strong_",
  1099. smalltalk.method({
  1100. selector: "strong:",
  1101. fn: function (anObject){
  1102. var self=this;
  1103. return smalltalk.withContext(function($ctx1) { var $1;
  1104. $1=_st(_st(self)._strong())._with_(anObject);
  1105. return $1;
  1106. }, function($ctx1) {$ctx1.fill(self,"strong:",{anObject:anObject}, smalltalk.HTMLCanvas)})}
  1107. }),
  1108. smalltalk.HTMLCanvas);
  1109. smalltalk.addMethod(
  1110. "_style",
  1111. smalltalk.method({
  1112. selector: "style",
  1113. fn: function (){
  1114. var self=this;
  1115. return smalltalk.withContext(function($ctx1) { var $1;
  1116. $1=_st(self["@root"])._addBrush_(_st((smalltalk.StyleTag || StyleTag))._canvas_(self));
  1117. return $1;
  1118. }, function($ctx1) {$ctx1.fill(self,"style",{}, smalltalk.HTMLCanvas)})}
  1119. }),
  1120. smalltalk.HTMLCanvas);
  1121. smalltalk.addMethod(
  1122. "_style_",
  1123. smalltalk.method({
  1124. selector: "style:",
  1125. fn: function (aString){
  1126. var self=this;
  1127. return smalltalk.withContext(function($ctx1) { var $2,$3,$1;
  1128. $2=_st(self)._style();
  1129. _st($2)._with_(aString);
  1130. $3=_st($2)._yourself();
  1131. $1=$3;
  1132. return $1;
  1133. }, function($ctx1) {$ctx1.fill(self,"style:",{aString:aString}, smalltalk.HTMLCanvas)})}
  1134. }),
  1135. smalltalk.HTMLCanvas);
  1136. smalltalk.addMethod(
  1137. "_sub",
  1138. smalltalk.method({
  1139. selector: "sub",
  1140. fn: function (){
  1141. var self=this;
  1142. return smalltalk.withContext(function($ctx1) { var $1;
  1143. $1=_st(self)._tag_("sub");
  1144. return $1;
  1145. }, function($ctx1) {$ctx1.fill(self,"sub",{}, smalltalk.HTMLCanvas)})}
  1146. }),
  1147. smalltalk.HTMLCanvas);
  1148. smalltalk.addMethod(
  1149. "_summary",
  1150. smalltalk.method({
  1151. selector: "summary",
  1152. fn: function (){
  1153. var self=this;
  1154. return smalltalk.withContext(function($ctx1) { var $1;
  1155. $1=_st(self)._tag_("summary");
  1156. return $1;
  1157. }, function($ctx1) {$ctx1.fill(self,"summary",{}, smalltalk.HTMLCanvas)})}
  1158. }),
  1159. smalltalk.HTMLCanvas);
  1160. smalltalk.addMethod(
  1161. "_sup",
  1162. smalltalk.method({
  1163. selector: "sup",
  1164. fn: function (){
  1165. var self=this;
  1166. return smalltalk.withContext(function($ctx1) { var $1;
  1167. $1=_st(self)._tag_("sup");
  1168. return $1;
  1169. }, function($ctx1) {$ctx1.fill(self,"sup",{}, smalltalk.HTMLCanvas)})}
  1170. }),
  1171. smalltalk.HTMLCanvas);
  1172. smalltalk.addMethod(
  1173. "_table",
  1174. smalltalk.method({
  1175. selector: "table",
  1176. fn: function (){
  1177. var self=this;
  1178. return smalltalk.withContext(function($ctx1) { var $1;
  1179. $1=_st(self)._tag_("table");
  1180. return $1;
  1181. }, function($ctx1) {$ctx1.fill(self,"table",{}, smalltalk.HTMLCanvas)})}
  1182. }),
  1183. smalltalk.HTMLCanvas);
  1184. smalltalk.addMethod(
  1185. "_tag_",
  1186. smalltalk.method({
  1187. selector: "tag:",
  1188. fn: function (aString){
  1189. var self=this;
  1190. return smalltalk.withContext(function($ctx1) { var $1;
  1191. $1=_st(self["@root"])._addBrush_(_st(self)._newTag_(aString));
  1192. return $1;
  1193. }, function($ctx1) {$ctx1.fill(self,"tag:",{aString:aString}, smalltalk.HTMLCanvas)})}
  1194. }),
  1195. smalltalk.HTMLCanvas);
  1196. smalltalk.addMethod(
  1197. "_tbody",
  1198. smalltalk.method({
  1199. selector: "tbody",
  1200. fn: function (){
  1201. var self=this;
  1202. return smalltalk.withContext(function($ctx1) { var $1;
  1203. $1=_st(self)._tag_("tbody");
  1204. return $1;
  1205. }, function($ctx1) {$ctx1.fill(self,"tbody",{}, smalltalk.HTMLCanvas)})}
  1206. }),
  1207. smalltalk.HTMLCanvas);
  1208. smalltalk.addMethod(
  1209. "_td",
  1210. smalltalk.method({
  1211. selector: "td",
  1212. fn: function (){
  1213. var self=this;
  1214. return smalltalk.withContext(function($ctx1) { var $1;
  1215. $1=_st(self)._tag_("td");
  1216. return $1;
  1217. }, function($ctx1) {$ctx1.fill(self,"td",{}, smalltalk.HTMLCanvas)})}
  1218. }),
  1219. smalltalk.HTMLCanvas);
  1220. smalltalk.addMethod(
  1221. "_textarea",
  1222. smalltalk.method({
  1223. selector: "textarea",
  1224. fn: function (){
  1225. var self=this;
  1226. return smalltalk.withContext(function($ctx1) { var $1;
  1227. $1=_st(self)._tag_("textarea");
  1228. return $1;
  1229. }, function($ctx1) {$ctx1.fill(self,"textarea",{}, smalltalk.HTMLCanvas)})}
  1230. }),
  1231. smalltalk.HTMLCanvas);
  1232. smalltalk.addMethod(
  1233. "_tfoot",
  1234. smalltalk.method({
  1235. selector: "tfoot",
  1236. fn: function (){
  1237. var self=this;
  1238. return smalltalk.withContext(function($ctx1) { var $1;
  1239. $1=_st(self)._tag_("tfoot");
  1240. return $1;
  1241. }, function($ctx1) {$ctx1.fill(self,"tfoot",{}, smalltalk.HTMLCanvas)})}
  1242. }),
  1243. smalltalk.HTMLCanvas);
  1244. smalltalk.addMethod(
  1245. "_th",
  1246. smalltalk.method({
  1247. selector: "th",
  1248. fn: function (){
  1249. var self=this;
  1250. return smalltalk.withContext(function($ctx1) { var $1;
  1251. $1=_st(self)._tag_("th");
  1252. return $1;
  1253. }, function($ctx1) {$ctx1.fill(self,"th",{}, smalltalk.HTMLCanvas)})}
  1254. }),
  1255. smalltalk.HTMLCanvas);
  1256. smalltalk.addMethod(
  1257. "_thead",
  1258. smalltalk.method({
  1259. selector: "thead",
  1260. fn: function (){
  1261. var self=this;
  1262. return smalltalk.withContext(function($ctx1) { var $1;
  1263. $1=_st(self)._tag_("thead");
  1264. return $1;
  1265. }, function($ctx1) {$ctx1.fill(self,"thead",{}, smalltalk.HTMLCanvas)})}
  1266. }),
  1267. smalltalk.HTMLCanvas);
  1268. smalltalk.addMethod(
  1269. "_time",
  1270. smalltalk.method({
  1271. selector: "time",
  1272. fn: function (){
  1273. var self=this;
  1274. return smalltalk.withContext(function($ctx1) { var $1;
  1275. $1=_st(self)._tag_("time");
  1276. return $1;
  1277. }, function($ctx1) {$ctx1.fill(self,"time",{}, smalltalk.HTMLCanvas)})}
  1278. }),
  1279. smalltalk.HTMLCanvas);
  1280. smalltalk.addMethod(
  1281. "_title",
  1282. smalltalk.method({
  1283. selector: "title",
  1284. fn: function (){
  1285. var self=this;
  1286. return smalltalk.withContext(function($ctx1) { var $1;
  1287. $1=_st(self)._tag_("title");
  1288. return $1;
  1289. }, function($ctx1) {$ctx1.fill(self,"title",{}, smalltalk.HTMLCanvas)})}
  1290. }),
  1291. smalltalk.HTMLCanvas);
  1292. smalltalk.addMethod(
  1293. "_tr",
  1294. smalltalk.method({
  1295. selector: "tr",
  1296. fn: function (){
  1297. var self=this;
  1298. return smalltalk.withContext(function($ctx1) { var $1;
  1299. $1=_st(self)._tag_("tr");
  1300. return $1;
  1301. }, function($ctx1) {$ctx1.fill(self,"tr",{}, smalltalk.HTMLCanvas)})}
  1302. }),
  1303. smalltalk.HTMLCanvas);
  1304. smalltalk.addMethod(
  1305. "_ul",
  1306. smalltalk.method({
  1307. selector: "ul",
  1308. fn: function (){
  1309. var self=this;
  1310. return smalltalk.withContext(function($ctx1) { var $1;
  1311. $1=_st(self)._tag_("ul");
  1312. return $1;
  1313. }, function($ctx1) {$ctx1.fill(self,"ul",{}, smalltalk.HTMLCanvas)})}
  1314. }),
  1315. smalltalk.HTMLCanvas);
  1316. smalltalk.addMethod(
  1317. "_ul_",
  1318. smalltalk.method({
  1319. selector: "ul:",
  1320. fn: function (anObject){
  1321. var self=this;
  1322. return smalltalk.withContext(function($ctx1) { var $1;
  1323. $1=_st(_st(self)._ul())._with_(anObject);
  1324. return $1;
  1325. }, function($ctx1) {$ctx1.fill(self,"ul:",{anObject:anObject}, smalltalk.HTMLCanvas)})}
  1326. }),
  1327. smalltalk.HTMLCanvas);
  1328. smalltalk.addMethod(
  1329. "_video",
  1330. smalltalk.method({
  1331. selector: "video",
  1332. fn: function (){
  1333. var self=this;
  1334. return smalltalk.withContext(function($ctx1) { var $1;
  1335. $1=_st(self)._tag_("video");
  1336. return $1;
  1337. }, function($ctx1) {$ctx1.fill(self,"video",{}, smalltalk.HTMLCanvas)})}
  1338. }),
  1339. smalltalk.HTMLCanvas);
  1340. smalltalk.addMethod(
  1341. "_with_",
  1342. smalltalk.method({
  1343. selector: "with:",
  1344. fn: function (anObject){
  1345. var self=this;
  1346. return smalltalk.withContext(function($ctx1) { var $1;
  1347. $1=_st(_st(self)._root())._with_(anObject);
  1348. return $1;
  1349. }, function($ctx1) {$ctx1.fill(self,"with:",{anObject:anObject}, smalltalk.HTMLCanvas)})}
  1350. }),
  1351. smalltalk.HTMLCanvas);
  1352. smalltalk.addMethod(
  1353. "_browserVersion",
  1354. smalltalk.method({
  1355. selector: "browserVersion",
  1356. fn: function (){
  1357. var self=this;
  1358. return smalltalk.withContext(function($ctx1) { var $1;
  1359. $1=_st(_st(jQuery)._at_(smalltalk.symbolFor("browser")))._version();
  1360. return $1;
  1361. }, function($ctx1) {$ctx1.fill(self,"browserVersion",{}, smalltalk.HTMLCanvas.klass)})}
  1362. }),
  1363. smalltalk.HTMLCanvas.klass);
  1364. smalltalk.addMethod(
  1365. "_isMSIE",
  1366. smalltalk.method({
  1367. selector: "isMSIE",
  1368. fn: function (){
  1369. var self=this;
  1370. return smalltalk.withContext(function($ctx1) { var $1;
  1371. $1=_st(_st(_st(jQuery)._at_(smalltalk.symbolFor("browser")))._at_(smalltalk.symbolFor("msie")))._notNil();
  1372. return $1;
  1373. }, function($ctx1) {$ctx1.fill(self,"isMSIE",{}, smalltalk.HTMLCanvas.klass)})}
  1374. }),
  1375. smalltalk.HTMLCanvas.klass);
  1376. smalltalk.addMethod(
  1377. "_isMozilla",
  1378. smalltalk.method({
  1379. selector: "isMozilla",
  1380. fn: function (){
  1381. var self=this;
  1382. return smalltalk.withContext(function($ctx1) { var $1;
  1383. $1=_st(_st(_st(jQuery)._at_(smalltalk.symbolFor("browser")))._at_(smalltalk.symbolFor("mozilla")))._notNil();
  1384. return $1;
  1385. }, function($ctx1) {$ctx1.fill(self,"isMozilla",{}, smalltalk.HTMLCanvas.klass)})}
  1386. }),
  1387. smalltalk.HTMLCanvas.klass);
  1388. smalltalk.addMethod(
  1389. "_isOpera",
  1390. smalltalk.method({
  1391. selector: "isOpera",
  1392. fn: function (){
  1393. var self=this;
  1394. return smalltalk.withContext(function($ctx1) { var $1;
  1395. $1=_st(_st(_st(jQuery)._at_(smalltalk.symbolFor("browser")))._at_(smalltalk.symbolFor("opera")))._notNil();
  1396. return $1;
  1397. }, function($ctx1) {$ctx1.fill(self,"isOpera",{}, smalltalk.HTMLCanvas.klass)})}
  1398. }),
  1399. smalltalk.HTMLCanvas.klass);
  1400. smalltalk.addMethod(
  1401. "_isWebkit",
  1402. smalltalk.method({
  1403. selector: "isWebkit",
  1404. fn: function (){
  1405. var self=this;
  1406. return smalltalk.withContext(function($ctx1) { var $1;
  1407. $1=_st(_st(_st(jQuery)._at_(smalltalk.symbolFor("browser")))._at_(smalltalk.symbolFor("webkit")))._notNil();
  1408. return $1;
  1409. }, function($ctx1) {$ctx1.fill(self,"isWebkit",{}, smalltalk.HTMLCanvas.klass)})}
  1410. }),
  1411. smalltalk.HTMLCanvas.klass);
  1412. smalltalk.addMethod(
  1413. "_onJQuery_",
  1414. smalltalk.method({
  1415. selector: "onJQuery:",
  1416. fn: function (aJQuery){
  1417. var self=this;
  1418. return smalltalk.withContext(function($ctx1) { var $2,$3,$1;
  1419. $2=_st(self)._basicNew();
  1420. _st($2)._initializeFromJQuery_(aJQuery);
  1421. _st($2)._initialize();
  1422. $3=_st($2)._yourself();
  1423. $1=$3;
  1424. return $1;
  1425. }, function($ctx1) {$ctx1.fill(self,"onJQuery:",{aJQuery:aJQuery}, smalltalk.HTMLCanvas.klass)})}
  1426. }),
  1427. smalltalk.HTMLCanvas.klass);
  1428. smalltalk.addClass('TagBrush', smalltalk.Object, ['canvas', 'element'], 'Canvas');
  1429. smalltalk.addMethod(
  1430. "_accesskey_",
  1431. smalltalk.method({
  1432. selector: "accesskey:",
  1433. fn: function (aString){
  1434. var self=this;
  1435. return smalltalk.withContext(function($ctx1) { _st(self)._at_put_("accesskey",aString);
  1436. return self}, function($ctx1) {$ctx1.fill(self,"accesskey:",{aString:aString}, smalltalk.TagBrush)})}
  1437. }),
  1438. smalltalk.TagBrush);
  1439. smalltalk.addMethod(
  1440. "_action_",
  1441. smalltalk.method({
  1442. selector: "action:",
  1443. fn: function (aString){
  1444. var self=this;
  1445. return smalltalk.withContext(function($ctx1) { _st(self)._at_put_("action",aString);
  1446. return self}, function($ctx1) {$ctx1.fill(self,"action:",{aString:aString}, smalltalk.TagBrush)})}
  1447. }),
  1448. smalltalk.TagBrush);
  1449. smalltalk.addMethod(
  1450. "_addBrush_",
  1451. smalltalk.method({
  1452. selector: "addBrush:",
  1453. fn: function (aTagBrush){
  1454. var self=this;
  1455. return smalltalk.withContext(function($ctx1) { var $1;
  1456. _st(self)._appendChild_(_st(aTagBrush)._element());
  1457. $1=aTagBrush;
  1458. return $1;
  1459. }, function($ctx1) {$ctx1.fill(self,"addBrush:",{aTagBrush:aTagBrush}, smalltalk.TagBrush)})}
  1460. }),
  1461. smalltalk.TagBrush);
  1462. smalltalk.addMethod(
  1463. "_align_",
  1464. smalltalk.method({
  1465. selector: "align:",
  1466. fn: function (aString){
  1467. var self=this;
  1468. return smalltalk.withContext(function($ctx1) { _st(self)._at_put_("align",aString);
  1469. return self}, function($ctx1) {$ctx1.fill(self,"align:",{aString:aString}, smalltalk.TagBrush)})}
  1470. }),
  1471. smalltalk.TagBrush);
  1472. smalltalk.addMethod(
  1473. "_alt_",
  1474. smalltalk.method({
  1475. selector: "alt:",
  1476. fn: function (aString){
  1477. var self=this;
  1478. return smalltalk.withContext(function($ctx1) { _st(self)._at_put_("alt",aString);
  1479. return self}, function($ctx1) {$ctx1.fill(self,"alt:",{aString:aString}, smalltalk.TagBrush)})}
  1480. }),
  1481. smalltalk.TagBrush);
  1482. smalltalk.addMethod(
  1483. "_append_",
  1484. smalltalk.method({
  1485. selector: "append:",
  1486. fn: function (anObject){
  1487. var self=this;
  1488. return smalltalk.withContext(function($ctx1) { _st(anObject)._appendToBrush_(self);
  1489. return self}, function($ctx1) {$ctx1.fill(self,"append:",{anObject:anObject}, smalltalk.TagBrush)})}
  1490. }),
  1491. smalltalk.TagBrush);
  1492. smalltalk.addMethod(
  1493. "_appendBlock_",
  1494. smalltalk.method({
  1495. selector: "appendBlock:",
  1496. fn: function (aBlock){
  1497. var self=this;
  1498. var root;
  1499. return smalltalk.withContext(function($ctx1) { root=_st(self["@canvas"])._root();
  1500. _st(self["@canvas"])._root_(self);
  1501. _st(aBlock)._value_(self["@canvas"]);
  1502. _st(self["@canvas"])._root_(root);
  1503. return self}, function($ctx1) {$ctx1.fill(self,"appendBlock:",{aBlock:aBlock,root:root}, smalltalk.TagBrush)})}
  1504. }),
  1505. smalltalk.TagBrush);
  1506. smalltalk.addMethod(
  1507. "_appendChild_",
  1508. smalltalk.method({
  1509. selector: "appendChild:",
  1510. fn: function (anElement){
  1511. var self=this;
  1512. return smalltalk.withContext(function($ctx1) { var element=self['@element'];
  1513. if (null == element.canHaveChildren || element.canHaveChildren) {
  1514. element.appendChild(anElement);
  1515. } else {
  1516. element.text = String(element.text) + anElement.innerHTML;
  1517. } ;
  1518. return self}, function($ctx1) {$ctx1.fill(self,"appendChild:",{anElement:anElement}, smalltalk.TagBrush)})}
  1519. }),
  1520. smalltalk.TagBrush);
  1521. smalltalk.addMethod(
  1522. "_appendString_",
  1523. smalltalk.method({
  1524. selector: "appendString:",
  1525. fn: function (aString){
  1526. var self=this;
  1527. return smalltalk.withContext(function($ctx1) { _st(self)._appendChild_(_st(self)._createTextNodeFor_(aString));
  1528. return self}, function($ctx1) {$ctx1.fill(self,"appendString:",{aString:aString}, smalltalk.TagBrush)})}
  1529. }),
  1530. smalltalk.TagBrush);
  1531. smalltalk.addMethod(
  1532. "_appendToBrush_",
  1533. smalltalk.method({
  1534. selector: "appendToBrush:",
  1535. fn: function (aTagBrush){
  1536. var self=this;
  1537. return smalltalk.withContext(function($ctx1) { _st(aTagBrush)._addBrush_(self);
  1538. return self}, function($ctx1) {$ctx1.fill(self,"appendToBrush:",{aTagBrush:aTagBrush}, smalltalk.TagBrush)})}
  1539. }),
  1540. smalltalk.TagBrush);
  1541. smalltalk.addMethod(
  1542. "_asJQuery",
  1543. smalltalk.method({
  1544. selector: "asJQuery",
  1545. fn: function (){
  1546. var self=this;
  1547. return smalltalk.withContext(function($ctx1) { var $1;
  1548. $1=_st(window)._jQuery_(_st(self)._element());
  1549. return $1;
  1550. }, function($ctx1) {$ctx1.fill(self,"asJQuery",{}, smalltalk.TagBrush)})}
  1551. }),
  1552. smalltalk.TagBrush);
  1553. smalltalk.addMethod(
  1554. "_at_put_",
  1555. smalltalk.method({
  1556. selector: "at:put:",
  1557. fn: function (aString,aValue){
  1558. var self=this;
  1559. return smalltalk.withContext(function($ctx1) { self['@element'].setAttribute(aString, aValue);
  1560. return self}, function($ctx1) {$ctx1.fill(self,"at:put:",{aString:aString,aValue:aValue}, smalltalk.TagBrush)})}
  1561. }),
  1562. smalltalk.TagBrush);
  1563. smalltalk.addMethod(
  1564. "_class_",
  1565. smalltalk.method({
  1566. selector: "class:",
  1567. fn: function (aString){
  1568. var self=this;
  1569. return smalltalk.withContext(function($ctx1) { self['@element'].className = aString;
  1570. return self}, function($ctx1) {$ctx1.fill(self,"class:",{aString:aString}, smalltalk.TagBrush)})}
  1571. }),
  1572. smalltalk.TagBrush);
  1573. smalltalk.addMethod(
  1574. "_cols_",
  1575. smalltalk.method({
  1576. selector: "cols:",
  1577. fn: function (aString){
  1578. var self=this;
  1579. return smalltalk.withContext(function($ctx1) { _st(self)._at_put_("cols",aString);
  1580. return self}, function($ctx1) {$ctx1.fill(self,"cols:",{aString:aString}, smalltalk.TagBrush)})}
  1581. }),
  1582. smalltalk.TagBrush);
  1583. smalltalk.addMethod(
  1584. "_contenteditable_",
  1585. smalltalk.method({
  1586. selector: "contenteditable:",
  1587. fn: function (aString){
  1588. var self=this;
  1589. return smalltalk.withContext(function($ctx1) { _st(self)._at_put_("contenteditable",aString);
  1590. return self}, function($ctx1) {$ctx1.fill(self,"contenteditable:",{aString:aString}, smalltalk.TagBrush)})}
  1591. }),
  1592. smalltalk.TagBrush);
  1593. smalltalk.addMethod(
  1594. "_contents_",
  1595. smalltalk.method({
  1596. selector: "contents:",
  1597. fn: function (anObject){
  1598. var self=this;
  1599. return smalltalk.withContext(function($ctx1) { var $1,$2;
  1600. $1=self;
  1601. _st($1)._empty();
  1602. $2=_st($1)._append_(anObject);
  1603. return self}, function($ctx1) {$ctx1.fill(self,"contents:",{anObject:anObject}, smalltalk.TagBrush)})}
  1604. }),
  1605. smalltalk.TagBrush);
  1606. smalltalk.addMethod(
  1607. "_contextmenu_",
  1608. smalltalk.method({
  1609. selector: "contextmenu:",
  1610. fn: function (aString){
  1611. var self=this;
  1612. return smalltalk.withContext(function($ctx1) { _st(self)._at_put_("contextmenu",aString);
  1613. return self}, function($ctx1) {$ctx1.fill(self,"contextmenu:",{aString:aString}, smalltalk.TagBrush)})}
  1614. }),
  1615. smalltalk.TagBrush);
  1616. smalltalk.addMethod(
  1617. "_createElementFor_",
  1618. smalltalk.method({
  1619. selector: "createElementFor:",
  1620. fn: function (aString){
  1621. var self=this;
  1622. return smalltalk.withContext(function($ctx1) { return document.createElement(String(aString));
  1623. return self}, function($ctx1) {$ctx1.fill(self,"createElementFor:",{aString:aString}, smalltalk.TagBrush)})}
  1624. }),
  1625. smalltalk.TagBrush);
  1626. smalltalk.addMethod(
  1627. "_createTextNodeFor_",
  1628. smalltalk.method({
  1629. selector: "createTextNodeFor:",
  1630. fn: function (aString){
  1631. var self=this;
  1632. return smalltalk.withContext(function($ctx1) { return document.createTextNode(String(aString));
  1633. return self}, function($ctx1) {$ctx1.fill(self,"createTextNodeFor:",{aString:aString}, smalltalk.TagBrush)})}
  1634. }),
  1635. smalltalk.TagBrush);
  1636. smalltalk.addMethod(
  1637. "_draggable_",
  1638. smalltalk.method({
  1639. selector: "draggable:",
  1640. fn: function (aString){
  1641. var self=this;
  1642. return smalltalk.withContext(function($ctx1) { _st(self)._at_put_("draggable",aString);
  1643. return self}, function($ctx1) {$ctx1.fill(self,"draggable:",{aString:aString}, smalltalk.TagBrush)})}
  1644. }),
  1645. smalltalk.TagBrush);
  1646. smalltalk.addMethod(
  1647. "_element",
  1648. smalltalk.method({
  1649. selector: "element",
  1650. fn: function (){
  1651. var self=this;
  1652. return smalltalk.withContext(function($ctx1) { var $1;
  1653. $1=self["@element"];
  1654. return $1;
  1655. }, function($ctx1) {$ctx1.fill(self,"element",{}, smalltalk.TagBrush)})}
  1656. }),
  1657. smalltalk.TagBrush);
  1658. smalltalk.addMethod(
  1659. "_empty",
  1660. smalltalk.method({
  1661. selector: "empty",
  1662. fn: function (){
  1663. var self=this;
  1664. return smalltalk.withContext(function($ctx1) { _st(_st(self)._asJQuery())._empty();
  1665. return self}, function($ctx1) {$ctx1.fill(self,"empty",{}, smalltalk.TagBrush)})}
  1666. }),
  1667. smalltalk.TagBrush);
  1668. smalltalk.addMethod(
  1669. "_for_",
  1670. smalltalk.method({
  1671. selector: "for:",
  1672. fn: function (aString){
  1673. var self=this;
  1674. return smalltalk.withContext(function($ctx1) { _st(self)._at_put_("for",aString);
  1675. return self}, function($ctx1) {$ctx1.fill(self,"for:",{aString:aString}, smalltalk.TagBrush)})}
  1676. }),
  1677. smalltalk.TagBrush);
  1678. smalltalk.addMethod(
  1679. "_height_",
  1680. smalltalk.method({
  1681. selector: "height:",
  1682. fn: function (aString){
  1683. var self=this;
  1684. return smalltalk.withContext(function($ctx1) { _st(self)._at_put_("height",aString);
  1685. return self}, function($ctx1) {$ctx1.fill(self,"height:",{aString:aString}, smalltalk.TagBrush)})}
  1686. }),
  1687. smalltalk.TagBrush);
  1688. smalltalk.addMethod(
  1689. "_hidden",
  1690. smalltalk.method({
  1691. selector: "hidden",
  1692. fn: function (){
  1693. var self=this;
  1694. return smalltalk.withContext(function($ctx1) { _st(self)._at_put_("hidden","hidden");
  1695. return self}, function($ctx1) {$ctx1.fill(self,"hidden",{}, smalltalk.TagBrush)})}
  1696. }),
  1697. smalltalk.TagBrush);
  1698. smalltalk.addMethod(
  1699. "_href_",
  1700. smalltalk.method({
  1701. selector: "href:",
  1702. fn: function (aString){
  1703. var self=this;
  1704. return smalltalk.withContext(function($ctx1) { _st(self)._at_put_("href",aString);
  1705. return self}, function($ctx1) {$ctx1.fill(self,"href:",{aString:aString}, smalltalk.TagBrush)})}
  1706. }),
  1707. smalltalk.TagBrush);
  1708. smalltalk.addMethod(
  1709. "_id_",
  1710. smalltalk.method({
  1711. selector: "id:",
  1712. fn: function (aString){
  1713. var self=this;
  1714. return smalltalk.withContext(function($ctx1) { _st(self)._at_put_("id",aString);
  1715. return self}, function($ctx1) {$ctx1.fill(self,"id:",{aString:aString}, smalltalk.TagBrush)})}
  1716. }),
  1717. smalltalk.TagBrush);
  1718. smalltalk.addMethod(
  1719. "_initializeFromJQuery_canvas_",
  1720. smalltalk.method({
  1721. selector: "initializeFromJQuery:canvas:",
  1722. fn: function (aJQuery,aCanvas){
  1723. var self=this;
  1724. return smalltalk.withContext(function($ctx1) { self["@element"]=_st(aJQuery)._get_((0));
  1725. self["@canvas"]=aCanvas;
  1726. return self}, function($ctx1) {$ctx1.fill(self,"initializeFromJQuery:canvas:",{aJQuery:aJQuery,aCanvas:aCanvas}, smalltalk.TagBrush)})}
  1727. }),
  1728. smalltalk.TagBrush);
  1729. smalltalk.addMethod(
  1730. "_initializeFromString_canvas_",
  1731. smalltalk.method({
  1732. selector: "initializeFromString:canvas:",
  1733. fn: function (aString,aCanvas){
  1734. var self=this;
  1735. return smalltalk.withContext(function($ctx1) { self["@element"]=_st(self)._createElementFor_(aString);
  1736. self["@canvas"]=aCanvas;
  1737. return self}, function($ctx1) {$ctx1.fill(self,"initializeFromString:canvas:",{aString:aString,aCanvas:aCanvas}, smalltalk.TagBrush)})}
  1738. }),
  1739. smalltalk.TagBrush);
  1740. smalltalk.addMethod(
  1741. "_media_",
  1742. smalltalk.method({
  1743. selector: "media:",
  1744. fn: function (aString){
  1745. var self=this;
  1746. return smalltalk.withContext(function($ctx1) { _st(self)._at_put_("media",aString);
  1747. return self}, function($ctx1) {$ctx1.fill(self,"media:",{aString:aString}, smalltalk.TagBrush)})}
  1748. }),
  1749. smalltalk.TagBrush);
  1750. smalltalk.addMethod(
  1751. "_method_",
  1752. smalltalk.method({
  1753. selector: "method:",
  1754. fn: function (aString){
  1755. var self=this;
  1756. return smalltalk.withContext(function($ctx1) { _st(self)._at_put_("method",aString);
  1757. return self}, function($ctx1) {$ctx1.fill(self,"method:",{aString:aString}, smalltalk.TagBrush)})}
  1758. }),
  1759. smalltalk.TagBrush);
  1760. smalltalk.addMethod(
  1761. "_name_",
  1762. smalltalk.method({
  1763. selector: "name:",
  1764. fn: function (aString){
  1765. var self=this;
  1766. return smalltalk.withContext(function($ctx1) { _st(self)._at_put_("name",aString);
  1767. return self}, function($ctx1) {$ctx1.fill(self,"name:",{aString:aString}, smalltalk.TagBrush)})}
  1768. }),
  1769. smalltalk.TagBrush);
  1770. smalltalk.addMethod(
  1771. "_onBlur_",
  1772. smalltalk.method({
  1773. selector: "onBlur:",
  1774. fn: function (aBlock){
  1775. var self=this;
  1776. return smalltalk.withContext(function($ctx1) { _st(_st(self)._asJQuery())._bind_do_("blur",aBlock);
  1777. return self}, function($ctx1) {$ctx1.fill(self,"onBlur:",{aBlock:aBlock}, smalltalk.TagBrush)})}
  1778. }),
  1779. smalltalk.TagBrush);
  1780. smalltalk.addMethod(
  1781. "_onChange_",
  1782. smalltalk.method({
  1783. selector: "onChange:",
  1784. fn: function (aBlock){
  1785. var self=this;
  1786. return smalltalk.withContext(function($ctx1) { _st(_st(self)._asJQuery())._bind_do_("change",aBlock);
  1787. return self}, function($ctx1) {$ctx1.fill(self,"onChange:",{aBlock:aBlock}, smalltalk.TagBrush)})}
  1788. }),
  1789. smalltalk.TagBrush);
  1790. smalltalk.addMethod(
  1791. "_onClick_",
  1792. smalltalk.method({
  1793. selector: "onClick:",
  1794. fn: function (aBlock){
  1795. var self=this;
  1796. return smalltalk.withContext(function($ctx1) { _st(_st(self)._asJQuery())._bind_do_("click",aBlock);
  1797. return self}, function($ctx1) {$ctx1.fill(self,"onClick:",{aBlock:aBlock}, smalltalk.TagBrush)})}
  1798. }),
  1799. smalltalk.TagBrush);
  1800. smalltalk.addMethod(
  1801. "_onDblClick_",
  1802. smalltalk.method({
  1803. selector: "onDblClick:",
  1804. fn: function (aBlock){
  1805. var self=this;
  1806. return smalltalk.withContext(function($ctx1) { _st(_st(self)._asJQuery())._bind_do_("dblclick",aBlock);
  1807. return self}, function($ctx1) {$ctx1.fill(self,"onDblClick:",{aBlock:aBlock}, smalltalk.TagBrush)})}
  1808. }),
  1809. smalltalk.TagBrush);
  1810. smalltalk.addMethod(
  1811. "_onFocus_",
  1812. smalltalk.method({
  1813. selector: "onFocus:",
  1814. fn: function (aBlock){
  1815. var self=this;
  1816. return smalltalk.withContext(function($ctx1) { _st(_st(self)._asJQuery())._bind_do_("focus",aBlock);
  1817. return self}, function($ctx1) {$ctx1.fill(self,"onFocus:",{aBlock:aBlock}, smalltalk.TagBrush)})}
  1818. }),
  1819. smalltalk.TagBrush);
  1820. smalltalk.addMethod(
  1821. "_onFocusIn_",
  1822. smalltalk.method({
  1823. selector: "onFocusIn:",
  1824. fn: function (aBlock){
  1825. var self=this;
  1826. return smalltalk.withContext(function($ctx1) { _st(_st(self)._asJQuery())._bind_do_("focusin",aBlock);
  1827. return self}, function($ctx1) {$ctx1.fill(self,"onFocusIn:",{aBlock:aBlock}, smalltalk.TagBrush)})}
  1828. }),
  1829. smalltalk.TagBrush);
  1830. smalltalk.addMethod(
  1831. "_onFocusOut_",
  1832. smalltalk.method({
  1833. selector: "onFocusOut:",
  1834. fn: function (aBlock){
  1835. var self=this;
  1836. return smalltalk.withContext(function($ctx1) { _st(_st(self)._asJQuery())._bind_do_("focusout",aBlock);
  1837. return self}, function($ctx1) {$ctx1.fill(self,"onFocusOut:",{aBlock:aBlock}, smalltalk.TagBrush)})}
  1838. }),
  1839. smalltalk.TagBrush);
  1840. smalltalk.addMethod(
  1841. "_onHover_",
  1842. smalltalk.method({
  1843. selector: "onHover:",
  1844. fn: function (aBlock){
  1845. var self=this;
  1846. return smalltalk.withContext(function($ctx1) { _st(_st(self)._asJQuery())._bind_do_("hover",aBlock);
  1847. return self}, function($ctx1) {$ctx1.fill(self,"onHover:",{aBlock:aBlock}, smalltalk.TagBrush)})}
  1848. }),
  1849. smalltalk.TagBrush);
  1850. smalltalk.addMethod(
  1851. "_onKeyDown_",
  1852. smalltalk.method({
  1853. selector: "onKeyDown:",
  1854. fn: function (aBlock){
  1855. var self=this;
  1856. return smalltalk.withContext(function($ctx1) { _st(_st(self)._asJQuery())._bind_do_("keydown",aBlock);
  1857. return self}, function($ctx1) {$ctx1.fill(self,"onKeyDown:",{aBlock:aBlock}, smalltalk.TagBrush)})}
  1858. }),
  1859. smalltalk.TagBrush);
  1860. smalltalk.addMethod(
  1861. "_onKeyPress_",
  1862. smalltalk.method({
  1863. selector: "onKeyPress:",
  1864. fn: function (aBlock){
  1865. var self=this;
  1866. return smalltalk.withContext(function($ctx1) { _st(_st(self)._asJQuery())._bind_do_("keypress",aBlock);
  1867. return self}, function($ctx1) {$ctx1.fill(self,"onKeyPress:",{aBlock:aBlock}, smalltalk.TagBrush)})}
  1868. }),
  1869. smalltalk.TagBrush);
  1870. smalltalk.addMethod(
  1871. "_onKeyUp_",
  1872. smalltalk.method({
  1873. selector: "onKeyUp:",
  1874. fn: function (aBlock){
  1875. var self=this;
  1876. return smalltalk.withContext(function($ctx1) { _st(_st(self)._asJQuery())._bind_do_("keyup",aBlock);
  1877. return self}, function($ctx1) {$ctx1.fill(self,"onKeyUp:",{aBlock:aBlock}, smalltalk.TagBrush)})}
  1878. }),
  1879. smalltalk.TagBrush);
  1880. smalltalk.addMethod(
  1881. "_onMouseDown_",
  1882. smalltalk.method({
  1883. selector: "onMouseDown:",
  1884. fn: function (aBlock){
  1885. var self=this;
  1886. return smalltalk.withContext(function($ctx1) { _st(_st(self)._asJQuery())._bind_do_("mousedown",aBlock);
  1887. return self}, function($ctx1) {$ctx1.fill(self,"onMouseDown:",{aBlock:aBlock}, smalltalk.TagBrush)})}
  1888. }),
  1889. smalltalk.TagBrush);
  1890. smalltalk.addMethod(
  1891. "_onMouseEnter_",
  1892. smalltalk.method({
  1893. selector: "onMouseEnter:",
  1894. fn: function (aBlock){
  1895. var self=this;
  1896. return smalltalk.withContext(function($ctx1) { _st(_st(self)._asJQuery())._bind_do_("mouseenter",aBlock);
  1897. return self}, function($ctx1) {$ctx1.fill(self,"onMouseEnter:",{aBlock:aBlock}, smalltalk.TagBrush)})}
  1898. }),
  1899. smalltalk.TagBrush);
  1900. smalltalk.addMethod(
  1901. "_onMouseLeave_",
  1902. smalltalk.method({
  1903. selector: "onMouseLeave:",
  1904. fn: function (aBlock){
  1905. var self=this;
  1906. return smalltalk.withContext(function($ctx1) { _st(_st(self)._asJQuery())._bind_do_("mouseleave",aBlock);
  1907. return self}, function($ctx1) {$ctx1.fill(self,"onMouseLeave:",{aBlock:aBlock}, smalltalk.TagBrush)})}
  1908. }),
  1909. smalltalk.TagBrush);
  1910. smalltalk.addMethod(
  1911. "_onMouseMove_",
  1912. smalltalk.method({
  1913. selector: "onMouseMove:",
  1914. fn: function (aBlock){
  1915. var self=this;
  1916. return smalltalk.withContext(function($ctx1) { _st(_st(self)._asJQuery())._bind_do_("mousemove",aBlock);
  1917. return self}, function($ctx1) {$ctx1.fill(self,"onMouseMove:",{aBlock:aBlock}, smalltalk.TagBrush)})}
  1918. }),
  1919. smalltalk.TagBrush);
  1920. smalltalk.addMethod(
  1921. "_onMouseOut_",
  1922. smalltalk.method({
  1923. selector: "onMouseOut:",
  1924. fn: function (aBlock){
  1925. var self=this;
  1926. return smalltalk.withContext(function($ctx1) { _st(_st(self)._asJQuery())._bind_do_("mouseout",aBlock);
  1927. return self}, function($ctx1) {$ctx1.fill(self,"onMouseOut:",{aBlock:aBlock}, smalltalk.TagBrush)})}
  1928. }),
  1929. smalltalk.TagBrush);
  1930. smalltalk.addMethod(
  1931. "_onMouseOver_",
  1932. smalltalk.method({
  1933. selector: "onMouseOver:",
  1934. fn: function (aBlock){
  1935. var self=this;
  1936. return smalltalk.withContext(function($ctx1) { _st(_st(self)._asJQuery())._bind_do_("mouseover",aBlock);
  1937. return self}, function($ctx1) {$ctx1.fill(self,"onMouseOver:",{aBlock:aBlock}, smalltalk.TagBrush)})}
  1938. }),
  1939. smalltalk.TagBrush);
  1940. smalltalk.addMethod(
  1941. "_onMouseUp_",
  1942. smalltalk.method({
  1943. selector: "onMouseUp:",
  1944. fn: function (aBlock){
  1945. var self=this;
  1946. return smalltalk.withContext(function($ctx1) { _st(_st(self)._asJQuery())._bind_do_("mouseup",aBlock);
  1947. return self}, function($ctx1) {$ctx1.fill(self,"onMouseUp:",{aBlock:aBlock}, smalltalk.TagBrush)})}
  1948. }),
  1949. smalltalk.TagBrush);
  1950. smalltalk.addMethod(
  1951. "_onSelect_",
  1952. smalltalk.method({
  1953. selector: "onSelect:",
  1954. fn: function (aBlock){
  1955. var self=this;
  1956. return smalltalk.withContext(function($ctx1) { _st(_st(self)._asJQuery())._bind_do_("select",aBlock);
  1957. return self}, function($ctx1) {$ctx1.fill(self,"onSelect:",{aBlock:aBlock}, smalltalk.TagBrush)})}
  1958. }),
  1959. smalltalk.TagBrush);
  1960. smalltalk.addMethod(
  1961. "_onSubmit_",
  1962. smalltalk.method({
  1963. selector: "onSubmit:",
  1964. fn: function (aBlock){
  1965. var self=this;
  1966. return smalltalk.withContext(function($ctx1) { _st(_st(self)._asJQuery())._bind_do_("submit",aBlock);
  1967. return self}, function($ctx1) {$ctx1.fill(self,"onSubmit:",{aBlock:aBlock}, smalltalk.TagBrush)})}
  1968. }),
  1969. smalltalk.TagBrush);
  1970. smalltalk.addMethod(
  1971. "_onUnload_",
  1972. smalltalk.method({
  1973. selector: "onUnload:",
  1974. fn: function (aBlock){
  1975. var self=this;
  1976. return smalltalk.withContext(function($ctx1) { _st(_st(self)._asJQuery())._bind_do_("unload",aBlock);
  1977. return self}, function($ctx1) {$ctx1.fill(self,"onUnload:",{aBlock:aBlock}, smalltalk.TagBrush)})}
  1978. }),
  1979. smalltalk.TagBrush);
  1980. smalltalk.addMethod(
  1981. "_placeholder_",
  1982. smalltalk.method({
  1983. selector: "placeholder:",
  1984. fn: function (aString){
  1985. var self=this;
  1986. return smalltalk.withContext(function($ctx1) { _st(self)._at_put_("placeholder",aString);
  1987. return self}, function($ctx1) {$ctx1.fill(self,"placeholder:",{aString:aString}, smalltalk.TagBrush)})}
  1988. }),
  1989. smalltalk.TagBrush);
  1990. smalltalk.addMethod(
  1991. "_rel_",
  1992. smalltalk.method({
  1993. selector: "rel:",
  1994. fn: function (aString){
  1995. var self=this;
  1996. return smalltalk.withContext(function($ctx1) { _st(self)._at_put_("rel",aString);
  1997. return self}, function($ctx1) {$ctx1.fill(self,"rel:",{aString:aString}, smalltalk.TagBrush)})}
  1998. }),
  1999. smalltalk.TagBrush);
  2000. smalltalk.addMethod(
  2001. "_removeAt_",
  2002. smalltalk.method({
  2003. selector: "removeAt:",
  2004. fn: function (aString){
  2005. var self=this;
  2006. return smalltalk.withContext(function($ctx1) { self['@element'].removeAttribute(aString);
  2007. return self}, function($ctx1) {$ctx1.fill(self,"removeAt:",{aString:aString}, smalltalk.TagBrush)})}
  2008. }),
  2009. smalltalk.TagBrush);
  2010. smalltalk.addMethod(
  2011. "_rows_",
  2012. smalltalk.method({
  2013. selector: "rows:",
  2014. fn: function (aString){
  2015. var self=this;
  2016. return smalltalk.withContext(function($ctx1) { _st(self)._at_put_("rows",aString);
  2017. return self}, function($ctx1) {$ctx1.fill(self,"rows:",{aString:aString}, smalltalk.TagBrush)})}
  2018. }),
  2019. smalltalk.TagBrush);
  2020. smalltalk.addMethod(
  2021. "_src_",
  2022. smalltalk.method({
  2023. selector: "src:",
  2024. fn: function (aString){
  2025. var self=this;
  2026. return smalltalk.withContext(function($ctx1) { _st(self)._at_put_("src",aString);
  2027. return self}, function($ctx1) {$ctx1.fill(self,"src:",{aString:aString}, smalltalk.TagBrush)})}
  2028. }),
  2029. smalltalk.TagBrush);
  2030. smalltalk.addMethod(
  2031. "_style_",
  2032. smalltalk.method({
  2033. selector: "style:",
  2034. fn: function (aString){
  2035. var self=this;
  2036. return smalltalk.withContext(function($ctx1) { _st(self)._at_put_("style",aString);
  2037. return self}, function($ctx1) {$ctx1.fill(self,"style:",{aString:aString}, smalltalk.TagBrush)})}
  2038. }),
  2039. smalltalk.TagBrush);
  2040. smalltalk.addMethod(
  2041. "_tabindex_",
  2042. smalltalk.method({
  2043. selector: "tabindex:",
  2044. fn: function (aNumber){
  2045. var self=this;
  2046. return smalltalk.withContext(function($ctx1) { _st(self)._at_put_("tabindex",aNumber);
  2047. return self}, function($ctx1) {$ctx1.fill(self,"tabindex:",{aNumber:aNumber}, smalltalk.TagBrush)})}
  2048. }),
  2049. smalltalk.TagBrush);
  2050. smalltalk.addMethod(
  2051. "_target_",
  2052. smalltalk.method({
  2053. selector: "target:",
  2054. fn: function (aString){
  2055. var self=this;
  2056. return smalltalk.withContext(function($ctx1) { _st(self)._at_put_("target",aString);
  2057. return self}, function($ctx1) {$ctx1.fill(self,"target:",{aString:aString}, smalltalk.TagBrush)})}
  2058. }),
  2059. smalltalk.TagBrush);
  2060. smalltalk.addMethod(
  2061. "_title_",
  2062. smalltalk.method({
  2063. selector: "title:",
  2064. fn: function (aString){
  2065. var self=this;
  2066. return smalltalk.withContext(function($ctx1) { _st(self)._at_put_("title",aString);
  2067. return self}, function($ctx1) {$ctx1.fill(self,"title:",{aString:aString}, smalltalk.TagBrush)})}
  2068. }),
  2069. smalltalk.TagBrush);
  2070. smalltalk.addMethod(
  2071. "_type_",
  2072. smalltalk.method({
  2073. selector: "type:",
  2074. fn: function (aString){
  2075. var self=this;
  2076. return smalltalk.withContext(function($ctx1) { _st(self)._at_put_("type",aString);
  2077. return self}, function($ctx1) {$ctx1.fill(self,"type:",{aString:aString}, smalltalk.TagBrush)})}
  2078. }),
  2079. smalltalk.TagBrush);
  2080. smalltalk.addMethod(
  2081. "_valign_",
  2082. smalltalk.method({
  2083. selector: "valign:",
  2084. fn: function (aString){
  2085. var self=this;
  2086. return smalltalk.withContext(function($ctx1) { _st(self)._at_put_("valign",aString);
  2087. return self}, function($ctx1) {$ctx1.fill(self,"valign:",{aString:aString}, smalltalk.TagBrush)})}
  2088. }),
  2089. smalltalk.TagBrush);
  2090. smalltalk.addMethod(
  2091. "_value_",
  2092. smalltalk.method({
  2093. selector: "value:",
  2094. fn: function (aString){
  2095. var self=this;
  2096. return smalltalk.withContext(function($ctx1) { _st(self)._at_put_("value",aString);
  2097. return self}, function($ctx1) {$ctx1.fill(self,"value:",{aString:aString}, smalltalk.TagBrush)})}
  2098. }),
  2099. smalltalk.TagBrush);
  2100. smalltalk.addMethod(
  2101. "_width_",
  2102. smalltalk.method({
  2103. selector: "width:",
  2104. fn: function (aString){
  2105. var self=this;
  2106. return smalltalk.withContext(function($ctx1) { _st(self)._at_put_("width",aString);
  2107. return self}, function($ctx1) {$ctx1.fill(self,"width:",{aString:aString}, smalltalk.TagBrush)})}
  2108. }),
  2109. smalltalk.TagBrush);
  2110. smalltalk.addMethod(
  2111. "_with_",
  2112. smalltalk.method({
  2113. selector: "with:",
  2114. fn: function (anObject){
  2115. var self=this;
  2116. return smalltalk.withContext(function($ctx1) { _st(self)._append_(anObject);
  2117. return self}, function($ctx1) {$ctx1.fill(self,"with:",{anObject:anObject}, smalltalk.TagBrush)})}
  2118. }),
  2119. smalltalk.TagBrush);
  2120. smalltalk.addMethod(
  2121. "_fromJQuery_canvas_",
  2122. smalltalk.method({
  2123. selector: "fromJQuery:canvas:",
  2124. fn: function (aJQuery,aCanvas){
  2125. var self=this;
  2126. return smalltalk.withContext(function($ctx1) { var $2,$3,$1;
  2127. $2=_st(self)._new();
  2128. _st($2)._initializeFromJQuery_canvas_(aJQuery,aCanvas);
  2129. $3=_st($2)._yourself();
  2130. $1=$3;
  2131. return $1;
  2132. }, function($ctx1) {$ctx1.fill(self,"fromJQuery:canvas:",{aJQuery:aJQuery,aCanvas:aCanvas}, smalltalk.TagBrush.klass)})}
  2133. }),
  2134. smalltalk.TagBrush.klass);
  2135. smalltalk.addMethod(
  2136. "_fromString_canvas_",
  2137. smalltalk.method({
  2138. selector: "fromString:canvas:",
  2139. fn: function (aString,aCanvas){
  2140. var self=this;
  2141. return smalltalk.withContext(function($ctx1) { var $2,$3,$1;
  2142. $2=_st(self)._new();
  2143. _st($2)._initializeFromString_canvas_(aString,aCanvas);
  2144. $3=_st($2)._yourself();
  2145. $1=$3;
  2146. return $1;
  2147. }, function($ctx1) {$ctx1.fill(self,"fromString:canvas:",{aString:aString,aCanvas:aCanvas}, smalltalk.TagBrush.klass)})}
  2148. }),
  2149. smalltalk.TagBrush.klass);
  2150. smalltalk.addClass('StyleTag', smalltalk.TagBrush, ['canvas', 'element'], 'Canvas');
  2151. smalltalk.addMethod(
  2152. "_with_",
  2153. smalltalk.method({
  2154. selector: "with:",
  2155. fn: function (aString){
  2156. var self=this;
  2157. return smalltalk.withContext(function($ctx1) { var $1;
  2158. $1=_st((smalltalk.HTMLCanvas || HTMLCanvas))._isMSIE();
  2159. if(smalltalk.assert($1)){
  2160. _st(_st(_st(self)._element())._styleSheet())._cssText_(aString);
  2161. } else {
  2162. smalltalk.TagBrush.fn.prototype._with_.apply(_st(self), [aString]);
  2163. };
  2164. return self}, function($ctx1) {$ctx1.fill(self,"with:",{aString:aString}, smalltalk.StyleTag)})}
  2165. }),
  2166. smalltalk.StyleTag);
  2167. smalltalk.addMethod(
  2168. "_canvas_",
  2169. smalltalk.method({
  2170. selector: "canvas:",
  2171. fn: function (aCanvas){
  2172. var self=this;
  2173. return smalltalk.withContext(function($ctx1) { var $2,$3,$1;
  2174. $2=_st(self)._new();
  2175. _st($2)._initializeFromString_canvas_("style",aCanvas);
  2176. $3=_st($2)._yourself();
  2177. $1=$3;
  2178. return $1;
  2179. }, function($ctx1) {$ctx1.fill(self,"canvas:",{aCanvas:aCanvas}, smalltalk.StyleTag.klass)})}
  2180. }),
  2181. smalltalk.StyleTag.klass);
  2182. smalltalk.addClass('Widget', smalltalk.Object, [], 'Canvas');
  2183. smalltalk.addMethod(
  2184. "_appendToBrush_",
  2185. smalltalk.method({
  2186. selector: "appendToBrush:",
  2187. fn: function (aTagBrush){
  2188. var self=this;
  2189. return smalltalk.withContext(function($ctx1) { _st(self)._appendToJQuery_(_st(aTagBrush)._asJQuery());
  2190. return self}, function($ctx1) {$ctx1.fill(self,"appendToBrush:",{aTagBrush:aTagBrush}, smalltalk.Widget)})}
  2191. }),
  2192. smalltalk.Widget);
  2193. smalltalk.addMethod(
  2194. "_appendToJQuery_",
  2195. smalltalk.method({
  2196. selector: "appendToJQuery:",
  2197. fn: function (aJQuery){
  2198. var self=this;
  2199. return smalltalk.withContext(function($ctx1) { _st(self)._renderOn_(_st((smalltalk.HTMLCanvas || HTMLCanvas))._onJQuery_(aJQuery));
  2200. return self}, function($ctx1) {$ctx1.fill(self,"appendToJQuery:",{aJQuery:aJQuery}, smalltalk.Widget)})}
  2201. }),
  2202. smalltalk.Widget);
  2203. smalltalk.addMethod(
  2204. "_renderOn_",
  2205. smalltalk.method({
  2206. selector: "renderOn:",
  2207. fn: function (html){
  2208. var self=this;
  2209. return smalltalk.withContext(function($ctx1) { return self}, function($ctx1) {$ctx1.fill(self,"renderOn:",{html:html}, smalltalk.Widget)})}
  2210. }),
  2211. smalltalk.Widget);
  2212. smalltalk.addMethod(
  2213. "_appendToBrush_",
  2214. smalltalk.method({
  2215. selector: "appendToBrush:",
  2216. fn: function (aTagBrush){
  2217. var self=this;
  2218. return smalltalk.withContext(function($ctx1) { _st(aTagBrush)._append_(_st(self)._asString());
  2219. return self}, function($ctx1) {$ctx1.fill(self,"appendToBrush:",{aTagBrush:aTagBrush}, smalltalk.Object)})}
  2220. }),
  2221. smalltalk.Object);
  2222. smalltalk.addMethod(
  2223. "_appendToJQuery_",
  2224. smalltalk.method({
  2225. selector: "appendToJQuery:",
  2226. fn: function (aJQuery){
  2227. var self=this;
  2228. return smalltalk.withContext(function($ctx1) { _st(aJQuery)._append_(_st(self)._asString());
  2229. return self}, function($ctx1) {$ctx1.fill(self,"appendToJQuery:",{aJQuery:aJQuery}, smalltalk.Object)})}
  2230. }),
  2231. smalltalk.Object);
  2232. smalltalk.addMethod(
  2233. "_appendToBrush_",
  2234. smalltalk.method({
  2235. selector: "appendToBrush:",
  2236. fn: function (aTagBrush){
  2237. var self=this;
  2238. return smalltalk.withContext(function($ctx1) { _st(aTagBrush)._appendBlock_(self);
  2239. return self}, function($ctx1) {$ctx1.fill(self,"appendToBrush:",{aTagBrush:aTagBrush}, smalltalk.BlockClosure)})}
  2240. }),
  2241. smalltalk.BlockClosure);
  2242. smalltalk.addMethod(
  2243. "_appendToJQuery_",
  2244. smalltalk.method({
  2245. selector: "appendToJQuery:",
  2246. fn: function (aJQuery){
  2247. var self=this;
  2248. return smalltalk.withContext(function($ctx1) { _st(self)._value_(_st((smalltalk.HTMLCanvas || HTMLCanvas))._onJQuery_(aJQuery));
  2249. return self}, function($ctx1) {$ctx1.fill(self,"appendToJQuery:",{aJQuery:aJQuery}, smalltalk.BlockClosure)})}
  2250. }),
  2251. smalltalk.BlockClosure);
  2252. smalltalk.addMethod(
  2253. "_appendToBrush_",
  2254. smalltalk.method({
  2255. selector: "appendToBrush:",
  2256. fn: function (aTagBrush){
  2257. var self=this;
  2258. return smalltalk.withContext(function($ctx1) { _st(aTagBrush)._appendString_(self);
  2259. return self}, function($ctx1) {$ctx1.fill(self,"appendToBrush:",{aTagBrush:aTagBrush}, smalltalk.String)})}
  2260. }),
  2261. smalltalk.String);
  2262. smalltalk.addMethod(
  2263. "_appendToJQuery_",
  2264. smalltalk.method({
  2265. selector: "appendToJQuery:",
  2266. fn: function (aJQuery){
  2267. var self=this;
  2268. return smalltalk.withContext(function($ctx1) { _st(aJQuery)._append_(self);
  2269. return self}, function($ctx1) {$ctx1.fill(self,"appendToJQuery:",{aJQuery:aJQuery}, smalltalk.String)})}
  2270. }),
  2271. smalltalk.String);
  2272. smalltalk.addMethod(
  2273. "_asJQuery",
  2274. smalltalk.method({
  2275. selector: "asJQuery",
  2276. fn: function (){
  2277. var self=this;
  2278. return smalltalk.withContext(function($ctx1) { return jQuery(String(self));
  2279. return self}, function($ctx1) {$ctx1.fill(self,"asJQuery",{}, smalltalk.String)})}
  2280. }),
  2281. smalltalk.String);
  2282. smalltalk.addMethod(
  2283. "_asJQuery",
  2284. smalltalk.method({
  2285. selector: "asJQuery",
  2286. fn: function (){
  2287. var self=this;
  2288. return smalltalk.withContext(function($ctx1) { return jQuery(self['@jsObject']);
  2289. return self}, function($ctx1) {$ctx1.fill(self,"asJQuery",{}, smalltalk.JSObjectProxy)})}
  2290. }),
  2291. smalltalk.JSObjectProxy);