Line Terminators (and others) normalization in template strings

Erik Arvidsson erik.arvidsson at gmail.com
Thu Sep 26 12:31:17 PDT 2013


On Thu, Sep 26, 2013 at 11:42 AM, Anne van Kesteren <annevk at annevk.nl> wrote:
> important. In particular, I don't think the idea is for string
> templates to hold JavaScript source code, but I've seen HTML and CSS
> come by.

I'm not sure what you are basing that on? We've gotten a lot of milage
out of template literals with JS code:

https://github.com/google/traceur-compiler/blob/master/src/codegeneration/ClassTransformer.js#L201


More information about the es-discuss mailing list