- From: Hayato Ito <notifications@github.com>
- Date: Mon, 06 Jul 2015 00:35:07 -0700
- To: w3c/webcomponents <webcomponents@noreply.github.com>
Received on Monday, 6 July 2015 07:36:51 UTC
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. --- Reply to this email directly or view it on GitHub: https://github.com/w3c/webcomponents/issues/139
Received on Monday, 6 July 2015 07:36:51 UTC