Skip to content

Commit

Permalink
Remove data addition
Browse files Browse the repository at this point in the history
  • Loading branch information
Jiiks committed Mar 10, 2018
1 parent 45545d8 commit fe319e5
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions client/src/ui/vueinjector.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,13 @@ import Vue from './vue';

export default class {

static inject(root, bdnode, components, template, replaceRoot, data) {
static inject(root, bdnode, components, template, replaceRoot) {
if(!replaceRoot) bdnode.appendTo(root);

return new Vue({
el: replaceRoot ? root : bdnode.element,
components,
template,
data: {
data
}
template
});
}

Expand Down

0 comments on commit fe319e5

Please sign in to comment.