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

Normalize names between dashes and underscores #7

Closed
jathak opened this Issue Feb 7, 2019 · 0 comments

Comments

Projects
None yet
1 participant
@jathak
Copy link
Contributor

jathak commented Feb 7, 2019

Heads up: for historical reasons, variables, functions, and mixins in Sass treat underscores and hyphens as identical, so a literal text comparison isn't sufficient in the general case. Feel free to crib Dart Sass's normalizedMap() and normalizedSet() functions to handle this.

Originally posted by @nex3 in https://github.com/sass/module_migrator/diffs

@jathak jathak closed this Feb 12, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment