Closed mzedeler closed 11 years ago
Sorry. This is horribly broken. Will do another.
This should be it.
I have removed the debug
function and made it a method on the router prototype. Tested all three cases:
console.log
(default).function(err){throw err}
for kicks).The first method above may still fail on some browsers, but it shouldn't be any worse that before.
Thank you, your patch has been merged in the latest commit.
I've just changed the value to disable debugging, since false
seems easier to remember than null
.
Thanks again for putting your time into this.
Sure. No problem. I had an itch...
Two notes:
debugHandler: null
in order to disable debugging entirely. It is an odd way of doing so, but will preserve backwards compatibility.