check for window.console and window.console.log
This commit is contained in:
parent
9129908cf8
commit
ef5a51d6bc
1 changed files with 1 additions and 1 deletions
|
@ -207,7 +207,7 @@ Ox.Log = (function() {
|
||||||
args.unshift(
|
args.unshift(
|
||||||
Ox.formatDate(date, '%H:%M:%S.') + (+date).toString().slice(-3)
|
Ox.formatDate(date, '%H:%M:%S.') + (+date).toString().slice(-3)
|
||||||
);
|
);
|
||||||
window.console && window.console.log.apply(window.console, args);
|
window.console && window.console.log && window.console.log.apply(window.console, args);
|
||||||
ret = args.join(' ');
|
ret = args.join(' ');
|
||||||
}
|
}
|
||||||
return ret;
|
return ret;
|
||||||
|
|
Loading…
Reference in a new issue