Skip to content

Commit

Permalink
changed package name
Browse files Browse the repository at this point in the history
  • Loading branch information
f15gdsy committed Mar 22, 2017
1 parent fc245d4 commit cc29f33
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ Check out the demo here: https://f15gdsy.github.io/gallery.js/
## 1. Installation
If you are using npm:
```
npm install gallery.js --save
npm install gallery-js --save
```

If you are using yarn:
```
yarn add gallery.js
yarn add gallery-js
```


Expand Down Expand Up @@ -72,7 +72,7 @@ That's it!
- **gapX** { Number } - The horizonal gap between each images. Default 0. Will be ignored if direction is set to 'top' or 'down'.
- **gapY** { Number } - The vertical gap between each images. Default 0. Will be ignored if direction is set to 'left' or 'right'.
- **duration** { Number } - How long should one rotation lasts. Default 10. Longer a gallery, it takes longer duration to achieve the same speed.

## .start()
Starts the animation.

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "gallery.js",
"name": "gallery-js",
"version": "1.0.0-alpha.1",
"description": "An even more lightweight version of film.js, a film like animation, that works for image.",
"main": "dist/gallery.min.js",
Expand Down

0 comments on commit cc29f33

Please sign in to comment.