Skip to content

Conversation

sandersn
Copy link
Member

@sandersn sandersn commented Jan 6, 2020

Previously it was a call signature, but this is not correct. I'm not sure if HTML - Custom Elements.widl is wrong or whether our interpretation of it is wrong. A call signature does not match actual usage or the semantics as implemented by Chrome, however.

Previously it was a call signature, but this is not correct.
@sandersn sandersn changed the title customElement.define's 2nd param is construct sig customElement.define's 2nd param is a constructor Jan 6, 2020
@sandersn sandersn changed the title customElement.define's 2nd param is a constructor customElement.define's 2nd parameter is a constructor Jan 6, 2020
@sandersn
Copy link
Member Author

sandersn commented Jan 6, 2020

@saschanaz I'm going to merge this since I'm pretty sure it's right based on usage from MDN's example repo, but if you have comments, please do chime in.

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.

1 participant