omarkhd / bextend

Backbone-like extend function helper for Node.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

bextend


what is bextend?

bextend is the Backbone extend function helper wrapped in a Node.js module.


install

npm install bextend --save

usage

var extend = require('bextend');

var SomeClass = function() {};
SomeClass.extend = extend;

SomeClass.prototype = {
	someMethod = function() {}
};

SomeOtherClass = SomeClass.extend({
	otherMethod = function() {}
});

thanks

About

Backbone-like extend function helper for Node.js

License:MIT License


Languages

Language:JavaScript 100.0%