diff options
Diffstat (limited to 'dgbuilder/test/red/nodes/resources/TestNode2/TestNode2.js')
-rw-r--r-- | dgbuilder/test/red/nodes/resources/TestNode2/TestNode2.js | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/dgbuilder/test/red/nodes/resources/TestNode2/TestNode2.js b/dgbuilder/test/red/nodes/resources/TestNode2/TestNode2.js deleted file mode 100644 index faf61a8f..00000000 --- a/dgbuilder/test/red/nodes/resources/TestNode2/TestNode2.js +++ /dev/null @@ -1,10 +0,0 @@ -// A test node that exports a function which returns a resolving promise - -var when = require("when"); -module.exports = function(RED) { - return when.promise(function(resolve,reject) { - function TestNode(n) {} - RED.nodes.registerType("test-node-2",TestNode); - resolve(); - }); -} |