Bug Tracker

Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#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:
Blocked by: Blocking:

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 (4)

comment:1 Changed 10 years ago by dmethvin

Component: unfileddeferred
Owner: set to jaubourg
Priority: undecidedlow
Status: newassigned

comment:2 Changed 10 years ago by adamcoulombe

Resolution: fixed
Status: assignedclosed

Fix #13150, .has() w/o args checks for any callbacks. Close gh-1111.

Changeset: 5be99ecc48ffb87d4bf7a6a7187a89f359668a35

comment:3 Changed 10 years ago by adamcoulombe

Fix #13150, .has() w/o args checks for any callbacks. Close gh-1111.

Changeset: 54fc5fdfa2e07fb08f2652f4b48d51ffc2999938

comment:4 Changed 10 years ago by dmethvin

Milestone: None1.9.1
Summary: Be able to get number of functions in $.Callback()Be able to determine if $.Callback() has functions
Note: See TracTickets for help on using tickets.