X-Browser DOM element selector supported by jquery/sizzle and inspired in component/query
JavaScript Makefile
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
History.md
Makefile
Readme.md
component.json
index.js

Readme.md

query

X-Browser DOM element query supported by sizzle

Installation

Install with component(1):

$ component install cristiandouce/query

API

var o = require('query');

// Query single elements
var container = o('#container'); // 'div#container'

var firstItem = o('ul li'); // 'ul li'

// Query all matching elements
var fullItems = o.all('ul li'); // ['ul li', 'ul li', ...]

License

MIT