Skip to content

Commit

Permalink
udpate comments
Browse files Browse the repository at this point in the history
  • Loading branch information
idomusha committed Dec 2, 2015
1 parent 3d5bc4e commit c31c671
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,6 @@

5. Override default values [OPTIONAL]:

You can specify how many ranges you want.
- **ranges** setting takes as key the width range name (string) and as values the media query begin and end (array). "-1" means no value (for min-width or max-width).
- **name** setting allows you to change the default data attribute name by your own (or class prefix name if 'class' is defined as true).
- **class** allows you to use a class instead of data attribute.

```javascript
threshold({

Expand All @@ -78,6 +73,11 @@ You can specify how many ranges you want.
});
```

You can specify how many ranges you want.
- **ranges** setting takes as key the width range name (string) and as values the media query begin and end (array). "-1" means no value (for min-width or max-width).
- **name** setting allows you to change the default data attribute name by your own (or class prefix name if **class** is defined as *true*).
- **class** allows you to use a class instead of data attribute.

## You can also grab Both using bower:
```
bower install threshold --save
Expand Down

0 comments on commit c31c671

Please sign in to comment.