- Fix: fix issue run in node 7.x
- Fix: fix issue when catch error by promise
add:
- bind this to then callback
add:
- Support chai
add:
- Support define generator method:
PromiseClass.create({*method(){ }});
- Promise callback can use generator function:
.then(function*(){ })
change:
- no wrap for constructor, then should return instance of this class
- no return value for constructor
- first version