mirror of
https://github.com/node-red/node-red-nodes.git
synced 2023-10-10 13:36:58 +02:00
set makeymakey node to use the module.exports style
This commit is contained in:
parent
232a11983b
commit
76d05dc2cd
@ -14,7 +14,8 @@
|
||||
* limitations under the License.
|
||||
**/
|
||||
|
||||
var RED = require(process.env.NODE_RED_HOME+"/red/red");
|
||||
module.exports = function(RED) {
|
||||
"use strict";
|
||||
var hids = require('hidstream');
|
||||
|
||||
function MakeyNode(n) {
|
||||
@ -82,3 +83,4 @@ function MakeyNode(n) {
|
||||
});
|
||||
}
|
||||
RED.nodes.registerType("makeymakey",MakeyNode);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user