Browse Source

Fix styles

Matthias Baumann 7 years ago
parent
commit
ce4c4e2687
1 changed files with 4 additions and 5 deletions
  1. 4 5
      examples/js/loaders/STLLoader.js

+ 4 - 5
examples/js/loaders/STLLoader.js

@@ -48,20 +48,19 @@ THREE.STLLoader.prototype = {
 		loader.setResponseType( 'arraybuffer' );
 		loader.load( url, function ( text ) {
 
-		    try {
+			try {
 
 				onLoad( scope.parse( text ) );
 
 			} catch ( exception ) {
 
-		        if ( onError ) {
+				if ( onError ) {
 
-		            onError( exception );
+					onError( exception );
 
 				}
 
-		    }
-
+			}
 
 		}, onProgress, onError );