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

[Cleanup] Remove orphaned outlets #15916

Closed
wants to merge 1 commit into from

Conversation

lorcan
Copy link
Contributor

@lorcan lorcan commented Dec 2, 2017

Addresses #15876 (comment)

@lorcan lorcan force-pushed the lorcan/remove-orphaned-outlets branch from c60d571 to c12508d Compare December 2, 2017 11:48
@lorcan lorcan force-pushed the lorcan/remove-orphaned-outlets branch from c12508d to 767d469 Compare December 2, 2017 14:50
@@ -49,10 +49,6 @@ class SingletonRenderManager extends AbstractRenderManager {
this._pushToDebugStack(`controller:${name} (with the render helper)`, env);
}

if (dynamicScope.rootOutletState) {
dynamicScope.outletState = dynamicScope.rootOutletState.getOrphan(name);
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Is rootOutletState still needed at all?

@lorcan lorcan changed the title [WIP] 💀 orphaned outlets [WIP] [Cleanup] 💀 orphaned outlets Dec 2, 2017
@lorcan lorcan mentioned this pull request Dec 2, 2017
34 tasks
@lorcan lorcan changed the title [WIP] [Cleanup] 💀 orphaned outlets [WIP] [Cleanup] Remove orphaned outlets Dec 2, 2017
@lorcan lorcan changed the title [WIP] [Cleanup] Remove orphaned outlets [Cleanup] Remove orphaned outlets Dec 2, 2017
@thoov
Copy link
Member

thoov commented Dec 4, 2017

@lorcan I believe for most of this we are going to need to create a new ENV variable that we can wrap this deprecated code in. Here is an example of what I am talking about: https://github.com/emberjs/ember.js/pull/15900/files. This will also require a PR into ember-2-legacy repo. If you need any help with either of these 2 things let me know.

@lorcan
Copy link
Contributor Author

lorcan commented Dec 5, 2017

Great, thanks @thoov, I'll try that now.

@lorcan
Copy link
Contributor Author

lorcan commented Dec 5, 2017

Hi @thoov gave this another go with #15925, taking inspiration from the PR you shared. I'm happy to close this PR in favour of that one if you want to continue the discussion there :-)

@lorcan
Copy link
Contributor Author

lorcan commented Dec 6, 2017

Closing in favour of #15925

@lorcan lorcan closed this Dec 6, 2017
@lorcan lorcan deleted the lorcan/remove-orphaned-outlets branch December 6, 2017 15:39
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