Explorar o código

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

michael %!s(int64=7) %!d(string=hai) anos
pai
achega
4710b7342c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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