Skip to content

Commit

Permalink
Use correct method name (Fixes #22)
Browse files Browse the repository at this point in the history
  • Loading branch information
Joakim Carlstein committed Feb 19, 2015
1 parent 883d863 commit e0a180d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ function isDependecyUsedInAnyDeclaration (dependency, ngDeps) {
if (dependency in ngDeps.modules) {
return true;
}
return Object.keys(ngDeps.modules).any(function (module) {
return Object.keys(ngDeps.modules).some(function (module) {
return ngDeps.modules[module].indexOf(dependency) > -1;
});
}

0 comments on commit e0a180d

Please sign in to comment.