From e058f51bf16cd908a266391f7d657f35e501bb17 Mon Sep 17 00:00:00 2001 From: Ulrich-Matthias Schäfer Date: Thu, 23 Apr 2020 08:04:58 +1000 Subject: renamed svg namespace to svg --- src/utils/adopter.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/utils') 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) { -- cgit v1.2.3