Skip to content

Instantly share code, notes, and snippets.

@acnalesso
Created December 1, 2014 18:11
Show Gist options
  • Save acnalesso/674c485de2e3f802e522 to your computer and use it in GitHub Desktop.
Save acnalesso/674c485de2e3f802e522 to your computer and use it in GitHub Desktop.
Ember's onBegin and onEnd callbacks.
function onBegin(current) {
run.currentRunLoop = current;
}
function onEnd(current, next) {
run.currentRunLoop = next;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment