Skip to content

Commit

Permalink
[update] tweaks readme; adds version bump to package.json (dollarsh…
Browse files Browse the repository at this point in the history
  • Loading branch information
yowainwright authored Jul 21, 2017
1 parent 0ee11b1 commit b1b19fa
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,14 +54,14 @@ yarn add shave

## Usage

Import as a module
Add **dist/shave.js** to your html
- Or, **dist/jquery.shave.js** for jQuery/Zepto as of Shave >= v2.

Or as a module
```sh
import shave from 'shave';
```

Or add **dist/shave.js** to your html
- Or, **dist/jquery.shave.js** for jQuery/Zepto as of Shave >= v2.

## Syntax

Basic setup
Expand Down
2 changes: 1 addition & 1 deletion dist/jquery.shave.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/shave.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "shave",
"version": "2.0.4",
"version": "2.1.0",
"description": "Shave is a javascript plugin that truncates multi-line text within a html element based on set max height",
"main": "dist/shave.js",
"module": "dist/shave.es.js",
Expand Down

0 comments on commit b1b19fa

Please sign in to comment.