Skip to content

Instantly share code, notes, and snippets.

@erichocean
Created July 31, 2008 20:02
Show Gist options
  • Select an option

  • Save erichocean/3515 to your computer and use it in GitHub Desktop.

Select an option

Save erichocean/3515 to your computer and use it in GitHub Desktop.
popup: function(anchorView, triggerEvent) {
// this will bypass the normal observer machinery, calling the private
// _show method ourselves. To avoid triggering _show twice, we patch up
// the internal _isVisible property.
this._isVisible = true ;
this._show(anchorView, triggerEvent) ;
this.set('isVisible', true);
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment