Cosmetic
This commit is contained in:
parent
83c81f894a
commit
34f1617a62
|
@ -41,7 +41,7 @@ export class Widget implements EventTarget {
|
||||||
|
|
||||||
const thisTemplate = template();
|
const thisTemplate = template();
|
||||||
dataflow {
|
dataflow {
|
||||||
const nodes = nodeGenerator(thisTemplate);
|
const nodes = this.nodeGenerator(thisTemplate);
|
||||||
if (nodes.length !== 1) {
|
if (nodes.length !== 1) {
|
||||||
throw new Error(`@syndicate-lang/html2: Expected exactly one node from template`);
|
throw new Error(`@syndicate-lang/html2: Expected exactly one node from template`);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue