<commit_before>// TODO: README.md
// TODO: License

(function($) {
	$.fn.osmfield = function() {

		return this.each(function() {
			// Create HTML elements for osmfield
			var idAttribute = $(this).attr('id');
			$(this).addClass('osmfield-input');

			// Create map container when not existent.
			// Wrapper is only for CSS.
			if (!$('#'+idAttribute+'-map').length)
				$(this).before('<div class="osmfield-wrapper"><div id="'+idAttribute+'-map"></div></div>');

			$(this).data('lat-element',$('#'+idAttribute+'-lat'));
			$(this).data('lng-element',$('#'+idAttribute+'-lng'));
			$(this).data('map-element',$('#'+idAttribute+'-map'));
			$(this).data('map-element').addClass('osmfield-map');

			var osmfieldElement = $(this);

			// initialize Leaflet map, tile layer and marker
			var map = L.map(osmfieldElement.data('map-element')[0]).setView([0,0], 15);
			L.tileLayer('http://otile1.mqcdn.com/tiles/1.0.0/map/{z}/{x}/{y}.jpg', {
				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://www.mapquest.com/">Mapquest</a>',
				maxZoom: 18
			}).addTo(map);
			var marker = L.marker([0,0],{draggable:true}).addTo(map);

<commit_msg>Fixup<commit_after>// TODO: README.md
// TODO: License

(function($) {
	$.fn.osmfield = function() {

		return this.each(function() {
			// Create HTML elements for osmfield
			var idAttribute = $(this).attr('id');
			$(this).addClass('osmfield-input');

			// Create map container when not existent.
			// Wrapper is only for CSS.
			if (!$('#'+idAttribute+'-map').length)
				$(this).before('<div class="osmfield-wrapper"><div id="'+idAttribute+'-map"></div></div>');

			$(this).data('lat-element',$('#'+idAttribute+'_lat'));
			$(this).data('lng-element',$('#'+idAttribute+'_lon'));
			$(this).data('map-element',$('#'+idAttribute+'-map'));
			$(this).data('map-element').addClass('osmfield-map');

			var osmfieldElement = $(this);

			// initialize Leaflet map, tile layer and marker
			var map = L.map(osmfieldElement.data('map-element')[0]).setView([0,0], 15);
			L.tileLayer('http://otile1.mqcdn.com/tiles/1.0.0/map/{z}/{x}/{y}.jpg', {
				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://www.mapquest.com/">Mapquest</a>',
				maxZoom: 18
			}).addTo(map);
			var marker = L.marker([0,0],{draggable:true}).addTo(map);


{'fraction_non_alphanumeric': 0.2453846153846154, 'fraction_numerical': 0.011538461538461539, 'mean_word_length': 4.0504854368932035, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 23, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '5915426', 'n_tokens_mistral': 1061, 'n_tokens_neox': 923, 'n_words': 146}