<commit_before>taiga = @.taiga
module = angular.module("taigaProject")

class ProjectNavController extends taiga.Controller
    @.$inject = ["$rootScope"]

    constructor: (@rootscope) ->

    newProject: ->
        @rootscope.$broadcast("projects:create")

module.controller("ProjectNavController", ProjectNavController)

class ProjectsController extends taiga.Controller
    @.$inject = ["$scope", "$tgResources", "$rootScope", "$tgNavUrls"]

    constructor: (@scope, @rs, @rootscope, @navurls) ->
        @scope.hideMenu = true<commit_msg>fix #341<commit_after>taiga = @.taiga
module = angular.module("taigaProject")

class ProjectNavController extends taiga.Controller
    @.$inject = ["$rootScope"]

    constructor: (@rootscope) ->

    newProject: ->
        @rootscope.$broadcast("projects:create")

module.controller("ProjectNavController", ProjectNavController)

class ProjectsController extends taiga.Controller
    @.$inject = ["$scope", "$tgResources", "$rootScope", "$tgNavUrls", "$tgAuth", "$location"]

    constructor: (@scope, @rs, @rootscope, @navurls, $auth, $location) ->
        if !$auth.isAuthenticated()
            $location.path("/login")

        @scope.hideMenu = true
{'fraction_non_alphanumeric': 0.15763135946622187, 'fraction_numerical': 0.0025020850708924102, 'mean_word_length': 4.47945205479452, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, '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': '6873747', 'n_tokens_mistral': 352, 'n_tokens_neox': 342, 'n_words': 71}