Просмотр исходного кода

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

Takahiro 7 лет назад
Родитель
Сommit
189a60a662
1 измененных файлов с 3 добавлено и 0 удалено
  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号