commit b6c04a1653b1da64137e306063efebd971d33d5b parent 3bfe5949d78ff9c8baf35a039b45046cd12f927c Author: Simon Kornblith <simon@simonster.com> Date: Sun, 4 May 2014 19:05:41 -0400 Use var instead of let This code gets included into the bookmarklet, so uglifyjs has to like it Diffstat:
| M | 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 @@ -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