Explorar o código

refactor: linting

Volker Buzek %!s(int64=6) %!d(string=hai) anos
pai
achega
d4f6bfed63
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/renderers/webgl/WebGLTextures.js

+ 1 - 1
src/renderers/webgl/WebGLTextures.js

@@ -14,7 +14,7 @@ function WebGLTextures( _gl, extensions, state, properties, capabilities, utils,
 	// also OffscreenCanvas.getContext("webgl"), but not OffscreenCanvas.getContext("2d")!
 
 	var useOffscreenCanvas = typeof OffscreenCanvas !== 'undefined'
-		&& (new OffscreenCanvas(1, 1).getContext("2d")) !== null;
+		&& ( new OffscreenCanvas( 1, 1 ).getContext( "2d" ) ) !== null;
 
 	function createCanvas( width, height ) {