{"action":"opened","issue":{"url":"https://api.github.com/repos/hayatoito/test/issues/366","labels_url":"https://api.github.com/repos/hayatoito/test/issues/366/labels{/name}","comments_url":"https://api.github.com/repos/hayatoito/test/issues/366/comments","events_url":"https://api.github.com/repos/hayatoito/test/issues/366/events","html_url":"https://github.com/hayatoito/test/issues/366","id":93211145,"number":366,"title":"Custom elements should use ES6 class constructor (bugzilla: 28541)","user":{"login":"hayatoito","id":160288,"avatar_url":"https://avatars.githubusercontent.com/u/160288?v=3","gravatar_id":"","url":"https://api.github.com/users/hayatoito","html_url":"https://github.com/hayatoito","followers_url":"https://api.github.com/users/hayatoito/followers","following_url":"https://api.github.com/users/hayatoito/following{/other_user}","gists_url":"https://api.github.com/users/hayatoito/gists{/gist_id}","starred_url":"https://api.github.com/users/hayatoito/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hayatoito/subscriptions","organizations_url":"https://api.github.com/users/hayatoito/orgs","repos_url":"https://api.github.com/users/hayatoito/repos","events_url":"https://api.github.com/users/hayatoito/events{/privacy}","received_events_url":"https://api.github.com/users/hayatoito/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-06T07:30:43Z","updated_at":"2015-07-06T07:30:43Z","closed_at":null,"body":"Title: Custom elements should use ES6 class constructor (bugzilla: 28541)\n\nMigrated from: https://www.w3.org/Bugs/Public/show_bug.cgi?id=28541\n\n----\ncomment: 0\ncomment_url: https://www.w3.org/Bugs/Public/show_bug.cgi?id=28541#c0\n*Ryosuke Niwa* wrote on 2015-04-22 23:25:19 +0000.\n\nAs 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.\n\nWe should preserve the original constructor/class object defiend by the author."}}