1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Add comms back to RED interface

This commit is contained in:
Nick O'Leary 2014-05-08 16:55:08 +01:00
parent 7ecb80bf40
commit c99f0d895f

View File

@ -18,6 +18,7 @@ var events = require("./events");
var server = require("./server"); var server = require("./server");
var nodes = require("./nodes"); var nodes = require("./nodes");
var library = require("./library"); var library = require("./library");
var comms = require("./comms");
var log = require("./log"); var log = require("./log");
var fs = require("fs"); var fs = require("fs");
var settings = null; var settings = null;
@ -51,7 +52,8 @@ var RED = {
nodes: nodes, nodes: nodes,
library: library, library: library,
events: events, events: events,
log: log log: log,
comms:comms
}; };
RED.__defineGetter__("app", function() { console.log("Deprecated use of RED.app - use RED.httpAdmin instead"); return server.app }); RED.__defineGetter__("app", function() { console.log("Deprecated use of RED.app - use RED.httpAdmin instead"); return server.app });