Browse Source

Fix implicit declaration, and unnecessary comma in AssimpJSONLoader

Tristan Valcke 8 years ago
parent
commit
4183f5bfab
1 changed files with 2 additions and 2 deletions
  1. 2 2
      examples/js/loaders/AssimpJSONLoader.js

+ 2 - 2
examples/js/loaders/AssimpJSONLoader.js

@@ -122,7 +122,7 @@ THREE.AssimpJSONLoader.prototype = {
 		for ( in_data = json.faces, i = 0, e = in_data.length; i < e; ++ i ) {
 
 			src = in_data[ i ];
-			face = new THREE.Face3( src[ 0 ], src[ 1 ], src[ 2 ] );
+			var face = new THREE.Face3( src[ 0 ], src[ 1 ], src[ 2 ] );
 			geometry.faces.push( face );
 
 		}
@@ -381,5 +381,5 @@ THREE.AssimpJSONLoader.prototype = {
 
 		return obj;
 
-	},
+	}
 };