Skip to content

Commit

Permalink
update caption.js - remove console.logs
Browse files Browse the repository at this point in the history
  • Loading branch information
maboa committed Aug 2, 2022
1 parent 737b0b2 commit 2f49d3d
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions wp-hyperaudio/js/caption.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,6 @@ var caption = function () {
var data = {};
data.segments = [];

console.log(words.length);

console.log(words[0].innerText);
console.log(words[1].innerText);
console.log(words[2].innerText);
console.log(words[3].innerText);

function segmentMeta(speaker, start, duration, chars) {
this.speaker = speaker;
this.start = start;
Expand Down Expand Up @@ -72,16 +65,6 @@ var caption = function () {
var lastSpeaker = '';

words.forEach(function (word, i) {


for (var key in word) {
if (word.hasOwnProperty(key)) {
console.log(key);
}
}

console.log("word.innerText = ");
console.log(word.innerText);
if (thisSegmentMeta === null) {
// create segment meta object
thisSegmentMeta = new segmentMeta('', null, 0, 0, 0);
Expand Down Expand Up @@ -124,7 +107,6 @@ var caption = function () {
//console.log("thisDuration = " + thisDuration);

var thisText = word.innerText;
console.log(thisText);

thisWordMeta = new wordMeta(thisStart, thisDuration, thisText);

Expand Down Expand Up @@ -346,4 +328,3 @@ var caption = function () {

return cap;
};

0 comments on commit 2f49d3d

Please sign in to comment.