summaryrefslogtreecommitdiffstats
path: root/src/elements/Defs.js
blob: d5e31e7fd5aeb830419ab4a11e2665ab52e9cbde (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import { nodeOrNew, register } from '../utils/adopter.js'
import Container from './Container.js'

export default class Defs extends Container {
  constructor (node) {
    super(nodeOrNew('defs', node), node)
  }

  flatten () {
    return this
  }
  ungroup () {
    return this
  }
}

register(Defs, 'Defs')