Procházet zdrojové kódy

remove onError callback

angus před 6 roky
rodič
revize
d5a7bb1702
1 změnil soubory, kde provedl 1 přidání a 3 odebrání
  1. 1 3
      examples/webgl_materials_cubemap_mipmaps.html

+ 1 - 3
examples/webgl_materials_cubemap_mipmaps.html

@@ -40,12 +40,10 @@
 
 					return new Promise( function ( resolve, reject) {
 
-						new THREE.CubeTextureLoader().load( urls,function ( cubeTexture ) {
+						new THREE.CubeTextureLoader().load( urls, function ( cubeTexture ) {
 
 							resolve( cubeTexture );
 
-						}, function ( error ) {
-
 						} );
 
 

粤ICP备19079148号