Explorar o código

remove onError callback

angus %!s(int64=6) %!d(string=hai) anos
pai
achega
d5a7bb1702
Modificáronse 1 ficheiros con 1 adicións e 3 borrados
  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 ) {
-
 						} );