File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -107,14 +107,14 @@ function processGrid(trace) {
107107 var firstY , lastY ;
108108 var firstZ , lastZ ;
109109 if ( len ) {
110- firstX = + x [ 0 ] ;
111- firstY = + y [ 0 ] ;
112- firstZ = + z [ 0 ] ;
110+ firstX = x [ 0 ] ;
111+ firstY = y [ 0 ] ;
112+ firstZ = z [ 0 ] ;
113113 }
114114 if ( len > 1 ) {
115- lastX = + x [ len - 1 ] ;
116- lastY = + y [ len - 1 ] ;
117- lastZ = + z [ len - 1 ] ;
115+ lastX = x [ len - 1 ] ;
116+ lastY = y [ len - 1 ] ;
117+ lastZ = z [ len - 1 ] ;
118118 }
119119
120120 for ( i = 0 ; i < len ; i ++ ) {
@@ -127,15 +127,15 @@ function processGrid(trace) {
127127 zMax = Math . max ( zMax , z [ i ] ) ;
128128 zMin = Math . min ( zMin , z [ i ] ) ;
129129
130- if ( ! filledX && ( + x [ i ] ) !== firstX ) {
130+ if ( ! filledX && x [ i ] !== firstX ) {
131131 filledX = true ;
132132 gridFill += 'x' ;
133133 }
134- if ( ! filledY && ( + y [ i ] ) !== firstY ) {
134+ if ( ! filledY && y [ i ] !== firstY ) {
135135 filledY = true ;
136136 gridFill += 'y' ;
137137 }
138- if ( ! filledZ && ( + z [ i ] ) !== firstZ ) {
138+ if ( ! filledZ && z [ i ] !== firstZ ) {
139139 filledZ = true ;
140140 gridFill += 'z' ;
141141 }
You can’t perform that action at this time.
0 commit comments