diff options
author | Samy Pessé <samypesse@gmail.com> | 2015-01-27 21:47:14 +0100 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2015-01-27 21:47:14 +0100 |
commit | bc389ab4a1ea9013a869c0b33162fb67bb0d0708 (patch) | |
tree | fd1904c5fc59495190e7b8f4035519dbe642873d /lib/template.js | |
parent | cf12d090928907bb82c9f1796b642cbef9b42640 (diff) | |
download | gitbook-bc389ab4a1ea9013a869c0b33162fb67bb0d0708.zip gitbook-bc389ab4a1ea9013a869c0b33162fb67bb0d0708.tar.gz gitbook-bc389ab4a1ea9013a869c0b33162fb67bb0d0708.tar.bz2 |
Improve tests on blocks extensions
Diffstat (limited to 'lib/template.js')
-rw-r--r-- | lib/template.js | 1 |
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(); |