-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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 {{mount}} syntax #14967
Refactor {{mount}} syntax #14967
Conversation
this.nameRef = nameRef; | ||
this.env = env; | ||
this.symbolTable = symbolTable; | ||
this.args = args; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this seems to be unused
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed
} | ||
|
||
this._lastName = nameOrDef; | ||
this._lastDef = new MountDefinition(nameOrDef, env); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove env
from MountDefinition
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM other than the two small issues
Thanks for the review, I believe I have resolved all of the issues that were raised. |
Awesome! 👏 |
Next up: allowing bound engine names? |
Thanks! Yep, bound engine names next. |
Supersedes ember-engines/ember-engines#338
This PR adds no new functionality and is purely a refactor of the
{{mount}}
syntax in order to lay the ground work required for:cc/ @rwjblue