W3C home > Mailing lists > Public > public-appformats@w3.org > December 2006

[XBL] ECMAScript Syntax

From: Cyril Concolato <cyril.concolato@enst.fr>
Date: Wed, 06 Dec 2006 17:01:22 +0100
Message-ID: <4576E952.4090308@enst.fr>
To: "WAF WG (public)" <public-appformats@w3.org>

Dear XBL experts,

This email comments on the 7 September 2006 LCWD of XBL 2.0.

In many examples in the specification, in particular in Section 2.3, a 
syntax for ECMAScript definition of functions is used:

<implementation>
({
functionName: function() {
}
})
</implementation>

Is this standard ECMAScript notation ? Could you explain it or provide a 
link to it ? What is the meaning of "({" ?
The get/set fonction in that section don't use the ':' ? Is it a typo ? 
If yes please fix it, otherwise highlight and explain this difference 
with the other functions.

Cyril Concolato
Received on Wednesday, 6 December 2006 16:19:37 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:10:20 GMT