W3C home > Mailing lists > Public > whatwg@whatwg.org > August 2009

[whatwg] Global Script proposal

From: Michael Nordman <michaeln@google.com>
Date: Mon, 24 Aug 2009 11:32:23 -0700
Message-ID: <fa2eab050908241132u303d2b9fg2d21411144004bb9@mail.gmail.com>
>
>
>>
> Dmitry had a later note which combined creation of the context and loading
> of the script.  But I suspect one thing people will want to do, in
> development anyway, is load multiple scripts into a context - like you can
> in workers.  Which would mean we'd still need a function to load a script,
> or the only way to load a script would be by also creating a new context -
> which is much like the serverJS module concept.


I think the plan is to provide an importScript(...) function to
globalScripts as is done for workers...
http://www.whatwg.org/specs/web-workers/current-work/#importing-scripts-and-libraries
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20090824/9ff49138/attachment.htm>
Received on Monday, 24 August 2009 11:32:23 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:15 UTC