Permalink
Browse files

readme

  • Loading branch information...
1 parent 2c7f61b commit bb9240d12db57b835a95360be5650a7c44b3f90c @chjj committed Mar 8, 2012
Showing with 6 additions and 7 deletions.
  1. +6 −7 README.md
View
@@ -5,6 +5,12 @@ __zest.js__ is a fast, lightweight, and extensible CSS selector engine.
Zest was designed to be very concise while still supporting CSS3/CSS4
selectors and remaining fast.
+## Usage
+
+``` js
+zest('section! > div[title="hello" i] > :local-link /href/ h1');
+```
+
## Benchmarks
Each selector run 1000 times on Google Chrome 13 beta (ms):
@@ -74,13 +80,6 @@ enabled, Zest would be faster than the native `document.querySelectorAll`.__
$ npm install zest.js
```
-## Usage
-
-``` js
-// second parameter is the context
-zest('header > h1', document);
-```
-
## Notes
Zest currently includes support for ender.js, Prototype, and jQuery.

0 comments on commit bb9240d

Please sign in to comment.