frappe_docker/frappe-bench/node_modules/component-inherit
2017-07-31 15:51:51 +05:30
..
test Final docker setup 2017-07-31 15:51:51 +05:30
.npmignore Final docker setup 2017-07-31 15:51:51 +05:30
component.json Final docker setup 2017-07-31 15:51:51 +05:30
History.md Final docker setup 2017-07-31 15:51:51 +05:30
index.js Final docker setup 2017-07-31 15:51:51 +05:30
Makefile Final docker setup 2017-07-31 15:51:51 +05:30
package.json Final docker setup 2017-07-31 15:51:51 +05:30
Readme.md Final docker setup 2017-07-31 15:51:51 +05:30

inherit

Prototype inheritance utility.

Installation

$ component install component/inherit

Example

var inherit = require('inherit');

function Human() {}
function Woman() {}

inherit(Woman, Human);

License

MIT