diff options
Diffstat (limited to 'lib/models/templateBlock.js')
-rw-r--r-- | lib/models/templateBlock.js | 2 |
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]; |