Skip to content

Commit 5681b49

Browse files
committed
remove "is" attribute when binding components (fix #1729)
1 parent d88acc1 commit 5681b49

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/directives/internal/component.js

+3-2
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,11 @@ module.exports = {
3939
// transition related state
4040
this.pendingRemovals = 0
4141
this.pendingRemovalCb = null
42-
// check dynamic component params
43-
// create a ref anchor
42+
// create a ref anchor
4443
this.anchor = _.createAnchor('v-component')
4544
_.replace(this.el, this.anchor)
45+
// remove is attribute
46+
this.el.removeAttribute('is')
4647
// if static, build right now.
4748
if (this.literal) {
4849
this.setComponent(this.expression)

0 commit comments

Comments
 (0)