You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently an ExpressHandlebars instance only accesses the Handlebars.helpers during instance creation. This means that any calls to Handlebars.registerHelper() that occur after the instance is created will not be used.
Support for using all helpers registered the Handlebars can be implemented by always merging: global, instance, and render level helpers before each call to render.
This seems like reasonable behavior and worth the performance tradeoff (merging should be fast), to gain the expected behavior that Handlebars.registerHelper() should work anytime it's called.
The text was updated successfully, but these errors were encountered:
Currently an
ExpressHandlebars
instance only accesses theHandlebars.helpers
during instance creation. This means that any calls toHandlebars.registerHelper()
that occur after the instance is created will not be used.Support for using all helpers registered the
Handlebars
can be implemented by always merging: global, instance, and render level helpers before each call to render.This seems like reasonable behavior and worth the performance tradeoff (merging should be fast), to gain the expected behavior that
Handlebars.registerHelper()
should work anytime it's called.The text was updated successfully, but these errors were encountered: