mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-16 02:36:16 +01:00
ESlint one-var, fix comma-dangle
This commit is contained in:
@@ -48,8 +48,9 @@ admin.get = function (callback) {
|
||||
w.content += widgetData.adminTemplate;
|
||||
});
|
||||
|
||||
var templates = [],
|
||||
list = {}, index = 0;
|
||||
var templates = [];
|
||||
var list = {};
|
||||
var index = 0;
|
||||
|
||||
widgetData.areas.forEach(function (area) {
|
||||
if (typeof list[area.template] === 'undefined') {
|
||||
|
||||
Reference in New Issue
Block a user