schmittjoh/twig.js — pull request #40 by jaredbc (2012-07-17 00:11:58+00:00)
Title: Fixing up the macro compiler to be inline with twigs behaviour

The macro compiler does not copy the arguments into the context currently. This is the behaviour that twig exposes as seen in the out put from this compiled function.

$context = $this->env->mergeGlobals(array(
"pager" => $pager,
"url" => $url,
));

This pull request does just that :)