Skip to content
This repository has been archived by the owner on Dec 20, 2024. It is now read-only.

Scoping js variables to avoid polluting global scope #6

Merged
merged 1 commit into from
Aug 6, 2018

Conversation

julien1619
Copy link
Contributor

I've updated the tracking code with the latest generated by Matomo. The main difference resides in the scoping of variables declared when inserting the <script> tag. Previously it was polluting the global scope and wasn't recommended.

@kremalicious
Copy link
Owner

kremalicious commented Aug 6, 2018

awesome, thanks! 🙏

@kremalicious kremalicious merged commit 226115d into kremalicious:master Aug 6, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants