Thanks to visit codestin.com
Credit goes to github.com

Skip to content

fix: directive I/F consistency #2499

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

Merged
merged 1 commit into from
Mar 16, 2016
Merged

Conversation

kazupon
Copy link
Member

@kazupon kazupon commented Mar 16, 2016

No description provided.

yyx990803 added a commit that referenced this pull request Mar 16, 2016
@yyx990803 yyx990803 merged commit 7323a0e into vuejs:dev Mar 16, 2016
@vuchl
Copy link
Contributor

vuchl commented Mar 17, 2016

I'm no JS master so can someone explain why you got rid of the function keyword and what it does?

Is it just another syntax? I see the consistency with e.g. the v-ondirective code.

@blake-newman
Copy link
Member

@vuchl This is es6 syntax, it basically sugar syntax for functions in objects.

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.

4 participants