resin 0.2.2 → 0.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/amber/css/amber-normalize.css +73 -73
- data/amber/css/amber-normalize.less +1 -1
- data/amber/css/amber.css +106 -106
- data/amber/css/helios.css +242 -0
- data/amber/images/hsplitter.png +0 -0
- data/amber/images/vsplitter.png +0 -0
- data/amber/js/Benchfib.deploy.js +116 -38
- data/amber/js/Benchfib.js +120 -42
- data/amber/js/Canvas.deploy.js +674 -403
- data/amber/js/Canvas.js +682 -411
- data/amber/js/Compiler-AST.deploy.js +1150 -0
- data/amber/js/Compiler-AST.js +1591 -0
- data/amber/js/Compiler-Core.deploy.js +1562 -0
- data/amber/js/Compiler-Core.js +1972 -0
- data/amber/js/Compiler-Exceptions.deploy.js +114 -0
- data/amber/js/Compiler-Exceptions.js +161 -0
- data/amber/js/Compiler-IR.deploy.js +2326 -0
- data/amber/js/Compiler-IR.js +3146 -0
- data/amber/js/Compiler-Inlining.deploy.js +1147 -0
- data/amber/js/Compiler-Inlining.js +1514 -0
- data/amber/js/Compiler-Semantic.deploy.js +1207 -0
- data/amber/js/Compiler-Semantic.js +1628 -0
- data/amber/js/Compiler-Tests.deploy.js +646 -60
- data/amber/js/Compiler-Tests.js +843 -82
- data/amber/js/Compiler.deploy.js +1097 -159
- data/amber/js/Compiler.js +1414 -161
- data/amber/js/Examples.deploy.js +31 -15
- data/amber/js/Examples.js +33 -17
- data/amber/js/Helios-Announcements.deploy.js +127 -0
- data/amber/js/Helios-Announcements.js +157 -0
- data/amber/js/Helios-Browser.deploy.js +1473 -0
- data/amber/js/Helios-Browser.js +1953 -0
- data/amber/js/Helios-Commands.deploy.js +403 -0
- data/amber/js/Helios-Commands.js +563 -0
- data/amber/js/Helios-Core.deploy.js +1070 -0
- data/amber/js/Helios-Core.js +1445 -0
- data/amber/js/Helios-Environments.deploy.js +132 -0
- data/amber/js/Helios-Environments.js +179 -0
- data/amber/js/Helios-Inspector.deploy.js +855 -0
- data/amber/js/Helios-Inspector.js +1155 -0
- data/amber/js/Helios-KeyBindings.deploy.js +753 -0
- data/amber/js/Helios-KeyBindings.js +1023 -0
- data/amber/js/Helios-Layout.deploy.js +383 -0
- data/amber/js/Helios-Layout.js +523 -0
- data/amber/js/Helios-Workspace.deploy.js +799 -0
- data/amber/js/Helios-Workspace.js +1074 -0
- data/amber/js/IDE.deploy.js +2541 -1490
- data/amber/js/IDE.js +2721 -1660
- data/amber/js/Importer-Exporter.deploy.js +671 -0
- data/amber/js/Importer-Exporter.js +816 -0
- data/amber/js/Kernel-Announcements.deploy.js +137 -20
- data/amber/js/Kernel-Announcements.js +176 -22
- data/amber/js/Kernel-Classes.deploy.js +555 -168
- data/amber/js/Kernel-Classes.js +662 -205
- data/amber/js/Kernel-Collections.deploy.js +1403 -618
- data/amber/js/Kernel-Collections.js +1545 -690
- data/amber/js/Kernel-Exceptions.deploy.js +109 -45
- data/amber/js/Kernel-Exceptions.js +123 -49
- data/amber/js/Kernel-Methods.deploy.js +196 -81
- data/amber/js/Kernel-Methods.js +214 -89
- data/amber/js/Kernel-Objects.deploy.js +1542 -1117
- data/amber/js/Kernel-Objects.js +1593 -1148
- data/amber/js/Kernel-Tests.deploy.js +1725 -772
- data/amber/js/Kernel-Tests.js +2301 -1123
- data/amber/js/Kernel-Transcript.deploy.js +23 -25
- data/amber/js/Kernel-Transcript.js +24 -26
- data/amber/js/SUnit.deploy.js +204 -131
- data/amber/js/SUnit.js +222 -139
- data/amber/js/Spaces.deploy.js +240 -0
- data/amber/js/Spaces.js +326 -0
- data/amber/js/amber.js +26 -7
- data/amber/js/boot.js +65 -47
- data/amber/js/init.js +1 -1
- data/amber/js/lib/CodeMirror/amber.css +21 -21
- data/amber/js/lib/CodeMirror/codemirror.css +119 -13
- data/amber/js/lib/CodeMirror/codemirror.js +2219 -1220
- data/amber/js/lib/CodeMirror/smalltalk.js +134 -129
- data/amber/js/lib/bootstrap/css/bootstrap.css +5837 -0
- data/amber/js/lib/bootstrap/css/bootstrap.min.css +841 -0
- data/amber/js/lib/bootstrap/img/glyphicons-halflings-white.png +0 -0
- data/amber/js/lib/bootstrap/img/glyphicons-halflings.png +0 -0
- data/amber/js/lib/bootstrap/js/bootstrap.js +2038 -0
- data/amber/js/lib/bootstrap/js/bootstrap.min.js +7 -0
- data/amber/js/lib/jQuery/jquery-1.8.2.min.js +2 -0
- data/amber/js/lib/jQuery/jquery-ui-1.8.24.custom.min.js +125 -0
- data/amber/st/Compiler-AST.st +505 -0
- data/amber/st/Compiler-Core.st +835 -0
- data/amber/st/Compiler-Exceptions.st +87 -0
- data/amber/st/Compiler-IR.st +1097 -0
- data/amber/st/Compiler-Inlining.st +650 -0
- data/amber/st/Compiler-Semantic.st +558 -0
- data/amber/st/Compiler-Tests.st +285 -381
- data/amber/st/Compiler.st +725 -2
- data/amber/st/Helios-Announcements.st +104 -0
- data/amber/st/Helios-Browser.st +708 -0
- data/amber/st/Helios-Commands.st +223 -0
- data/amber/st/Helios-Core.st +532 -0
- data/amber/st/Helios-Environments.st +98 -0
- data/amber/st/Helios-Inspector.st +367 -0
- data/amber/st/Helios-KeyBindings.st +337 -0
- data/amber/st/Helios-Layout.st +199 -0
- data/amber/st/Helios-Workspace.st +367 -0
- data/amber/st/IDE.st +75 -53
- data/amber/st/Importer-Exporter.st +386 -0
- data/amber/st/Kernel-Announcements.st +92 -0
- data/amber/st/Kernel-Classes.st +137 -15
- data/amber/st/Kernel-Collections.st +137 -47
- data/amber/st/Kernel-Exceptions.st +14 -0
- data/amber/st/Kernel-Methods.st +9 -1
- data/amber/st/Kernel-Objects.st +29 -5
- data/amber/st/Kernel-Tests.st +545 -199
- data/amber/st/SUnit.st +10 -0
- data/amber/st/Spaces.st +142 -0
- data/lib/resin/app.rb +1 -1
- metadata +86 -31
- data/amber/js/lib/jQuery/jquery-1.4.4.min.js +0 -167
- data/amber/js/lib/jQuery/jquery-1.6.4.min.js +0 -4
data/amber/js/Canvas.js
CHANGED
|
@@ -7,8 +7,10 @@ selector: "a",
|
|
|
7
7
|
category: 'tags',
|
|
8
8
|
fn: function (){
|
|
9
9
|
var self=this;
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
var $1;
|
|
11
|
+
$1=smalltalk.send(self,"_tag_",["a"]);
|
|
12
|
+
return $1;
|
|
13
|
+
},
|
|
12
14
|
args: [],
|
|
13
15
|
source: "a\x0a ^self tag: 'a'",
|
|
14
16
|
messageSends: ["tag:"],
|
|
@@ -23,8 +25,10 @@ selector: "abbr",
|
|
|
23
25
|
category: 'tags',
|
|
24
26
|
fn: function (){
|
|
25
27
|
var self=this;
|
|
26
|
-
|
|
27
|
-
|
|
28
|
+
var $1;
|
|
29
|
+
$1=smalltalk.send(self,"_tag_",["abbr"]);
|
|
30
|
+
return $1;
|
|
31
|
+
},
|
|
28
32
|
args: [],
|
|
29
33
|
source: "abbr\x0a\x09^self tag: 'abbr'",
|
|
30
34
|
messageSends: ["tag:"],
|
|
@@ -39,8 +43,10 @@ selector: "address",
|
|
|
39
43
|
category: 'tags',
|
|
40
44
|
fn: function (){
|
|
41
45
|
var self=this;
|
|
42
|
-
|
|
43
|
-
|
|
46
|
+
var $1;
|
|
47
|
+
$1=smalltalk.send(self,"_tag_",["address"]);
|
|
48
|
+
return $1;
|
|
49
|
+
},
|
|
44
50
|
args: [],
|
|
45
51
|
source: "address\x0a\x09^self tag: 'address'",
|
|
46
52
|
messageSends: ["tag:"],
|
|
@@ -55,8 +61,10 @@ selector: "area",
|
|
|
55
61
|
category: 'tags',
|
|
56
62
|
fn: function (){
|
|
57
63
|
var self=this;
|
|
58
|
-
|
|
59
|
-
|
|
64
|
+
var $1;
|
|
65
|
+
$1=smalltalk.send(self,"_tag_",["area"]);
|
|
66
|
+
return $1;
|
|
67
|
+
},
|
|
60
68
|
args: [],
|
|
61
69
|
source: "area\x0a\x09^self tag: 'area'",
|
|
62
70
|
messageSends: ["tag:"],
|
|
@@ -71,8 +79,10 @@ selector: "article",
|
|
|
71
79
|
category: 'tags',
|
|
72
80
|
fn: function (){
|
|
73
81
|
var self=this;
|
|
74
|
-
|
|
75
|
-
|
|
82
|
+
var $1;
|
|
83
|
+
$1=smalltalk.send(self,"_tag_",["article"]);
|
|
84
|
+
return $1;
|
|
85
|
+
},
|
|
76
86
|
args: [],
|
|
77
87
|
source: "article\x0a ^self tag: 'article'",
|
|
78
88
|
messageSends: ["tag:"],
|
|
@@ -87,8 +97,10 @@ selector: "aside",
|
|
|
87
97
|
category: 'tags',
|
|
88
98
|
fn: function (){
|
|
89
99
|
var self=this;
|
|
90
|
-
|
|
91
|
-
|
|
100
|
+
var $1;
|
|
101
|
+
$1=smalltalk.send(self,"_tag_",["aside"]);
|
|
102
|
+
return $1;
|
|
103
|
+
},
|
|
92
104
|
args: [],
|
|
93
105
|
source: "aside\x0a\x09^self tag: 'aside'",
|
|
94
106
|
messageSends: ["tag:"],
|
|
@@ -103,8 +115,10 @@ selector: "audio",
|
|
|
103
115
|
category: 'tags',
|
|
104
116
|
fn: function (){
|
|
105
117
|
var self=this;
|
|
106
|
-
|
|
107
|
-
|
|
118
|
+
var $1;
|
|
119
|
+
$1=smalltalk.send(self,"_tag_",["audio"]);
|
|
120
|
+
return $1;
|
|
121
|
+
},
|
|
108
122
|
args: [],
|
|
109
123
|
source: "audio\x0a ^self tag: 'audio'",
|
|
110
124
|
messageSends: ["tag:"],
|
|
@@ -119,8 +133,10 @@ selector: "base",
|
|
|
119
133
|
category: 'tags',
|
|
120
134
|
fn: function (){
|
|
121
135
|
var self=this;
|
|
122
|
-
|
|
123
|
-
|
|
136
|
+
var $1;
|
|
137
|
+
$1=smalltalk.send(self,"_tag_",["base"]);
|
|
138
|
+
return $1;
|
|
139
|
+
},
|
|
124
140
|
args: [],
|
|
125
141
|
source: "base\x0a\x09^self tag: 'base'",
|
|
126
142
|
messageSends: ["tag:"],
|
|
@@ -135,8 +151,10 @@ selector: "blockquote",
|
|
|
135
151
|
category: 'tags',
|
|
136
152
|
fn: function (){
|
|
137
153
|
var self=this;
|
|
138
|
-
|
|
139
|
-
|
|
154
|
+
var $1;
|
|
155
|
+
$1=smalltalk.send(self,"_tag_",["blockquote"]);
|
|
156
|
+
return $1;
|
|
157
|
+
},
|
|
140
158
|
args: [],
|
|
141
159
|
source: "blockquote\x0a\x09^self tag: 'blockquote'",
|
|
142
160
|
messageSends: ["tag:"],
|
|
@@ -151,8 +169,10 @@ selector: "body",
|
|
|
151
169
|
category: 'tags',
|
|
152
170
|
fn: function (){
|
|
153
171
|
var self=this;
|
|
154
|
-
|
|
155
|
-
|
|
172
|
+
var $1;
|
|
173
|
+
$1=smalltalk.send(self,"_tag_",["body"]);
|
|
174
|
+
return $1;
|
|
175
|
+
},
|
|
156
176
|
args: [],
|
|
157
177
|
source: "body\x0a\x09^self tag: 'body'",
|
|
158
178
|
messageSends: ["tag:"],
|
|
@@ -167,8 +187,10 @@ selector: "br",
|
|
|
167
187
|
category: 'tags',
|
|
168
188
|
fn: function (){
|
|
169
189
|
var self=this;
|
|
170
|
-
|
|
171
|
-
|
|
190
|
+
var $1;
|
|
191
|
+
$1=smalltalk.send(self,"_tag_",["br"]);
|
|
192
|
+
return $1;
|
|
193
|
+
},
|
|
172
194
|
args: [],
|
|
173
195
|
source: "br\x0a ^self tag: 'br'",
|
|
174
196
|
messageSends: ["tag:"],
|
|
@@ -183,8 +205,10 @@ selector: "button",
|
|
|
183
205
|
category: 'tags',
|
|
184
206
|
fn: function (){
|
|
185
207
|
var self=this;
|
|
186
|
-
|
|
187
|
-
|
|
208
|
+
var $1;
|
|
209
|
+
$1=smalltalk.send(self,"_tag_",["button"]);
|
|
210
|
+
return $1;
|
|
211
|
+
},
|
|
188
212
|
args: [],
|
|
189
213
|
source: "button\x0a ^self tag: 'button'",
|
|
190
214
|
messageSends: ["tag:"],
|
|
@@ -199,8 +223,10 @@ selector: "canvas",
|
|
|
199
223
|
category: 'tags',
|
|
200
224
|
fn: function (){
|
|
201
225
|
var self=this;
|
|
202
|
-
|
|
203
|
-
|
|
226
|
+
var $1;
|
|
227
|
+
$1=smalltalk.send(self,"_tag_",["canvas"]);
|
|
228
|
+
return $1;
|
|
229
|
+
},
|
|
204
230
|
args: [],
|
|
205
231
|
source: "canvas\x0a\x09^self tag: 'canvas'",
|
|
206
232
|
messageSends: ["tag:"],
|
|
@@ -215,8 +241,10 @@ selector: "caption",
|
|
|
215
241
|
category: 'tags',
|
|
216
242
|
fn: function (){
|
|
217
243
|
var self=this;
|
|
218
|
-
|
|
219
|
-
|
|
244
|
+
var $1;
|
|
245
|
+
$1=smalltalk.send(self,"_tag_",["caption"]);
|
|
246
|
+
return $1;
|
|
247
|
+
},
|
|
220
248
|
args: [],
|
|
221
249
|
source: "caption\x0a\x09^self tag: 'caption'",
|
|
222
250
|
messageSends: ["tag:"],
|
|
@@ -231,8 +259,10 @@ selector: "cite",
|
|
|
231
259
|
category: 'tags',
|
|
232
260
|
fn: function (){
|
|
233
261
|
var self=this;
|
|
234
|
-
|
|
235
|
-
|
|
262
|
+
var $1;
|
|
263
|
+
$1=smalltalk.send(self,"_tag_",["cite"]);
|
|
264
|
+
return $1;
|
|
265
|
+
},
|
|
236
266
|
args: [],
|
|
237
267
|
source: "cite\x0a\x09^self tag: 'cite'",
|
|
238
268
|
messageSends: ["tag:"],
|
|
@@ -247,8 +277,10 @@ selector: "code",
|
|
|
247
277
|
category: 'tags',
|
|
248
278
|
fn: function (){
|
|
249
279
|
var self=this;
|
|
250
|
-
|
|
251
|
-
|
|
280
|
+
var $1;
|
|
281
|
+
$1=smalltalk.send(self,"_tag_",["code"]);
|
|
282
|
+
return $1;
|
|
283
|
+
},
|
|
252
284
|
args: [],
|
|
253
285
|
source: "code\x0a ^self tag: 'code'",
|
|
254
286
|
messageSends: ["tag:"],
|
|
@@ -263,8 +295,10 @@ selector: "col",
|
|
|
263
295
|
category: 'tags',
|
|
264
296
|
fn: function (){
|
|
265
297
|
var self=this;
|
|
266
|
-
|
|
267
|
-
|
|
298
|
+
var $1;
|
|
299
|
+
$1=smalltalk.send(self,"_tag_",["col"]);
|
|
300
|
+
return $1;
|
|
301
|
+
},
|
|
268
302
|
args: [],
|
|
269
303
|
source: "col\x0a\x09^self tag: 'col'",
|
|
270
304
|
messageSends: ["tag:"],
|
|
@@ -279,8 +313,10 @@ selector: "colgroup",
|
|
|
279
313
|
category: 'tags',
|
|
280
314
|
fn: function (){
|
|
281
315
|
var self=this;
|
|
282
|
-
|
|
283
|
-
|
|
316
|
+
var $1;
|
|
317
|
+
$1=smalltalk.send(self,"_tag_",["colgroup"]);
|
|
318
|
+
return $1;
|
|
319
|
+
},
|
|
284
320
|
args: [],
|
|
285
321
|
source: "colgroup\x0a\x09^self tag: 'colgroup'",
|
|
286
322
|
messageSends: ["tag:"],
|
|
@@ -295,8 +331,10 @@ selector: "command",
|
|
|
295
331
|
category: 'tags',
|
|
296
332
|
fn: function (){
|
|
297
333
|
var self=this;
|
|
298
|
-
|
|
299
|
-
|
|
334
|
+
var $1;
|
|
335
|
+
$1=smalltalk.send(self,"_tag_",["command"]);
|
|
336
|
+
return $1;
|
|
337
|
+
},
|
|
300
338
|
args: [],
|
|
301
339
|
source: "command\x0a\x09^self tag: 'command'",
|
|
302
340
|
messageSends: ["tag:"],
|
|
@@ -311,8 +349,10 @@ selector: "datalist",
|
|
|
311
349
|
category: 'tags',
|
|
312
350
|
fn: function (){
|
|
313
351
|
var self=this;
|
|
314
|
-
|
|
315
|
-
|
|
352
|
+
var $1;
|
|
353
|
+
$1=smalltalk.send(self,"_tag_",["datalist"]);
|
|
354
|
+
return $1;
|
|
355
|
+
},
|
|
316
356
|
args: [],
|
|
317
357
|
source: "datalist\x0a\x09^self tag: 'datalist'",
|
|
318
358
|
messageSends: ["tag:"],
|
|
@@ -327,8 +367,10 @@ selector: "dd",
|
|
|
327
367
|
category: 'tags',
|
|
328
368
|
fn: function (){
|
|
329
369
|
var self=this;
|
|
330
|
-
|
|
331
|
-
|
|
370
|
+
var $1;
|
|
371
|
+
$1=smalltalk.send(self,"_tag_",["dd"]);
|
|
372
|
+
return $1;
|
|
373
|
+
},
|
|
332
374
|
args: [],
|
|
333
375
|
source: "dd\x0a\x09^self tag: 'dd'",
|
|
334
376
|
messageSends: ["tag:"],
|
|
@@ -343,8 +385,10 @@ selector: "del",
|
|
|
343
385
|
category: 'tags',
|
|
344
386
|
fn: function (){
|
|
345
387
|
var self=this;
|
|
346
|
-
|
|
347
|
-
|
|
388
|
+
var $1;
|
|
389
|
+
$1=smalltalk.send(self,"_tag_",["del"]);
|
|
390
|
+
return $1;
|
|
391
|
+
},
|
|
348
392
|
args: [],
|
|
349
393
|
source: "del\x0a\x09^self tag: 'del'",
|
|
350
394
|
messageSends: ["tag:"],
|
|
@@ -359,8 +403,10 @@ selector: "details",
|
|
|
359
403
|
category: 'tags',
|
|
360
404
|
fn: function (){
|
|
361
405
|
var self=this;
|
|
362
|
-
|
|
363
|
-
|
|
406
|
+
var $1;
|
|
407
|
+
$1=smalltalk.send(self,"_tag_",["details"]);
|
|
408
|
+
return $1;
|
|
409
|
+
},
|
|
364
410
|
args: [],
|
|
365
411
|
source: "details\x0a\x09^self tag: 'details'",
|
|
366
412
|
messageSends: ["tag:"],
|
|
@@ -375,8 +421,10 @@ selector: "div",
|
|
|
375
421
|
category: 'tags',
|
|
376
422
|
fn: function (){
|
|
377
423
|
var self=this;
|
|
378
|
-
|
|
379
|
-
|
|
424
|
+
var $1;
|
|
425
|
+
$1=smalltalk.send(self,"_tag_",["div"]);
|
|
426
|
+
return $1;
|
|
427
|
+
},
|
|
380
428
|
args: [],
|
|
381
429
|
source: "div\x0a ^self tag: 'div'",
|
|
382
430
|
messageSends: ["tag:"],
|
|
@@ -391,8 +439,10 @@ selector: "div:",
|
|
|
391
439
|
category: 'tags',
|
|
392
440
|
fn: function (aBlock){
|
|
393
441
|
var self=this;
|
|
394
|
-
|
|
395
|
-
|
|
442
|
+
var $1;
|
|
443
|
+
$1=smalltalk.send(smalltalk.send(self,"_div",[]),"_with_",[aBlock]);
|
|
444
|
+
return $1;
|
|
445
|
+
},
|
|
396
446
|
args: ["aBlock"],
|
|
397
447
|
source: "div: aBlock\x0a ^self div with: aBlock",
|
|
398
448
|
messageSends: ["with:", "div"],
|
|
@@ -407,8 +457,10 @@ selector: "dl",
|
|
|
407
457
|
category: 'tags',
|
|
408
458
|
fn: function (){
|
|
409
459
|
var self=this;
|
|
410
|
-
|
|
411
|
-
|
|
460
|
+
var $1;
|
|
461
|
+
$1=smalltalk.send(self,"_tag_",["dl"]);
|
|
462
|
+
return $1;
|
|
463
|
+
},
|
|
412
464
|
args: [],
|
|
413
465
|
source: "dl\x0a\x09^self tag: 'dl'",
|
|
414
466
|
messageSends: ["tag:"],
|
|
@@ -423,8 +475,10 @@ selector: "dt",
|
|
|
423
475
|
category: 'tags',
|
|
424
476
|
fn: function (){
|
|
425
477
|
var self=this;
|
|
426
|
-
|
|
427
|
-
|
|
478
|
+
var $1;
|
|
479
|
+
$1=smalltalk.send(self,"_tag_",["dt"]);
|
|
480
|
+
return $1;
|
|
481
|
+
},
|
|
428
482
|
args: [],
|
|
429
483
|
source: "dt\x0a\x09^self tag: 'dt'",
|
|
430
484
|
messageSends: ["tag:"],
|
|
@@ -439,8 +493,10 @@ selector: "em",
|
|
|
439
493
|
category: 'tags',
|
|
440
494
|
fn: function (){
|
|
441
495
|
var self=this;
|
|
442
|
-
|
|
443
|
-
|
|
496
|
+
var $1;
|
|
497
|
+
$1=smalltalk.send(self,"_tag_",["em"]);
|
|
498
|
+
return $1;
|
|
499
|
+
},
|
|
444
500
|
args: [],
|
|
445
501
|
source: "em\x0a\x09^self tag: 'em'",
|
|
446
502
|
messageSends: ["tag:"],
|
|
@@ -455,8 +511,10 @@ selector: "embed",
|
|
|
455
511
|
category: 'tags',
|
|
456
512
|
fn: function (){
|
|
457
513
|
var self=this;
|
|
458
|
-
|
|
459
|
-
|
|
514
|
+
var $1;
|
|
515
|
+
$1=smalltalk.send(self,"_tag_",["embed"]);
|
|
516
|
+
return $1;
|
|
517
|
+
},
|
|
460
518
|
args: [],
|
|
461
519
|
source: "embed\x0a\x09^self tag: 'embed'",
|
|
462
520
|
messageSends: ["tag:"],
|
|
@@ -471,8 +529,10 @@ selector: "fieldset",
|
|
|
471
529
|
category: 'tags',
|
|
472
530
|
fn: function (){
|
|
473
531
|
var self=this;
|
|
474
|
-
|
|
475
|
-
|
|
532
|
+
var $1;
|
|
533
|
+
$1=smalltalk.send(self,"_tag_",["fieldset"]);
|
|
534
|
+
return $1;
|
|
535
|
+
},
|
|
476
536
|
args: [],
|
|
477
537
|
source: "fieldset\x0a ^self tag: 'fieldset'",
|
|
478
538
|
messageSends: ["tag:"],
|
|
@@ -487,8 +547,10 @@ selector: "figcaption",
|
|
|
487
547
|
category: 'tags',
|
|
488
548
|
fn: function (){
|
|
489
549
|
var self=this;
|
|
490
|
-
|
|
491
|
-
|
|
550
|
+
var $1;
|
|
551
|
+
$1=smalltalk.send(self,"_tag_",["figcaption"]);
|
|
552
|
+
return $1;
|
|
553
|
+
},
|
|
492
554
|
args: [],
|
|
493
555
|
source: "figcaption\x0a\x09^self tag: 'figcaption'",
|
|
494
556
|
messageSends: ["tag:"],
|
|
@@ -503,8 +565,10 @@ selector: "figure",
|
|
|
503
565
|
category: 'tags',
|
|
504
566
|
fn: function (){
|
|
505
567
|
var self=this;
|
|
506
|
-
|
|
507
|
-
|
|
568
|
+
var $1;
|
|
569
|
+
$1=smalltalk.send(self,"_tag_",["figure"]);
|
|
570
|
+
return $1;
|
|
571
|
+
},
|
|
508
572
|
args: [],
|
|
509
573
|
source: "figure\x0a\x09^self tag: 'figure'",
|
|
510
574
|
messageSends: ["tag:"],
|
|
@@ -519,8 +583,10 @@ selector: "footer",
|
|
|
519
583
|
category: 'tags',
|
|
520
584
|
fn: function (){
|
|
521
585
|
var self=this;
|
|
522
|
-
|
|
523
|
-
|
|
586
|
+
var $1;
|
|
587
|
+
$1=smalltalk.send(self,"_tag_",["footer"]);
|
|
588
|
+
return $1;
|
|
589
|
+
},
|
|
524
590
|
args: [],
|
|
525
591
|
source: "footer\x0a ^self tag: 'footer'",
|
|
526
592
|
messageSends: ["tag:"],
|
|
@@ -535,8 +601,10 @@ selector: "form",
|
|
|
535
601
|
category: 'tags',
|
|
536
602
|
fn: function (){
|
|
537
603
|
var self=this;
|
|
538
|
-
|
|
539
|
-
|
|
604
|
+
var $1;
|
|
605
|
+
$1=smalltalk.send(self,"_tag_",["form"]);
|
|
606
|
+
return $1;
|
|
607
|
+
},
|
|
540
608
|
args: [],
|
|
541
609
|
source: "form\x0a ^self tag: 'form'",
|
|
542
610
|
messageSends: ["tag:"],
|
|
@@ -551,8 +619,10 @@ selector: "h1",
|
|
|
551
619
|
category: 'tags',
|
|
552
620
|
fn: function (){
|
|
553
621
|
var self=this;
|
|
554
|
-
|
|
555
|
-
|
|
622
|
+
var $1;
|
|
623
|
+
$1=smalltalk.send(self,"_tag_",["h1"]);
|
|
624
|
+
return $1;
|
|
625
|
+
},
|
|
556
626
|
args: [],
|
|
557
627
|
source: "h1\x0a ^self tag: 'h1'",
|
|
558
628
|
messageSends: ["tag:"],
|
|
@@ -567,8 +637,10 @@ selector: "h1:",
|
|
|
567
637
|
category: 'tags',
|
|
568
638
|
fn: function (anObject){
|
|
569
639
|
var self=this;
|
|
570
|
-
|
|
571
|
-
|
|
640
|
+
var $1;
|
|
641
|
+
$1=smalltalk.send(smalltalk.send(self,"_h1",[]),"_with_",[anObject]);
|
|
642
|
+
return $1;
|
|
643
|
+
},
|
|
572
644
|
args: ["anObject"],
|
|
573
645
|
source: "h1: anObject\x0a ^self h1 with: anObject",
|
|
574
646
|
messageSends: ["with:", "h1"],
|
|
@@ -583,8 +655,10 @@ selector: "h2",
|
|
|
583
655
|
category: 'tags',
|
|
584
656
|
fn: function (){
|
|
585
657
|
var self=this;
|
|
586
|
-
|
|
587
|
-
|
|
658
|
+
var $1;
|
|
659
|
+
$1=smalltalk.send(self,"_tag_",["h2"]);
|
|
660
|
+
return $1;
|
|
661
|
+
},
|
|
588
662
|
args: [],
|
|
589
663
|
source: "h2\x0a ^self tag: 'h2'",
|
|
590
664
|
messageSends: ["tag:"],
|
|
@@ -599,8 +673,10 @@ selector: "h2:",
|
|
|
599
673
|
category: 'tags',
|
|
600
674
|
fn: function (anObject){
|
|
601
675
|
var self=this;
|
|
602
|
-
|
|
603
|
-
|
|
676
|
+
var $1;
|
|
677
|
+
$1=smalltalk.send(smalltalk.send(self,"_h2",[]),"_with_",[anObject]);
|
|
678
|
+
return $1;
|
|
679
|
+
},
|
|
604
680
|
args: ["anObject"],
|
|
605
681
|
source: "h2: anObject\x0a ^ self h2 with: anObject",
|
|
606
682
|
messageSends: ["with:", "h2"],
|
|
@@ -615,8 +691,10 @@ selector: "h3",
|
|
|
615
691
|
category: 'tags',
|
|
616
692
|
fn: function (){
|
|
617
693
|
var self=this;
|
|
618
|
-
|
|
619
|
-
|
|
694
|
+
var $1;
|
|
695
|
+
$1=smalltalk.send(self,"_tag_",["h3"]);
|
|
696
|
+
return $1;
|
|
697
|
+
},
|
|
620
698
|
args: [],
|
|
621
699
|
source: "h3\x0a ^self tag: 'h3'",
|
|
622
700
|
messageSends: ["tag:"],
|
|
@@ -631,8 +709,10 @@ selector: "h3:",
|
|
|
631
709
|
category: 'tags',
|
|
632
710
|
fn: function (anObject){
|
|
633
711
|
var self=this;
|
|
634
|
-
|
|
635
|
-
|
|
712
|
+
var $1;
|
|
713
|
+
$1=smalltalk.send(smalltalk.send(self,"_h3",[]),"_with_",[anObject]);
|
|
714
|
+
return $1;
|
|
715
|
+
},
|
|
636
716
|
args: ["anObject"],
|
|
637
717
|
source: "h3: anObject\x0a ^self h3 with: anObject",
|
|
638
718
|
messageSends: ["with:", "h3"],
|
|
@@ -647,8 +727,10 @@ selector: "h4",
|
|
|
647
727
|
category: 'tags',
|
|
648
728
|
fn: function (){
|
|
649
729
|
var self=this;
|
|
650
|
-
|
|
651
|
-
|
|
730
|
+
var $1;
|
|
731
|
+
$1=smalltalk.send(self,"_tag_",["h4"]);
|
|
732
|
+
return $1;
|
|
733
|
+
},
|
|
652
734
|
args: [],
|
|
653
735
|
source: "h4\x0a ^self tag: 'h4'",
|
|
654
736
|
messageSends: ["tag:"],
|
|
@@ -663,8 +745,10 @@ selector: "h4:",
|
|
|
663
745
|
category: 'tags',
|
|
664
746
|
fn: function (anObject){
|
|
665
747
|
var self=this;
|
|
666
|
-
|
|
667
|
-
|
|
748
|
+
var $1;
|
|
749
|
+
$1=smalltalk.send(smalltalk.send(self,"_h4",[]),"_with_",[anObject]);
|
|
750
|
+
return $1;
|
|
751
|
+
},
|
|
668
752
|
args: ["anObject"],
|
|
669
753
|
source: "h4: anObject\x0a ^self h4 with: anObject",
|
|
670
754
|
messageSends: ["with:", "h4"],
|
|
@@ -679,8 +763,10 @@ selector: "h5",
|
|
|
679
763
|
category: 'tags',
|
|
680
764
|
fn: function (){
|
|
681
765
|
var self=this;
|
|
682
|
-
|
|
683
|
-
|
|
766
|
+
var $1;
|
|
767
|
+
$1=smalltalk.send(self,"_tag_",["h5"]);
|
|
768
|
+
return $1;
|
|
769
|
+
},
|
|
684
770
|
args: [],
|
|
685
771
|
source: "h5\x0a ^self tag: 'h5'",
|
|
686
772
|
messageSends: ["tag:"],
|
|
@@ -695,8 +781,10 @@ selector: "h5:",
|
|
|
695
781
|
category: 'tags',
|
|
696
782
|
fn: function (anObject){
|
|
697
783
|
var self=this;
|
|
698
|
-
|
|
699
|
-
|
|
784
|
+
var $1;
|
|
785
|
+
$1=smalltalk.send(smalltalk.send(self,"_h5",[]),"_with_",[anObject]);
|
|
786
|
+
return $1;
|
|
787
|
+
},
|
|
700
788
|
args: ["anObject"],
|
|
701
789
|
source: "h5: anObject\x0a ^self h5 with: anObject",
|
|
702
790
|
messageSends: ["with:", "h5"],
|
|
@@ -711,8 +799,10 @@ selector: "h6",
|
|
|
711
799
|
category: 'tags',
|
|
712
800
|
fn: function (){
|
|
713
801
|
var self=this;
|
|
714
|
-
|
|
715
|
-
|
|
802
|
+
var $1;
|
|
803
|
+
$1=smalltalk.send(self,"_tag_",["h6"]);
|
|
804
|
+
return $1;
|
|
805
|
+
},
|
|
716
806
|
args: [],
|
|
717
807
|
source: "h6\x0a ^self tag: 'h6'",
|
|
718
808
|
messageSends: ["tag:"],
|
|
@@ -727,8 +817,10 @@ selector: "h6:",
|
|
|
727
817
|
category: 'tags',
|
|
728
818
|
fn: function (anObject){
|
|
729
819
|
var self=this;
|
|
730
|
-
|
|
731
|
-
|
|
820
|
+
var $1;
|
|
821
|
+
$1=smalltalk.send(smalltalk.send(self,"_h6",[]),"_with_",[anObject]);
|
|
822
|
+
return $1;
|
|
823
|
+
},
|
|
732
824
|
args: ["anObject"],
|
|
733
825
|
source: "h6: anObject\x0a ^self h6 with: anObject",
|
|
734
826
|
messageSends: ["with:", "h6"],
|
|
@@ -743,8 +835,10 @@ selector: "head",
|
|
|
743
835
|
category: 'tags',
|
|
744
836
|
fn: function (){
|
|
745
837
|
var self=this;
|
|
746
|
-
|
|
747
|
-
|
|
838
|
+
var $1;
|
|
839
|
+
$1=smalltalk.send(self,"_tag_",["head"]);
|
|
840
|
+
return $1;
|
|
841
|
+
},
|
|
748
842
|
args: [],
|
|
749
843
|
source: "head\x0a\x09^self tag: 'head'",
|
|
750
844
|
messageSends: ["tag:"],
|
|
@@ -759,8 +853,10 @@ selector: "header",
|
|
|
759
853
|
category: 'tags',
|
|
760
854
|
fn: function (){
|
|
761
855
|
var self=this;
|
|
762
|
-
|
|
763
|
-
|
|
856
|
+
var $1;
|
|
857
|
+
$1=smalltalk.send(self,"_tag_",["header"]);
|
|
858
|
+
return $1;
|
|
859
|
+
},
|
|
764
860
|
args: [],
|
|
765
861
|
source: "header\x0a ^self tag: 'header'",
|
|
766
862
|
messageSends: ["tag:"],
|
|
@@ -775,8 +871,10 @@ selector: "hgroup",
|
|
|
775
871
|
category: 'tags',
|
|
776
872
|
fn: function (){
|
|
777
873
|
var self=this;
|
|
778
|
-
|
|
779
|
-
|
|
874
|
+
var $1;
|
|
875
|
+
$1=smalltalk.send(self,"_tag_",["hgroup"]);
|
|
876
|
+
return $1;
|
|
877
|
+
},
|
|
780
878
|
args: [],
|
|
781
879
|
source: "hgroup\x0a\x09^self tag: 'hgroup'",
|
|
782
880
|
messageSends: ["tag:"],
|
|
@@ -791,8 +889,10 @@ selector: "hr",
|
|
|
791
889
|
category: 'tags',
|
|
792
890
|
fn: function (){
|
|
793
891
|
var self=this;
|
|
794
|
-
|
|
795
|
-
|
|
892
|
+
var $1;
|
|
893
|
+
$1=smalltalk.send(self,"_tag_",["hr"]);
|
|
894
|
+
return $1;
|
|
895
|
+
},
|
|
796
896
|
args: [],
|
|
797
897
|
source: "hr\x0a ^self tag: 'hr'",
|
|
798
898
|
messageSends: ["tag:"],
|
|
@@ -807,8 +907,10 @@ selector: "html",
|
|
|
807
907
|
category: 'tags',
|
|
808
908
|
fn: function (){
|
|
809
909
|
var self=this;
|
|
810
|
-
|
|
811
|
-
|
|
910
|
+
var $1;
|
|
911
|
+
$1=smalltalk.send(self,"_tag_",["html"]);
|
|
912
|
+
return $1;
|
|
913
|
+
},
|
|
812
914
|
args: [],
|
|
813
915
|
source: "html\x0a\x09^self tag: 'html'",
|
|
814
916
|
messageSends: ["tag:"],
|
|
@@ -823,8 +925,10 @@ selector: "iframe",
|
|
|
823
925
|
category: 'tags',
|
|
824
926
|
fn: function (){
|
|
825
927
|
var self=this;
|
|
826
|
-
|
|
827
|
-
|
|
928
|
+
var $1;
|
|
929
|
+
$1=smalltalk.send(self,"_tag_",["iframe"]);
|
|
930
|
+
return $1;
|
|
931
|
+
},
|
|
828
932
|
args: [],
|
|
829
933
|
source: "iframe\x0a ^self tag: 'iframe'",
|
|
830
934
|
messageSends: ["tag:"],
|
|
@@ -839,8 +943,10 @@ selector: "iframe:",
|
|
|
839
943
|
category: 'tags',
|
|
840
944
|
fn: function (aString){
|
|
841
945
|
var self=this;
|
|
842
|
-
|
|
843
|
-
|
|
946
|
+
var $1;
|
|
947
|
+
$1=smalltalk.send(smalltalk.send(self,"_iframe",[]),"_src_",[aString]);
|
|
948
|
+
return $1;
|
|
949
|
+
},
|
|
844
950
|
args: ["aString"],
|
|
845
951
|
source: "iframe: aString\x0a ^self iframe src: aString",
|
|
846
952
|
messageSends: ["src:", "iframe"],
|
|
@@ -855,8 +961,10 @@ selector: "img",
|
|
|
855
961
|
category: 'tags',
|
|
856
962
|
fn: function (){
|
|
857
963
|
var self=this;
|
|
858
|
-
|
|
859
|
-
|
|
964
|
+
var $1;
|
|
965
|
+
$1=smalltalk.send(self,"_tag_",["img"]);
|
|
966
|
+
return $1;
|
|
967
|
+
},
|
|
860
968
|
args: [],
|
|
861
969
|
source: "img\x0a ^self tag: 'img'",
|
|
862
970
|
messageSends: ["tag:"],
|
|
@@ -871,8 +979,10 @@ selector: "img:",
|
|
|
871
979
|
category: 'tags',
|
|
872
980
|
fn: function (aString){
|
|
873
981
|
var self=this;
|
|
874
|
-
|
|
875
|
-
|
|
982
|
+
var $1;
|
|
983
|
+
$1=smalltalk.send(smalltalk.send(self,"_img",[]),"_src_",[aString]);
|
|
984
|
+
return $1;
|
|
985
|
+
},
|
|
876
986
|
args: ["aString"],
|
|
877
987
|
source: "img: aString\x0a ^self img src: aString",
|
|
878
988
|
messageSends: ["src:", "img"],
|
|
@@ -887,9 +997,14 @@ selector: "initialize",
|
|
|
887
997
|
category: 'initialization',
|
|
888
998
|
fn: function (){
|
|
889
999
|
var self=this;
|
|
890
|
-
smalltalk.send(self,
|
|
891
|
-
(($receiver = self[
|
|
892
|
-
|
|
1000
|
+
smalltalk.send(self,"_initialize",[],smalltalk.Object);
|
|
1001
|
+
if(($receiver = self["@root"]) == nil || $receiver == undefined){
|
|
1002
|
+
self["@root"]=smalltalk.send((smalltalk.TagBrush || TagBrush),"_fromString_canvas_",["div",self]);
|
|
1003
|
+
self["@root"];
|
|
1004
|
+
} else {
|
|
1005
|
+
self["@root"];
|
|
1006
|
+
};
|
|
1007
|
+
return self},
|
|
893
1008
|
args: [],
|
|
894
1009
|
source: "initialize\x0a super initialize.\x0a root ifNil: [root := TagBrush fromString: 'div' canvas: self]",
|
|
895
1010
|
messageSends: ["initialize", "ifNil:", "fromString:canvas:"],
|
|
@@ -904,8 +1019,8 @@ selector: "initializeFromJQuery:",
|
|
|
904
1019
|
category: 'initialization',
|
|
905
1020
|
fn: function (aJQuery){
|
|
906
1021
|
var self=this;
|
|
907
|
-
|
|
908
|
-
return self
|
|
1022
|
+
self["@root"]=smalltalk.send((smalltalk.TagBrush || TagBrush),"_fromJQuery_canvas_",[aJQuery,self]);
|
|
1023
|
+
return self},
|
|
909
1024
|
args: ["aJQuery"],
|
|
910
1025
|
source: "initializeFromJQuery: aJQuery\x0a root := TagBrush fromJQuery: aJQuery canvas: self",
|
|
911
1026
|
messageSends: ["fromJQuery:canvas:"],
|
|
@@ -920,8 +1035,10 @@ selector: "input",
|
|
|
920
1035
|
category: 'tags',
|
|
921
1036
|
fn: function (){
|
|
922
1037
|
var self=this;
|
|
923
|
-
|
|
924
|
-
|
|
1038
|
+
var $1;
|
|
1039
|
+
$1=smalltalk.send(self,"_tag_",["input"]);
|
|
1040
|
+
return $1;
|
|
1041
|
+
},
|
|
925
1042
|
args: [],
|
|
926
1043
|
source: "input\x0a ^self tag: 'input'",
|
|
927
1044
|
messageSends: ["tag:"],
|
|
@@ -936,8 +1053,10 @@ selector: "label",
|
|
|
936
1053
|
category: 'tags',
|
|
937
1054
|
fn: function (){
|
|
938
1055
|
var self=this;
|
|
939
|
-
|
|
940
|
-
|
|
1056
|
+
var $1;
|
|
1057
|
+
$1=smalltalk.send(self,"_tag_",["label"]);
|
|
1058
|
+
return $1;
|
|
1059
|
+
},
|
|
941
1060
|
args: [],
|
|
942
1061
|
source: "label\x0a\x09^self tag: 'label'",
|
|
943
1062
|
messageSends: ["tag:"],
|
|
@@ -952,8 +1071,10 @@ selector: "legend",
|
|
|
952
1071
|
category: 'tags',
|
|
953
1072
|
fn: function (){
|
|
954
1073
|
var self=this;
|
|
955
|
-
|
|
956
|
-
|
|
1074
|
+
var $1;
|
|
1075
|
+
$1=smalltalk.send(self,"_tag_",["legend"]);
|
|
1076
|
+
return $1;
|
|
1077
|
+
},
|
|
957
1078
|
args: [],
|
|
958
1079
|
source: "legend\x0a\x09^self tag: 'legend'",
|
|
959
1080
|
messageSends: ["tag:"],
|
|
@@ -968,8 +1089,10 @@ selector: "li",
|
|
|
968
1089
|
category: 'tags',
|
|
969
1090
|
fn: function (){
|
|
970
1091
|
var self=this;
|
|
971
|
-
|
|
972
|
-
|
|
1092
|
+
var $1;
|
|
1093
|
+
$1=smalltalk.send(self,"_tag_",["li"]);
|
|
1094
|
+
return $1;
|
|
1095
|
+
},
|
|
973
1096
|
args: [],
|
|
974
1097
|
source: "li\x0a ^self tag: 'li'",
|
|
975
1098
|
messageSends: ["tag:"],
|
|
@@ -984,8 +1107,10 @@ selector: "li:",
|
|
|
984
1107
|
category: 'tags',
|
|
985
1108
|
fn: function (anObject){
|
|
986
1109
|
var self=this;
|
|
987
|
-
|
|
988
|
-
|
|
1110
|
+
var $1;
|
|
1111
|
+
$1=smalltalk.send(smalltalk.send(self,"_li",[]),"_with_",[anObject]);
|
|
1112
|
+
return $1;
|
|
1113
|
+
},
|
|
989
1114
|
args: ["anObject"],
|
|
990
1115
|
source: "li: anObject\x0a ^self li with: anObject",
|
|
991
1116
|
messageSends: ["with:", "li"],
|
|
@@ -1000,8 +1125,10 @@ selector: "link",
|
|
|
1000
1125
|
category: 'tags',
|
|
1001
1126
|
fn: function (){
|
|
1002
1127
|
var self=this;
|
|
1003
|
-
|
|
1004
|
-
|
|
1128
|
+
var $1;
|
|
1129
|
+
$1=smalltalk.send(self,"_tag_",["link"]);
|
|
1130
|
+
return $1;
|
|
1131
|
+
},
|
|
1005
1132
|
args: [],
|
|
1006
1133
|
source: "link\x0a ^self tag: 'link'",
|
|
1007
1134
|
messageSends: ["tag:"],
|
|
@@ -1016,8 +1143,10 @@ selector: "map",
|
|
|
1016
1143
|
category: 'tags',
|
|
1017
1144
|
fn: function (){
|
|
1018
1145
|
var self=this;
|
|
1019
|
-
|
|
1020
|
-
|
|
1146
|
+
var $1;
|
|
1147
|
+
$1=smalltalk.send(self,"_tag_",["map"]);
|
|
1148
|
+
return $1;
|
|
1149
|
+
},
|
|
1021
1150
|
args: [],
|
|
1022
1151
|
source: "map\x0a\x09^self tag: 'map'",
|
|
1023
1152
|
messageSends: ["tag:"],
|
|
@@ -1032,8 +1161,10 @@ selector: "mark",
|
|
|
1032
1161
|
category: 'tags',
|
|
1033
1162
|
fn: function (){
|
|
1034
1163
|
var self=this;
|
|
1035
|
-
|
|
1036
|
-
|
|
1164
|
+
var $1;
|
|
1165
|
+
$1=smalltalk.send(self,"_tag_",["mark"]);
|
|
1166
|
+
return $1;
|
|
1167
|
+
},
|
|
1037
1168
|
args: [],
|
|
1038
1169
|
source: "mark\x0a\x09^self tag: 'mark'",
|
|
1039
1170
|
messageSends: ["tag:"],
|
|
@@ -1048,8 +1179,10 @@ selector: "menu",
|
|
|
1048
1179
|
category: 'tags',
|
|
1049
1180
|
fn: function (){
|
|
1050
1181
|
var self=this;
|
|
1051
|
-
|
|
1052
|
-
|
|
1182
|
+
var $1;
|
|
1183
|
+
$1=smalltalk.send(self,"_tag_",["menu"]);
|
|
1184
|
+
return $1;
|
|
1185
|
+
},
|
|
1053
1186
|
args: [],
|
|
1054
1187
|
source: "menu\x0a\x09^self tag: 'menu'",
|
|
1055
1188
|
messageSends: ["tag:"],
|
|
@@ -1064,8 +1197,10 @@ selector: "meta",
|
|
|
1064
1197
|
category: 'tags',
|
|
1065
1198
|
fn: function (){
|
|
1066
1199
|
var self=this;
|
|
1067
|
-
|
|
1068
|
-
|
|
1200
|
+
var $1;
|
|
1201
|
+
$1=smalltalk.send(self,"_tag_",["meta"]);
|
|
1202
|
+
return $1;
|
|
1203
|
+
},
|
|
1069
1204
|
args: [],
|
|
1070
1205
|
source: "meta\x0a\x09^self tag: 'meta'",
|
|
1071
1206
|
messageSends: ["tag:"],
|
|
@@ -1080,8 +1215,10 @@ selector: "nav",
|
|
|
1080
1215
|
category: 'tags',
|
|
1081
1216
|
fn: function (){
|
|
1082
1217
|
var self=this;
|
|
1083
|
-
|
|
1084
|
-
|
|
1218
|
+
var $1;
|
|
1219
|
+
$1=smalltalk.send(self,"_tag_",["nav"]);
|
|
1220
|
+
return $1;
|
|
1221
|
+
},
|
|
1085
1222
|
args: [],
|
|
1086
1223
|
source: "nav\x0a\x09^self tag: 'nav'",
|
|
1087
1224
|
messageSends: ["tag:"],
|
|
@@ -1096,8 +1233,10 @@ selector: "newTag:",
|
|
|
1096
1233
|
category: 'tags',
|
|
1097
1234
|
fn: function (aString){
|
|
1098
1235
|
var self=this;
|
|
1099
|
-
|
|
1100
|
-
|
|
1236
|
+
var $1;
|
|
1237
|
+
$1=smalltalk.send((smalltalk.TagBrush || TagBrush),"_fromString_canvas_",[aString,self]);
|
|
1238
|
+
return $1;
|
|
1239
|
+
},
|
|
1101
1240
|
args: ["aString"],
|
|
1102
1241
|
source: "newTag: aString\x0a ^TagBrush fromString: aString canvas: self",
|
|
1103
1242
|
messageSends: ["fromString:canvas:"],
|
|
@@ -1112,8 +1251,10 @@ selector: "noscript",
|
|
|
1112
1251
|
category: 'tags',
|
|
1113
1252
|
fn: function (){
|
|
1114
1253
|
var self=this;
|
|
1115
|
-
|
|
1116
|
-
|
|
1254
|
+
var $1;
|
|
1255
|
+
$1=smalltalk.send(self,"_tag_",["noscript"]);
|
|
1256
|
+
return $1;
|
|
1257
|
+
},
|
|
1117
1258
|
args: [],
|
|
1118
1259
|
source: "noscript\x0a\x09^self tag: 'noscript'",
|
|
1119
1260
|
messageSends: ["tag:"],
|
|
@@ -1128,8 +1269,10 @@ selector: "object",
|
|
|
1128
1269
|
category: 'tags',
|
|
1129
1270
|
fn: function (){
|
|
1130
1271
|
var self=this;
|
|
1131
|
-
|
|
1132
|
-
|
|
1272
|
+
var $1;
|
|
1273
|
+
$1=smalltalk.send(self,"_tag_",["object"]);
|
|
1274
|
+
return $1;
|
|
1275
|
+
},
|
|
1133
1276
|
args: [],
|
|
1134
1277
|
source: "object\x0a\x09^self tag: 'object'",
|
|
1135
1278
|
messageSends: ["tag:"],
|
|
@@ -1144,8 +1287,10 @@ selector: "ol",
|
|
|
1144
1287
|
category: 'tags',
|
|
1145
1288
|
fn: function (){
|
|
1146
1289
|
var self=this;
|
|
1147
|
-
|
|
1148
|
-
|
|
1290
|
+
var $1;
|
|
1291
|
+
$1=smalltalk.send(self,"_tag_",["ol"]);
|
|
1292
|
+
return $1;
|
|
1293
|
+
},
|
|
1149
1294
|
args: [],
|
|
1150
1295
|
source: "ol\x0a ^self tag: 'ol'",
|
|
1151
1296
|
messageSends: ["tag:"],
|
|
@@ -1160,8 +1305,10 @@ selector: "ol:",
|
|
|
1160
1305
|
category: 'tags',
|
|
1161
1306
|
fn: function (anObject){
|
|
1162
1307
|
var self=this;
|
|
1163
|
-
|
|
1164
|
-
|
|
1308
|
+
var $1;
|
|
1309
|
+
$1=smalltalk.send(smalltalk.send(self,"_ol",[]),"_with_",[anObject]);
|
|
1310
|
+
return $1;
|
|
1311
|
+
},
|
|
1165
1312
|
args: ["anObject"],
|
|
1166
1313
|
source: "ol: anObject\x0a ^self ol with: anObject",
|
|
1167
1314
|
messageSends: ["with:", "ol"],
|
|
@@ -1176,8 +1323,10 @@ selector: "optgroup",
|
|
|
1176
1323
|
category: 'tags',
|
|
1177
1324
|
fn: function (){
|
|
1178
1325
|
var self=this;
|
|
1179
|
-
|
|
1180
|
-
|
|
1326
|
+
var $1;
|
|
1327
|
+
$1=smalltalk.send(self,"_tag_",["optgroup"]);
|
|
1328
|
+
return $1;
|
|
1329
|
+
},
|
|
1181
1330
|
args: [],
|
|
1182
1331
|
source: "optgroup\x0a\x09^self tag: 'optgroup'",
|
|
1183
1332
|
messageSends: ["tag:"],
|
|
@@ -1192,8 +1341,10 @@ selector: "option",
|
|
|
1192
1341
|
category: 'tags',
|
|
1193
1342
|
fn: function (){
|
|
1194
1343
|
var self=this;
|
|
1195
|
-
|
|
1196
|
-
|
|
1344
|
+
var $1;
|
|
1345
|
+
$1=smalltalk.send(self,"_tag_",["option"]);
|
|
1346
|
+
return $1;
|
|
1347
|
+
},
|
|
1197
1348
|
args: [],
|
|
1198
1349
|
source: "option\x0a ^self tag: 'option'",
|
|
1199
1350
|
messageSends: ["tag:"],
|
|
@@ -1208,8 +1359,10 @@ selector: "output",
|
|
|
1208
1359
|
category: 'tags',
|
|
1209
1360
|
fn: function (){
|
|
1210
1361
|
var self=this;
|
|
1211
|
-
|
|
1212
|
-
|
|
1362
|
+
var $1;
|
|
1363
|
+
$1=smalltalk.send(self,"_tag_",["output"]);
|
|
1364
|
+
return $1;
|
|
1365
|
+
},
|
|
1213
1366
|
args: [],
|
|
1214
1367
|
source: "output\x0a\x09^self tag: 'output'",
|
|
1215
1368
|
messageSends: ["tag:"],
|
|
@@ -1224,8 +1377,10 @@ selector: "p",
|
|
|
1224
1377
|
category: 'tags',
|
|
1225
1378
|
fn: function (){
|
|
1226
1379
|
var self=this;
|
|
1227
|
-
|
|
1228
|
-
|
|
1380
|
+
var $1;
|
|
1381
|
+
$1=smalltalk.send(self,"_tag_",["p"]);
|
|
1382
|
+
return $1;
|
|
1383
|
+
},
|
|
1229
1384
|
args: [],
|
|
1230
1385
|
source: "p\x0a ^self tag: 'p'",
|
|
1231
1386
|
messageSends: ["tag:"],
|
|
@@ -1240,8 +1395,10 @@ selector: "p:",
|
|
|
1240
1395
|
category: 'tags',
|
|
1241
1396
|
fn: function (anObject){
|
|
1242
1397
|
var self=this;
|
|
1243
|
-
|
|
1244
|
-
|
|
1398
|
+
var $1;
|
|
1399
|
+
$1=smalltalk.send(smalltalk.send(self,"_p",[]),"_with_",[anObject]);
|
|
1400
|
+
return $1;
|
|
1401
|
+
},
|
|
1245
1402
|
args: ["anObject"],
|
|
1246
1403
|
source: "p: anObject\x0a ^self p with: anObject",
|
|
1247
1404
|
messageSends: ["with:", "p"],
|
|
@@ -1256,8 +1413,10 @@ selector: "param",
|
|
|
1256
1413
|
category: 'tags',
|
|
1257
1414
|
fn: function (){
|
|
1258
1415
|
var self=this;
|
|
1259
|
-
|
|
1260
|
-
|
|
1416
|
+
var $1;
|
|
1417
|
+
$1=smalltalk.send(self,"_tag_",["param"]);
|
|
1418
|
+
return $1;
|
|
1419
|
+
},
|
|
1261
1420
|
args: [],
|
|
1262
1421
|
source: "param\x0a\x09^self tag: 'param'",
|
|
1263
1422
|
messageSends: ["tag:"],
|
|
@@ -1272,8 +1431,10 @@ selector: "pre",
|
|
|
1272
1431
|
category: 'tags',
|
|
1273
1432
|
fn: function (){
|
|
1274
1433
|
var self=this;
|
|
1275
|
-
|
|
1276
|
-
|
|
1434
|
+
var $1;
|
|
1435
|
+
$1=smalltalk.send(self,"_tag_",["pre"]);
|
|
1436
|
+
return $1;
|
|
1437
|
+
},
|
|
1277
1438
|
args: [],
|
|
1278
1439
|
source: "pre\x0a ^self tag: 'pre'",
|
|
1279
1440
|
messageSends: ["tag:"],
|
|
@@ -1288,8 +1449,10 @@ selector: "progress",
|
|
|
1288
1449
|
category: 'tags',
|
|
1289
1450
|
fn: function (){
|
|
1290
1451
|
var self=this;
|
|
1291
|
-
|
|
1292
|
-
|
|
1452
|
+
var $1;
|
|
1453
|
+
$1=smalltalk.send(self,"_tag_",["progress"]);
|
|
1454
|
+
return $1;
|
|
1455
|
+
},
|
|
1293
1456
|
args: [],
|
|
1294
1457
|
source: "progress\x0a\x09^self tag: 'progress'",
|
|
1295
1458
|
messageSends: ["tag:"],
|
|
@@ -1304,8 +1467,8 @@ selector: "root",
|
|
|
1304
1467
|
category: 'accessing',
|
|
1305
1468
|
fn: function (){
|
|
1306
1469
|
var self=this;
|
|
1307
|
-
return self[
|
|
1308
|
-
|
|
1470
|
+
return self["@root"];
|
|
1471
|
+
},
|
|
1309
1472
|
args: [],
|
|
1310
1473
|
source: "root\x0a ^root",
|
|
1311
1474
|
messageSends: [],
|
|
@@ -1320,8 +1483,8 @@ selector: "root:",
|
|
|
1320
1483
|
category: 'accessing',
|
|
1321
1484
|
fn: function (aTagBrush){
|
|
1322
1485
|
var self=this;
|
|
1323
|
-
|
|
1324
|
-
return self
|
|
1486
|
+
self["@root"]=aTagBrush;
|
|
1487
|
+
return self},
|
|
1325
1488
|
args: ["aTagBrush"],
|
|
1326
1489
|
source: "root: aTagBrush\x0a root := aTagBrush",
|
|
1327
1490
|
messageSends: [],
|
|
@@ -1336,8 +1499,10 @@ selector: "script",
|
|
|
1336
1499
|
category: 'tags',
|
|
1337
1500
|
fn: function (){
|
|
1338
1501
|
var self=this;
|
|
1339
|
-
|
|
1340
|
-
|
|
1502
|
+
var $1;
|
|
1503
|
+
$1=smalltalk.send(self,"_tag_",["script"]);
|
|
1504
|
+
return $1;
|
|
1505
|
+
},
|
|
1341
1506
|
args: [],
|
|
1342
1507
|
source: "script\x0a ^self tag: 'script'",
|
|
1343
1508
|
messageSends: ["tag:"],
|
|
@@ -1352,8 +1517,10 @@ selector: "section",
|
|
|
1352
1517
|
category: 'tags',
|
|
1353
1518
|
fn: function (){
|
|
1354
1519
|
var self=this;
|
|
1355
|
-
|
|
1356
|
-
|
|
1520
|
+
var $1;
|
|
1521
|
+
$1=smalltalk.send(self,"_tag_",["section"]);
|
|
1522
|
+
return $1;
|
|
1523
|
+
},
|
|
1357
1524
|
args: [],
|
|
1358
1525
|
source: "section\x0a ^self tag: 'section'",
|
|
1359
1526
|
messageSends: ["tag:"],
|
|
@@ -1368,8 +1535,10 @@ selector: "select",
|
|
|
1368
1535
|
category: 'tags',
|
|
1369
1536
|
fn: function (){
|
|
1370
1537
|
var self=this;
|
|
1371
|
-
|
|
1372
|
-
|
|
1538
|
+
var $1;
|
|
1539
|
+
$1=smalltalk.send(self,"_tag_",["select"]);
|
|
1540
|
+
return $1;
|
|
1541
|
+
},
|
|
1373
1542
|
args: [],
|
|
1374
1543
|
source: "select\x0a ^self tag: 'select'",
|
|
1375
1544
|
messageSends: ["tag:"],
|
|
@@ -1384,8 +1553,10 @@ selector: "small",
|
|
|
1384
1553
|
category: 'tags',
|
|
1385
1554
|
fn: function (){
|
|
1386
1555
|
var self=this;
|
|
1387
|
-
|
|
1388
|
-
|
|
1556
|
+
var $1;
|
|
1557
|
+
$1=smalltalk.send(self,"_tag_",["small"]);
|
|
1558
|
+
return $1;
|
|
1559
|
+
},
|
|
1389
1560
|
args: [],
|
|
1390
1561
|
source: "small\x0a\x09^self tag: 'small'",
|
|
1391
1562
|
messageSends: ["tag:"],
|
|
@@ -1400,8 +1571,10 @@ selector: "source",
|
|
|
1400
1571
|
category: 'tags',
|
|
1401
1572
|
fn: function (){
|
|
1402
1573
|
var self=this;
|
|
1403
|
-
|
|
1404
|
-
|
|
1574
|
+
var $1;
|
|
1575
|
+
$1=smalltalk.send(self,"_tag_",["source"]);
|
|
1576
|
+
return $1;
|
|
1577
|
+
},
|
|
1405
1578
|
args: [],
|
|
1406
1579
|
source: "source\x0a\x09^self tag: 'source'",
|
|
1407
1580
|
messageSends: ["tag:"],
|
|
@@ -1416,8 +1589,10 @@ selector: "span",
|
|
|
1416
1589
|
category: 'tags',
|
|
1417
1590
|
fn: function (){
|
|
1418
1591
|
var self=this;
|
|
1419
|
-
|
|
1420
|
-
|
|
1592
|
+
var $1;
|
|
1593
|
+
$1=smalltalk.send(self,"_tag_",["span"]);
|
|
1594
|
+
return $1;
|
|
1595
|
+
},
|
|
1421
1596
|
args: [],
|
|
1422
1597
|
source: "span\x0a ^self tag: 'span'",
|
|
1423
1598
|
messageSends: ["tag:"],
|
|
@@ -1432,8 +1607,10 @@ selector: "span:",
|
|
|
1432
1607
|
category: 'tags',
|
|
1433
1608
|
fn: function (anObject){
|
|
1434
1609
|
var self=this;
|
|
1435
|
-
|
|
1436
|
-
|
|
1610
|
+
var $1;
|
|
1611
|
+
$1=smalltalk.send(smalltalk.send(self,"_span",[]),"_with_",[anObject]);
|
|
1612
|
+
return $1;
|
|
1613
|
+
},
|
|
1437
1614
|
args: ["anObject"],
|
|
1438
1615
|
source: "span: anObject\x0a ^self span with: anObject",
|
|
1439
1616
|
messageSends: ["with:", "span"],
|
|
@@ -1448,8 +1625,10 @@ selector: "strong",
|
|
|
1448
1625
|
category: 'tags',
|
|
1449
1626
|
fn: function (){
|
|
1450
1627
|
var self=this;
|
|
1451
|
-
|
|
1452
|
-
|
|
1628
|
+
var $1;
|
|
1629
|
+
$1=smalltalk.send(self,"_tag_",["strong"]);
|
|
1630
|
+
return $1;
|
|
1631
|
+
},
|
|
1453
1632
|
args: [],
|
|
1454
1633
|
source: "strong\x0a\x09^self tag: 'strong'",
|
|
1455
1634
|
messageSends: ["tag:"],
|
|
@@ -1464,8 +1643,10 @@ selector: "strong:",
|
|
|
1464
1643
|
category: 'tags',
|
|
1465
1644
|
fn: function (anObject){
|
|
1466
1645
|
var self=this;
|
|
1467
|
-
|
|
1468
|
-
|
|
1646
|
+
var $1;
|
|
1647
|
+
$1=smalltalk.send(smalltalk.send(self,"_strong",[]),"_with_",[anObject]);
|
|
1648
|
+
return $1;
|
|
1649
|
+
},
|
|
1469
1650
|
args: ["anObject"],
|
|
1470
1651
|
source: "strong: anObject\x0a\x09^self strong with: anObject",
|
|
1471
1652
|
messageSends: ["with:", "strong"],
|
|
@@ -1480,8 +1661,10 @@ selector: "style",
|
|
|
1480
1661
|
category: 'tags',
|
|
1481
1662
|
fn: function (){
|
|
1482
1663
|
var self=this;
|
|
1483
|
-
|
|
1484
|
-
|
|
1664
|
+
var $1;
|
|
1665
|
+
$1=smalltalk.send(self["@root"],"_addBrush_",[smalltalk.send((smalltalk.StyleTag || StyleTag),"_canvas_",[self])]);
|
|
1666
|
+
return $1;
|
|
1667
|
+
},
|
|
1485
1668
|
args: [],
|
|
1486
1669
|
source: "style\x0a\x09^ root addBrush: (StyleTag canvas: self)",
|
|
1487
1670
|
messageSends: ["addBrush:", "canvas:"],
|
|
@@ -1496,11 +1679,16 @@ selector: "style:",
|
|
|
1496
1679
|
category: 'tags',
|
|
1497
1680
|
fn: function (aString){
|
|
1498
1681
|
var self=this;
|
|
1499
|
-
|
|
1500
|
-
|
|
1682
|
+
var $2,$3,$1;
|
|
1683
|
+
$2=smalltalk.send(self,"_style",[]);
|
|
1684
|
+
smalltalk.send($2,"_with_",[aString]);
|
|
1685
|
+
$3=smalltalk.send($2,"_yourself",[]);
|
|
1686
|
+
$1=$3;
|
|
1687
|
+
return $1;
|
|
1688
|
+
},
|
|
1501
1689
|
args: ["aString"],
|
|
1502
1690
|
source: "style: aString\x0a\x09^ self style with: aString; yourself",
|
|
1503
|
-
messageSends: ["with:", "
|
|
1691
|
+
messageSends: ["with:", "style", "yourself"],
|
|
1504
1692
|
referencedClasses: []
|
|
1505
1693
|
}),
|
|
1506
1694
|
smalltalk.HTMLCanvas);
|
|
@@ -1512,8 +1700,10 @@ selector: "sub",
|
|
|
1512
1700
|
category: 'tags',
|
|
1513
1701
|
fn: function (){
|
|
1514
1702
|
var self=this;
|
|
1515
|
-
|
|
1516
|
-
|
|
1703
|
+
var $1;
|
|
1704
|
+
$1=smalltalk.send(self,"_tag_",["sub"]);
|
|
1705
|
+
return $1;
|
|
1706
|
+
},
|
|
1517
1707
|
args: [],
|
|
1518
1708
|
source: "sub\x0a\x09^self tag: 'sub'",
|
|
1519
1709
|
messageSends: ["tag:"],
|
|
@@ -1528,8 +1718,10 @@ selector: "summary",
|
|
|
1528
1718
|
category: 'tags',
|
|
1529
1719
|
fn: function (){
|
|
1530
1720
|
var self=this;
|
|
1531
|
-
|
|
1532
|
-
|
|
1721
|
+
var $1;
|
|
1722
|
+
$1=smalltalk.send(self,"_tag_",["summary"]);
|
|
1723
|
+
return $1;
|
|
1724
|
+
},
|
|
1533
1725
|
args: [],
|
|
1534
1726
|
source: "summary\x0a\x09^self tag: 'summary'",
|
|
1535
1727
|
messageSends: ["tag:"],
|
|
@@ -1544,8 +1736,10 @@ selector: "sup",
|
|
|
1544
1736
|
category: 'tags',
|
|
1545
1737
|
fn: function (){
|
|
1546
1738
|
var self=this;
|
|
1547
|
-
|
|
1548
|
-
|
|
1739
|
+
var $1;
|
|
1740
|
+
$1=smalltalk.send(self,"_tag_",["sup"]);
|
|
1741
|
+
return $1;
|
|
1742
|
+
},
|
|
1549
1743
|
args: [],
|
|
1550
1744
|
source: "sup\x0a\x09^self tag: 'sup'",
|
|
1551
1745
|
messageSends: ["tag:"],
|
|
@@ -1560,8 +1754,10 @@ selector: "table",
|
|
|
1560
1754
|
category: 'tags',
|
|
1561
1755
|
fn: function (){
|
|
1562
1756
|
var self=this;
|
|
1563
|
-
|
|
1564
|
-
|
|
1757
|
+
var $1;
|
|
1758
|
+
$1=smalltalk.send(self,"_tag_",["table"]);
|
|
1759
|
+
return $1;
|
|
1760
|
+
},
|
|
1565
1761
|
args: [],
|
|
1566
1762
|
source: "table\x0a ^self tag: 'table'",
|
|
1567
1763
|
messageSends: ["tag:"],
|
|
@@ -1576,8 +1772,10 @@ selector: "tag:",
|
|
|
1576
1772
|
category: 'tags',
|
|
1577
1773
|
fn: function (aString){
|
|
1578
1774
|
var self=this;
|
|
1579
|
-
|
|
1580
|
-
|
|
1775
|
+
var $1;
|
|
1776
|
+
$1=smalltalk.send(self["@root"],"_addBrush_",[smalltalk.send(self,"_newTag_",[aString])]);
|
|
1777
|
+
return $1;
|
|
1778
|
+
},
|
|
1581
1779
|
args: ["aString"],
|
|
1582
1780
|
source: "tag: aString\x0a ^root addBrush: (self newTag: aString)",
|
|
1583
1781
|
messageSends: ["addBrush:", "newTag:"],
|
|
@@ -1592,8 +1790,10 @@ selector: "tbody",
|
|
|
1592
1790
|
category: 'tags',
|
|
1593
1791
|
fn: function (){
|
|
1594
1792
|
var self=this;
|
|
1595
|
-
|
|
1596
|
-
|
|
1793
|
+
var $1;
|
|
1794
|
+
$1=smalltalk.send(self,"_tag_",["tbody"]);
|
|
1795
|
+
return $1;
|
|
1796
|
+
},
|
|
1597
1797
|
args: [],
|
|
1598
1798
|
source: "tbody\x0a ^self tag: 'tbody'",
|
|
1599
1799
|
messageSends: ["tag:"],
|
|
@@ -1608,8 +1808,10 @@ selector: "td",
|
|
|
1608
1808
|
category: 'tags',
|
|
1609
1809
|
fn: function (){
|
|
1610
1810
|
var self=this;
|
|
1611
|
-
|
|
1612
|
-
|
|
1811
|
+
var $1;
|
|
1812
|
+
$1=smalltalk.send(self,"_tag_",["td"]);
|
|
1813
|
+
return $1;
|
|
1814
|
+
},
|
|
1613
1815
|
args: [],
|
|
1614
1816
|
source: "td \x0a ^self tag: 'td'",
|
|
1615
1817
|
messageSends: ["tag:"],
|
|
@@ -1624,8 +1826,10 @@ selector: "textarea",
|
|
|
1624
1826
|
category: 'tags',
|
|
1625
1827
|
fn: function (){
|
|
1626
1828
|
var self=this;
|
|
1627
|
-
|
|
1628
|
-
|
|
1829
|
+
var $1;
|
|
1830
|
+
$1=smalltalk.send(self,"_tag_",["textarea"]);
|
|
1831
|
+
return $1;
|
|
1832
|
+
},
|
|
1629
1833
|
args: [],
|
|
1630
1834
|
source: "textarea\x0a ^self tag: 'textarea'",
|
|
1631
1835
|
messageSends: ["tag:"],
|
|
@@ -1640,8 +1844,10 @@ selector: "tfoot",
|
|
|
1640
1844
|
category: 'tags',
|
|
1641
1845
|
fn: function (){
|
|
1642
1846
|
var self=this;
|
|
1643
|
-
|
|
1644
|
-
|
|
1847
|
+
var $1;
|
|
1848
|
+
$1=smalltalk.send(self,"_tag_",["tfoot"]);
|
|
1849
|
+
return $1;
|
|
1850
|
+
},
|
|
1645
1851
|
args: [],
|
|
1646
1852
|
source: "tfoot\x0a ^self tag: 'tfoot'",
|
|
1647
1853
|
messageSends: ["tag:"],
|
|
@@ -1656,8 +1862,10 @@ selector: "th",
|
|
|
1656
1862
|
category: 'tags',
|
|
1657
1863
|
fn: function (){
|
|
1658
1864
|
var self=this;
|
|
1659
|
-
|
|
1660
|
-
|
|
1865
|
+
var $1;
|
|
1866
|
+
$1=smalltalk.send(self,"_tag_",["th"]);
|
|
1867
|
+
return $1;
|
|
1868
|
+
},
|
|
1661
1869
|
args: [],
|
|
1662
1870
|
source: "th\x0a ^self tag: 'th'",
|
|
1663
1871
|
messageSends: ["tag:"],
|
|
@@ -1672,8 +1880,10 @@ selector: "thead",
|
|
|
1672
1880
|
category: 'tags',
|
|
1673
1881
|
fn: function (){
|
|
1674
1882
|
var self=this;
|
|
1675
|
-
|
|
1676
|
-
|
|
1883
|
+
var $1;
|
|
1884
|
+
$1=smalltalk.send(self,"_tag_",["thead"]);
|
|
1885
|
+
return $1;
|
|
1886
|
+
},
|
|
1677
1887
|
args: [],
|
|
1678
1888
|
source: "thead\x0a ^self tag: 'thead'",
|
|
1679
1889
|
messageSends: ["tag:"],
|
|
@@ -1688,8 +1898,10 @@ selector: "time",
|
|
|
1688
1898
|
category: 'tags',
|
|
1689
1899
|
fn: function (){
|
|
1690
1900
|
var self=this;
|
|
1691
|
-
|
|
1692
|
-
|
|
1901
|
+
var $1;
|
|
1902
|
+
$1=smalltalk.send(self,"_tag_",["time"]);
|
|
1903
|
+
return $1;
|
|
1904
|
+
},
|
|
1693
1905
|
args: [],
|
|
1694
1906
|
source: "time\x0a\x09^self tag: 'time'",
|
|
1695
1907
|
messageSends: ["tag:"],
|
|
@@ -1704,8 +1916,10 @@ selector: "title",
|
|
|
1704
1916
|
category: 'tags',
|
|
1705
1917
|
fn: function (){
|
|
1706
1918
|
var self=this;
|
|
1707
|
-
|
|
1708
|
-
|
|
1919
|
+
var $1;
|
|
1920
|
+
$1=smalltalk.send(self,"_tag_",["title"]);
|
|
1921
|
+
return $1;
|
|
1922
|
+
},
|
|
1709
1923
|
args: [],
|
|
1710
1924
|
source: "title\x0a\x09^self tag: 'title'",
|
|
1711
1925
|
messageSends: ["tag:"],
|
|
@@ -1720,8 +1934,10 @@ selector: "tr",
|
|
|
1720
1934
|
category: 'tags',
|
|
1721
1935
|
fn: function (){
|
|
1722
1936
|
var self=this;
|
|
1723
|
-
|
|
1724
|
-
|
|
1937
|
+
var $1;
|
|
1938
|
+
$1=smalltalk.send(self,"_tag_",["tr"]);
|
|
1939
|
+
return $1;
|
|
1940
|
+
},
|
|
1725
1941
|
args: [],
|
|
1726
1942
|
source: "tr\x0a ^self tag: 'tr'",
|
|
1727
1943
|
messageSends: ["tag:"],
|
|
@@ -1736,8 +1952,10 @@ selector: "ul",
|
|
|
1736
1952
|
category: 'tags',
|
|
1737
1953
|
fn: function (){
|
|
1738
1954
|
var self=this;
|
|
1739
|
-
|
|
1740
|
-
|
|
1955
|
+
var $1;
|
|
1956
|
+
$1=smalltalk.send(self,"_tag_",["ul"]);
|
|
1957
|
+
return $1;
|
|
1958
|
+
},
|
|
1741
1959
|
args: [],
|
|
1742
1960
|
source: "ul\x0a ^self tag: 'ul'",
|
|
1743
1961
|
messageSends: ["tag:"],
|
|
@@ -1752,8 +1970,10 @@ selector: "ul:",
|
|
|
1752
1970
|
category: 'tags',
|
|
1753
1971
|
fn: function (anObject){
|
|
1754
1972
|
var self=this;
|
|
1755
|
-
|
|
1756
|
-
|
|
1973
|
+
var $1;
|
|
1974
|
+
$1=smalltalk.send(smalltalk.send(self,"_ul",[]),"_with_",[anObject]);
|
|
1975
|
+
return $1;
|
|
1976
|
+
},
|
|
1757
1977
|
args: ["anObject"],
|
|
1758
1978
|
source: "ul: anObject\x0a ^self ul with: anObject",
|
|
1759
1979
|
messageSends: ["with:", "ul"],
|
|
@@ -1768,8 +1988,10 @@ selector: "video",
|
|
|
1768
1988
|
category: 'tags',
|
|
1769
1989
|
fn: function (){
|
|
1770
1990
|
var self=this;
|
|
1771
|
-
|
|
1772
|
-
|
|
1991
|
+
var $1;
|
|
1992
|
+
$1=smalltalk.send(self,"_tag_",["video"]);
|
|
1993
|
+
return $1;
|
|
1994
|
+
},
|
|
1773
1995
|
args: [],
|
|
1774
1996
|
source: "video\x0a ^self tag: 'video'",
|
|
1775
1997
|
messageSends: ["tag:"],
|
|
@@ -1784,8 +2006,10 @@ selector: "with:",
|
|
|
1784
2006
|
category: 'adding',
|
|
1785
2007
|
fn: function (anObject){
|
|
1786
2008
|
var self=this;
|
|
1787
|
-
|
|
1788
|
-
|
|
2009
|
+
var $1;
|
|
2010
|
+
$1=smalltalk.send(smalltalk.send(self,"_root",[]),"_with_",[anObject]);
|
|
2011
|
+
return $1;
|
|
2012
|
+
},
|
|
1789
2013
|
args: ["anObject"],
|
|
1790
2014
|
source: "with: anObject\x0a ^self root with: anObject",
|
|
1791
2015
|
messageSends: ["with:", "root"],
|
|
@@ -1801,8 +2025,10 @@ selector: "browserVersion",
|
|
|
1801
2025
|
category: 'instance creation',
|
|
1802
2026
|
fn: function (){
|
|
1803
2027
|
var self=this;
|
|
1804
|
-
|
|
1805
|
-
|
|
2028
|
+
var $1;
|
|
2029
|
+
$1=smalltalk.send(smalltalk.send(jQuery,"_at_",[smalltalk.symbolFor("browser")]),"_version",[]);
|
|
2030
|
+
return $1;
|
|
2031
|
+
},
|
|
1806
2032
|
args: [],
|
|
1807
2033
|
source: "browserVersion\x0a\x09^(jQuery at: #browser) version",
|
|
1808
2034
|
messageSends: ["version", "at:"],
|
|
@@ -1817,8 +2043,10 @@ selector: "isMSIE",
|
|
|
1817
2043
|
category: 'instance creation',
|
|
1818
2044
|
fn: function (){
|
|
1819
2045
|
var self=this;
|
|
1820
|
-
|
|
1821
|
-
|
|
2046
|
+
var $1;
|
|
2047
|
+
$1=smalltalk.send(smalltalk.send(smalltalk.send(jQuery,"_at_",[smalltalk.symbolFor("browser")]),"_at_",[smalltalk.symbolFor("msie")]),"_notNil",[]);
|
|
2048
|
+
return $1;
|
|
2049
|
+
},
|
|
1822
2050
|
args: [],
|
|
1823
2051
|
source: "isMSIE\x0a\x09^((jQuery at: #browser) at: #msie) notNil",
|
|
1824
2052
|
messageSends: ["notNil", "at:"],
|
|
@@ -1833,8 +2061,10 @@ selector: "isMozilla",
|
|
|
1833
2061
|
category: 'instance creation',
|
|
1834
2062
|
fn: function (){
|
|
1835
2063
|
var self=this;
|
|
1836
|
-
|
|
1837
|
-
|
|
2064
|
+
var $1;
|
|
2065
|
+
$1=smalltalk.send(smalltalk.send(smalltalk.send(jQuery,"_at_",[smalltalk.symbolFor("browser")]),"_at_",[smalltalk.symbolFor("mozilla")]),"_notNil",[]);
|
|
2066
|
+
return $1;
|
|
2067
|
+
},
|
|
1838
2068
|
args: [],
|
|
1839
2069
|
source: "isMozilla\x0a\x09^((jQuery at: #browser) at: #mozilla) notNil",
|
|
1840
2070
|
messageSends: ["notNil", "at:"],
|
|
@@ -1849,8 +2079,10 @@ selector: "isOpera",
|
|
|
1849
2079
|
category: 'instance creation',
|
|
1850
2080
|
fn: function (){
|
|
1851
2081
|
var self=this;
|
|
1852
|
-
|
|
1853
|
-
|
|
2082
|
+
var $1;
|
|
2083
|
+
$1=smalltalk.send(smalltalk.send(smalltalk.send(jQuery,"_at_",[smalltalk.symbolFor("browser")]),"_at_",[smalltalk.symbolFor("opera")]),"_notNil",[]);
|
|
2084
|
+
return $1;
|
|
2085
|
+
},
|
|
1854
2086
|
args: [],
|
|
1855
2087
|
source: "isOpera\x0a\x09^((jQuery at: #browser) at: #opera) notNil",
|
|
1856
2088
|
messageSends: ["notNil", "at:"],
|
|
@@ -1865,8 +2097,10 @@ selector: "isWebkit",
|
|
|
1865
2097
|
category: 'instance creation',
|
|
1866
2098
|
fn: function (){
|
|
1867
2099
|
var self=this;
|
|
1868
|
-
|
|
1869
|
-
|
|
2100
|
+
var $1;
|
|
2101
|
+
$1=smalltalk.send(smalltalk.send(smalltalk.send(jQuery,"_at_",[smalltalk.symbolFor("browser")]),"_at_",[smalltalk.symbolFor("webkit")]),"_notNil",[]);
|
|
2102
|
+
return $1;
|
|
2103
|
+
},
|
|
1870
2104
|
args: [],
|
|
1871
2105
|
source: "isWebkit\x0a\x09^((jQuery at: #browser) at: #webkit) notNil",
|
|
1872
2106
|
messageSends: ["notNil", "at:"],
|
|
@@ -1881,11 +2115,17 @@ selector: "onJQuery:",
|
|
|
1881
2115
|
category: 'instance creation',
|
|
1882
2116
|
fn: function (aJQuery){
|
|
1883
2117
|
var self=this;
|
|
1884
|
-
|
|
1885
|
-
|
|
2118
|
+
var $2,$3,$1;
|
|
2119
|
+
$2=smalltalk.send(self,"_basicNew",[]);
|
|
2120
|
+
smalltalk.send($2,"_initializeFromJQuery_",[aJQuery]);
|
|
2121
|
+
smalltalk.send($2,"_initialize",[]);
|
|
2122
|
+
$3=smalltalk.send($2,"_yourself",[]);
|
|
2123
|
+
$1=$3;
|
|
2124
|
+
return $1;
|
|
2125
|
+
},
|
|
1886
2126
|
args: ["aJQuery"],
|
|
1887
2127
|
source: "onJQuery: aJQuery\x0a\x09^self basicNew\x0a\x09\x09initializeFromJQuery: aJQuery;\x0a\x09\x09initialize;\x0a\x09\x09yourself",
|
|
1888
|
-
messageSends: ["initializeFromJQuery:", "
|
|
2128
|
+
messageSends: ["initializeFromJQuery:", "basicNew", "initialize", "yourself"],
|
|
1889
2129
|
referencedClasses: []
|
|
1890
2130
|
}),
|
|
1891
2131
|
smalltalk.HTMLCanvas.klass);
|
|
@@ -1899,8 +2139,8 @@ selector: "accesskey:",
|
|
|
1899
2139
|
category: 'attributes',
|
|
1900
2140
|
fn: function (aString){
|
|
1901
2141
|
var self=this;
|
|
1902
|
-
smalltalk.send(self,
|
|
1903
|
-
return self
|
|
2142
|
+
smalltalk.send(self,"_at_put_",["accesskey",aString]);
|
|
2143
|
+
return self},
|
|
1904
2144
|
args: ["aString"],
|
|
1905
2145
|
source: "accesskey: aString\x0a\x09self at: 'accesskey' put: aString",
|
|
1906
2146
|
messageSends: ["at:put:"],
|
|
@@ -1915,8 +2155,8 @@ selector: "action:",
|
|
|
1915
2155
|
category: 'attributes',
|
|
1916
2156
|
fn: function (aString){
|
|
1917
2157
|
var self=this;
|
|
1918
|
-
smalltalk.send(self,
|
|
1919
|
-
return self
|
|
2158
|
+
smalltalk.send(self,"_at_put_",["action",aString]);
|
|
2159
|
+
return self},
|
|
1920
2160
|
args: ["aString"],
|
|
1921
2161
|
source: "action: aString\x0a\x09self at: 'action' put: aString",
|
|
1922
2162
|
messageSends: ["at:put:"],
|
|
@@ -1931,9 +2171,9 @@ selector: "addBrush:",
|
|
|
1931
2171
|
category: 'adding',
|
|
1932
2172
|
fn: function (aTagBrush){
|
|
1933
2173
|
var self=this;
|
|
1934
|
-
smalltalk.send(self,
|
|
2174
|
+
smalltalk.send(self,"_appendChild_",[smalltalk.send(aTagBrush,"_element",[])]);
|
|
1935
2175
|
return aTagBrush;
|
|
1936
|
-
|
|
2176
|
+
},
|
|
1937
2177
|
args: ["aTagBrush"],
|
|
1938
2178
|
source: "addBrush: aTagBrush\x0a self appendChild: aTagBrush element.\x0a ^aTagBrush",
|
|
1939
2179
|
messageSends: ["appendChild:", "element"],
|
|
@@ -1948,8 +2188,8 @@ selector: "align:",
|
|
|
1948
2188
|
category: 'attributes',
|
|
1949
2189
|
fn: function (aString){
|
|
1950
2190
|
var self=this;
|
|
1951
|
-
smalltalk.send(self,
|
|
1952
|
-
return self
|
|
2191
|
+
smalltalk.send(self,"_at_put_",["align",aString]);
|
|
2192
|
+
return self},
|
|
1953
2193
|
args: ["aString"],
|
|
1954
2194
|
source: "align: aString\x0a\x09self at: 'align' put: aString",
|
|
1955
2195
|
messageSends: ["at:put:"],
|
|
@@ -1964,8 +2204,8 @@ selector: "alt:",
|
|
|
1964
2204
|
category: 'attributes',
|
|
1965
2205
|
fn: function (aString){
|
|
1966
2206
|
var self=this;
|
|
1967
|
-
smalltalk.send(self,
|
|
1968
|
-
return self
|
|
2207
|
+
smalltalk.send(self,"_at_put_",["alt",aString]);
|
|
2208
|
+
return self},
|
|
1969
2209
|
args: ["aString"],
|
|
1970
2210
|
source: "alt: aString\x0a\x09self at: 'alt' put: aString",
|
|
1971
2211
|
messageSends: ["at:put:"],
|
|
@@ -1980,8 +2220,8 @@ selector: "append:",
|
|
|
1980
2220
|
category: 'adding',
|
|
1981
2221
|
fn: function (anObject){
|
|
1982
2222
|
var self=this;
|
|
1983
|
-
smalltalk.send(anObject,
|
|
1984
|
-
return self
|
|
2223
|
+
smalltalk.send(anObject,"_appendToBrush_",[self]);
|
|
2224
|
+
return self},
|
|
1985
2225
|
args: ["anObject"],
|
|
1986
2226
|
source: "append: anObject\x0a anObject appendToBrush: self",
|
|
1987
2227
|
messageSends: ["appendToBrush:"],
|
|
@@ -1996,12 +2236,12 @@ selector: "appendBlock:",
|
|
|
1996
2236
|
category: 'adding',
|
|
1997
2237
|
fn: function (aBlock){
|
|
1998
2238
|
var self=this;
|
|
1999
|
-
var root
|
|
2000
|
-
|
|
2001
|
-
smalltalk.send(self[
|
|
2002
|
-
smalltalk.send(aBlock,
|
|
2003
|
-
smalltalk.send(self[
|
|
2004
|
-
return self
|
|
2239
|
+
var root;
|
|
2240
|
+
root=smalltalk.send(self["@canvas"],"_root",[]);
|
|
2241
|
+
smalltalk.send(self["@canvas"],"_root_",[self]);
|
|
2242
|
+
smalltalk.send(aBlock,"_value_",[self["@canvas"]]);
|
|
2243
|
+
smalltalk.send(self["@canvas"],"_root_",[root]);
|
|
2244
|
+
return self},
|
|
2005
2245
|
args: ["aBlock"],
|
|
2006
2246
|
source: "appendBlock: aBlock\x0a | root |\x0a root := canvas root.\x0a canvas root: self.\x0a aBlock value: canvas.\x0a canvas root: root",
|
|
2007
2247
|
messageSends: ["root", "root:", "value:"],
|
|
@@ -2022,7 +2262,8 @@ var element=self['@element'];
|
|
|
2022
2262
|
} else {
|
|
2023
2263
|
element.text = String(element.text) + anElement.innerHTML;
|
|
2024
2264
|
} ;
|
|
2025
|
-
|
|
2265
|
+
;
|
|
2266
|
+
return self},
|
|
2026
2267
|
args: ["anElement"],
|
|
2027
2268
|
source: "appendChild: anElement\x0a\x09\x22In IE7 and IE8 appendChild fails on several node types. So we need to check\x22 \x0a \x09<var element=self['@element'];\x0a \x09if (null == element.canHaveChildren || element.canHaveChildren) {\x0a\x09\x09element.appendChild(anElement);\x0a \x09} else {\x0a \x09\x09element.text = String(element.text) + anElement.innerHTML;\x0a \x09} >",
|
|
2028
2269
|
messageSends: [],
|
|
@@ -2037,8 +2278,8 @@ selector: "appendString:",
|
|
|
2037
2278
|
category: 'adding',
|
|
2038
2279
|
fn: function (aString){
|
|
2039
2280
|
var self=this;
|
|
2040
|
-
smalltalk.send(self,
|
|
2041
|
-
return self
|
|
2281
|
+
smalltalk.send(self,"_appendChild_",[smalltalk.send(self,"_createTextNodeFor_",[aString])]);
|
|
2282
|
+
return self},
|
|
2042
2283
|
args: ["aString"],
|
|
2043
2284
|
source: "appendString: aString\x0a self appendChild: (self createTextNodeFor: aString)",
|
|
2044
2285
|
messageSends: ["appendChild:", "createTextNodeFor:"],
|
|
@@ -2053,8 +2294,8 @@ selector: "appendToBrush:",
|
|
|
2053
2294
|
category: 'adding',
|
|
2054
2295
|
fn: function (aTagBrush){
|
|
2055
2296
|
var self=this;
|
|
2056
|
-
smalltalk.send(aTagBrush,
|
|
2057
|
-
return self
|
|
2297
|
+
smalltalk.send(aTagBrush,"_addBrush_",[self]);
|
|
2298
|
+
return self},
|
|
2058
2299
|
args: ["aTagBrush"],
|
|
2059
2300
|
source: "appendToBrush: aTagBrush\x0a aTagBrush addBrush: self",
|
|
2060
2301
|
messageSends: ["addBrush:"],
|
|
@@ -2069,8 +2310,10 @@ selector: "asJQuery",
|
|
|
2069
2310
|
category: 'converting',
|
|
2070
2311
|
fn: function (){
|
|
2071
2312
|
var self=this;
|
|
2072
|
-
|
|
2073
|
-
|
|
2313
|
+
var $1;
|
|
2314
|
+
$1=smalltalk.send(window,"_jQuery_",[smalltalk.send(self,"_element",[])]);
|
|
2315
|
+
return $1;
|
|
2316
|
+
},
|
|
2074
2317
|
args: [],
|
|
2075
2318
|
source: "asJQuery\x0a ^window jQuery: self element",
|
|
2076
2319
|
messageSends: ["jQuery:", "element"],
|
|
@@ -2083,10 +2326,11 @@ smalltalk.addMethod(
|
|
|
2083
2326
|
smalltalk.method({
|
|
2084
2327
|
selector: "at:put:",
|
|
2085
2328
|
category: 'attributes',
|
|
2086
|
-
fn: function (aString,
|
|
2329
|
+
fn: function (aString,aValue){
|
|
2087
2330
|
var self=this;
|
|
2088
2331
|
self['@element'].setAttribute(aString, aValue);
|
|
2089
|
-
|
|
2332
|
+
;
|
|
2333
|
+
return self},
|
|
2090
2334
|
args: ["aString", "aValue"],
|
|
2091
2335
|
source: "at: aString put: aValue\x0a <self['@element'].setAttribute(aString, aValue)>",
|
|
2092
2336
|
messageSends: [],
|
|
@@ -2102,7 +2346,8 @@ category: 'attributes',
|
|
|
2102
2346
|
fn: function (aString){
|
|
2103
2347
|
var self=this;
|
|
2104
2348
|
self['@element'].className = aString;
|
|
2105
|
-
|
|
2349
|
+
;
|
|
2350
|
+
return self},
|
|
2106
2351
|
args: ["aString"],
|
|
2107
2352
|
source: "class: aString\x0a <self['@element'].className = aString>",
|
|
2108
2353
|
messageSends: [],
|
|
@@ -2117,8 +2362,8 @@ selector: "cols:",
|
|
|
2117
2362
|
category: 'attributes',
|
|
2118
2363
|
fn: function (aString){
|
|
2119
2364
|
var self=this;
|
|
2120
|
-
smalltalk.send(self,
|
|
2121
|
-
return self
|
|
2365
|
+
smalltalk.send(self,"_at_put_",["cols",aString]);
|
|
2366
|
+
return self},
|
|
2122
2367
|
args: ["aString"],
|
|
2123
2368
|
source: "cols: aString\x0a\x09self at: 'cols' put: aString",
|
|
2124
2369
|
messageSends: ["at:put:"],
|
|
@@ -2133,8 +2378,8 @@ selector: "contenteditable:",
|
|
|
2133
2378
|
category: 'attributes',
|
|
2134
2379
|
fn: function (aString){
|
|
2135
2380
|
var self=this;
|
|
2136
|
-
smalltalk.send(self,
|
|
2137
|
-
return self
|
|
2381
|
+
smalltalk.send(self,"_at_put_",["contenteditable",aString]);
|
|
2382
|
+
return self},
|
|
2138
2383
|
args: ["aString"],
|
|
2139
2384
|
source: "contenteditable: aString\x0a\x09self at: 'contenteditable' put: aString",
|
|
2140
2385
|
messageSends: ["at:put:"],
|
|
@@ -2149,8 +2394,10 @@ selector: "contents:",
|
|
|
2149
2394
|
category: 'adding',
|
|
2150
2395
|
fn: function (anObject){
|
|
2151
2396
|
var self=this;
|
|
2152
|
-
|
|
2153
|
-
|
|
2397
|
+
var $1;
|
|
2398
|
+
smalltalk.send(self,"_empty",[]);
|
|
2399
|
+
$1=smalltalk.send(self,"_append_",[anObject]);
|
|
2400
|
+
return self},
|
|
2154
2401
|
args: ["anObject"],
|
|
2155
2402
|
source: "contents: anObject\x0a self \x0a\x09empty;\x0a \x09append: anObject",
|
|
2156
2403
|
messageSends: ["empty", "append:"],
|
|
@@ -2165,8 +2412,8 @@ selector: "contextmenu:",
|
|
|
2165
2412
|
category: 'attributes',
|
|
2166
2413
|
fn: function (aString){
|
|
2167
2414
|
var self=this;
|
|
2168
|
-
smalltalk.send(self,
|
|
2169
|
-
return self
|
|
2415
|
+
smalltalk.send(self,"_at_put_",["contextmenu",aString]);
|
|
2416
|
+
return self},
|
|
2170
2417
|
args: ["aString"],
|
|
2171
2418
|
source: "contextmenu: aString\x0a\x09self at: 'contextmenu' put: aString",
|
|
2172
2419
|
messageSends: ["at:put:"],
|
|
@@ -2182,7 +2429,8 @@ category: 'private',
|
|
|
2182
2429
|
fn: function (aString){
|
|
2183
2430
|
var self=this;
|
|
2184
2431
|
return document.createElement(String(aString));
|
|
2185
|
-
|
|
2432
|
+
;
|
|
2433
|
+
return self},
|
|
2186
2434
|
args: ["aString"],
|
|
2187
2435
|
source: "createElementFor: aString\x0a\x09<return document.createElement(String(aString))>",
|
|
2188
2436
|
messageSends: [],
|
|
@@ -2198,7 +2446,8 @@ category: 'private',
|
|
|
2198
2446
|
fn: function (aString){
|
|
2199
2447
|
var self=this;
|
|
2200
2448
|
return document.createTextNode(String(aString));
|
|
2201
|
-
|
|
2449
|
+
;
|
|
2450
|
+
return self},
|
|
2202
2451
|
args: ["aString"],
|
|
2203
2452
|
source: "createTextNodeFor: aString\x0a\x09<return document.createTextNode(String(aString))>",
|
|
2204
2453
|
messageSends: [],
|
|
@@ -2213,8 +2462,8 @@ selector: "draggable:",
|
|
|
2213
2462
|
category: 'attributes',
|
|
2214
2463
|
fn: function (aString){
|
|
2215
2464
|
var self=this;
|
|
2216
|
-
smalltalk.send(self,
|
|
2217
|
-
return self
|
|
2465
|
+
smalltalk.send(self,"_at_put_",["draggable",aString]);
|
|
2466
|
+
return self},
|
|
2218
2467
|
args: ["aString"],
|
|
2219
2468
|
source: "draggable: aString\x0a\x09self at: 'draggable' put: aString",
|
|
2220
2469
|
messageSends: ["at:put:"],
|
|
@@ -2229,8 +2478,8 @@ selector: "element",
|
|
|
2229
2478
|
category: 'accessing',
|
|
2230
2479
|
fn: function (){
|
|
2231
2480
|
var self=this;
|
|
2232
|
-
return self[
|
|
2233
|
-
|
|
2481
|
+
return self["@element"];
|
|
2482
|
+
},
|
|
2234
2483
|
args: [],
|
|
2235
2484
|
source: "element\x0a ^element",
|
|
2236
2485
|
messageSends: [],
|
|
@@ -2245,8 +2494,8 @@ selector: "empty",
|
|
|
2245
2494
|
category: 'adding',
|
|
2246
2495
|
fn: function (){
|
|
2247
2496
|
var self=this;
|
|
2248
|
-
smalltalk.send(smalltalk.send(self,
|
|
2249
|
-
return self
|
|
2497
|
+
smalltalk.send(smalltalk.send(self,"_asJQuery",[]),"_empty",[]);
|
|
2498
|
+
return self},
|
|
2250
2499
|
args: [],
|
|
2251
2500
|
source: "empty\x0a\x09self asJQuery empty",
|
|
2252
2501
|
messageSends: ["empty", "asJQuery"],
|
|
@@ -2261,8 +2510,8 @@ selector: "for:",
|
|
|
2261
2510
|
category: 'attributes',
|
|
2262
2511
|
fn: function (aString){
|
|
2263
2512
|
var self=this;
|
|
2264
|
-
smalltalk.send(self,
|
|
2265
|
-
return self
|
|
2513
|
+
smalltalk.send(self,"_at_put_",["for",aString]);
|
|
2514
|
+
return self},
|
|
2266
2515
|
args: ["aString"],
|
|
2267
2516
|
source: "for: aString\x0a\x09self at: 'for' put: aString",
|
|
2268
2517
|
messageSends: ["at:put:"],
|
|
@@ -2277,8 +2526,8 @@ selector: "height:",
|
|
|
2277
2526
|
category: 'attributes',
|
|
2278
2527
|
fn: function (aString){
|
|
2279
2528
|
var self=this;
|
|
2280
|
-
smalltalk.send(self,
|
|
2281
|
-
return self
|
|
2529
|
+
smalltalk.send(self,"_at_put_",["height",aString]);
|
|
2530
|
+
return self},
|
|
2282
2531
|
args: ["aString"],
|
|
2283
2532
|
source: "height: aString\x0a self at: 'height' put: aString",
|
|
2284
2533
|
messageSends: ["at:put:"],
|
|
@@ -2293,8 +2542,8 @@ selector: "hidden",
|
|
|
2293
2542
|
category: 'attributes',
|
|
2294
2543
|
fn: function (){
|
|
2295
2544
|
var self=this;
|
|
2296
|
-
smalltalk.send(self,
|
|
2297
|
-
return self
|
|
2545
|
+
smalltalk.send(self,"_at_put_",["hidden","hidden"]);
|
|
2546
|
+
return self},
|
|
2298
2547
|
args: [],
|
|
2299
2548
|
source: "hidden\x0a\x09self at: 'hidden' put: 'hidden'",
|
|
2300
2549
|
messageSends: ["at:put:"],
|
|
@@ -2309,8 +2558,8 @@ selector: "href:",
|
|
|
2309
2558
|
category: 'attributes',
|
|
2310
2559
|
fn: function (aString){
|
|
2311
2560
|
var self=this;
|
|
2312
|
-
smalltalk.send(self,
|
|
2313
|
-
return self
|
|
2561
|
+
smalltalk.send(self,"_at_put_",["href",aString]);
|
|
2562
|
+
return self},
|
|
2314
2563
|
args: ["aString"],
|
|
2315
2564
|
source: "href: aString\x0a self at: 'href' put: aString",
|
|
2316
2565
|
messageSends: ["at:put:"],
|
|
@@ -2325,8 +2574,8 @@ selector: "id:",
|
|
|
2325
2574
|
category: 'attributes',
|
|
2326
2575
|
fn: function (aString){
|
|
2327
2576
|
var self=this;
|
|
2328
|
-
smalltalk.send(self,
|
|
2329
|
-
return self
|
|
2577
|
+
smalltalk.send(self,"_at_put_",["id",aString]);
|
|
2578
|
+
return self},
|
|
2330
2579
|
args: ["aString"],
|
|
2331
2580
|
source: "id: aString\x0a self at: 'id' put: aString",
|
|
2332
2581
|
messageSends: ["at:put:"],
|
|
@@ -2339,11 +2588,11 @@ smalltalk.addMethod(
|
|
|
2339
2588
|
smalltalk.method({
|
|
2340
2589
|
selector: "initializeFromJQuery:canvas:",
|
|
2341
2590
|
category: 'initialization',
|
|
2342
|
-
fn: function (aJQuery,
|
|
2591
|
+
fn: function (aJQuery,aCanvas){
|
|
2343
2592
|
var self=this;
|
|
2344
|
-
|
|
2345
|
-
|
|
2346
|
-
return self
|
|
2593
|
+
self["@element"]=smalltalk.send(aJQuery,"_get_",[(0)]);
|
|
2594
|
+
self["@canvas"]=aCanvas;
|
|
2595
|
+
return self},
|
|
2347
2596
|
args: ["aJQuery", "aCanvas"],
|
|
2348
2597
|
source: "initializeFromJQuery: aJQuery canvas: aCanvas\x0a element := aJQuery get: 0.\x0a canvas := aCanvas",
|
|
2349
2598
|
messageSends: ["get:"],
|
|
@@ -2356,11 +2605,11 @@ smalltalk.addMethod(
|
|
|
2356
2605
|
smalltalk.method({
|
|
2357
2606
|
selector: "initializeFromString:canvas:",
|
|
2358
2607
|
category: 'initialization',
|
|
2359
|
-
fn: function (aString,
|
|
2608
|
+
fn: function (aString,aCanvas){
|
|
2360
2609
|
var self=this;
|
|
2361
|
-
|
|
2362
|
-
|
|
2363
|
-
return self
|
|
2610
|
+
self["@element"]=smalltalk.send(self,"_createElementFor_",[aString]);
|
|
2611
|
+
self["@canvas"]=aCanvas;
|
|
2612
|
+
return self},
|
|
2364
2613
|
args: ["aString", "aCanvas"],
|
|
2365
2614
|
source: "initializeFromString: aString canvas: aCanvas\x0a element := self createElementFor: aString.\x0a canvas := aCanvas",
|
|
2366
2615
|
messageSends: ["createElementFor:"],
|
|
@@ -2375,8 +2624,8 @@ selector: "media:",
|
|
|
2375
2624
|
category: 'attributes',
|
|
2376
2625
|
fn: function (aString){
|
|
2377
2626
|
var self=this;
|
|
2378
|
-
smalltalk.send(self,
|
|
2379
|
-
return self
|
|
2627
|
+
smalltalk.send(self,"_at_put_",["media",aString]);
|
|
2628
|
+
return self},
|
|
2380
2629
|
args: ["aString"],
|
|
2381
2630
|
source: "media: aString\x0a self at: 'media' put: aString",
|
|
2382
2631
|
messageSends: ["at:put:"],
|
|
@@ -2391,8 +2640,8 @@ selector: "method:",
|
|
|
2391
2640
|
category: 'attributes',
|
|
2392
2641
|
fn: function (aString){
|
|
2393
2642
|
var self=this;
|
|
2394
|
-
smalltalk.send(self,
|
|
2395
|
-
return self
|
|
2643
|
+
smalltalk.send(self,"_at_put_",["method",aString]);
|
|
2644
|
+
return self},
|
|
2396
2645
|
args: ["aString"],
|
|
2397
2646
|
source: "method: aString\x0a\x09self at: 'method' put: aString",
|
|
2398
2647
|
messageSends: ["at:put:"],
|
|
@@ -2407,8 +2656,8 @@ selector: "name:",
|
|
|
2407
2656
|
category: 'attributes',
|
|
2408
2657
|
fn: function (aString){
|
|
2409
2658
|
var self=this;
|
|
2410
|
-
smalltalk.send(self,
|
|
2411
|
-
return self
|
|
2659
|
+
smalltalk.send(self,"_at_put_",["name",aString]);
|
|
2660
|
+
return self},
|
|
2412
2661
|
args: ["aString"],
|
|
2413
2662
|
source: "name: aString\x0a\x09self at: 'name' put: aString",
|
|
2414
2663
|
messageSends: ["at:put:"],
|
|
@@ -2423,8 +2672,8 @@ selector: "onBlur:",
|
|
|
2423
2672
|
category: 'events',
|
|
2424
2673
|
fn: function (aBlock){
|
|
2425
2674
|
var self=this;
|
|
2426
|
-
smalltalk.send(smalltalk.send(self,
|
|
2427
|
-
return self
|
|
2675
|
+
smalltalk.send(smalltalk.send(self,"_asJQuery",[]),"_bind_do_",["blur",aBlock]);
|
|
2676
|
+
return self},
|
|
2428
2677
|
args: ["aBlock"],
|
|
2429
2678
|
source: "onBlur: aBlock\x0a self asJQuery bind: 'blur' do: aBlock",
|
|
2430
2679
|
messageSends: ["bind:do:", "asJQuery"],
|
|
@@ -2439,8 +2688,8 @@ selector: "onChange:",
|
|
|
2439
2688
|
category: 'events',
|
|
2440
2689
|
fn: function (aBlock){
|
|
2441
2690
|
var self=this;
|
|
2442
|
-
smalltalk.send(smalltalk.send(self,
|
|
2443
|
-
return self
|
|
2691
|
+
smalltalk.send(smalltalk.send(self,"_asJQuery",[]),"_bind_do_",["change",aBlock]);
|
|
2692
|
+
return self},
|
|
2444
2693
|
args: ["aBlock"],
|
|
2445
2694
|
source: "onChange: aBlock\x0a self asJQuery bind: 'change' do: aBlock",
|
|
2446
2695
|
messageSends: ["bind:do:", "asJQuery"],
|
|
@@ -2455,8 +2704,8 @@ selector: "onClick:",
|
|
|
2455
2704
|
category: 'events',
|
|
2456
2705
|
fn: function (aBlock){
|
|
2457
2706
|
var self=this;
|
|
2458
|
-
smalltalk.send(smalltalk.send(self,
|
|
2459
|
-
return self
|
|
2707
|
+
smalltalk.send(smalltalk.send(self,"_asJQuery",[]),"_bind_do_",["click",aBlock]);
|
|
2708
|
+
return self},
|
|
2460
2709
|
args: ["aBlock"],
|
|
2461
2710
|
source: "onClick: aBlock\x0a self asJQuery bind: 'click' do: aBlock",
|
|
2462
2711
|
messageSends: ["bind:do:", "asJQuery"],
|
|
@@ -2471,8 +2720,8 @@ selector: "onDblClick:",
|
|
|
2471
2720
|
category: 'events',
|
|
2472
2721
|
fn: function (aBlock){
|
|
2473
2722
|
var self=this;
|
|
2474
|
-
smalltalk.send(smalltalk.send(self,
|
|
2475
|
-
return self
|
|
2723
|
+
smalltalk.send(smalltalk.send(self,"_asJQuery",[]),"_bind_do_",["dblclick",aBlock]);
|
|
2724
|
+
return self},
|
|
2476
2725
|
args: ["aBlock"],
|
|
2477
2726
|
source: "onDblClick: aBlock\x0a\x09self asJQuery bind: 'dblclick' do: aBlock",
|
|
2478
2727
|
messageSends: ["bind:do:", "asJQuery"],
|
|
@@ -2487,8 +2736,8 @@ selector: "onFocus:",
|
|
|
2487
2736
|
category: 'events',
|
|
2488
2737
|
fn: function (aBlock){
|
|
2489
2738
|
var self=this;
|
|
2490
|
-
smalltalk.send(smalltalk.send(self,
|
|
2491
|
-
return self
|
|
2739
|
+
smalltalk.send(smalltalk.send(self,"_asJQuery",[]),"_bind_do_",["focus",aBlock]);
|
|
2740
|
+
return self},
|
|
2492
2741
|
args: ["aBlock"],
|
|
2493
2742
|
source: "onFocus: aBlock\x0a self asJQuery bind: 'focus' do: aBlock",
|
|
2494
2743
|
messageSends: ["bind:do:", "asJQuery"],
|
|
@@ -2503,8 +2752,8 @@ selector: "onFocusIn:",
|
|
|
2503
2752
|
category: 'events',
|
|
2504
2753
|
fn: function (aBlock){
|
|
2505
2754
|
var self=this;
|
|
2506
|
-
smalltalk.send(smalltalk.send(self,
|
|
2507
|
-
return self
|
|
2755
|
+
smalltalk.send(smalltalk.send(self,"_asJQuery",[]),"_bind_do_",["focusin",aBlock]);
|
|
2756
|
+
return self},
|
|
2508
2757
|
args: ["aBlock"],
|
|
2509
2758
|
source: "onFocusIn: aBlock\x0a\x09self asJQuery bind: 'focusin' do: aBlock",
|
|
2510
2759
|
messageSends: ["bind:do:", "asJQuery"],
|
|
@@ -2519,8 +2768,8 @@ selector: "onFocusOut:",
|
|
|
2519
2768
|
category: 'events',
|
|
2520
2769
|
fn: function (aBlock){
|
|
2521
2770
|
var self=this;
|
|
2522
|
-
smalltalk.send(smalltalk.send(self,
|
|
2523
|
-
return self
|
|
2771
|
+
smalltalk.send(smalltalk.send(self,"_asJQuery",[]),"_bind_do_",["focusout",aBlock]);
|
|
2772
|
+
return self},
|
|
2524
2773
|
args: ["aBlock"],
|
|
2525
2774
|
source: "onFocusOut: aBlock\x0a\x09self asJQuery bind: 'focusout' do: aBlock",
|
|
2526
2775
|
messageSends: ["bind:do:", "asJQuery"],
|
|
@@ -2535,8 +2784,8 @@ selector: "onHover:",
|
|
|
2535
2784
|
category: 'events',
|
|
2536
2785
|
fn: function (aBlock){
|
|
2537
2786
|
var self=this;
|
|
2538
|
-
smalltalk.send(smalltalk.send(self,
|
|
2539
|
-
return self
|
|
2787
|
+
smalltalk.send(smalltalk.send(self,"_asJQuery",[]),"_bind_do_",["hover",aBlock]);
|
|
2788
|
+
return self},
|
|
2540
2789
|
args: ["aBlock"],
|
|
2541
2790
|
source: "onHover: aBlock\x0a\x09self asJQuery bind: 'hover' do: aBlock",
|
|
2542
2791
|
messageSends: ["bind:do:", "asJQuery"],
|
|
@@ -2551,8 +2800,8 @@ selector: "onKeyDown:",
|
|
|
2551
2800
|
category: 'events',
|
|
2552
2801
|
fn: function (aBlock){
|
|
2553
2802
|
var self=this;
|
|
2554
|
-
smalltalk.send(smalltalk.send(self,
|
|
2555
|
-
return self
|
|
2803
|
+
smalltalk.send(smalltalk.send(self,"_asJQuery",[]),"_bind_do_",["keydown",aBlock]);
|
|
2804
|
+
return self},
|
|
2556
2805
|
args: ["aBlock"],
|
|
2557
2806
|
source: "onKeyDown: aBlock\x0a self asJQuery bind: 'keydown' do: aBlock",
|
|
2558
2807
|
messageSends: ["bind:do:", "asJQuery"],
|
|
@@ -2567,8 +2816,8 @@ selector: "onKeyPress:",
|
|
|
2567
2816
|
category: 'events',
|
|
2568
2817
|
fn: function (aBlock){
|
|
2569
2818
|
var self=this;
|
|
2570
|
-
smalltalk.send(smalltalk.send(self,
|
|
2571
|
-
return self
|
|
2819
|
+
smalltalk.send(smalltalk.send(self,"_asJQuery",[]),"_bind_do_",["keypress",aBlock]);
|
|
2820
|
+
return self},
|
|
2572
2821
|
args: ["aBlock"],
|
|
2573
2822
|
source: "onKeyPress: aBlock\x0a self asJQuery bind: 'keypress' do: aBlock",
|
|
2574
2823
|
messageSends: ["bind:do:", "asJQuery"],
|
|
@@ -2583,8 +2832,8 @@ selector: "onKeyUp:",
|
|
|
2583
2832
|
category: 'events',
|
|
2584
2833
|
fn: function (aBlock){
|
|
2585
2834
|
var self=this;
|
|
2586
|
-
smalltalk.send(smalltalk.send(self,
|
|
2587
|
-
return self
|
|
2835
|
+
smalltalk.send(smalltalk.send(self,"_asJQuery",[]),"_bind_do_",["keyup",aBlock]);
|
|
2836
|
+
return self},
|
|
2588
2837
|
args: ["aBlock"],
|
|
2589
2838
|
source: "onKeyUp: aBlock\x0a self asJQuery bind: 'keyup' do: aBlock",
|
|
2590
2839
|
messageSends: ["bind:do:", "asJQuery"],
|
|
@@ -2599,8 +2848,8 @@ selector: "onMouseDown:",
|
|
|
2599
2848
|
category: 'events',
|
|
2600
2849
|
fn: function (aBlock){
|
|
2601
2850
|
var self=this;
|
|
2602
|
-
smalltalk.send(smalltalk.send(self,
|
|
2603
|
-
return self
|
|
2851
|
+
smalltalk.send(smalltalk.send(self,"_asJQuery",[]),"_bind_do_",["mousedown",aBlock]);
|
|
2852
|
+
return self},
|
|
2604
2853
|
args: ["aBlock"],
|
|
2605
2854
|
source: "onMouseDown: aBlock\x0a\x09self asJQuery bind: 'mousedown' do: aBlock",
|
|
2606
2855
|
messageSends: ["bind:do:", "asJQuery"],
|
|
@@ -2615,8 +2864,8 @@ selector: "onMouseEnter:",
|
|
|
2615
2864
|
category: 'events',
|
|
2616
2865
|
fn: function (aBlock){
|
|
2617
2866
|
var self=this;
|
|
2618
|
-
smalltalk.send(smalltalk.send(self,
|
|
2619
|
-
return self
|
|
2867
|
+
smalltalk.send(smalltalk.send(self,"_asJQuery",[]),"_bind_do_",["mouseenter",aBlock]);
|
|
2868
|
+
return self},
|
|
2620
2869
|
args: ["aBlock"],
|
|
2621
2870
|
source: "onMouseEnter: aBlock\x0a\x09self asJQuery bind: 'mouseenter' do: aBlock",
|
|
2622
2871
|
messageSends: ["bind:do:", "asJQuery"],
|
|
@@ -2631,8 +2880,8 @@ selector: "onMouseLeave:",
|
|
|
2631
2880
|
category: 'events',
|
|
2632
2881
|
fn: function (aBlock){
|
|
2633
2882
|
var self=this;
|
|
2634
|
-
smalltalk.send(smalltalk.send(self,
|
|
2635
|
-
return self
|
|
2883
|
+
smalltalk.send(smalltalk.send(self,"_asJQuery",[]),"_bind_do_",["mouseleave",aBlock]);
|
|
2884
|
+
return self},
|
|
2636
2885
|
args: ["aBlock"],
|
|
2637
2886
|
source: "onMouseLeave: aBlock\x0a\x09self asJQuery bind: 'mouseleave' do: aBlock",
|
|
2638
2887
|
messageSends: ["bind:do:", "asJQuery"],
|
|
@@ -2647,8 +2896,8 @@ selector: "onMouseMove:",
|
|
|
2647
2896
|
category: 'events',
|
|
2648
2897
|
fn: function (aBlock){
|
|
2649
2898
|
var self=this;
|
|
2650
|
-
smalltalk.send(smalltalk.send(self,
|
|
2651
|
-
return self
|
|
2899
|
+
smalltalk.send(smalltalk.send(self,"_asJQuery",[]),"_bind_do_",["mousemove",aBlock]);
|
|
2900
|
+
return self},
|
|
2652
2901
|
args: ["aBlock"],
|
|
2653
2902
|
source: "onMouseMove: aBlock\x0a\x09self asJQuery bind: 'mousemove' do: aBlock",
|
|
2654
2903
|
messageSends: ["bind:do:", "asJQuery"],
|
|
@@ -2663,8 +2912,8 @@ selector: "onMouseOut:",
|
|
|
2663
2912
|
category: 'events',
|
|
2664
2913
|
fn: function (aBlock){
|
|
2665
2914
|
var self=this;
|
|
2666
|
-
smalltalk.send(smalltalk.send(self,
|
|
2667
|
-
return self
|
|
2915
|
+
smalltalk.send(smalltalk.send(self,"_asJQuery",[]),"_bind_do_",["mouseout",aBlock]);
|
|
2916
|
+
return self},
|
|
2668
2917
|
args: ["aBlock"],
|
|
2669
2918
|
source: "onMouseOut: aBlock\x0a\x09self asJQuery bind: 'mouseout' do: aBlock",
|
|
2670
2919
|
messageSends: ["bind:do:", "asJQuery"],
|
|
@@ -2679,8 +2928,8 @@ selector: "onMouseOver:",
|
|
|
2679
2928
|
category: 'events',
|
|
2680
2929
|
fn: function (aBlock){
|
|
2681
2930
|
var self=this;
|
|
2682
|
-
smalltalk.send(smalltalk.send(self,
|
|
2683
|
-
return self
|
|
2931
|
+
smalltalk.send(smalltalk.send(self,"_asJQuery",[]),"_bind_do_",["mouseover",aBlock]);
|
|
2932
|
+
return self},
|
|
2684
2933
|
args: ["aBlock"],
|
|
2685
2934
|
source: "onMouseOver: aBlock\x0a\x09self asJQuery bind: 'mouseover' do: aBlock",
|
|
2686
2935
|
messageSends: ["bind:do:", "asJQuery"],
|
|
@@ -2695,8 +2944,8 @@ selector: "onMouseUp:",
|
|
|
2695
2944
|
category: 'events',
|
|
2696
2945
|
fn: function (aBlock){
|
|
2697
2946
|
var self=this;
|
|
2698
|
-
smalltalk.send(smalltalk.send(self,
|
|
2699
|
-
return self
|
|
2947
|
+
smalltalk.send(smalltalk.send(self,"_asJQuery",[]),"_bind_do_",["mouseup",aBlock]);
|
|
2948
|
+
return self},
|
|
2700
2949
|
args: ["aBlock"],
|
|
2701
2950
|
source: "onMouseUp: aBlock\x0a\x09self asJQuery bind: 'mouseup' do: aBlock",
|
|
2702
2951
|
messageSends: ["bind:do:", "asJQuery"],
|
|
@@ -2711,8 +2960,8 @@ selector: "onSelect:",
|
|
|
2711
2960
|
category: 'events',
|
|
2712
2961
|
fn: function (aBlock){
|
|
2713
2962
|
var self=this;
|
|
2714
|
-
smalltalk.send(smalltalk.send(self,
|
|
2715
|
-
return self
|
|
2963
|
+
smalltalk.send(smalltalk.send(self,"_asJQuery",[]),"_bind_do_",["select",aBlock]);
|
|
2964
|
+
return self},
|
|
2716
2965
|
args: ["aBlock"],
|
|
2717
2966
|
source: "onSelect: aBlock\x0a\x09self asJQuery bind: 'select' do: aBlock",
|
|
2718
2967
|
messageSends: ["bind:do:", "asJQuery"],
|
|
@@ -2727,8 +2976,8 @@ selector: "onSubmit:",
|
|
|
2727
2976
|
category: 'events',
|
|
2728
2977
|
fn: function (aBlock){
|
|
2729
2978
|
var self=this;
|
|
2730
|
-
smalltalk.send(smalltalk.send(self,
|
|
2731
|
-
return self
|
|
2979
|
+
smalltalk.send(smalltalk.send(self,"_asJQuery",[]),"_bind_do_",["submit",aBlock]);
|
|
2980
|
+
return self},
|
|
2732
2981
|
args: ["aBlock"],
|
|
2733
2982
|
source: "onSubmit: aBlock\x0a\x09self asJQuery bind: 'submit' do: aBlock",
|
|
2734
2983
|
messageSends: ["bind:do:", "asJQuery"],
|
|
@@ -2743,8 +2992,8 @@ selector: "onUnload:",
|
|
|
2743
2992
|
category: 'events',
|
|
2744
2993
|
fn: function (aBlock){
|
|
2745
2994
|
var self=this;
|
|
2746
|
-
smalltalk.send(smalltalk.send(self,
|
|
2747
|
-
return self
|
|
2995
|
+
smalltalk.send(smalltalk.send(self,"_asJQuery",[]),"_bind_do_",["unload",aBlock]);
|
|
2996
|
+
return self},
|
|
2748
2997
|
args: ["aBlock"],
|
|
2749
2998
|
source: "onUnload: aBlock\x0a\x09self asJQuery bind: 'unload' do: aBlock",
|
|
2750
2999
|
messageSends: ["bind:do:", "asJQuery"],
|
|
@@ -2759,8 +3008,8 @@ selector: "placeholder:",
|
|
|
2759
3008
|
category: 'attributes',
|
|
2760
3009
|
fn: function (aString){
|
|
2761
3010
|
var self=this;
|
|
2762
|
-
smalltalk.send(self,
|
|
2763
|
-
return self
|
|
3011
|
+
smalltalk.send(self,"_at_put_",["placeholder",aString]);
|
|
3012
|
+
return self},
|
|
2764
3013
|
args: ["aString"],
|
|
2765
3014
|
source: "placeholder: aString\x0a\x09self at: 'placeholder' put: aString",
|
|
2766
3015
|
messageSends: ["at:put:"],
|
|
@@ -2775,8 +3024,8 @@ selector: "rel:",
|
|
|
2775
3024
|
category: 'attributes',
|
|
2776
3025
|
fn: function (aString){
|
|
2777
3026
|
var self=this;
|
|
2778
|
-
smalltalk.send(self,
|
|
2779
|
-
return self
|
|
3027
|
+
smalltalk.send(self,"_at_put_",["rel",aString]);
|
|
3028
|
+
return self},
|
|
2780
3029
|
args: ["aString"],
|
|
2781
3030
|
source: "rel: aString\x0a self at: 'rel' put: aString",
|
|
2782
3031
|
messageSends: ["at:put:"],
|
|
@@ -2792,7 +3041,8 @@ category: 'attributes',
|
|
|
2792
3041
|
fn: function (aString){
|
|
2793
3042
|
var self=this;
|
|
2794
3043
|
self['@element'].removeAttribute(aString);
|
|
2795
|
-
|
|
3044
|
+
;
|
|
3045
|
+
return self},
|
|
2796
3046
|
args: ["aString"],
|
|
2797
3047
|
source: "removeAt: aString\x0a <self['@element'].removeAttribute(aString)>",
|
|
2798
3048
|
messageSends: [],
|
|
@@ -2807,8 +3057,8 @@ selector: "rows:",
|
|
|
2807
3057
|
category: 'attributes',
|
|
2808
3058
|
fn: function (aString){
|
|
2809
3059
|
var self=this;
|
|
2810
|
-
smalltalk.send(self,
|
|
2811
|
-
return self
|
|
3060
|
+
smalltalk.send(self,"_at_put_",["rows",aString]);
|
|
3061
|
+
return self},
|
|
2812
3062
|
args: ["aString"],
|
|
2813
3063
|
source: "rows: aString\x0a\x09self at: 'rows' put: aString",
|
|
2814
3064
|
messageSends: ["at:put:"],
|
|
@@ -2823,8 +3073,8 @@ selector: "src:",
|
|
|
2823
3073
|
category: 'attributes',
|
|
2824
3074
|
fn: function (aString){
|
|
2825
3075
|
var self=this;
|
|
2826
|
-
smalltalk.send(self,
|
|
2827
|
-
return self
|
|
3076
|
+
smalltalk.send(self,"_at_put_",["src",aString]);
|
|
3077
|
+
return self},
|
|
2828
3078
|
args: ["aString"],
|
|
2829
3079
|
source: "src: aString\x0a self at: 'src' put: aString",
|
|
2830
3080
|
messageSends: ["at:put:"],
|
|
@@ -2839,8 +3089,8 @@ selector: "style:",
|
|
|
2839
3089
|
category: 'attributes',
|
|
2840
3090
|
fn: function (aString){
|
|
2841
3091
|
var self=this;
|
|
2842
|
-
smalltalk.send(self,
|
|
2843
|
-
return self
|
|
3092
|
+
smalltalk.send(self,"_at_put_",["style",aString]);
|
|
3093
|
+
return self},
|
|
2844
3094
|
args: ["aString"],
|
|
2845
3095
|
source: "style: aString\x0a self at: 'style' put: aString",
|
|
2846
3096
|
messageSends: ["at:put:"],
|
|
@@ -2855,8 +3105,8 @@ selector: "tabindex:",
|
|
|
2855
3105
|
category: 'attributes',
|
|
2856
3106
|
fn: function (aNumber){
|
|
2857
3107
|
var self=this;
|
|
2858
|
-
smalltalk.send(self,
|
|
2859
|
-
return self
|
|
3108
|
+
smalltalk.send(self,"_at_put_",["tabindex",aNumber]);
|
|
3109
|
+
return self},
|
|
2860
3110
|
args: ["aNumber"],
|
|
2861
3111
|
source: "tabindex: aNumber\x0a\x09self at: 'tabindex' put: aNumber",
|
|
2862
3112
|
messageSends: ["at:put:"],
|
|
@@ -2871,8 +3121,8 @@ selector: "target:",
|
|
|
2871
3121
|
category: 'attributes',
|
|
2872
3122
|
fn: function (aString){
|
|
2873
3123
|
var self=this;
|
|
2874
|
-
smalltalk.send(self,
|
|
2875
|
-
return self
|
|
3124
|
+
smalltalk.send(self,"_at_put_",["target",aString]);
|
|
3125
|
+
return self},
|
|
2876
3126
|
args: ["aString"],
|
|
2877
3127
|
source: "target: aString\x0a\x09self at: 'target' put: aString",
|
|
2878
3128
|
messageSends: ["at:put:"],
|
|
@@ -2887,8 +3137,8 @@ selector: "title:",
|
|
|
2887
3137
|
category: 'attributes',
|
|
2888
3138
|
fn: function (aString){
|
|
2889
3139
|
var self=this;
|
|
2890
|
-
smalltalk.send(self,
|
|
2891
|
-
return self
|
|
3140
|
+
smalltalk.send(self,"_at_put_",["title",aString]);
|
|
3141
|
+
return self},
|
|
2892
3142
|
args: ["aString"],
|
|
2893
3143
|
source: "title: aString\x0a self at: 'title' put: aString",
|
|
2894
3144
|
messageSends: ["at:put:"],
|
|
@@ -2903,8 +3153,8 @@ selector: "type:",
|
|
|
2903
3153
|
category: 'attributes',
|
|
2904
3154
|
fn: function (aString){
|
|
2905
3155
|
var self=this;
|
|
2906
|
-
smalltalk.send(self,
|
|
2907
|
-
return self
|
|
3156
|
+
smalltalk.send(self,"_at_put_",["type",aString]);
|
|
3157
|
+
return self},
|
|
2908
3158
|
args: ["aString"],
|
|
2909
3159
|
source: "type: aString\x0a self at: 'type' put: aString",
|
|
2910
3160
|
messageSends: ["at:put:"],
|
|
@@ -2919,8 +3169,8 @@ selector: "valign:",
|
|
|
2919
3169
|
category: 'attributes',
|
|
2920
3170
|
fn: function (aString){
|
|
2921
3171
|
var self=this;
|
|
2922
|
-
smalltalk.send(self,
|
|
2923
|
-
return self
|
|
3172
|
+
smalltalk.send(self,"_at_put_",["valign",aString]);
|
|
3173
|
+
return self},
|
|
2924
3174
|
args: ["aString"],
|
|
2925
3175
|
source: "valign: aString\x0a\x09self at: 'valign' put: aString",
|
|
2926
3176
|
messageSends: ["at:put:"],
|
|
@@ -2935,8 +3185,8 @@ selector: "value:",
|
|
|
2935
3185
|
category: 'attributes',
|
|
2936
3186
|
fn: function (aString){
|
|
2937
3187
|
var self=this;
|
|
2938
|
-
smalltalk.send(self,
|
|
2939
|
-
return self
|
|
3188
|
+
smalltalk.send(self,"_at_put_",["value",aString]);
|
|
3189
|
+
return self},
|
|
2940
3190
|
args: ["aString"],
|
|
2941
3191
|
source: "value: aString\x0a self at: 'value' put: aString",
|
|
2942
3192
|
messageSends: ["at:put:"],
|
|
@@ -2951,8 +3201,8 @@ selector: "width:",
|
|
|
2951
3201
|
category: 'attributes',
|
|
2952
3202
|
fn: function (aString){
|
|
2953
3203
|
var self=this;
|
|
2954
|
-
smalltalk.send(self,
|
|
2955
|
-
return self
|
|
3204
|
+
smalltalk.send(self,"_at_put_",["width",aString]);
|
|
3205
|
+
return self},
|
|
2956
3206
|
args: ["aString"],
|
|
2957
3207
|
source: "width: aString\x0a self at: 'width' put: aString",
|
|
2958
3208
|
messageSends: ["at:put:"],
|
|
@@ -2967,8 +3217,8 @@ selector: "with:",
|
|
|
2967
3217
|
category: 'adding',
|
|
2968
3218
|
fn: function (anObject){
|
|
2969
3219
|
var self=this;
|
|
2970
|
-
smalltalk.send(self,
|
|
2971
|
-
return self
|
|
3220
|
+
smalltalk.send(self,"_append_",[anObject]);
|
|
3221
|
+
return self},
|
|
2972
3222
|
args: ["anObject"],
|
|
2973
3223
|
source: "with: anObject\x0a self append: anObject",
|
|
2974
3224
|
messageSends: ["append:"],
|
|
@@ -2982,13 +3232,18 @@ smalltalk.addMethod(
|
|
|
2982
3232
|
smalltalk.method({
|
|
2983
3233
|
selector: "fromJQuery:canvas:",
|
|
2984
3234
|
category: 'instance creation',
|
|
2985
|
-
fn: function (aJQuery,
|
|
2986
|
-
var self=this;
|
|
2987
|
-
|
|
2988
|
-
|
|
3235
|
+
fn: function (aJQuery,aCanvas){
|
|
3236
|
+
var self=this;
|
|
3237
|
+
var $2,$3,$1;
|
|
3238
|
+
$2=smalltalk.send(self,"_new",[]);
|
|
3239
|
+
smalltalk.send($2,"_initializeFromJQuery_canvas_",[aJQuery,aCanvas]);
|
|
3240
|
+
$3=smalltalk.send($2,"_yourself",[]);
|
|
3241
|
+
$1=$3;
|
|
3242
|
+
return $1;
|
|
3243
|
+
},
|
|
2989
3244
|
args: ["aJQuery", "aCanvas"],
|
|
2990
3245
|
source: "fromJQuery: aJQuery canvas: aCanvas\x0a ^self new\x0a\x09initializeFromJQuery: aJQuery canvas: aCanvas;\x0a\x09yourself",
|
|
2991
|
-
messageSends: ["initializeFromJQuery:canvas:", "
|
|
3246
|
+
messageSends: ["initializeFromJQuery:canvas:", "new", "yourself"],
|
|
2992
3247
|
referencedClasses: []
|
|
2993
3248
|
}),
|
|
2994
3249
|
smalltalk.TagBrush.klass);
|
|
@@ -2998,13 +3253,18 @@ smalltalk.addMethod(
|
|
|
2998
3253
|
smalltalk.method({
|
|
2999
3254
|
selector: "fromString:canvas:",
|
|
3000
3255
|
category: 'instance creation',
|
|
3001
|
-
fn: function (aString,
|
|
3002
|
-
var self=this;
|
|
3003
|
-
|
|
3004
|
-
|
|
3256
|
+
fn: function (aString,aCanvas){
|
|
3257
|
+
var self=this;
|
|
3258
|
+
var $2,$3,$1;
|
|
3259
|
+
$2=smalltalk.send(self,"_new",[]);
|
|
3260
|
+
smalltalk.send($2,"_initializeFromString_canvas_",[aString,aCanvas]);
|
|
3261
|
+
$3=smalltalk.send($2,"_yourself",[]);
|
|
3262
|
+
$1=$3;
|
|
3263
|
+
return $1;
|
|
3264
|
+
},
|
|
3005
3265
|
args: ["aString", "aCanvas"],
|
|
3006
3266
|
source: "fromString: aString canvas: aCanvas\x0a ^self new\x0a\x09initializeFromString: aString canvas: aCanvas;\x0a\x09yourself",
|
|
3007
|
-
messageSends: ["initializeFromString:canvas:", "
|
|
3267
|
+
messageSends: ["initializeFromString:canvas:", "new", "yourself"],
|
|
3008
3268
|
referencedClasses: []
|
|
3009
3269
|
}),
|
|
3010
3270
|
smalltalk.TagBrush.klass);
|
|
@@ -3019,11 +3279,17 @@ selector: "with:",
|
|
|
3019
3279
|
category: 'adding',
|
|
3020
3280
|
fn: function (aString){
|
|
3021
3281
|
var self=this;
|
|
3022
|
-
|
|
3023
|
-
|
|
3282
|
+
var $1;
|
|
3283
|
+
$1=smalltalk.send((smalltalk.HTMLCanvas || HTMLCanvas),"_isMSIE",[]);
|
|
3284
|
+
if(smalltalk.assert($1)){
|
|
3285
|
+
smalltalk.send(smalltalk.send(smalltalk.send(self,"_element",[]),"_styleSheet",[]),"_cssText_",[aString]);
|
|
3286
|
+
} else {
|
|
3287
|
+
smalltalk.send(self,"_with_",[aString],smalltalk.TagBrush);
|
|
3288
|
+
};
|
|
3289
|
+
return self},
|
|
3024
3290
|
args: ["aString"],
|
|
3025
3291
|
source: "with: aString\x0a\x09HTMLCanvas isMSIE\x0a\x09\x09ifTrue: [self element styleSheet cssText: aString ]\x0a\x09\x09ifFalse: [super with: aString ].",
|
|
3026
|
-
messageSends: ["ifTrue:ifFalse:", "
|
|
3292
|
+
messageSends: ["ifTrue:ifFalse:", "cssText:", "styleSheet", "element", "with:", "isMSIE"],
|
|
3027
3293
|
referencedClasses: ["HTMLCanvas"]
|
|
3028
3294
|
}),
|
|
3029
3295
|
smalltalk.StyleTag);
|
|
@@ -3036,11 +3302,16 @@ selector: "canvas:",
|
|
|
3036
3302
|
category: 'instance creation',
|
|
3037
3303
|
fn: function (aCanvas){
|
|
3038
3304
|
var self=this;
|
|
3039
|
-
|
|
3040
|
-
|
|
3305
|
+
var $2,$3,$1;
|
|
3306
|
+
$2=smalltalk.send(self,"_new",[]);
|
|
3307
|
+
smalltalk.send($2,"_initializeFromString_canvas_",["style",aCanvas]);
|
|
3308
|
+
$3=smalltalk.send($2,"_yourself",[]);
|
|
3309
|
+
$1=$3;
|
|
3310
|
+
return $1;
|
|
3311
|
+
},
|
|
3041
3312
|
args: ["aCanvas"],
|
|
3042
3313
|
source: "canvas: aCanvas\x0a ^self new\x0a\x09initializeFromString: 'style' canvas: aCanvas;\x0a\x09yourself",
|
|
3043
|
-
messageSends: ["initializeFromString:canvas:", "
|
|
3314
|
+
messageSends: ["initializeFromString:canvas:", "new", "yourself"],
|
|
3044
3315
|
referencedClasses: []
|
|
3045
3316
|
}),
|
|
3046
3317
|
smalltalk.StyleTag.klass);
|
|
@@ -3054,8 +3325,8 @@ selector: "appendToBrush:",
|
|
|
3054
3325
|
category: 'adding',
|
|
3055
3326
|
fn: function (aTagBrush){
|
|
3056
3327
|
var self=this;
|
|
3057
|
-
smalltalk.send(self,
|
|
3058
|
-
return self
|
|
3328
|
+
smalltalk.send(self,"_appendToJQuery_",[smalltalk.send(aTagBrush,"_asJQuery",[])]);
|
|
3329
|
+
return self},
|
|
3059
3330
|
args: ["aTagBrush"],
|
|
3060
3331
|
source: "appendToBrush: aTagBrush\x0a self appendToJQuery: aTagBrush asJQuery",
|
|
3061
3332
|
messageSends: ["appendToJQuery:", "asJQuery"],
|
|
@@ -3070,8 +3341,8 @@ selector: "appendToJQuery:",
|
|
|
3070
3341
|
category: 'adding',
|
|
3071
3342
|
fn: function (aJQuery){
|
|
3072
3343
|
var self=this;
|
|
3073
|
-
smalltalk.send(self,
|
|
3074
|
-
return self
|
|
3344
|
+
smalltalk.send(self,"_renderOn_",[smalltalk.send((smalltalk.HTMLCanvas || HTMLCanvas),"_onJQuery_",[aJQuery])]);
|
|
3345
|
+
return self},
|
|
3075
3346
|
args: ["aJQuery"],
|
|
3076
3347
|
source: "appendToJQuery: aJQuery\x0a self renderOn: (HTMLCanvas onJQuery: aJQuery)",
|
|
3077
3348
|
messageSends: ["renderOn:", "onJQuery:"],
|
|
@@ -3086,8 +3357,7 @@ selector: "renderOn:",
|
|
|
3086
3357
|
category: 'rendering',
|
|
3087
3358
|
fn: function (html){
|
|
3088
3359
|
var self=this;
|
|
3089
|
-
self
|
|
3090
|
-
return self;},
|
|
3360
|
+
return self},
|
|
3091
3361
|
args: ["html"],
|
|
3092
3362
|
source: "renderOn: html\x0a self",
|
|
3093
3363
|
messageSends: [],
|
|
@@ -3104,8 +3374,8 @@ selector: "appendToBrush:",
|
|
|
3104
3374
|
category: '*Canvas',
|
|
3105
3375
|
fn: function (aTagBrush){
|
|
3106
3376
|
var self=this;
|
|
3107
|
-
smalltalk.send(aTagBrush,
|
|
3108
|
-
return self
|
|
3377
|
+
smalltalk.send(aTagBrush,"_append_",[smalltalk.send(self,"_asString",[])]);
|
|
3378
|
+
return self},
|
|
3109
3379
|
args: ["aTagBrush"],
|
|
3110
3380
|
source: "appendToBrush: aTagBrush\x0a aTagBrush append: self asString",
|
|
3111
3381
|
messageSends: ["append:", "asString"],
|
|
@@ -3120,8 +3390,8 @@ selector: "appendToJQuery:",
|
|
|
3120
3390
|
category: '*Canvas',
|
|
3121
3391
|
fn: function (aJQuery){
|
|
3122
3392
|
var self=this;
|
|
3123
|
-
smalltalk.send(aJQuery,
|
|
3124
|
-
return self
|
|
3393
|
+
smalltalk.send(aJQuery,"_append_",[smalltalk.send(self,"_asString",[])]);
|
|
3394
|
+
return self},
|
|
3125
3395
|
args: ["aJQuery"],
|
|
3126
3396
|
source: "appendToJQuery: aJQuery\x0a aJQuery append: self asString",
|
|
3127
3397
|
messageSends: ["append:", "asString"],
|
|
@@ -3136,8 +3406,8 @@ selector: "appendToBrush:",
|
|
|
3136
3406
|
category: '*Canvas',
|
|
3137
3407
|
fn: function (aTagBrush){
|
|
3138
3408
|
var self=this;
|
|
3139
|
-
smalltalk.send(aTagBrush,
|
|
3140
|
-
return self
|
|
3409
|
+
smalltalk.send(aTagBrush,"_appendBlock_",[self]);
|
|
3410
|
+
return self},
|
|
3141
3411
|
args: ["aTagBrush"],
|
|
3142
3412
|
source: "appendToBrush: aTagBrush\x0a aTagBrush appendBlock: self",
|
|
3143
3413
|
messageSends: ["appendBlock:"],
|
|
@@ -3152,8 +3422,8 @@ selector: "appendToJQuery:",
|
|
|
3152
3422
|
category: '*Canvas',
|
|
3153
3423
|
fn: function (aJQuery){
|
|
3154
3424
|
var self=this;
|
|
3155
|
-
smalltalk.send(self,
|
|
3156
|
-
return self
|
|
3425
|
+
smalltalk.send(self,"_value_",[smalltalk.send((smalltalk.HTMLCanvas || HTMLCanvas),"_onJQuery_",[aJQuery])]);
|
|
3426
|
+
return self},
|
|
3157
3427
|
args: ["aJQuery"],
|
|
3158
3428
|
source: "appendToJQuery: aJQuery\x0a self value: (HTMLCanvas onJQuery: aJQuery)",
|
|
3159
3429
|
messageSends: ["value:", "onJQuery:"],
|
|
@@ -3168,8 +3438,8 @@ selector: "appendToBrush:",
|
|
|
3168
3438
|
category: '*Canvas',
|
|
3169
3439
|
fn: function (aTagBrush){
|
|
3170
3440
|
var self=this;
|
|
3171
|
-
smalltalk.send(aTagBrush,
|
|
3172
|
-
return self
|
|
3441
|
+
smalltalk.send(aTagBrush,"_appendString_",[self]);
|
|
3442
|
+
return self},
|
|
3173
3443
|
args: ["aTagBrush"],
|
|
3174
3444
|
source: "appendToBrush: aTagBrush\x0a aTagBrush appendString: self",
|
|
3175
3445
|
messageSends: ["appendString:"],
|
|
@@ -3184,8 +3454,8 @@ selector: "appendToJQuery:",
|
|
|
3184
3454
|
category: '*Canvas',
|
|
3185
3455
|
fn: function (aJQuery){
|
|
3186
3456
|
var self=this;
|
|
3187
|
-
smalltalk.send(aJQuery,
|
|
3188
|
-
return self
|
|
3457
|
+
smalltalk.send(aJQuery,"_append_",[self]);
|
|
3458
|
+
return self},
|
|
3189
3459
|
args: ["aJQuery"],
|
|
3190
3460
|
source: "appendToJQuery: aJQuery\x0a aJQuery append: self",
|
|
3191
3461
|
messageSends: ["append:"],
|
|
@@ -3201,7 +3471,8 @@ category: '*Canvas',
|
|
|
3201
3471
|
fn: function (){
|
|
3202
3472
|
var self=this;
|
|
3203
3473
|
return jQuery(String(self));
|
|
3204
|
-
|
|
3474
|
+
;
|
|
3475
|
+
return self},
|
|
3205
3476
|
args: [],
|
|
3206
3477
|
source: "asJQuery\x0a <return jQuery(String(self))>",
|
|
3207
3478
|
messageSends: [],
|