issues
search
cfpb
/
capital-framework
The Consumer Financial Protection Bureau's user interface framework
https://cfpb.github.io/capital-framework/
Creative Commons Zero v1.0 Universal
54
stars
29
forks
source link
Fix CSS classList logic
#881
Closed
anselmbradford
closed
5 years ago
anselmbradford
commented
5 years ago
Changes
cf-atomic-component:
Fixes issue where leading period was not removed in class name when passed to classList.contains.
cf-tables:
Fixes issue where TableSortable was using classList API incorrectly.
Testing
Check out gh-pages branch for the docs.
Copy tmp/cf-atomic-component from this branch to node_modules of the gh-pages branch.
Run
npm run build && npm start
cf-tables should not have an error in dev console at
http://localhost:3000/components/cf-tables/
.
Changes
Testing
npm run build && npm start