Browse Source

* Fix compilation after TJSJSON returns now a JSValue, no longer object

michael 7 years ago
parent
commit
4710b7342c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      demo/fpcunit/frmrunform.pp

+ 1 - 1
demo/fpcunit/frmrunform.pp

@@ -45,7 +45,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