Skip to content

Commit

Permalink
Use var instead of let
Browse files Browse the repository at this point in the history
Better browser support!
  • Loading branch information
andrewborstein committed May 13, 2020
1 parent 03b39b7 commit a51dbc9
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions _includes/layouts/base.njk
Original file line number Diff line number Diff line change
Expand Up @@ -141,10 +141,10 @@ title: Andrew Borstein | Full-Stack Front-End Developer
-------------------------------------------------
If you want to enable your own account, assign analyticsId to your
google analytics id, which should be the numbers following "UA-", e.g.
let analyticsId = "12345678-9"
var analyticsId = "12345678-9"
-->
<script>
let analyticsId
var analyticsId
// If analytics id has been manually defined
if (analyticsId) {
Expand Down
4 changes: 2 additions & 2 deletions _site/blog/hello-world-and-why-im-blogging/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -302,10 +302,10 @@ <h3>3. Communicate with Future Teammates or Employers</h3>
-------------------------------------------------
If you want to enable your own account, assign analyticsId to your
google analytics id, which should be the numbers following "UA-", e.g.
let analyticsId = "12345678-9"
var analyticsId = "12345678-9"
-->
<script>
let analyticsId
var analyticsId

// If analytics id has been manually defined
if (analyticsId) {
Expand Down
4 changes: 2 additions & 2 deletions _site/blog/moving-my-blog-to-eleventy-part-1/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -365,10 +365,10 @@ <h2>Final thoughts: ¯\<em>(ツ)</em>/¯</h2>
-------------------------------------------------
If you want to enable your own account, assign analyticsId to your
google analytics id, which should be the numbers following "UA-", e.g.
let analyticsId = "12345678-9"
var analyticsId = "12345678-9"
-->
<script>
let analyticsId
var analyticsId

// If analytics id has been manually defined
if (analyticsId) {
Expand Down
4 changes: 2 additions & 2 deletions _site/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2178,10 +2178,10 @@ <h4 id="posts-2019">2019</h4>
-------------------------------------------------
If you want to enable your own account, assign analyticsId to your
google analytics id, which should be the numbers following "UA-", e.g.
let analyticsId = "12345678-9"
var analyticsId = "12345678-9"
-->
<script>
let analyticsId
var analyticsId

// If analytics id has been manually defined
if (analyticsId) {
Expand Down

0 comments on commit a51dbc9

Please sign in to comment.