Fix eslint rules in ES5 files

This commit is contained in:
Pavel Dohnal
2019-01-23 14:36:39 +01:00
parent 20ae36cf0b
commit f1cbc4a7c6
15 changed files with 82 additions and 92 deletions

View File

@@ -297,8 +297,7 @@ define('modal', ['mailpoet', 'jquery'],
this.loadTemplate();
// show modal window
this.showModal();
}.bind(this)
);
}.bind(this));
} else if (this.options.method === 'post') {
// make ajax request
jQuery.post(this.options.url, JSON.stringify(this.options.params),
@@ -309,8 +308,7 @@ define('modal', ['mailpoet', 'jquery'],
// show modal window
this.showModal();
}.bind(this),
'json'
);
'json');
}
return this;
@@ -646,6 +644,4 @@ define('modal', ['mailpoet', 'jquery'],
return this;
}
};
}
);
});