Skip to content

Commit

Permalink
Merge pull request #22 from jirutka/fix-missing-var
Browse files Browse the repository at this point in the history
Fix unintended global variable
  • Loading branch information
Download authored Sep 3, 2019
2 parents d91a29a + 558b6c7 commit fc5a47e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ulog.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ function extend(o,p,l) {
if (lvl >= 0 && lvl <= 6) l = lvl
}
patch(o)
if (!p) {for (mod in mods) {patch(mods[mod])}}
if (!p) {for (var mod in mods) {patch(mods[mod])}}
}
})
patch(o)
Expand Down
2 changes: 1 addition & 1 deletion ulog.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion ulog.umd.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ function extend(o,p,l) {
if (lvl >= 0 && lvl <= 6) l = lvl
}
patch(o)
if (!p) {for (mod in mods) {patch(mods[mod])}}
if (!p) {for (var mod in mods) {patch(mods[mod])}}
}
})
patch(o)
Expand Down

0 comments on commit fc5a47e

Please sign in to comment.