Skip to content

Commit

Permalink
Removed deprecated animation-basic mixin
Browse files Browse the repository at this point in the history
  • Loading branch information
Phil LaPier committed Mar 16, 2012
1 parent 2a46225 commit 316f2a7
Showing 1 changed file with 0 additions and 28 deletions.
28 changes: 0 additions & 28 deletions app/assets/stylesheets/css3/_animation.scss
Expand Up @@ -141,31 +141,3 @@
-moz-animation-fill-mode: $full; -moz-animation-fill-mode: $full;
animation-fill-mode: $full; animation-fill-mode: $full;
} }


// Deprecated
@mixin animation-basic ($name, $time: 0, $motion: ease) {
$length-of-name: length($name);
$length-of-time: length($time);
$length-of-motion: length($motion);

@if $length-of-name > 1 {
@include animation-name(zip($name));
} @else {
@include animation-name( $name);
}

@if $length-of-time > 1 {
@include animation-duration(zip($time));
} @else {
@include animation-duration( $time);
}

@if $length-of-motion > 1 {
@include animation-timing-function(zip($motion));
} @else {
@include animation-timing-function( $motion);
}
@warn "The animation-basic mixin is deprecated. Use the animation mixin instead.";
}

0 comments on commit 316f2a7

Please sign in to comment.