Brendan Eich wrote:

  safe_html `<${x}>hello, ${u}</${x}>`

But you're right, the http://people.mozilla.org/~jorendorff/es6-draft.html copy I'm finding "template" in online does not include this prefix form. Did it get cut from ES6? I thought the only debate was whether to include unprefixed templates. I'm no doubt forgetting something, so cc'ing Allen.

Thanks to Domenic for reminding me to look harder:

http://people.mozilla.org/~jorendorff/es6-draft.html#sec-tagged-templates

Tagged templates are in ES6.

/be
_______________________________________________
es-discuss mailing list
es-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to