mirror of
https://github.com/node-red/node-red-nodes.git
synced 2023-10-10 13:36:58 +02:00
parent
a893affbf4
commit
8d77028b4a
@ -2,7 +2,7 @@
|
|||||||
module.exports = function(RED) {
|
module.exports = function(RED) {
|
||||||
"use strict";
|
"use strict";
|
||||||
var wol = require('wake_on_lan');
|
var wol = require('wake_on_lan');
|
||||||
var chk = /^([0-9A-F]{2}[:-]){5}([0-9A-F]{2})$/;
|
var chk = /^([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})$/;
|
||||||
|
|
||||||
function WOLnode(n) {
|
function WOLnode(n) {
|
||||||
RED.nodes.createNode(this,n);
|
RED.nodes.createNode(this,n);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user