documentcloud/backbone — pull request #1178 by k33g (2012-04-04 03:06:02+00:00)
Title: Use "Backbone classes" : I wish I could do this : 

var Kind = function() {};
Kind.extend = Backbone.extend

var Human = Kind.extend({
hello : function() { console.log("hello : ", this); },
constructor : function Human (name) {
this.name = name
Human.counter+=1;
}
},{ //Static
counter : 3,
getCounter : function() { return this.counter; }
});

Actually i can use this : `Kind.extend = Backbone.Model.extend`, but it can be confusing.