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: mixin parameters with functions. fixes #122 #125

Merged
merged 2 commits into from
Nov 13, 2018
Merged

Conversation

shellscape
Copy link
Owner

Which issue # if any, does this resolve?

Please check one:

  • New tests created for this change
  • Tests updated for this change

This PR:

  • Adds new API
  • Extends existing API, backwards-compatible
  • Introduces a breaking change
  • Fixes a bug

Fixes #122. When mixing parameters contain declarations with functions (or any other declaration that contains parenthesis pairs), the parser was throwing a syntax error.

@shellscape shellscape requested a review from jwilsson November 13, 2018 04:10
@codecov-io
Copy link

codecov-io commented Nov 13, 2018

Codecov Report

Merging #125 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #125   +/-   ##
=======================================
  Coverage   95.74%   95.74%           
=======================================
  Files           8        8           
  Lines         188      188           
=======================================
  Hits          180      180           
  Misses          8        8
Impacted Files Coverage Δ
lib/LessParser.js 98.7% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3016597...5a2bc2b. Read the comment docs.

Copy link
Collaborator

@jwilsson jwilsson left a comment

Choose a reason for hiding this comment

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

Much simpler than the approach I had in mind! LGTM.

@shellscape shellscape merged commit 9392246 into master Nov 13, 2018
@shellscape shellscape deleted the fix/keyframes branch November 14, 2018 04:43
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.

CssSyntaxError thrown when using @keyframes with mixin
3 participants