Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

readme

  • Loading branch information...
commit bb9240d12db57b835a95360be5650a7c44b3f90c 1 parent 2c7f61b
@chjj authored
Showing with 6 additions and 7 deletions.
  1. +6 −7 README.md
View
13 README.md
@@ -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.
Please sign in to comment.
Something went wrong with that request. Please try again.