Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 288e4e3

Browse files
evermaxNarretz
authored andcommitted
docs($animate): make naming consistent
In the description of the example, you use `element` to refer to the container parameter and `listenerFn` to refer to the callback parameter. Closes #12716
1 parent d98c5f0 commit 288e4e3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ng/animate.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -329,8 +329,8 @@ var $AnimateProvider = ['$provide', function($provide) {
329329
* // remove all the animation event listeners listening for `enter` on the given element and its children
330330
* $animate.off('enter', container);
331331
*
332-
* // remove the event listener function provided by `listenerFn` that is set
333-
* // to listen for `enter` on the given `element` as well as its children
332+
* // remove the event listener function provided by `callback` that is set
333+
* // to listen for `enter` on the given `container` as well as its children
334334
* $animate.off('enter', container, callback);
335335
* ```
336336
*

0 commit comments

Comments
 (0)