<commit_before>$.main = {		
	execute: function(selector) {
			
		$.parkingMap.createMap($.settings.adapter, $.settings.assets, selector, $.settings.center, $.settings.zoom, function() {
			setTimeout($.main.centerMapWithGeolocation, 0);
			$.quadtree = new QuadTree($.parkingMap.getBounds(), getMeanValueOfParkingDataArray, 4);
			$.main.addMapInfo();
		});
		$.parkingMap.addUpdateEvent(function() {$.main.addMapInfo();});
		$.parkingMap.addSearchBar();
		$.parkingMap.addToggleFreePaying();
		$.parkingMap.addSettings();
	},
	
	centerMapWithGeolocation: function() {
		if (navigator.geolocation) {
			navigator.geolocation.getCurrentPosition(function(position) {
				$.parkingMap.setCenter(position.coords);
			}, function() {});
		}
	},
	
	addMapInfo: function() {
		for (var i=0; i<$.settings.dataSources.length; i++) {
			$.requestHandler.request($.settings.dataSources[i], this.addMapElement);
		}
	},
	<commit_msg>missed details<commit_after>$.main = {		
	execute: function(selector) {
			
		$.parkingMap.createMap($.settings.adapter, $.settings.assets, selector, $.settings.center, $.settings.zoom, function() {
			setTimeout($.main.centerMapWithGeolocation, 0);
			$.quadtree = new QuadTree(createBoundingBoxFromMapBounds($.parkingMap.getBounds()), getMeanValueOfParkingDataArray, 4);
			$.main.addMapInfo();
		});
		$.parkingMap.addUpdateEvent(function() {$.main.addMapInfo();});
		$.parkingMap.addSearchBar();
		$.parkingMap.addToggleFreePaying();
		$.parkingMap.addSettings();
	},
	
	centerMapWithGeolocation: function() {
		if (navigator.geolocation) {
			navigator.geolocation.getCurrentPosition(function(position) {
				$.parkingMap.setCenter(position.coords);
			}, function() {});
		}
	},
	
	addMapInfo: function() {
		for (var i=0; i<$.settings.dataSources.length; i++) {
			$.requestHandler.request($.settings.dataSources[i], this.addMapElement);
		}
	},
	
{'fraction_non_alphanumeric': 0.17706666666666668, 'fraction_numerical': 0.0032, 'mean_word_length': 4.936708860759493, 'pattern_counts': {'":': 0, '<': 5, '<?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': '2679627', 'n_tokens_mistral': 697, 'n_tokens_neox': 621, 'n_words': 77}