mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
add comment to main.js - how to enable auto clear of debug on deploy
This commit is contained in:
parent
fc679adefb
commit
5bf9819bd1
@ -42,9 +42,9 @@ var RED = (function() {
|
||||
event.preventDefault();
|
||||
});
|
||||
|
||||
|
||||
function save(force) {
|
||||
if (RED.view.dirty()) {
|
||||
//$("#debug-tab-clear").click(); // uncomment this to auto clear debug on deploy
|
||||
|
||||
if (!force) {
|
||||
var invalid = false;
|
||||
@ -148,6 +148,7 @@ var RED = (function() {
|
||||
loadNodes();
|
||||
});
|
||||
}
|
||||
|
||||
function loadNodes() {
|
||||
$.get('nodes', function(data) {
|
||||
$("body").append(data);
|
||||
@ -253,7 +254,6 @@ var RED = (function() {
|
||||
]
|
||||
});
|
||||
|
||||
|
||||
RED.keyboard.add(/* ? */ 191,{shift:true},function(){showHelp();d3.event.preventDefault();});
|
||||
loadSettings();
|
||||
RED.comms.connect();
|
||||
|
Loading…
Reference in New Issue
Block a user