inherit-component
Prototype inheritance utility
Last updated 8 years ago .
Original npm · Tarball · package.json
$ cnpm install inherit-component 
SYNC missed versions from official npm registry.

inherit

Prototype inheritance utility.

Installation

$ component install component/inherit

Example

var inherit = require('inherit');

function Animal() {}
function Pet() {}

inherit(Animal, Pet);

License

MIT

Current Tags

  • 0.0.2                                ...           latest (8 years ago)

2 Versions

  • 0.0.2                                ...           8 years ago
  • 0.0.1                                ...           8 years ago

Copyright 2014 - 2017 © taobao.org |