Commit f661fb0f authored by Aarni Koskela's avatar Aarni Koskela

Just use console.error, it's in all browsers

parent a6e653be
......@@ -41,7 +41,7 @@ function runCallback(x, m) {
try {
x(m);
} catch (e) {
(console.error || console.log).call(console, e.message, e);
console.error("error running callback", x, ":", e);
}
}
function executeCallbacks(queue, m) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment