Skip to content

Commit

Permalink
updated README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
aishek committed Oct 18, 2013
1 parent cd13e8a commit 17bde17
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
jquery-animateNumber
====================

[Demo](http://aishek.github.io/jquery-animateNumber/) | [Latest Release v0.0.4](https://github.com/aishek/jquery-animateNumber/releases/tag/v0.0.4)
[Demo](http://aishek.github.io/jquery-animateNumber/) | [Latest Release v0.0.5](https://github.com/aishek/jquery-animateNumber/releases/tag/v0.0.5)

jQuery numbers animation plugin, adds 'number' property and step function to jQuery's animate function properties.

Expand All @@ -13,6 +13,8 @@ Requires jQuery 1.8.0 or higher (tested with 2.0.3, 2.0.2, 2.0.1, 2.0.0, 1.10.2,
```

```js
// animateNumber accepts same arguments, as animate
// is adds only number and numberStep params
$('#fun-level').animateNumber(
{
number: 100,
Expand All @@ -23,7 +25,7 @@ $('#fun-level').animateNumber(

// optional custom step function
// using here to keep '%' sign after number
number_step: function(now, tween) {
numberStep: function(now, tween) {
var floored_number = Math.floor(now),
target = $(tween.elem);

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jquery.animateNumber.js",
"version": "0.0.1",
"version": "0.0.5",
"devDependencies": {
"grunt": "~0.4.1",
"grunt-contrib-watch": "~0.5.3",
Expand Down

0 comments on commit 17bde17

Please sign in to comment.