mirror of
https://github.com/bower/bower.git
synced 2026-01-14 16:57:57 -05:00
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.
8 lines
149 B
JavaScript
8 lines
149 B
JavaScript
function sum(Handlebars) {
|
|
Handlebars.registerHelper('sum', function (val1, val2) {
|
|
return val1 + val2;
|
|
});
|
|
}
|
|
|
|
module.exports = sum;
|