aboutsummaryrefslogtreecommitdiffstats
path: root/src/svg.js
blob: 402659804794860051af2152b4678ba7834fbc20 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import * as svgMembers from './main.js'
import * as regex from './modules/core/regex.js'
import { makeInstance } from './utils/adopter'

// The main wrapping element
export default function SVG (element) {
  return makeInstance(element)
}

Object.assign(SVG, svgMembers)

SVG.utils = SVG
SVG.regex = regex
SVG.get = SVG