mirror of
https://gitlab.com/freepascal.org/fpc/pas2js.git
synced 2025-04-07 16:58:10 +02:00
* Declare external variables really as external
This commit is contained in:
parent
7d4d5afb64
commit
24ad3b1326
@ -130,10 +130,10 @@ Type
|
||||
|
||||
Var
|
||||
Self_ : TJSServiceWorkerGlobalScope; external name 'self';
|
||||
location : TJSWorkerLocation;
|
||||
console : TJSConsole;
|
||||
navigator : TJSWorkerNavigator;
|
||||
caches : TJSCacheStorage;
|
||||
location : TJSWorkerLocation ; external name 'location';
|
||||
console : TJSConsole; external name 'console';
|
||||
navigator : TJSWorkerNavigator; external name 'navigator';
|
||||
caches : TJSCacheStorage; external name 'caches';
|
||||
|
||||
function fetch(resource: String; init: TJSObject): TJSPromise; overload; external name 'fetch';
|
||||
//function fetch(resource: String): TJSPromise; overload; external name 'fetch';
|
||||
|
Loading…
Reference in New Issue
Block a user