Browse Source

Use accessor consistently.

Herby Vojčík 4 years ago
parent
commit
f0e6535280
2 changed files with 4 additions and 4 deletions
  1. 3 3
      src/Web.js
  2. 1 1
      src/Web.st

+ 3 - 3
src/Web.js

@@ -2461,18 +2461,18 @@ var self=this,$self=this;
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
 return $core.withContext(function($ctx1) {
 //>>excludeEnd("ctx");
-return $recv($self.root)._addBrush_($self._newTag_(aString));
+return $recv($self._root())._addBrush_($self._newTag_(aString));
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
 }, function($ctx1) {$ctx1.fill(self,"tag:",{aString:aString})});
 //>>excludeEnd("ctx");
 },
 //>>excludeStart("ide", pragmas.excludeIdeData);
 args: ["aString"],
-source: "tag: aString\x0a\x09^ root addBrush: (self newTag: aString)",
+source: "tag: aString\x0a\x09^ self root addBrush: (self newTag: aString)",
 referencedClasses: [],
 //>>excludeEnd("ide");
 pragmas: [],
-messageSends: ["addBrush:", "newTag:"]
+messageSends: ["addBrush:", "root", "newTag:"]
 }),
 $globals.HTMLCanvas);
 

+ 1 - 1
src/Web.st

@@ -446,7 +446,7 @@ table
 !
 
 tag: aString
-	^ root addBrush: (self newTag: aString)
+	^ self root addBrush: (self newTag: aString)
 !
 
 tbody