From 1f57b6999e9ae0df970aab10e77d49a095c62861 Mon Sep 17 00:00:00 2001
From: "p.vanderwilt"
Date: Thu, 31 Jul 2025 11:21:57 +0200
Subject: [PATCH] Fix import
---
src/nodeClass.js | 6 +++---
src/specificClass.js | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/nodeClass.js b/src/nodeClass.js
index 8d51d9f..d08c3f9 100644
--- a/src/nodeClass.js
+++ b/src/nodeClass.js
@@ -1,11 +1,11 @@
+const Specific = require("./specificClass.js");
+
/**
* node class.js
*
* Encapsulates all node logic in a reusable class. In future updates we can split this into multiple generic classes and use the config to specifiy which ones to use.
* This allows us to keep the Node-RED node clean and focused on wiring up the UI and event handlers.
*/
-const Specific = require("./specificClass.js");
-
class nodeClass {
/**
* Create a Node.
@@ -51,7 +51,7 @@ class nodeClass {
}
},
functionality: {
- positionVsParent: uiConfig.positionVsParent || 'atEquipment', // Default to 'atEquipment' if not specified
+ positionVsParent: uiConfig.positionVsParent || 'atEquipment' // Default to 'atEquipment' if not specified
}
};
}
diff --git a/src/specificClass.js b/src/specificClass.js
index 8ddc30c..596c98c 100644
--- a/src/specificClass.js
+++ b/src/specificClass.js
@@ -36,4 +36,4 @@ class liquidFlowHandler {
}
}
-module.exports = { liquidFlowHandler };
\ No newline at end of file
+module.exports = liquidFlowHandler;
\ No newline at end of file