Closed kflorence closed 10 years ago
Can you provide a use case where this would be helpful? The helpers all work together. Only registering a subset would lead to errors. Also, they may be registered as needed by passing in an instance of Handlebars.
@shannonmoeller I figured out a way to do this using the Assemble "register" syntax. On a side note, I really wish I'd found your https://github.com/shannonmoeller/gulp-hb repo before creating this: https://github.com/kflorence/gulp-handlebars -- I'm going to use yours instead and figure out a way of removing mine from npm :)
Glad this worked out for you and that my gulp-hb plugin was helpful too.
It would be nice of layouts.helpers was exposed for public consumption so it can be registered how and when the user sees fit.