6.7.0 - Alpha13 - 同步并兼容 Rhino 引擎上游代码 (2.0.0-SNAPSHOT)
This commit is contained in:
@@ -5,10 +5,7 @@
|
||||
* @see https://raw.githubusercontent.com/taylorhakes/promise-polyfill/master/dist/polyfill.js
|
||||
*/
|
||||
|
||||
/**
|
||||
* @type {PromiseConstructorLike}
|
||||
*/
|
||||
module.exports = (/* @IIFE */ () => {
|
||||
( /* @ModuleIIFE */ () => {
|
||||
let _ = {
|
||||
isArray(x) {
|
||||
return Boolean(x && typeof x.length !== 'undefined');
|
||||
@@ -314,5 +311,8 @@ module.exports = (/* @IIFE */ () => {
|
||||
},
|
||||
});
|
||||
|
||||
return Promise;
|
||||
/**
|
||||
* @type {PromiseConstructorLike}
|
||||
*/
|
||||
module.exports = Promise;
|
||||
})();
|
||||
Reference in New Issue
Block a user