OrgChart-Webcomponents
OrgChart-Webcomponents copied to clipboard
why don't support ie and firefox and so on,only in chrome brower
I can get the data in chrome brower ,the other I don't, I don't know reasons, please tell me reason, thanks, I find erro:‘window.customElements.define("org-chart", OrgChart);’ no defined in ie and Firefox
https://caniuse.com/#feat=custom-elementsv1
The web components spec is new enough (and revised a few times from the Shadow DOM days) that it's still not fully supported across browsers.
The FF should support it based on https://caniuse.com/#feat=custom-elementsv1
However FF 64 is throwing on https://dabeng.github.io/OrgChart-Webcomponents/local-datasource/:
Error: Assertion failed webcomponents.min.js:11:1561
n
https://dabeng.github.io/OrgChart-Webcomponents/js/vendor/webcomponents.min.js:11:1561
_
https://dabeng.github.io/OrgChart-Webcomponents/js/vendor/webcomponents.min.js:11:25123
r
https://dabeng.github.io/OrgChart-Webcomponents/js/vendor/webcomponents.min.js:12:4100
l
https://dabeng.github.io/OrgChart-Webcomponents/js/vendor/webcomponents.min.js:12:6837
construct self-hosted:4579:9 HTMLElement
https://rawgit.com/webcomponents/custom-elements/master/src/native-shim.js:31:12
t
orgchart-webcomponents.js:2:23
<anonymní>
scripts.js:28:13
g
https://dabeng.github.io/OrgChart-Webcomponents/js/vendor/webcomponents.min.js:11:14804
w
https://dabeng.github.io/OrgChart-Webcomponents/js/vendor/webcomponents.min.js:11:14150
f
https://dabeng.github.io/OrgChart-Webcomponents/js/vendor/webcomponents.min.js:11:13890
p
https://dabeng.github.io/OrgChart-Webcomponents/js/vendor/webcomponents.min.js:11:13402