Tests: IE8 support for log capture

No Array.indexOf. We are living like animals!
This commit is contained in:
Chris Adams 2013-07-02 16:20:56 -04:00
parent 9fb4ae2a9a
commit 6d7dd71577

View File

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