summaryrefslogtreecommitdiffstats
path: root/dgbuilder/test/red/nodes/resources/MultipleNodes1/MultipleNodes1.js
blob: 55747c0b30f0c0a18ceb498ff7b3ebfa2376b685 (plain)
1
2
3
4
5
6
7
// A test node that exports a function
module.exports = function(RED) {
    function TestNode1(n) {}
    RED.nodes.registerType("test-node-multiple-1a",TestNode1);
    function TestNode2(n) {}
    RED.nodes.registerType("test-node-multiple-1b",TestNode2);
}