A Saturday evening hack by Shane Tomlinson to implement the Promises A+ spec[http://promisesaplus.com/].