Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
small mistake fixed here to ;)
  • Loading branch information
Spone committed Nov 11, 2014
1 parent 7969ebb commit 68d947b
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,12 @@ var panning = new Motio(element, {
fps: 30, // Frames per second. More fps = higher CPU load.
speedX: -30 // Negative horizontal speed = panning to left.
});
sprite.play(); // start animation
sprite.pause(); // pause animation
sprite.toggle(); // toggle play/pause
sprite.toStart(); // animate to 1st frame and stop
sprite.toEnd(); // animate to last frame and stop
sprite.to(10); // animate to 11th frame and stop
panning.play(); // start animation
panning.pause(); // pause animation
panning.toggle(); // toggle play/pause
panning.toStart(); // animate to 1st frame and stop
panning.toEnd(); // animate to last frame and stop
panning.to(10); // animate to 11th frame and stop
```

## Download
Expand All @@ -70,4 +70,4 @@ Can be found in the [docs](https://github.com/darsain/motio/tree/master/docs) di

## Contributing

Please, read the [Contributing Guidelines](CONTRIBUTING.md) for this project.
Please, read the [Contributing Guidelines](CONTRIBUTING.md) for this project.

0 comments on commit 68d947b

Please sign in to comment.