lhl 6ff0e96ad3 8-4-1 il y a 1 an
..
lib 6ff0e96ad3 8-4-1 il y a 1 an
test 6ff0e96ad3 8-4-1 il y a 1 an
.npmignore 6ff0e96ad3 8-4-1 il y a 1 an
README.md 6ff0e96ad3 8-4-1 il y a 1 an
package.json 6ff0e96ad3 8-4-1 il y a 1 an
tests.js 6ff0e96ad3 8-4-1 il y a 1 an

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/