Profile
Achievement
emdin's Recent SnippetsTagged template
- All /
« Prev 1 Next »
*String template (String template, Object data)*
Usage:
template('Hello <b>${name}!</b> (not ${name}?)', { name: 'Gandalf' })
Result: Hello <b>Gandalf!</b> (not Gandalf?)
0
675
posted 13 years ago by emdin