Skip to content

Instantly share code, notes, and snippets.

@endash
Forked from anonymous/console
Created May 20, 2010 18:49
Show Gist options
  • Save endash/407925 to your computer and use it in GitHub Desktop.
Save endash/407925 to your computer and use it in GitHub Desktop.
selectionDidChange: function()
{
if (this.changeTimer)
this.changeTimer.destroy();
this.changeTimer = SC.Timer.schedule({
target: 'this',
action: 'getSelectionData',
interval: 500,
until: Time.now() + 500
});
}.observes('selection'),
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment