From d7f6613892446cc62aafd4bbc78ebef11bf1759c Mon Sep 17 00:00:00 2001 From: lzm Date: Thu, 28 May 2026 08:59:28 +0200 Subject: [PATCH] refactor(measurement): modularize editor JS Move inline - + + + + + + + + + + + @@ -258,122 +91,515 @@ diff --git a/measurement.js b/measurement.js index 793e703..1a81e9e 100644 --- a/measurement.js +++ b/measurement.js @@ -1,4 +1,5 @@ const nameOfNode = 'measurement'; // this is the name of the node, it should match the file name and the node type in Node-RED +const path = require('path'); const nodeClass = require('./src/nodeClass.js'); // this is the specific node class const { MenuManager, configManager, assetApiConfig } = require('generalFunctions'); const assetUtils = require('generalFunctions/assetUtils'); @@ -38,6 +39,18 @@ module.exports = function(RED) { } }); + // Editor JS modules — loaded by measurement.html via