aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/core/parser.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/core/parser.js')
-rw-r--r--src/modules/core/parser.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/core/parser.js b/src/modules/core/parser.js
index 7028044..4f92657 100644
--- a/src/modules/core/parser.js
+++ b/src/modules/core/parser.js
@@ -4,7 +4,7 @@ import { makeInstance } from '../../utils/adopter.js'
export default function parser () {
// Reuse cached element if possible
if (!parser.nodes) {
- let svg = makeInstance().size(2, 0)
+ const svg = makeInstance().size(2, 0)
svg.node.style.cssText = [
'opacity: 0',
'position: absolute',
@@ -16,13 +16,13 @@ export default function parser () {
svg.attr('focusable', 'false')
svg.attr('aria-hidden', 'true')
- let path = svg.path().node
+ const path = svg.path().node
parser.nodes = { svg, path }
}
if (!parser.nodes.svg.node.parentNode) {
- let b = globals.document.body || globals.document.documentElement
+ const b = globals.document.body || globals.document.documentElement
parser.nodes.svg.addTo(b)
}