diff options
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/core/parser.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/core/parser.js b/src/modules/core/parser.js index ccbbc54..1ff2380 100644 --- a/src/modules/core/parser.js +++ b/src/modules/core/parser.js @@ -1,10 +1,10 @@ -import Doc from '../../elements/Doc.js' import { globals } from '../../utils/window.js' +import { makeInstance } from '../../utils/adopter.js' export default function parser () { // Reuse cached element if possible if (!parser.nodes) { - let svg = new Doc().size(2, 0) + let svg = makeInstance().size(2, 0) svg.node.cssText = [ 'opacity: 0', 'position: absolute', |