All Projects → getify → normalize-selector

getify / normalize-selector

Licence: other
Normalize CSS selectors

Programming Languages

javascript
184084 projects - #8 most used programming language
HTML
75241 projects

Normalize-Selector

Normalize CSS selectors.

Examples:

  • #foo>.bar -> #foo > .bar
  • #foo > .bar -> #foo > .bar
  • foo[ a = 'b' ] -> foo[a='b']

Tests

Run mocha tests on node.js with:

npm test

or:

node ./test/mocha/node-suite.js

rawgithub

View the browser suite directly on rawgithub

License

The code and all the documentation are released under the MIT license.

http://getify.mit-license.org/

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].