Hello,
We're using mustache.js template engine in our lists/shows in the couchapp. Basically it is included like 'var mustache
= require(lib/mustache)'. Now we also need mustache.js on the client side. What is the best place for it to avoid
duplication? As i understand client can access to '_attachments' while lists/shows cannot.
And one extra question here: is it possible to load templates dynamically in the show or list? We're able to include
them statically via '!json templates.index'.
Thank's
- Right place for mustache.js Aliaksandr Barysiuk
-