Bug 887907 - Move OS.File to use Promise.jsm; r=gps

--HG--
extra : rebase_source : cab194eea7781dfd5c14732a77710d6d7904525b
This commit is contained in:
Stefan Mirea 2013-06-27 11:15:41 -07:00
parent 42183897e2
commit d44e08b773
3 changed files with 3 additions and 3 deletions

View File

@ -10,7 +10,7 @@
this.EXPORTED_SYMBOLS = ["PromiseWorker"];
// The library of promises.
Components.utils.import("resource://gre/modules/commonjs/sdk/core/promise.js", this);
Components.utils.import("resource://gre/modules/Promise.jsm", this);
/**
* An implementation of queues (FIFO).

View File

@ -45,7 +45,7 @@ if (OS.Constants.Win) {
let Type = OS.Shared.Type;
// The library of promises.
Components.utils.import("resource://gre/modules/commonjs/sdk/core/promise.js", this);
Components.utils.import("resource://gre/modules/Promise.jsm", this);
// The implementation of communications
Components.utils.import("resource://gre/modules/osfile/_PromiseWorker.jsm", this);

View File

@ -1,7 +1,7 @@
"use strict";
Components.utils.import("resource://gre/modules/osfile.jsm");
Components.utils.import("resource://gre/modules/commonjs/sdk/core/promise.js");
Components.utils.import("resource://gre/modules/Promise.jsm");
Components.utils.import("resource://gre/modules/Task.jsm");
// The following are used to compare against a well-tested reference