2
0
Эх сурвалжийг харах

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

Takahiro 7 жил өмнө
parent
commit
189a60a662

+ 3 - 0
src/loaders/LoadingManager.js

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