removed undesired function invocation parenthesis

This commit is contained in:
Sarbbottam Bandyopadhyay 2014-03-07 23:10:08 +05:30
parent 09338c7304
commit 7224a82654
1 changed files with 1 additions and 1 deletions

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: