aboutsummaryrefslogtreecommitdiffstats
path: root/src/elements/Defs.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/elements/Defs.js')
-rw-r--r--src/elements/Defs.js14
1 files changed, 3 insertions, 11 deletions
diff --git a/src/elements/Defs.js b/src/elements/Defs.js
index bcbea01..6b486ca 100644
--- a/src/elements/Defs.js
+++ b/src/elements/Defs.js
@@ -2,24 +2,16 @@ 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 )
-
+ constructor (node) {
+ super(nodeOrNew('defs', node), node)
}
flatten () {
-
return this
-
}
ungroup () {
-
return this
-
}
-
}
-register( Defs )
+register(Defs)