<commit_before>$( document ).ready(function() {
	/*load_tables();

	get_states();

	$( "#states" ).on('change', function() {
  		display_cities( $(this).val() );
  	});

	$( "#house_part" ).on('change', function() {
  		get_materials();
  	});*/

});

function get_states(){
	Dajaxice.nom.get_states( Dajax.process )
}

function display_cities(edo){
	Dajaxice.nom.update_city( Dajax.process, {'option':edo} )
}

/*function send_form(){
    Dajaxice.nom.send_form(Dajax.process,{'form':$('#data_form').serialize(true)});
}*/

function calculate(){
	Dajaxice.nom.multiply(Dajax.process,{'a':$('#a').val(),'b':$('#b').val()})
}

function get_materials(){
	//alert( $('#house_part').val() );
	alert('si');
	//Dajaxice.nom.get_materials( Dajax.process, {'house_part:':$('#house_part').val()} )
}

function load_tables(){
	$('.footable').footable();
}

function submit_material(){
	h_part = $('#house_part').val();
	ubication = $('#ubication').val();
	material = $('#material').val();
	area = $('#area').val();
	Dajaxice.nom.submit_material( Dajax.process,{ 'h_part':h_part, 'ubication':ubication, 'material':material, 'area'area } )
}<commit_msg>error<commit_after>$( document ).ready(function() {
	alert('si');
	load_tables();

	$( "#id_state" ).on('change', function() {
		display_cities( $(this).val() );
	});

	/*$( "#house_part" ).on('change', function() {
		get_materials();
	});*/

});

function display_cities(edo){
	alert(edo);
	//Dajaxice.nom.update_city( Dajax.process, {'option':edo} )
}

/*function send_form(){
    Dajaxice.nom.send_form(Dajax.process,{'form':$('#data_form').serialize(true)});
}*/

function calculate(){
	Dajaxice.nom.multiply(Dajax.process,{'a':$('#a').val(),'b':$('#b').val()})
}

function get_materials(){
	//alert( $('#house_part').val() );
	//Dajaxice.nom.get_materials( Dajax.process, {'house_part:':$('#house_part').val()} )
}

function load_tables(){
	$('.footable').footable();
}

function submit_material(){
	h_part = $('#house_part').val();
	ubication = $('#ubication').val();
	material = $('#material').val();
	area = $('#area').val();
	Dajaxice.nom.submit_material( Dajax.process,{ 'h_part':h_part, 'ubication':ubication, 'material':material, 'area'area } )
}
{'fraction_non_alphanumeric': 0.2605729877216917, 'fraction_numerical': 0.0, 'mean_word_length': 5.94006309148265, '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': '3691644', 'n_tokens_mistral': 807, 'n_tokens_neox': 800, 'n_words': 108}