[heycam/webidl] Fix one inconsistent use of [] in examples (editorial) (#759)

I'd like to refer to the WebIDL examples as the de facto style guide for WebIDL.

To that end, I'd like to fix an inconsistency in one example's use of `[]` that I found. From:
```js
[
 Exposed=(Window,Worker),
 Constructor(optional DOMString message = "", optional DOMString name = "Error"),
 Serializable
]
interface DOMException {
```
to
```js
[Exposed=(Window,Worker),
 Constructor(optional DOMString message = "", optional DOMString name = "Error"),
 Serializable]
interface DOMException {
```
The latter appears to be the predominant style in this document as well as in [HTML](https://html.spec.whatwg.org/#htmlallcollection) and [DOM](https://dom.spec.whatwg.org/#interface-event).
You can view, comment on, or merge this pull request online at:

  https://github.com/heycam/webidl/pull/759

-- Commit Summary --

  * Fix one inconsistent use of [] in examples.

-- File Changes --

    M index.bs (6)

-- Patch Links --

https://github.com/heycam/webidl/pull/759.patch
https://github.com/heycam/webidl/pull/759.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/heycam/webidl/pull/759

Received on Wednesday, 17 July 2019 19:35:45 UTC