<commit_before>var wsRealtime = {
    init: function (server, port, timeline) {
console.log('subbing to ' + timeline);
        var conn = new ab.Session(
            'ws://' + server + ':' + port,
            function () { // Connect
                conn.subscribe(timeline, function (path, data) {
                    console.log('New article published to category "' + path + '" : ' + JSON.stringify(data));
                    RealtimeUpdate.receive(data);
                });
            },
            function () { // Connection closed
                console.warn('WebSocket connection closed');
            },
            { // Additional parameters, we're ignoring the WAMP sub-protocol for older browsers
                'skipSubprotocolCheck': true
            }
        );
    }
}
<commit_msg>Removes debugging statements<commit_after>var wsRealtime = {
    init: function (server, port, timeline) {
        var conn = new ab.Session(
            'ws://' + server + ':' + port,
            function () { // Connect
                conn.subscribe(timeline, function (path, data) {
                    RealtimeUpdate.receive(data);
                });
            },
            function () { // Connection closed
                console.warn('WebSocket connection closed');
            },
            { // Additional parameters, we're ignoring the WAMP sub-protocol for older browsers
                'skipSubprotocolCheck': true
            }
        );
    }
}

{'fraction_non_alphanumeric': 0.11676849966055669, 'fraction_numerical': 0.0, 'mean_word_length': 1.5370051635111877, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '5953188', 'n_tokens_mistral': 368, 'n_tokens_neox': 344, 'n_words': 90}