Loading lib/rp.js +3 −3 Original line number Diff line number Diff line Loading @@ -27,7 +27,7 @@ var request = (function () { })(); function ownCallback(err, httpResponse, body) { function RP$callback(err, httpResponse, body) { /* jshint validthis:true */ var self = this; Loading Loading @@ -83,7 +83,7 @@ function ownCallback(err, httpResponse, body) { var originalInit = request.Request.prototype.init; request.Request.prototype.init = function (options) { request.Request.prototype.init = function RP$initInterceptor(options) { var self = this; Loading @@ -97,7 +97,7 @@ request.Request.prototype.init = function (options) { self._rp_promise._rp_in_use = false; self._rp_callbackOrig = self.callback; self.callback = ownCallback; self.callback = RP$callback; if (_.isString(options.method)) { options.method = options.method.toUpperCase(); Loading Loading
lib/rp.js +3 −3 Original line number Diff line number Diff line Loading @@ -27,7 +27,7 @@ var request = (function () { })(); function ownCallback(err, httpResponse, body) { function RP$callback(err, httpResponse, body) { /* jshint validthis:true */ var self = this; Loading Loading @@ -83,7 +83,7 @@ function ownCallback(err, httpResponse, body) { var originalInit = request.Request.prototype.init; request.Request.prototype.init = function (options) { request.Request.prototype.init = function RP$initInterceptor(options) { var self = this; Loading @@ -97,7 +97,7 @@ request.Request.prototype.init = function (options) { self._rp_promise._rp_in_use = false; self._rp_callbackOrig = self.callback; self.callback = ownCallback; self.callback = RP$callback; if (_.isString(options.method)) { options.method = options.method.toUpperCase(); Loading