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