@@ -323,7 +323,7 @@ describe("$animator", function() {
323
323
expect ( element . css ( 'display' ) ) . toBe ( 'none' ) ;
324
324
325
325
animator . show ( element ) ;
326
- if ( $sniffer . supportsAnimations ) {
326
+ if ( $sniffer . animations ) {
327
327
window . setTimeout . expect ( 1 ) . process ( ) ;
328
328
window . setTimeout . expect ( 4000 ) . process ( ) ;
329
329
}
@@ -345,7 +345,7 @@ describe("$animator", function() {
345
345
expect ( element . css ( 'display' ) ) . toBe ( 'none' ) ;
346
346
347
347
animator . show ( element ) ;
348
- if ( $sniffer . supportsAnimations ) {
348
+ if ( $sniffer . animations ) {
349
349
window . setTimeout . expect ( 1 ) . process ( ) ;
350
350
window . setTimeout . expect ( 6000 ) . process ( ) ;
351
351
}
@@ -367,7 +367,7 @@ describe("$animator", function() {
367
367
expect ( element . css ( 'display' ) ) . toBe ( 'none' ) ;
368
368
369
369
animator . show ( element ) ;
370
- if ( $sniffer . supportsAnimations ) {
370
+ if ( $sniffer . animations ) {
371
371
window . setTimeout . expect ( 1 ) . process ( ) ;
372
372
window . setTimeout . expect ( 2000 ) . process ( ) ;
373
373
}
@@ -391,7 +391,7 @@ describe("$animator", function() {
391
391
expect ( element . css ( 'display' ) ) . toBe ( 'none' ) ;
392
392
393
393
animator . show ( element ) ;
394
- if ( $sniffer . supportsTransitions ) {
394
+ if ( $sniffer . transitions ) {
395
395
window . setTimeout . expect ( 1 ) . process ( ) ;
396
396
window . setTimeout . expect ( 20000 ) . process ( ) ;
397
397
}
@@ -435,7 +435,7 @@ describe("$animator", function() {
435
435
expect ( element . css ( 'display' ) ) . toBe ( 'none' ) ;
436
436
437
437
animator . show ( element ) ;
438
- if ( $sniffer . supportsTransitions ) {
438
+ if ( $sniffer . transitions ) {
439
439
window . setTimeout . expect ( 1 ) . process ( ) ;
440
440
window . setTimeout . expect ( 1000 ) . process ( ) ;
441
441
}
@@ -451,7 +451,7 @@ describe("$animator", function() {
451
451
} ) ;
452
452
element . css ( 'display' , 'none' ) ;
453
453
animator . show ( element ) ;
454
- if ( $sniffer . supportsTransitions ) {
454
+ if ( $sniffer . transitions ) {
455
455
window . setTimeout . expect ( 1 ) . process ( ) ;
456
456
window . setTimeout . expect ( 2000 ) . process ( ) ;
457
457
}
0 commit comments