-
Notifications
You must be signed in to change notification settings - Fork 825
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
allow empty css variables #2984
allow empty css variables #2984
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good!
I was looking at the if: ... elif: ... elif: ...
and I see we are now doing variables.setdefault
in pretty much all of the branches that look interesting.
Is it possible that we can call setdefault
earlier and then use regular dictionary access where we are currently using setdefault
+ append
?
I'm not sure we can & if we can, not sure it'll help.
But I'd like you to give it some thought, if possible.
Thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me! 🚀
733fbb9
to
7770f8d
Compare
@willmcgugan this is ready for you to take a look! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
fixes #1849
Please review the following checklist.
Co-authored-by: @eliasdorneles