|
@@ -5072,7 +5072,7 @@ var self=this,$self=this;
|
|
|
|
|
|
return $core.withContext(function($ctx1) {
|
|
|
|
|
|
-var $1,$2,$6,$5,$4,$3,$7,$12,$11,$10,$9,$8,$16,$15,$14,$13,$17,$18;
|
|
|
+var $1,$2,$6,$5,$4,$3,$7,$12,$11,$10,$9,$8,$14,$13,$15,$16;
|
|
|
$1=$recv(aMethod)._requiresSmalltalkContext();
|
|
|
if(!$core.assert($1)){
|
|
|
$2=$recv(aBlock)._value();
|
|
@@ -5154,12 +5154,7 @@ $self._nextPutAll_($8);
|
|
|
|
|
|
$ctx1.sendIdx["nextPutAll:"]=5;
|
|
|
|
|
|
-$16=$recv($recv(aMethod)._selector())._asJavaScriptSource();
|
|
|
-
|
|
|
-$ctx1.sendIdx["asJavaScriptSource"]=1;
|
|
|
-
|
|
|
-$15=".fill(self,".__comma($16);
|
|
|
-$14=$recv($15).__comma(",{");
|
|
|
+$14=$recv(".fill(self,".__comma($recv($recv(aMethod)._selector())._asJavaScriptSource())).__comma(",{");
|
|
|
|
|
|
$ctx1.sendIdx[","]=6;
|
|
|
|
|
@@ -5171,11 +5166,11 @@ $recv($recv(aMethod)._locals())._do_separatedBy_((function(each){
|
|
|
|
|
|
return $core.withContext(function($ctx2) {
|
|
|
|
|
|
-$17=$recv(each)._asVariableName();
|
|
|
+$15=$recv(each)._asVariableName();
|
|
|
|
|
|
$ctx2.sendIdx["asVariableName"]=1;
|
|
|
|
|
|
-$self._nextPutAll_($17);
|
|
|
+$self._nextPutAll_($15);
|
|
|
|
|
|
$ctx2.sendIdx["nextPutAll:"]=7;
|
|
|
|
|
@@ -5183,11 +5178,11 @@ $self._nextPutAll_(":");
|
|
|
|
|
|
$ctx2.sendIdx["nextPutAll:"]=8;
|
|
|
|
|
|
-$18=$self._nextPutAll_($recv(each)._asVariableName());
|
|
|
+$16=$self._nextPutAll_($recv(each)._asVariableName());
|
|
|
|
|
|
$ctx2.sendIdx["nextPutAll:"]=9;
|
|
|
|
|
|
-return $18;
|
|
|
+return $16;
|
|
|
|
|
|
}, function($ctx2) {$ctx2.fillBlock({each:each},$ctx1,2)});
|
|
|
|
|
@@ -5203,18 +5198,10 @@ $ctx2.sendIdx["nextPutAll:"]=10;
|
|
|
}, function($ctx2) {$ctx2.fillBlock({},$ctx1,3)});
|
|
|
|
|
|
}));
|
|
|
-$self._nextPutAll_("},");
|
|
|
+$self._nextPutAll_("})});");
|
|
|
|
|
|
$ctx1.sendIdx["nextPutAll:"]=11;
|
|
|
|
|
|
-$self._nextPutAll_($recv($recv(aMethod)._theClass())._asJavaScriptSource());
|
|
|
-
|
|
|
-$ctx1.sendIdx["nextPutAll:"]=12;
|
|
|
-
|
|
|
-$self._nextPutAll_(")});");
|
|
|
-
|
|
|
-$ctx1.sendIdx["nextPutAll:"]=13;
|
|
|
-
|
|
|
$self._lf();
|
|
|
$self._nextPutAll_("//>>excludeEnd(\x22ctx\x22);");
|
|
|
return self;
|
|
@@ -5224,11 +5211,11 @@ return self;
|
|
|
},
|
|
|
|
|
|
args: ["aMethod", "aBlock"],
|
|
|
-source: "nextPutContextFor: aMethod during: aBlock\x0a\x09aMethod requiresSmalltalkContext ifFalse: [ ^ aBlock value ].\x0a\x09\x0a\x09self\x0a\x09\x09nextPutAll: '//>>excludeStart(\x22ctx\x22, pragmas.excludeDebugContexts);';\x0a\x09\x09lf;\x0a\x09\x09nextPutAll: 'return $core.withContext(function(', aMethod scope alias, ') {';\x0a\x09\x09lf;\x0a\x09\x09nextPutAll: '//>>excludeEnd(\x22ctx\x22);';\x0a\x09\x09lf.\x0a\x0a\x09aBlock value.\x0a\x09\x0a\x09self\x0a\x09\x09nextPutAll: '//>>excludeStart(\x22ctx\x22, pragmas.excludeDebugContexts);';\x0a\x09\x09lf;\x0a\x09\x09nextPutAll: '}, function(', aMethod scope alias, ') {', aMethod scope alias;\x0a\x09\x09nextPutAll: '.fill(self,', aMethod selector asJavaScriptSource, ',{'.\x0a\x0a\x09aMethod locals\x0a\x09\x09do: [ :each |\x0a\x09\x09\x09self\x0a\x09\x09\x09\x09nextPutAll: each asVariableName;\x0a\x09\x09\x09\x09nextPutAll: ':';\x0a\x09\x09\x09\x09nextPutAll: each asVariableName ]\x0a\x09\x09separatedBy: [ self nextPutAll: ',' ].\x0a\x09\x0a\x09self\x0a\x09\x09nextPutAll: '},';\x0a\x09\x09nextPutAll: aMethod theClass asJavaScriptSource;\x0a\x09\x09nextPutAll: ')});';\x0a\x09\x09lf;\x0a\x09\x09nextPutAll: '//>>excludeEnd(\x22ctx\x22);'",
|
|
|
+source: "nextPutContextFor: aMethod during: aBlock\x0a\x09aMethod requiresSmalltalkContext ifFalse: [ ^ aBlock value ].\x0a\x09\x0a\x09self\x0a\x09\x09nextPutAll: '//>>excludeStart(\x22ctx\x22, pragmas.excludeDebugContexts);';\x0a\x09\x09lf;\x0a\x09\x09nextPutAll: 'return $core.withContext(function(', aMethod scope alias, ') {';\x0a\x09\x09lf;\x0a\x09\x09nextPutAll: '//>>excludeEnd(\x22ctx\x22);';\x0a\x09\x09lf.\x0a\x0a\x09aBlock value.\x0a\x09\x0a\x09self\x0a\x09\x09nextPutAll: '//>>excludeStart(\x22ctx\x22, pragmas.excludeDebugContexts);';\x0a\x09\x09lf;\x0a\x09\x09nextPutAll: '}, function(', aMethod scope alias, ') {', aMethod scope alias;\x0a\x09\x09nextPutAll: '.fill(self,', aMethod selector asJavaScriptSource, ',{'.\x0a\x0a\x09aMethod locals\x0a\x09\x09do: [ :each |\x0a\x09\x09\x09self\x0a\x09\x09\x09\x09nextPutAll: each asVariableName;\x0a\x09\x09\x09\x09nextPutAll: ':';\x0a\x09\x09\x09\x09nextPutAll: each asVariableName ]\x0a\x09\x09separatedBy: [ self nextPutAll: ',' ].\x0a\x09\x0a\x09self\x0a\x09\x09nextPutAll: '})});';\x0a\x09\x09lf;\x0a\x09\x09nextPutAll: '//>>excludeEnd(\x22ctx\x22);'",
|
|
|
referencedClasses: [],
|
|
|
|
|
|
pragmas: [],
|
|
|
-messageSends: ["ifFalse:", "requiresSmalltalkContext", "value", "nextPutAll:", "lf", ",", "alias", "scope", "asJavaScriptSource", "selector", "do:separatedBy:", "locals", "asVariableName", "theClass"]
|
|
|
+messageSends: ["ifFalse:", "requiresSmalltalkContext", "value", "nextPutAll:", "lf", ",", "alias", "scope", "asJavaScriptSource", "selector", "do:separatedBy:", "locals", "asVariableName"]
|
|
|
}),
|
|
|
$globals.JSStream);
|
|
|
|