Skip to content

Commit

Permalink
Add install intructions
Browse files Browse the repository at this point in the history
  • Loading branch information
Laurent Goudet committed Jan 22, 2016
1 parent 98f2c6c commit ad122f2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ possible, while still allowing you to handle load errors.
It returns `Object` with two `start` and `load` keys. The `start` Promise will
always resolve, use `load` to handle load errors.

To install with jspm:

```
jspm install lazyimage=github:laurentgoudet/[email protected]
```

To lazy load a single image, simply do:

```
Expand Down

0 comments on commit ad122f2

Please sign in to comment.