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