Skip to content

Commit 55168b8

Browse files
committed
Fixed missing new line after component meta ( fixes #9 )
1 parent d28a7ce commit 55168b8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/lvelements/compiler/src/languagenodestojs.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -577,6 +577,8 @@ void LanguageNodesToJs::convertComponentDeclaration(ComponentDeclarationNode *no
577577
*compose << indent(indentValue + 1) << "get module(){ return \'" << ctx->currentImportUri << "\' }\n";
578578
}
579579
*compose << indent(indentValue) << "}";
580+
if ( newLineFollows(source, node->endByte()) )
581+
*compose << "\n";
580582
}
581583

582584
sections.push_back(compose);

0 commit comments

Comments
 (0)