1
0
mirror of https://github.com/thangisme/notes.git synced 2024-11-12 13:26:06 -05:00
notes/node_modules/normalize-selector/README.md
Patrick Marsceill b7b0d0d7bf
Initial commit
2017-03-09 13:16:08 -05:00

35 lines
539 B
Markdown

# 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](https://rawgithub.com/getify/normalize-selector/master/test/mocha/browser-suite.html)
## License
The code and all the documentation are released under the MIT license.
http://getify.mit-license.org/