[console.js] Add logging method from common.js

This commit is contained in:
Christoph Diehl 2017-04-23 00:16:24 +03:00
parent fa1a194b71
commit a947263c0b

View file

@ -59,7 +59,7 @@ utils.script = {
},
safely: function (s) {
if (window.debug) {
return "try { " + s + " } catch(e) { Logger.JSError(e); }";
return "try { " + s + " } catch(e) { logger.JSError(e); }";
}
return "try { " + s + " } catch(e) { }";
},