lint: Add dangling commas in JavaScript objects.

This commit is contained in:
Tim Abbott
2017-01-11 15:17:43 -08:00
parent 7ca2d21d97
commit 998dff9e50
63 changed files with 302 additions and 302 deletions

View File

@@ -33,11 +33,11 @@ function set_user_list_heights(res, usable_height, user_presences, group_pms) {
// res.group_pms_max_height
var blocks = [
{
real_height: user_presences.prop('scrollHeight')
real_height: user_presences.prop('scrollHeight'),
},
{
real_height: group_pms.prop('scrollHeight')
}
real_height: group_pms.prop('scrollHeight'),
},
];
size_blocks(blocks, usable_height);
@@ -143,14 +143,14 @@ function left_userlist_get_new_heights() {
var blocks = [
{
real_height: stream_filters_real_height
real_height: stream_filters_real_height,
},
{
real_height: user_list_real_height
real_height: user_list_real_height,
},
{
real_height: group_pms_real_height
}
real_height: group_pms_real_height,
},
];
size_blocks(blocks, res.total_leftlist_height);