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

Issue with v1.0.11 #2035

Closed
fergaldoyle opened this issue Dec 16, 2015 · 0 comments
Closed

Issue with v1.0.11 #2035

fergaldoyle opened this issue Dec 16, 2015 · 0 comments

Comments

@fergaldoyle
Copy link
Contributor

With 1.0.10 the below works fine, with 1.0.11 I get error TypeError: text.replace is not a function

<icon class="abc" icon="def"></icon>
new Vue({
  el: 'body',
  components: {
    icon: {
        props: ['class', 'icon'],
        template: '<svg class="si-icon {{icon}} {{class}}"><use xlink:href=""></use></svg>'
    }
  }
});

Vue 1.0.10 - working
http://jsfiddle.net/fergal_doyle/7wvfq6jp/2/

Vue 1.0.11 - error
https://jsfiddle.net/fergal_doyle/m5Lr59of/3/

@fergaldoyle fergaldoyle changed the title Issue: SVG and v1.0.11 Issue with v1.0.11 Dec 16, 2015
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

1 participant