Browse Source

Move ivars from `obj["@x"]` to `obj.x`.

Step 3: Inline JS.
Herby Vojčík 5 years ago
parent
commit
b6306ae7f9
2 changed files with 6 additions and 6 deletions
  1. 4 4
      src/Wrappers-JQuery.js
  2. 2 2
      src/Wrappers-JQuery.st

+ 4 - 4
src/Wrappers-JQuery.js

@@ -108,7 +108,7 @@ var self=this,$self=this;
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
 return $core.withContext(function($ctx1) {
 //>>excludeEnd("ctx");
-return jQuery($self['@jsObject']);
+return jQuery($self.jsObject);
 return self;
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
 }, function($ctx1) {$ctx1.fill(self,"asJQuery",{},$globals.JSObjectProxy)});
@@ -116,7 +116,7 @@ return self;
 },
 //>>excludeStart("ide", pragmas.excludeIdeData);
 args: [],
-source: "asJQuery\x0a\x09<inlineJS: 'return jQuery($self[''@jsObject''])'>",
+source: "asJQuery\x0a\x09<inlineJS: 'return jQuery($self.jsObject)'>",
 referencedClasses: [],
 //>>excludeEnd("ide");
 messageSends: []
@@ -132,7 +132,7 @@ var self=this,$self=this;
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
 return $core.withContext(function($ctx1) {
 //>>excludeEnd("ctx");
-return jQuery($self['@jsObject'], aContext);
+return jQuery($self.jsObject, aContext);
 return self;
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
 }, function($ctx1) {$ctx1.fill(self,"asJQueryInContext:",{aContext:aContext},$globals.JSObjectProxy)});
@@ -140,7 +140,7 @@ return self;
 },
 //>>excludeStart("ide", pragmas.excludeIdeData);
 args: ["aContext"],
-source: "asJQueryInContext: aContext\x0a\x09<inlineJS: 'return jQuery($self[''@jsObject''], aContext)'>",
+source: "asJQueryInContext: aContext\x0a\x09<inlineJS: 'return jQuery($self.jsObject, aContext)'>",
 referencedClasses: [],
 //>>excludeEnd("ide");
 messageSends: []

+ 2 - 2
src/Wrappers-JQuery.st

@@ -30,11 +30,11 @@ asJQueryInContext: aContext
 !JSObjectProxy methodsFor: '*Wrappers-JQuery'!
 
 asJQuery
-	<inlineJS: 'return jQuery($self[''@jsObject''])'>
+	<inlineJS: 'return jQuery($self.jsObject)'>
 !
 
 asJQueryInContext: aContext
-	<inlineJS: 'return jQuery($self[''@jsObject''], aContext)'>
+	<inlineJS: 'return jQuery($self.jsObject, aContext)'>
 ! !
 
 !Object methodsFor: '*Wrappers-JQuery'!