diff --git a/packages/node_modules/@node-red/nodes/core/function/10-function.html b/packages/node_modules/@node-red/nodes/core/function/10-function.html index 56c19fc25..5cc12e3b8 100644 --- a/packages/node_modules/@node-red/nodes/core/function/10-function.html +++ b/packages/node_modules/@node-red/nodes/core/function/10-function.html @@ -156,7 +156,6 @@ var count = finalText.split("\n").length; this.finalizeEditor.moveCursorTo(count -1, 0); } - RED.library.create({ url:"functions", // where to get the data from @@ -245,7 +244,6 @@ } }) }); - }, oneditsave: function() { diff --git a/packages/node_modules/@node-red/nodes/locales/en-US/messages.json b/packages/node_modules/@node-red/nodes/locales/en-US/messages.json index b48abb694..0b93dddc3 100755 --- a/packages/node_modules/@node-red/nodes/locales/en-US/messages.json +++ b/packages/node_modules/@node-red/nodes/locales/en-US/messages.json @@ -212,8 +212,8 @@ "outputs": "Outputs" }, "text": { - "initialize": "// Code added here will be run once whenever Node-RED is started\n// or a new flow configuration is deployed.\n", - "finalize": "// Code added here will be run when the node is being stopped\n// or re-deployed.\n" + "initialize": "// Code added here will be run once whenever the node is deployed.\n", + "finalize": "// Code added here will be run when the node is being stopped or re-deployed.\n" }, "error": { "inputListener":"Cannot add listener to 'input' event within Function", diff --git a/packages/node_modules/@node-red/nodes/locales/ja/messages.json b/packages/node_modules/@node-red/nodes/locales/ja/messages.json index 1272fc8ae..35e15aae7 100755 --- a/packages/node_modules/@node-red/nodes/locales/ja/messages.json +++ b/packages/node_modules/@node-red/nodes/locales/ja/messages.json @@ -212,8 +212,8 @@ "outputs": "出力数" }, "text": { - "initialize": "// ここに記述したコードはNode-REDの実行開始時\n// もしくは新しいフローのデプロイ時に一度だけ実行されます。\n", - "finalize": "// ここに記述したコードはノードの停止時\n// もしくは再デプロイ時に実行されます。\n" + "initialize": "// ここのコードはノードのデプロイ時に一度実行されます。\n", + "finalize": "// ここのコードはノードの停止もしくは再デプロイ時に実行されます。\n" }, "error": { "inputListener": "コード内で'input'イベントのリスナを設定できません",