Browse Source

Smalltalk class comment

Nicolas Petton 11 years ago
parent
commit
10e5404da9
2 changed files with 4 additions and 6 deletions
  1. 1 1
      js/Kernel-Objects.js
  2. 3 5
      st/Kernel-Objects.st

+ 1 - 1
js/Kernel-Objects.js

@@ -4953,7 +4953,7 @@ smalltalk.Random);
 
 
 smalltalk.addClass('Smalltalk', smalltalk.Object, [], 'Kernel-Objects');
-smalltalk.Smalltalk.comment="I represent the global JavaScript variable `smalltalk` declared in `js/boot.js`.\x0a\x0a## API\x0a\x0aI have only one instance, accessed with class-side method `#current`.\x0a\x0aThe `smalltalk` object holds all class and packages defined in the system.\x0a\x0a## Classes\x0a\x0aClasses can be accessed using the following methods:\x0a\x0a- `#classes` answers the full list of Smalltalk classes in the system\x0a- `#at:` answers a specific class of `nil`\x0a\x0a## Packages\x0a\x0aPackages can be accessed using the following methods:\x0a\x0a- `#packages` answers the full list of packages\x0a- `#packageAt:` answers a specific class of `nil`\x0a\x0a__note:__ classes and packages are accessed using strings, not symbols\x0a\x0a## Parsing\x0a\x0aThe `#parse:` method is used to parse Amber source code.\x0aIt requires the `Compiler` package and the `js/parser.js` parser file in order to work"
+smalltalk.Smalltalk.comment="I represent the global JavaScript variable `smalltalk` declared in `js/boot.js`.\x0a\x0a## API\x0a\x0aI have only one instance, accessed with class-side method `#current`.\x0a\x0aThe `smalltalk` object holds all class and packages defined in the system.\x0a\x0a## Classes\x0a\x0aClasses can be accessed using the following methods:\x0a\x0a- `#classes` answers the full list of Smalltalk classes in the system\x0a- `#at:` answers a specific class or `nil`\x0a\x0a## Packages\x0a\x0aPackages can be accessed using the following methods:\x0a\x0a- `#packages` answers the full list of packages\x0a- `#packageAt:` answers a specific package or `nil`\x0a\x0a## Parsing\x0a\x0aThe `#parse:` method is used to parse Amber source code.\x0aIt requires the `Compiler` package and the `js/parser.js` parser file in order to work."
 smalltalk.addMethod(
 smalltalk.method({
 selector: "asSmalltalkException:",

+ 3 - 5
st/Kernel-Objects.st

@@ -1743,21 +1743,19 @@ The `smalltalk` object holds all class and packages defined in the system.
 Classes can be accessed using the following methods:
 
 - `#classes` answers the full list of Smalltalk classes in the system
-- `#at:` answers a specific class of `nil`
+- `#at:` answers a specific class or `nil`
 
 ## Packages
 
 Packages can be accessed using the following methods:
 
 - `#packages` answers the full list of packages
-- `#packageAt:` answers a specific class of `nil`
-
-__note:__ classes and packages are accessed using strings, not symbols
+- `#packageAt:` answers a specific package or `nil`
 
 ## Parsing
 
 The `#parse:` method is used to parse Amber source code.
-It requires the `Compiler` package and the `js/parser.js` parser file in order to work!
+It requires the `Compiler` package and the `js/parser.js` parser file in order to work.!
 
 !Smalltalk methodsFor: 'accessing'!