Browse Source

fix coding style

Sébastien Valette 10 years ago
parent
commit
0f2e32eddc
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/extras/helpers/WireframeHelper.js

+ 2 - 2
src/extras/helpers/WireframeHelper.js

@@ -74,9 +74,9 @@ THREE.WireframeHelper = function ( object, hex ) {
 			var offsets = object.geometry.offsets;
 			var numEdges = 0;
 
-			if (!offsets.length) {
+			if ( offsets.length === 0 ) {
 
-				offsets = [{count : indices.length, index : 0, start : 0}];
+				offsets = [ { count : indices.length, index : 0, start : 0 } ];
 
 			}