A pure-JavaScript CSS selector engine designed to be easily dropped in to a host library.
More information: http://sizzlejs.com/
Discussion: http://groups.google.com/group/sizzlejs
Documentation: https://github.com/jquery/sizzle/wiki/Sizzle-Documentation
Browser support: https://github.com/jquery/sizzle/wiki/Sizzle-Documentation#wiki-browsers
Testing Sizzle:
- run
make
to pull down QUnit from github, which is the only thing the Makefile does. - Open test/index.html in your browser to run the tests.
- The actual unit tests are in test/unit/selectors.js and test/unit/utilities.js.
Developing Sizzle with grunt:
grunt
andgrunt lint
will lint sizzle.js and the tests.grunt watch
can be run to re-lint files as you change them