Bug Tracker

Opened 11 years ago

Last modified 11 years ago

#11011 closed enhancement

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

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" );
    once: true,
    memory: true

Change History (1)

comment:1 Changed 11 years ago by jaubourg

Component: unfileddeferred
Description: modified (diff)
Keywords: 1.8-discuss added
Priority: undecidedlow
Note: See TracTickets for help on using tickets.