Skip to content

Support v-class attr of svg in IE #537

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 4 commits into from
Nov 4, 2014
Merged

Support v-class attr of svg in IE #537

merged 4 commits into from
Nov 4, 2014

Conversation

tyage
Copy link

@tyage tyage commented Nov 3, 2014

in IE11, el.classList is not defined when el is SVGElement (such as , , etc...)

So <svg v-class="">, <svg v-transition> causes error in IE11.

example: http://jsfiddle.net/tyage/dpt6L1o1/

I fixed this problem.

yyx990803 added a commit that referenced this pull request Nov 4, 2014
Support v-class attr of svg in IE
@yyx990803 yyx990803 merged commit 5f27148 into vuejs:dev Nov 4, 2014
@yyx990803
Copy link
Member

Thanks @tyage ! Note 0.10.6 will no longer be updated, but I will incorporate your change into 0.11 branch.

@Mikecarbon

This comment was marked as spam.

@Mikecarbon

This comment was marked as spam.

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.

3 participants