Skip to content

Commit

Permalink
Linting fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
knsv committed Jul 21, 2019
1 parent c25a3cf commit 9c150ee
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion src/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ const setConf = function (cnf) {
}
}


export const setConfig = conf => {
setConf(conf)
}
Expand Down
6 changes: 3 additions & 3 deletions src/diagrams/flowchart/flowDb.js
Original file line number Diff line number Diff line change
Expand Up @@ -197,9 +197,9 @@ const setClickFun = function (id, functionName) {
funs.push(function (element) {
const elem = document.querySelector(`[id="${id}"]`)
if (elem !== null) {
elem.addEventListener("click", function(){
window[functionName](id);
}, false);
elem.addEventListener('click', function () {
window[functionName](id)
}, false)
}
})
}
Expand Down

0 comments on commit 9c150ee

Please sign in to comment.