ericf / express-handlebars

A Handlebars view engine for Express which doesn't suck.
BSD 3-Clause "New" or "Revised" License
2.32k stars 382 forks source link

Precompiled templates do not work in Handlebars.template #189

Closed runemadsen closed 7 years ago

runemadsen commented 7 years ago

When using your advanced example, I'm getting: Uncaught Error: Unknown template object: string. I can't see how this would work as the precompiled template is a big string of JS code, and Handlebars expects an actual object with a main function.

Did this change in Handlebars 4?