Browse Source

Merge pull request #19179 from looeee/fix-loadasync-doc-error

Fix copy/paste error in Loader.loadAsync doc
Mr.doob 5 năm trước cách đây
mục cha
commit
ed29076904
2 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 1 1
      docs/api/en/loaders/Loader.html
  2. 1 1
      docs/api/zh/loaders/Loader.html

+ 1 - 1
docs/api/en/loaders/Loader.html

@@ -59,7 +59,7 @@
 
 		<h3>[method:Promise loadAsync]( [param:String url], [param:Function onProgress] )</h3>
 		<p>
-		[page:String url] — A string containing the path/URL of the <em>.gltf</em> or <em>.glb</em> file.<br />
+		[page:String url] — A string containing the path/URL of the file to be loaded.<br />
 		[page:Function onProgress] — (optional) A function to be called while the loading is in progress. The argument will be the XMLHttpRequest instance, that contains .[page:Integer total] and .[page:Integer loaded] bytes.<br />
 		</p>
 		<p>

+ 1 - 1
docs/api/zh/loaders/Loader.html

@@ -59,7 +59,7 @@
 
 		<h3>[method:Promise loadAsync]( [param:String url], [param:Function onProgress] )</h3>
 		<p>
-		[page:String url] — A string containing the path/URL of the <em>.gltf</em> or <em>.glb</em> file.<br />
+		[page:String url] — A string containing the path/URL of the file to be loaded.<br />
 		[page:Function onProgress] — (optional) A function to be called while the loading is in progress. The argument will be the XMLHttpRequest instance, that contains .[page:Integer total] and .[page:Integer loaded] bytes.<br />
 		</p>
 		<p>