{"action":"created","issue":{"url":"https://api.github.com/repos/Polymer/polymer/issues/4556","repository_url":"https://api.github.com/repos/Polymer/polymer","labels_url":"https://api.github.com/repos/Polymer/polymer/issues/4556/labels{/name}","comments_url":"https://api.github.com/repos/Polymer/polymer/issues/4556/comments","events_url":"https://api.github.com/repos/Polymer/polymer/issues/4556/events","html_url":"https://github.com/Polymer/polymer/issues/4556","id":223105663,"number":4556,"title":"customElements.get() to extends custom elements","user":{"login":"bmodeprogrammer","id":24552306,"avatar_url":"https://avatars1.githubusercontent.com/u/24552306?v=3","gravatar_id":"","url":"https://api.github.com/users/bmodeprogrammer","html_url":"https://github.com/bmodeprogrammer","followers_url":"https://api.github.com/users/bmodeprogrammer/followers","following_url":"https://api.github.com/users/bmodeprogrammer/following{/other_user}","gists_url":"https://api.github.com/users/bmodeprogrammer/gists{/gist_id}","starred_url":"https://api.github.com/users/bmodeprogrammer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bmodeprogrammer/subscriptions","organizations_url":"https://api.github.com/users/bmodeprogrammer/orgs","repos_url":"https://api.github.com/users/bmodeprogrammer/repos","events_url":"https://api.github.com/users/bmodeprogrammer/events{/privacy}","received_events_url":"https://api.github.com/users/bmodeprogrammer/received_events","type":"User","site_admin":false},"labels":[{"id":438484067,"url":"https://api.github.com/repos/Polymer/polymer/labels/2.x","name":"2.x","color":"c5def5","default":false},{"id":214526271,"url":"https://api.github.com/repos/Polymer/polymer/labels/needs%20investigation","name":"needs investigation","color":"fef2c0","default":false},{"id":118319120,"url":"https://api.github.com/repos/Polymer/polymer/labels/p2","name":"p2","color":"fbca04","default":false},{"id":123643583,"url":"https://api.github.com/repos/Polymer/polymer/labels/pending-response","name":"pending-response","color":"333333","default":false}],"state":"open","locked":false,"assignee":{"login":"azakus","id":46725,"avatar_url":"https://avatars3.githubusercontent.com/u/46725?v=3","gravatar_id":"","url":"https://api.github.com/users/azakus","html_url":"https://github.com/azakus","followers_url":"https://api.github.com/users/azakus/followers","following_url":"https://api.github.com/users/azakus/following{/other_user}","gists_url":"https://api.github.com/users/azakus/gists{/gist_id}","starred_url":"https://api.github.com/users/azakus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/azakus/subscriptions","organizations_url":"https://api.github.com/users/azakus/orgs","repos_url":"https://api.github.com/users/azakus/repos","events_url":"https://api.github.com/users/azakus/events{/privacy}","received_events_url":"https://api.github.com/users/azakus/received_events","type":"User","site_admin":false},"assignees":[{"login":"azakus","id":46725,"avatar_url":"https://avatars3.githubusercontent.com/u/46725?v=3","gravatar_id":"","url":"https://api.github.com/users/azakus","html_url":"https://github.com/azakus","followers_url":"https://api.github.com/users/azakus/followers","following_url":"https://api.github.com/users/azakus/following{/other_user}","gists_url":"https://api.github.com/users/azakus/gists{/gist_id}","starred_url":"https://api.github.com/users/azakus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/azakus/subscriptions","organizations_url":"https://api.github.com/users/azakus/orgs","repos_url":"https://api.github.com/users/azakus/repos","events_url":"https://api.github.com/users/azakus/events{/privacy}","received_events_url":"https://api.github.com/users/azakus/received_events","type":"User","site_admin":false},{"login":"bicknellr","id":406614,"avatar_url":"https://avatars2.githubusercontent.com/u/406614?v=3","gravatar_id":"","url":"https://api.github.com/users/bicknellr","html_url":"https://github.com/bicknellr","followers_url":"https://api.github.com/users/bicknellr/followers","following_url":"https://api.github.com/users/bicknellr/following{/other_user}","gists_url":"https://api.github.com/users/bicknellr/gists{/gist_id}","starred_url":"https://api.github.com/users/bicknellr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bicknellr/subscriptions","organizations_url":"https://api.github.com/users/bicknellr/orgs","repos_url":"https://api.github.com/users/bicknellr/repos","events_url":"https://api.github.com/users/bicknellr/events{/privacy}","received_events_url":"https://api.github.com/users/bicknellr/received_events","type":"User","site_admin":false},{"login":"valdrinkoshi","id":6173664,"avatar_url":"https://avatars0.githubusercontent.com/u/6173664?v=3","gravatar_id":"","url":"https://api.github.com/users/valdrinkoshi","html_url":"https://github.com/valdrinkoshi","followers_url":"https://api.github.com/users/valdrinkoshi/followers","following_url":"https://api.github.com/users/valdrinkoshi/following{/other_user}","gists_url":"https://api.github.com/users/valdrinkoshi/gists{/gist_id}","starred_url":"https://api.github.com/users/valdrinkoshi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/valdrinkoshi/subscriptions","organizations_url":"https://api.github.com/users/valdrinkoshi/orgs","repos_url":"https://api.github.com/users/valdrinkoshi/repos","events_url":"https://api.github.com/users/valdrinkoshi/events{/privacy}","received_events_url":"https://api.github.com/users/valdrinkoshi/received_events","type":"User","site_admin":false}],"milestone":null,"comments":6,"created_at":"2017-04-20T15:25:09Z","updated_at":"2017-06-13T23:24:07Z","closed_at":null,"body":"### Description\r\nI'm using customElements.get() to extends elements, and even if compile with poolymer cli with polymer build --js-compile or polymer serve only works all on chrome and opera except the paper-tabs extended, even in firefox does not work. \r\n\r\nExample of component:\r\n\r\n```\r\n<link rel=\"import\" href=\"../paper-tabs/paper-tabs.html\">\r\n<script>\r\n  class MyTabs extends customElements.get('paper-tabs') {\r\n    static get is() {\r\n      return 'my-tabs';\r\n    }\r\n  }\r\n\r\n  window.customElements.define(MyTabs .is, MyTabs );\r\n</script>\r\n```\r\n\r\nindex.html importing the polyfills:\r\n\r\n```\r\n<div id=\"autogenerated-ce-es5-shim\">\r\n    <script type=\"text/javascript\">\r\n      if (!window.customElements) {\r\n        var ceShimContainer = document.querySelector('#autogenerated-ce-es5-shim');\r\n        ceShimContainer.parentElement.removeChild(ceShimContainer);\r\n      }\r\n    </script>\r\n    <script type=\"text/javascript\" src=\"bower_components/webcomponentsjs/custom-elements-es5-adapter.js\"></script>\r\n  </div>\r\n  <script src=\"bower_components/webcomponentsjs/webcomponents-loader.js\"></script>\r\n```\r\n\r\nEdge -->\r\n![edgepage](https://cloud.githubusercontent.com/assets/24552306/25237535/d6af4796-25e2-11e7-9e9b-0ecc095d1721.PNG)\r\nFirefox-->\r\n![firefoxpage](https://cloud.githubusercontent.com/assets/24552306/25237536/d707b048-25e2-11e7-8bc2-8fca3f68aae1.PNG)\r\nIE -->\r\n![iepage](https://cloud.githubusercontent.com/assets/24552306/25237539/d7b3f254-25e2-11e7-9d3a-aced44ec5f4b.PNG)\r\nChrome\r\n![chromepage](https://cloud.githubusercontent.com/assets/24552306/25237540/d7d6930e-25e2-11e7-9109-458ab4412062.PNG)\r\n\r\n\r\n### Browsers Affected\r\n<!-- Check all that apply -->\r\n- [x] Chrome\r\n- [x] Firefox\r\n- [x] Edge\r\n- [ ] Safari 9\r\n- [ ] Safari 8\r\n- [x] IE 11\r\n\r\n### Versions\r\n- Polymer: \"polymer#^2.0.0-rc.1\" but I did update now, and current is the rc.7\r\n- webcomponents: \"webcomponents/webcomponentsjs#^1.0.0-rc.4\"\r\n"},"comment":{"url":"https://api.github.com/repos/Polymer/polymer/issues/comments/308276502","html_url":"https://github.com/Polymer/polymer/issues/4556#issuecomment-308276502","issue_url":"https://api.github.com/repos/Polymer/polymer/issues/4556","id":308276502,"user":{"login":"iSuslov","id":7628774,"avatar_url":"https://avatars1.githubusercontent.com/u/7628774?v=3","gravatar_id":"","url":"https://api.github.com/users/iSuslov","html_url":"https://github.com/iSuslov","followers_url":"https://api.github.com/users/iSuslov/followers","following_url":"https://api.github.com/users/iSuslov/following{/other_user}","gists_url":"https://api.github.com/users/iSuslov/gists{/gist_id}","starred_url":"https://api.github.com/users/iSuslov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iSuslov/subscriptions","organizations_url":"https://api.github.com/users/iSuslov/orgs","repos_url":"https://api.github.com/users/iSuslov/repos","events_url":"https://api.github.com/users/iSuslov/events{/privacy}","received_events_url":"https://api.github.com/users/iSuslov/received_events","type":"User","site_admin":false},"created_at":"2017-06-13T23:24:07Z","updated_at":"2017-06-13T23:24:07Z","body":"So what is the status of this issue? What is the proper way to extend custom elements in Polymer 2.0?"}}
{"actor":{"display_login":"iSuslov"}}