Remove data addition

This commit is contained in:
Jiiks 2018-03-10 10:20:29 +02:00
parent 45545d86b4
commit fe319e58fe
1 changed files with 2 additions and 5 deletions

View File

@ -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
});
}