mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
update initial contents for setup & close code
This commit is contained in:
parent
5b197adf33
commit
a764a4a44b
@ -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() {
|
||||
|
@ -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",
|
||||
|
@ -212,8 +212,8 @@
|
||||
"outputs": "出力数"
|
||||
},
|
||||
"text": {
|
||||
"initialize": "// ここに記述したコードはNode-REDの実行開始時\n// もしくは新しいフローのデプロイ時に一度だけ実行されます。\n",
|
||||
"finalize": "// ここに記述したコードはノードの停止時\n// もしくは再デプロイ時に実行されます。\n"
|
||||
"initialize": "// ここのコードはノードのデプロイ時に一度実行されます。\n",
|
||||
"finalize": "// ここのコードはノードの停止もしくは再デプロイ時に実行されます。\n"
|
||||
},
|
||||
"error": {
|
||||
"inputListener": "コード内で'input'イベントのリスナを設定できません",
|
||||
|
Loading…
Reference in New Issue
Block a user