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

Add RED._debug

This commit is contained in:
Nick O'Leary 2014-05-13 00:00:17 +01:00
parent b29e434449
commit 59eccb116a

View File

@ -116,6 +116,13 @@
var messageCount = 0; var messageCount = 0;
RED._debug = function(msg) {
handleDebugMessage("",{
name:"debug",
msg:msg
});
}
var handleDebugMessage = function(t,o) { var handleDebugMessage = function(t,o) {
var msg = document.createElement("div"); var msg = document.createElement("div");
msg.onmouseover = function() { msg.onmouseover = function() {