<commit_before>var L = L || {};
L.Comm = function(L) {
	var privateVar;
	var connect = function(token, callback, error) {
		L.Comm.privateVar;
	};
	var sendMessage = function(type, msg, callback, error) {

	};
	return {
		connect: connect,
		sendMessage: sendMessage
	};
}(L);<commit_msg>Changes about socket.io<commit_after>var L = L || {};

L.Comm = function(L) {

	var socket;
	var server = 'rosendo.dit.upm.es:8080';

	var connect = function(token, callback, error) {
		
		L.Comm.socket = io.connect(server);
    	L.Comm.sendMessage('token', token, callback, error);
    	
	};

	var sendMessage = function(type, msg, callback, error) {

        L.Comm.socket.emit(type, msg, callback, error);

	};

	return {
		connect: connect,
		sendMessage: sendMessage
	};

}(L);
{'fraction_non_alphanumeric': 0.15844155844155844, 'fraction_numerical': 0.005194805194805195, 'mean_word_length': 3.672727272727273, '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': '2319077', 'n_tokens_mistral': 287, 'n_tokens_neox': 267, 'n_words': 63}