W3C home > Mailing lists > Public > public-webapps@w3.org > April to June 2012

Re: [webcomponents] HTML Parsing and the <template> element

From: Brian Kardell <bkardell@gmail.com>
Date: Wed, 25 Apr 2012 07:39:28 -0400
Message-ID: <CADC=+jejwye4paMMwXV=+iJGz=dLQm0+FS2Jh=wyDwyUPARjGw@mail.gmail.com>
To: Kornel Lesiński <kornel@geekhood.net>
Cc: public-webapps@w3.org
It might, for example, lazily load script the first time it is
instantiated.  Though I expect it would happen on every instance, which
usually isn't what you would want.
On Apr 25, 2012 5:44 AM, "Kornel LesiƄski" <kornel@geekhood.net> wrote:

> On Wed, 25 Apr 2012 00:48:15 +0100, Clint Hill <clint.hill@gmail.com>
> wrote:
>
>  1) Templates that cleanly include "</script>".
>>
>
> What's the use-case for including <script> in a template? Can't code using
> the template simply invoke functions it needs?
>
> --
> regards, Kornel LesiƄski
>
>
>
Received on Wednesday, 25 April 2012 11:40:01 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:52 GMT