Initial Commit
- added Craft class with a convenience method for making a Promise
- added Promise class that defines the actual Promise instances
- added tests
- added a Deferred type to manage the resolution of Promises
- the Promise interface is kept simple and straight forward
- Deferred should only be made using it's create() method
- added tests for various Promises/A+ spec requirements
used GCD to ensure that promises get resolved/rejected in next frame
- added support for resolving multiple then's with the parent promise's result
- added tests for such a case
added test for multi reject on thens from a single promise
added Craft.all(Array) to bulk process an array of promises
added Craft.allSettled(Array) that is similar to Craft.all(Array) except that allSettled will always resolve and provide the state of each promise (FULFILLED or REJECTED) in the result
ignored project userdata
Merge branch 'master' of github.com:supertommy/craft