Commit c4ee5836 authored by analog-nico's avatar analog-nico
Browse files

Renamed inspectable functions

parent 914a7be0
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -27,7 +27,7 @@ var request = (function () {
})();


function ownCallback(err, httpResponse, body) {
function RP$callback(err, httpResponse, body) {

    /* jshint validthis:true */
    var self = this;
@@ -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;

@@ -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();