Fix import

This commit is contained in:
2025-07-31 11:21:57 +02:00
parent 24a7b96883
commit 1f57b6999e
2 changed files with 4 additions and 4 deletions

View File

@@ -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
}
};
}

View File

@@ -36,4 +36,4 @@ class liquidFlowHandler {
}
}
module.exports = { liquidFlowHandler };
module.exports = liquidFlowHandler;