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
@ -157,7 +157,6 @@
|
|||||||
this.finalizeEditor.moveCursorTo(count -1, 0);
|
this.finalizeEditor.moveCursorTo(count -1, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
RED.library.create({
|
RED.library.create({
|
||||||
url:"functions", // where to get the data from
|
url:"functions", // where to get the data from
|
||||||
type:"function", // the type of object the library is for
|
type:"function", // the type of object the library is for
|
||||||
@ -246,7 +245,6 @@
|
|||||||
})
|
})
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
},
|
},
|
||||||
oneditsave: function() {
|
oneditsave: function() {
|
||||||
var node = this;
|
var node = this;
|
||||||
|
@ -212,8 +212,8 @@
|
|||||||
"outputs": "Outputs"
|
"outputs": "Outputs"
|
||||||
},
|
},
|
||||||
"text": {
|
"text": {
|
||||||
"initialize": "// Code added here will be run once whenever Node-RED is started\n// or a new flow configuration is 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\n// or re-deployed.\n"
|
"finalize": "// Code added here will be run when the node is being stopped or re-deployed.\n"
|
||||||
},
|
},
|
||||||
"error": {
|
"error": {
|
||||||
"inputListener":"Cannot add listener to 'input' event within Function",
|
"inputListener":"Cannot add listener to 'input' event within Function",
|
||||||
|
@ -212,8 +212,8 @@
|
|||||||
"outputs": "出力数"
|
"outputs": "出力数"
|
||||||
},
|
},
|
||||||
"text": {
|
"text": {
|
||||||
"initialize": "// ここに記述したコードはNode-REDの実行開始時\n// もしくは新しいフローのデプロイ時に一度だけ実行されます。\n",
|
"initialize": "// ここのコードはノードのデプロイ時に一度実行されます。\n",
|
||||||
"finalize": "// ここに記述したコードはノードの停止時\n// もしくは再デプロイ時に実行されます。\n"
|
"finalize": "// ここのコードはノードの停止もしくは再デプロイ時に実行されます。\n"
|
||||||
},
|
},
|
||||||
"error": {
|
"error": {
|
||||||
"inputListener": "コード内で'input'イベントのリスナを設定できません",
|
"inputListener": "コード内で'input'イベントのリスナを設定できません",
|
||||||
|
Loading…
Reference in New Issue
Block a user