<commit_before>
 <script>
 

   $(document).ready(function(){
		var mymap = L.map('mapid').setView([36.33, 39.55], 8);

		L.tileLayer('https://api.tiles.mapbox.com/v4/{id}/{z}/{x}/{y}.png?access_token=<KEY>', {
			maxZoom: 18,
			attribution: 'Map data &copy; <a href="http://openstreetmap.org">OpenStreetMap</a> contributors, ' +
				'<a href="http://creativecommons.org/licenses/by-sa/2.0/">CC-BY-SA</a>, ' +
				'Imagery © <a href="http://mapbox.com">Mapbox</a>',
			id: 'mapbox.streets'
		}).addTo(mymap);
		
		var marker;
		
		 		function addMarker(lat,lng, popupContent, coopCount) {
					var numberIcon = L.divIcon({
      className: "number-icon",
      iconSize: [25, 36],
      iconAnchor: [10, 44],
      popupAnchor: [3, -40],
      html: coopCount        
});
			marker = new L.marker([lat, lng], {
				icon: numberIcon
			}).on('click', function() {
				$('#infoid').html(popupContent);
			});
			mymap.addLayer(marker);
		}
		
		
var json =  $.getJSON("<?php echo $this->config->base_url(); ?>/index.php/coops/json/", function(data) {
	$.each(data['places'], function(key, value) {
		console.log(key);
		console.log(value['coordinates']['longitude']);
		console.log(value['coordinates']['latitude']);
		

		
		var popupContent = "<div id=\"inner_info\"><h2>Co-ops in and around " + key + "</h2>";
		var nameCount = 0;
		$.each(value['names'], function(c_key, c_value) {
		
			if (c_value != "") {
				
				if (nameCount > 0) {
					popupContent = popupContent + " / ";
				} else {
					popupContent = popupContent + "<p class= \"names\">";
				}
				
				popupContent = popupContent + c_value;
				
				if (nameCount == value['names']) {
					popupContent = popupContent + "</p>";
				}
				
				nameCount++;
			}
		});<commit_msg>Adding a missing </p> due to a bug<commit_after>
 <script>
 

   $(document).ready(function(){
		var mymap = L.map('mapid').setView([36.33, 39.55], 8);

		L.tileLayer('https://api.tiles.mapbox.com/v4/{id}/{z}/{x}/{y}.png?access_token=<KEY>', {
			maxZoom: 18,
			attribution: 'Map data &copy; <a href="http://openstreetmap.org">OpenStreetMap</a> contributors, ' +
				'<a href="http://creativecommons.org/licenses/by-sa/2.0/">CC-BY-SA</a>, ' +
				'Imagery © <a href="http://mapbox.com">Mapbox</a>',
			id: 'mapbox.streets'
		}).addTo(mymap);
		
		var marker;
		
		 		function addMarker(lat,lng, popupContent, coopCount) {
					var numberIcon = L.divIcon({
      className: "number-icon",
      iconSize: [25, 36],
      iconAnchor: [10, 44],
      popupAnchor: [3, -40],
      html: coopCount        
});
			marker = new L.marker([lat, lng], {
				icon: numberIcon
			}).on('click', function() {
				$('#infoid').html(popupContent);
			});
			mymap.addLayer(marker);
		}
		
		
var json =  $.getJSON("<?php echo $this->config->base_url(); ?>/index.php/coops/json/", function(data) {
	$.each(data['places'], function(key, value) {
		console.log(key);
		console.log(value['coordinates']['longitude']);
		console.log(value['coordinates']['latitude']);
		

		
		var popupContent = "<div id=\"inner_info\"><h2>Co-ops in and around " + key + "</h2>";
		var nameCount = 0;
		$.each(value['names'], function(c_key, c_value) {
		
			if (c_value != "") {
				
				if (nameCount > 0) {
					popupContent = popupContent + " / ";
				} else {
					popupContent = popupContent + "<p class= \"names\">";
				}
				
				popupContent = popupContent + c_value;
				
				if (nameCount == value['names'].length) {
					popupContent = popupContent + "</p>";
				}
				
				nameCount++;
			}
		});
{'fraction_non_alphanumeric': 0.20840431572969903, 'fraction_numerical': 0.016467915956842702, 'mean_word_length': 3.021689497716895, 'pattern_counts': {'":': 0, '<': 32, '<?xml version=': 0, '>': 38, 'https://': 2, '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': '5695516', 'n_tokens_mistral': 1545, 'n_tokens_neox': 1257, 'n_words': 227}