mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
10 lines
291 B
JavaScript
10 lines
291 B
JavaScript
|
module.exports = function(RED) {
|
||
|
console.log("Loaded test-plugin/test-runtime-plugin")
|
||
|
|
||
|
RED.plugins.registerPlugin("my-test-runtime-only-plugin", {
|
||
|
type: "bar",
|
||
|
onadd: function() {
|
||
|
console.log("my-test-runtime-only-plugin.onadd called")
|
||
|
}
|
||
|
})
|
||
|
}
|