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

@@ -382,8 +382,8 @@ $(function () {
relay_url: "https://webathena.mit.edu/relay.html",
params: {
realm: "ATHENA.MIT.EDU",
principal: principal
}
principal: principal,
},
}, function (err, r) {
if (err) {
blueslip.warn(err);
@@ -402,7 +402,7 @@ $(function () {
},
error: function () {
$("#zephyr-mirror-error").show();
}
},
});
});
$('#settings-dropdown').dropdown("toggle");
@@ -440,13 +440,13 @@ $(function () {
if ($target.parent().hasClass("youtube-video")) {
ui.lightbox({
type: "youtube",
id: $target.data("id")
id: $target.data("id"),
});
} else {
ui.lightbox({
type: "photo",
image: img,
user: user
user: user,
});
}
});