Bug Tracker

Opened 10 years ago

Last modified 9 years ago

#11011 closed enhancement

Allow traditional options object for $.Callbacks flags — at Version 3

Reported by: jaubourg Owned by:
Priority: low Milestone: 1.8
Component: deferred Version: 1.7.1
Keywords: 1.8-discuss Cc:
Blocked by: Blocking:

Description (last modified by jaubourg)

This enhancement is quite simple. There is some concern about $.Callbacks flags being in a string format. I propose to accept objects as an alternative so that you could do both of the following:

$.Callbacks( "once memory" );
$.Callbacks({
    once: true,
    memory: true
});

Change History (3)

comment:1 Changed 10 years ago by jaubourg

Component: unfileddeferred
Description: modified (diff)
Keywords: 1.8-discuss added
Priority: undecidedlow

comment:2 Changed 10 years ago by jaubourg

Milestone: None1.8

comment:3 Changed 10 years ago by jaubourg

Description: modified (diff)

+1

Note: See TracTickets for help on using tickets.