peach a19a732be8 commit message 2 anni fa
..
lib a19a732be8 commit message 2 anni fa
test a19a732be8 commit message 2 anni fa
.npmignore a19a732be8 commit message 2 anni fa
README.md a19a732be8 commit message 2 anni fa
package.json a19a732be8 commit message 2 anni fa
tests.js a19a732be8 commit message 2 anni fa

README.md

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/