fix lacking semicolon; for import
This commit is contained in:
parent
4064e59701
commit
57082c3674
3 changed files with 4 additions and 4 deletions
2
a.clo
2
a.clo
|
@ -1,6 +1,6 @@
|
|||
/* ba choir
|
||||
ipsum lorem*/
|
||||
|
||||
import * as dublin from 'dublin';
|
||||
---
|
||||
我是一隻古怪的虎斑貓。擅長喵喵叫。
|
||||
the quick brown fox jumps over the lazy dog.
|
||||
|
|
4
a.js
4
a.js
|
@ -6,8 +6,8 @@ import * as clo from "clo";
|
|||
cl = clo.initClo();
|
||||
/* CLO: end of head*/
|
||||
/* ba choir
|
||||
ipsum lorem*/
|
||||
|
||||
ipsum lorem*/;
|
||||
import * as dublin from 'dublin';
|
||||
|
||||
/* CLO: beginning of middle part*/
|
||||
cl.mainText = /* CLO: end of middle part*/
|
||||
|
|
|
@ -273,7 +273,7 @@ export function treeToJS(tree : tkTree): string{
|
|||
let importsText = imports.map(
|
||||
(x)=>{
|
||||
if (Array.isArray(x)){
|
||||
return x.join('');
|
||||
return x.join('') + ';';
|
||||
}
|
||||
else{
|
||||
return x;
|
||||
|
|
Loading…
Reference in a new issue