Created
January 3, 2012 20:19
-
-
Save johnkpaul/1556717 to your computer and use it in GitHub Desktop.
log all jQuery event triggers to the console
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
var __temp_trigger = $.fn.trigger; | |
$.fn.trigger = function(){console.log(arguments, " triggered on element ", this); return __temp_trigger.apply(this,arguments);} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment