consistent usage of arrow syntax instead of anonymous functions

This commit is contained in:
azivner
2017-10-09 18:53:11 -04:00
parent 49460dfb8a
commit ca87ff9215
15 changed files with 76 additions and 95 deletions

View File

@@ -8,7 +8,7 @@ function showRecentChanges() {
$.ajax({
url: baseApiUrl + 'recent-changes/',
type: 'GET',
success: function (result) {
success: result => {
const groupedByDate = new Map();
const dayCache = {};
@@ -78,7 +78,7 @@ function showRecentChanges() {
$(document).bind('keydown', 'alt+r', showRecentChanges);
$(document).on('click', '#recentChangesDialog a', function(e) {
$(document).on('click', '#recentChangesDialog a', e => {
goToInternalNote(e, () => {
$("#recentChangesDialog").dialog('close');
});