Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
buildNotification: function (statuses, customerId) {
var handlebars = require('handlebars');
var source = fs.readFileSync(config.root + "/src/utilities/notification-email.html").toString();
var template = handlebars.compile(source);
return template({statuses: statuses, customerId: customerId});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment