function $IRNonLocalReturnInliner(){return smalltalk.IRNonLocalReturnInliner||(typeof IRNonLocalReturnInliner=="undefined"?nil:IRNonLocalReturnInliner)}
-return smalltalk.withContext(function($ctx1) {
var $2,$3,$1;
+return smalltalk.withContext(function($ctx1) {
+var $2,$3,$1;
$2=_st($IRNonLocalReturnInliner())._new();
_st($2)._translator_(self);
$3=_st($2)._yourself();
@@ -253,7 +271,8 @@ selector: "returnInliner",
fn: function (){
var self=this;
function $IRReturnInliner(){return smalltalk.IRReturnInliner||(typeof IRReturnInliner=="undefined"?nil:IRReturnInliner)}
-return smalltalk.withContext(function($ctx1) {
var $2,$3,$1;
+return smalltalk.withContext(function($ctx1) {
+var $2,$3,$1;
$2=_st($IRReturnInliner())._new();
_st($2)._translator_(self);
$3=_st($2)._yourself();
@@ -270,7 +289,8 @@ selector: "sendInliner",
fn: function (){
var self=this;
function $IRSendInliner(){return smalltalk.IRSendInliner||(typeof IRSendInliner=="undefined"?nil:IRSendInliner)}
-return smalltalk.withContext(function($ctx1) {
var $2,$3,$1;
+return smalltalk.withContext(function($ctx1) {
+var $2,$3,$1;
$2=_st($IRSendInliner())._new();
_st($2)._translator_(self);
$3=_st($2)._yourself();
@@ -286,10 +306,13 @@ smalltalk.method({
selector: "shouldInlineAssignment:",
fn: function (anIRAssignment){
var self=this;
-return smalltalk.withContext(function($ctx1) {
var $1;
function $IRInlinedNonLocalReturn(){return smalltalk.IRInlinedNonLocalReturn||(typeof IRInlinedNonLocalReturn=="undefined"?nil:IRInlinedNonLocalReturn)}
-return smalltalk.withContext(function($ctx1) {
var $1;
function $IRAssignmentInliner(){return smalltalk.IRAssignmentInliner||(typeof IRAssignmentInliner=="undefined"?nil:IRAssignmentInliner)}
-return smalltalk.withContext(function($ctx1) {
var $2,$3,$1;
+return smalltalk.withContext(function($ctx1) {
+var $2,$3,$1;
$2=_st($IRAssignmentInliner())._new();
_st($2)._translator_(self);
$3=_st($2)._yourself();
@@ -329,7 +346,8 @@ category: 'factory',
fn: function (){
var self=this;
function $IRNonLocalReturnInliner(){return smalltalk.IRNonLocalReturnInliner||(typeof IRNonLocalReturnInliner=="undefined"?nil:IRNonLocalReturnInliner)}
-return smalltalk.withContext(function($ctx1) {
var $2,$3,$1;
+return smalltalk.withContext(function($ctx1) {
+var $2,$3,$1;
$2=_st($IRNonLocalReturnInliner())._new();
_st($2)._translator_(self);
$3=_st($2)._yourself();
@@ -351,7 +369,8 @@ category: 'factory',
fn: function (){
var self=this;
function $IRReturnInliner(){return smalltalk.IRReturnInliner||(typeof IRReturnInliner=="undefined"?nil:IRReturnInliner)}
-return smalltalk.withContext(function($ctx1) {
var $2,$3,$1;
+return smalltalk.withContext(function($ctx1) {
+var $2,$3,$1;
$2=_st($IRReturnInliner())._new();
_st($2)._translator_(self);
$3=_st($2)._yourself();
@@ -373,7 +392,8 @@ category: 'factory',
fn: function (){
var self=this;
function $IRSendInliner(){return smalltalk.IRSendInliner||(typeof IRSendInliner=="undefined"?nil:IRSendInliner)}
-return smalltalk.withContext(function($ctx1) {
var $2,$3,$1;
function $IRInlinedNonLocalReturn(){return smalltalk.IRInlinedNonLocalReturn||(typeof IRInlinedNonLocalReturn=="undefined"?nil:IRInlinedNonLocalReturn)}
-return smalltalk.withContext(function($ctx1) {
var $1;
source: "tryExample\x0a\x09\x22In order to play with the Counter, just select the\x0a\x09doit below and press the Do it button. Then take a\x0a\x09look in the HTML document above the IDE.\x22\x0a\x0a\x09\x22Counter tryExample\x22\x0a\x09\x09self new appendToJQuery: 'body' asJQuery",
Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 222- 111
js/IDE.deploy.js
Failā izmaiņas netiks attēlotas, jo tās ir par lielu
function $AnnouncementSubscription(){return smalltalk.AnnouncementSubscription||(typeof AnnouncementSubscription=="undefined"?nil:AnnouncementSubscription)}
-return smalltalk.withContext(function($ctx1) {
var $1,$2;
+return smalltalk.withContext(function($ctx1) {
+var $1,$2;
$1=_st($AnnouncementSubscription())._new();
_st($1)._block_(aBlock);
_st($1)._announcementClass_(aClass);
@@ -133,7 +143,8 @@ smalltalk.method({
selector: "current",
fn: function (){
var self=this;
-return smalltalk.withContext(function($ctx1) {
var $2,$1;
function $AnnouncementSubscription(){return smalltalk.AnnouncementSubscription||(typeof AnnouncementSubscription=="undefined"?nil:AnnouncementSubscription)}
-return smalltalk.withContext(function($ctx1) {
var $1,$2;
+return smalltalk.withContext(function($ctx1) {
+var $1,$2;
$1=_st($AnnouncementSubscription())._new();
_st($1)._block_(aBlock);
_st($1)._announcementClass_(aClass);
@@ -182,7 +192,8 @@ selector: "current",
category: 'accessing',
fn: function (){
var self=this;
-return smalltalk.withContext(function($ctx1) {
var $2,$1;
source: "context: aMethodContext\x0a\x09\x22Set the context from the outside.\x0a\x09See boot.js `inContext()` exception handling\x22\x0a\x09\x0a\x09<self.context = aMethodContext>",
@@ -195,7 +206,8 @@ selector: "exception",
category: 'accessing',
fn: function (){
var self=this;
-return smalltalk.withContext(function($ctx1) {
var $1;
source: "new\x0a\x09\x22Use the receiver as a JS constructor.\x0a\x09*Do not* use this method to instanciate Smalltalk objects!\x22\x0a\x09<return new self()>",
@@ -127,7 +134,8 @@ selector: "newValue:",
category: 'evaluating',
fn: function (anObject){
var self=this;
-return smalltalk.withContext(function($ctx1) {
return new self(anObject);
source: "newValue: anObject\x0a\x09\x22Use the receiver as a JS constructor.\x0a\x09*Do not* use this method to instanciate Smalltalk objects!\x22\x0a\x09<return new self(anObject)>",
@@ -143,7 +151,8 @@ selector: "newValue:value:",
category: 'evaluating',
fn: function (anObject,anObject2){
var self=this;
-return smalltalk.withContext(function($ctx1) {
return new self(anObject, anObject2);
source: "newValue: anObject value: anObject2\x0a\x09\x22Use the receiver as a JS constructor.\x0a\x09*Do not* use this method to instanciate Smalltalk objects!\x22\x0a\x09<return new self(anObject, anObject2)>",
source: "newValue: anObject value: anObject2 value: anObject3\x0a\x09\x22Use the receiver as a JS constructor.\x0a\x09*Do not* use this method to instanciate Smalltalk objects!\x22\x0a\x09<return new self(anObject, anObject2,anObject3)>",
-return smalltalk.withContext(function($ctx1) {
var $1;
+return smalltalk.withContext(function($ctx1) {
+var $1;
$1=aBoolean;
if(! smalltalk.assert($1)){
_st(self)._signalFailure_(aString);
@@ -59,7 +63,8 @@ smalltalk.method({
selector: "assert:equals:",
fn: function (actual,expected){
var self=this;
-return smalltalk.withContext(function($ctx1) {
var $1;
+return smalltalk.withContext(function($ctx1) {
+var $1;
$1=_st(self)._assert_description_(_st(actual).__eq(expected),_st(_st(_st("Expected: ").__comma(_st(expected)._asString())).__comma(" but was: ")).__comma(_st(actual)._asString()));
-return smalltalk.withContext(function($ctx1) {
var $1;
+return smalltalk.withContext(function($ctx1) {
+var $1;
$1=aBoolean;
if(! smalltalk.assert($1)){
_st(self)._signalFailure_(aString);
@@ -81,7 +85,8 @@ selector: "assert:equals:",
category: 'testing',
fn: function (actual,expected){
var self=this;
-return smalltalk.withContext(function($ctx1) {
var $1;
+return smalltalk.withContext(function($ctx1) {
+var $1;
$1=_st(self)._assert_description_(_st(actual).__eq(expected),_st(_st(_st("Expected: ").__comma(_st(expected)._asString())).__comma(" but was: ")).__comma(_st(actual)._asString()));