Skip to content

Instantly share code, notes, and snippets.

@Siedrix
Last active August 29, 2015 14:09
Show Gist options
  • Save Siedrix/62b69da4e5ffe97793b5 to your computer and use it in GitHub Desktop.
Save Siedrix/62b69da4e5ffe97793b5 to your computer and use it in GitHub Desktop.
Backbone.Widget
Backbone.Widget = function() {
this.initialize.apply(this, arguments);
};
_.extend(Backbone.Widget.prototype, Backbone.Events, {
initialize : function(){},
});
Backbone.Widget.extend = Backbone.View.extend;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment