W3C home > Mailing lists > Public > public-webapps@w3.org > January to March 2010

Re: [widgets-twi] window object

From: Marcos Caceres <marcosc@opera.com>
Date: Thu, 11 Feb 2010 11:22:30 +0100
Message-ID: <b21a10671002110222p41135cb1y87e4e0275a5cf571@mail.gmail.com>
To: Scott Wilson <scott.bradley.wilson@gmail.com>
Cc: cyril.concolato@telecom-paristech.fr, Robin Berjon <robin@berjon.com>, public-webapps <public-webapps@w3.org>
On Tue, Feb 9, 2010 at 4:05 PM, Scott Wilson
<scott.bradley.wilson@gmail.com> wrote:
> In Wookie we just create the widget object in the global scope, and then add
> it as an attribute to the window object. Author scripts can access it either
> by "window.widget" or just plain "widget".
> I wonder though - for authors what should we recommend if they want their
> widget to run unmodified in the most UAs?

I think window.widget would be best.

Marcos Caceres
Received on Thursday, 11 February 2010 10:23:23 UTC

This archive was generated by hypermail 2.3.1 : Friday, 27 October 2017 07:26:22 UTC