mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-17 12:39:25 +02:00
fcl-js: sourcemap: write optional sourcesContent
git-svn-id: trunk@36494 -
This commit is contained in:
parent
5a008e945b
commit
d039fa9b15
@ -516,7 +516,7 @@ begin
|
||||
Obj.Add('sourcesContent',Arr);
|
||||
for i:=0 to SourceCount-1 do
|
||||
if SourceContents[i]='' then
|
||||
Arr.Add('null')
|
||||
Arr.Add(TJSONNull.Create)
|
||||
else
|
||||
Arr.Add(SourceContents[i]);
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user