adding comments

develop
HerrHase 2 years ago
parent 8717e57b70
commit a16d9da8b6

@ -47,6 +47,7 @@ function asset(publicPath)
/**
* templateClass - parse template name to css-classname,
* use prefix, default is "page"
*
*
* @param {Object} entity
* @param {String} [prefix='page']
@ -66,6 +67,7 @@ function templateClass(entity, prefix = 'page') {
* isHome - check if entity is home,
* checks for permalink
*
*
* @param {Object} entity
* @return {Boolean}
*
@ -83,7 +85,8 @@ function isHome(entity) {
/**
* injectStore -
* injectStore - import store, check if store exists and
* create object from class
*
*
* @param {String} name

Loading…
Cancel
Save