Skip to content
Snippets Groups Projects
Commit 923e0576 authored by Matthias Konitzny's avatar Matthias Konitzny :fire:
Browse files

Suppressed some eslint-errors on ks_global.

parent 2f25ce04
No related branches found
No related tags found
No related merge requests found
/*global ks_global*/
export const COLOR_PALETTE = [
"rgb(104, 169, 77)",
"rgb(102, 75, 154)",
......
import { PLUGIN_PATH } from "../config";
/*global ks_global*/
import jQuery from "jquery";
/**
......@@ -55,9 +56,11 @@ export function listAllSpaces() {
action: "list_spaces",
};
return jQuery.ajax({
type: "POST",
url: ks_global.ajax_url,
data: payload,
}).then((data) => JSON.parse(data)["spaces"]);
return jQuery
.ajax({
type: "POST",
url: ks_global.ajax_url,
data: payload,
})
.then((data) => JSON.parse(data)["spaces"]);
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment