Files
bower/lib/templates/helpers/sum.js
Adam Stankiewicz 4b4a854ed8 Restore directory structure for published bower
It's because people are depending on internals of bower, like
"bower/lib/renderers/StandardRenderer"

Instead we move templates and bin to lib directory and leave
paths intact. Additionally we alias bin/bower to lib/bin/bower.
2016-01-27 14:47:18 +01:00

8 lines
149 B
JavaScript

function sum(Handlebars) {
Handlebars.registerHelper('sum', function (val1, val2) {
return val1 + val2;
});
}
module.exports = sum;