* Fix pas2js issue 39212

This commit is contained in:
Michaël Van Canneyt 2022-02-02 21:58:35 +01:00
parent 4e51973dba
commit abac7a02bd

View File

@ -158,7 +158,7 @@ Type
end;
{ TJSElement }
TJSElement = Class(TJSObject)
private
FData: TObject;
@ -167,8 +167,10 @@ Type
FColumn: Integer;
FSource: String;
Public
Type
TFreeNotifyEvent = Procedure(aEl : TJSElement) of object;
class var
GlobalFreeHook : Procedure(aEl : TJSElement) of object;
GlobalFreeHook : TFreeNotifyEvent;
Public
Constructor Create(ALine,AColumn : Integer; Const ASource : String = ''); virtual;
Destructor Destroy; override;