Skip to content

Commit

Permalink
Small fix to macros.
Browse files Browse the repository at this point in the history
  • Loading branch information
mauteri committed May 22, 2014
1 parent fdc1dbe commit 925d6a8
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 2 deletions.
2 changes: 2 additions & 0 deletions demos/node_express/public/vendor/twig.js
Original file line number Diff line number Diff line change
Expand Up @@ -2438,6 +2438,8 @@ var Twig = (function (Twig) {
var prop = token.parameters[i];
if(typeof arguments[i] !== 'undefined') {
macroContext[prop] = arguments[i];
} else {
macroContext[prop] = undefined;
}
}
// Render
Expand Down
2 changes: 2 additions & 0 deletions demos/twitter_backbone/vendor/twig.js
Original file line number Diff line number Diff line change
Expand Up @@ -2438,6 +2438,8 @@ var Twig = (function (Twig) {
var prop = token.parameters[i];
if(typeof arguments[i] !== 'undefined') {
macroContext[prop] = arguments[i];
} else {
macroContext[prop] = undefined;
}
}
// Render
Expand Down
2 changes: 2 additions & 0 deletions src/twig.logic.js
Original file line number Diff line number Diff line change
Expand Up @@ -727,6 +727,8 @@ var Twig = (function (Twig) {
var prop = token.parameters[i];
if(typeof arguments[i] !== 'undefined') {
macroContext[prop] = arguments[i];
} else {
macroContext[prop] = undefined;
}
}
// Render
Expand Down
2 changes: 2 additions & 0 deletions twig.js
Original file line number Diff line number Diff line change
Expand Up @@ -2438,6 +2438,8 @@ var Twig = (function (Twig) {
var prop = token.parameters[i];
if(typeof arguments[i] !== 'undefined') {
macroContext[prop] = arguments[i];
} else {
macroContext[prop] = undefined;
}
}
// Render
Expand Down
2 changes: 1 addition & 1 deletion 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 925d6a8

Please sign in to comment.