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:
parent
b29e434449
commit
59eccb116a
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user