Merge pull request #173 from sarbbottam/master

removed undesired function invocation parenthesis
This commit is contained in:
Daniel Eden 2014-03-07 09:51:12 -08:00
commit d962a26393

View file

@ -27,7 +27,7 @@ http://api.jquery.com/one/
-->
```javascript
$('#yourElement').one('webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend', doSomething());
$('#yourElement').one('webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend', doSomething);
```
You can change the duration of your animations, add a delay or change the number of times that it plays: