Enable a number of eslint style rules

This commit is contained in:
Tom Hughes 2019-04-07 17:02:39 +01:00
parent 8030e7b5d6
commit 5bd59e1936
28 changed files with 278 additions and 240 deletions

View file

@ -17,7 +17,7 @@ $(document).ready(function () {
token_secret: application_data.tokenSecret
});
$.ajaxPrefilter(function(options, jqxhr) {
$.ajaxPrefilter(function (options, jqxhr) {
if (options.oauth) {
options.headers = options.headers || {};
options.headers.Authorization = headerGenerator(options.type, makeAbsolute(options.url), jqxhr.data);