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

Support interpolation in property names for SCSS #80

Closed
wants to merge 2 commits into from
Closed

Support interpolation in property names for SCSS #80

wants to merge 2 commits into from

Conversation

danoc
Copy link
Contributor

@danoc danoc commented Aug 17, 2015

This fixes the issue that @igoratron and myself ran into in #68.

@danoc danoc mentioned this pull request Aug 17, 2015
@@ -2767,7 +2769,12 @@ module.exports = (function() {
var startPos = pos,
x = [];

x.push(checkVariable(pos) ? getVariable() : getIdent());
while (pos < tokensLength) {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think there (and above) should be no loop: I can't think of an example when interpolation is followed by variable.

@tonyganch
Copy link
Owner

Fixed the issue in dev in a broader way, not only inside properties.
Thank you for pr!

@tonyganch tonyganch closed this Aug 22, 2015
@danoc
Copy link
Contributor Author

danoc commented Aug 22, 2015

Great, thanks for fixing this and glad to help!

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