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

Custom elements should use ES6 class constructor (bugzilla: 28541) #139

Closed
hayatoito opened this issue Jul 6, 2015 · 1 comment
Closed

Comments

@hayatoito
Copy link
Contributor

Title: Custom elements should use ES6 class constructor (bugzilla: 28541)

Migrated from: https://www.w3.org/Bugs/Public/show_bug.cgi?id=28541


comment: 0
comment_url: https://www.w3.org/Bugs/Public/show_bug.cgi?id=28541#c0
Ryosuke Niwa wrote on 2015-04-22 23:25:19 +0000.

As discussed, docuemnt.regsiterElement currently replaces the constructor so that it rips out any static methods defined using the ES6 class syntax. We shouldn't do that.

We should preserve the original constructor/class object defiend by the author.

@rniwa
Copy link
Collaborator

rniwa commented Mar 1, 2016

Per Jan F2F, this will be done in the issues #366 and #403.

@rniwa rniwa closed this as completed Mar 1, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants