Re: [widgets] Seeking comments on Last Call WD of Widgets: APIs and Events spec; deadline 15 Sept 2009

On Wed, Aug 19, 2009 at 2:02 PM, Scott
Wilson<scott.bradley.wilson@gmail.com> wrote:
> 6.4.2 Usage Example
>
> I haven't come across the syntax: "widget.preferences[key]" before - all
> previous discussions have used the syntax:
> "widget.preferences.getItem(key)", which is the syntax used in WebStorage
> [1]
>
> I presume the example is in error.

The use of widget.preferences[key] is correct.


-- 
Marcos Caceres
http://datadriven.com.au

Received on Thursday, 20 August 2009 09:14:35 UTC