diff options
Diffstat (limited to 'lib/transform.js')
-rw-r--r-- | lib/transform.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/transform.js b/lib/transform.js index f011cba9..b84bf0b9 100644 --- a/lib/transform.js +++ b/lib/transform.js @@ -201,6 +201,10 @@ TreeTransformer.prototype = new TreeWalker; if (self.key instanceof AST_Node) self.key = self.key.transform(tw); self.value = self.value.transform(tw); }); + DEF(AST_Template, function(self, tw) { + if (self.tag) self.tag = self.tag.transform(tw); + self.expressions = do_list(self.expressions, tw); + }); })(function(node, descend) { node.DEFMETHOD("transform", function(tw, in_list) { var x, y; |