File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change 63
63
* * `requestHeaders` ([[Object]]): A set of key-value pairs, with properties
64
64
* representing header names.
65
65
* * `evalJS` ([[Boolean]] | [[String]]; default `true`): Automatically `eval`s
66
+ * the content of [[Ajax.Response#responseText]] if the `Content-type` returned
67
+ * by the server is set to one of `text/javascript`, `application/ecmascript`
68
+ * (matches expression `(text|application)\/(x-)?(java|ecma)script`).
69
+ * If the request doesn't obey same-origin policy, the content is not evaluated.
70
+ * If you need to force evalutation, pass `'force'`. To prevent it altogether,
71
+ * pass `false`.
72
+ * * `evalJSON` ([[Boolean]] | [[String]]; default `true`): Automatically `eval`s
66
73
* the content of [[Ajax.Response#responseText]] and populates
67
74
* [[Ajax.Response#responseJSON]] with it if the `Content-type` returned by
68
75
* the server is set to `application/json`. If the request doesn't obey
You can’t perform that action at this time.
0 commit comments