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

Fixes bug where child elements all being false still includes object key in className #14

Merged

Conversation

developerdizzle
Copy link
Contributor

@developerdizzle developerdizzle commented Jan 24, 2018

Fixes #13

Also refactors/simplifies the logic to force space (" ") to be the separator, and no longer use prefix as both separator and prefix. This breaks the original "prefix" test, which I've updated to reflect the new functionality. Because this is a breaking change, a major version bump is required.

@codecov-io
Copy link

codecov-io commented Jan 24, 2018

Codecov Report

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

Impacted file tree graph

@@          Coverage Diff          @@
##           master    #14   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files           1      1           
  Lines          13     15    +2     
  Branches        6      9    +3     
=====================================
+ Hits           13     15    +2
Impacted Files Coverage Δ
src/index.js 100% <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 3097158...2a43e59. Read the comment docs.

@jorgebucaran jorgebucaran merged commit 2a43e59 into jorgebucaran:master Jan 26, 2018
@jorgebucaran jorgebucaran added bug Something isn't working and removed fix labels Feb 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

When all child elements are false the object key is still included
3 participants