<commit_before>var TradingTimesWS = (function() {
    "use strict";

    var $date      = $('#trading-date');
    var $container = $('#trading-times');
    var columns    = ['Asset', 'Opens', 'Closes', 'Settles', 'UpcomingEvents'];
    var activeSymbols, 
        tradingTimes;


    var init = function() {
        showLoadingImage($container);
        BinarySocket.send({"active_symbols": "brief"});
        sendRequest('today');

        $date.val(moment.utc(new Date()).format('YYYY-MM-DD'));
        $date.datepicker({minDate: 0, maxDate: '+1y', dateFormat: 'yy-mm-dd', autoSize: true});
        $date.change(function() {
            $container.empty();
            showLoadingImage($container);
            sendRequest();<commit_msg>fix trading times ws on pjax menu change<commit_after>var TradingTimesWS = (function() {
    "use strict";

    var $date,
        $container;

    var columns,
        activeSymbols, 
        tradingTimes;


    var init = function() {
        $date      = $('#trading-date');
        $container = $('#trading-times');
        columns    = ['Asset', 'Opens', 'Closes', 'Settles', 'UpcomingEvents'];
        showLoadingImage($container);
        BinarySocket.send({"active_symbols": "brief"});
        sendRequest('today');

        $date.val(moment.utc(new Date()).format('YYYY-MM-DD'));
        $date.datepicker({minDate: 0, maxDate: '+1y', dateFormat: 'yy-mm-dd', autoSize: true});
        $date.change(function() {
            $container.empty();
            showLoadingImage($container);
            sendRequest();
{'fraction_non_alphanumeric': 0.17137355584082156, 'fraction_numerical': 0.0025673940949935813, 'mean_word_length': 2.67688679245283, 'pattern_counts': {'":': 2, '<': 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': '1459180', 'n_tokens_mistral': 475, 'n_tokens_neox': 450, 'n_words': 91}