Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: support [Exposed=*] #634

Merged
merged 3 commits into from
Nov 3, 2021
Merged

feat: support [Exposed=*] #634

merged 3 commits into from
Nov 3, 2021

Conversation

saschanaz
Copy link
Member

@saschanaz saschanaz commented Nov 2, 2021

Corresponds to whatwg/webidl#526

This patch closes #__ and includes:

  • A relevant test
  • A relevant documentation update

{
"type": "interface",
"name": "X",
"inheritance": null,
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm? Is null deprecated in JSON?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don’t think so? Weird.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is null deprecated in JSON?

Almost certainly not, because as far as I understand it, JSON syntax is forever set in stone, which unfortunately means that comments will almost certainly never be supported, even though they existed in the initial drafts.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, that's my understanding. Not sure why the red highlight 🤔. Also not sure where to report.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like it just got fixed in Nixinova/NovaGrammars#7, which is the project @github uses for highlighting JSON syntax: https://github.com/github/linguist/tree/master/vendor.

@saschanaz saschanaz merged commit 743f84c into main Nov 3, 2021
@saschanaz saschanaz deleted the expose-everywhere branch November 3, 2021 11:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants