W3C home > Mailing lists > Public > public-html@w3.org > October 2010

Re: Executing script-inserted external scripts in insertion order

From: Simon Pieters <simonp@opera.com>
Date: Wed, 20 Oct 2010 10:32:17 +0200
To: "Henri Sivonen" <hsivonen@iki.fi>, "Adam Barth" <w3c@adambarth.com>
Cc: "public html" <public-html@w3.org>
Message-ID: <op.vku8n3rpidj3kv@simon-pieterss-macbook.local>
On Wed, 20 Oct 2010 10:08:16 +0200, Adam Barth <w3c@adambarth.com> wrote:

> Here's another proposal for addressing this use case:
> document.executeScripts(['foo.js', 'bar.js', 'qux.js']);
> This fetches the scripts asynchronously and executes them in order.
> Notice that you can use this API to create independent linearly
> ordered queues of asynchronous script execution.

This seems very similar to  

Maybe we should just make importScripts available in the non-worker  
context as well.

Simon Pieters
Opera Software
Received on Wednesday, 20 October 2010 08:33:04 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 29 October 2015 10:16:06 UTC