Browse Source

Update comment

Takahiro 7 years ago
parent
commit
ca94a43c6a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      examples/js/loaders/GLTFLoader.js

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

@@ -1205,7 +1205,7 @@ THREE.GLTFLoader = ( function () {
 
 		}
 
-		// .extras has user defined data so just in case cheking if .extras.targetNames is array.
+		// .extras has user-defined data, so check that .extras.targetNames is an array.
 		if ( meshDef.extras && Array.isArray( meshDef.extras.targetNames ) ) {
 
 			for ( var i = 0, il = meshDef.extras.targetNames.length; i < il; i ++ ) {