MyGit

2.0.0

taylorhakes/promise-polyfill

版本发布时间: 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;

相关地址:原始地址 下载(tar) 下载(zip)

查看:2015-02-04发行的版本