ESlint comma-dangle

This commit is contained in:
Peter Jaszkowiak
2017-02-17 19:31:21 -07:00
parent aa64ec7db1
commit bc1d70c126
345 changed files with 1974 additions and 1978 deletions

View File

@@ -17,7 +17,7 @@ admin.get = function (callback) {
{ name: 'Global Footer', template: 'global', location: 'footer' },
{ name: 'Group Page (Left)', template: 'groups/details.tpl', location: 'left'},
{ name: 'Group Page (Right)', template: 'groups/details.tpl', location: 'right'}
{ name: 'Group Page (Right)', template: 'groups/details.tpl', location: 'right'},
];
plugins.fireHook('filter:widgets.getAreas', defaultAreas, next);
@@ -27,7 +27,7 @@ admin.get = function (callback) {
},
adminTemplate: function (next) {
fs.readFile(path.resolve(nconf.get('views_dir'), 'admin/partials/widget-settings.tpl'), 'utf8', next);
}
},
}, function (err, widgetData) {
if (err) {
return callback(err);
@@ -56,7 +56,7 @@ admin.get = function (callback) {
list[area.template] = index;
templates.push({
template: area.template,
areas: []
areas: [],
});
index++;
@@ -64,14 +64,14 @@ admin.get = function (callback) {
templates[list[area.template]].areas.push({
name: area.name,
location: area.location
location: area.location,
});
});
callback(false, {
templates: templates,
areas: widgetData.areas,
widgets: widgetData.widgets
widgets: widgetData.widgets,
});
});
});