teddit/node_modules/bluebird/js/main/bluebird.js

12 lines
294 B
JavaScript
Raw Normal View History

2020-11-17 21:44:32 +01:00
"use strict";
var old;
if (typeof Promise !== "undefined") old = Promise;
function noConflict() {
try { if (Promise === bluebird) Promise = old; }
catch (e) {}
return bluebird;
}
var bluebird = require("./promise.js")();
bluebird.noConflict = noConflict;
module.exports = bluebird;