Skip to content

Instantly share code, notes, and snippets.

@seanmcgary
Last active August 29, 2015 14:16
Show Gist options
  • Select an option

  • Save seanmcgary/a95ba535208648e16dc0 to your computer and use it in GitHub Desktop.

Select an option

Save seanmcgary/a95ba535208648e16dc0 to your computer and use it in GitHub Desktop.
application.view.AddressView = application.view.BaseView.extend({
init: function(){
// init one
}
});
application.view.SubAddressView = application.view.AddressView.extend({
init: function(){
// init two
application.view.AddressView.prototype.init.apply(this, _.values(arguments));
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment