- Notifications
You must be signed in to change notification settings - Fork20.6k
Commit74978b7
authored
Ajax: Support
According to the docs, one can use `null` as a success function in `jQuery.get`of `jQuery.post` so the following:```jsawait jQuery.get( "https://httpbin.org/json", null, "text" )```should get the text result. However, this shortcut hasn't been working so far.Fixesgh-4989Closesgh-5139null
as success functions injQuery.get
1 parent8c7da22 commit74978b7
4 files changed
+27
-7
lines changedLines changed: 3 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
846 | 846 |
| |
847 | 847 |
| |
848 | 848 |
| |
849 |
| - | |
850 |
| - | |
| 849 | + | |
| 850 | + | |
| 851 | + | |
851 | 852 |
| |
852 | 853 |
| |
853 | 854 |
| |
|
Lines changed: 0 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
15 | 15 |
| |
16 | 16 |
| |
17 | 17 |
| |
18 |
| - | |
19 | 18 |
| |
20 | 19 |
| |
21 | 20 |
| |
|
Lines changed: 4 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
95 | 95 |
| |
96 | 96 |
| |
97 | 97 |
| |
98 |
| - | |
| 98 | + | |
99 | 99 |
| |
100 |
| - | |
| 100 | + | |
101 | 101 |
| |
102 | 102 |
| |
103 | 103 |
| |
| |||
112 | 112 |
| |
113 | 113 |
| |
114 | 114 |
| |
115 |
| - | |
116 |
| - | |
| 115 | + | |
| 116 | + | |
117 | 117 |
| |
118 | 118 |
| |
119 | 119 |
| |
|
Lines changed: 20 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2593 | 2593 |
| |
2594 | 2594 |
| |
2595 | 2595 |
| |
| 2596 | + | |
| 2597 | + | |
| 2598 | + | |
| 2599 | + | |
| 2600 | + | |
| 2601 | + | |
| 2602 | + | |
| 2603 | + | |
| 2604 | + | |
| 2605 | + | |
| 2606 | + | |
| 2607 | + | |
| 2608 | + | |
| 2609 | + | |
| 2610 | + | |
| 2611 | + | |
| 2612 | + | |
| 2613 | + | |
| 2614 | + | |
| 2615 | + | |
2596 | 2616 |
| |
2597 | 2617 |
| |
2598 | 2618 |
| |
|
0 commit comments
Comments
(0)