@softvisio/ext
Version:
ExtJS patches
20 lines (18 loc) • 506 B
JavaScript
import Ext_d3_svg_Svg from './Ext/d3/svg/Svg.js';
import ElementParser from './common/ElementParser.js';
export default class EWCD3 extends Ext_d3_svg_Svg {
constructor() {
super ([], []);
this.xtype = 'd3';
}
}
try {
if (window.customElements.get('ext-d3') == undefined) {
window.customElements.define('ext-d3', ElementParser.withParsedCallback(EWCD3));
}
}
catch(e) {
if (window.customElements.get('ext-d3') == undefined) {
window.customElements.define('ext-d3', EWCD3);
}
}