Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Raynos committed Sep 23, 2012
1 parent 31258d2 commit 01c5148
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Expand Up @@ -4,6 +4,16 @@ A cross browser class list

## Example

```
var elem = someElement
, ClassList = require("class-list")
, cl = ClassList(elem)
cl.add("foo")
cl.remove("bar")
cl.toggle("baz")
```

## Installation

`npm install class-list`
Expand Down

0 comments on commit 01c5148

Please sign in to comment.