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

Refactor route anchor jump system #418

Merged
merged 1 commit into from
Oct 25, 2019

Conversation

rwjblue
Copy link
Contributor

@rwjblue rwjblue commented Oct 25, 2019

  • avoid making reopen inside initialize (it should only be done once ever not once per application)
  • avoid destructuring from location when it is not defined (e.g. FastBoot contexts)
  • ensure that the super result is properly returned (previously we would drop any promises returned from afterModel 😱)

Fixes #417

* avoid making reopen inside `initialize` (it should only be done once **ever** not once per application)
* avoid destructuring from `location` when it is not defined (e.g. FastBoot contexts)
* ensure that the super result is properly returned (previously we would drop any promises returned from afterModel 😱)
@scalvert
Copy link
Contributor

LGTM! Thanks, Rob.

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

Successfully merging this pull request may close these issues.

Tests fail in FastBoot when addon uses addon docs + ember-cli-fastboot-testing
3 participants