commit eaa758870ea8b0966f7d7b6ea4e9d640cc5cd591
parent fbd21bae1600ac6b338a80c08de76b9c0530d823
Author: Adomas VenĨkauskas <adomas.ven@gmail.com>
Date: Thu, 8 Dec 2016 13:27:58 +0200
Octal literals invalid in strict mode, replacing with hexadecimal
Relevant in connectors
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/chrome/content/zotero/xpcom/debug.js b/chrome/content/zotero/xpcom/debug.js
@@ -80,8 +80,8 @@ Zotero.Debug = new function () {
var slowPrefix = "";
var slowSuffix = "";
if (_slowTime && delta > _slowTime) {
- slowPrefix = "\033[31;40m";
- slowSuffix = "\033[0m";
+ slowPrefix = "\x1b[31;40m";
+ slowSuffix = "\x1b[0m";
}
// TODO: Replace with String.prototype.padStart once available (Fx48)