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

refactor(indexOf) Remove a now unused copy of the indexOf #8939

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions test/helpers/matchers.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,6 @@ beforeEach(function() {
};
}

function indexOf(array, obj) {
for ( var i = 0; i < array.length; i++) {
if (obj === array[i]) return i;
}
return -1;
}

function isNgElementHidden(element) {
// we need to check element.getAttribute for SVG nodes
var hidden = true;
Expand Down