Page Menu
Home
GnuPG
Search
Configure Global Search
Log In
Files
F20064468
promise.jsm
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Size
791 B
Subscribers
None
promise.jsm
View Options
/*global Components: false */
/*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
"use strict";
/*
This module is a shim module to make it easier to load
Promise from the various potential sources
*/
var EXPORTED_SYMBOLS = ["Promise"];
const Cu = Components.utils;
var scope = {};
try {
Cu.import("resource://gre/modules/Promise.jsm", scope); // Gecko >= 25
}
catch (ex) {
try {
Cu.import("resource://gre/modules/commonjs/sdk/core/promise.js", scope); // Gecko 21 to 24}
}
catch (ex2) {
Cu.import("resource://gre/modules/commonjs/promise/core.js", scope); // Gecko 17 to 20
}
}
var Promise = scope.Promise;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Feb 23, 7:15 PM (5 h, 9 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
34/79/190a8a16984c96f4855fc5a0d0ac
Attached To
rENIG Enigmail
Event Timeline
Log In to Comment