Browse Source

Update ObjectLoader.html

Michael Herzog 7 năm trước cách đây
mục cha
commit
eff32a8211
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      docs/api/loaders/ObjectLoader.html

+ 2 - 2
docs/api/loaders/ObjectLoader.html

@@ -43,12 +43,12 @@
 			},
 
 			// onProgress callback
-			function ( err ) {
+			function ( xhr ) {
 				console.log( (xhr.loaded / xhr.total * 100) + '% loaded' );
 			},
 
 			// onError callback
-			function ( xhr ) {
+			function ( err ) {
 				console.error( 'An error happened' );
 			}
 		);