aboutsummaryrefslogtreecommitdiffstats
path: root/src/elements/Element.js
diff options
context:
space:
mode:
authorUlrich-Matthias Schäfer <ulima.ums@googlemail.com>2018-11-19 20:45:07 +0100
committerUlrich-Matthias Schäfer <ulima.ums@googlemail.com>2018-11-19 20:45:07 +0100
commit9943813f3779d2ede508a90dadd087fc0ad12f1f (patch)
tree9e0d2c1008ed540936ca9675152f6ba79ff4bd64 /src/elements/Element.js
parentd5a8faa4d06d2664a7748ea570937751ef5271d5 (diff)
downloadsvg.js-9943813f3779d2ede508a90dadd087fc0ad12f1f.tar.gz
svg.js-9943813f3779d2ede508a90dadd087fc0ad12f1f.zip
renamed `Doc` to `Svg` according to (#932)
Diffstat (limited to 'src/elements/Element.js')
-rw-r--r--src/elements/Element.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/elements/Element.js b/src/elements/Element.js
index 456ddad..1f208c5 100644
--- a/src/elements/Element.js
+++ b/src/elements/Element.js
@@ -15,7 +15,7 @@ import Dom from './Dom.js'
import List from '../types/List.js'
import SVGNumber from '../types/SVGNumber.js'
-const Doc = getClass(root)
+const Svg = getClass(root)
export default class Element extends Dom {
constructor (node, attrs) {
@@ -57,7 +57,7 @@ export default class Element extends Dom {
// Get parent document
doc () {
- let p = this.parent(Doc)
+ let p = this.parent(Svg)
return p && p.doc()
}