-
Notifications
You must be signed in to change notification settings - Fork 322
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prevent error if property block has no value (level 0) (#1061)
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
- Loading branch information
1 parent
b01dd75
commit da25f4f
Showing
2 changed files
with
14 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters