Parcourir la source

ImageLoader: Remove url parameter check in load().

Mugen87 il y a 6 ans
Parent
commit
3d48465798
1 fichiers modifiés avec 0 ajouts et 2 suppressions
  1. 0 2
      src/loaders/ImageLoader.js

+ 0 - 2
src/loaders/ImageLoader.js

@@ -17,8 +17,6 @@ ImageLoader.prototype = Object.assign( Object.create( Loader.prototype ), {
 
 	load: function ( url, onLoad, onProgress, onError ) {
 
-		if ( url === undefined ) url = '';
-
 		if ( this.path !== undefined ) url = this.path + url;
 
 		url = this.manager.resolveURL( url );