<commit_before>Template.navbar.events({
	'click #logout-link': function(e) {
		e.preventDefault();
		Meteor.logout(function() {
			Meteor.Router.homePath();
			$('html,body').scrollTop(0);
		});
	}
});<commit_msg>Added flash message on log out<commit_after>Template.navbar.events({
	'click #logout-link': function(e) {
		e.preventDefault();
		Meteor.logout(function() {
			Meteor.Router.homePath();
			FlashMessages.sendSuccess("Successfully Logged Out!", { autoHide: true, hideDelay: 5000})
			$('html,body').scrollTop(0);
		});
	}
});
{'fraction_non_alphanumeric': 0.19402985074626866, 'fraction_numerical': 0.011194029850746268, 'mean_word_length': 5.244186046511628, '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': '2245402', 'n_tokens_mistral': 213, 'n_tokens_neox': 187, 'n_words': 28}