Skip to content

Instantly share code, notes, and snippets.

@simonrenoult
Created February 26, 2014 16:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save simonrenoult/9232764 to your computer and use it in GitHub Desktop.
Save simonrenoult/9232764 to your computer and use it in GitHub Desktop.
Inherit parent property in Backbone
# Inherits parent events and allow overriding.
@events = _.extend {}, CardView::events, @events
# Call parent initialize method
SpellsCreateView.__super__.initialize.apply @,arguments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment