- Notifications
You must be signed in to change notification settings - Fork20.6k
Commitabdc89a
authored
Ajax: Simplify jQuery.ajaxSettings.xhr
Previously, jQuery.ajaxSettings.xhr, contents were wrapped in a try-catchas we defined jQuery.support.ajax & jQuery.support.cors executed during thejQuery load and we didn't want to crash if IE had native XHR disabled (whichis possible). While jQuery hasn't supported the ActiveX-based XHR since 2.0,jQuery with XHR disabled could still be used for its other features in sucha crippled browser.Sincegh-4347, jQuery.support.ajax & jQuery.support.cors no longer exist, sowe don't need the try-catch anymore.Fixesgh-1967Closesgh-4467Refgh-43471 parentd7e6419 commitabdc89a
1 file changed
+1
-3
lines changedLines changed: 1 addition & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
6 | 6 |
| |
7 | 7 |
| |
8 | 8 |
| |
9 |
| - | |
10 |
| - | |
11 |
| - | |
| 9 | + | |
12 | 10 |
| |
13 | 11 |
| |
14 | 12 |
| |
|
0 commit comments
Comments
(0)