mirror of
https://gitlab.com/freepascal.org/fpc/pas2js.git
synced 2025-08-14 10:09:05 +02:00
* Fix changed TJSJON.Parse definition
This commit is contained in:
parent
8082c6993e
commit
5b1f8f55dc
@ -249,7 +249,7 @@ begin
|
|||||||
if Options.log then
|
if Options.log then
|
||||||
console.warn('Status received');
|
console.warn('Status received');
|
||||||
try
|
try
|
||||||
Data:=TJSJSON.parse(FLastReq.responseText);
|
Data:=TJSJSON.parseObject(FLastReq.responseText);
|
||||||
HandleMessage(Data);
|
HandleMessage(Data);
|
||||||
except
|
except
|
||||||
console.error('Error parsing JSON status text: '+FLastReq.responseText);
|
console.error('Error parsing JSON status text: '+FLastReq.responseText);
|
||||||
|
Loading…
Reference in New Issue
Block a user