<commit_before>var SwaggerCtrl = function ($rootScope, $timeout) {

    $rootScope.loadSwagger = function (hash) {
        $("#swagger iframe").attr('src', '');
        var appendURL = "";
        if (hash) {
            appendURL = "/#!/" + hash;
        }
        $("#swagger").css('height', $(window).height()).css('width', '100%').show();

        $timeout(function () {
            $("#swagger iframe").css('height', $(window).height()).css('width', '100%').attr("src", CurrentServer + '/public/admin/swagger/' + appendURL).show();

        }, 1000);

        $(window).resize(function () {
            $('#swagger').css('height', $(window).height()).css('width', '100%').css('width', '100%');
            $("#swagger iframe").css('height', $(window).height()).css('width', '100%');
        });
    }
    $("#swagger").show();
};<commit_msg>hide swagger onload in services<commit_after>var SwaggerCtrl = function ($rootScope, $timeout, $scope) {

    $rootScope.loadSwagger = function (hash) {
        $("#swagger iframe").attr('src', '');
        var appendURL = "";
        if (hash) {
            appendURL = "/#!/" + hash;
        }
        $("#swagger").css('height', $(window).height()).css('width', '100%').show();

        $timeout(function () {
            $("#swagger iframe").css('height', $(window).height()).css('width', '100%').attr("src", CurrentServer + '/public/admin/swagger/' + appendURL).show();

        }, 1000);

        $(window).resize(function () {
            $('#swagger').css('height', $(window).height()).css('width', '100%').css('width', '100%');
            $("#swagger iframe").css('height', $(window).height()).css('width', '100%');
        });
    }
    if(!$scope.action){
        $("#swagger").show();
    }
};
{'fraction_non_alphanumeric': 0.2585616438356164, 'fraction_numerical': 0.021689497716894976, 'mean_word_length': 2.7861771058315337, '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': '4689191', 'n_tokens_mistral': 556, 'n_tokens_neox': 525, 'n_words': 82}