Closed larryzhao closed 10 years ago
There's some global utility function I'd like to use inside Handlebar template, is there a way to register them at the Handlebar compilation phrase, so that it could save some time on executing on the page?
Thank you very much.
This is the idea of https://github.com/leshill/handlebars_assets#patching-handlebarsjs ; does that solve your issue?
That really helps. Thanks!
There's some global utility function I'd like to use inside Handlebar template, is there a way to register them at the Handlebar compilation phrase, so that it could save some time on executing on the page?
Thank you very much.