Bug 943673 - Convert to Promise.jsm in the source editor. r=anton

This commit is contained in:
Brandon Benvie 2013-12-02 14:10:57 -08:00
parent 47c7148be1
commit 0f5930d447

View File

@ -16,7 +16,7 @@ const XUL_NS = "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.x
// while shifting to a line which was initially out of view.
const MAX_VERTICAL_OFFSET = 3;
const promise = require("sdk/core/promise");
const {Promise: promise} = Cu.import("resource://gre/modules/Promise.jsm", {});
const events = require("devtools/shared/event-emitter");
Cu.import("resource://gre/modules/Services.jsm");