We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b542519 commit c430896Copy full SHA for c430896
lib/utils.js
@@ -261,7 +261,7 @@ export function getNewCanvasAndCtx (width, height) {
261
canvas = new OffscreenCanvas(width, height)
262
ctx = canvas.getContext('2d')
263
if (ctx === null) {
264
- throw new Error('getContext of OffscreenCanvas returns null')
+ throw new Error("getContext of OffscreenCanvas returns null")
265
}
266
} catch (e) {
267
canvas = document.createElement('canvas')
0 commit comments