refactor: simplify runtime-dom class tests

This commit is contained in:
Evan You
2020-04-10 15:23:01 -04:00
parent 6eb3399311
commit ed235f16de
6 changed files with 34 additions and 187 deletions

View File

@@ -1,7 +1,8 @@
import { RendererOptions } from '@vue/runtime-core'
export const svgNS = 'http://www.w3.org/2000/svg'
const doc = (typeof document !== 'undefined' ? document : null) as Document
const svgNS = 'http://www.w3.org/2000/svg'
let tempContainer: HTMLElement
let tempSVGContainer: SVGElement