<commit_before>chromeMyAdmin.controller("ProceduresFunctionsPanelController"
,
function($scope,
         mySQLClientService,
         modeService,
         targetObjectService,
         UIConstants,
         Modes,
         Events,
         mySQLQueryService,
         Templates,
         routineSelectionService,
         $q,
         anyQueryExecuteService
        ) {
    "use strict";

    var initializeRoutinesGrid = function() {
        resetRoutinesGrid();
        $scope.routinesGrid = {
            data: "routinesData",
            columnDefs: "routinesColumnDefs",
            enableColumnResize: true,
            enableSorting: false,
            multiSelect: false,
            selectedItems: $scope.selectedRoutines,
            afterSelectionChange: function(rowItem, event) {
                if (rowItem.selected) {
                    routineSelectionService.setSelectedRoutine(rowItem);
                } else {
                    routineSelectionService.reset();
                }
            },
            headerRowHeight: UIConstants.GRID_ROW_HEIGHT,
            rowHeight: UIConstants.GRID_ROW_HEIGHT
        };
    };

    var resetRoutinesGrid = function() {
        $scope.routinesColumnDefs = [];<commit_msg>fix to follow the coding style as the other files<commit_after>chromeMyAdmin.controller("ProceduresFunctionsPanelController", function(
    $scope,
    mySQLClientService,
    modeService,
    targetObjectService,
    UIConstants,
    Modes,
    Events,
    mySQLQueryService,
    Templates,
    routineSelectionService,
    $q,
    anyQueryExecuteService
) {
    "use strict";

    var initializeRoutinesGrid = function() {
        resetRoutinesGrid();
        $scope.routinesGrid = {
            data: "routinesData",
            columnDefs: "routinesColumnDefs",
            enableColumnResize: true,
            enableSorting: false,
            multiSelect: false,
            selectedItems: $scope.selectedRoutines,
            afterSelectionChange: function(rowItem, event) {
                if (rowItem.selected) {
                    routineSelectionService.setSelectedRoutine(rowItem);
                } else {
                    routineSelectionService.reset();
                }
            },
            headerRowHeight: UIConstants.GRID_ROW_HEIGHT,
            rowHeight: UIConstants.GRID_ROW_HEIGHT
        };
    };

    var resetRoutinesGrid = function() {
        $scope.routinesColumnDefs = [];
{'fraction_non_alphanumeric': 0.07908683245006115, 'fraction_numerical': 0.0, 'mean_word_length': 1.9530685920577617, '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': '4265484', 'n_tokens_mistral': 643, 'n_tokens_neox': 620, 'n_words': 106}