Created
July 11, 2015 11:17
-
-
Save Mati365/458f688a067625c0b72d to your computer and use it in GitHub Desktop.
JQuery Bug
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
// bug: element.bind('click', <any> element.toggleClass.bind(element, scope.className)); | |
element.bind('click', () => { | |
element.toggleClass(scope.className) | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment