Simple Promise implementation
Use it if Promise
is not implemented:
if(!window.Promise) {
Promise = function(.....)
}
Supports:
- resolve
- reject
- then (also in chain)
- catch
- all
- race
Used as a part of Edequate framework.
Fiddle is here.
Simple Promise implementation
Use it if Promise
is not implemented:
if(!window.Promise) {
Promise = function(.....)
}
Supports:
Used as a part of Edequate framework.
Fiddle is here.