4 ms·
Cloning from a template would be the what, but I was wondering if there are tools designed for this. It's the kind of thing that could spike complexity and I wo
by nkingsy 8y ago
Cloning from a template would be the what, but I was wondering if there are tools designed for this. It's the kind of thing that could spike complexity and I would want an established pattern of delivering html solely for the purpose of javascript manipulation. It's not a hard problem, but a messy one.
- colecut 8y agoI would use a simple "javascript templating engine" like mustache or handlebars, to easily inject dynamic content into your widget templates.