Skip to content

Commit

Permalink
Refactor code and improve readability
Browse files Browse the repository at this point in the history
  • Loading branch information
axunonb committed Jul 19, 2024
1 parent 016fb47 commit 5a279b8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Src/TournamentCalendar/Scripts/Site.Location.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// All Site scripts go into the same namespace
var Site;
var Site; // NOSONAR
if (Site === undefined) {
Site = {};
}
Expand Down Expand Up @@ -141,6 +141,6 @@ Site.Location = class {
mapTypeControl: true,
mapTypeId: google.maps.MapTypeId.ROADMAP
};
const map = new google.maps.Map(mapPlaceholderEle, mapOptions);
new google.maps.Map(mapPlaceholderEle, mapOptions); // NOSONAR
}
}
4 changes: 2 additions & 2 deletions Src/TournamentCalendar/Scripts/Site.TempusDominusFactory.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// All Site scripts go into the same namespace
var Site;
var Site; // NOSONAR
if (Site === undefined) {
Site = {};
}
var tempusDominus;
var tempusDominus; // NOSONAR
if (tempusDominus === undefined) { tempusDominus = window.tempusDominus; }

Site.TempusDominusFactory = class {
Expand Down
2 changes: 1 addition & 1 deletion Src/TournamentCalendar/Views/Calendar/Edit.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@
@if (Model.EditMode == EditMode.Change)
{
<div>
@if (Model.ShowTournament is true)
@if (Model.ShowTournament)
{
<div>Das Turnier ist bis zum Veranstaltungsdatum im Turnierkalender sichtbar.</div>
}
Expand Down

0 comments on commit 5a279b8

Please sign in to comment.