@@ -482,19 +482,19 @@ describe("ngAnimate", function() {
482
482
483
483
element . append ( child ) ;
484
484
child . attr ( 'style' , 'width: 20px' ) ;
485
-
485
+
486
486
$animate . addClass ( child , 'ng-hide' ) ;
487
487
$animate . leave ( child ) ;
488
488
$rootScope . $digest ( ) ;
489
489
490
490
if ( $sniffer . transitions ) {
491
491
$animate . triggerReflow ( ) ;
492
492
493
- //this is to verify that the existing style is appended with a semicolon automatically
493
+ //this is to verify that the existing style is appended with a semicolon automatically
494
494
expect ( child . attr ( 'style' ) ) . toMatch ( / w i d t h : 2 0 p x ; .* ?/ i) ;
495
495
browserTrigger ( child , 'transitionend' , { timeStamp : Date . now ( ) + 1000 , elapsedTime : 1 } ) ;
496
496
}
497
-
497
+
498
498
expect ( child . attr ( 'style' ) ) . toMatch ( / w i d t h : 2 0 p x / i) ;
499
499
} ) ) ;
500
500
@@ -523,7 +523,7 @@ describe("ngAnimate", function() {
523
523
524
524
var completed = false ;
525
525
$animate . enter ( child , element , null , function ( ) {
526
- completed = true ;
526
+ completed = true ;
527
527
} ) ;
528
528
$rootScope . $digest ( ) ;
529
529
@@ -783,19 +783,19 @@ describe("ngAnimate", function() {
783
783
$animate . enabled ( true ) ;
784
784
785
785
ss . addRule ( '.real-animation.ng-enter, .real-animation.ng-leave, .real-animation-fake.ng-enter, .real-animation-fake.ng-leave' ,
786
- '-webkit-animation:1s my_animation;' +
786
+ '-webkit-animation:1s my_animation;' +
787
787
'animation:1s my_animation;' ) ;
788
788
789
789
ss . addRule ( '.real-animation.ng-enter-stagger, .real-animation.ng-leave-stagger' ,
790
790
'-webkit-animation-delay:0.1s;' +
791
791
'-webkit-animation-duration:0s;' +
792
- 'animation-delay:0.1s;' +
792
+ 'animation-delay:0.1s;' +
793
793
'animation-duration:0s;' ) ;
794
794
795
795
ss . addRule ( '.fake-animation.ng-enter-stagger, .fake-animation.ng-leave-stagger' ,
796
796
'-webkit-animation-delay:0.1s;' +
797
797
'-webkit-animation-duration:1s;' +
798
- 'animation-delay:0.1s;' +
798
+ 'animation-delay:0.1s;' +
799
799
'animation-duration:1s;' ) ;
800
800
801
801
var container = $compile ( html ( '<div></div>' ) ) ( $rootScope ) ;
@@ -850,7 +850,7 @@ describe("ngAnimate", function() {
850
850
$animate . enabled ( true ) ;
851
851
852
852
ss . addRule ( '.stagger-animation.ng-enter, .stagger-animation.ng-leave' ,
853
- '-webkit-animation:my_animation 1s 1s, your_animation 1s 2s;' +
853
+ '-webkit-animation:my_animation 1s 1s, your_animation 1s 2s;' +
854
854
'animation:my_animation 1s 1s, your_animation 1s 2s;' ) ;
855
855
856
856
ss . addRule ( '.stagger-animation.ng-enter-stagger, .stagger-animation.ng-leave-stagger' ,
@@ -1074,19 +1074,19 @@ describe("ngAnimate", function() {
1074
1074
$animate . enabled ( true ) ;
1075
1075
1076
1076
ss . addRule ( '.real-animation.ng-enter, .real-animation.ng-leave, .real-animation-fake.ng-enter, .real-animation-fake.ng-leave' ,
1077
- '-webkit-transition:1s linear all;' +
1077
+ '-webkit-transition:1s linear all;' +
1078
1078
'transition:1s linear all;' ) ;
1079
1079
1080
1080
ss . addRule ( '.real-animation.ng-enter-stagger, .real-animation.ng-leave-stagger' ,
1081
1081
'-webkit-transition-delay:0.1s;' +
1082
1082
'-webkit-transition-duration:0s;' +
1083
- 'transition-delay:0.1s;' +
1083
+ 'transition-delay:0.1s;' +
1084
1084
'transition-duration:0s;' ) ;
1085
1085
1086
1086
ss . addRule ( '.fake-animation.ng-enter-stagger, .fake-animation.ng-leave-stagger' ,
1087
1087
'-webkit-transition-delay:0.1s;' +
1088
1088
'-webkit-transition-duration:1s;' +
1089
- 'transition-delay:0.1s;' +
1089
+ 'transition-delay:0.1s;' +
1090
1090
'transition-duration:1s;' ) ;
1091
1091
1092
1092
var container = $compile ( html ( '<div></div>' ) ) ( $rootScope ) ;
@@ -1142,7 +1142,7 @@ describe("ngAnimate", function() {
1142
1142
$animate . enabled ( true ) ;
1143
1143
1144
1144
ss . addRule ( '.stagger-animation.ng-enter, .ani.ng-leave' ,
1145
- '-webkit-transition:1s linear color 2s, 3s linear font-size 4s;' +
1145
+ '-webkit-transition:1s linear color 2s, 3s linear font-size 4s;' +
1146
1146
'transition:1s linear color 2s, 3s linear font-size 4s;' ) ;
1147
1147
1148
1148
ss . addRule ( '.stagger-animation.ng-enter-stagger, .ani.ng-leave-stagger' ,
@@ -1234,7 +1234,7 @@ describe("ngAnimate", function() {
1234
1234
1235
1235
it ( "should not allow the closing animation to close off a successive animation midway" ,
1236
1236
inject ( function ( $animate , $rootScope , $compile , $sniffer , $timeout ) {
1237
-
1237
+
1238
1238
if ( ! $sniffer . transitions ) return ;
1239
1239
1240
1240
ss . addRule ( '.some-class-add' , '-webkit-transition:5s linear all;' +
@@ -1272,9 +1272,9 @@ describe("ngAnimate", function() {
1272
1272
$animate . enabled ( true ) ;
1273
1273
1274
1274
ss . addRule ( '.stagger-animation.ng-enter, .stagger-animation.ng-leave' ,
1275
- '-webkit-animation:my_animation 1s 1s, your_animation 1s 2s;' +
1275
+ '-webkit-animation:my_animation 1s 1s, your_animation 1s 2s;' +
1276
1276
'animation:my_animation 1s 1s, your_animation 1s 2s;' +
1277
- '-webkit-transition:1s linear all 1s;' +
1277
+ '-webkit-transition:1s linear all 1s;' +
1278
1278
'transition:1s linear all 1s;' ) ;
1279
1279
1280
1280
ss . addRule ( '.stagger-animation.ng-enter-stagger, .stagger-animation.ng-leave-stagger' ,
@@ -1544,7 +1544,7 @@ describe("ngAnimate", function() {
1544
1544
expect ( steps . shift ( ) ) . toEqual ( [ 'close' , 'klass' , 'addClass' ] ) ;
1545
1545
1546
1546
expect ( steps . shift ( ) ) . toEqual ( [ 'done' , 'klass' , 'addClass' ] ) ;
1547
- } ) ) ;
1547
+ } ) ) ;
1548
1548
1549
1549
it ( 'should fire the DOM callbacks even if no animation is rendered' ,
1550
1550
inject ( function ( $animate , $rootScope , $compile , $sniffer , $rootElement , $timeout ) {
@@ -1572,7 +1572,7 @@ describe("ngAnimate", function() {
1572
1572
1573
1573
expect ( steps . shift ( ) ) . toEqual ( [ 'before' , 'ng-enter' , 'enter' ] ) ;
1574
1574
expect ( steps . shift ( ) ) . toEqual ( [ 'after' , 'ng-enter' , 'enter' ] ) ;
1575
- } ) ) ;
1575
+ } ) ) ;
1576
1576
1577
1577
it ( 'should not fire DOM callbacks on the element being animated unless registered' ,
1578
1578
inject ( function ( $animate , $rootScope , $compile , $sniffer , $rootElement , $timeout ) {
@@ -2551,7 +2551,7 @@ describe("ngAnimate", function() {
2551
2551
}
2552
2552
} ) ;
2553
2553
} ) ;
2554
-
2554
+
2555
2555
inject ( function ( $compile , $rootScope , $animate , $timeout , $rootElement ) {
2556
2556
$animate . enabled ( true ) ;
2557
2557
@@ -2832,7 +2832,7 @@ describe("ngAnimate", function() {
2832
2832
2833
2833
2834
2834
it ( 'should perform pre and post animations' , function ( ) {
2835
- var steps = [ ] ;
2835
+ var steps = [ ] ;
2836
2836
module ( function ( $animateProvider ) {
2837
2837
$animateProvider . register ( '.class-animate' , function ( ) {
2838
2838
return {
@@ -2861,7 +2861,7 @@ describe("ngAnimate", function() {
2861
2861
2862
2862
2863
2863
it ( 'should treat the leave event always as a before event and discard the beforeLeave function' , function ( ) {
2864
- var parentID , steps = [ ] ;
2864
+ var parentID , steps = [ ] ;
2865
2865
module ( function ( $animateProvider ) {
2866
2866
$animateProvider . register ( '.animate' , function ( ) {
2867
2867
return {
@@ -3080,7 +3080,7 @@ describe("ngAnimate", function() {
3080
3080
var element = $compile ( '<div>' +
3081
3081
' <div ng-repeat="item in items"' +
3082
3082
' ng-include="tpl"' +
3083
- ' class="special"></div>' +
3083
+ ' class="special"></div>' +
3084
3084
'</div>' ) ( $rootScope ) ;
3085
3085
3086
3086
ss . addRule ( '.special' , '-webkit-transition:1s linear all;' +
0 commit comments