<commit_before>var Selected = function() {
    this.audio = document.getElementById('audio');
    this.lyricContainer = document.getElementById('lyricContainer');
    this.lyric = null;
};
Selected.prototype = {
    play: function() {
        var that = this;
        this.lyricContainer.style.top = '130px';
        this.lyric = null;
        this.audio.addEventListener('canplay', function() {
            that.getLyric("./api/?type=lrc");
        });
        that.getLyric("./api/?type=lrc");
        this.audio.addEventListener("timeupdate", function(e) {
            if (!that.lyric) return;
            for (var i = that.lyric.length - 1 ; i >= 0; i--) {
                if (this.currentTime > that.lyric[i][0] - 0.50) {
                    var line = document.getElementById('line-' + i),
                        prevLine = document.getElementById('line-' + (i > 0 ? i - 1 : i));<commit_msg>修正lrc歌词反复加载错误<commit_after>var Selected = function() {
    this.audio = document.getElementById('audio');
    this.lyricContainer = document.getElementById('lyricContainer');
    this.lyric = null;
};
Selected.prototype = {
    play: function() {
        var that = this;
        this.lyricContainer.style.top = '130px';
        this.lyric = null;
        that.getLyric("./api/?type=lrc");
        this.audio.addEventListener("timeupdate", function(e) {
            if (!that.lyric) return;
            for (var i = that.lyric.length - 1 ; i >= 0; i--) {
                if (this.currentTime > that.lyric[i][0] - 0.50) {
                    var line = document.getElementById('line-' + i),
                        prevLine = document.getElementById('line-' + (i > 0 ? i - 1 : i));
{'fraction_non_alphanumeric': 0.15792610250297973, 'fraction_numerical': 0.013110846245530394, 'mean_word_length': 2.144194756554307, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '438545', 'n_tokens_mistral': 529, 'n_tokens_neox': 504, 'n_words': 98}