mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
update inspect to come from correct package (util)
(works from v0.10 onwards - but now deprecated in v4)
This commit is contained in:
parent
8abd0b1fdf
commit
6d84b1bb8d
@ -17,7 +17,7 @@
|
|||||||
module.exports = function(RED) {
|
module.exports = function(RED) {
|
||||||
"use strict";
|
"use strict";
|
||||||
var ws = require("ws");
|
var ws = require("ws");
|
||||||
var inspect = require("sys").inspect;
|
var inspect = require("util").inspect;
|
||||||
|
|
||||||
// A node red node that sets up a local websocket server
|
// A node red node that sets up a local websocket server
|
||||||
function WebSocketListenerNode(n) {
|
function WebSocketListenerNode(n) {
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
var util = require("util");
|
var util = require("util");
|
||||||
var mqtt = require("mqtt");
|
var mqtt = require("mqtt");
|
||||||
var events = require("events");
|
var events = require("events");
|
||||||
//var inspect = require("sys").inspect;
|
//var inspect = require("util").inspect;
|
||||||
|
|
||||||
//var Client = module.exports.Client = function(
|
//var Client = module.exports.Client = function(
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user