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

@@ -22,7 +22,7 @@ exports.notify_with_undo_option = (function () {
topic: null,
hide_me_time: null,
alert_hover_state: false,
$mute: null
$mute: null,
};
var animate = {
fadeOut: function () {
@@ -34,7 +34,7 @@ exports.notify_with_undo_option = (function () {
if (meta.$mute) {
meta.$mute.fadeIn(500).addClass("show");
}
}
},
};
setInterval(function () {
if (meta.hide_me_time < new Date().getTime() && !meta.alert_hover_state) {
@@ -92,13 +92,13 @@ exports.persist_and_rerender = function () {
// die down before the next reload anyway, making the muting moot.
exports.rerender();
var data = {
muted_topics: JSON.stringify(muting.get_muted_topics())
muted_topics: JSON.stringify(muting.get_muted_topics()),
};
last_topic_update = timestamp_ms();
channel.post({
url: '/json/set_muted_topics',
idempotent: true,
data: data
data: data,
});
};