Skip to content
Browse files

fix calling next with arguments bug, ive created 2 days ago

  • Loading branch information...
1 parent 8436704 commit 632a8c46d0cd9b5565f0c33ecadde6911fe788c6 @shimondoodkin committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 index.js
View
2 index.js
@@ -48,7 +48,7 @@ function callfunc(func_t,args,next)
if(typeof func_t==='object' && func_t instanceof Array)
func_t[0].apply(next, func_t[1]);
else if(args && typeof args==='object' && args!==null && args.length>0)
- func_t.call(next,args);
+ func_t.apply(next,args);
else
func_t.call(next);
}

0 comments on commit 632a8c4

Please sign in to comment.
Something went wrong with that request. Please try again.