Bug Tracker

Opened 4 years ago

Closed 3 years ago

Last modified 3 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 3 years ago by dmethvin

  • Component changed from unfiled to deferred
  • Owner set to jaubourg
  • Priority changed from undecided to low
  • Status changed from new to assigned

comment:2 Changed 3 years ago by adamcoulombe

  • Resolution set to fixed
  • Status changed from assigned to closed

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

Changeset: 5be99ecc48ffb87d4bf7a6a7187a89f359668a35

comment:3 Changed 3 years ago by adamcoulombe

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

Changeset: 54fc5fdfa2e07fb08f2652f4b48d51ffc2999938

comment:4 Changed 3 years ago by dmethvin

  • Milestone changed from None to 1.9.1
  • Summary changed from Be able to get number of functions in $.Callback() to Be able to determine if $.Callback() has functions
Note: See TracTickets for help on using tickets.