From b957c149bf74bb07a34bd163d6090c4749000a5e Mon Sep 17 00:00:00 2001
From: David Witter <david.witter@wisc.edu>
Date: Thu, 14 Jun 2018 10:15:33 -0500
Subject: [PATCH] more unique constant name

---
 myuw-profile.html | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/myuw-profile.html b/myuw-profile.html
index 2cc79ba..f3c4a27 100644
--- a/myuw-profile.html
+++ b/myuw-profile.html
@@ -144,7 +144,7 @@
 <script>
 
 // Get the script document
-const thisDoc = (document._currentScript || document.currentScript).ownerDocument;
+const myuwProfileDoc = (document._currentScript || document.currentScript).ownerDocument;
 
 class MyUWProfile extends HTMLElement {
     constructor() {
@@ -156,7 +156,7 @@ class MyUWProfile extends HTMLElement {
         this.attachShadow({mode: 'open'});
 
         // Get the template and extract the HTML content
-        const template = thisDoc.getElementById('myuw-profile-template');
+        const template = myuwProfileDoc.getElementById('myuw-profile-template');
 
         // Append the custom HTML to the shadowroot
         this.shadowRoot.appendChild(template.content.cloneNode(true));
-- 
GitLab