Explorar o código

Minor clean up.

Mr.doob %!s(int64=10) %!d(string=hai) anos
pai
achega
df9c38f03a
Modificáronse 1 ficheiros con 4 adicións e 4 borrados
  1. 4 4
      src/Three.js

+ 4 - 4
src/Three.js

@@ -33,14 +33,14 @@ if ( Function.prototype.name === undefined && Object.defineProperty !== undefine
 
 	Object.defineProperty( Function.prototype, 'name', {
 
-		get: function() {
+		get: function () {
 
-			var name = this.toString().match(/^\s*function\s*(\S*)\s*\(/)[1];
-			return name;
+			return this.toString().match(/^\s*function\s*(\S*)\s*\(/)[1];
 
 		}
 
-	});
+	} );
+
 }
 
 // https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent.button