Skip to content

Can not pass multiline object in directive #717

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

Closed
grimalschi opened this issue Feb 19, 2015 · 1 comment
Closed

Can not pass multiline object in directive #717

grimalschi opened this issue Feb 19, 2015 · 1 comment

Comments

@grimalschi
Copy link

<div v-test="{x:1, y:2}"></div> - ok

<div v-test="{
x:1, y:2
}"></div> - TypeError: res is undefined

Live demo: http://jsfiddle.net/ty7u7zwm/1/

yyx990803 added a commit that referenced this issue Feb 21, 2015
fix #717: support multiline expressions
@yyx990803
Copy link
Member

Fixed by merging #717.

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

2 participants