From 93fbef8cf72df9d1b509b74df63082a3ed45a0e0 Mon Sep 17 00:00:00 2001 From: Shuvalov Anton Date: Wed, 20 May 2015 12:29:46 +0300 Subject: [PATCH] refactor --- index.js | 1 - 1 file changed, 1 deletion(-) diff --git a/index.js b/index.js index cc3c823..90afd9d 100644 --- a/index.js +++ b/index.js @@ -33,7 +33,6 @@ function mock(superagent) { // Patch Request.end() var oldEnd = superagent.Request.prototype.end; superagent.Request.prototype.end = function(cb) { - var self = this; var current = state.current; setTimeout(function() { current