refactor(indexOf) Remove a now unused copy of the indexOf function

This was missed in 300bffc4fe

Closes #8939
This commit is contained in:
Rouven Weßling
2014-09-04 23:25:36 +02:00
committed by Peter Bacon Darwin
parent c3a58a9f34
commit 3471fedfbc

View File

@@ -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;