From b6c04a1653b1da64137e306063efebd971d33d5b Mon Sep 17 00:00:00 2001 From: Simon Kornblith Date: Sun, 4 May 2014 19:05:41 -0400 Subject: [PATCH] Use var instead of let This code gets included into the bookmarklet, so uglifyjs has to like it --- chrome/content/zotero/xpcom/debug.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/xpcom/debug.js b/chrome/content/zotero/xpcom/debug.js index b7352b2cb6..3e9eb64f87 100644 --- a/chrome/content/zotero/xpcom/debug.js +++ b/chrome/content/zotero/xpcom/debug.js @@ -111,7 +111,7 @@ Zotero.Debug = new function () { // // TODO: Get rid of the filename and line number 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); } // Otherwise dump to the text console