Browse Source

Clean up.

Mr.doob 9 years ago
parent
commit
ea60509b40
2 changed files with 4 additions and 4 deletions
  1. 1 1
      examples/js/loaders/ColladaLoader2.js
  2. 3 3
      src/textures/CubeTexture.js

+ 1 - 1
examples/js/loaders/ColladaLoader2.js

@@ -511,7 +511,7 @@ THREE.ColladaLoader.prototype = {
 
 				console.error( 'ColladaLoder: Undefined sampler', sid );
 
-				return;
+				return null;
 
 			}
 

+ 3 - 3
src/textures/CubeTexture.js

@@ -19,9 +19,9 @@ THREE.CubeTexture.prototype.constructor = THREE.CubeTexture;
 THREE.CubeTexture.prototype.copy = function ( source ) {
 
 	THREE.Texture.prototype.copy.call( this, source );
-	
+
 	this.images = source.images;
-	
+
 	return this;
 
-};
+};