mirror of
https://gitlab.com/freepascal.org/fpc/pas2js.git
synced 2025-08-14 00:50:25 +02:00
* Fix compilation after TJSJSON returns now a JSValue, no longer object
This commit is contained in:
parent
efbdea550d
commit
4710b7342c
@ -45,7 +45,7 @@ begin
|
|||||||
Result:=True;
|
Result:=True;
|
||||||
console.warn('Compile request response received');
|
console.warn('Compile request response received');
|
||||||
try
|
try
|
||||||
Data:=TJSJSON.parse(FLastReq.responseText);
|
Data:=TJSJSON.parseObject(FLastReq.responseText);
|
||||||
if data['success'] then
|
if data['success'] then
|
||||||
begin
|
begin
|
||||||
if isInteger(data['compileID']) then
|
if isInteger(data['compileID']) then
|
||||||
|
Loading…
Reference in New Issue
Block a user