javascript - Dust.js partial template -



javascript - Dust.js partial template -

i seek follow illustration 1 (https://github.com/linkedin/dustjs/wiki/dust-little-less-know-language-constructs) tutorial. testing below:

partial.tl

{+greeting} hola {/greeting} {+world} world {/world}

main.html

<script type="text/x-template" id="itemtemplate"> {>partial/} </script>

but didn't works. if know how partial template, please show me how. dust.js tutorial / guide hard find on internet.

thank you.

dust has compiled javascript before can execute it. .tl , .dust files source forms. if in client environment there pretty explanation here. basic illustration of client side templating dust.js

javascript template-engine dust.js

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -