Just use console.error, it's in all browsers
This commit is contained in:
parent
a6e653be26
commit
f661fb0fd3
|
@ -41,7 +41,7 @@ function runCallback(x, m) {
|
||||||
try {
|
try {
|
||||||
x(m);
|
x(m);
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
(console.error || console.log).call(console, e.message, e);
|
console.error("error running callback", x, ":", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
function executeCallbacks(queue, m) {
|
function executeCallbacks(queue, m) {
|
||||||
|
|
Loading…
Reference in New Issue