diff options
Diffstat (limited to 'dgbuilder/test/red/nodes/resources/TestNode2')
-rw-r--r-- | dgbuilder/test/red/nodes/resources/TestNode2/TestNode2.html | 4 | ||||
-rw-r--r-- | dgbuilder/test/red/nodes/resources/TestNode2/TestNode2.js | 10 |
2 files changed, 0 insertions, 14 deletions
diff --git a/dgbuilder/test/red/nodes/resources/TestNode2/TestNode2.html b/dgbuilder/test/red/nodes/resources/TestNode2/TestNode2.html deleted file mode 100644 index 66b65909..00000000 --- a/dgbuilder/test/red/nodes/resources/TestNode2/TestNode2.html +++ /dev/null @@ -1,4 +0,0 @@ -<script type="text/x-red" data-template-name="test-node-2"></script> -<script type="text/x-red" data-help-name="test-node-2"></script> -<script type="text/javascript">RED.nodes.registerType('test-node-2',{});</script> -<style></style> 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(); - }); -} |