Use var instead of let
This code gets included into the bookmarklet, so uglifyjs has to like it
This commit is contained in:
parent
3bfe5949d7
commit
b6c04a1653
|
@ -111,7 +111,7 @@ Zotero.Debug = new function () {
|
||||||
//
|
//
|
||||||
// TODO: Get rid of the filename and line number
|
// TODO: Get rid of the filename and line number
|
||||||
if (Zotero.isWin && !Zotero.isStandalone) {
|
if (Zotero.isWin && !Zotero.isStandalone) {
|
||||||
let console = Components.utils.import("resource://gre/modules/devtools/Console.jsm", {}).console;
|
var console = Components.utils.import("resource://gre/modules/devtools/Console.jsm", {}).console;
|
||||||
console.log(output);
|
console.log(output);
|
||||||
}
|
}
|
||||||
// Otherwise dump to the text console
|
// Otherwise dump to the text console
|
||||||
|
|
Loading…
Reference in New Issue
Block a user