Javascript中Promise对象的实现 http://segmentfault.com/a/1190000000684654 http://www.infoq.com/cn/news/2011/09/js-promise/