summaryrefslogtreecommitdiffstats
path: root/src/Defs.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/Defs.js')
-rw-r--r--src/Defs.js9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/Defs.js b/src/Defs.js
index 21b6703..e8c5ac2 100644
--- a/src/Defs.js
+++ b/src/Defs.js
@@ -1,8 +1,11 @@
-import Container from './Container.js'
+import Base from './Base.js'
import {nodeOrNew} from './tools.js'
-export default class Defs extends Container {
+export default class Defs extends Base {
constructor (node) {
- super(nodeOrNew('defs', node))
+ super(nodeOrNew('defs', node), Defs)
}
+
+ flatten () { return this }
+ ungroup () { return this }
}