Skip to content

Commit 2f49d3d

Browse files
committed
update caption.js - remove console.logs
1 parent 737b0b2 commit 2f49d3d

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

wp-hyperaudio/js/caption.js

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,6 @@ var caption = function () {
2626
var data = {};
2727
data.segments = [];
2828

29-
console.log(words.length);
30-
31-
console.log(words[0].innerText);
32-
console.log(words[1].innerText);
33-
console.log(words[2].innerText);
34-
console.log(words[3].innerText);
35-
3629
function segmentMeta(speaker, start, duration, chars) {
3730
this.speaker = speaker;
3831
this.start = start;
@@ -72,16 +65,6 @@ var caption = function () {
7265
var lastSpeaker = '';
7366

7467
words.forEach(function (word, i) {
75-
76-
77-
for (var key in word) {
78-
if (word.hasOwnProperty(key)) {
79-
console.log(key);
80-
}
81-
}
82-
83-
console.log("word.innerText = ");
84-
console.log(word.innerText);
8568
if (thisSegmentMeta === null) {
8669
// create segment meta object
8770
thisSegmentMeta = new segmentMeta('', null, 0, 0, 0);
@@ -124,7 +107,6 @@ var caption = function () {
124107
//console.log("thisDuration = " + thisDuration);
125108

126109
var thisText = word.innerText;
127-
console.log(thisText);
128110

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

@@ -346,4 +328,3 @@ var caption = function () {
346328

347329
return cap;
348330
};
349-

0 commit comments

Comments
 (0)