shannonmoeller / gulp-hb

A sane Gulp plugin to compile Handlebars templates. Useful as a static site generator.
http://npm.im/gulp-hb
MIT License
147 stars 14 forks source link

added the possibility to pass an already instantiated handlebars comp… #40

Closed hendrikbunnick closed 8 years ago

hendrikbunnick commented 8 years ago

added the possibility to pass an already instanciated handlebars compiler.

this allows more complex setups with the handlebars compiler and allows for dynamic helpers based on registered partials, helpers, decorators.

coveralls commented 8 years ago

Coverage Status

Changes Unknown when pulling d017bf82afdd4dbaad7304ad7075b2ef6d088791 on hendrikbunnick:handlebarsInstancePassableAsOption into \ on shannonmoeller:master**.

shannonmoeller commented 8 years ago

Thanks for the PR! Looks good. I think I'm going to change handlebarsRuntime to just handlebars to keep it consistent across the board.

hendrikbunnick commented 8 years ago

Sure. Thanks. Gonna appreciate the extra functionality.

shannonmoeller commented 8 years ago

Released as v5.1.0.