step through events! must be initialized at the top of your scripts.
step through events! must be initialized at the top of your scripts.
$ component install matthewmueller/event-debugger
var ed = require('event-debugger');
ed('click');
$('li').click(function() {
console.log('li');
});
$('body').click(function() {
console.log('body');
});
EventDebugger(type)
Initialize the event debugger with a given type
. type
supports both strings and regex.
ed(/^(mouseover|mousedown)$/)
MIT