From 0d3a4ee33b246cec1a74bab58dbcfb86b56a3a1f Mon Sep 17 00:00:00 2001 From: Yichao Wang Date: Wed, 24 Jun 2015 19:18:51 +0800 Subject: [PATCH] docs(ngAnimate): change .ng-enter to .ng-animate .ng-enter class is not added by animateCss service. .enter and .ng-animate is added. Maybe a fix of adding .ng-enter rather than .enter is more proper. --- src/ngAnimate/module.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ngAnimate/module.js b/src/ngAnimate/module.js index a6bae77add3c..c080ddf10bd6 100644 --- a/src/ngAnimate/module.js +++ b/src/ngAnimate/module.js @@ -402,7 +402,7 @@ * * ```css * /* the transition tells ngAnimate to make the animation happen */ - * .slide.ng-enter { transition:0.5s linear all; } + * .slide.ng-animate { transition:0.5s linear all; } * * /* this extra CSS class will be absorbed into the transition * since the $animateCss code is adding the class */