Skip to content

Instantly share code, notes, and snippets.

@ColinCampbell
Created April 19, 2011 03:03
Show Gist options
  • Save ColinCampbell/926739 to your computer and use it in GitHub Desktop.
Save ColinCampbell/926739 to your computer and use it in GitHub Desktop.
record.addObserver('status', this, function observer() {
if (record.get('status') === SC.Record.READY_CLEAN) {
record.removeObserver('status', this, observer);
//... code here
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment