From af1ea610ea4eafb825d2521b1270aefa264843a5 Mon Sep 17 00:00:00 2001 From: Hiroyasu Nishiyama Date: Mon, 21 May 2018 19:34:56 +0900 Subject: [PATCH 001/113] allow id and name reference in function node code (#1731) --- nodes/core/core/80-function.html | 6 +++++ nodes/core/core/80-function.js | 4 ++++ test/nodes/core/core/80-function_spec.js | 28 ++++++++++++++++++++++++ 3 files changed, 38 insertions(+) diff --git a/nodes/core/core/80-function.html b/nodes/core/core/80-function.html index 4d5131df8..61af46d36 100644 --- a/nodes/core/core/80-function.html +++ b/nodes/core/core/80-function.html @@ -52,6 +52,12 @@

The Catch node can also be used to handle errors. To invoke a Catch node, pass msg as a second argument to node.error:

node.error("Error",msg);
+

Referring Node Information

+

In the function block, id and name of the node can be referenced using the following properties:

+