From 49f7b06dbe7c493ca2f05bf9dbfebd3943b282ce Mon Sep 17 00:00:00 2001 From: Christopher Willis-Ford Date: Wed, 6 Sep 2017 15:23:28 -0600 Subject: [PATCH] Lint fixes --- src/PenSkin.js | 2 +- src/RenderConstants.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/PenSkin.js b/src/PenSkin.js index 2e2ce698d..9cd474d6b 100644 --- a/src/PenSkin.js +++ b/src/PenSkin.js @@ -189,7 +189,7 @@ class PenSkin extends Skin { const r = Math.round(color4f[0] * 255); const g = Math.round(color4f[1] * 255); const b = Math.round(color4f[2] * 255); - const a = color4f[3]; // Alpha is 0 to 1 (not 0 to 255 like r,g,b) + const a = color4f[3]; // Alpha is 0 to 1 (not 0 to 255 like r,g,b) context.strokeStyle = `rgba(${r},${g},${b},${a})`; context.lineCap = 'round'; diff --git a/src/RenderConstants.js b/src/RenderConstants.js index 4dc7ac4b7..04323c9ff 100644 --- a/src/RenderConstants.js +++ b/src/RenderConstants.js @@ -22,7 +22,7 @@ module.exports = { * @enum {string} */ Events: { - /** + /** * NativeSizeChanged event * * @event RenderWebGL#event:NativeSizeChanged