Skip to content

Should not add setter to Array expression values in v-with (breaks in IE & Safari) #776

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
namniak opened this issue Apr 10, 2015 · 1 comment

Comments

@namniak
Copy link

namniak commented Apr 10, 2015

having

<div v-with="points: [{x:1003, y:666}, {x:995, y:680}]></div>

will warn in Chrome:

Invalid setter function body:  [{x:1003, y:666},{x:995, y:680}]"

and break in IE: "Invalid left-hand side in assignment"

@yyx990803
Copy link
Member

I can't reproduce this, can you make a jsfiddle?

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