Re: IDL micro-syntax Re: [ReSpec] release 23.2.0

> On Oct 10, 2018, at 2:51 AM, Tab Atkins Jr. <jackalmage@gmail.com> wrote:
> 
> I'm confused. The point of {{{foo["bar"]}}} was that "foo" was an
> enum, and "bar" was an enum value. Your example here doesn't link up
> an enum value at all, so I don't understand the relevance.

Sorry, I was still caught up on using `foo["bar"]` to refer to a property of an object, which is why I didn't understand the enum bit.

So, to be clear: I'll remove the ability to do {{{ Dictionary["member"] }}}, but will support {{{ Enum["enum member"] }}}.  

For example:

If {{{ window.screen.orientation.type }}} is {{{ OrientationType["landscape-primary"] }}}, then do Y.

Received on Tuesday, 9 October 2018 21:35:00 UTC