Skip to content

Commit

Permalink
v1.4.0 - concat handlebars helper added
Browse files Browse the repository at this point in the history
  • Loading branch information
Maryia Radchuk committed Oct 26, 2018
1 parent 58fcdc7 commit b61f66f
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).


v1.3.0
------------------------------
*October 26, 2018*

### Added
- `concat` handlebars helper added to project


v1.3.0
------------------------------
*August 10, 2018*
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@justeat/f-templates",
"description": "Locate, compile, and serve HTML from templates.",
"version": "1.3.0",
"version": "1.4.0",
"files": [
"dist"
],
Expand Down
1 change: 1 addition & 0 deletions src/templates.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ const getTemplate = (callback, moduleName, language, options) => {

handlebars.registerHelper('i18n', i18n);
handlebars.registerHelper('inlineSVG', inlineSVG);
handlebars.registerHelper('concat', (...args) => args.slice(0, -1).join(''));

glob(globPattern, globOptions, (err, [result]) => {
if (err) {
Expand Down

0 comments on commit b61f66f

Please sign in to comment.