Skip to content

Commit

Permalink
fix: move from template string to render function.
Browse files Browse the repository at this point in the history
  • Loading branch information
Dobromir Hristov committed Sep 23, 2017
1 parent 817d82e commit 37b093e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@
default: false
}
},
template: '<div :id="elementId"></div>',
render (h) {
return h('div', { attrs: { id: this.elementId }})
},
watch: {
videoId: 'update'
},
Expand Down

0 comments on commit 37b093e

Please sign in to comment.