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

fix #512 #531

Merged
merged 1 commit into from May 20, 2017
Merged

fix #512 #531

merged 1 commit into from May 20, 2017

Conversation

FlyingBlazer
Copy link
Contributor

this is a simple syntax error when using arrow function

you need to use return when using {} in arrow function

see http://es6.ruanyifeng.com/#docs/function#箭头函数 for syntax reference

@lijiarui
Copy link
Member

yes, you are right, thanks for your request, please see my latest pr: #514

It can works well now.

@huan
Copy link
Member

huan commented May 20, 2017

@FlyingBlazer Good catch!

Thank you for pointing this out and make the PR.

@huan huan merged commit f3f5425 into wechaty:master May 20, 2017
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.

None yet

3 participants