mirror of
https://gitlab.com/freepascal.org/fpc/pas2js.git
synced 2025-04-05 00:47:47 +02:00
* Add TJSHTMLOffscreenCanvas alias
This commit is contained in:
parent
f771f08f28
commit
e7cba1acdc
@ -134,6 +134,7 @@ Type
|
||||
TJSImageBitmap = BrowserApi.WebOrWorker.TJSImageBitmap;
|
||||
TJSOffscreenCanvasRenderingContext2D = BrowserApi.WebOrWorker.TJSOffscreenCanvasRenderingContext2D;
|
||||
TJSHTMLOffscreenCanvasElement = BrowserApi.WebOrWorker.TJSHTMLOffscreenCanvas;
|
||||
TJSHTMLOffscreenCanvas = BrowserApi.WebOrWorker..TJSHTMLOffscreenCanvas;
|
||||
{$ELSE}
|
||||
TJSServiceWorker = weborworker.TJSServiceWorker;
|
||||
TJSServiceWorkerRegistration = weborworker.TJSServiceWorkerRegistration;
|
||||
@ -214,6 +215,7 @@ Type
|
||||
TJSImageBitmap = weborworker.TJSImageBitmap;
|
||||
TJSOffscreenCanvasRenderingContext2D = weborworker.TJSOffscreenCanvasRenderingContext2D;
|
||||
TJSHTMLOffscreenCanvasElement = weborworker.TJSHTMLOffscreenCanvas;
|
||||
TJSHTMLOffscreenCanvas = weborworker.TJSHTMLOffscreenCanvas;
|
||||
{$ENDIF}
|
||||
TJSMessagePortArray = TJSMessagePortDynArray;
|
||||
TEventListenerEvent = TJSEvent;
|
||||
|
Loading…
Reference in New Issue
Block a user