瀏覽代碼

Update ObjectLoader.html

Michael Herzog 7 年之前
父節點
當前提交
eff32a8211
共有 1 個文件被更改,包括 2 次插入2 次删除
  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' );
 			}
 		);