diff options
author | Ulrich-Matthias Schäfer <ulima.ums@googlemail.com> | 2018-11-24 11:17:13 +0100 |
---|---|---|
committer | Ulrich-Matthias Schäfer <ulima.ums@googlemail.com> | 2018-11-24 11:17:13 +0100 |
commit | 858f19e9f8b9ba26eee8d3aeb8ba8b5b5058472b (patch) | |
tree | fa0c355901bf93e6dc418a759f06ab7899e0452a /src/main.js | |
parent | 8555e13b252f07f8079b08c0b29f4399d389b1e0 (diff) | |
download | svg.js-858f19e9f8b9ba26eee8d3aeb8ba8b5b5058472b.tar.gz svg.js-858f19e9f8b9ba26eee8d3aeb8ba8b5b5058472b.zip |
Get rid of HTMLNode and Bare in favor of Dom
- words() and element() added to Dom
- svg() now returns the _parent_ of the imported element, when outerHTML is true (which means an element gets replaces)
Diffstat (limited to 'src/main.js')
-rw-r--r-- | src/main.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/main.js b/src/main.js index 919fb25..696dfdd 100644 --- a/src/main.js +++ b/src/main.js @@ -30,7 +30,7 @@ import Morphable, { TransformBag, makeMorphable, registerMorphableType -} from './types/Morphable.js' +} from './animation/Morphable.js' import Path from './elements/Path.js' import PathArray from './types/PathArray.js' import Pattern from './elements/Pattern.js' @@ -85,7 +85,6 @@ export { default as PointArray } from './types/PointArray.js' export { default as List } from './types/List.js' /* Elements */ -export { default as Bare } from './elements/Bare.js' export { default as Circle } from './elements/Circle.js' export { default as ClipPath } from './elements/ClipPath.js' export { default as Container } from './elements/Container.js' @@ -95,7 +94,6 @@ export { default as Element } from './elements/Element.js' export { default as Ellipse } from './elements/Ellipse.js' export { default as Gradient } from './elements/Gradient.js' export { default as G } from './elements/G.js' -export { default as HtmlNode } from './elements/HtmlNode.js' export { default as A } from './elements/A.js' export { default as Image } from './elements/Image.js' export { default as Line } from './elements/Line.js' |