Pārlūkot izejas kodu

match code style

gil noy 6 gadi atpakaļ
vecāks
revīzija
835fc845cb
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      examples/js/loaders/GLTFLoader.js

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

@@ -1250,7 +1250,7 @@ THREE.GLTFLoader = ( function () {
 		
 		// Host Relative URL
 		if ( /^https?:\/\//i.test(path) && /^\//.test(url) ) {
-		path = path.replace( /(^https?:\/\/[^\/]+).*/i , '$1' );
+			path = path.replace( /(^https?:\/\/[^\/]+).*/i , '$1' );
 		}
 
 		// Absolute URL http://,https://,//