Browse Source

Update ObjectLoader.html

Michael Herzog 7 years ago
parent
commit
eff32a8211
1 changed files with 2 additions and 2 deletions
  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' );
 			}
 		);