Browse Source

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

michael 7 năm trước cách đây
mục cha
commit
4710b7342c
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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