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

Commit a84e3e7

Browse files
CarlosMiguelDesarrollopetebacondarwin
CarlosMiguelDesarrollo
authored andcommitted
chore(ngAnimate): delete an unused conditional statement
Delete a conditional statement that appears to have only been for debugging. It is marked with a TODO tag to be deleted. Closes #14282
1 parent 53ab8bc commit a84e3e7

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/ngAnimate/animation.js

-2
Original file line numberDiff line numberDiff line change
@@ -348,8 +348,6 @@ var $$AnimationProvider = ['$animateProvider', function($animateProvider) {
348348
// may attempt more elements, but custom drivers are more particular
349349
for (var i = drivers.length - 1; i >= 0; i--) {
350350
var driverName = drivers[i];
351-
if (!$injector.has(driverName)) continue; // TODO(matsko): remove this check
352-
353351
var factory = $injector.get(driverName);
354352
var driver = factory(animationDetails);
355353
if (driver) {

0 commit comments

Comments
 (0)