<commit_before>var iris = angular.module("irisApp");

iris.controller("navCtrl", [
"$scope", "$window", "$route", "$location", "$log", "sharedService", "navService",
"projectService", "helpService", "sessionService", "imageService", "breadcrumbs", "hotkeys",
        function($scope, $window, $route, $location, $log, sharedService, navService,
		projectService, helpService, sessionService, imageService, breadcrumbs, hotkeys) {
	$log.debug("navCtrl");
	
	$scope.breadcrumbs = breadcrumbs;
	
	// enable session refresh button
	$scope.blockSessionRefresh = false;

	// navigation active tab controller
	$scope.isActive = function(viewLocation) {
		// $log.debug($location.path())

		// full match
		if ($location.path() === viewLocation) {
			return true;
		}
		// partial (suffix) match
		else if (sharedService.strEndsWith($location.path(), viewLocation)) {
			return true;
		}
		// partial (suffix) match
		else if (sharedService.strContains($location.path(), viewLocation)) {<commit_msg>fixed bug in hotkeys<commit_after>var iris = angular.module("irisApp");

iris.controller("navCtrl", [
"$scope", "$window", "$route", "$location", "$log", "sharedService", "navService",
"projectService", "helpService", "sessionService", "imageService", "breadcrumbs",
        function($scope, $window, $route, $location, $log, sharedService, navService,
		projectService, helpService, sessionService, imageService, breadcrumbs) {
	$log.debug("navCtrl");
	
	$scope.breadcrumbs = breadcrumbs;
	
	// enable session refresh button
	$scope.blockSessionRefresh = false;

	// navigation active tab controller
	$scope.isActive = function(viewLocation) {
		// $log.debug($location.path())

		// full match
		if ($location.path() === viewLocation) {
			return true;
		}
		// partial (suffix) match
		else if (sharedService.strEndsWith($location.path(), viewLocation)) {
			return true;
		}
		// partial (suffix) match
		else if (sharedService.strContains($location.path(), viewLocation)) {
{'fraction_non_alphanumeric': 0.16150330116810563, 'fraction_numerical': 0.0, 'mean_word_length': 5.15625, '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': '393639', 'n_tokens_mistral': 624, 'n_tokens_neox': 589, 'n_words': 139}