From ca7a2985097bae1066f281ab383fb421e3cf97a2 Mon Sep 17 00:00:00 2001 From: Arlena Derksen Date: Thu, 10 Oct 2019 14:57:19 +0200 Subject: [PATCH] Fixed docstrings to have them match the function signature (name of parameters). --- packages/node_modules/@node-red/util/lib/util.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/node_modules/@node-red/util/lib/util.js b/packages/node_modules/@node-red/util/lib/util.js index b4512f1ea..69ed930bb 100644 --- a/packages/node_modules/@node-red/util/lib/util.js +++ b/packages/node_modules/@node-red/util/lib/util.js @@ -301,7 +301,7 @@ function normalisePropertyExpression(str) { * front of the property expression if present. * * @param {Object} msg - the message object - * @param {String} str - the property expression + * @param {String} expr - the property expression * @return {any} the message property, or undefined if it does not exist * @memberof @node-red/util_util */ @@ -316,7 +316,7 @@ function getMessageProperty(msg,expr) { * Gets a property of an object. * * @param {Object} msg - the object - * @param {String} str - the property expression + * @param {String} expr - the property expression * @return {any} the object property, or undefined if it does not exist * @memberof @node-red/util_util */ @@ -468,7 +468,7 @@ function evaluateEnvProperty(value, node) { * * For example, `#:(file)::foo` results in ` { store: "file", key: "foo" }`. * - * @param {String} value - the context property string to parse + * @param {String} key - the context property string to parse * @return {Object} The parsed property * @memberof @node-red/util_util */