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