Removing all those console.log's

This commit is contained in:
Víðir Valberg Guðmundsson 2017-04-21 01:37:43 +02:00
parent 9071a9c524
commit e36eb17ac8

View file

@ -62,7 +62,6 @@ webSocketBridge.listen(function(payload, stream) {
} }
if(payload['action'] == 'init') { if(payload['action'] == 'init') {
EVENT_INSTANCES = payload['event_instances']; EVENT_INSTANCES = payload['event_instances'];
console.log(EVENT_INSTANCES);
DAYS = payload['days']; DAYS = payload['days'];
render_schedule([], []); render_schedule([], []);
} }
@ -139,9 +138,6 @@ function get_instances(types, locations) {
if(types.length != 0) { if(types.length != 0) {
event_instances = event_instances.filter( event_instances = event_instances.filter(
function(event_instance) { function(event_instance) {
console.log(event_instance['event_type']);
console.log(types);
console.log(event_instance['event_type'] in types);
return types.includes(event_instance['event_type']); return types.includes(event_instance['event_type']);
} }
); );