Browse Source

pastojs: precompiled code: always store with unix line ending, write with platform line ending

git-svn-id: trunk@47742 -
Mattias Gaertner 4 years ago
parent
commit
07819e0115
1 changed files with 1 additions and 0 deletions
  1. 1 0
      packages/pastojs/src/fppas2js.pp

+ 1 - 0
packages/pastojs/src/fppas2js.pp

@@ -19503,6 +19503,7 @@ begin
     aJSWriter.Options:=DefaultJSWriterOptions;
     aJSWriter.IndentSize:=2;
     aJSWriter.SkipCurlyBrackets:=true;
+    aJSWriter.Writer.LineBreak:=#10;
     aJSWriter.WriteJS(El);
     Result:=aWriter.AsString;
   finally