mirror of
https://github.com/skylord123/node-red-contrib-gamedig.git
synced 2025-07-01 08:01:16 -06:00
- Remove console.log debug lines
This commit is contained in:
parent
c0c40910ae
commit
12d4a40cf4
@ -36,7 +36,6 @@
|
|||||||
},
|
},
|
||||||
oneditprepare: function() {
|
oneditprepare: function() {
|
||||||
let server_types = null;
|
let server_types = null;
|
||||||
console.log("THIS:", this);
|
|
||||||
if(typeof this.strip_colors === "undefined") {
|
if(typeof this.strip_colors === "undefined") {
|
||||||
this.strip_colors = true;
|
this.strip_colors = true;
|
||||||
$("#node-input-strip_colors").prop('checked', true);
|
$("#node-input-strip_colors").prop('checked', true);
|
||||||
|
@ -95,9 +95,7 @@ module.exports = function(RED) {
|
|||||||
msg.payload = 'online';
|
msg.payload = 'online';
|
||||||
// GameDig returns Results, Players, and Player objects that we need to convert
|
// GameDig returns Results, Players, and Player objects that we need to convert
|
||||||
// to standard Array/Object instances so that Node-RED doesn't error
|
// to standard Array/Object instances so that Node-RED doesn't error
|
||||||
console.log("RESULT", state);
|
|
||||||
msg.data = deepCloneToPlain(state);
|
msg.data = deepCloneToPlain(state);
|
||||||
console.log("FORMATTED", msg.data);
|
|
||||||
|
|
||||||
if (msg.payload === node.halt_if) {
|
if (msg.payload === node.halt_if) {
|
||||||
return null;
|
return null;
|
||||||
@ -131,7 +129,6 @@ module.exports = function(RED) {
|
|||||||
"/gamedig/types",
|
"/gamedig/types",
|
||||||
RED.auth.needsPermission('flows.write'),
|
RED.auth.needsPermission('flows.write'),
|
||||||
function(req, res) {
|
function(req, res) {
|
||||||
console.log(games);
|
|
||||||
let server_types = Object.keys(games).map(gameKey => {
|
let server_types = Object.keys(games).map(gameKey => {
|
||||||
let game = games[gameKey];
|
let game = games[gameKey];
|
||||||
game["type"] = gameKey;
|
game["type"] = gameKey;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user