You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 18, 2019. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,22 +30,22 @@ You can run the familiar jQuery promise-like methods on the controller to determ
30
30
31
31
Additionally, there are the following methods appended:
32
32
33
-
### .hold()
33
+
### `.hold()`
34
34
Pauses the execution of the sequence instantly.
35
35
36
-
### .release( [ when = "now" ] )
36
+
### `.release( [ when = "now" ] )`
37
37
Unpauses the execution of the sequence.
38
38
The `when` parameter can either be
39
39
-`"now"` to execute the next call on the sequence immediately (default)
40
40
-`"delayed"` to wait a full turn and then run the callback or
41
41
-`"remaining"` to resume exactly at the point where the execution was put on hold.
42
42
43
-
### .runAll()
43
+
### `.runAll()`
44
44
Runs all remaining calls immediately.
45
45
The promise will be resolved.
46
46
47
-
### .clear()
47
+
### `.clear()`
48
48
Puts the execution on hold and clears the sequence queue. The promise will be rejected.
49
49
50
-
### .reset()
50
+
### `.reset()`
51
51
Resets the sequence and removes all promise handlers. Be aware that the changes made by the previous sequence calls naturally can't be reverted by this.
0 commit comments