Add RED._debug

This commit is contained in:
Nick O'Leary 2014-05-13 00:00:17 +01:00
parent b29e434449
commit 59eccb116a
1 changed files with 8 additions and 1 deletions

View File

@ -115,7 +115,14 @@
var sbc = document.getElementById("debug-content");
var messageCount = 0;
RED._debug = function(msg) {
handleDebugMessage("",{
name:"debug",
msg:msg
});
}
var handleDebugMessage = function(t,o) {
var msg = document.createElement("div");
msg.onmouseover = function() {