From 7be65652b1c4c0d5da05561aff5dead4c7292e70 Mon Sep 17 00:00:00 2001 From: Maxime Lasserre Date: Mon, 31 Aug 2015 13:02:36 +0200 Subject: [PATCH] docs($animate): Consistent naming In the description of the example, you use `element` to refer to the container parameter and `listenerFn` to refer to the callback parameter. --- src/ng/animate.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ng/animate.js b/src/ng/animate.js index 88e0e160592c..af6f7dfc750c 100644 --- a/src/ng/animate.js +++ b/src/ng/animate.js @@ -338,8 +338,8 @@ var $AnimateProvider = ['$provide', function($provide) { * // remove all the animation event listeners listening for `enter` on the given element and its children * $animate.off('enter', container); * - * // remove the event listener function provided by `listenerFn` that is set - * // to listen for `enter` on the given `element` as well as its children + * // remove the event listener function provided by `callback` that is set + * // to listen for `enter` on the given `container` as well as its children * $animate.off('enter', container, callback); * ``` *