<commit_before>$(window).resize(fixheight);
   
$(document).ready(function() {
	fixheight();
	$("#gpsmenu").draggable();
	$("#usermenu").draggable();
	$("#groupmenu").draggable();
	//$("#upload_loc").click(uploadLocation);
	//$("#goto_loc").click(gotoMyLocation);
	//$("#autorefresh_loc").click(toggleAutoRefresh);
	$("#selectgroup").change(changegroup);
	
	
	map = L.map('map-canvas').setView([-34.929, 138.601], 13);
	
	L.tileLayer('https://otile{s}-s.mqcdn.com/tiles/1.0.0/map/{z}/{x}/{y}.png', {
    attribution: '&copy; <a href="http://osm.org/copyright">OpenStreetMap</a> contributors',
    maxZoom: 19,
    subdomains: '1234'
	}).addTo(map);
	
	setupDraw();


	$("#refresh_loc").click(updateFollowing);
	updateFollowing();
	
	$("#adduser").click(function(e) {
		e.preventDefault();
		$.post('/adduser', $('#adduserform').serialize(),
			function(data) {
				$("#addstatus").html("Server returned: " + data);
				refreshLocation();
		});
	});
	
	setupAutoRefresh();
});<commit_msg>load 2x tiles for retina devices<commit_after>$(window).resize(fixheight);
   
$(document).ready(function() {
	fixheight();
	$("#gpsmenu").draggable();
	$("#usermenu").draggable();
	$("#groupmenu").draggable();
	//$("#upload_loc").click(uploadLocation);
	//$("#goto_loc").click(gotoMyLocation);
	//$("#autorefresh_loc").click(toggleAutoRefresh);
	$("#selectgroup").change(changegroup);
	
	
	map = L.map('map-canvas').setView([-34.929, 138.601], 13);
	
	L.tileLayer('https://otile{s}-s.mqcdn.com/tiles/1.0.0/map/{z}/{x}/{y}.png', {
    attribution: '&copy; <a href="http://osm.org/copyright">OpenStreetMap</a> contributors',
    maxZoom: 19,
    subdomains: '1234',
	detectRetina: true,
	}).addTo(map);
	
	setupDraw();


	$("#refresh_loc").click(updateFollowing);
	updateFollowing();
	
	$("#adduser").click(function(e) {
		e.preventDefault();
		$.post('/adduser', $('#adduserform').serialize(),
			function(data) {
				$("#addstatus").html("Server returned: " + data);
				refreshLocation();
		});
	});
	
	setupAutoRefresh();
});
{'fraction_non_alphanumeric': 0.25359801488833744, 'fraction_numerical': 0.022332506203473945, 'mean_word_length': 5.127659574468085, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '6249141', 'n_tokens_mistral': 785, 'n_tokens_neox': 714, 'n_words': 83}