<commit_before>/**
 * Returns a new input guard.
 * 
 * A input guard guards an input node that is associated to a set of other input nodes.
 * If all of the associated input nodes are empty, i. e. there's no
 * input in them, the guarded input is disabled. Otherwise it is enabled.
 *
 * @param  {Function} $				The jQuery function object
 * @param  {jQuery}   btn_node 		The input node
 * @param  {jQUery}   assoc_nodes	The associated input node set
 */
function get_input_guard($, btn_node, assoc_nodes) {
	/**
	 * Input helper.
	 *
	 * Calls given callbacks when an input is
	 * edited or cleared.
	 *
	 * @param {Function} cb_is_empty 	 Called with the input nodes. Returns true if nodes are empty.
	 * @param {string} 	 event_name 	 Name of the event to listen for
	 */
	function _Input_helper(cb_is_empty, event_name) {
		this._nodes = {
			/**
			 * The input node set that is being listened to
			 * @type {jQuery}
			 */
			inputs : null
		};

		this._event_name = event_name;<commit_msg>Doc fixes<commit_after>/**
 * Returns a new input guard.
 * 
 * An input guard guards an input node that is associated with a set of other input nodes.
 * If all of the associated input nodes are empty, i. e. there's no
 * input in them, the guarded input is disabled. Otherwise it is enabled.
 *
 * @param  {Function} $			The jQuery function object
 * @param  {jQuery}   btn_node 		The input node
 * @param  {jQUery}   assoc_nodes	The associated input node set
 */
function get_input_guard($, btn_node, assoc_nodes) {
	/**
	 * Input helper.
	 *
	 * Calls given callbacks when an input is
	 * edited or cleared.
	 *
	 * @param {Function} cb_is_empty 	 Called with the input nodes. Returns true if nodes are empty.
	 * @param {string}   event_name 	 Name of the event to listen for
	 */
	function _Input_helper(cb_is_empty, event_name) {
		this._nodes = {
			/**
			 * The input node set that is being listened to
			 * @type {jQuery}
			 */
			inputs : null
		};

		this._event_name = event_name;
{'fraction_non_alphanumeric': 0.08726178535606821, 'fraction_numerical': 0.0, 'mean_word_length': 3.0303030303030303, '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': '2303576', 'n_tokens_mistral': 663, 'n_tokens_neox': 592, 'n_words': 254}