Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Just do this : (and include backbone.js)
- var Kind = function() {
- this.initialize && this.initialize.apply(this, arguments);
- };
- Kind.extend = Backbone.Model.extend
- //Simpler
- var Thing = function() {};
- Thing.extend = Backbone.Model.extend
Add Comment
Please, Sign In to add comment