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

Commit 01326be

Browse files
committedAug 20, 2015
docs(ngShow): simplify the CSS transition code
The animation example contains unnecessarily complex CSS animation code in it and the conventions are off. Related #12631
1 parent dc48aad commit 01326be

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed
 

‎src/ng/directive/ngShowHide.js

+1-4
Original file line numberDiff line numberDiff line change
@@ -125,9 +125,7 @@ var NG_HIDE_IN_PROGRESS_CLASS = 'ng-hide-animate';
125125
background: white;
126126
}
127127
128-
.animate-show.ng-hide-add.ng-hide-add-active,
129-
.animate-show.ng-hide-remove.ng-hide-remove-active {
130-
-webkit-transition: all linear 0.5s;
128+
.animate-show.ng-hide-add, .animate-show.ng-hide-remove {
131129
transition: all linear 0.5s;
132130
}
133131
@@ -284,7 +282,6 @@ var ngShowDirective = ['$animate', function($animate) {
284282
</file>
285283
<file name="animations.css">
286284
.animate-hide {
287-
-webkit-transition: all linear 0.5s;
288285
transition: all linear 0.5s;
289286
line-height: 20px;
290287
opacity: 1;

0 commit comments

Comments
 (0)