Browse Source

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

Takahiro 7 years ago
parent
commit
189a60a662
1 changed files with 3 additions and 0 deletions
  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;