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

[port] Change the way we set up the port property to be used by logic in the port-mixin #969

Merged

Conversation

alexhancock
Copy link
Contributor

This fixes a bug with the new application switcher functionality where this.get('port') was not set at times other code was trying to use it.

I removed the port: readOnly('namespace.port') in all the things that use the port-mixin and set the property in the init method of the mixin itself instead.

@RobbieTheWagner
Copy link
Member

Thanks so much for debugging and fixing this @alexhancock! I really appreciate it! 😃

@RobbieTheWagner RobbieTheWagner merged commit 97fcc2b into emberjs:application-id-fix Apr 26, 2019
RobbieTheWagner added a commit that referenced this pull request Apr 26, 2019
* Trying to fix names issue

* Attempt to support dynamically added iframes

* Trying to fix names issue

* Fix inverted if

* Fix lint

* Fix EMBER_VERSIONS_SUPPORTED

* Update tests for new format

* Colocate applicationName and applicationId

* Revert "Attempt to support dynamically added iframes"

This reverts commit e49e485.

* Fix inverted if

* Trying to get multiple-apps working again

* Use app-picker

* Remove leftover iframe-picker

* Use modulePrefix as well

* Add applicationId and applicationName to apps

* Fix lint

* [port] Change the way we set up the port property to be used by logic in the port-mixin (#969)

* Fix lint

* Actually fix lint
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.

2 participants