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

Closes #65 Exception in mixin core when checking valid attribute of undefined attribute. #66

Merged
merged 2 commits into from
Mar 16, 2018

Conversation

kecso
Copy link
Member

@kecso kecso commented Mar 15, 2018

isValidAttributeValue should throw for checking undefined attribute

@@ -2519,6 +2519,10 @@ define([
ensureType(name, 'name', 'string');
ensureValue(value, 'value');

if ((core.getValidAttributeNames(node) || []).indexOf(name) === -1) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Doesn't core.getValidAttributeNames(node) always return an array?

@pmeijer pmeijer merged commit 15a9e29 into master Mar 16, 2018
@pmeijer pmeijer deleted the isValidAttributeValue_for_undefined_attribute branch March 28, 2018 16:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants