diff --git a/wp-hyperaudio/js/caption.js b/wp-hyperaudio/js/caption.js index 4b73bb3..0f69da3 100644 --- a/wp-hyperaudio/js/caption.js +++ b/wp-hyperaudio/js/caption.js @@ -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; @@ -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); @@ -124,7 +107,6 @@ var caption = function () { //console.log("thisDuration = " + thisDuration); var thisText = word.innerText; - console.log(thisText); thisWordMeta = new wordMeta(thisStart, thisDuration, thisText); @@ -346,4 +328,3 @@ var caption = function () { return cap; }; -