Octal literals invalid in strict mode, replacing with hexadecimal
Relevant in connectors
This commit is contained in:
parent
fbd21bae16
commit
eaa758870e
|
@ -80,8 +80,8 @@ Zotero.Debug = new function () {
|
||||||
var slowPrefix = "";
|
var slowPrefix = "";
|
||||||
var slowSuffix = "";
|
var slowSuffix = "";
|
||||||
if (_slowTime && delta > _slowTime) {
|
if (_slowTime && delta > _slowTime) {
|
||||||
slowPrefix = "\033[31;40m";
|
slowPrefix = "\x1b[31;40m";
|
||||||
slowSuffix = "\033[0m";
|
slowSuffix = "\x1b[0m";
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: Replace with String.prototype.padStart once available (Fx48)
|
// TODO: Replace with String.prototype.padStart once available (Fx48)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user