Skip to content

Issue with v1.0.11 #2035

@fergaldoyle

Description

@fergaldoyle

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/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions