Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make sure we only reopen the app once #482

Merged
merged 1 commit into from
Oct 7, 2015

Conversation

teddyzeenny
Copy link
Contributor

No description provided.

teddyzeenny added a commit that referenced this pull request Oct 7, 2015
Make sure we only reopen the app once
@teddyzeenny teddyzeenny merged commit b5c1a97 into emberjs:master Oct 7, 2015
@teddyzeenny teddyzeenny deleted the reopen branch October 7, 2015 18:14
});
if (isFirstBoot) {
// Watch for app reset/destroy
app.reopen({
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

its worth noting, if this mixin wasn't anonymous duplicate reopens of the same mixin wouldn't result in the duplicate being applied.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, nice - good to know :) That would've been a cleaner approach.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants