Merge pull request #280 from asleepwalker/master

Fixed wrong format of the function's caption in readme
This commit is contained in:
Daniel Eden 2014-09-03 10:54:45 -07:00
commit a3cf3e6c88

View file

@ -30,7 +30,7 @@ http://api.jquery.com/one/
$('#yourElement').one('webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend', doSomething); $('#yourElement').one('webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend', doSomething);
``` ```
**Note:** `jQuery#one` is used when you want to execute the event handler at most *once*. More information [here](http://api.jquery.com/one/). **Note:** `jQuery.one()` is used when you want to execute the event handler at most *once*. More information [here](http://api.jquery.com/one/).
You can change the duration of your animations, add a delay or change the number of times that it plays: You can change the duration of your animations, add a delay or change the number of times that it plays: