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

Commit dfe4307

Browse files
committed
squash! fix(ngClassOdd/Even): keep track of classes even if odd/even do not match index
Change commit message to: fix(ngClassOdd/Even): add/remove the correct classes when expression/`$index` change simultaneously
1 parent 16e666b commit dfe4307

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/ng/directive/ngClassSpec.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,7 @@ describe('ngClass', function() {
463463
}));
464464

465465

466-
it('should keep track of old classes even if odd/even does not match `$index` atm',
466+
it('should add/remove the correct classes when the expression and `$index` change simultaneously',
467467
inject(function($compile, $rootScope) {
468468
element = $compile(
469469
'<div>' +

0 commit comments

Comments
 (0)