README corrections
parent
354061cd5f
commit
22220cd2da
11
README.md
11
README.md
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue