Make prettier happy

This commit is contained in:
Vinoth Kannan 2018-08-01 15:13:54 +05:30
parent 8556288397
commit 8178444382
1 changed files with 2 additions and 1 deletions

View File

@ -474,7 +474,8 @@ class Element {
}
tag() {
const tag = new (tags().filter(t => new t().name === this.name)[0] || Tag)();
const tag = new (tags().filter(t => new t().name === this.name)[0] ||
Tag)();
tag.element = this;
return tag;
}