Re: E4H compatible with string templates

On Thu, Mar 14, 2013 at 5:16 PM, Brendan Eich <brendan@secure.meer.net> wrote:
> Right, I keep forgetting (and apols to Hixie for assuming E4H used a full
> HTML parser).
>
> However, for template strings the holes contain the results of evaluating
> arbitrary expressions. The html`...` handler would validate the results that
> fill each hole but only at runtime, of course.

Yes, a more normal html template handler would have more arbitrary
constraints, and could fail at runtime.  I (and Hixie) are only
referring to E4H, whether invoked with dedicated JS syntax or as a
built-in handler.

~TJ

Received on Friday, 15 March 2013 00:27:19 UTC