Browse Source

Use asBrush in Examples.

Herby Vojčík 4 years ago
parent
commit
d00adc3506
3 changed files with 5 additions and 5 deletions
  1. 1 1
      package.json
  2. 3 3
      src/Examples.js
  3. 1 1
      src/Examples.st

+ 1 - 1
package.json

@@ -27,7 +27,7 @@
     "test": "grunt test"
   },
   "dependencies": {
-    "@ambers/contrib-web": ">=0.6.0",
+    "@ambers/contrib-web": ">=0.7.1",
     "@ambers/lang": ">0.23.0",
     "codemirror": ">=5.44.0",
     "jquery-ui-dist": ">=1.9.2",

+ 3 - 3
src/Examples.js

@@ -181,7 +181,7 @@ var self=this,$self=this;
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
 return $core.withContext(function($ctx1) {
 //>>excludeEnd("ctx");
-$recv($self._new())._appendToJQuery_("body"._asJQuery());
+$recv($self._new())._appendToBrush_("body"._asBrush());
 return self;
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
 }, function($ctx1) {$ctx1.fill(self,"tryExample",{})});
@@ -189,11 +189,11 @@ return self;
 },
 //>>excludeStart("ide", pragmas.excludeIdeData);
 args: [],
-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",
+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 appendToBrush: 'body' asBrush",
 referencedClasses: [],
 //>>excludeEnd("ide");
 pragmas: [],
-messageSends: ["appendToJQuery:", "new", "asJQuery"]
+messageSends: ["appendToBrush:", "new", "asBrush"]
 }),
 $globals.Counter.a$cls);
 

+ 1 - 1
src/Examples.st

@@ -50,6 +50,6 @@ tryExample
 	look in the HTML document above the IDE."
 
 	"Counter tryExample"
-		self new appendToJQuery: 'body' asJQuery
+		self new appendToBrush: 'body' asBrush
 ! !