Created
March 11, 2016 17:20
-
-
Save julesbou/4fd3a09b3a4a615c8c36 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Backbone.Model.prototype._super = | |
Backbone.View.prototype._super = | |
Backbone.Router.prototype._super = | |
Backbone.Collection.prototype._super = function(funcName){ | |
return this.constructor.__super__[funcName].apply(this, _.rest(arguments)); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment