W3C home > Mailing lists > Public > public-webapps@w3.org > April to June 2015

[Bug 28541] New: Custom elements should use ES6 class constructor

From: <bugzilla@jessica.w3.org>
Date: Wed, 22 Apr 2015 23:25:19 +0000
To: public-webapps@w3.org
Message-ID: <bug-28541-2927@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=28541

            Bug ID: 28541
           Summary: Custom elements should use ES6 class constructor
           Product: WebAppsWG
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Component Model
          Assignee: dglazkov@chromium.org
          Reporter: rniwa@webkit.org
        QA Contact: public-webapps-bugzilla@w3.org
                CC: mike@w3.org, public-webapps@w3.org

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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Received on Wednesday, 22 April 2015 23:25:21 UTC

This archive was generated by hypermail 2.3.1 : Friday, 27 October 2017 07:27:31 UTC