Created
December 2, 2016 09:55
-
-
Save mfd/31a399a92efe72e1d37e5e9a666f3ca8 to your computer and use it in GitHub Desktop.
aui delegate
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
A.one('.link').delegate('click',function(event) { | |
event.preventDefault(); | |
console.log('hahaha'); | |
}, | |
'a' | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment