mirror of
https://github.com/thangisme/notes.git
synced 2024-09-07 05:54:16 -04:00
.. | ||
lib | ||
test/mocha | ||
.npmignore | ||
package.json | ||
README.md | ||
tests.js |
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.