Bug Tracker

Opened 11 years ago

Last modified 10 years ago

#11011 closed enhancement

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

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


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:

{{{!js $.Callbacks( "once memory" ); $.Callbacks({

once: true, memory: true

}); }}}

Change History (0)

Note: See TracTickets for help on using tickets.