Skip to content

Edeqa/Promise

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

Promise

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.