Bug Tracker

Modify

Ticket #13150 (closed feature: fixed)

Opened 16 months ago

Last modified 15 months ago

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 15 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 15 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 15 months ago by adamcoulombe

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

Changeset: 54fc5fdfa2e07fb08f2652f4b48d51ffc2999938

comment:4 Changed 15 months ago by dmethvin

  • Summary changed from Be able to get number of functions in $.Callback() to Be able to determine if $.Callback() has functions
  • Milestone changed from None to 1.9.1

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.