Sfoglia il codice sorgente

move withCredentials docs from FileLoader to Loader

Amos 4 anni fa
parent
commit
811a743ec5
2 ha cambiato i file con 13 aggiunte e 13 eliminazioni
  1. 0 13
      docs/api/en/loaders/FileLoader.html
  2. 13 0
      docs/api/en/loaders/Loader.html

+ 0 - 13
docs/api/en/loaders/FileLoader.html

@@ -72,12 +72,6 @@
 		<h3>[property:String responseType]</h3>
 		<h3>[property:String responseType]</h3>
 		<p>The expected response type. See [page:.setResponseType]. Default is *undefined*.</p>
 		<p>The expected response type. See [page:.setResponseType]. Default is *undefined*.</p>
 
 
-		<h3>[property:String withCredentials]</h3>
-		<p>
-			Whether the XMLHttpRequest uses credentials. See [page:.setWithCredentials].
-			Default is *undefined*.
-		</p>
-
 		<h2>Methods</h2>
 		<h2>Methods</h2>
 		<p>See the base [page:Loader] class for common methods.</p>
 		<p>See the base [page:Loader] class for common methods.</p>
 
 
@@ -109,13 +103,6 @@
 			[page:String json] - parses the file using [link:https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/parse JSON.parse].<br />
 			[page:String json] - parses the file using [link:https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/parse JSON.parse].<br />
 		</p>
 		</p>
 
 
-		<h3>[method:FileLoader setWithCredentials]( [param:Boolean value] )</h3>
-		<p>
-			Whether the XMLHttpRequest uses credentials such as cookies, authorization headers or
-			TLS client certificates. See [link:https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/withCredentials XMLHttpRequest.withCredentials].<br />
-			Note that this has no effect if you are loading files locally or from the same domain.
-		</p>
-
 
 
 		<h2>Source</h2>
 		<h2>Source</h2>
 
 

+ 13 - 0
docs/api/en/loaders/Loader.html

@@ -33,6 +33,12 @@
 		Default is *anonymous*.
 		Default is *anonymous*.
 		</p>
 		</p>
 
 
+		<h3>[property:boolean withCredentials]</h3>
+		<p>
+			Whether the XMLHttpRequest uses credentials. See [page:.setWithCredentials].
+			Default is *false*.
+		</p>
+
 		<h3>[property:LoadingManager manager]</h3>
 		<h3>[property:LoadingManager manager]</h3>
 		<p>
 		<p>
 			The [page:LoadingManager loadingManager]  the loader is using. Default is [page:DefaultLoadingManager].
 			The [page:LoadingManager loadingManager]  the loader is using. Default is [page:DefaultLoadingManager].
@@ -84,6 +90,13 @@
 			[page:String crossOrigin] — The crossOrigin string to implement CORS for loading the url from a different domain that allows CORS.
 			[page:String crossOrigin] — The crossOrigin string to implement CORS for loading the url from a different domain that allows CORS.
 		</p>
 		</p>
 
 
+		<h3>[method:Loader setWithCredentials]( [param:Boolean value] )</h3>
+		<p>
+			Whether the XMLHttpRequest uses credentials such as cookies, authorization headers or
+			TLS client certificates. See [link:https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/withCredentials XMLHttpRequest.withCredentials].<br />
+			Note that this has no effect if you are loading files locally or from the same domain.
+		</p>
+
 		<h3>[method:Loader setPath]( [param:String path] )</h3>
 		<h3>[method:Loader setPath]( [param:String path] )</h3>
 		<p>
 		<p>
 			[page:String path] — Set the base path for the asset.
 			[page:String path] — Set the base path for the asset.