summaryrefslogtreecommitdiffstats
path: root/lib/templating/render.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/templating/render.js')
-rw-r--r--lib/templating/render.js16
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/templating/render.js b/lib/templating/render.js
index 68396f7..1a8b0cd 100644
--- a/lib/templating/render.js
+++ b/lib/templating/render.js
@@ -4,14 +4,14 @@ var TemplateOutput = require('../models/templateOutput');
var replaceShortcuts = require('./replaceShortcuts');
/**
- Render a template
-
- @param {TemplateEngine} engine
- @param {String} filePath: absolute path for the loader
- @param {String} content
- @param {Object} context
- @return {Promise<TemplateOutput>}
-*/
+ * Render a template
+ *
+ * @param {TemplateEngine} engine
+ * @param {String} filePath: absolute path for the loader
+ * @param {String} content
+ * @param {Object} context (optional)
+ * @return {Promise<TemplateOutput>}
+ */
function renderTemplate(engine, filePath, content, context) {
context = context || {};