ForestAdmin/lumber

View on GitHub
handlerbars/helpers/wrap-quotes.js

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
const Handlebars = require('handlebars');

const wrapQuotes = (value1) => `'${value1}'`;

Handlebars.registerHelper('wq', wrapQuotes);

module.exports = wrapQuotes;