Skip to content

Commit

Permalink
CR: documentation update
Browse files Browse the repository at this point in the history
  • Loading branch information
Zielon committed Feb 28, 2020
1 parent 328db15 commit 4f6186e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 10 deletions.
10 changes: 0 additions & 10 deletions docs/api/en/loaders/FileLoader.html
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,6 @@ <h3>[property:String mimeType]</h3>
See [page:.setMimeType]. Default is *undefined*.
</p>

<h3>[property:Object requestHeader]</h3>
<p>The [link:https://developer.mozilla.org/en-US/docs/Glossary/Request_header request header] used in HTTP request. See [page:.setRequestHeader]. Default is *undefined*.</p>

<h3>[property:String responseType]</h3>
<p>The expected response type. See [page:.setResponseType]. Default is *undefined*.</p>

Expand Down Expand Up @@ -102,13 +99,6 @@ <h3>[method:FileLoader setMimeType]( [param:String mimeType] )</h3>
of the file being loaded. Note that in many cases this will be determined automatically, so by default it is *undefined*.
</p>

<h3>[method:FileLoader 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>

<h3>[method:FileLoader setResponseType]( [param:String responseType] )</h3>
<p>
Change the response type. Valid values are:<br />
Expand Down
12 changes: 12 additions & 0 deletions docs/api/en/loaders/Loader.html
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,11 @@ <h3>[property:String resourcePath]</h3>
Default is the empty string.
</p>

<h3>[property:Object requestHeader]</h3>
<p>
The [link:https://developer.mozilla.org/en-US/docs/Glossary/Request_header request header] used in HTTP request. See [page:.setRequestHeader]. Default is empty object.
</p>

<h2>Methods</h2>

<h3>[method:void load]()</h3>
Expand Down Expand Up @@ -77,6 +82,13 @@ <h3>[method:Loader setResourcePath]( [param:String resourcePath] )</h3>
[page:String resourcePath] — Set the base path for dependent resources like textures.
</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>

<p>
Expand Down

0 comments on commit 4f6186e

Please sign in to comment.