chore: fix eslint warnings

This commit is contained in:
Sidharth Vinod
2022-09-13 21:39:58 +05:30
parent b5dcb4f345
commit 4fc4d71350
23 changed files with 25 additions and 132 deletions

View File

@@ -29,8 +29,6 @@ export const setConf = function (cnf) {
* @param diagObj
*/
export const addVertices = function (vert, g, svgId, root, _doc, diagObj) {
const securityLevel = getConfig().securityLevel;
const svg = !root ? select(`[id="${svgId}"]`) : root.select(`[id="${svgId}"]`);
const doc = !_doc ? document : _doc;
const keys = Object.keys(vert);