<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div class="h5"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
</blockquote>
<br></div></div>
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.</blockquote>
<div><br></div><div>I think the plan is to provide an importScript(...) function to globalScripts as is done for workers...</div><div><a href="http://www.whatwg.org/specs/web-workers/current-work/#importing-scripts-and-libraries">http://www.whatwg.org/specs/web-workers/current-work/#importing-scripts-and-libraries</a></div>
</div>