www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit 7135b9f5a75391ede755e284e41af807e9345d2f
parent 73a9eb27093f767d83204b8a99a99266fd4db475
Author: Dan Stillman <dstillman@zotero.org>
Date:   Mon, 12 Aug 2013 03:55:39 -0400

Remove unnecessary import

Diffstat:
Mchrome/content/zotero/xpcom/db.js | 9---------
1 file changed, 0 insertions(+), 9 deletions(-)

diff --git a/chrome/content/zotero/xpcom/db.js b/chrome/content/zotero/xpcom/db.js @@ -34,15 +34,6 @@ Zotero.DBConnection = function(dbName) { throw ('DB name not provided in Zotero.DBConnection()'); } - // Code modules for async methods - // Fx21+ - try { - Components.utils.import("resource://gre/modules/commonjs/sdk/core/promise.js", this); - } - // Fx20 - catch (e) { - Components.utils.import("resource://gre/modules/commonjs/promise/core.js", this); - } Components.utils.import("resource://gre/modules/Task.jsm", this); Components.utils.import("resource://gre/modules/Sqlite.jsm", this);