lhl 6ff0e96ad3 8-4-1 1 anno fa
..
lib 6ff0e96ad3 8-4-1 1 anno fa
test 6ff0e96ad3 8-4-1 1 anno fa
.npmignore 6ff0e96ad3 8-4-1 1 anno fa
README.md 6ff0e96ad3 8-4-1 1 anno fa
package.json 6ff0e96ad3 8-4-1 1 anno fa
tests.js 6ff0e96ad3 8-4-1 1 anno 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/