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