mirror of
https://github.com/umami-software/umami.git
synced 2026-02-20 04:25:39 +01:00
Fix bublé transpiling wrongly [...currentScript.attributes], try with Array#from instead
See https://github.com/bublejs/buble/issues/131
This commit is contained in:
parent
6361ac892b
commit
17c93dab31
1 changed files with 1 additions and 1 deletions
|
|
@ -41,7 +41,7 @@
|
|||
};
|
||||
|
||||
const getPageviewEventData = () => Object.fromEntries(
|
||||
[...currentScript.attributes]
|
||||
Array.from(currentScript.attributes)
|
||||
.filter(attribute => attribute.name.match(pageviewCustomPropertyRegex))
|
||||
.map(attribute => {
|
||||
const match = attribute.name.match(pageviewCustomPropertyRegex);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue