Add the functionalities to support Promises in older browsers. The implementation is purely based on the ECMA's specifications.
For more informations on how to use the Promise object, see Mozzila's Promise reference
<script src="promise.js"></script>
<script>
var promise = new Promise(function(resolve, reject) {
...
});
</script>
- Promise executor
- Promise.prototype.catch
- Promise.prototype.then
- Promise.all
- Promise.race
- Promise.reject
- Promise.resolve
##Licence The MIT License (MIT)