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 nested selectors without parent declaration #256

Merged
merged 2 commits into from
Aug 13, 2017

Conversation

emmatown
Copy link
Member

What: Fix nested selectors without parent declaration

Why: Closes #255

How: Change the emotionClassRegex to only match if the class is at the start of the string.

Checklist:

  • Documentation N/A
  • Tests
  • Code complete

@codecov-io
Copy link

codecov-io commented Aug 12, 2017

Codecov Report

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

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #256   +/-   ##
=======================================
  Coverage   90.23%   90.23%           
=======================================
  Files          20       20           
  Lines         963      963           
  Branches      260      260           
=======================================
  Hits          869      869           
  Misses         76       76           
  Partials       18       18
Impacted Files Coverage Δ
src/index.js 94.09% <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 19ce8b2...dcdb611. Read the comment docs.

@tkh44 tkh44 merged commit 84d10fd into master Aug 13, 2017
@tkh44 tkh44 deleted the fix-nested-selector-without-declaration branch August 13, 2017 03:07
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.

Nested selectors don't work if the parent doesn't contains at least one CSS declaration
3 participants