From 290374979f31105e06c203f65dd5636da3ff877a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yoshiki=20V=C3=A1zquez=20Baeza?= Date: Wed, 23 Oct 2019 15:21:27 -0700 Subject: [PATCH] STY: Fix some linting issues --- emperor/support_files/js/axes-controller.js | 2 +- emperor/support_files/js/view.js | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/emperor/support_files/js/axes-controller.js b/emperor/support_files/js/axes-controller.js index a72cc93e..aeaa7b1f 100644 --- a/emperor/support_files/js/axes-controller.js +++ b/emperor/support_files/js/axes-controller.js @@ -43,7 +43,7 @@ define([ }); this.$viewTypeDiv.attr('title', 'Change the selected View Type'); - var radioName = "emperor.viewType_" + this.identifier; + var radioName = 'emperor.viewType_' + this.identifier; if (this.UIState['view.viewType'] === 'scatter') { diff --git a/emperor/support_files/js/view.js b/emperor/support_files/js/view.js index ea21f91f..bd3fe2ca 100644 --- a/emperor/support_files/js/view.js +++ b/emperor/support_files/js/view.js @@ -400,16 +400,16 @@ DecompositionView.prototype._fastInitParallelPlot = function() attribute vec3 color; attribute float opacity; attribute float visible; - + varying vec3 vColor; varying float vOpacity; varying float vVisible; - + void main() { vColor = color; vOpacity = opacity; vVisible = visible; - + gl_Position = projectionMatrix * modelViewMatrix * vec4(position, 1.0); } `; @@ -419,7 +419,7 @@ DecompositionView.prototype._fastInitParallelPlot = function() varying vec3 vColor; varying float vOpacity; varying float vVisible; - + void main() { if (vVisible <= 0.0 || vOpacity <= 0.0) discard;