<commit_before>var baseController = {
	$ready : function() {
		
	},
	changeSelection : function(key) {
		if (editToolbar) {
			editToolbar.setSelection(key);
		}
		if (analyseToolbar) {
			analyseToolbar.setSelection(key);
		}
		if (setupToolbar) {
			setupToolbar.setSelection(key);
		}
	},
	goPublish : function() {
		dock.setUrl('Services/Publish/?close=../../Services/Start/');
	}
}
hui.ui.listen(baseController);<commit_msg>Fixed problem with bottom toolbar<commit_after>var baseController = {
	$ready : function() {
		
	},
	changeSelection : function(key) {
		if (window['editToolbar']) {
			editToolbar.setSelection(key);
		}
		if (window['analyseToolbar']) {
			analyseToolbar.setSelection(key);
		}
		if (window['setupToolbar']) {
			setupToolbar.setSelection(key);
		}
	},
	goPublish : function() {
		dock.setUrl('Services/Publish/?close=../../Services/Start/');
	}
}
hui.ui.listen(baseController);
{'fraction_non_alphanumeric': 0.1696035242290749, 'fraction_numerical': 0.0, 'mean_word_length': 4.254335260115607, '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': '3044866', 'n_tokens_mistral': 340, 'n_tokens_neox': 316, 'n_words': 41}