W3C home > Mailing lists > Public > public-webrtc@w3.org > July 2019

[webrtc-pc] Pull Request: Fix inconsistent WebIDL. Reformat to follow de facto code style of WebIDL, HTML, DOM.

From: Jan-Ivar Bruaroey via GitHub <sysbot+gh@w3.org>
Date: Wed, 17 Jul 2019 20:24:41 +0000
To: public-webrtc@w3.org
Message-ID: <pull_request.opened-298655562-1563395079-sysbot+gh@w3.org>
jan-ivar has just submitted a new pull request for https://github.com/w3c/webrtc-pc:

== Fix inconsistent WebIDL. Reformat to follow de facto code style of WebIDL,HTML,DOM. ==
We got [feedback](https://phabricator.services.mozilla.com/D30976#1147205) our WebIDL code style is unusual—space before arguments `foo ()`—and when I looked into it I found lots of formatting inconsistencies even within our own doc.

With my editor's hat on, I've reformatted our WebIDL to match that of [WebIDL](https://heycam.github.io/webidl/#example-d7d00072), [HTML](https://html.spec.whatwg.org/#htmlelement) and [DOM](https://dom.spec.whatwg.org/#interface-event).

See https://github.com/w3c/webrtc-pc/pull/2232
Received on Wednesday, 17 July 2019 20:24:42 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:18:48 UTC