mini
mini copied to clipboard
A tiny selector engine; only the essentials
mini, a tiny selector engine
Dual licensed under the MIT and GPL licenses.
- http://www.opensource.org/licenses/mit-license.php
- http://www.gnu.org/copyleft/gpl.html
Read more: Introducing “mini”
Usage:
var pAnchors = mini('p > a'); // Returns an array.
for (var i = 0, l = pAnchors.length; i < l; ++i) {
// Do stuff...
}
Supported Selectors:
tagtag > .classNametag > tag#id > tag.className.className tagtag, tag, #idtag#id.className.classNamespan > * > b