Skip to content

Instantly share code, notes, and snippets.

@linusthe3rd
Created November 18, 2010 13:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save linusthe3rd/704959 to your computer and use it in GitHub Desktop.
Save linusthe3rd/704959 to your computer and use it in GitHub Desktop.
//==================
// Track a widget
//==================
var actionButtons = new ActionButtons(); //ActionButtons now needs to be destroyed!!
this._childWidgets.push(actionButtons);
//==================
// Track an event handler
//==================
var handle = dojo.connect( /*your params*/ );
this._connectHandles.push( handle );
//==================
// Track a topic
//==================
var topic = dojo.subscribe( /* your params */ );
this._topics.push( topic );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment