diff --git a/chrome/content/zotero/xpcom/zotero.js b/chrome/content/zotero/xpcom/zotero.js index b9e6220b6..1a6f09e6b 100644 --- a/chrome/content/zotero/xpcom/zotero.js +++ b/chrome/content/zotero/xpcom/zotero.js @@ -1707,7 +1707,7 @@ Components.utils.import("resource://gre/modules/osfile.jsm"); this.serial = function (fn) { - Components.utils.import("resource://zotero/concurrent-caller.js"); + Components.utils.import("resource://zotero/concurrentCaller.js"); var caller = new ConcurrentCaller(1); caller.setLogger(Zotero.debug); return function () { diff --git a/resource/concurrent-caller.js b/resource/concurrentCaller.js similarity index 100% rename from resource/concurrent-caller.js rename to resource/concurrentCaller.js diff --git a/test/tests/syncEngineTest.js b/test/tests/syncEngineTest.js index 83674a5dd..09d602aed 100644 --- a/test/tests/syncEngineTest.js +++ b/test/tests/syncEngineTest.js @@ -15,7 +15,7 @@ describe("Zotero.Sync.Data.Engine", function () { server = sinon.fakeServer.create(); server.autoRespond = true; - Components.utils.import("resource://zotero/concurrent-caller.js"); + Components.utils.import("resource://zotero/concurrentCaller.js"); var caller = new ConcurrentCaller(1); caller.setLogger(msg => Zotero.debug(msg)); caller.stopOnError = true; diff --git a/test/tests/syncRunnerTest.js b/test/tests/syncRunnerTest.js index 454e08811..6f505afad 100644 --- a/test/tests/syncRunnerTest.js +++ b/test/tests/syncRunnerTest.js @@ -114,7 +114,7 @@ describe("Zotero.Sync.Runner", function () { apiKey: apiKey }); - Components.utils.import("resource://zotero/concurrent-caller.js"); + Components.utils.import("resource://zotero/concurrentCaller.js"); var caller = new ConcurrentCaller(1); caller.setLogger(msg => Zotero.debug(msg)); caller.stopOnError = true;