Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 60 lines (47 sloc) 1.799 kb
cc5119d5 »
2011-03-29 update readme with reference to speed
1 Q('wery') - The Tiny Selector Engine
eeda1595 »
2011-03-22 rename again
2 -----
6511aee4 »
2011-03-29 blaaaaaaazing
3 Qwery is a 1k *blazing fast* query selector engine allowing you to select elements with CSS1 & CSS2 selectors (including [attribute selectors](http://www.w3.org/TR/css3-selectors/#attribute-selectors)). And according to our benchmarks Qwery is 2x faster (at minimum on average) than Sizzle (from jQuery).
e504f763 »
2011-03-24 contexts can also be queries. more docs in readme
4
5 Acceptable queries
6 ---------------
7
8 // basic
9 #foo // id
10 .bar // class
11 #foo a // descendents
12 #foo a.bar element attribute comibination
13
14 // attributes
15 #foo a[href] // simple
16 #foo a[href=bar] // attribute values
0a6e51f7 »
2011-04-04 qwery: Fix invalid selector in README.md. [jddalton]
17 #foo a[href^="http://"] // attribute starts with
e504f763 »
2011-03-24 contexts can also be queries. more docs in readme
18 #foo a[href$=com] // attribute ends with
19 #foo a[href*=twitter] // attribute wildcards
20
21 // combos
22 div,p
23
5b975572 »
2011-03-29 update readme with more variations
24 // variations
25 #foo.bar.baz
26 div#baz.thunk a[-data-info*="hello world"] strong
27 #thunk[title$='huzza']
28
e504f763 »
2011-03-24 contexts can also be queries. more docs in readme
29 Contexts
30 -------
31 Each query can optionally pass in a context
32
33 qwery('div', node); // existing DOM node or...
34 qwery('div', '#foo'); // another query
35
2a215253 »
2011-03-26 notes on browser support
36 Browser Support
37 ---------------
38 - IE6, IE7, IE8, IE9
39 - Chrome 1 - 10
40 - Safari 3, 4, 5
41 - Firefox 2, 3, 4
42
e504f763 »
2011-03-24 contexts can also be queries. more docs in readme
43 Build
44 -----
45 Qwery uses [JSHint](http://www.jshint.com/) to keep some house rules as well as [UglifyJS](https://github.com/mishoo/UglifyJS) for its compression. For those interested in building Qwery yourself. Run *make* in the root of the project.
eeda1595 »
2011-03-22 rename again
46
e66c4920 »
2011-03-24 note on tests
47 Tests
48 -----
49 point your browser at _qwery/tests/index.html_
50
43c22d09 »
2011-03-24 add querySelectorAll note
51 Note
52 ----
53 Qwery uses querySelectorAll when available. All querySelectorAll default behavior then applies.
54
1e49547a »
2011-03-23 update readme
55 Contributors
eeda1595 »
2011-03-22 rename again
56 -------
8424bb3d »
2011-03-26 update readme with proper links to contributors
57 * [Dustin Diaz](https://github.com/ded/qwery/commits/master?author=ded)
58 * [Jacob Thornton](https://github.com/ded/qwery/commits/master?author=fat)
cc5119d5 »
2011-03-29 update readme with reference to speed
59 * Follow our software [@dedfat](http://twitter.com/dedfat)
Something went wrong with that request. Please try again.