teddit/node_modules/bluebird/js/main/bluebird.js
2020-11-17 21:44:32 +01:00

12 lines
294 B
JavaScript

"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;