瀏覽代碼

Added ignoreHTTPStatus to documentation.

Pontus 9 年之前
父節點
當前提交
5052a950e6
共有 1 個文件被更改,包括 10 次插入0 次删除
  1. 10 0
      docs/api/loaders/XHRLoader.html

+ 10 - 0
docs/api/loaders/XHRLoader.html

@@ -37,6 +37,11 @@
 		Can be set to change the response type.
 		Can be set to change the response type.
 		</div>
 		</div>
 
 
+		<h3>[property:Boolean ignoreHTTPStatus]</h3>
+		<div>
+		When set, the 'load' event handler will not check HTTP Status or readyState. All 'load' events will then be treated as successfull. Should only be used when XHRLoader fetch data from a non-http source (e.g. local file system, file://).
+		</div>
+
 
 
 		<h2>Methods</h2>
 		<h2>Methods</h2>
 
 
@@ -61,6 +66,11 @@
 		[page:String value] — the empty string (default), "arraybuffer", "blob", "document", "json", or "text".
 		[page:String value] — the empty string (default), "arraybuffer", "blob", "document", "json", or "text".
 		</div>
 		</div>
 
 
+		<h3>[method:null setIgnoreHTTPStatus]( [page:Boolean value] )</h3>
+		<div>
+		[page:Boolean value] — true/false
+		</div>
+
 
 
 		<h2>Example</h2>
 		<h2>Example</h2>