Browse Source

fcl-js: fixed TJSWriter.WriteExportStatement spacing

mattias 3 years ago
parent
commit
afa1a549ac
1 changed files with 3 additions and 3 deletions
  1. 3 3
      packages/fcl-js/src/jswriter.pp

+ 3 - 3
packages/fcl-js/src/jswriter.pp

@@ -1750,11 +1750,11 @@ begin
       N:=El.ExportNames[i];
       N:=El.ExportNames[i];
       if I>0 then
       if I>0 then
         Write(', ');
         Write(', ');
-      Write(N.Name+' ');
+      Write(N.Name);
       if N.Alias<>'' then
       if N.Alias<>'' then
-        Write('as '+N.Alias+' ');
+        Write(' as '+N.Alias);
       end;
       end;
-    Write('}');
+    Write(' }');
     if El.ModuleName<>'' then
     if El.ModuleName<>'' then
       Write(' from "'+El.ModuleName+'"');
       Write(' from "'+El.ModuleName+'"');
     end;
     end;