Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
openElement(tag: str, blockParams: string[]) {
if (tag.indexOf('-') !== -1) {
this.startComponent(blockParams);
} else {
this.push([Ops.OpenElement, tag, blockParams]);
}
}