Skip to content

Commit

Permalink
README specify js code blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
desandro committed Oct 29, 2015
1 parent f44d6d3 commit d3f0ba5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -243,15 +243,15 @@ imagesLoaded works with [Browserify](http://browserify.org/).
npm install imagesloaded --save
```

```
``` js
var imagesLoaded = require('imagesloaded');

imagesLoaded( elem, function() {...} );
```

Use `.makeJQueryPlugin` to make to use `.imagesLoaded()` jQuery plugin.

```
``` js
var $ = require('jquery');
var imagesLoaded = require('imagesloaded');

Expand Down

0 comments on commit d3f0ba5

Please sign in to comment.