diff options
Diffstat (limited to 'src/Stop.js')
-rw-r--r-- | src/Stop.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Stop.js b/src/Stop.js index 6bce999..1631b4a 100644 --- a/src/Stop.js +++ b/src/Stop.js @@ -1,10 +1,10 @@ -import Element from './Element.js' +import Base from './Base.js' import SVGNumber from './SVGNumber.js' import {nodeOrNew} from './tools.js' -export default class Stop extends Element { +export default class Stop extends Base { constructor (node) { - super(nodeOrNew('stop', node)) + super(nodeOrNew('stop', node), Stop) } // add color stops |