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

Fix: Prevent error if property block has no value (level 0) #1061

Merged
merged 1 commit into from Mar 13, 2019

Commits on Mar 5, 2019

  1. Prevent error if property block has no value (level 0)

    The tokenizer will parse a property like `width: ;`, but the property
    helper for level 0 (i.e. minification only) was not accounting for
    properties without a value and would throw a TypeError if the value
    was missing
    
    With this change, the property helper now checks for a missing property
    value before trying to access it
    clarkdave committed Mar 5, 2019
    Copy the full SHA
    8c0dcc2 View commit details
    Browse the repository at this point in the history