Neuter debug output

This commit is contained in:
David Zeuthen 2010-12-20 11:58:56 -05:00
parent 137ea12109
commit 1d5cce679a

View File

@ -558,15 +558,15 @@ EventsList.prototype = {
_getTasks: function(begin, end) { _getTasks: function(begin, end) {
let result = []; let result = [];
log('begin:' + begin); //log('begin:' + begin);
log('end: ' + end); //log('end: ' + end);
for(let n = 0; n < this.tasks.length; n++) { for(let n = 0; n < this.tasks.length; n++) {
let task = this.tasks[n]; let task = this.tasks[n];
if (task.date >= begin && task.date <= end) { if (task.date >= begin && task.date <= end) {
result.push(task); result.push(task);
} }
log('when:' + task.date + ' summary:' + task.summary); //log('when:' + task.date + ' summary:' + task.summary);
} }
return result; return result;