Skip to content

Commit 5f7aaca

Browse files
committed
[api] use clean Base for each call
1 parent 9a303e5 commit 5f7aaca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/spine.awaitajax.iced

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ awaitAjax =
88
options.success = rv.id('success').defer data, statusText, xhr # data, statusText, xhr
99
options.error = rv.id('error').defer xhr, statusText, data # xhr, statusText, error
1010

11-
if options.queue then @Q.ajaxQueue options
12-
else @Q.ajax options
11+
if options.queue then (new @Q).ajaxQueue options
12+
else (new @Q).ajax options
1313

1414
await rv.wait defer status
1515
switch status

0 commit comments

Comments
 (0)