Skip to content

Commit

Permalink
fix calling next with arguments bug, ive created 2 days ago
Browse files Browse the repository at this point in the history
  • Loading branch information
shimondoodkin committed Nov 14, 2010
1 parent 8436704 commit 632a8c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Expand Up @@ -48,7 +48,7 @@ function callfunc(func_t,args,next)
if(typeof func_t==='object' && func_t instanceof Array) if(typeof func_t==='object' && func_t instanceof Array)
func_t[0].apply(next, func_t[1]); func_t[0].apply(next, func_t[1]);
else if(args && typeof args==='object' && args!==null && args.length>0) else if(args && typeof args==='object' && args!==null && args.length>0)
func_t.call(next,args); func_t.apply(next,args);
else else
func_t.call(next); func_t.call(next);
} }
Expand Down

0 comments on commit 632a8c4

Please sign in to comment.