summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/template.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/template.js b/lib/template.js
index ac7bc3e..ec1b391 100644
--- a/lib/template.js
+++ b/lib/template.js
@@ -169,6 +169,7 @@ TemplateEngine.prototype.addBlock = function(name, block) {
body: args.pop()()
};
})
+ .reverse()
.value();
var body = args.pop();