2.0.0
版本发布时间: 2015-02-04 07:39:17
taylorhakes/promise-polyfill最新发布版本:8.2.2(2022-03-12 14:59:17)
Changed the following line
module.exports = root.Promise ? root.Promise : Promise;
to
module.exports = Promise;
This means the library will not use built-in Promise by default. This allows for more consistency.
You can easily add the functionality back.
var Promise = window.Promise || require('promise-polyfill');
Added Promise.immediateFn to allow changing the setImmedate function
Promise.immediateFn = window.setAsap;