Skip to content

cleanup _lookupPartial - #16793

Merged
stefanpenner merged 1 commit into
emberjs:masterfrom
bekzod:cleanup-lookup-partial
Jul 12, 2018
Merged

stefanpenner merged 1 commit into
emberjs:masterfrom
bekzod:cleanup-lookup-partial

Conversation

@bekzod

@bekzod bekzod commented Jul 5, 2018

Copy link
Copy Markdown
Contributor

No description provided.


private _lookupModifier(name: string) {
let modifier = this.builtInModifiers[name];
if (modifier !== undefined) {

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

there is already undefined check downstream in handle method, so this looks unnecessary

this.name = name;
this.namespace = undefined;
} else {
if (namespaceDelimiterOffset !== -1) {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This seems unrelated to the other changes in the PR to me, can you split it out into a separate PR?

@bekzod
bekzod force-pushed the cleanup-lookup-partial branch from ef6db1b to 531be15 Compare July 9, 2018 20:12
@bekzod

bekzod commented Jul 10, 2018

Copy link
Copy Markdown
Contributor Author

done

@stefanpenner
stefanpenner merged commit 6ecd806 into emberjs:master Jul 12, 2018
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.

4 participants