Skip to content

Instantly share code, notes, and snippets.

@ajwagner777
Created March 2, 2016 23:30
Show Gist options
  • Save ajwagner777/dfc59e0dc7e94a7fe4b5 to your computer and use it in GitHub Desktop.
Save ajwagner777/dfc59e0dc7e94a7fe4b5 to your computer and use it in GitHub Desktop.
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