summaryrefslogtreecommitdiffstats
path: root/lib/models/templateOutput.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/models/templateOutput.js')
-rw-r--r--lib/models/templateOutput.js22
1 files changed, 10 insertions, 12 deletions
diff --git a/lib/models/templateOutput.js b/lib/models/templateOutput.js
index cd65a05..ae63c06 100644
--- a/lib/models/templateOutput.js
+++ b/lib/models/templateOutput.js
@@ -17,23 +17,21 @@ TemplateOutput.prototype.getBlocks = function() {
};
/**
- Update content of this output
-
- @param {String} content
- @return {TemplateContent}
-*/
+ * Update content of this output
+ * @param {String} content
+ * @return {TemplateContent}
+ */
TemplateOutput.prototype.setContent = function(content) {
return this.set('content', content);
};
/**
- Create a TemplateOutput from a text content
- and an object containing block definition
-
- @param {String} content
- @param {Object} blocks
- @return {TemplateOutput}
-*/
+ * Create a TemplateOutput from a text content
+ * and an object containing block definition
+ * @param {String} content
+ * @param {Object} blocks
+ * @return {TemplateOutput}
+ */
TemplateOutput.create = function(content, blocks) {
return new TemplateOutput({
content: content,