Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

IE9 compat

  • Loading branch information...
commit 9cb664e3eff213a534d00295c4749df0ed8461d6 1 parent c6b7542
@Raynos Raynos authored committed
Showing with 3 additions and 1 deletion.
  1. +3 −1 lib/tap-harness.js
View
4 lib/tap-harness.js
@@ -177,7 +177,9 @@ Harness.prototype.test = function test (name, conf, cb) {
t.on("ready", function () {
if (!isNaN(conf.timeout) && isFinite(conf.timeout)) {
var timer = setTimeout(this.timeout.bind(this), conf.timeout)
- var clear = clearTimeout.bind(null, timer)
+ var clear = function () {
+ clearTimeout(timer)
+ }
t.on("end", clear)
t.on("bailout", function (message) {
self.bailout(message)
Please sign in to comment.
Something went wrong with that request. Please try again.