Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated formatting for the change/submit special event logic. Also sw…
…itched the function declarations to statements. Thanks to Garrett for the recommendation.
- Loading branch information
Showing
1 changed file
with
84 additions
and
83 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
5267824
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Couldn't the teardown be reduced to a single line by just using the namespace?
jQuery.event.remove( this, ".specialSubmit" );
5267824
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good call - fixed in 35c3790.