From aec997265fcaa5b10d7b9cfd5a96f4f6a2b0edfe Mon Sep 17 00:00:00 2001 From: al66 Date: Fri, 26 May 2017 14:17:19 +0200 Subject: [PATCH] Delete console.log --- lib/cond.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/cond.js b/lib/cond.js index c29f566..596711c 100644 --- a/lib/cond.js +++ b/lib/cond.js @@ -119,7 +119,6 @@ var evalCond = function( tokens, cond ) { }; var convertDate = function(dateString) { - console.log('start parse:', dateString); let d = null; // convert european date format dd.mm.yyyy to yyyy/mm/dd if (dateString.match(/^\d{1,2}\.\d{1,2}\.\d{4}$/)) { @@ -137,7 +136,6 @@ var convertDate = function(dateString) { d = d.concat().join('/'); }; if (!d) d = dateString; - console.log('parse:', d); return Date.parse(d); }; @@ -151,7 +149,6 @@ var compiler = function( condStr) { while (tokens && tokens.length>0) { evalCond(tokens, cond); }; - console.log('cond:', cond); return cond; }; @@ -174,7 +171,6 @@ var check = function(data, cond) { if (single.date) { value = convertDate(data); } - console.log(value, single.low, single.high); switch (single.method) { case 'EQ': return value == single.low;