1
0
Fork 0

README corrections

closure/master
Mike Gerwitz 2011-03-07 23:21:15 -05:00
parent 354061cd5f
commit 22220cd2da
1 changed files with 5 additions and 6 deletions

View File

@ -1,9 +1,9 @@
# ease.js # ease.js
ease.js is (to be) a basic collection of CommonJS modules intended to ease.js is a basic collection of CommonJS modules intended to "ease" the
"ease" the transition into JavaScript from other Object-Oriented languages. It transition into JavaScript from other Object-Oriented languages. It provides an
provides an intuitive means of achieving classical inheritance and has planned intuitive means of achieving classical inheritance and has planned support
support traits/mixins. traits/mixins.
Current support includes: Current support includes:
@ -31,8 +31,7 @@ ease.js uses the [CommonJS](http://commonjs.org) module format. In the
examples below, [Node.js](http://nodejs.org) is used. examples below, [Node.js](http://nodejs.org) is used.
### Creating Classes ### Creating Classes
If creating a class from scratch, then the process involves extending the base The constructor is provided as the `__construct()` method (influenced by
class. The constructor is provided as the `__construct()` method (influenced by
[PHP](http://php.net)). [PHP](http://php.net)).
var Class = require( 'easejs' ).Class; var Class = require( 'easejs' ).Class;