Permalink
Browse files

IE9 compat

  • Loading branch information...
1 parent c6b7542 commit 9cb664e3eff213a534d00295c4749df0ed8461d6 @Raynos Raynos committed with isaacs Jul 19, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 lib/tap-harness.js
View
@@ -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)

0 comments on commit 9cb664e

Please sign in to comment.