Override object's methods without harmony proxy.
npm install custom-object
- Clone the repository
- Run
npm install
- Run
grunt
to compile the native and CoffeeScript code - Run
grunt test
to run the specs
customObject = require 'custom-object'
Creates a new object with template set by handler
.
Creates a function, when the returned function is being called as constructor,
the passed constructor
function would be used, and the created object would
use hanlder
as template.