Permalink
Browse files

Remove undocumented pipeline feature to invoke a method on a return v…

…alue
  • Loading branch information...
briancavalier committed Jan 21, 2014
1 parent 9c90d32 commit 72c07b0ab84af64a057cfbb0451641a58edb3598
Showing with 0 additions and 5 deletions.
  1. +0 −5 lib/pipeline.js
View
@@ -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);
});

0 comments on commit 72c07b0

Please sign in to comment.