Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

  • Loading branch information...
commit 632a8c46d0cd9b5565f0c33ecadde6911fe788c6 1 parent 8436704
@shimondoodkin authored
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);
}
Please sign in to comment.
Something went wrong with that request. Please try again.