Browse Source

updates Counter class comment

Nicolas Petton 10 năm trước cách đây
mục cha
commit
d2a90c90bc
2 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 1 1
      js/Examples.js
  2. 1 1
      st/Examples.st

+ 1 - 1
js/Examples.js

@@ -2,7 +2,7 @@
 smalltalk.addPackage('Examples');
 
 smalltalk.addClass('Counter', smalltalk.Widget, ['count', 'header'], 'Examples');
-smalltalk.Counter.comment="This is a trivial Widget example mimicking the classic Counter example in Seaside.\x0aIn order to play with it, just evaluate the doit below in a workspace.\x0aThen take a look in the HTML document above the IDE.\x0a\x0a\x09\x09Counter new appendToJQuery: 'body' asJQuery";
+smalltalk.Counter.comment="This is a trivial Widget example mimicking the classic Counter example in Seaside.\x0aIn order to play with it, just evaluate the doit below in a workspace.\x0aThen take a look in the HTML document above the IDE.\x0a\x0a\x09\x09Counter tryExample";
 smalltalk.addMethod(
 smalltalk.method({
 selector: "decrease",

+ 1 - 1
st/Examples.st

@@ -7,7 +7,7 @@ This is a trivial Widget example mimicking the classic Counter example in Seasid
 In order to play with it, just evaluate the doit below in a workspace.
 Then take a look in the HTML document above the IDE.
 
-		Counter new appendToJQuery: 'body' asJQuery!
+		Counter tryExample!
 
 !Counter methodsFor: 'actions'!