/ Published in: jQuery
                    
                                        
Quite useful snippet to log all events triggering occuring in your app. Because it uses event.global array, it logs custom events as well as native ones
For developpement use only, disable it before migrating to production environement.
                For developpement use only, disable it before migrating to production environement.
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
for(var eventName in $.event.global) {
$("*").bind(eventName, function(event) {
console.log(
event.type+": "+
event.target.nodeName+") "+
Array.prototype.slice.call(arguments, 1).join(", "));
});
}
Comments
 Subscribe to comments
                    Subscribe to comments
                
                