Skip to content

Instantly share code, notes, and snippets.

@julrich
Created March 29, 2018 11:06
Show Gist options
  • Save julrich/3bbef9bd8af9fabd78f54caa25ee5d6c to your computer and use it in GitHub Desktop.
Save julrich/3bbef9bd8af9fabd78f54caa25ee5d6c to your computer and use it in GitHub Desktop.
@pattern-lab/engine-handlebars Custom Handlebars configuration file
module.exports = function (Handlebars) {
Handlebars.registerHelper('choose', function (a, b) { return a || b; });
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment