<commit_before>/**
 *	Modal window
 *	@author 
 *	@Contructor
 *	@return An interface object
 */	
ui.Modal = function(conf){
	var that = ui.Floats(); // Inheritance
	if(conf.content.type == 'ajax') conf.content.data = $(conf.trigger).attr('href'); // Content from href/action		
	
	// Global configuration
	conf.closeButton = true;	
	conf.align = 'center';
	
	// Events
	$(conf.trigger).bind('click', function(event){ 
		ui.utils.dimmer.on();
		that.show(event, conf);
		
		//style conf, no me convence agregar aca los estilos pero sólo los necesita el modal
		$('.uiModal').addClass('box');		
	});
	
	return { show: function(event){ that.show(event, conf) }, hide: function(event){ that.hide(event, conf) }};
};<commit_msg>SDK fix modal styles<commit_after>/**
 *	Modal window
 *	@author 
 *	@Contructor
 *	@return An interface object
 */	
ui.Modal = function(conf){
	var that = ui.Floats(); // Inheritance
	if(conf.content.type == 'ajax') conf.content.data = $(conf.trigger).attr('href'); // Content from href/action		
	
	// Global configuration
	conf.closeButton = true;	
	conf.align = 'center';

	// Events
	$(conf.trigger).css('cursor', 'pointer')
		.bind('click', function(event){ 
			ui.utils.dimmer.on();
			that.show(event, conf);
		
			//style conf, no me convence agregar aca los estilos pero sólo los necesita el modal
			$('.uiModal').addClass('box');		
		});
	
	return { show: function(event){ that.show(event, conf) }, hide: function(event){ that.hide(event, conf) }};
};
{'fraction_non_alphanumeric': 0.17777777777777778, 'fraction_numerical': 0.0, 'mean_word_length': 3.747603833865815, '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': '6388212', 'n_tokens_mistral': 536, 'n_tokens_neox': 489, 'n_words': 123}