From 56f673972a03930487d8e2351e45dd17467dd230 Mon Sep 17 00:00:00 2001 From: adroitwhiz Date: Tue, 14 Jul 2020 16:36:12 -0400 Subject: [PATCH] Fix @type annotations so JSDoc doesn't complain --- src/RenderWebGL.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/RenderWebGL.js b/src/RenderWebGL.js index 47af47d..64e1792 100644 --- a/src/RenderWebGL.js +++ b/src/RenderWebGL.js @@ -191,12 +191,12 @@ class RenderWebGL extends EventEmitter { /** @type {Array.} */ this._snapshotCallbacks = []; - /** @type {Array} - * Don't set this directly-- use setBackgroundColor so it stays in sync with _backgroundColor3b */ + /** @type {Array} */ + // Don't set this directly-- use setBackgroundColor so it stays in sync with _backgroundColor3b this._backgroundColor4f = [0, 0, 0, 1]; - /** @type {Uint8ClampedArray} - * Don't set this directly-- use setBackgroundColor so it stays in sync with _backgroundColor4f */ + /** @type {Uint8ClampedArray} */ + // Don't set this directly-- use setBackgroundColor so it stays in sync with _backgroundColor4f this._backgroundColor3b = new Uint8ClampedArray(3); this._createGeometry();