On Sun, Sep 13, 2015 at 2:42 AM, Thomas <thomasjamesfos...@bigpond.com> wrote:
> I'd really like to use Template strings as a templating language, but > unless I include a lot of boilerplate code (export a template string > wrapped in a function from a file) Hi Thomas, could you give a concrete example of the boilerplate you have in mind and what it accomplishes? > or use eval after loading a file as a string it's pretty much impossible. > > Is there a simpler way to be doing this? Or any plans for a type of eval > that only executes it's argument as a template string? I am unaware of any such plans. Could you give an example of what it looks like and what it would accomplish? Thanks. -- Cheers, --MarkM
_______________________________________________ es-discuss mailing list es-discuss@mozilla.org https://mail.mozilla.org/listinfo/es-discuss