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

@@ -224,7 +224,7 @@ function build_stream_sidebar_li(sub) {
not_in_home_view: (stream_data.in_home_view(name) === false),
invite_only: sub.invite_only,
color: stream_data.get_color(name),
pin_to_top: sub.pin_to_top
pin_to_top: sub.pin_to_top,
};
args.dark_background = stream_color.get_color_class(args.color);
var list_item = $(templates.render('stream_sidebar_row', args));
@@ -274,7 +274,7 @@ exports.redraw_stream_privacy = function (stream_name) {
var args = {
invite_only: sub.invite_only,
dark_background: dark_background
dark_background: dark_background,
};
if (sub.invite_only) {
@@ -387,7 +387,7 @@ $(function () {
// each stream.
topic_list.set_click_handlers({
zoom_in: zoom_in,
zoom_out: zoom_out
zoom_out: zoom_out,
});
pm_list.set_click_handlers();