mirror of
https://gitlab.com/freepascal.org/fpc/pas2js.git
synced 2025-04-05 21:47:47 +02:00
* Fix compilation after TJSJSON returns now a JSValue, no longer object
This commit is contained in:
parent
4710b7342c
commit
961fe77586
@ -609,7 +609,7 @@ begin
|
||||
console.log('Result of call ',xhr.Status);
|
||||
if (xhr.status = 200) then
|
||||
begin
|
||||
J:=TJSJSON.parse(xhr.responseText);
|
||||
J:=TJSJSON.parseObject(xhr.responseText);
|
||||
A:=TJSObjectDynArray(J.Properties['data']);
|
||||
for I:=0 to Length(A)-1 do
|
||||
begin
|
||||
|
Loading…
Reference in New Issue
Block a user