Skip to content

Commit 334303e

Browse files
jarrettchpetebacondarwin
authored andcommittedNov 20, 2013
docs(ngAnimate): fixed two small typos
Line 162: 'defiend' should be 'defined' Line 225: 'callback function be excuted' should be 'callback function will be executed'. Closes angular#5048
1 parent b95fd53 commit 334303e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎src/ngAnimate/animate.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@
159159
* }
160160
* </pre>
161161
*
162-
* Staggering animations work by default in ngRepeat (so long as the CSS class is defiend). Outside of ngRepeat, to use staggering animations
162+
* Staggering animations work by default in ngRepeat (so long as the CSS class is defined). Outside of ngRepeat, to use staggering animations
163163
* on your own, they can be triggered by firing multiple calls to the same event on $animate. However, the restrictions surrounding this
164164
* are that each of the elements must have the same CSS className value as well as the same parent element. A stagger operation
165165
* will also be reset if more than 10ms has passed after the last animation has been fired.
@@ -222,7 +222,7 @@
222222
* JavaScript-defined animations are created with a CSS-like class selector and a collection of events which are set to run
223223
* a javascript callback function. When an animation is triggered, $animate will look for a matching animation which fits
224224
* the element's CSS class attribute value and then run the matching animation event function (if found).
225-
* In other words, if the CSS classes present on the animated element match any of the JavaScript animations then the callback function
225+
* In other words, if the CSS classes present on the animated element match any of the JavaScript animations then the callback function will
226226
* be executed. It should be also noted that only simple, single class selectors are allowed (compound class selectors are not supported).
227227
*
228228
* Within a JavaScript animation, an object containing various event callback animation functions is expected to be returned.

0 commit comments

Comments
 (0)
Please sign in to comment.