Promises/A+ passing
Pre-release
Pre-release
Note: this release passed all the specs but had an infinite recursion bug that meant the compliance suite never quit. Therefore, this release did not truly pass Promises/A+.
Passing the core Promises/A+ compliance tests. Included are:
- a promise constructor
Potential
- invokes an executor function with
resolve
andreject
parameters - returns a new
promise
- invokes an executor function with
- a deferral factory function
Potential.defer()
- deferrals have
resolve
andreject
methods (which ultimately call thesettle
method) - deferrals are each associated with a unique
promise
property
- deferrals have
promise
s have:- a
.then
method to add optional success & error handlers
- a