Skip to content

Set missing default handleMissingStyleName option #129

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

Merged
merged 1 commit into from
Oct 5, 2017

Conversation

IanVS
Copy link
Contributor

@IanVS IanVS commented Oct 5, 2017

The default was not being set for non-namespaced styles. This caused a bug where errors were not thrown for runtime style names, since the options are not passed in if they are only the defaults.

This can be tested by creating a dynamic styleName on an element, and verifying that an error is thrown. In the currently released version, no error is thrown. In this branch, it will be, as expected.

The default was not being set for non-namespaced styles.  This caused
a bug where errors were not thrown for runtime style names, since the
options are not passed in if they are only the defaults.
@gajus gajus merged commit 54316b0 into gajus:master Oct 5, 2017
@IanVS IanVS deleted the default-throw branch October 5, 2017 11:57
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