Modify ↓
Ticket #13150 (closed feature: fixed)
Be able to determine if $.Callback() has functions
| Reported by: | adamcoulombe | Owned by: | jaubourg |
|---|---|---|---|
| Priority: | low | Milestone: | 1.9.1 |
| Component: | deferred | Version: | git |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
There is currently no way to know how many functions have been added to your $.Callback(). Or if there are any at all for that matter. And there is no way of adding this functionality via a plugin.
Would like to add a .size() function or something to return the list length.
Change History
comment:1 Changed 4 months ago by dmethvin
- Owner set to jaubourg
- Priority changed from undecided to low
- Status changed from new to assigned
- Component changed from unfiled to deferred
comment:2 Changed 4 months ago by adamcoulombe
- Status changed from assigned to closed
- Resolution set to fixed
Fix #13150, .has() w/o args checks for any callbacks. Close gh-1111.
Changeset: 5be99ecc48ffb87d4bf7a6a7187a89f359668a35
comment:3 Changed 4 months ago by adamcoulombe
Fix #13150, .has() w/o args checks for any callbacks. Close gh-1111.
Changeset: 54fc5fdfa2e07fb08f2652f4b48d51ffc2999938
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.
