summaryrefslogtreecommitdiffstats
path: root/lib/handlebars/compiler/compiler.js
diff options
context:
space:
mode:
authorkpdecker <kpdecker@gmail.com>2014-08-12 14:08:12 -0500
committerkpdecker <kpdecker@gmail.com>2014-08-12 14:41:58 -0500
commite93d5166723c9ea7da3cca3e6b2ba524a19e768e (patch)
treeab392798253d7279503431955e45c9a88baa88e6 /lib/handlebars/compiler/compiler.js
parent2a47d66ee9fdf467588f68de48a521ed2a1f59e1 (diff)
downloadhandlebars.js-e93d5166723c9ea7da3cca3e6b2ba524a19e768e.zip
handlebars.js-e93d5166723c9ea7da3cca3e6b2ba524a19e768e.tar.gz
handlebars.js-e93d5166723c9ea7da3cca3e6b2ba524a19e768e.tar.bz2
Render indent for standalone partials
Diffstat (limited to 'lib/handlebars/compiler/compiler.js')
-rw-r--r--lib/handlebars/compiler/compiler.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/handlebars/compiler/compiler.js b/lib/handlebars/compiler/compiler.js
index f823daa..131cb98 100644
--- a/lib/handlebars/compiler/compiler.js
+++ b/lib/handlebars/compiler/compiler.js
@@ -217,7 +217,7 @@ Compiler.prototype = {
this.opcode('push', 'depth0');
}
- this.opcode('invokePartial', partialName.name);
+ this.opcode('invokePartial', partialName.name, partial.indent || '');
this.opcode('append');
},