summaryrefslogtreecommitdiffstats
path: root/lib/templating/replaceShortcuts.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/templating/replaceShortcuts.js')
-rw-r--r--lib/templating/replaceShortcuts.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/templating/replaceShortcuts.js b/lib/templating/replaceShortcuts.js
index 66ddff3..acdd1b9 100644
--- a/lib/templating/replaceShortcuts.js
+++ b/lib/templating/replaceShortcuts.js
@@ -26,13 +26,13 @@ function applyShortcut(content, shortcut) {
/**
Replace shortcuts from blocks in a string
- @param {TemplateEngine} engine
+ @param {List<TemplateBlock>} engine
@param {String} filePath
@param {String} content
@return {String}
*/
-function replaceShortcuts(engine, filePath, content) {
- var shortcuts = listShortcuts(engine, filePath);
+function replaceShortcuts(blocks, filePath, content) {
+ var shortcuts = listShortcuts(blocks, filePath);
return shortcuts.reduce(applyShortcut, content);
}