-
Notifications
You must be signed in to change notification settings - Fork 176
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support existing 'events' attribute as function
Stickit binds to form and contentEditable element changes by adding bindings to a view's 'events' attribute, which may already exist on the view. This commit updates stickit() to support an existing 'events' attribute that is specified as a function, which is already allowed by Backbone.
- Loading branch information
1 parent
8baa62d
commit f1d1cb1
Showing
2 changed files
with
123 additions
and
5 deletions.
There are no files selected for viewing
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
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