summaryrefslogtreecommitdiffstats
path: root/lib/handlebars/utils.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/handlebars/utils.js')
-rw-r--r--lib/handlebars/utils.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/handlebars/utils.js b/lib/handlebars/utils.js
index 0878cc4..8cea50d 100644
--- a/lib/handlebars/utils.js
+++ b/lib/handlebars/utils.js
@@ -78,6 +78,11 @@ export function isEmpty(value) {
}
}
+export function blockParams(params, ids) {
+ params.path = ids;
+ return params;
+}
+
export function appendContextPath(contextPath, id) {
return (contextPath ? contextPath + '.' : '') + id;
}