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

Commit 3471fed

Browse files
realitykingpetebacondarwin
authored andcommittedSep 5, 2014
refactor(indexOf) Remove a now unused copy of the indexOf function
This was missed in 300bffc Closes #8939
1 parent c3a58a9 commit 3471fed

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed
 

‎test/helpers/matchers.js

-7
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,6 @@ beforeEach(function() {
2525
};
2626
}
2727

28-
function indexOf(array, obj) {
29-
for ( var i = 0; i < array.length; i++) {
30-
if (obj === array[i]) return i;
31-
}
32-
return -1;
33-
}
34-
3528
function isNgElementHidden(element) {
3629
// we need to check element.getAttribute for SVG nodes
3730
var hidden = true;

0 commit comments

Comments
 (0)
This repository has been archived.