mirror of
https://gitlab.com/freepascal.org/fpc/pas2js.git
synced 2025-10-02 03:49:14 +02:00
* Fix compilation after TJSJSON returns now a JSValue, no longer object
This commit is contained in:
parent
961fe77586
commit
16a721e9fa
@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<CONFIG>
|
||||
<ProjectOptions>
|
||||
<Version Value="10"/>
|
||||
<Version Value="11"/>
|
||||
<General>
|
||||
<Flags>
|
||||
<MainUnitHasCreateFormStatements Value="False"/>
|
||||
@ -21,9 +21,10 @@
|
||||
<Version Value="2"/>
|
||||
</PublishOptions>
|
||||
<RunParams>
|
||||
<local>
|
||||
<FormatVersion Value="1"/>
|
||||
</local>
|
||||
<FormatVersion Value="2"/>
|
||||
<Modes Count="1">
|
||||
<Mode0 Name="default"/>
|
||||
</Modes>
|
||||
</RunParams>
|
||||
<RequiredPackages Count="1">
|
||||
<Item1>
|
||||
|
@ -27,7 +27,7 @@ begin
|
||||
Result:=True;
|
||||
console.warn('Compile request response received');
|
||||
try
|
||||
Data:=TJSJSON.parse(FLastReq.responseText);
|
||||
Data:=TJSJSON.parseObject(FLastReq.responseText);
|
||||
if data['success'] then
|
||||
begin
|
||||
if isInteger(data['compileID']) then
|
||||
|
Loading…
Reference in New Issue
Block a user