From 9f5d92e3a571e0e027dc3f7c9a803d4c7b440e76 Mon Sep 17 00:00:00 2001 From: Robin Leber <rleber98@gmail.com> Date: Thu, 13 Jun 2024 09:01:27 +0200 Subject: [PATCH] =?UTF-8?q?FIX:=20auskommentierte=20=20und=20nicht=20benut?= =?UTF-8?q?ze=20Sachen=20gel=C3=B6scht?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main.js | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/main.js b/src/main.js index 9b4774e..c77d1a9 100644 --- a/src/main.js +++ b/src/main.js @@ -1,7 +1,7 @@ import "./style.css"; import { v4 as uuidv4 } from "uuid"; import { jsPlumb } from "jsplumb"; -import { INTERCEPT_BEFORE_DROP, EVENT_DRAG_START } from "@jsplumb/browser-ui"; +import { INTERCEPT_BEFORE_DROP } from "@jsplumb/browser-ui"; import { isConnectionAllowed } from "./functions/isConnectionAllowed"; import { initContextmenu } from "./functions/contextmenu"; import { createEndpoints } from "./functions/createEndpoint"; @@ -35,11 +35,6 @@ function App() { }, }); - // instance.bind(EVENT_DRAG_START, function (info) { - // console.log("HI"); - // console.log(info); - // }); - // Überprüft ob die Connection valide ist instance.bind(INTERCEPT_BEFORE_DROP, function (info) { var source = document.getElementById(info.sourceId); -- GitLab