style: drop redundant semicolons after function declarations (filegen templates + static js)

This commit is contained in:
Florian Andrew George Berthold 2026-06-10 06:13:19 +02:00
parent 1491db51e3
commit 1c88254a06
18 changed files with 33 additions and 33 deletions

View file

@ -68,7 +68,7 @@
} while ( elem = elem.parentNode );
return getRGB(color);
};
}
// Some named colors to work with
// From Interface by Stefan Petre

View file

@ -228,7 +228,7 @@ function g_enhanceTextarea (ta, opt) {
}
ta.data("wh-enhanced", true);
};
}
$WH.createOptionsMenuWidget = function (id, txt, opt) {
var chevron = $WH.createOptionsMenuWidget.chevron;

View file

@ -2961,7 +2961,7 @@ Listview.extraCols = {
var mText = ConditionList.createCell(row.condition);
Markup.printHtml(mText, td);
return;
},
getVisibleText: function(row)
{
@ -3875,7 +3875,7 @@ Listview.funcBox = {
}
);
}
return;
},
coFlagOutOfDate: function(comment)
@ -3975,7 +3975,7 @@ Listview.funcBox = {
}
// aowow: custom end
return;
}
},

View file

@ -144,7 +144,7 @@ Listview.templates = {
$(wrapper).append(revText);
}
return;
},
getVisibleText: function(guide)
{
@ -359,7 +359,7 @@ Listview.templates = {
span.addClass('q2');
$(td).append(span);
return;
},
sortFunc: function(a, b)
{
@ -2208,7 +2208,7 @@ Listview.templates = {
a.addClass('listview-cleartext');
a.attr('href', '?user=' + user.username);
$(td).append(a);
return;
},
getVisibleText: function(user) {
return user.username;
@ -2226,7 +2226,7 @@ Listview.templates = {
type: 'text',
compute: function(user, td) {
$(td).append($WH.number_format(user.reputation));
return;
},
sortFunc: function(a, b) {
if (b.reputation == a.reputation)
@ -2251,7 +2251,7 @@ Listview.templates = {
sp.html(buf);
$(td).append(sp);
return;
},
sortFunc: function(a, b) {
var sumA = (a.gold * 1000 * 1000) + (a.silver * 1000) + a.copper;
@ -2267,7 +2267,7 @@ Listview.templates = {
type: 'text',
compute: function(user, td) {
$(td).append($WH.number_format(user.comments));
return;
},
sortFunc: function(a, b) {
if (a.comments == b.comments)
@ -2281,7 +2281,7 @@ Listview.templates = {
type: 'text',
compute: function(user, td) {
$(td).append($WH.number_format(user.posts));
return;
},
sortFunc: function(a, b) {
if (a.posts == b.posts)
@ -2295,7 +2295,7 @@ Listview.templates = {
type: 'text',
compute: function(user, td) {
$(td).append($WH.number_format(user.screenshots));
return;
},
sortFunc: function(a, b) {
if (a.screenshots == b.screenshots)
@ -2309,7 +2309,7 @@ Listview.templates = {
type: 'text',
compute: function(user, td) {
$(td).append($WH.number_format(user.reports));
return;
},
sortFunc: function(a, b) {
if (a.reports == b.reports)
@ -2323,7 +2323,7 @@ Listview.templates = {
type: 'text',
compute: function(user, td) {
$(td).append($WH.number_format(user.votes));
return;
},
sortFunc: function(a, b) {
if (a.votes == b.votes)
@ -2337,7 +2337,7 @@ Listview.templates = {
type: 'text',
compute: function(user, c) {
$(c).append($WH.number_format(user.uploads));
return;
},
sortFunc: function(a, c) {
if (a.uploads == c.uploads)
@ -2396,7 +2396,7 @@ Listview.templates = {
else {
$(td).append(l_reputation_names[rep.action]);
}
return;
},
getVisibleText: function(rep) {
return l_reputation_names[rep.action];
@ -2418,7 +2418,7 @@ Listview.templates = {
}
$(td).append(span);
return;
},
getVisibleText: function(rep) {
return rep.amount;

View file

@ -152,7 +152,7 @@ function Mapper(opt, noScroll)
this.setZones(opt.zoneparent, opt.zones);
this.updateMap(noScroll);
};
}
Mapper.sizes = [
[ 488, 325, 'normal'],
@ -1080,7 +1080,7 @@ Mapper.prototype = {
this.onPinUpdate && this.onPinUpdate(this);
return;
},
pinOver: function()

View file

@ -151,7 +151,7 @@ function g_GetCommentRoleLabel(roles, title)
return LANG.premiumuser;
return null;
};
}
function g_formatDate(sp, elapsed, theDate, time, alone)
{