<commit_before>;$(function(){

    //*subscribe start*/
    $('.subscribe input').click(function(){
        dao.ajax(
            '/subscribe',
            {
                channel:$(this).attr('name'),
                status:$(this).is(':checked')
            },
            function(){alert('Изменения подписки сохранены.')}
        )
    });
    // end subscribe


    $('.nav [lang_id] ').on( 'click', function (){
        console.log('ksdfhsdk');
        var lang_id = $(this).attr('lang_id');
        $.ajax({
            type: "POST",
            url: '/switch_lang',
            data: { lang_id: lang_id },
            dataType: "json",
            success: function(data){
                if (data.result == 'ok'){
    //								 setTimeout(function () {window.location.reload()}, 5000);
                     setTimeout(function () {window.location.reload()}, 250);
                }
            }
        });
});

});

    //*comments*/




function reset_ang(){
    var customInterpolationApp = angular.module('customInterpolationApp', []);
    customInterpolationApp.config(function($interpolateProvider) {
        $interpolateProvider.startSymbol('//');
        $interpolateProvider.endSymbol('//');
    });<commit_msg>webgl<commit_after>;$(function(){
    //*subscribe start*/
    $('.subscribe input').click(function(){
        dao.ajax(
            '/subscribe',
            {
                channel:$(this).attr('name'),
                status:$(this).is(':checked')
            },
            function(){alert('Изменения подписки сохранены.')}
        )
    });
    // end subscribe
    $('.nav [lang_id] ').on( 'click', function (){
        console.log('ksdfhsdk');
        var lang_id = $(this).attr('lang_id');
        $.ajax({
            type: "POST",
            url: '/switch_lang',
            data: { lang_id: lang_id },
            dataType: "json",
            success: function(data){
                if (data.result == 'ok'){
    //								 setTimeout(function () {window.location.reload()}, 5000);
                     setTimeout(function () {window.location.reload()}, 250);
                }
            }
        });
    });
});

function show_d(text){
    var dialog =$(
    "<div class='modal fade' tabindex='-1' role='dialog' style='margin-top:60px;'>" +
        "<div class='modal-dialog'>"+
            "<div class='modal-content' style='min-height:150px;'>"+
                "<div class='modal-body' style='padding:30px;'>" +
                    "<button type='button' class='close' data-dismiss='modal' aria-label='Close'><span aria-hidden='true'>&times;</span></button>"+
                    "<p style='font-weight:bold; color:grey;'> "+text+"</p>" +
                "</div>" +
            "</div>"+
        "</div>"+
    "</div>").appendTo('body');
    dialog.modal('show');
}




function reset_ang(){
    var customInterpolationApp = angular.module('customInterpolationApp', []);
    customInterpolationApp.config(function($interpolateProvider) {
        $interpolateProvider.startSymbol('//');
        $interpolateProvider.endSymbol('//');
    });
{'fraction_non_alphanumeric': 0.18863049095607234, 'fraction_numerical': 0.0071059431524547806, 'mean_word_length': 1.9467174119885824, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 17, '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': '228935', 'n_tokens_mistral': 933, 'n_tokens_neox': 890, 'n_words': 138}