<commit_before>Application.Controllers.controller('toolbar', ["$scope", function ($scope) {
    $scope.showDrafts = false;
}]);


Application.Controllers.controller('navigation', ["$scope", "$location", function ($scope, $location) {
    $scope.isCurrentPath = function (path) {
        var cur_path = $location.path().substr(0, path.length);
        if (cur_path === path) {
            if (!($location.path().substr(0).length > 1 && path.length === 1)) {
                return "active";
            }
        } else {
            console.log('yes')
            return "";
        }
    };
}]);





<commit_msg>removed console<commit_after>Application.Controllers.controller('toolbar', ["$scope", function ($scope) {
    $scope.showDrafts = false;
}]);


Application.Controllers.controller('navigation', ["$scope", "$location", function ($scope, $location) {
    $scope.isCurrentPath = function (path) {
        var cur_path = $location.path().substr(0, path.length);
        if (cur_path === path) {
            if (!($location.path().substr(0).length > 1 && path.length === 1)) {
                return "active";
            }
        } else {
            return "";
        }
    };
}]);






{'fraction_non_alphanumeric': 0.18265221017514596, 'fraction_numerical': 0.006672226855713094, 'mean_word_length': 2.4285714285714284, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '6958453', 'n_tokens_mistral': 356, 'n_tokens_neox': 344, 'n_words': 64}