summaryrefslogtreecommitdiffstats
path: root/lib/models
diff options
context:
space:
mode:
Diffstat (limited to 'lib/models')
-rw-r--r--lib/models/templateBlock.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/models/templateBlock.js b/lib/models/templateBlock.js
index 999898c..4e47da7 100644
--- a/lib/models/templateBlock.js
+++ b/lib/models/templateBlock.js
@@ -77,7 +77,7 @@ TemplateBlock.prototype.toNunjucksExt = function(mainContext) {
var that = this;
var name = this.getName();
var endTag = this.getEndTag();
- var blocks = this.getBlocks();
+ var blocks = this.getBlocks().toJS();
function Ext() {
this.tags = [name];