Closed doowb closed 11 years ago
Updating to always register the default helper-lib helpers.
Updating registerFunctions to take in an object and iterate over the keys to load the helpers. Usage:
var engine = require('assemble-handlebars'); var helpers = { foo: function() { return '<h3>bar</h3>'; }, bar: function() { return '<span>baz</span>'; } }; engine.registerFunctions(helpers);
Updating to always register the default helper-lib helpers.
Updating registerFunctions to take in an object and iterate over the keys to load the helpers. Usage: