Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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