From f16c4be1b10d8f5790047c4e84b1c369a7e81837 Mon Sep 17 00:00:00 2001 From: esp_maniac <91507465+espmaniac@users.noreply.github.com> Date: Mon, 9 Dec 2024 16:38:54 +0300 Subject: [PATCH] refactoring --- index.html | 23 +- main.js | 935 ------------------ component.js => scripts/component.js | 0 scripts/connector.js | 198 ++++ junction.js => scripts/junction.js | 0 scripts/main.js | 222 +++++ node.js => scripts/node.js | 0 .../parallelseries.js | 0 scripts/scheme.js | 317 ++++++ text.js => scripts/text.js | 0 scripts/tool_manager.js | 242 +++++ wire.js => scripts/wire.js | 0 main.css => styles/main.css | 6 +- 13 files changed, 997 insertions(+), 946 deletions(-) delete mode 100644 main.js rename component.js => scripts/component.js (100%) create mode 100644 scripts/connector.js rename junction.js => scripts/junction.js (100%) create mode 100644 scripts/main.js rename node.js => scripts/node.js (100%) rename parallelseries.js => scripts/parallelseries.js (100%) create mode 100644 scripts/scheme.js rename text.js => scripts/text.js (100%) create mode 100644 scripts/tool_manager.js rename wire.js => scripts/wire.js (100%) rename main.css => styles/main.css (92%) diff --git a/index.html b/index.html index 256fca3..9265d44 100644 --- a/index.html +++ b/index.html @@ -14,7 +14,7 @@ - +
@@ -141,12 +141,19 @@