mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-14 13:59:28 +02:00
* Define JSJSON to as to use static methods
This commit is contained in:
parent
f8559610e0
commit
9cc08d9124
@ -1127,6 +1127,7 @@ type
|
||||
var
|
||||
JSObject: IJSObject; // singleton of JS 'Object'
|
||||
JSDate: IJSDate; // singleton of JS 'Date'
|
||||
JSJSON: IJSJSON; // singleton of JS 'Date'
|
||||
|
||||
// imported functions from browser
|
||||
function __job_invoke_noresult(
|
||||
@ -4068,5 +4069,6 @@ exports JOBCallback;
|
||||
initialization
|
||||
JSObject:=TJSObject.JOBCreateGlobal('Object') as IJSObject;
|
||||
JSDate:=TJSDate.JOBCreateGlobal('Date') as IJSDate;
|
||||
JSJSON:=TJSJSON.JOBCreateGlobal('JSON') as IJSJSON;
|
||||
end.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user