jdonaldson/promhx — pull request #1 by wighawag (2012-10-11 13:41:03+00:00)
Title: make then(f) call the function passed in synchronously if Promise already resolved

Hi,

First of all, thank you for this nice library that makes handling asynchronous call far more clean.

My pull request concern this question:
should not function then(f) call the callback synchronously if Promise already resolved (as specified in the doc)?
If so then this pull request fix it but please check whether I did not forget something.