Skip to main content

Bug Tracker

Side navigation

#13150 closed feature (fixed)

Opened January 04, 2013 04:04AM UTC

Closed January 27, 2013 07:01PM UTC

Last modified January 27, 2013 07:07PM UTC

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.

Attachments (0)
Change History (4)

Changed January 26, 2013 08:39PM UTC by dmethvin comment:1

component: unfileddeferred
owner: → jaubourg
priority: undecidedlow
status: newassigned

Changed January 27, 2013 07:01PM UTC by adamcoulombe comment:2

resolution: → fixed
status: assignedclosed

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

Changeset: 5be99ecc48ffb87d4bf7a6a7187a89f359668a35

Changed January 27, 2013 07:04PM UTC by adamcoulombe comment:3

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

Changeset: 54fc5fdfa2e07fb08f2652f4b48d51ffc2999938

Changed January 27, 2013 07:07PM UTC by dmethvin comment:4

milestone: None1.9.1
summary: Be able to get number of functions in $.Callback()Be able to determine if $.Callback() has functions