Skip to content

Commit

Permalink
reduce amount of console logging.
Browse files Browse the repository at this point in the history
  • Loading branch information
nojronatron committed Jul 25, 2023
1 parent e314c9c commit d5a139b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Bigfoot-Bib-Report-Initial.html
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@
const prevTime = previousItem.time || 'none';
const prevDOM = previousItem.dayOfMonth || 'none';
const prevMsgNum = previousItem.messageNumber || 'none';
console.log('previousItem:',previousItem);
// console.log('previousItem:',previousItem);
console.log('previous Runner, Action, Time, DOM, MsgNum',prevRunner,prevAction,prevTime,prevDOM,prevMsgNum);
const previousRecordString = `#${previousItem.runner}, ${previousItem.action}, ${previousItem.time}, D:${previousItem.dayOfMonth}, M#${previousItem.messageNumber}`;
document.getElementById('endOfPriorBatch').value = previousRecordString;
Expand Down Expand Up @@ -415,7 +415,7 @@

function saveTextAsFile() {
var textToWrite = document.getElementById('parseme').value; // missing JSON.parse?
console.log('data copied from hidden element before saving to disk', document.getElementById('parseme').value);
// console.log('data copied from hidden element before saving to disk', document.getElementById('parseme').value);
var fileNameToSaveAs = 'Bigfoot Bib Data ' + DateforFile() + '.txt';
fileNameToSaveAs = prompt('', fileNameToSaveAs);

Expand Down Expand Up @@ -512,7 +512,7 @@
previousRecord,
});

console.log('formObject to be stored in hidden element', formObject);
// console.log('formObject to be stored in hidden element', formObject);
document.getElementById('parseme').value = formObject;
}

Expand Down Expand Up @@ -543,7 +543,7 @@
} else {
console.log('i did not match previousRecord, it is actually:', i);
}
console.log('i:', i);
// console.log('i:', i);
} catch (err) {
console.log('error in previousRecord block:', err);
console.log('continuing...');
Expand Down Expand Up @@ -604,7 +604,7 @@
}

window.onload = function () {
const formVersion = '1.0.6';
const formVersion = '1.1.6';
localStorage.setItem('BFVersion', formVersion);
document.getElementById('thisVersion').innerText=`Version ${formVersion}`;
document.getElementById('Theversion').value = formVersion;
Expand Down Expand Up @@ -632,7 +632,7 @@

fileReader.onload = function (e) {
document.getElementById('parseme').value = fileReader.result; // missing JSON.parse?
console.log('json parsed data stored in hidden element', document.getElementById('parseme').value);
// console.log('json parsed data stored in hidden element', document.getElementById('parseme').value);
populateForm();
};
fileReader.readAsText(fileTobeRead);
Expand Down

0 comments on commit d5a139b

Please sign in to comment.