1.0.2 • Published 9 years ago
@protobufjs/extend v1.0.2
@protobufjs/extend
Provides minimal drop-in inheritance for classes.
Usage
function ParentClass() {
}
ParentClass.extend = require("@protobufjs/extend");function ChildClass() {
}
var ChildPrototype = ParentClass.extend(ChildClass); // also inherits .extend itselffunction GrandchildClass() {
}
var GrandchildPrototype = ChildClass.extend(GrandchildClass); // and so it goes foreverLicense: BSD 3-Clause License