diff options
author | Ulrich-Matthias Schäfer <ulima.ums@googlemail.com> | 2020-04-23 08:04:58 +1000 |
---|---|---|
committer | Ulrich-Matthias Schäfer <ulima.ums@googlemail.com> | 2020-04-23 08:04:58 +1000 |
commit | e058f51bf16cd908a266391f7d657f35e501bb17 (patch) | |
tree | 343e81c2efd661ecf25e4c4c7dbda7c12e3edaee /src/elements/Svg.js | |
parent | 55a2e8ebe262d4dcd6b7489df573f980d24554d0 (diff) | |
download | svg.js-e058f51bf16cd908a266391f7d657f35e501bb17.tar.gz svg.js-e058f51bf16cd908a266391f7d657f35e501bb17.zip |
renamed svg namespace to svg
Diffstat (limited to 'src/elements/Svg.js')
-rw-r--r-- | src/elements/Svg.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/elements/Svg.js b/src/elements/Svg.js index 51f4202..acddf34 100644 --- a/src/elements/Svg.js +++ b/src/elements/Svg.js @@ -4,7 +4,7 @@ import { register, wrapWithAttrCheck } from '../utils/adopter.js' -import { ns, svgjs, xlink, xmlns } from '../modules/core/namespaces.js' +import { svg, svgjs, xlink, xmlns } from '../modules/core/namespaces.js' import { registerMethods } from '../utils/methods.js' import Container from './Container.js' import Defs from './Defs.js' @@ -33,7 +33,7 @@ export default class Svg extends Container { namespace () { if (!this.isRoot()) return this.root().namespace() return this - .attr({ xmlns: ns, version: '1.1' }) + .attr({ xmlns: svg, version: '1.1' }) .attr('xmlns:xlink', xlink, xmlns) .attr('xmlns:svgjs', svgjs, xmlns) } |