@@ -299,7 +299,7 @@ describe("ngAnimate", function() {
299
299
expect ( child ) . toBeHidden ( ) ; //hides instantly
300
300
301
301
//lets change this to prove that done doesn't fire anymore for the previous hide() operation
302
- child . css ( 'display' , 'block' ) ;
302
+ child . css ( 'display' , 'block' ) ;
303
303
child . removeClass ( 'ng-hide' ) ;
304
304
305
305
$timeout . flushNext ( 0 ) ;
@@ -389,7 +389,7 @@ describe("ngAnimate", function() {
389
389
element . addClass ( 'custom-delay custom-long-delay' ) ;
390
390
$rootScope . $digest ( ) ;
391
391
392
- $animate . removeClass ( element , 'ng-hide' ) ;
392
+ $animate . removeClass ( element , 'ng-hide' ) ;
393
393
394
394
if ( $sniffer . transitions ) {
395
395
$timeout . flushNext ( 0 ) ;
@@ -446,9 +446,9 @@ describe("ngAnimate", function() {
446
446
it ( "should properly detect and make use of CSS Animations with multiple iterations" ,
447
447
inject ( function ( $animate , $rootScope , $compile , $sniffer , $timeout ) {
448
448
449
- var style = 'animation-duration: 2s;' +
449
+ var style = 'animation-duration: 2s;' +
450
450
'animation-iteration-count: 3;' +
451
- vendorPrefix + 'animation-duration: 2s;' +
451
+ vendorPrefix + 'animation-duration: 2s;' +
452
452
vendorPrefix + 'animation-iteration-count: 3;' ;
453
453
454
454
ss . addRule ( '.ng-hide-add' , style ) ;
@@ -470,9 +470,9 @@ describe("ngAnimate", function() {
470
470
it ( "should fallback to the animation duration if an infinite iteration is provided" ,
471
471
inject ( function ( $animate , $rootScope , $compile , $sniffer , $timeout ) {
472
472
473
- var style = 'animation-duration: 2s;' +
473
+ var style = 'animation-duration: 2s;' +
474
474
'animation-iteration-count: infinite;' +
475
- vendorPrefix + 'animation-duration: 2s;' +
475
+ vendorPrefix + 'animation-duration: 2s;' +
476
476
vendorPrefix + 'animation-iteration-count: infinite;' ;
477
477
478
478
ss . addRule ( '.ng-hide-add' , style ) ;
@@ -494,10 +494,10 @@ describe("ngAnimate", function() {
494
494
it ( "should consider the animation delay is provided" ,
495
495
inject ( function ( $animate , $rootScope , $compile , $sniffer , $timeout ) {
496
496
497
- var style = 'animation-duration: 2s;' +
497
+ var style = 'animation-duration: 2s;' +
498
498
'animation-delay: 10s;' +
499
499
'animation-iteration-count: 5;' +
500
- vendorPrefix + 'animation-duration: 2s;' +
500
+ vendorPrefix + 'animation-duration: 2s;' +
501
501
vendorPrefix + 'animation-delay: 10s;' +
502
502
vendorPrefix + 'animation-iteration-count: 5;' ;
503
503
@@ -572,7 +572,7 @@ describe("ngAnimate", function() {
572
572
it ( "should skip transitions if disabled and run when enabled" ,
573
573
inject ( function ( $animate , $rootScope , $compile , $sniffer , $timeout ) {
574
574
575
- var style = 'transition: 1s linear all;' +
575
+ var style = 'transition: 1s linear all;' +
576
576
vendorPrefix + 'transition: 1s linear all' ;
577
577
578
578
ss . addRule ( '.ng-hide-add' , style ) ;
@@ -662,9 +662,9 @@ describe("ngAnimate", function() {
662
662
663
663
it ( "should select the highest duration and delay" ,
664
664
inject ( function ( $animate , $rootScope , $compile , $sniffer , $timeout ) {
665
- var style = 'transition:1s linear all 2s;' +
666
- vendorPrefix + 'transition:1s linear all 2s;' +
667
- 'animation:my_ani 10s 1s;' +
665
+ var style = 'transition:1s linear all 2s;' +
666
+ vendorPrefix + 'transition:1s linear all 2s;' +
667
+ 'animation:my_ani 10s 1s;' +
668
668
vendorPrefix + 'animation:my_ani 10s 1s;' ;
669
669
670
670
ss . addRule ( '.ng-hide-add' , style ) ;
@@ -1272,7 +1272,7 @@ describe("ngAnimate", function() {
1272
1272
} ) ) ;
1273
1273
} ) ;
1274
1274
} ) ;
1275
-
1275
+
1276
1276
var $rootElement , $document , vendorPrefix ;
1277
1277
beforeEach ( module ( function ( $provide ) {
1278
1278
return function ( _$rootElement_ , _$document_ , $animate , $sniffer ) {
@@ -1293,7 +1293,7 @@ describe("ngAnimate", function() {
1293
1293
it ( "should properly animate and parse CSS3 transitions" ,
1294
1294
inject ( function ( $compile , $rootScope , $animate , $sniffer , $timeout ) {
1295
1295
1296
- ss . addRule ( '.ng-enter' , 'transition:1s linear all;' +
1296
+ ss . addRule ( '.ng-enter' , 'transition:1s linear all;' +
1297
1297
vendorPrefix + 'transition:1s linear all' ) ;
1298
1298
1299
1299
var element = html ( $compile ( '<div>...</div>' ) ( $rootScope ) ) ;
@@ -1341,7 +1341,7 @@ describe("ngAnimate", function() {
1341
1341
$sniffer . animations = false ;
1342
1342
$sniffer . transitions = false ;
1343
1343
1344
- ss . addRule ( '.ng-enter' , 'some_animation 4s linear 1s 2 alternate;' +
1344
+ ss . addRule ( '.ng-enter' , 'some_animation 4s linear 1s 2 alternate;' +
1345
1345
vendorPrefix + 'animation: some_animation 4s linear 1s 2 alternate' ) ;
1346
1346
1347
1347
var element = html ( $compile ( '<div>...</div>' ) ( $rootScope ) ) ;
@@ -1365,7 +1365,7 @@ describe("ngAnimate", function() {
1365
1365
} )
1366
1366
inject ( function ( $compile , $rootScope , $animate , $sniffer , $timeout ) {
1367
1367
1368
- ss . addRule ( '.ng-enter' , 'transition: 1s linear all;' +
1368
+ ss . addRule ( '.ng-enter' , 'transition: 1s linear all;' +
1369
1369
vendorPrefix + 'transition: 1s linear all' ) ;
1370
1370
1371
1371
var element = html ( $compile ( '<div>...</div>' ) ( $rootScope ) ) ;
0 commit comments