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

Commit 0c2378d

Browse files
committed
refactor(ngAnimate): remove unneeded comparison
It was supposed to be removed in 22358cf, but was not.
1 parent 30996f8 commit 0c2378d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ngAnimate/animate.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,7 @@ angular.module('ngAnimate', ['ng'])
484484

485485
var toAdd = [], toRemove = [];
486486
forEach(cache.classes, function(status, className) {
487-
var hasClass = hasClasses[className] === true;
487+
var hasClass = hasClasses[className];
488488
var matchingAnimation = lookup[className] || {};
489489

490490
// When addClass and removeClass is called then $animate will check to

0 commit comments

Comments
 (0)