Skip to content

Commit

Permalink
Forgot to run make.
Browse files Browse the repository at this point in the history
  • Loading branch information
mauteri committed May 22, 2014
1 parent ee1656e commit fdc1dbe
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 6 deletions.
4 changes: 3 additions & 1 deletion demos/node_express/public/vendor/twig.js
Original file line number Diff line number Diff line change
Expand Up @@ -2436,7 +2436,9 @@ var Twig = (function (Twig) {
// Add parameters from context to macroContext
for (var i=0; i<token.parameters.length; i++) {
var prop = token.parameters[i];
macroContext[prop] = arguments[i] || undefined;
if(typeof arguments[i] !== 'undefined') {
macroContext[prop] = arguments[i];
}
}
// Render
return Twig.parse.apply(template, [token.output, macroContext])
Expand Down
4 changes: 3 additions & 1 deletion demos/twitter_backbone/vendor/twig.js
Original file line number Diff line number Diff line change
Expand Up @@ -2436,7 +2436,9 @@ var Twig = (function (Twig) {
// Add parameters from context to macroContext
for (var i=0; i<token.parameters.length; i++) {
var prop = token.parameters[i];
macroContext[prop] = arguments[i] || undefined;
if(typeof arguments[i] !== 'undefined') {
macroContext[prop] = arguments[i];
}
}
// Render
return Twig.parse.apply(template, [token.output, macroContext])
Expand Down
4 changes: 3 additions & 1 deletion twig.js
Original file line number Diff line number Diff line change
Expand Up @@ -2436,7 +2436,9 @@ var Twig = (function (Twig) {
// Add parameters from context to macroContext
for (var i=0; i<token.parameters.length; i++) {
var prop = token.parameters[i];
macroContext[prop] = arguments[i] || undefined;
if(typeof arguments[i] !== 'undefined') {
macroContext[prop] = arguments[i];
}
}
// Render
return Twig.parse.apply(template, [token.output, macroContext])
Expand Down
4 changes: 2 additions & 2 deletions twig.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion twig.min.js.map

Large diffs are not rendered by default.

0 comments on commit fdc1dbe

Please sign in to comment.