[eslint] changing to always-multiline on comma-dangle (#794)

This commit is contained in:
Maxime Beauchemin
2016-07-20 21:32:20 -07:00
committed by GitHub
parent 7bba9f73d0
commit fa0497de5e
24 changed files with 77 additions and 77 deletions

View File

@@ -32,12 +32,12 @@ $(document).ready(function () {
editor.setTheme("ace/theme/crimson_editor");
editor.setOptions({
minLines: 16,
maxLines: Infinity
maxLines: Infinity,
});
editor.getSession().setMode("ace/mode/sql");
editor.focus();
$("select").select2({
dropdownAutoWidth: true
dropdownAutoWidth: true,
});
function showTableMetadata() {
@@ -49,7 +49,7 @@ $(document).ready(function () {
$("#create_view").click(function () {
showModal({
title: "Error",
body: "Sorry, this feature is not yet implemented"
body: "Sorry, this feature is not yet implemented",
});
});
$(".sqlcontent").show();
@@ -80,8 +80,8 @@ $(document).ready(function () {
data: {
data: JSON.stringify({
database_id: $('#database_id').val(),
sql: editor.getSession().getValue()
})
sql: editor.getSession().getValue(),
}),
},
success: function (data) {
$('#loading').hide(0);
@@ -92,14 +92,14 @@ $(document).ready(function () {
retrieve: true,
paging: false,
searching: true,
aaSorting: []
aaSorting: [],
});
},
error: function (err, err2) {
$('#loading').hide(0);
$('#results').show(0);
$('#results').html(err.responseText);
}
},
});
});
}