commit 8d7db5a63e61a1082b8ccc7f842b6592a042d134 parent 20a50d1aaa7a54fe2adefdd52191a088d60a999e Author: Aurimas Vinckevicius <aurimas.dev@gmail.com> Date: Sat, 27 Dec 2014 01:41:54 -0600 Remove safeDebug Diffstat:
| M | chrome/content/zotero/xpcom/zotero.js | | | 17 | ----------------- |
1 file changed, 0 insertions(+), 17 deletions(-)
diff --git a/chrome/content/zotero/xpcom/zotero.js b/chrome/content/zotero/xpcom/zotero.js @@ -46,7 +46,6 @@ Components.utils.import("resource://gre/modules/Services.jsm"); this.logError = logError; this.getErrors = getErrors; this.getSystemInfo = getSystemInfo; - this.safeDebug = safeDebug; this.getString = getString; this.localeJoin = localeJoin; this.setFontSize = setFontSize; @@ -1398,22 +1397,6 @@ Components.utils.import("resource://gre/modules/Services.jsm"); AddonManager.getAllAddons(onHaveInstalledAddons); } - - function safeDebug(obj){ - for (var i in obj){ - try { - Zotero.debug(i + ': ' + obj[i]); - } - catch (e){ - try { - Zotero.debug(i + ': ERROR'); - } - catch (e){} - } - } - } - - function getString(name, params){ try { if (params != undefined){