From 5c5db03ff3ebf21715a0609ac11f7db9232b79cb Mon Sep 17 00:00:00 2001 From: Michael Franzl Date: Tue, 21 Mar 2023 18:49:14 +0100 Subject: [PATCH] fixup! Support for OffscreenCanvas in Web Workers #2481 --- src/core/platform.js | 2 +- src/framework/application.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/platform.js b/src/core/platform.js index bf3417c53b6..7a24fd5f73a 100644 --- a/src/core/platform.js +++ b/src/core/platform.js @@ -88,7 +88,7 @@ const platform = { browser: environment === 'browser', /** - * Convenience boolean indicating whether we're running in a web worker + * Convenience boolean indicating whether we're running in a Web Worker * * @type {boolean} */ diff --git a/src/framework/application.js b/src/framework/application.js index 8f5f1a7b038..c056aece75c 100644 --- a/src/framework/application.js +++ b/src/framework/application.js @@ -92,7 +92,7 @@ class Application extends AppBase { /** * Create a new Application instance. * - * @param {HTMLCanvasElement | OffscreenCanvas } canvas - The canvas element. + * @param {HTMLCanvasElement | OffscreenCanvas} canvas - The canvas element. * @param {object} [options] - The options object to configure the Application. * @param {import('./input/element-input.js').ElementInput} [options.elementInput] - Input * handler for {@link ElementComponent}s.