Namespace: hbs

hbs

Methods

hbs2hbscjs(hbsdir, hbsfile, encode) → {String}

If you have a hbs, I generated. hbsc.js what was handlebars.precompile. Warnning: JS that is generated, become Handlebars.templates.
Parameters:
Name Type Description
hbsdir String src/dst dir path
hbsfile String src hbs file name
encode String read file encode.
Source:
Returns:
Output file path.
Type
String

hbsp2hbspjs(hbspdir, hbspfile, encode) → {String}

If there is a hbsp, I generate the. hbsp.js what was handlebars.precompile. Warnning: JS that is generated, become Handlebars.partials.
Parameters:
Name Type Description
hbspdir String src/dst dir path
hbspfile String src hbsp file name
encode String read file encode.
Source:
Returns:
Output file path.
Type
String