Explorar el Código

Add a note to LoadingManager for the reason why we don\'t set .onStart in the constructor.

Takahiro hace 7 años
padre
commit
189a60a662
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3 0
      src/loaders/LoadingManager.js

+ 3 - 0
src/loaders/LoadingManager.js

@@ -11,6 +11,9 @@ function LoadingManager( onLoad, onProgress, onError ) {
 	var itemsTotal = 0;
 	var urlModifier = undefined;
 
+	// Refer to #5689 for the reason why we don't set .onStart
+	// in the constructor
+
 	this.onStart = undefined;
 	this.onLoad = onLoad;
 	this.onProgress = onProgress;

粤ICP备19079148号