1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
import Base from './Base.js' export default class G extends Base { constructor (node) { super(nodeorNew('g', node), G) } } G.constructors = { Element: { // Create a group element group: function () { return this.put(new G()) } } }