1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00
node-red/packages/node_modules/@node-red
Kristian Heljas 7b8ed487e9
Function node: add node.outputCount property to sandbox (#2918)
* Function node: add `node.outputs` property to sandbox

https://discourse.nodered.org/t/expose-configured-output-count-to-function-node-i-can-pr/43848

* style: indetation for function node sanbox code

I guess this was unintentionally unindented in d51aefa156 (diff-24cd715c3b7405ea194bfdc0dc2a350ceb2f5d18696b8163c3e40105b981a666)

* Function node: tests for accessing node properties

consistently tests that `node.id`, `node.name` and `node.outputs`
are available in `init()`, `func()` and `finalize()` methods.

* Function node: rename `node.outputs` to `node.outputCount`

https://discourse.nodered.org/t/expose-configured-output-count-to-function-node-i-can-pr/43848/9?u=kristian
2021-04-08 14:52:02 +01:00
..
editor-api Update version for 1.3.0 2021-04-06 18:31:49 +01:00
editor-client Add Japanese translations for Node-RED v1.3 2021-04-08 20:06:35 +09:00
nodes Function node: add node.outputCount property to sandbox (#2918) 2021-04-08 14:52:02 +01:00
registry Update version for 1.3.0 2021-04-06 18:31:49 +01:00
runtime Update version for 1.3.0 2021-04-06 18:31:49 +01:00
util Update version for 1.3.0 2021-04-06 18:31:49 +01:00