<commit_before>// jQuery Plugin
(function( w, $ ) {
	"use strict";

	function cleanup( el ) {
		var $t = $( el );
		$t.val( $t.val().replace( /^1/, "" ) );
	}

	$( document ).bind( "politespace-init politespace-input", function( event ) {
		var $t = $( event.target );
		if( !$t.is( "[data-politespace-us-telephone]" ) ) {
			return;
		}
		var val = $t.val();

		// Adjust maxlength<commit_msg>Fixes #38<commit_after>// jQuery Plugin
(function( w, $ ) {
	"use strict";

	function cleanup( el ) {
		var $t = $( el );
		$t.val( $t.val().replace( /[^\d]*/g, "" ).replace( /^1/, "" ) );
	}

	$( document ).bind( "politespace-init politespace-input", function( event ) {
		var $t = $( event.target );
		if( !$t.is( "[data-politespace-us-telephone]" ) ) {
			return;
		}
		var val = $t.val();

		// Adjust maxlength
{'fraction_non_alphanumeric': 0.2323856613102596, 'fraction_numerical': 0.004944375772558714, 'mean_word_length': 2.9130434782608696, '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': '7297324', 'n_tokens_mistral': 347, 'n_tokens_neox': 315, 'n_words': 70}