Opened 15 years ago

Closed 15 years ago

Last modified 12 years ago

#3154 closed task (fixed)

change dojo.unsubscribe() api to just take handle

Reported by: bill Owned by: sjmiles
Priority: high Milestone: 0.9beta
Component: Events Version: 0.9
Keywords: Cc:
Blocked By: Blocking:


Changing the API of dojo.unsubscribe() from

dojo.unsubscribe(topic, handle)

to just


It will make it easier to do widget tear down. (Same way that it made things easier when dojo.disconnect was simplified.)

Change History (4)

comment:1 Changed 15 years ago by sjmiles

(In [8914]) Inline docs for subscribe/unsubscribe/publish, refs #3161. Change API so that the handle returned from subscribe is all you need (necessary and sufficient) for unsubscribe, refs #3154.

comment:2 Changed 15 years ago by sjmiles

(In [8916]) Update test for new unsubscribe syntax, refs #3154.

comment:3 Changed 15 years ago by sjmiles

Resolution: fixed
Status: newclosed

comment:4 Changed 15 years ago by bill

(In [8923]) Update to new API for dojo.unsubscribe(). Refs #3154.

Note: See TracTickets for help on using tickets.