resin 0.2.1 → 0.2.2

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