Loading lib/rp.js +3 −9 Original line number Original line Diff line number Diff line Loading @@ -140,15 +140,9 @@ function expose(methodToExpose, exposeAs) { } } _.forEach([ expose('then'); ['then'], expose('catch'); ['catch'], expose('finally'); ['finally'] ], function (args) { expose.apply(undefined, args); } ); request.Request.prototype.promise = function RP$promise() { request.Request.prototype.promise = function RP$promise() { markPromiseInUse(this); markPromiseInUse(this); Loading Loading
lib/rp.js +3 −9 Original line number Original line Diff line number Diff line Loading @@ -140,15 +140,9 @@ function expose(methodToExpose, exposeAs) { } } _.forEach([ expose('then'); ['then'], expose('catch'); ['catch'], expose('finally'); ['finally'] ], function (args) { expose.apply(undefined, args); } ); request.Request.prototype.promise = function RP$promise() { request.Request.prototype.promise = function RP$promise() { markPromiseInUse(this); markPromiseInUse(this); Loading