Removed class naming from TODO and updated README to include mention
parent
b321610cc7
commit
dfa2966d99
|
@ -52,6 +52,15 @@ class. The constructor is provided as the `__construct()` method (influenced by
|
|||
},
|
||||
});
|
||||
|
||||
The above creates an anonymous class and stores it in the variable ``Foo``. You
|
||||
have the option of naming class in order to provide more useful error messages
|
||||
and toString() output:
|
||||
|
||||
var Foo = Class( 'Foo',
|
||||
{
|
||||
// ...
|
||||
});
|
||||
|
||||
### Extending Classes
|
||||
Classes may inherit from one-another. If the supertype was created using
|
||||
`Class.extend()`, a convenience `extend()` method has been added to it. Classes
|
||||
|
|
2
TODO
2
TODO
|
@ -12,8 +12,6 @@ Misc
|
|||
functions, will not impact function logic.
|
||||
- Should be able to run source file without preprocessing, so C-style macros
|
||||
cannot be used (# is not a valid token)
|
||||
- Class/Interface naming
|
||||
- Will be especially helpful for error messages
|
||||
- Class module is becoming too large; refactor
|
||||
|
||||
Property Keywords
|
||||
|
|
Loading…
Reference in New Issue