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

@@ -13,8 +13,8 @@ var exports = {};
channel.post({
url: '/json/users/me/subscriptions',
data: {
subscriptions: JSON.stringify([{name: stream_name}])
}
subscriptions: JSON.stringify([{name: stream_name}]),
},
}).then(
function (data) {
if (!$.isEmptyObject(data.already_subscribed)) {
@@ -33,8 +33,8 @@ var exports = {};
channel.del({
url: '/json/users/me/subscriptions',
data: {
subscriptions: JSON.stringify([stream_name])
}
subscriptions: JSON.stringify([stream_name]),
},
}).then(
function () {
$status_message.hide();