Guest User

Untitled

a guest
Sep 23rd, 2018
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. // Just do this : (and include backbone.js)
  2. var Kind = function() {
  3. this.initialize && this.initialize.apply(this, arguments);
  4. };
  5. Kind.extend = Backbone.Model.extend
  6.  
  7. //Simpler
  8.  
  9. var Thing = function() {};
  10. Thing.extend = Backbone.Model.extend
Add Comment
Please, Sign In to add comment