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

修复异步fire问题 #5

Merged
merged 2 commits into from
Aug 22, 2016
Merged

修复异步fire问题 #5

merged 2 commits into from
Aug 22, 2016

Conversation

pixcai
Copy link
Contributor

@pixcai pixcai commented Aug 22, 2016

原先的fire函数在setTimeout中直接使用__fire_func(),这样并没有起到异步的效果,__fire_func()在异步前就已经执行了,setTimeout的参数应该是函数,而不是__fire_func()的执行结果。

@hustcc hustcc merged commit 6bc2df9 into hustcc:master Aug 22, 2016
@hustcc
Copy link
Owner

hustcc commented Aug 22, 2016

确实,我的疏忽感谢

hustcc pushed a commit that referenced this pull request Aug 22, 2016
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

Successfully merging this pull request may close these issues.

2 participants