[XBL] Use of "public"

Hi.

In ECMA-262 3rd ed, “public” is a reserved word, which means it will be
annoying to refer to the public object from an implementation object’s
methods:

  <implementation>
    ({
      xblBindingAttached: function() {
        this['public'].x = 5;
      }
    })
  </implementation>

I suggest a different property name be used for the public object.

Thanks,

Cameron

-- 
Cameron McCormack, http://mcc.id.au/
 xmpp:heycam@jabber.org  ▪  ICQ 26955922  ▪  MSN cam@mcc.id.au

Received on Tuesday, 23 January 2007 22:30:36 UTC