mirror of
https://github.com/openseadragon/openseadragon.git
synced 2025-01-19 17:21:50 +03:00
Tests: IE8 support for log capture
No Array.indexOf. We are living like animals!
This commit is contained in:
parent
9fb4ae2a9a
commit
6d7dd71577
@ -106,7 +106,12 @@
|
||||
})(testLog[i]);
|
||||
|
||||
testLog[i].contains = function (needle) {
|
||||
return this.indexOf(needle) > -1;
|
||||
for (var i = 0; i < this.length; i++) {
|
||||
if (this[i] == needle) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user