Browse Source

Add missing semicolons in GLTFLoader, and return is unnecessary as the last statement in a function with no return value

Tristan Valcke 8 years ago
parent
commit
d40ca84e76
1 changed files with 2 additions and 3 deletions
  1. 2 3
      examples/js/loaders/GLTFLoader.js

+ 2 - 3
examples/js/loaders/GLTFLoader.js

@@ -175,7 +175,7 @@ var GLTFShader = function( targetNode, allNodes ) {
 
 
 	this._m4 = new THREE.Matrix4();
 	this._m4 = new THREE.Matrix4();
 
 
-}
+};
 
 
 // Update - update all the uniform values
 // Update - update all the uniform values
 GLTFShader.prototype.update = function( scene, camera ) {
 GLTFShader.prototype.update = function( scene, camera ) {
@@ -274,7 +274,7 @@ GLTFAnimation.prototype.createInterpolators = function( interps ) {
 
 
 	}
 	}
 
 
-}
+};
 
 
 // Start/stop
 // Start/stop
 GLTFAnimation.prototype.play = function() {
 GLTFAnimation.prototype.play = function() {
@@ -315,7 +315,6 @@ GLTFAnimation.prototype.update = function() {
 
 
 		}.bind( this ));
 		}.bind( this ));
 		this.stop();
 		this.stop();
-		return;
 
 
 	} else {
 	} else {