Pārlūkot izejas kodu

make IIFS a little easier to read

thecharhan 6 gadi atpakaļ
vecāks
revīzija
0bb8cce8fd
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 2 2
      examples/js/loaders/GLTFLoader.js

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

@@ -3129,7 +3129,7 @@ THREE.GLTFLoader = ( function () {
 
 
 		var nodeDef = json.nodes[ nodeIndex ];
 		var nodeDef = json.nodes[ nodeIndex ];
 
 
-		return function( ) {
+		return ( function() {
 
 
 			// .isBone isn't in glTF spec. See .markDefs
 			// .isBone isn't in glTF spec. See .markDefs
 			if ( nodeDef.isBone === true ) {
 			if ( nodeDef.isBone === true ) {
@@ -3185,7 +3185,7 @@ THREE.GLTFLoader = ( function () {
 
 
 			}
 			}
 
 
-		}( ).then( function ( node ) {
+		}() ).then( function ( node ) {
 
 
 			if ( nodeDef.name !== undefined ) {
 			if ( nodeDef.name !== undefined ) {