Skip to content

Commit

Permalink
Remove undocumented pipeline feature to invoke a method on a return v…
Browse files Browse the repository at this point in the history
…alue
  • Loading branch information
briancavalier committed Jan 21, 2014
1 parent 9c90d32 commit 72c07b0
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions lib/pipeline.js
Expand Up @@ -49,11 +49,6 @@ define(function(require) {
if(target.length > 1) {
method = target[1];
target = target[0];
if(!target) {
return function(target) {
return target[method].apply(target, slice.call(arguments, 1));
};
}
return when(getProxy(target), function(proxy) {
return createProxyInvoker(proxy, method);
});
Expand Down

0 comments on commit 72c07b0

Please sign in to comment.