<commit_before>import {Directive, ElementRef} from 'angular2/angular2';

/**
 * Simple directive to add class active on a LI element when
 * it's A child element is clicked. Active class is removed
 * form all other LI element.
 * Follow the same principle as nav's in Bootstrap.
 *
 * @Example:
 * 	<ul set-active>
 * 		<li class="active">
 * 			<a href="a1">link 1</a>
 * 		</li>
 * 		<li>
 * 			<a href="a">link 2</a>
 * 		</li>
 * 	</ul><commit_msg>Correct comments<commit_after>import {Directive, ElementRef} from 'angular2/angular2';

/**
 * Simple directive to add class active on a LI element when
 * its A child element is clicked. Active class is removed
 * from all other LI element.
 * Follow the same principle as nav's in Bootstrap.
 *
 * TODO: Add onload set-active (childs routes nned to work correctly for that).
 *
 * @Example:
 * 	<ul set-active>
 * 		<li class="active">
 * 			<a href="a1">link 1</a>
 * 		</li>
 * 		<li>
 * 			<a href="a">link 2</a>
 * 		</li>
 * 	</ul>
{'fraction_non_alphanumeric': 0.14530776992936428, 'fraction_numerical': 0.010090817356205853, 'mean_word_length': 3.1333333333333333, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 23, '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': '3281049', 'n_tokens_mistral': 372, 'n_tokens_neox': 347, 'n_words': 120}