浏览代码

zh doc: sync with en doc from 6446269f to 818cbfee

gogoend 5 年之前
父节点
当前提交
a1ae3e165d
共有 3 个文件被更改,包括 13 次插入5 次删除
  1. 0 3
      docs/api/zh/loaders/FileLoader.html
  2. 12 1
      docs/api/zh/loaders/Loader.html
  3. 1 1
      docs/manual/zh/introduction/Useful-links.html

+ 0 - 3
docs/api/zh/loaders/FileLoader.html

@@ -69,9 +69,6 @@
 			请参考 [page:.setMimeType]。默认为 *undefined*。
 			请参考 [page:.setMimeType]。默认为 *undefined*。
 		</p>
 		</p>
 
 
-		<h3>[property:object requestHeader]</h3>
-		<p>[link:https://developer.mozilla.org/en-US/docs/Glossary/Request_header request header] 在HTTP 请求中使用。 请参考 [page:.setRequestHeader]。 默认为 *undefined*.</p>
-
 		<h3>[property:String responseType]</h3>
 		<h3>[property:String responseType]</h3>
 		<p>请求的响应类型。 请参考 [page:.setResponseType]. 默认为 *undefined*.</p>
 		<p>请求的响应类型。 请参考 [page:.setResponseType]. 默认为 *undefined*.</p>
 
 

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

@@ -48,7 +48,11 @@
 		<p>
 		<p>
 			The base path from which additional resources like textures will be loaded.
 			The base path from which additional resources like textures will be loaded.
 			Default is the empty string.
 			Default is the empty string.
-		</p>
+
+		<h3>[property:object requestHeader]</h3>
+		<p>
+			[link:https://developer.mozilla.org/en-US/docs/Glossary/Request_header request header] 在HTTP 请求中使用。 请参考 [page:.setRequestHeader]。 默认为 *undefined*。
+		</p>	
 
 
 		<h2>方法</h2>
 		<h2>方法</h2>
 
 
@@ -89,6 +93,13 @@
 			[page:String resourcePath] — Set the base path for dependent resources like textures.
 			[page:String resourcePath] — Set the base path for dependent resources like textures.
 		</p>
 		</p>
 
 
+		<h3>[method:Loader setRequestHeader]( [param:Object requestHeader] )</h3>
+		<p>
+			[page:object requestHeader] - key: The name of the header whose value is to be set. value: The value to set as the body of the header.<br /><br />
+
+			Set the [link:https://developer.mozilla.org/en-US/docs/Glossary/Request_header request header] used in HTTP request.
+		</p>
+
 		<h2>Source</h2>
 		<h2>Source</h2>
 
 
 		<p>
 		<p>

+ 1 - 1
docs/manual/zh/introduction/Useful-links.html

@@ -13,7 +13,7 @@
 		<p class="desc">
 		<p class="desc">
 			The following is a collection of links that you might find useful when learning three.js.<br />
 			The following is a collection of links that you might find useful when learning three.js.<br />
 			If you find something that you'd like to add here, or think that one of the links below is no longer
 			If you find something that you'd like to add here, or think that one of the links below is no longer
-			relevant or working, feel free to click the 'edit' button in the top right and make some changes!<br /><br />
+			relevant or working, feel free to click the 'edit' button in the bottom right and make some changes!<br /><br />
 
 
 			Note also that as three.js is under rapid development, a lot of these links will contain information that is
 			Note also that as three.js is under rapid development, a lot of these links will contain information that is
 			out of date - if something isn't working as you'd expect or as one of these links says it should,
 			out of date - if something isn't working as you'd expect or as one of these links says it should,