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

[BUGFIX beta] Update VM, fix component name preprocessing #19363

Merged
merged 1 commit into from
Feb 1, 2021

Conversation

pzuraq
Copy link
Contributor

@pzuraq pzuraq commented Jan 30, 2021

No description provided.

},
});
},
let override = VM_ASSERTION_OVERRIDES.find((o) => o.id === id);
Copy link
Member

Choose a reason for hiding this comment

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

Can't use .find on IE11 (this is failing browser stack)

Copy link
Member

Choose a reason for hiding this comment

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

I think we should probably change the overrides to be a map / pojo where the key is the id. What do you think?

if (DEBUG) {
let { id } = options;

let override = VM_DEPRECATION_OVERRIDES.find((o) => o.id === id);
Copy link
Member

Choose a reason for hiding this comment

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

Same here RE: .find

@pzuraq pzuraq changed the title [BUGFIX] Update VM, fix component name preprocessing [BUGFIX release] Update VM, fix component name preprocessing Feb 1, 2021
@pzuraq pzuraq changed the title [BUGFIX release] Update VM, fix component name preprocessing [BUGFIX beta] Update VM, fix component name preprocessing Feb 1, 2021
@pzuraq pzuraq force-pushed the update-glimmer-vm-fix-rename-bug branch from 6d37785 to d635e02 Compare February 1, 2021 17:22
@jamescdavis
Copy link
Contributor

Fixes #19360

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.

3 participants