Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#13069 closed enhancement (fixed)

connectOnce functionality

Reported by: tanneman Owned by: Kris Zyp
Priority: high Milestone: 1.7
Component: Events Version: 1.6.1
Keywords: Cc:
Blocked By: Blocking:

Description

Dojo used to have a dojo.(event.)connectOnce function but this is no longer available. Can this functionality be added again to the dojo api?

Change History (3)

comment:1 Changed 9 years ago by bill

Component: GeneralEvents
Owner: set to Kris Zyp

FWI, IIRC everyone thought connectOnce(node, event, func) would only call func once, the next time the specified event occurred, but what it actually did was to check if there was already a handler registered for func.

comment:2 Changed 9 years ago by Kris Zyp

Resolution: fixed
Status: newclosed

(In [25513]) Add on.once, fixes #13069 !strict

comment:3 Changed 9 years ago by bill

Milestone: tbd1.7
Note: See TracTickets for help on using tickets.