mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-30 11:20:23 +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);
|
Obj.Add('sourcesContent',Arr);
|
||||||
for i:=0 to SourceCount-1 do
|
for i:=0 to SourceCount-1 do
|
||||||
if SourceContents[i]='' then
|
if SourceContents[i]='' then
|
||||||
Arr.Add('null')
|
Arr.Add(TJSONNull.Create)
|
||||||
else
|
else
|
||||||
Arr.Add(SourceContents[i]);
|
Arr.Add(SourceContents[i]);
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user