JacksonTian / ejs-mate

Express 4.x layout, partial template functions for the EJS template engine.
205 stars 36 forks source link

EJS Async #2

Closed JpEncausse closed 9 years ago

JpEncausse commented 10 years ago

Hi,

I really like EJS template because it simple and readable, but do you have best practices to handle async code in templates ?

JacksonTian commented 10 years ago

Don't suggest call async code.

TimothyGu commented 9 years ago

This issue should be closed. EJS itself is completely synchronous, and it is not realistic to hack around that in this project. See QEJS if you want something asynchronous.