0.3.0 • Published 10 years ago

baseclass v0.3.0

Weekly downloads
1
License
-
Repository
-
Last release
10 years ago

#baseclass

For when you just wan't Backbone's Class.extend() function.

Backbone.js style inheritance. The extend function has been taken directly from Backbone. This is really @bermi 's idea.

Very similar to uberclass and class.js -- the main difference is that the prototype props and static props order has been reversed.

##Usage

var BaseClass = require("baseclass");

var MyClass = BaseClass.extend({
    someProp: 'My property value',
    someMethod: function () { ... }
},{
    optionalStaticProp = "MyClass.optionalStaticProp"
});

##Licence

MIT

0.3.0

10 years ago

0.2.2

10 years ago

0.2.1

11 years ago

0.2.11111111111

11 years ago

0.2.0

11 years ago

0.1.1

11 years ago