Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

「勘误」: 12. Promise对象一节出现错误 #47

Closed
sursir opened this issue Mar 26, 2015 · 1 comment
Closed

「勘误」: 12. Promise对象一节出现错误 #47

sursir opened this issue Mar 26, 2015 · 1 comment

Comments

@sursir
Copy link

sursir commented Mar 26, 2015

错误类型:代码Bug,
错误范畴:Ajax,
错误位置: >> 12. Promise对象一节,
详细信息:

client.onreadystatechange进行回调处理时,handle方法中
没有判断**readyState**的状态, 这样带来的结果是 **readyState == 2**时提前触发了resolve回调函数,导致运行错误。

@xqin
Copy link
Contributor

xqin commented Dec 1, 2015

请参考这个: #97
你所发现的问题已经反馈给作者了.

@ruanyf ruanyf closed this as completed Dec 1, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants