summaryrefslogtreecommitdiffstats
path: root/src/utils
diff options
context:
space:
mode:
authorUlrich-Matthias Schäfer <ulima.ums@googlemail.com>2020-04-23 08:04:58 +1000
committerUlrich-Matthias Schäfer <ulima.ums@googlemail.com>2020-04-23 08:04:58 +1000
commite058f51bf16cd908a266391f7d657f35e501bb17 (patch)
tree343e81c2efd661ecf25e4c4c7dbda7c12e3edaee /src/utils
parent55a2e8ebe262d4dcd6b7489df573f980d24554d0 (diff)
downloadsvg.js-e058f51bf16cd908a266391f7d657f35e501bb17.tar.gz
svg.js-e058f51bf16cd908a266391f7d657f35e501bb17.zip
renamed svg namespace to svg
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/adopter.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils/adopter.js b/src/utils/adopter.js
index 217aafb..a136655 100644
--- a/src/utils/adopter.js
+++ b/src/utils/adopter.js
@@ -1,6 +1,6 @@
import { addMethodNames } from './methods.js'
import { capitalize } from './utils.js'
-import { ns } from '../modules/core/namespaces.js'
+import { svg } from '../modules/core/namespaces.js'
import { globals } from '../utils/window.js'
import Base from '../types/Base.js'
@@ -10,7 +10,7 @@ export const root = '___SYMBOL___ROOT___'
// Method for element creation
export function create (name) {
// create element
- return globals.document.createElementNS(ns, name)
+ return globals.document.createElementNS(svg, name)
}
export function makeInstance (element, isHTML = false) {