resin 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.markdown +52 -0
- data/amber/css/amber.css +519 -0
- data/amber/css/documentation.css +84 -0
- data/amber/css/profstef.css +75 -0
- data/amber/css/style.css +313 -0
- data/amber/images/amber.png +0 -0
- data/amber/images/amber_small.png +0 -0
- data/amber/images/off.png +0 -0
- data/amber/images/offHover.png +0 -0
- data/amber/images/presentation.png +0 -0
- data/amber/images/profstef.png +0 -0
- data/amber/images/sprite.png +0 -0
- data/amber/images/tinylogo.png +0 -0
- data/amber/images/twitterwall.png +0 -0
- data/amber/js/Additional-Examples.deploy.js +15 -0
- data/amber/js/Additional-Examples.js +21 -0
- data/amber/js/Benchfib.deploy.js +132 -0
- data/amber/js/Benchfib.js +167 -0
- data/amber/js/Canvas.deploy.js +1304 -0
- data/amber/js/Canvas.js +1885 -0
- data/amber/js/Compiler.deploy.js +1871 -0
- data/amber/js/Compiler.js +2616 -0
- data/amber/js/Documentation.deploy.js +961 -0
- data/amber/js/Documentation.js +1376 -0
- data/amber/js/Examples.deploy.js +53 -0
- data/amber/js/Examples.js +73 -0
- data/amber/js/IDE.deploy.js +3468 -0
- data/amber/js/IDE.js +4883 -0
- data/amber/js/Kernel-Announcements.deploy.js +107 -0
- data/amber/js/Kernel-Announcements.js +152 -0
- data/amber/js/Kernel-Classes.deploy.js +675 -0
- data/amber/js/Kernel-Classes.js +956 -0
- data/amber/js/Kernel-Collections.deploy.js +3273 -0
- data/amber/js/Kernel-Collections.js +4644 -0
- data/amber/js/Kernel-Exceptions.deploy.js +244 -0
- data/amber/js/Kernel-Exceptions.js +349 -0
- data/amber/js/Kernel-Methods.deploy.js +510 -0
- data/amber/js/Kernel-Methods.js +739 -0
- data/amber/js/Kernel-Objects.deploy.js +2698 -0
- data/amber/js/Kernel-Objects.js +3858 -0
- data/amber/js/Kernel-Tests.deploy.js +1419 -0
- data/amber/js/Kernel-Tests.js +1929 -0
- data/amber/js/Kernel-Transcript.deploy.js +142 -0
- data/amber/js/Kernel-Transcript.js +202 -0
- data/amber/js/SUnit.deploy.js +351 -0
- data/amber/js/SUnit.js +501 -0
- data/amber/js/amber.js +250 -0
- data/amber/js/boot.js +587 -0
- data/amber/js/compat.js +22 -0
- data/amber/js/init.js +8 -0
- data/amber/js/lib/CodeMirror/LICENSE +19 -0
- data/amber/js/lib/CodeMirror/amber.css +21 -0
- data/amber/js/lib/CodeMirror/codemirror.css +67 -0
- data/amber/js/lib/CodeMirror/codemirror.js +2144 -0
- data/amber/js/lib/CodeMirror/smalltalk.js +134 -0
- data/amber/js/lib/jQuery/jquery-1.4.4.min.js +167 -0
- data/amber/js/lib/jQuery/jquery-1.6.4.min.js +4 -0
- data/amber/js/lib/jQuery/jquery-ui-1.8.16.custom.min.js +791 -0
- data/amber/js/lib/jQuery/jquery.textarea.js +267 -0
- data/amber/js/lib/peg-0.6.2.min.js +2 -0
- data/amber/js/lib/showdown.js +419 -0
- data/amber/js/parser.js +4005 -0
- data/amber/js/parser.pegjs +220 -0
- data/amber/st/Benchfib.st +124 -0
- data/amber/st/Canvas.st +556 -0
- data/amber/st/Compiler.st +1425 -0
- data/amber/st/Documentation.st +758 -0
- data/amber/st/Examples.st +38 -0
- data/amber/st/IDE.st +2336 -0
- data/amber/st/Kernel-Announcements.st +61 -0
- data/amber/st/Kernel-Classes.st +403 -0
- data/amber/st/Kernel-Collections.st +1673 -0
- data/amber/st/Kernel-Exceptions.st +124 -0
- data/amber/st/Kernel-Methods.st +287 -0
- data/amber/st/Kernel-Objects.st +1489 -0
- data/amber/st/Kernel-Tests.st +892 -0
- data/amber/st/Kernel-Transcript.st +70 -0
- data/amber/st/SUnit.st +172 -0
- data/bin/runresin +12 -0
- data/lib/resin.rb +0 -0
- data/lib/resin/app/app.rb +121 -0
- data/lib/resin/app/views/index.haml +10 -0
- metadata +216 -0
data/amber/js/Canvas.js
ADDED
@@ -0,0 +1,1885 @@
|
|
1
|
+
smalltalk.addPackage('Canvas', {});
|
2
|
+
smalltalk.addClass('HTMLCanvas', smalltalk.Object, ['root'], 'Canvas');
|
3
|
+
smalltalk.addMethod(
|
4
|
+
unescape('_root_'),
|
5
|
+
smalltalk.method({
|
6
|
+
selector: unescape('root%3A'),
|
7
|
+
category: 'accessing',
|
8
|
+
fn: function (aTagBrush){
|
9
|
+
var self=this;
|
10
|
+
(self['@root']=aTagBrush);
|
11
|
+
return self;},
|
12
|
+
args: ["aTagBrush"],
|
13
|
+
source: unescape('root%3A%20aTagBrush%0A%20%20%20%20root%20%3A%3D%20aTagBrush'),
|
14
|
+
messageSends: [],
|
15
|
+
referencedClasses: []
|
16
|
+
}),
|
17
|
+
smalltalk.HTMLCanvas);
|
18
|
+
|
19
|
+
smalltalk.addMethod(
|
20
|
+
unescape('_root'),
|
21
|
+
smalltalk.method({
|
22
|
+
selector: unescape('root'),
|
23
|
+
category: 'accessing',
|
24
|
+
fn: function (){
|
25
|
+
var self=this;
|
26
|
+
return self['@root'];
|
27
|
+
return self;},
|
28
|
+
args: [],
|
29
|
+
source: unescape('root%0A%20%20%20%20%5Eroot'),
|
30
|
+
messageSends: [],
|
31
|
+
referencedClasses: []
|
32
|
+
}),
|
33
|
+
smalltalk.HTMLCanvas);
|
34
|
+
|
35
|
+
smalltalk.addMethod(
|
36
|
+
unescape('_with_'),
|
37
|
+
smalltalk.method({
|
38
|
+
selector: unescape('with%3A'),
|
39
|
+
category: 'adding',
|
40
|
+
fn: function (anObject){
|
41
|
+
var self=this;
|
42
|
+
return smalltalk.send(smalltalk.send(self, "_root", []), "_with_", [anObject]);
|
43
|
+
return self;},
|
44
|
+
args: ["anObject"],
|
45
|
+
source: unescape('with%3A%20anObject%0A%20%20%20%20%5Eself%20root%20with%3A%20anObject'),
|
46
|
+
messageSends: ["with:", "root"],
|
47
|
+
referencedClasses: []
|
48
|
+
}),
|
49
|
+
smalltalk.HTMLCanvas);
|
50
|
+
|
51
|
+
smalltalk.addMethod(
|
52
|
+
unescape('_initialize'),
|
53
|
+
smalltalk.method({
|
54
|
+
selector: unescape('initialize'),
|
55
|
+
category: 'initialization',
|
56
|
+
fn: function (){
|
57
|
+
var self=this;
|
58
|
+
smalltalk.send(self, "_initialize", [], smalltalk.Object);
|
59
|
+
(($receiver = self['@root']) == nil || $receiver == undefined) ? (function(){return (self['@root']=smalltalk.send((smalltalk.TagBrush || TagBrush), "_fromString_canvas_", ["div", self]));})() : $receiver;
|
60
|
+
return self;},
|
61
|
+
args: [],
|
62
|
+
source: unescape('initialize%0A%20%20%20%20super%20initialize.%0A%20%20%20%20root%20ifNil%3A%20%5Broot%20%3A%3D%20TagBrush%20fromString%3A%20%27div%27%20canvas%3A%20self%5D'),
|
63
|
+
messageSends: ["initialize", "ifNil:", "fromString:canvas:"],
|
64
|
+
referencedClasses: ["TagBrush"]
|
65
|
+
}),
|
66
|
+
smalltalk.HTMLCanvas);
|
67
|
+
|
68
|
+
smalltalk.addMethod(
|
69
|
+
unescape('_initializeFromJQuery_'),
|
70
|
+
smalltalk.method({
|
71
|
+
selector: unescape('initializeFromJQuery%3A'),
|
72
|
+
category: 'initialization',
|
73
|
+
fn: function (aJQuery){
|
74
|
+
var self=this;
|
75
|
+
(self['@root']=smalltalk.send((smalltalk.TagBrush || TagBrush), "_fromJQuery_canvas_", [aJQuery, self]));
|
76
|
+
return self;},
|
77
|
+
args: ["aJQuery"],
|
78
|
+
source: unescape('initializeFromJQuery%3A%20aJQuery%0A%20%20%20%20root%20%3A%3D%20TagBrush%20fromJQuery%3A%20aJQuery%20canvas%3A%20self'),
|
79
|
+
messageSends: ["fromJQuery:canvas:"],
|
80
|
+
referencedClasses: ["TagBrush"]
|
81
|
+
}),
|
82
|
+
smalltalk.HTMLCanvas);
|
83
|
+
|
84
|
+
smalltalk.addMethod(
|
85
|
+
unescape('_newTag_'),
|
86
|
+
smalltalk.method({
|
87
|
+
selector: unescape('newTag%3A'),
|
88
|
+
category: 'tags',
|
89
|
+
fn: function (aString){
|
90
|
+
var self=this;
|
91
|
+
return smalltalk.send((smalltalk.TagBrush || TagBrush), "_fromString_canvas_", [aString, self]);
|
92
|
+
return self;},
|
93
|
+
args: ["aString"],
|
94
|
+
source: unescape('newTag%3A%20aString%0A%20%20%20%20%5ETagBrush%20fromString%3A%20aString%20canvas%3A%20self'),
|
95
|
+
messageSends: ["fromString:canvas:"],
|
96
|
+
referencedClasses: ["TagBrush"]
|
97
|
+
}),
|
98
|
+
smalltalk.HTMLCanvas);
|
99
|
+
|
100
|
+
smalltalk.addMethod(
|
101
|
+
unescape('_tag_'),
|
102
|
+
smalltalk.method({
|
103
|
+
selector: unescape('tag%3A'),
|
104
|
+
category: 'tags',
|
105
|
+
fn: function (aString){
|
106
|
+
var self=this;
|
107
|
+
return smalltalk.send(self['@root'], "_addBrush_", [smalltalk.send(self, "_newTag_", [aString])]);
|
108
|
+
return self;},
|
109
|
+
args: ["aString"],
|
110
|
+
source: unescape('tag%3A%20aString%0A%20%20%20%20%5Eroot%20addBrush%3A%20%28self%20newTag%3A%20aString%29'),
|
111
|
+
messageSends: ["addBrush:", "newTag:"],
|
112
|
+
referencedClasses: []
|
113
|
+
}),
|
114
|
+
smalltalk.HTMLCanvas);
|
115
|
+
|
116
|
+
smalltalk.addMethod(
|
117
|
+
unescape('_h1'),
|
118
|
+
smalltalk.method({
|
119
|
+
selector: unescape('h1'),
|
120
|
+
category: 'tags',
|
121
|
+
fn: function (){
|
122
|
+
var self=this;
|
123
|
+
return smalltalk.send(self, "_tag_", ["h1"]);
|
124
|
+
return self;},
|
125
|
+
args: [],
|
126
|
+
source: unescape('h1%0A%20%20%20%20%5Eself%20tag%3A%20%27h1%27'),
|
127
|
+
messageSends: ["tag:"],
|
128
|
+
referencedClasses: []
|
129
|
+
}),
|
130
|
+
smalltalk.HTMLCanvas);
|
131
|
+
|
132
|
+
smalltalk.addMethod(
|
133
|
+
unescape('_h2'),
|
134
|
+
smalltalk.method({
|
135
|
+
selector: unescape('h2'),
|
136
|
+
category: 'tags',
|
137
|
+
fn: function (){
|
138
|
+
var self=this;
|
139
|
+
return smalltalk.send(self, "_tag_", ["h2"]);
|
140
|
+
return self;},
|
141
|
+
args: [],
|
142
|
+
source: unescape('h2%0A%20%20%20%20%5Eself%20tag%3A%20%27h2%27'),
|
143
|
+
messageSends: ["tag:"],
|
144
|
+
referencedClasses: []
|
145
|
+
}),
|
146
|
+
smalltalk.HTMLCanvas);
|
147
|
+
|
148
|
+
smalltalk.addMethod(
|
149
|
+
unescape('_h3'),
|
150
|
+
smalltalk.method({
|
151
|
+
selector: unescape('h3'),
|
152
|
+
category: 'tags',
|
153
|
+
fn: function (){
|
154
|
+
var self=this;
|
155
|
+
return smalltalk.send(self, "_tag_", ["h3"]);
|
156
|
+
return self;},
|
157
|
+
args: [],
|
158
|
+
source: unescape('h3%0A%20%20%20%20%5Eself%20tag%3A%20%27h3%27'),
|
159
|
+
messageSends: ["tag:"],
|
160
|
+
referencedClasses: []
|
161
|
+
}),
|
162
|
+
smalltalk.HTMLCanvas);
|
163
|
+
|
164
|
+
smalltalk.addMethod(
|
165
|
+
unescape('_h4'),
|
166
|
+
smalltalk.method({
|
167
|
+
selector: unescape('h4'),
|
168
|
+
category: 'tags',
|
169
|
+
fn: function (){
|
170
|
+
var self=this;
|
171
|
+
return smalltalk.send(self, "_tag_", ["h4"]);
|
172
|
+
return self;},
|
173
|
+
args: [],
|
174
|
+
source: unescape('h4%0A%20%20%20%20%5Eself%20tag%3A%20%27h4%27'),
|
175
|
+
messageSends: ["tag:"],
|
176
|
+
referencedClasses: []
|
177
|
+
}),
|
178
|
+
smalltalk.HTMLCanvas);
|
179
|
+
|
180
|
+
smalltalk.addMethod(
|
181
|
+
unescape('_h5'),
|
182
|
+
smalltalk.method({
|
183
|
+
selector: unescape('h5'),
|
184
|
+
category: 'tags',
|
185
|
+
fn: function (){
|
186
|
+
var self=this;
|
187
|
+
return smalltalk.send(self, "_tag_", ["h5"]);
|
188
|
+
return self;},
|
189
|
+
args: [],
|
190
|
+
source: unescape('h5%0A%20%20%20%20%5Eself%20tag%3A%20%27h5%27'),
|
191
|
+
messageSends: ["tag:"],
|
192
|
+
referencedClasses: []
|
193
|
+
}),
|
194
|
+
smalltalk.HTMLCanvas);
|
195
|
+
|
196
|
+
smalltalk.addMethod(
|
197
|
+
unescape('_h6'),
|
198
|
+
smalltalk.method({
|
199
|
+
selector: unescape('h6'),
|
200
|
+
category: 'tags',
|
201
|
+
fn: function (){
|
202
|
+
var self=this;
|
203
|
+
return smalltalk.send(self, "_tag_", ["h6"]);
|
204
|
+
return self;},
|
205
|
+
args: [],
|
206
|
+
source: unescape('h6%0A%20%20%20%20%5Eself%20tag%3A%20%27h6%27'),
|
207
|
+
messageSends: ["tag:"],
|
208
|
+
referencedClasses: []
|
209
|
+
}),
|
210
|
+
smalltalk.HTMLCanvas);
|
211
|
+
|
212
|
+
smalltalk.addMethod(
|
213
|
+
unescape('_p'),
|
214
|
+
smalltalk.method({
|
215
|
+
selector: unescape('p'),
|
216
|
+
category: 'tags',
|
217
|
+
fn: function (){
|
218
|
+
var self=this;
|
219
|
+
return smalltalk.send(self, "_tag_", ["p"]);
|
220
|
+
return self;},
|
221
|
+
args: [],
|
222
|
+
source: unescape('p%0A%20%20%20%20%5Eself%20tag%3A%20%27p%27'),
|
223
|
+
messageSends: ["tag:"],
|
224
|
+
referencedClasses: []
|
225
|
+
}),
|
226
|
+
smalltalk.HTMLCanvas);
|
227
|
+
|
228
|
+
smalltalk.addMethod(
|
229
|
+
unescape('_div'),
|
230
|
+
smalltalk.method({
|
231
|
+
selector: unescape('div'),
|
232
|
+
category: 'tags',
|
233
|
+
fn: function (){
|
234
|
+
var self=this;
|
235
|
+
return smalltalk.send(self, "_tag_", ["div"]);
|
236
|
+
return self;},
|
237
|
+
args: [],
|
238
|
+
source: unescape('div%0A%20%20%20%20%5Eself%20tag%3A%20%27div%27'),
|
239
|
+
messageSends: ["tag:"],
|
240
|
+
referencedClasses: []
|
241
|
+
}),
|
242
|
+
smalltalk.HTMLCanvas);
|
243
|
+
|
244
|
+
smalltalk.addMethod(
|
245
|
+
unescape('_span'),
|
246
|
+
smalltalk.method({
|
247
|
+
selector: unescape('span'),
|
248
|
+
category: 'tags',
|
249
|
+
fn: function (){
|
250
|
+
var self=this;
|
251
|
+
return smalltalk.send(self, "_tag_", ["span"]);
|
252
|
+
return self;},
|
253
|
+
args: [],
|
254
|
+
source: unescape('span%0A%20%20%20%20%5Eself%20tag%3A%20%27span%27'),
|
255
|
+
messageSends: ["tag:"],
|
256
|
+
referencedClasses: []
|
257
|
+
}),
|
258
|
+
smalltalk.HTMLCanvas);
|
259
|
+
|
260
|
+
smalltalk.addMethod(
|
261
|
+
unescape('_img'),
|
262
|
+
smalltalk.method({
|
263
|
+
selector: unescape('img'),
|
264
|
+
category: 'tags',
|
265
|
+
fn: function (){
|
266
|
+
var self=this;
|
267
|
+
return smalltalk.send(self, "_tag_", ["img"]);
|
268
|
+
return self;},
|
269
|
+
args: [],
|
270
|
+
source: unescape('img%0A%20%20%20%20%5Eself%20tag%3A%20%27img%27'),
|
271
|
+
messageSends: ["tag:"],
|
272
|
+
referencedClasses: []
|
273
|
+
}),
|
274
|
+
smalltalk.HTMLCanvas);
|
275
|
+
|
276
|
+
smalltalk.addMethod(
|
277
|
+
unescape('_ul'),
|
278
|
+
smalltalk.method({
|
279
|
+
selector: unescape('ul'),
|
280
|
+
category: 'tags',
|
281
|
+
fn: function (){
|
282
|
+
var self=this;
|
283
|
+
return smalltalk.send(self, "_tag_", ["ul"]);
|
284
|
+
return self;},
|
285
|
+
args: [],
|
286
|
+
source: unescape('ul%0A%20%20%20%20%5Eself%20tag%3A%20%27ul%27'),
|
287
|
+
messageSends: ["tag:"],
|
288
|
+
referencedClasses: []
|
289
|
+
}),
|
290
|
+
smalltalk.HTMLCanvas);
|
291
|
+
|
292
|
+
smalltalk.addMethod(
|
293
|
+
unescape('_ol'),
|
294
|
+
smalltalk.method({
|
295
|
+
selector: unescape('ol'),
|
296
|
+
category: 'tags',
|
297
|
+
fn: function (){
|
298
|
+
var self=this;
|
299
|
+
return smalltalk.send(self, "_tag_", ["ol"]);
|
300
|
+
return self;},
|
301
|
+
args: [],
|
302
|
+
source: unescape('ol%0A%20%20%20%20%5Eself%20tag%3A%20%27ol%27'),
|
303
|
+
messageSends: ["tag:"],
|
304
|
+
referencedClasses: []
|
305
|
+
}),
|
306
|
+
smalltalk.HTMLCanvas);
|
307
|
+
|
308
|
+
smalltalk.addMethod(
|
309
|
+
unescape('_li'),
|
310
|
+
smalltalk.method({
|
311
|
+
selector: unescape('li'),
|
312
|
+
category: 'tags',
|
313
|
+
fn: function (){
|
314
|
+
var self=this;
|
315
|
+
return smalltalk.send(self, "_tag_", ["li"]);
|
316
|
+
return self;},
|
317
|
+
args: [],
|
318
|
+
source: unescape('li%0A%20%20%20%20%5Eself%20tag%3A%20%27li%27'),
|
319
|
+
messageSends: ["tag:"],
|
320
|
+
referencedClasses: []
|
321
|
+
}),
|
322
|
+
smalltalk.HTMLCanvas);
|
323
|
+
|
324
|
+
smalltalk.addMethod(
|
325
|
+
unescape('_table'),
|
326
|
+
smalltalk.method({
|
327
|
+
selector: unescape('table'),
|
328
|
+
category: 'tags',
|
329
|
+
fn: function (){
|
330
|
+
var self=this;
|
331
|
+
return smalltalk.send(self, "_tag_", ["table"]);
|
332
|
+
return self;},
|
333
|
+
args: [],
|
334
|
+
source: unescape('table%0A%20%20%20%20%5Eself%20tag%3A%20%27table%27'),
|
335
|
+
messageSends: ["tag:"],
|
336
|
+
referencedClasses: []
|
337
|
+
}),
|
338
|
+
smalltalk.HTMLCanvas);
|
339
|
+
|
340
|
+
smalltalk.addMethod(
|
341
|
+
unescape('_tr'),
|
342
|
+
smalltalk.method({
|
343
|
+
selector: unescape('tr'),
|
344
|
+
category: 'tags',
|
345
|
+
fn: function (){
|
346
|
+
var self=this;
|
347
|
+
return smalltalk.send(self, "_tag_", ["tr"]);
|
348
|
+
return self;},
|
349
|
+
args: [],
|
350
|
+
source: unescape('tr%0A%20%20%20%20%5Eself%20tag%3A%20%27tr%27'),
|
351
|
+
messageSends: ["tag:"],
|
352
|
+
referencedClasses: []
|
353
|
+
}),
|
354
|
+
smalltalk.HTMLCanvas);
|
355
|
+
|
356
|
+
smalltalk.addMethod(
|
357
|
+
unescape('_td'),
|
358
|
+
smalltalk.method({
|
359
|
+
selector: unescape('td'),
|
360
|
+
category: 'tags',
|
361
|
+
fn: function (){
|
362
|
+
var self=this;
|
363
|
+
return smalltalk.send(self, "_tag_", ["td"]);
|
364
|
+
return self;},
|
365
|
+
args: [],
|
366
|
+
source: unescape('td%20%0A%20%20%20%20%5Eself%20tag%3A%20%27td%27'),
|
367
|
+
messageSends: ["tag:"],
|
368
|
+
referencedClasses: []
|
369
|
+
}),
|
370
|
+
smalltalk.HTMLCanvas);
|
371
|
+
|
372
|
+
smalltalk.addMethod(
|
373
|
+
unescape('_th'),
|
374
|
+
smalltalk.method({
|
375
|
+
selector: unescape('th'),
|
376
|
+
category: 'tags',
|
377
|
+
fn: function (){
|
378
|
+
var self=this;
|
379
|
+
return smalltalk.send(self, "_tag_", ["th"]);
|
380
|
+
return self;},
|
381
|
+
args: [],
|
382
|
+
source: unescape('th%0A%20%20%20%20%5Eself%20tag%3A%20%27th%27'),
|
383
|
+
messageSends: ["tag:"],
|
384
|
+
referencedClasses: []
|
385
|
+
}),
|
386
|
+
smalltalk.HTMLCanvas);
|
387
|
+
|
388
|
+
smalltalk.addMethod(
|
389
|
+
unescape('_form'),
|
390
|
+
smalltalk.method({
|
391
|
+
selector: unescape('form'),
|
392
|
+
category: 'tags',
|
393
|
+
fn: function (){
|
394
|
+
var self=this;
|
395
|
+
return smalltalk.send(self, "_tag_", ["form"]);
|
396
|
+
return self;},
|
397
|
+
args: [],
|
398
|
+
source: unescape('form%0A%20%20%20%20%5Eself%20tag%3A%20%27form%27'),
|
399
|
+
messageSends: ["tag:"],
|
400
|
+
referencedClasses: []
|
401
|
+
}),
|
402
|
+
smalltalk.HTMLCanvas);
|
403
|
+
|
404
|
+
smalltalk.addMethod(
|
405
|
+
unescape('_input'),
|
406
|
+
smalltalk.method({
|
407
|
+
selector: unescape('input'),
|
408
|
+
category: 'tags',
|
409
|
+
fn: function (){
|
410
|
+
var self=this;
|
411
|
+
return smalltalk.send(self, "_tag_", ["input"]);
|
412
|
+
return self;},
|
413
|
+
args: [],
|
414
|
+
source: unescape('input%0A%20%20%20%20%5Eself%20tag%3A%20%27input%27'),
|
415
|
+
messageSends: ["tag:"],
|
416
|
+
referencedClasses: []
|
417
|
+
}),
|
418
|
+
smalltalk.HTMLCanvas);
|
419
|
+
|
420
|
+
smalltalk.addMethod(
|
421
|
+
unescape('_button'),
|
422
|
+
smalltalk.method({
|
423
|
+
selector: unescape('button'),
|
424
|
+
category: 'tags',
|
425
|
+
fn: function (){
|
426
|
+
var self=this;
|
427
|
+
return smalltalk.send(self, "_tag_", ["button"]);
|
428
|
+
return self;},
|
429
|
+
args: [],
|
430
|
+
source: unescape('button%0A%20%20%20%20%5Eself%20tag%3A%20%27button%27'),
|
431
|
+
messageSends: ["tag:"],
|
432
|
+
referencedClasses: []
|
433
|
+
}),
|
434
|
+
smalltalk.HTMLCanvas);
|
435
|
+
|
436
|
+
smalltalk.addMethod(
|
437
|
+
unescape('_select'),
|
438
|
+
smalltalk.method({
|
439
|
+
selector: unescape('select'),
|
440
|
+
category: 'tags',
|
441
|
+
fn: function (){
|
442
|
+
var self=this;
|
443
|
+
return smalltalk.send(self, "_tag_", ["select"]);
|
444
|
+
return self;},
|
445
|
+
args: [],
|
446
|
+
source: unescape('select%0A%20%20%20%20%5Eself%20tag%3A%20%27select%27'),
|
447
|
+
messageSends: ["tag:"],
|
448
|
+
referencedClasses: []
|
449
|
+
}),
|
450
|
+
smalltalk.HTMLCanvas);
|
451
|
+
|
452
|
+
smalltalk.addMethod(
|
453
|
+
unescape('_option'),
|
454
|
+
smalltalk.method({
|
455
|
+
selector: unescape('option'),
|
456
|
+
category: 'tags',
|
457
|
+
fn: function (){
|
458
|
+
var self=this;
|
459
|
+
return smalltalk.send(self, "_tag_", ["option"]);
|
460
|
+
return self;},
|
461
|
+
args: [],
|
462
|
+
source: unescape('option%0A%20%20%20%20%5Eself%20tag%3A%20%27option%27'),
|
463
|
+
messageSends: ["tag:"],
|
464
|
+
referencedClasses: []
|
465
|
+
}),
|
466
|
+
smalltalk.HTMLCanvas);
|
467
|
+
|
468
|
+
smalltalk.addMethod(
|
469
|
+
unescape('_textarea'),
|
470
|
+
smalltalk.method({
|
471
|
+
selector: unescape('textarea'),
|
472
|
+
category: 'tags',
|
473
|
+
fn: function (){
|
474
|
+
var self=this;
|
475
|
+
return smalltalk.send(self, "_tag_", ["textarea"]);
|
476
|
+
return self;},
|
477
|
+
args: [],
|
478
|
+
source: unescape('textarea%0A%20%20%20%20%5Eself%20tag%3A%20%27textarea%27'),
|
479
|
+
messageSends: ["tag:"],
|
480
|
+
referencedClasses: []
|
481
|
+
}),
|
482
|
+
smalltalk.HTMLCanvas);
|
483
|
+
|
484
|
+
smalltalk.addMethod(
|
485
|
+
unescape('_a'),
|
486
|
+
smalltalk.method({
|
487
|
+
selector: unescape('a'),
|
488
|
+
category: 'tags',
|
489
|
+
fn: function (){
|
490
|
+
var self=this;
|
491
|
+
return smalltalk.send(self, "_tag_", ["a"]);
|
492
|
+
return self;},
|
493
|
+
args: [],
|
494
|
+
source: unescape('a%0A%20%20%20%20%5Eself%20tag%3A%20%27a%27'),
|
495
|
+
messageSends: ["tag:"],
|
496
|
+
referencedClasses: []
|
497
|
+
}),
|
498
|
+
smalltalk.HTMLCanvas);
|
499
|
+
|
500
|
+
smalltalk.addMethod(
|
501
|
+
unescape('_canvas'),
|
502
|
+
smalltalk.method({
|
503
|
+
selector: unescape('canvas'),
|
504
|
+
category: 'tags',
|
505
|
+
fn: function (){
|
506
|
+
var self=this;
|
507
|
+
return smalltalk.send(self, "_tag_", ["canvas"]);
|
508
|
+
return self;},
|
509
|
+
args: [],
|
510
|
+
source: unescape('canvas%0A%09%5Eself%20tag%3A%20%27canvas%27'),
|
511
|
+
messageSends: ["tag:"],
|
512
|
+
referencedClasses: []
|
513
|
+
}),
|
514
|
+
smalltalk.HTMLCanvas);
|
515
|
+
|
516
|
+
smalltalk.addMethod(
|
517
|
+
unescape('_pre'),
|
518
|
+
smalltalk.method({
|
519
|
+
selector: unescape('pre'),
|
520
|
+
category: 'tags',
|
521
|
+
fn: function (){
|
522
|
+
var self=this;
|
523
|
+
return smalltalk.send(self, "_tag_", ["pre"]);
|
524
|
+
return self;},
|
525
|
+
args: [],
|
526
|
+
source: unescape('pre%0A%20%20%20%20%5Eself%20tag%3A%20%27pre%27'),
|
527
|
+
messageSends: ["tag:"],
|
528
|
+
referencedClasses: []
|
529
|
+
}),
|
530
|
+
smalltalk.HTMLCanvas);
|
531
|
+
|
532
|
+
smalltalk.addMethod(
|
533
|
+
unescape('_code'),
|
534
|
+
smalltalk.method({
|
535
|
+
selector: unescape('code'),
|
536
|
+
category: 'tags',
|
537
|
+
fn: function (){
|
538
|
+
var self=this;
|
539
|
+
return smalltalk.send(self, "_tag_", ["code"]);
|
540
|
+
return self;},
|
541
|
+
args: [],
|
542
|
+
source: unescape('code%0A%20%20%20%20%5Eself%20tag%3A%20%27code%27'),
|
543
|
+
messageSends: ["tag:"],
|
544
|
+
referencedClasses: []
|
545
|
+
}),
|
546
|
+
smalltalk.HTMLCanvas);
|
547
|
+
|
548
|
+
smalltalk.addMethod(
|
549
|
+
unescape('_br'),
|
550
|
+
smalltalk.method({
|
551
|
+
selector: unescape('br'),
|
552
|
+
category: 'tags',
|
553
|
+
fn: function (){
|
554
|
+
var self=this;
|
555
|
+
return smalltalk.send(self, "_tag_", ["br"]);
|
556
|
+
return self;},
|
557
|
+
args: [],
|
558
|
+
source: unescape('br%0A%20%20%20%20%5Eself%20tag%3A%20%27br%27'),
|
559
|
+
messageSends: ["tag:"],
|
560
|
+
referencedClasses: []
|
561
|
+
}),
|
562
|
+
smalltalk.HTMLCanvas);
|
563
|
+
|
564
|
+
smalltalk.addMethod(
|
565
|
+
unescape('_script'),
|
566
|
+
smalltalk.method({
|
567
|
+
selector: unescape('script'),
|
568
|
+
category: 'tags',
|
569
|
+
fn: function (){
|
570
|
+
var self=this;
|
571
|
+
return smalltalk.send(self, "_tag_", ["script"]);
|
572
|
+
return self;},
|
573
|
+
args: [],
|
574
|
+
source: unescape('script%0A%20%20%20%20%5Eself%20tag%3A%20%27script%27'),
|
575
|
+
messageSends: ["tag:"],
|
576
|
+
referencedClasses: []
|
577
|
+
}),
|
578
|
+
smalltalk.HTMLCanvas);
|
579
|
+
|
580
|
+
smalltalk.addMethod(
|
581
|
+
unescape('_link'),
|
582
|
+
smalltalk.method({
|
583
|
+
selector: unescape('link'),
|
584
|
+
category: 'tags',
|
585
|
+
fn: function (){
|
586
|
+
var self=this;
|
587
|
+
return smalltalk.send(self, "_tag_", ["link"]);
|
588
|
+
return self;},
|
589
|
+
args: [],
|
590
|
+
source: unescape('link%0A%20%20%20%20%5Eself%20tag%3A%20%27link%27'),
|
591
|
+
messageSends: ["tag:"],
|
592
|
+
referencedClasses: []
|
593
|
+
}),
|
594
|
+
smalltalk.HTMLCanvas);
|
595
|
+
|
596
|
+
smalltalk.addMethod(
|
597
|
+
unescape('_style'),
|
598
|
+
smalltalk.method({
|
599
|
+
selector: unescape('style'),
|
600
|
+
category: 'tags',
|
601
|
+
fn: function (){
|
602
|
+
var self=this;
|
603
|
+
return smalltalk.send(self['@root'], "_addBrush_", [smalltalk.send((smalltalk.StyleTag || StyleTag), "_canvas_", [self])]);
|
604
|
+
return self;},
|
605
|
+
args: [],
|
606
|
+
source: unescape('style%0A%09%5E%20root%20addBrush%3A%20%20%28StyleTag%20canvas%3A%20self%29'),
|
607
|
+
messageSends: ["addBrush:", "canvas:"],
|
608
|
+
referencedClasses: ["StyleTag"]
|
609
|
+
}),
|
610
|
+
smalltalk.HTMLCanvas);
|
611
|
+
|
612
|
+
smalltalk.addMethod(
|
613
|
+
unescape('_p_'),
|
614
|
+
smalltalk.method({
|
615
|
+
selector: unescape('p%3A'),
|
616
|
+
category: 'tags',
|
617
|
+
fn: function (anObject){
|
618
|
+
var self=this;
|
619
|
+
return smalltalk.send(smalltalk.send(self, "_p", []), "_with_", [anObject]);
|
620
|
+
return self;},
|
621
|
+
args: ["anObject"],
|
622
|
+
source: unescape('p%3A%20anObject%0A%20%20%20%20%5Eself%20p%20with%3A%20anObject'),
|
623
|
+
messageSends: ["with:", "p"],
|
624
|
+
referencedClasses: []
|
625
|
+
}),
|
626
|
+
smalltalk.HTMLCanvas);
|
627
|
+
|
628
|
+
smalltalk.addMethod(
|
629
|
+
unescape('_h1_'),
|
630
|
+
smalltalk.method({
|
631
|
+
selector: unescape('h1%3A'),
|
632
|
+
category: 'tags',
|
633
|
+
fn: function (anObject){
|
634
|
+
var self=this;
|
635
|
+
return smalltalk.send(smalltalk.send(self, "_h1", []), "_with_", [anObject]);
|
636
|
+
return self;},
|
637
|
+
args: ["anObject"],
|
638
|
+
source: unescape('h1%3A%20anObject%0A%20%20%20%20%5Eself%20h1%20with%3A%20anObject'),
|
639
|
+
messageSends: ["with:", "h1"],
|
640
|
+
referencedClasses: []
|
641
|
+
}),
|
642
|
+
smalltalk.HTMLCanvas);
|
643
|
+
|
644
|
+
smalltalk.addMethod(
|
645
|
+
unescape('_iframe'),
|
646
|
+
smalltalk.method({
|
647
|
+
selector: unescape('iframe'),
|
648
|
+
category: 'tags',
|
649
|
+
fn: function (){
|
650
|
+
var self=this;
|
651
|
+
return smalltalk.send(self, "_tag_", ["iframe"]);
|
652
|
+
return self;},
|
653
|
+
args: [],
|
654
|
+
source: unescape('iframe%0A%20%20%20%20%5Eself%20tag%3A%20%27iframe%27'),
|
655
|
+
messageSends: ["tag:"],
|
656
|
+
referencedClasses: []
|
657
|
+
}),
|
658
|
+
smalltalk.HTMLCanvas);
|
659
|
+
|
660
|
+
smalltalk.addMethod(
|
661
|
+
unescape('_iframe_'),
|
662
|
+
smalltalk.method({
|
663
|
+
selector: unescape('iframe%3A'),
|
664
|
+
category: 'tags',
|
665
|
+
fn: function (aString){
|
666
|
+
var self=this;
|
667
|
+
return smalltalk.send(smalltalk.send(self, "_iframe", []), "_src_", [aString]);
|
668
|
+
return self;},
|
669
|
+
args: ["aString"],
|
670
|
+
source: unescape('iframe%3A%20aString%0A%20%20%20%20%5Eself%20iframe%20src%3A%20aString'),
|
671
|
+
messageSends: ["src:", "iframe"],
|
672
|
+
referencedClasses: []
|
673
|
+
}),
|
674
|
+
smalltalk.HTMLCanvas);
|
675
|
+
|
676
|
+
smalltalk.addMethod(
|
677
|
+
unescape('_h2_'),
|
678
|
+
smalltalk.method({
|
679
|
+
selector: unescape('h2%3A'),
|
680
|
+
category: 'tags',
|
681
|
+
fn: function (anObject){
|
682
|
+
var self=this;
|
683
|
+
return smalltalk.send(smalltalk.send(self, "_h2", []), "_with_", [anObject]);
|
684
|
+
return self;},
|
685
|
+
args: ["anObject"],
|
686
|
+
source: unescape('h2%3A%20anObject%0A%20%20%20%20%5E%20self%20h2%20with%3A%20anObject'),
|
687
|
+
messageSends: ["with:", "h2"],
|
688
|
+
referencedClasses: []
|
689
|
+
}),
|
690
|
+
smalltalk.HTMLCanvas);
|
691
|
+
|
692
|
+
smalltalk.addMethod(
|
693
|
+
unescape('_h3_'),
|
694
|
+
smalltalk.method({
|
695
|
+
selector: unescape('h3%3A'),
|
696
|
+
category: 'tags',
|
697
|
+
fn: function (anObject){
|
698
|
+
var self=this;
|
699
|
+
return smalltalk.send(smalltalk.send(self, "_h3", []), "_with_", [anObject]);
|
700
|
+
return self;},
|
701
|
+
args: ["anObject"],
|
702
|
+
source: unescape('h3%3A%20anObject%0A%20%20%20%20%5Eself%20h3%20with%3A%20anObject'),
|
703
|
+
messageSends: ["with:", "h3"],
|
704
|
+
referencedClasses: []
|
705
|
+
}),
|
706
|
+
smalltalk.HTMLCanvas);
|
707
|
+
|
708
|
+
smalltalk.addMethod(
|
709
|
+
unescape('_h4_'),
|
710
|
+
smalltalk.method({
|
711
|
+
selector: unescape('h4%3A'),
|
712
|
+
category: 'tags',
|
713
|
+
fn: function (anObject){
|
714
|
+
var self=this;
|
715
|
+
return smalltalk.send(smalltalk.send(self, "_h4", []), "_with_", [anObject]);
|
716
|
+
return self;},
|
717
|
+
args: ["anObject"],
|
718
|
+
source: unescape('h4%3A%20anObject%0A%20%20%20%20%5Eself%20h4%20with%3A%20anObject'),
|
719
|
+
messageSends: ["with:", "h4"],
|
720
|
+
referencedClasses: []
|
721
|
+
}),
|
722
|
+
smalltalk.HTMLCanvas);
|
723
|
+
|
724
|
+
smalltalk.addMethod(
|
725
|
+
unescape('_h5_'),
|
726
|
+
smalltalk.method({
|
727
|
+
selector: unescape('h5%3A'),
|
728
|
+
category: 'tags',
|
729
|
+
fn: function (anObject){
|
730
|
+
var self=this;
|
731
|
+
return smalltalk.send(smalltalk.send(self, "_h5", []), "_with_", [anObject]);
|
732
|
+
return self;},
|
733
|
+
args: ["anObject"],
|
734
|
+
source: unescape('h5%3A%20anObject%0A%20%20%20%20%5Eself%20h5%20with%3A%20anObject'),
|
735
|
+
messageSends: ["with:", "h5"],
|
736
|
+
referencedClasses: []
|
737
|
+
}),
|
738
|
+
smalltalk.HTMLCanvas);
|
739
|
+
|
740
|
+
smalltalk.addMethod(
|
741
|
+
unescape('_h6_'),
|
742
|
+
smalltalk.method({
|
743
|
+
selector: unescape('h6%3A'),
|
744
|
+
category: 'tags',
|
745
|
+
fn: function (anObject){
|
746
|
+
var self=this;
|
747
|
+
return smalltalk.send(smalltalk.send(self, "_h6", []), "_with_", [anObject]);
|
748
|
+
return self;},
|
749
|
+
args: ["anObject"],
|
750
|
+
source: unescape('h6%3A%20anObject%0A%20%20%20%20%5Eself%20h6%20with%3A%20anObject'),
|
751
|
+
messageSends: ["with:", "h6"],
|
752
|
+
referencedClasses: []
|
753
|
+
}),
|
754
|
+
smalltalk.HTMLCanvas);
|
755
|
+
|
756
|
+
smalltalk.addMethod(
|
757
|
+
unescape('_img_'),
|
758
|
+
smalltalk.method({
|
759
|
+
selector: unescape('img%3A'),
|
760
|
+
category: 'tags',
|
761
|
+
fn: function (aString){
|
762
|
+
var self=this;
|
763
|
+
return smalltalk.send(smalltalk.send(self, "_img", []), "_src_", [aString]);
|
764
|
+
return self;},
|
765
|
+
args: ["aString"],
|
766
|
+
source: unescape('img%3A%20aString%0A%20%20%20%20%5Eself%20img%20src%3A%20aString'),
|
767
|
+
messageSends: ["src:", "img"],
|
768
|
+
referencedClasses: []
|
769
|
+
}),
|
770
|
+
smalltalk.HTMLCanvas);
|
771
|
+
|
772
|
+
smalltalk.addMethod(
|
773
|
+
unescape('_ol_'),
|
774
|
+
smalltalk.method({
|
775
|
+
selector: unescape('ol%3A'),
|
776
|
+
category: 'tags',
|
777
|
+
fn: function (anObject){
|
778
|
+
var self=this;
|
779
|
+
return smalltalk.send(smalltalk.send(self, "_ol", []), "_with_", [anObject]);
|
780
|
+
return self;},
|
781
|
+
args: ["anObject"],
|
782
|
+
source: unescape('ol%3A%20anObject%0A%20%20%20%20%5Eself%20ol%20with%3A%20anObject'),
|
783
|
+
messageSends: ["with:", "ol"],
|
784
|
+
referencedClasses: []
|
785
|
+
}),
|
786
|
+
smalltalk.HTMLCanvas);
|
787
|
+
|
788
|
+
smalltalk.addMethod(
|
789
|
+
unescape('_li_'),
|
790
|
+
smalltalk.method({
|
791
|
+
selector: unescape('li%3A'),
|
792
|
+
category: 'tags',
|
793
|
+
fn: function (anObject){
|
794
|
+
var self=this;
|
795
|
+
return smalltalk.send(smalltalk.send(self, "_li", []), "_with_", [anObject]);
|
796
|
+
return self;},
|
797
|
+
args: ["anObject"],
|
798
|
+
source: unescape('li%3A%20anObject%0A%20%20%20%20%5Eself%20li%20with%3A%20anObject'),
|
799
|
+
messageSends: ["with:", "li"],
|
800
|
+
referencedClasses: []
|
801
|
+
}),
|
802
|
+
smalltalk.HTMLCanvas);
|
803
|
+
|
804
|
+
smalltalk.addMethod(
|
805
|
+
unescape('_ul_'),
|
806
|
+
smalltalk.method({
|
807
|
+
selector: unescape('ul%3A'),
|
808
|
+
category: 'tags',
|
809
|
+
fn: function (anObject){
|
810
|
+
var self=this;
|
811
|
+
return smalltalk.send(smalltalk.send(self, "_ul", []), "_with_", [anObject]);
|
812
|
+
return self;},
|
813
|
+
args: ["anObject"],
|
814
|
+
source: unescape('ul%3A%20anObject%0A%20%20%20%20%5Eself%20ul%20with%3A%20anObject'),
|
815
|
+
messageSends: ["with:", "ul"],
|
816
|
+
referencedClasses: []
|
817
|
+
}),
|
818
|
+
smalltalk.HTMLCanvas);
|
819
|
+
|
820
|
+
smalltalk.addMethod(
|
821
|
+
unescape('_span_'),
|
822
|
+
smalltalk.method({
|
823
|
+
selector: unescape('span%3A'),
|
824
|
+
category: 'tags',
|
825
|
+
fn: function (anObject){
|
826
|
+
var self=this;
|
827
|
+
return smalltalk.send(smalltalk.send(self, "_span", []), "_with_", [anObject]);
|
828
|
+
return self;},
|
829
|
+
args: ["anObject"],
|
830
|
+
source: unescape('span%3A%20anObject%0A%20%20%20%20%5Eself%20span%20with%3A%20anObject'),
|
831
|
+
messageSends: ["with:", "span"],
|
832
|
+
referencedClasses: []
|
833
|
+
}),
|
834
|
+
smalltalk.HTMLCanvas);
|
835
|
+
|
836
|
+
smalltalk.addMethod(
|
837
|
+
unescape('_style_'),
|
838
|
+
smalltalk.method({
|
839
|
+
selector: unescape('style%3A'),
|
840
|
+
category: 'tags',
|
841
|
+
fn: function (aString){
|
842
|
+
var self=this;
|
843
|
+
return (function($rec){smalltalk.send($rec, "_with_", [aString]);return smalltalk.send($rec, "_yourself", []);})(smalltalk.send(self, "_style", []));
|
844
|
+
return self;},
|
845
|
+
args: ["aString"],
|
846
|
+
source: unescape('style%3A%20aString%0A%09%5E%20self%20style%20with%3A%20aString%3B%20yourself'),
|
847
|
+
messageSends: ["with:", "yourself", "style"],
|
848
|
+
referencedClasses: []
|
849
|
+
}),
|
850
|
+
smalltalk.HTMLCanvas);
|
851
|
+
|
852
|
+
smalltalk.addMethod(
|
853
|
+
unescape('_articles'),
|
854
|
+
smalltalk.method({
|
855
|
+
selector: unescape('articles'),
|
856
|
+
category: 'tags',
|
857
|
+
fn: function (){
|
858
|
+
var self=this;
|
859
|
+
return smalltalk.send(self, "_tag_", ["articles"]);
|
860
|
+
return self;},
|
861
|
+
args: [],
|
862
|
+
source: unescape('articles%0A%20%20%20%20%5Eself%20tag%3A%20%27articles%27'),
|
863
|
+
messageSends: ["tag:"],
|
864
|
+
referencedClasses: []
|
865
|
+
}),
|
866
|
+
smalltalk.HTMLCanvas);
|
867
|
+
|
868
|
+
smalltalk.addMethod(
|
869
|
+
unescape('_audio'),
|
870
|
+
smalltalk.method({
|
871
|
+
selector: unescape('audio'),
|
872
|
+
category: 'tags',
|
873
|
+
fn: function (){
|
874
|
+
var self=this;
|
875
|
+
return smalltalk.send(self, "_tag_", ["audio"]);
|
876
|
+
return self;},
|
877
|
+
args: [],
|
878
|
+
source: unescape('audio%0A%20%20%20%20%5Eself%20tag%3A%20%27audio%27'),
|
879
|
+
messageSends: ["tag:"],
|
880
|
+
referencedClasses: []
|
881
|
+
}),
|
882
|
+
smalltalk.HTMLCanvas);
|
883
|
+
|
884
|
+
smalltalk.addMethod(
|
885
|
+
unescape('_fieldset'),
|
886
|
+
smalltalk.method({
|
887
|
+
selector: unescape('fieldset'),
|
888
|
+
category: 'tags',
|
889
|
+
fn: function (){
|
890
|
+
var self=this;
|
891
|
+
return smalltalk.send(self, "_tag_", ["fieldset"]);
|
892
|
+
return self;},
|
893
|
+
args: [],
|
894
|
+
source: unescape('fieldset%0A%20%20%20%20%5Eself%20tag%3A%20%27fieldset%27'),
|
895
|
+
messageSends: ["tag:"],
|
896
|
+
referencedClasses: []
|
897
|
+
}),
|
898
|
+
smalltalk.HTMLCanvas);
|
899
|
+
|
900
|
+
smalltalk.addMethod(
|
901
|
+
unescape('_footer'),
|
902
|
+
smalltalk.method({
|
903
|
+
selector: unescape('footer'),
|
904
|
+
category: 'tags',
|
905
|
+
fn: function (){
|
906
|
+
var self=this;
|
907
|
+
return smalltalk.send(self, "_tag_", ["footer"]);
|
908
|
+
return self;},
|
909
|
+
args: [],
|
910
|
+
source: unescape('footer%0A%20%20%20%20%5Eself%20tag%3A%20%27footer%27'),
|
911
|
+
messageSends: ["tag:"],
|
912
|
+
referencedClasses: []
|
913
|
+
}),
|
914
|
+
smalltalk.HTMLCanvas);
|
915
|
+
|
916
|
+
smalltalk.addMethod(
|
917
|
+
unescape('_header'),
|
918
|
+
smalltalk.method({
|
919
|
+
selector: unescape('header'),
|
920
|
+
category: 'tags',
|
921
|
+
fn: function (){
|
922
|
+
var self=this;
|
923
|
+
return smalltalk.send(self, "_tag_", ["header"]);
|
924
|
+
return self;},
|
925
|
+
args: [],
|
926
|
+
source: unescape('header%0A%20%20%20%20%5Eself%20tag%3A%20%27header%27'),
|
927
|
+
messageSends: ["tag:"],
|
928
|
+
referencedClasses: []
|
929
|
+
}),
|
930
|
+
smalltalk.HTMLCanvas);
|
931
|
+
|
932
|
+
smalltalk.addMethod(
|
933
|
+
unescape('_hr'),
|
934
|
+
smalltalk.method({
|
935
|
+
selector: unescape('hr'),
|
936
|
+
category: 'tags',
|
937
|
+
fn: function (){
|
938
|
+
var self=this;
|
939
|
+
return smalltalk.send(self, "_tag_", ["hr"]);
|
940
|
+
return self;},
|
941
|
+
args: [],
|
942
|
+
source: unescape('hr%0A%20%20%20%20%5Eself%20tag%3A%20%27hr%27'),
|
943
|
+
messageSends: ["tag:"],
|
944
|
+
referencedClasses: []
|
945
|
+
}),
|
946
|
+
smalltalk.HTMLCanvas);
|
947
|
+
|
948
|
+
smalltalk.addMethod(
|
949
|
+
unescape('_section'),
|
950
|
+
smalltalk.method({
|
951
|
+
selector: unescape('section'),
|
952
|
+
category: 'tags',
|
953
|
+
fn: function (){
|
954
|
+
var self=this;
|
955
|
+
return smalltalk.send(self, "_tag_", ["section"]);
|
956
|
+
return self;},
|
957
|
+
args: [],
|
958
|
+
source: unescape('section%0A%20%20%20%20%5Eself%20tag%3A%20%27section%27'),
|
959
|
+
messageSends: ["tag:"],
|
960
|
+
referencedClasses: []
|
961
|
+
}),
|
962
|
+
smalltalk.HTMLCanvas);
|
963
|
+
|
964
|
+
smalltalk.addMethod(
|
965
|
+
unescape('_tbody'),
|
966
|
+
smalltalk.method({
|
967
|
+
selector: unescape('tbody'),
|
968
|
+
category: 'tags',
|
969
|
+
fn: function (){
|
970
|
+
var self=this;
|
971
|
+
return smalltalk.send(self, "_tag_", ["tbody"]);
|
972
|
+
return self;},
|
973
|
+
args: [],
|
974
|
+
source: unescape('tbody%0A%20%20%20%20%5Eself%20tag%3A%20%27tbody%27'),
|
975
|
+
messageSends: ["tag:"],
|
976
|
+
referencedClasses: []
|
977
|
+
}),
|
978
|
+
smalltalk.HTMLCanvas);
|
979
|
+
|
980
|
+
smalltalk.addMethod(
|
981
|
+
unescape('_tfoot'),
|
982
|
+
smalltalk.method({
|
983
|
+
selector: unescape('tfoot'),
|
984
|
+
category: 'tags',
|
985
|
+
fn: function (){
|
986
|
+
var self=this;
|
987
|
+
return smalltalk.send(self, "_tag_", ["tfoot"]);
|
988
|
+
return self;},
|
989
|
+
args: [],
|
990
|
+
source: unescape('tfoot%0A%20%20%20%20%5Eself%20tag%3A%20%27tfoot%27'),
|
991
|
+
messageSends: ["tag:"],
|
992
|
+
referencedClasses: []
|
993
|
+
}),
|
994
|
+
smalltalk.HTMLCanvas);
|
995
|
+
|
996
|
+
smalltalk.addMethod(
|
997
|
+
unescape('_thead'),
|
998
|
+
smalltalk.method({
|
999
|
+
selector: unescape('thead'),
|
1000
|
+
category: 'tags',
|
1001
|
+
fn: function (){
|
1002
|
+
var self=this;
|
1003
|
+
return smalltalk.send(self, "_tag_", ["thead"]);
|
1004
|
+
return self;},
|
1005
|
+
args: [],
|
1006
|
+
source: unescape('thead%0A%20%20%20%20%5Eself%20tag%3A%20%27thead%27'),
|
1007
|
+
messageSends: ["tag:"],
|
1008
|
+
referencedClasses: []
|
1009
|
+
}),
|
1010
|
+
smalltalk.HTMLCanvas);
|
1011
|
+
|
1012
|
+
smalltalk.addMethod(
|
1013
|
+
unescape('_video'),
|
1014
|
+
smalltalk.method({
|
1015
|
+
selector: unescape('video'),
|
1016
|
+
category: 'tags',
|
1017
|
+
fn: function (){
|
1018
|
+
var self=this;
|
1019
|
+
return smalltalk.send(self, "_tag_", ["video"]);
|
1020
|
+
return self;},
|
1021
|
+
args: [],
|
1022
|
+
source: unescape('video%0A%20%20%20%20%5Eself%20tag%3A%20%27video%27'),
|
1023
|
+
messageSends: ["tag:"],
|
1024
|
+
referencedClasses: []
|
1025
|
+
}),
|
1026
|
+
smalltalk.HTMLCanvas);
|
1027
|
+
|
1028
|
+
|
1029
|
+
smalltalk.addMethod(
|
1030
|
+
unescape('_onJQuery_'),
|
1031
|
+
smalltalk.method({
|
1032
|
+
selector: unescape('onJQuery%3A'),
|
1033
|
+
category: 'instance creation',
|
1034
|
+
fn: function (aJQuery){
|
1035
|
+
var self=this;
|
1036
|
+
return (function($rec){smalltalk.send($rec, "_initializeFromJQuery_", [aJQuery]);smalltalk.send($rec, "_initialize", []);return smalltalk.send($rec, "_yourself", []);})(smalltalk.send(self, "_basicNew", []));
|
1037
|
+
return self;},
|
1038
|
+
args: ["aJQuery"],
|
1039
|
+
source: unescape('onJQuery%3A%20aJQuery%0A%09%5Eself%20basicNew%0A%09%09initializeFromJQuery%3A%20aJQuery%3B%0A%09%09initialize%3B%0A%09%09yourself'),
|
1040
|
+
messageSends: ["initializeFromJQuery:", "initialize", "yourself", "basicNew"],
|
1041
|
+
referencedClasses: []
|
1042
|
+
}),
|
1043
|
+
smalltalk.HTMLCanvas.klass);
|
1044
|
+
|
1045
|
+
|
1046
|
+
smalltalk.addClass('TagBrush', smalltalk.Object, ['canvas', 'element'], 'Canvas');
|
1047
|
+
smalltalk.addMethod(
|
1048
|
+
unescape('_element'),
|
1049
|
+
smalltalk.method({
|
1050
|
+
selector: unescape('element'),
|
1051
|
+
category: 'accessing',
|
1052
|
+
fn: function (){
|
1053
|
+
var self=this;
|
1054
|
+
return self['@element'];
|
1055
|
+
return self;},
|
1056
|
+
args: [],
|
1057
|
+
source: unescape('element%0A%20%20%20%20%5Eelement'),
|
1058
|
+
messageSends: [],
|
1059
|
+
referencedClasses: []
|
1060
|
+
}),
|
1061
|
+
smalltalk.TagBrush);
|
1062
|
+
|
1063
|
+
smalltalk.addMethod(
|
1064
|
+
unescape('_contents_'),
|
1065
|
+
smalltalk.method({
|
1066
|
+
selector: unescape('contents%3A'),
|
1067
|
+
category: 'adding',
|
1068
|
+
fn: function (anObject){
|
1069
|
+
var self=this;
|
1070
|
+
(function($rec){smalltalk.send($rec, "_empty", []);return smalltalk.send($rec, "_append_", [anObject]);})(self);
|
1071
|
+
return self;},
|
1072
|
+
args: ["anObject"],
|
1073
|
+
source: unescape('contents%3A%20anObject%0A%20%20%20%20self%20%0A%09empty%3B%0A%20%20%20%09append%3A%20anObject'),
|
1074
|
+
messageSends: ["empty", "append:"],
|
1075
|
+
referencedClasses: []
|
1076
|
+
}),
|
1077
|
+
smalltalk.TagBrush);
|
1078
|
+
|
1079
|
+
smalltalk.addMethod(
|
1080
|
+
unescape('_addBrush_'),
|
1081
|
+
smalltalk.method({
|
1082
|
+
selector: unescape('addBrush%3A'),
|
1083
|
+
category: 'adding',
|
1084
|
+
fn: function (aTagBrush){
|
1085
|
+
var self=this;
|
1086
|
+
smalltalk.send(self, "_appendChild_", [smalltalk.send(aTagBrush, "_element", [])]);
|
1087
|
+
return aTagBrush;
|
1088
|
+
return self;},
|
1089
|
+
args: ["aTagBrush"],
|
1090
|
+
source: unescape('addBrush%3A%20aTagBrush%0A%20%20%20%20self%20appendChild%3A%20aTagBrush%20element.%0A%20%20%20%20%5EaTagBrush'),
|
1091
|
+
messageSends: ["appendChild:", "element"],
|
1092
|
+
referencedClasses: []
|
1093
|
+
}),
|
1094
|
+
smalltalk.TagBrush);
|
1095
|
+
|
1096
|
+
smalltalk.addMethod(
|
1097
|
+
unescape('_with_'),
|
1098
|
+
smalltalk.method({
|
1099
|
+
selector: unescape('with%3A'),
|
1100
|
+
category: 'adding',
|
1101
|
+
fn: function (anObject){
|
1102
|
+
var self=this;
|
1103
|
+
smalltalk.send(self, "_append_", [anObject]);
|
1104
|
+
return self;},
|
1105
|
+
args: ["anObject"],
|
1106
|
+
source: unescape('with%3A%20anObject%0A%20%20%20%20self%20append%3A%20anObject'),
|
1107
|
+
messageSends: ["append:"],
|
1108
|
+
referencedClasses: []
|
1109
|
+
}),
|
1110
|
+
smalltalk.TagBrush);
|
1111
|
+
|
1112
|
+
smalltalk.addMethod(
|
1113
|
+
unescape('_append_'),
|
1114
|
+
smalltalk.method({
|
1115
|
+
selector: unescape('append%3A'),
|
1116
|
+
category: 'adding',
|
1117
|
+
fn: function (anObject){
|
1118
|
+
var self=this;
|
1119
|
+
smalltalk.send(anObject, "_appendToBrush_", [self]);
|
1120
|
+
return self;},
|
1121
|
+
args: ["anObject"],
|
1122
|
+
source: unescape('append%3A%20anObject%0A%20%20%20%20anObject%20appendToBrush%3A%20self'),
|
1123
|
+
messageSends: ["appendToBrush:"],
|
1124
|
+
referencedClasses: []
|
1125
|
+
}),
|
1126
|
+
smalltalk.TagBrush);
|
1127
|
+
|
1128
|
+
smalltalk.addMethod(
|
1129
|
+
unescape('_appendToBrush_'),
|
1130
|
+
smalltalk.method({
|
1131
|
+
selector: unescape('appendToBrush%3A'),
|
1132
|
+
category: 'adding',
|
1133
|
+
fn: function (aTagBrush){
|
1134
|
+
var self=this;
|
1135
|
+
smalltalk.send(aTagBrush, "_addBrush_", [self]);
|
1136
|
+
return self;},
|
1137
|
+
args: ["aTagBrush"],
|
1138
|
+
source: unescape('appendToBrush%3A%20aTagBrush%0A%20%20%20%20aTagBrush%20addBrush%3A%20self'),
|
1139
|
+
messageSends: ["addBrush:"],
|
1140
|
+
referencedClasses: []
|
1141
|
+
}),
|
1142
|
+
smalltalk.TagBrush);
|
1143
|
+
|
1144
|
+
smalltalk.addMethod(
|
1145
|
+
unescape('_appendBlock_'),
|
1146
|
+
smalltalk.method({
|
1147
|
+
selector: unescape('appendBlock%3A'),
|
1148
|
+
category: 'adding',
|
1149
|
+
fn: function (aBlock){
|
1150
|
+
var self=this;
|
1151
|
+
var root=nil;
|
1152
|
+
(root=smalltalk.send(self['@canvas'], "_root", []));
|
1153
|
+
smalltalk.send(self['@canvas'], "_root_", [self]);
|
1154
|
+
smalltalk.send(aBlock, "_value_", [self['@canvas']]);
|
1155
|
+
smalltalk.send(self['@canvas'], "_root_", [root]);
|
1156
|
+
return self;},
|
1157
|
+
args: ["aBlock"],
|
1158
|
+
source: unescape('appendBlock%3A%20aBlock%0A%20%20%20%20%7C%20root%20%7C%0A%20%20%20%20root%20%3A%3D%20canvas%20root.%0A%20%20%20%20canvas%20root%3A%20self.%0A%20%20%20%20aBlock%20value%3A%20canvas.%0A%20%20%20%20canvas%20root%3A%20root'),
|
1159
|
+
messageSends: ["root", "root:", "value:"],
|
1160
|
+
referencedClasses: []
|
1161
|
+
}),
|
1162
|
+
smalltalk.TagBrush);
|
1163
|
+
|
1164
|
+
smalltalk.addMethod(
|
1165
|
+
unescape('_appendChild_'),
|
1166
|
+
smalltalk.method({
|
1167
|
+
selector: unescape('appendChild%3A'),
|
1168
|
+
category: 'adding',
|
1169
|
+
fn: function (anElement){
|
1170
|
+
var self=this;
|
1171
|
+
var element=self['@element'];
|
1172
|
+
if (null == element.canHaveChildren || element.canHaveChildren) {
|
1173
|
+
element.appendChild(anElement);
|
1174
|
+
} else {
|
1175
|
+
element.text = String(element.text) + anElement.innerHTML;
|
1176
|
+
} ;
|
1177
|
+
return self;},
|
1178
|
+
args: ["anElement"],
|
1179
|
+
source: unescape('appendChild%3A%20anElement%0A%09%22In%20IE7%20and%20IE8%20appendChild%20fails%20on%20several%20node%20types.%20So%20we%20need%20to%20check%22%20%0A%20%09%3Cvar%20element%3Dself%5B%27@element%27%5D%3B%0A%20%09if%20%28null%20%3D%3D%20element.canHaveChildren%20%7C%7C%20element.canHaveChildren%29%20%7B%0A%09%09element.appendChild%28anElement%29%3B%0A%20%09%7D%20else%20%7B%0A%20%09%09element.text%20%3D%20String%28element.text%29%20+%20%20anElement.innerHTML%3B%0A%20%09%7D%20%3E'),
|
1180
|
+
messageSends: [],
|
1181
|
+
referencedClasses: []
|
1182
|
+
}),
|
1183
|
+
smalltalk.TagBrush);
|
1184
|
+
|
1185
|
+
smalltalk.addMethod(
|
1186
|
+
unescape('_appendString_'),
|
1187
|
+
smalltalk.method({
|
1188
|
+
selector: unescape('appendString%3A'),
|
1189
|
+
category: 'adding',
|
1190
|
+
fn: function (aString){
|
1191
|
+
var self=this;
|
1192
|
+
smalltalk.send(self, "_appendChild_", [smalltalk.send(self, "_createTextNodeFor_", [aString])]);
|
1193
|
+
return self;},
|
1194
|
+
args: ["aString"],
|
1195
|
+
source: unescape('appendString%3A%20aString%0A%20%20%20%20self%20appendChild%3A%20%28self%20createTextNodeFor%3A%20aString%29'),
|
1196
|
+
messageSends: ["appendChild:", "createTextNodeFor:"],
|
1197
|
+
referencedClasses: []
|
1198
|
+
}),
|
1199
|
+
smalltalk.TagBrush);
|
1200
|
+
|
1201
|
+
smalltalk.addMethod(
|
1202
|
+
unescape('_empty'),
|
1203
|
+
smalltalk.method({
|
1204
|
+
selector: unescape('empty'),
|
1205
|
+
category: 'adding',
|
1206
|
+
fn: function (){
|
1207
|
+
var self=this;
|
1208
|
+
smalltalk.send(smalltalk.send(self, "_asJQuery", []), "_empty", []);
|
1209
|
+
return self;},
|
1210
|
+
args: [],
|
1211
|
+
source: unescape('empty%0A%09self%20asJQuery%20empty'),
|
1212
|
+
messageSends: ["empty", "asJQuery"],
|
1213
|
+
referencedClasses: []
|
1214
|
+
}),
|
1215
|
+
smalltalk.TagBrush);
|
1216
|
+
|
1217
|
+
smalltalk.addMethod(
|
1218
|
+
unescape('_at_put_'),
|
1219
|
+
smalltalk.method({
|
1220
|
+
selector: unescape('at%3Aput%3A'),
|
1221
|
+
category: 'attributes',
|
1222
|
+
fn: function (aString, aValue){
|
1223
|
+
var self=this;
|
1224
|
+
self['@element'].setAttribute(aString, aValue);
|
1225
|
+
return self;},
|
1226
|
+
args: ["aString", "aValue"],
|
1227
|
+
source: unescape('at%3A%20aString%20put%3A%20aValue%0A%20%20%20%20%3Cself%5B%27@element%27%5D.setAttribute%28aString%2C%20aValue%29%3E'),
|
1228
|
+
messageSends: [],
|
1229
|
+
referencedClasses: []
|
1230
|
+
}),
|
1231
|
+
smalltalk.TagBrush);
|
1232
|
+
|
1233
|
+
smalltalk.addMethod(
|
1234
|
+
unescape('_removeAt_'),
|
1235
|
+
smalltalk.method({
|
1236
|
+
selector: unescape('removeAt%3A'),
|
1237
|
+
category: 'attributes',
|
1238
|
+
fn: function (aString){
|
1239
|
+
var self=this;
|
1240
|
+
self['@element'].removeAttribute(aString);
|
1241
|
+
return self;},
|
1242
|
+
args: ["aString"],
|
1243
|
+
source: unescape('removeAt%3A%20aString%0A%20%20%20%20%3Cself%5B%27@element%27%5D.removeAttribute%28aString%29%3E'),
|
1244
|
+
messageSends: [],
|
1245
|
+
referencedClasses: []
|
1246
|
+
}),
|
1247
|
+
smalltalk.TagBrush);
|
1248
|
+
|
1249
|
+
smalltalk.addMethod(
|
1250
|
+
unescape('_class_'),
|
1251
|
+
smalltalk.method({
|
1252
|
+
selector: unescape('class%3A'),
|
1253
|
+
category: 'attributes',
|
1254
|
+
fn: function (aString){
|
1255
|
+
var self=this;
|
1256
|
+
self['@element'].className = aString;
|
1257
|
+
return self;},
|
1258
|
+
args: ["aString"],
|
1259
|
+
source: unescape('class%3A%20aString%0A%20%20%20%20%20%20%3Cself%5B%27@element%27%5D.className%20%3D%20aString%3E'),
|
1260
|
+
messageSends: [],
|
1261
|
+
referencedClasses: []
|
1262
|
+
}),
|
1263
|
+
smalltalk.TagBrush);
|
1264
|
+
|
1265
|
+
smalltalk.addMethod(
|
1266
|
+
unescape('_id_'),
|
1267
|
+
smalltalk.method({
|
1268
|
+
selector: unescape('id%3A'),
|
1269
|
+
category: 'attributes',
|
1270
|
+
fn: function (aString){
|
1271
|
+
var self=this;
|
1272
|
+
smalltalk.send(self, "_at_put_", ["id", aString]);
|
1273
|
+
return self;},
|
1274
|
+
args: ["aString"],
|
1275
|
+
source: unescape('id%3A%20aString%0A%20%20%20%20self%20at%3A%20%27id%27%20put%3A%20aString'),
|
1276
|
+
messageSends: ["at:put:"],
|
1277
|
+
referencedClasses: []
|
1278
|
+
}),
|
1279
|
+
smalltalk.TagBrush);
|
1280
|
+
|
1281
|
+
smalltalk.addMethod(
|
1282
|
+
unescape('_src_'),
|
1283
|
+
smalltalk.method({
|
1284
|
+
selector: unescape('src%3A'),
|
1285
|
+
category: 'attributes',
|
1286
|
+
fn: function (aString){
|
1287
|
+
var self=this;
|
1288
|
+
smalltalk.send(self, "_at_put_", ["src", aString]);
|
1289
|
+
return self;},
|
1290
|
+
args: ["aString"],
|
1291
|
+
source: unescape('src%3A%20aString%0A%20%20%20%20self%20%20at%3A%20%27src%27%20put%3A%20aString'),
|
1292
|
+
messageSends: ["at:put:"],
|
1293
|
+
referencedClasses: []
|
1294
|
+
}),
|
1295
|
+
smalltalk.TagBrush);
|
1296
|
+
|
1297
|
+
smalltalk.addMethod(
|
1298
|
+
unescape('_href_'),
|
1299
|
+
smalltalk.method({
|
1300
|
+
selector: unescape('href%3A'),
|
1301
|
+
category: 'attributes',
|
1302
|
+
fn: function (aString){
|
1303
|
+
var self=this;
|
1304
|
+
smalltalk.send(self, "_at_put_", ["href", aString]);
|
1305
|
+
return self;},
|
1306
|
+
args: ["aString"],
|
1307
|
+
source: unescape('href%3A%20aString%0A%20%20%20%20self%20at%3A%20%27href%27%20put%3A%20aString'),
|
1308
|
+
messageSends: ["at:put:"],
|
1309
|
+
referencedClasses: []
|
1310
|
+
}),
|
1311
|
+
smalltalk.TagBrush);
|
1312
|
+
|
1313
|
+
smalltalk.addMethod(
|
1314
|
+
unescape('_title_'),
|
1315
|
+
smalltalk.method({
|
1316
|
+
selector: unescape('title%3A'),
|
1317
|
+
category: 'attributes',
|
1318
|
+
fn: function (aString){
|
1319
|
+
var self=this;
|
1320
|
+
smalltalk.send(self, "_at_put_", ["title", aString]);
|
1321
|
+
return self;},
|
1322
|
+
args: ["aString"],
|
1323
|
+
source: unescape('title%3A%20aString%0A%20%20%20%20self%20at%3A%20%27title%27%20put%3A%20aString'),
|
1324
|
+
messageSends: ["at:put:"],
|
1325
|
+
referencedClasses: []
|
1326
|
+
}),
|
1327
|
+
smalltalk.TagBrush);
|
1328
|
+
|
1329
|
+
smalltalk.addMethod(
|
1330
|
+
unescape('_style_'),
|
1331
|
+
smalltalk.method({
|
1332
|
+
selector: unescape('style%3A'),
|
1333
|
+
category: 'attributes',
|
1334
|
+
fn: function (aString){
|
1335
|
+
var self=this;
|
1336
|
+
smalltalk.send(self, "_at_put_", ["style", aString]);
|
1337
|
+
return self;},
|
1338
|
+
args: ["aString"],
|
1339
|
+
source: unescape('style%3A%20aString%0A%20%20%20%20self%20at%3A%20%27style%27%20put%3A%20aString'),
|
1340
|
+
messageSends: ["at:put:"],
|
1341
|
+
referencedClasses: []
|
1342
|
+
}),
|
1343
|
+
smalltalk.TagBrush);
|
1344
|
+
|
1345
|
+
smalltalk.addMethod(
|
1346
|
+
unescape('_type_'),
|
1347
|
+
smalltalk.method({
|
1348
|
+
selector: unescape('type%3A'),
|
1349
|
+
category: 'attributes',
|
1350
|
+
fn: function (aString){
|
1351
|
+
var self=this;
|
1352
|
+
smalltalk.send(self, "_at_put_", ["type", aString]);
|
1353
|
+
return self;},
|
1354
|
+
args: ["aString"],
|
1355
|
+
source: unescape('type%3A%20aString%0A%20%20%20%20self%20at%3A%20%27type%27%20put%3A%20aString'),
|
1356
|
+
messageSends: ["at:put:"],
|
1357
|
+
referencedClasses: []
|
1358
|
+
}),
|
1359
|
+
smalltalk.TagBrush);
|
1360
|
+
|
1361
|
+
smalltalk.addMethod(
|
1362
|
+
unescape('_media_'),
|
1363
|
+
smalltalk.method({
|
1364
|
+
selector: unescape('media%3A'),
|
1365
|
+
category: 'attributes',
|
1366
|
+
fn: function (aString){
|
1367
|
+
var self=this;
|
1368
|
+
smalltalk.send(self, "_at_put_", ["media", aString]);
|
1369
|
+
return self;},
|
1370
|
+
args: ["aString"],
|
1371
|
+
source: unescape('media%3A%20aString%0A%20%20%20%20self%20at%3A%20%27media%27%20put%3A%20aString'),
|
1372
|
+
messageSends: ["at:put:"],
|
1373
|
+
referencedClasses: []
|
1374
|
+
}),
|
1375
|
+
smalltalk.TagBrush);
|
1376
|
+
|
1377
|
+
smalltalk.addMethod(
|
1378
|
+
unescape('_rel_'),
|
1379
|
+
smalltalk.method({
|
1380
|
+
selector: unescape('rel%3A'),
|
1381
|
+
category: 'attributes',
|
1382
|
+
fn: function (aString){
|
1383
|
+
var self=this;
|
1384
|
+
smalltalk.send(self, "_at_put_", ["rel", aString]);
|
1385
|
+
return self;},
|
1386
|
+
args: ["aString"],
|
1387
|
+
source: unescape('rel%3A%20aString%0A%20%20%20%20self%20%20at%3A%20%27rel%27%20put%3A%20aString'),
|
1388
|
+
messageSends: ["at:put:"],
|
1389
|
+
referencedClasses: []
|
1390
|
+
}),
|
1391
|
+
smalltalk.TagBrush);
|
1392
|
+
|
1393
|
+
smalltalk.addMethod(
|
1394
|
+
unescape('_width_'),
|
1395
|
+
smalltalk.method({
|
1396
|
+
selector: unescape('width%3A'),
|
1397
|
+
category: 'attributes',
|
1398
|
+
fn: function (aString){
|
1399
|
+
var self=this;
|
1400
|
+
smalltalk.send(self, "_at_put_", ["width", aString]);
|
1401
|
+
return self;},
|
1402
|
+
args: ["aString"],
|
1403
|
+
source: unescape('width%3A%20aString%0A%20%20%20%20self%20%20at%3A%20%27width%27%20put%3A%20aString'),
|
1404
|
+
messageSends: ["at:put:"],
|
1405
|
+
referencedClasses: []
|
1406
|
+
}),
|
1407
|
+
smalltalk.TagBrush);
|
1408
|
+
|
1409
|
+
smalltalk.addMethod(
|
1410
|
+
unescape('_height_'),
|
1411
|
+
smalltalk.method({
|
1412
|
+
selector: unescape('height%3A'),
|
1413
|
+
category: 'attributes',
|
1414
|
+
fn: function (aString){
|
1415
|
+
var self=this;
|
1416
|
+
smalltalk.send(self, "_at_put_", ["height", aString]);
|
1417
|
+
return self;},
|
1418
|
+
args: ["aString"],
|
1419
|
+
source: unescape('height%3A%20aString%0A%20%20%20%20self%20%20at%3A%20%27height%27%20put%3A%20aString'),
|
1420
|
+
messageSends: ["at:put:"],
|
1421
|
+
referencedClasses: []
|
1422
|
+
}),
|
1423
|
+
smalltalk.TagBrush);
|
1424
|
+
|
1425
|
+
smalltalk.addMethod(
|
1426
|
+
unescape('_value_'),
|
1427
|
+
smalltalk.method({
|
1428
|
+
selector: unescape('value%3A'),
|
1429
|
+
category: 'attributes',
|
1430
|
+
fn: function (aString){
|
1431
|
+
var self=this;
|
1432
|
+
smalltalk.send(self, "_at_put_", ["value", aString]);
|
1433
|
+
return self;},
|
1434
|
+
args: ["aString"],
|
1435
|
+
source: unescape('value%3A%20aString%0A%20%20%20%20self%20%20at%3A%20%27value%27%20put%3A%20aString'),
|
1436
|
+
messageSends: ["at:put:"],
|
1437
|
+
referencedClasses: []
|
1438
|
+
}),
|
1439
|
+
smalltalk.TagBrush);
|
1440
|
+
|
1441
|
+
smalltalk.addMethod(
|
1442
|
+
unescape('_asJQuery'),
|
1443
|
+
smalltalk.method({
|
1444
|
+
selector: unescape('asJQuery'),
|
1445
|
+
category: 'converting',
|
1446
|
+
fn: function (){
|
1447
|
+
var self=this;
|
1448
|
+
return smalltalk.send((typeof window == 'undefined' ? nil : window), "_jQuery_", [smalltalk.send(self, "_element", [])]);
|
1449
|
+
return self;},
|
1450
|
+
args: [],
|
1451
|
+
source: unescape('asJQuery%0A%20%20%20%20%5Ewindow%20jQuery%3A%20self%20element'),
|
1452
|
+
messageSends: ["jQuery:", "element"],
|
1453
|
+
referencedClasses: []
|
1454
|
+
}),
|
1455
|
+
smalltalk.TagBrush);
|
1456
|
+
|
1457
|
+
smalltalk.addMethod(
|
1458
|
+
unescape('_onKeyDown_'),
|
1459
|
+
smalltalk.method({
|
1460
|
+
selector: unescape('onKeyDown%3A'),
|
1461
|
+
category: 'events',
|
1462
|
+
fn: function (aBlock){
|
1463
|
+
var self=this;
|
1464
|
+
smalltalk.send(smalltalk.send(self, "_asJQuery", []), "_bind_do_", ["keydown", aBlock]);
|
1465
|
+
return self;},
|
1466
|
+
args: ["aBlock"],
|
1467
|
+
source: unescape('onKeyDown%3A%20aBlock%0A%20%20%20%20self%20asJQuery%20bind%3A%20%27keydown%27%20do%3A%20aBlock'),
|
1468
|
+
messageSends: ["bind:do:", "asJQuery"],
|
1469
|
+
referencedClasses: []
|
1470
|
+
}),
|
1471
|
+
smalltalk.TagBrush);
|
1472
|
+
|
1473
|
+
smalltalk.addMethod(
|
1474
|
+
unescape('_onKeyPress_'),
|
1475
|
+
smalltalk.method({
|
1476
|
+
selector: unescape('onKeyPress%3A'),
|
1477
|
+
category: 'events',
|
1478
|
+
fn: function (aBlock){
|
1479
|
+
var self=this;
|
1480
|
+
smalltalk.send(smalltalk.send(self, "_asJQuery", []), "_bind_do_", ["keypress", aBlock]);
|
1481
|
+
return self;},
|
1482
|
+
args: ["aBlock"],
|
1483
|
+
source: unescape('onKeyPress%3A%20aBlock%0A%20%20%20%20self%20asJQuery%20bind%3A%20%27keypress%27%20do%3A%20aBlock'),
|
1484
|
+
messageSends: ["bind:do:", "asJQuery"],
|
1485
|
+
referencedClasses: []
|
1486
|
+
}),
|
1487
|
+
smalltalk.TagBrush);
|
1488
|
+
|
1489
|
+
smalltalk.addMethod(
|
1490
|
+
unescape('_onKeyUp_'),
|
1491
|
+
smalltalk.method({
|
1492
|
+
selector: unescape('onKeyUp%3A'),
|
1493
|
+
category: 'events',
|
1494
|
+
fn: function (aBlock){
|
1495
|
+
var self=this;
|
1496
|
+
smalltalk.send(smalltalk.send(self, "_asJQuery", []), "_bind_do_", ["keyup", aBlock]);
|
1497
|
+
return self;},
|
1498
|
+
args: ["aBlock"],
|
1499
|
+
source: unescape('onKeyUp%3A%20aBlock%0A%20%20%20%20self%20asJQuery%20bind%3A%20%27keyup%27%20do%3A%20aBlock'),
|
1500
|
+
messageSends: ["bind:do:", "asJQuery"],
|
1501
|
+
referencedClasses: []
|
1502
|
+
}),
|
1503
|
+
smalltalk.TagBrush);
|
1504
|
+
|
1505
|
+
smalltalk.addMethod(
|
1506
|
+
unescape('_onFocus_'),
|
1507
|
+
smalltalk.method({
|
1508
|
+
selector: unescape('onFocus%3A'),
|
1509
|
+
category: 'events',
|
1510
|
+
fn: function (aBlock){
|
1511
|
+
var self=this;
|
1512
|
+
smalltalk.send(smalltalk.send(self, "_asJQuery", []), "_bind_do_", ["focus", aBlock]);
|
1513
|
+
return self;},
|
1514
|
+
args: ["aBlock"],
|
1515
|
+
source: unescape('onFocus%3A%20aBlock%0A%20%20%20%20self%20asJQuery%20bind%3A%20%27focus%27%20do%3A%20aBlock'),
|
1516
|
+
messageSends: ["bind:do:", "asJQuery"],
|
1517
|
+
referencedClasses: []
|
1518
|
+
}),
|
1519
|
+
smalltalk.TagBrush);
|
1520
|
+
|
1521
|
+
smalltalk.addMethod(
|
1522
|
+
unescape('_onBlur_'),
|
1523
|
+
smalltalk.method({
|
1524
|
+
selector: unescape('onBlur%3A'),
|
1525
|
+
category: 'events',
|
1526
|
+
fn: function (aBlock){
|
1527
|
+
var self=this;
|
1528
|
+
smalltalk.send(smalltalk.send(self, "_asJQuery", []), "_bind_do_", ["blur", aBlock]);
|
1529
|
+
return self;},
|
1530
|
+
args: ["aBlock"],
|
1531
|
+
source: unescape('onBlur%3A%20aBlock%0A%20%20%20%20self%20asJQuery%20bind%3A%20%27blur%27%20do%3A%20aBlock'),
|
1532
|
+
messageSends: ["bind:do:", "asJQuery"],
|
1533
|
+
referencedClasses: []
|
1534
|
+
}),
|
1535
|
+
smalltalk.TagBrush);
|
1536
|
+
|
1537
|
+
smalltalk.addMethod(
|
1538
|
+
unescape('_onChange_'),
|
1539
|
+
smalltalk.method({
|
1540
|
+
selector: unescape('onChange%3A'),
|
1541
|
+
category: 'events',
|
1542
|
+
fn: function (aBlock){
|
1543
|
+
var self=this;
|
1544
|
+
smalltalk.send(smalltalk.send(self, "_asJQuery", []), "_bind_do_", ["change", aBlock]);
|
1545
|
+
return self;},
|
1546
|
+
args: ["aBlock"],
|
1547
|
+
source: unescape('onChange%3A%20aBlock%0A%20%20%20%20self%20asJQuery%20bind%3A%20%27change%27%20do%3A%20aBlock'),
|
1548
|
+
messageSends: ["bind:do:", "asJQuery"],
|
1549
|
+
referencedClasses: []
|
1550
|
+
}),
|
1551
|
+
smalltalk.TagBrush);
|
1552
|
+
|
1553
|
+
smalltalk.addMethod(
|
1554
|
+
unescape('_onClick_'),
|
1555
|
+
smalltalk.method({
|
1556
|
+
selector: unescape('onClick%3A'),
|
1557
|
+
category: 'events',
|
1558
|
+
fn: function (aBlock){
|
1559
|
+
var self=this;
|
1560
|
+
smalltalk.send(smalltalk.send(self, "_asJQuery", []), "_bind_do_", ["click", aBlock]);
|
1561
|
+
return self;},
|
1562
|
+
args: ["aBlock"],
|
1563
|
+
source: unescape('onClick%3A%20aBlock%0A%20%20%20%20self%20asJQuery%20bind%3A%20%27click%27%20do%3A%20aBlock'),
|
1564
|
+
messageSends: ["bind:do:", "asJQuery"],
|
1565
|
+
referencedClasses: []
|
1566
|
+
}),
|
1567
|
+
smalltalk.TagBrush);
|
1568
|
+
|
1569
|
+
smalltalk.addMethod(
|
1570
|
+
unescape('_initializeFromString_canvas_'),
|
1571
|
+
smalltalk.method({
|
1572
|
+
selector: unescape('initializeFromString%3Acanvas%3A'),
|
1573
|
+
category: 'initialization',
|
1574
|
+
fn: function (aString, aCanvas){
|
1575
|
+
var self=this;
|
1576
|
+
(self['@element']=smalltalk.send(self, "_createElementFor_", [aString]));
|
1577
|
+
(self['@canvas']=aCanvas);
|
1578
|
+
return self;},
|
1579
|
+
args: ["aString", "aCanvas"],
|
1580
|
+
source: unescape('initializeFromString%3A%20aString%20canvas%3A%20aCanvas%0A%20%20%20%20element%20%3A%3D%20self%20createElementFor%3A%20aString.%0A%20%20%20%20canvas%20%3A%3D%20aCanvas'),
|
1581
|
+
messageSends: ["createElementFor:"],
|
1582
|
+
referencedClasses: []
|
1583
|
+
}),
|
1584
|
+
smalltalk.TagBrush);
|
1585
|
+
|
1586
|
+
smalltalk.addMethod(
|
1587
|
+
unescape('_initializeFromJQuery_canvas_'),
|
1588
|
+
smalltalk.method({
|
1589
|
+
selector: unescape('initializeFromJQuery%3Acanvas%3A'),
|
1590
|
+
category: 'initialization',
|
1591
|
+
fn: function (aJQuery, aCanvas){
|
1592
|
+
var self=this;
|
1593
|
+
(self['@element']=smalltalk.send(aJQuery, "_get_", [(0)]));
|
1594
|
+
(self['@canvas']=aCanvas);
|
1595
|
+
return self;},
|
1596
|
+
args: ["aJQuery", "aCanvas"],
|
1597
|
+
source: unescape('initializeFromJQuery%3A%20aJQuery%20canvas%3A%20aCanvas%0A%20%20%20%20element%20%3A%3D%20aJQuery%20get%3A%200.%0A%20%20%20%20canvas%20%3A%3D%20aCanvas'),
|
1598
|
+
messageSends: ["get:"],
|
1599
|
+
referencedClasses: []
|
1600
|
+
}),
|
1601
|
+
smalltalk.TagBrush);
|
1602
|
+
|
1603
|
+
smalltalk.addMethod(
|
1604
|
+
unescape('_createElementFor_'),
|
1605
|
+
smalltalk.method({
|
1606
|
+
selector: unescape('createElementFor%3A'),
|
1607
|
+
category: 'private',
|
1608
|
+
fn: function (aString){
|
1609
|
+
var self=this;
|
1610
|
+
return document.createElement(String(aString));
|
1611
|
+
return self;},
|
1612
|
+
args: ["aString"],
|
1613
|
+
source: unescape('createElementFor%3A%20aString%0A%09%3Creturn%20document.createElement%28String%28aString%29%29%3E'),
|
1614
|
+
messageSends: [],
|
1615
|
+
referencedClasses: []
|
1616
|
+
}),
|
1617
|
+
smalltalk.TagBrush);
|
1618
|
+
|
1619
|
+
smalltalk.addMethod(
|
1620
|
+
unescape('_createTextNodeFor_'),
|
1621
|
+
smalltalk.method({
|
1622
|
+
selector: unescape('createTextNodeFor%3A'),
|
1623
|
+
category: 'private',
|
1624
|
+
fn: function (aString){
|
1625
|
+
var self=this;
|
1626
|
+
return document.createTextNode(String(aString));
|
1627
|
+
return self;},
|
1628
|
+
args: ["aString"],
|
1629
|
+
source: unescape('createTextNodeFor%3A%20aString%0A%09%3Creturn%20document.createTextNode%28String%28aString%29%29%3E'),
|
1630
|
+
messageSends: [],
|
1631
|
+
referencedClasses: []
|
1632
|
+
}),
|
1633
|
+
smalltalk.TagBrush);
|
1634
|
+
|
1635
|
+
|
1636
|
+
smalltalk.addMethod(
|
1637
|
+
unescape('_fromString_canvas_'),
|
1638
|
+
smalltalk.method({
|
1639
|
+
selector: unescape('fromString%3Acanvas%3A'),
|
1640
|
+
category: 'instance creation',
|
1641
|
+
fn: function (aString, aCanvas){
|
1642
|
+
var self=this;
|
1643
|
+
return (function($rec){smalltalk.send($rec, "_initializeFromString_canvas_", [aString, aCanvas]);return smalltalk.send($rec, "_yourself", []);})(smalltalk.send(self, "_new", []));
|
1644
|
+
return self;},
|
1645
|
+
args: ["aString", "aCanvas"],
|
1646
|
+
source: unescape('fromString%3A%20aString%20canvas%3A%20aCanvas%0A%20%20%20%20%5Eself%20new%0A%09initializeFromString%3A%20aString%20canvas%3A%20aCanvas%3B%0A%09yourself'),
|
1647
|
+
messageSends: ["initializeFromString:canvas:", "yourself", "new"],
|
1648
|
+
referencedClasses: []
|
1649
|
+
}),
|
1650
|
+
smalltalk.TagBrush.klass);
|
1651
|
+
|
1652
|
+
smalltalk.addMethod(
|
1653
|
+
unescape('_fromJQuery_canvas_'),
|
1654
|
+
smalltalk.method({
|
1655
|
+
selector: unescape('fromJQuery%3Acanvas%3A'),
|
1656
|
+
category: 'instance creation',
|
1657
|
+
fn: function (aJQuery, aCanvas){
|
1658
|
+
var self=this;
|
1659
|
+
return (function($rec){smalltalk.send($rec, "_initializeFromJQuery_canvas_", [aJQuery, aCanvas]);return smalltalk.send($rec, "_yourself", []);})(smalltalk.send(self, "_new", []));
|
1660
|
+
return self;},
|
1661
|
+
args: ["aJQuery", "aCanvas"],
|
1662
|
+
source: unescape('fromJQuery%3A%20aJQuery%20canvas%3A%20aCanvas%0A%20%20%20%20%5Eself%20new%0A%09initializeFromJQuery%3A%20aJQuery%20canvas%3A%20aCanvas%3B%0A%09yourself'),
|
1663
|
+
messageSends: ["initializeFromJQuery:canvas:", "yourself", "new"],
|
1664
|
+
referencedClasses: []
|
1665
|
+
}),
|
1666
|
+
smalltalk.TagBrush.klass);
|
1667
|
+
|
1668
|
+
|
1669
|
+
smalltalk.addClass('Widget', smalltalk.Object, [], 'Canvas');
|
1670
|
+
smalltalk.addMethod(
|
1671
|
+
unescape('_appendToBrush_'),
|
1672
|
+
smalltalk.method({
|
1673
|
+
selector: unescape('appendToBrush%3A'),
|
1674
|
+
category: 'adding',
|
1675
|
+
fn: function (aTagBrush){
|
1676
|
+
var self=this;
|
1677
|
+
smalltalk.send(self, "_appendToJQuery_", [smalltalk.send(aTagBrush, "_asJQuery", [])]);
|
1678
|
+
return self;},
|
1679
|
+
args: ["aTagBrush"],
|
1680
|
+
source: unescape('appendToBrush%3A%20aTagBrush%0A%20%20%20%20self%20appendToJQuery%3A%20aTagBrush%20asJQuery'),
|
1681
|
+
messageSends: ["appendToJQuery:", "asJQuery"],
|
1682
|
+
referencedClasses: []
|
1683
|
+
}),
|
1684
|
+
smalltalk.Widget);
|
1685
|
+
|
1686
|
+
smalltalk.addMethod(
|
1687
|
+
unescape('_appendToJQuery_'),
|
1688
|
+
smalltalk.method({
|
1689
|
+
selector: unescape('appendToJQuery%3A'),
|
1690
|
+
category: 'adding',
|
1691
|
+
fn: function (aJQuery){
|
1692
|
+
var self=this;
|
1693
|
+
smalltalk.send(self, "_renderOn_", [smalltalk.send((smalltalk.HTMLCanvas || HTMLCanvas), "_onJQuery_", [aJQuery])]);
|
1694
|
+
return self;},
|
1695
|
+
args: ["aJQuery"],
|
1696
|
+
source: unescape('appendToJQuery%3A%20aJQuery%0A%20%20%20self%20renderOn%3A%20%28HTMLCanvas%20onJQuery%3A%20aJQuery%29'),
|
1697
|
+
messageSends: ["renderOn:", "onJQuery:"],
|
1698
|
+
referencedClasses: ["HTMLCanvas"]
|
1699
|
+
}),
|
1700
|
+
smalltalk.Widget);
|
1701
|
+
|
1702
|
+
smalltalk.addMethod(
|
1703
|
+
unescape('_renderOn_'),
|
1704
|
+
smalltalk.method({
|
1705
|
+
selector: unescape('renderOn%3A'),
|
1706
|
+
category: 'rendering',
|
1707
|
+
fn: function (html){
|
1708
|
+
var self=this;
|
1709
|
+
self;
|
1710
|
+
return self;},
|
1711
|
+
args: ["html"],
|
1712
|
+
source: unescape('renderOn%3A%20html%0A%20%20%20%20self'),
|
1713
|
+
messageSends: [],
|
1714
|
+
referencedClasses: []
|
1715
|
+
}),
|
1716
|
+
smalltalk.Widget);
|
1717
|
+
|
1718
|
+
|
1719
|
+
|
1720
|
+
smalltalk.addClass('StyleTag', smalltalk.TagBrush, ['canvas', 'element'], 'Canvas');
|
1721
|
+
smalltalk.StyleTag.comment=unescape('I%27m%20a%20%3Cstyle%3E%20tag%20use%20to%20inline%20CSS%20or%20load%20a%20stylesheet.%0A%0AFor%20inlining%20handle%20IE%20compatibility%20problems.')
|
1722
|
+
smalltalk.addMethod(
|
1723
|
+
unescape('_with_'),
|
1724
|
+
smalltalk.method({
|
1725
|
+
selector: unescape('with%3A'),
|
1726
|
+
category: 'adding',
|
1727
|
+
fn: function (aString){
|
1728
|
+
var self=this;
|
1729
|
+
((($receiver = smalltalk.send(self, "_isBrowserIE", [])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return smalltalk.send(smalltalk.send(smalltalk.send(self, "_element", []), "_styleSheet", []), "_cssText_", [aString]);})() : (function(){return smalltalk.send(self, "_with_", [aString], smalltalk.TagBrush);})()) : smalltalk.send($receiver, "_ifTrue_ifFalse_", [(function(){return smalltalk.send(smalltalk.send(smalltalk.send(self, "_element", []), "_styleSheet", []), "_cssText_", [aString]);}), (function(){return smalltalk.send(self, "_with_", [aString], smalltalk.TagBrush);})]));
|
1730
|
+
return self;},
|
1731
|
+
args: ["aString"],
|
1732
|
+
source: unescape('with%3A%20aString%0A%09self%20isBrowserIE%0A%09%09ifTrue%3A%20%5Bself%20element%20styleSheet%20cssText%3A%20aString%20%5D%0A%09%09ifFalse%3A%20%5Bsuper%20with%3A%20aString%20%5D.'),
|
1733
|
+
messageSends: ["ifTrue:ifFalse:", "isBrowserIE", "cssText:", "styleSheet", "element", "with:"],
|
1734
|
+
referencedClasses: []
|
1735
|
+
}),
|
1736
|
+
smalltalk.StyleTag);
|
1737
|
+
|
1738
|
+
smalltalk.addMethod(
|
1739
|
+
unescape('_isBrowserIE'),
|
1740
|
+
smalltalk.method({
|
1741
|
+
selector: unescape('isBrowserIE'),
|
1742
|
+
category: 'testing',
|
1743
|
+
fn: function (){
|
1744
|
+
var self=this;
|
1745
|
+
var ie=nil;
|
1746
|
+
(ie=jQuery.browser.msie);
|
1747
|
+
return smalltalk.send(ie, "_notNil", []);
|
1748
|
+
return self;},
|
1749
|
+
args: [],
|
1750
|
+
source: unescape('isBrowserIE%0A%09%7Cie%7C%0A%09ie%20%3A%3D%20%3CjQuery.browser.msie%3E.%0A%09%5E%20ie%20notNil.'),
|
1751
|
+
messageSends: ["notNil"],
|
1752
|
+
referencedClasses: []
|
1753
|
+
}),
|
1754
|
+
smalltalk.StyleTag);
|
1755
|
+
|
1756
|
+
|
1757
|
+
smalltalk.addMethod(
|
1758
|
+
unescape('_canvas_'),
|
1759
|
+
smalltalk.method({
|
1760
|
+
selector: unescape('canvas%3A'),
|
1761
|
+
category: 'instance creation',
|
1762
|
+
fn: function (aCanvas){
|
1763
|
+
var self=this;
|
1764
|
+
return (function($rec){smalltalk.send($rec, "_initializeFromString_canvas_", ["style", aCanvas]);return smalltalk.send($rec, "_yourself", []);})(smalltalk.send(self, "_new", []));
|
1765
|
+
return self;},
|
1766
|
+
args: ["aCanvas"],
|
1767
|
+
source: unescape('canvas%3A%20aCanvas%0A%20%20%20%20%5Eself%20new%0A%09initializeFromString%3A%20%27style%27%20canvas%3A%20aCanvas%3B%0A%09yourself'),
|
1768
|
+
messageSends: ["initializeFromString:canvas:", "yourself", "new"],
|
1769
|
+
referencedClasses: []
|
1770
|
+
}),
|
1771
|
+
smalltalk.StyleTag.klass);
|
1772
|
+
|
1773
|
+
|
1774
|
+
smalltalk.addMethod(
|
1775
|
+
unescape('_appendToJQuery_'),
|
1776
|
+
smalltalk.method({
|
1777
|
+
selector: unescape('appendToJQuery%3A'),
|
1778
|
+
category: '*Canvas',
|
1779
|
+
fn: function (aJQuery){
|
1780
|
+
var self=this;
|
1781
|
+
smalltalk.send(aJQuery, "_append_", [smalltalk.send(self, "_asString", [])]);
|
1782
|
+
return self;},
|
1783
|
+
args: ["aJQuery"],
|
1784
|
+
source: unescape('appendToJQuery%3A%20aJQuery%0A%20%20%20%20aJQuery%20append%3A%20self%20asString'),
|
1785
|
+
messageSends: ["append:", "asString"],
|
1786
|
+
referencedClasses: []
|
1787
|
+
}),
|
1788
|
+
smalltalk.Object);
|
1789
|
+
|
1790
|
+
smalltalk.addMethod(
|
1791
|
+
unescape('_appendToBrush_'),
|
1792
|
+
smalltalk.method({
|
1793
|
+
selector: unescape('appendToBrush%3A'),
|
1794
|
+
category: '*Canvas',
|
1795
|
+
fn: function (aTagBrush){
|
1796
|
+
var self=this;
|
1797
|
+
smalltalk.send(aTagBrush, "_append_", [smalltalk.send(self, "_asString", [])]);
|
1798
|
+
return self;},
|
1799
|
+
args: ["aTagBrush"],
|
1800
|
+
source: unescape('appendToBrush%3A%20aTagBrush%0A%20%20%20%20aTagBrush%20append%3A%20self%20asString'),
|
1801
|
+
messageSends: ["append:", "asString"],
|
1802
|
+
referencedClasses: []
|
1803
|
+
}),
|
1804
|
+
smalltalk.Object);
|
1805
|
+
|
1806
|
+
smalltalk.addMethod(
|
1807
|
+
unescape('_appendToJQuery_'),
|
1808
|
+
smalltalk.method({
|
1809
|
+
selector: unescape('appendToJQuery%3A'),
|
1810
|
+
category: '*Canvas',
|
1811
|
+
fn: function (aJQuery){
|
1812
|
+
var self=this;
|
1813
|
+
smalltalk.send(self, "_value_", [smalltalk.send((smalltalk.HTMLCanvas || HTMLCanvas), "_onJQuery_", [aJQuery])]);
|
1814
|
+
return self;},
|
1815
|
+
args: ["aJQuery"],
|
1816
|
+
source: unescape('appendToJQuery%3A%20aJQuery%0A%20%20%20%20self%20value%3A%20%28HTMLCanvas%20onJQuery%3A%20aJQuery%29'),
|
1817
|
+
messageSends: ["value:", "onJQuery:"],
|
1818
|
+
referencedClasses: ["HTMLCanvas"]
|
1819
|
+
}),
|
1820
|
+
smalltalk.BlockClosure);
|
1821
|
+
|
1822
|
+
smalltalk.addMethod(
|
1823
|
+
unescape('_appendToBrush_'),
|
1824
|
+
smalltalk.method({
|
1825
|
+
selector: unescape('appendToBrush%3A'),
|
1826
|
+
category: '*Canvas',
|
1827
|
+
fn: function (aTagBrush){
|
1828
|
+
var self=this;
|
1829
|
+
smalltalk.send(aTagBrush, "_appendBlock_", [self]);
|
1830
|
+
return self;},
|
1831
|
+
args: ["aTagBrush"],
|
1832
|
+
source: unescape('appendToBrush%3A%20aTagBrush%0A%20%20%20%20aTagBrush%20appendBlock%3A%20self'),
|
1833
|
+
messageSends: ["appendBlock:"],
|
1834
|
+
referencedClasses: []
|
1835
|
+
}),
|
1836
|
+
smalltalk.BlockClosure);
|
1837
|
+
|
1838
|
+
smalltalk.addMethod(
|
1839
|
+
unescape('_asJQuery'),
|
1840
|
+
smalltalk.method({
|
1841
|
+
selector: unescape('asJQuery'),
|
1842
|
+
category: '*Canvas',
|
1843
|
+
fn: function (){
|
1844
|
+
var self=this;
|
1845
|
+
return jQuery(String(self));
|
1846
|
+
return self;},
|
1847
|
+
args: [],
|
1848
|
+
source: unescape('asJQuery%0A%20%20%20%20%3Creturn%20jQuery%28String%28self%29%29%3E'),
|
1849
|
+
messageSends: [],
|
1850
|
+
referencedClasses: []
|
1851
|
+
}),
|
1852
|
+
smalltalk.String);
|
1853
|
+
|
1854
|
+
smalltalk.addMethod(
|
1855
|
+
unescape('_appendToJQuery_'),
|
1856
|
+
smalltalk.method({
|
1857
|
+
selector: unescape('appendToJQuery%3A'),
|
1858
|
+
category: '*Canvas',
|
1859
|
+
fn: function (aJQuery){
|
1860
|
+
var self=this;
|
1861
|
+
smalltalk.send(aJQuery, "_append_", [self]);
|
1862
|
+
return self;},
|
1863
|
+
args: ["aJQuery"],
|
1864
|
+
source: unescape('appendToJQuery%3A%20aJQuery%0A%20%20%20%20aJQuery%20append%3A%20self'),
|
1865
|
+
messageSends: ["append:"],
|
1866
|
+
referencedClasses: []
|
1867
|
+
}),
|
1868
|
+
smalltalk.String);
|
1869
|
+
|
1870
|
+
smalltalk.addMethod(
|
1871
|
+
unescape('_appendToBrush_'),
|
1872
|
+
smalltalk.method({
|
1873
|
+
selector: unescape('appendToBrush%3A'),
|
1874
|
+
category: '*Canvas',
|
1875
|
+
fn: function (aTagBrush){
|
1876
|
+
var self=this;
|
1877
|
+
smalltalk.send(aTagBrush, "_appendString_", [self]);
|
1878
|
+
return self;},
|
1879
|
+
args: ["aTagBrush"],
|
1880
|
+
source: unescape('appendToBrush%3A%20aTagBrush%0A%20%20%20%20aTagBrush%20appendString%3A%20self'),
|
1881
|
+
messageSends: ["appendString:"],
|
1882
|
+
referencedClasses: []
|
1883
|
+
}),
|
1884
|
+
smalltalk.String);
|
1885
|
+
|