<commit_before><%@taglib uri = "http://www.springframework.org/tags/form" prefix = "form"%>
<html>
   <head>
      <title>Spring MVC Form Handling</title>  
      <style>
		   .box {
		    position:fixed;
		    top:10%;
		    left:10%;
		    width:80%;
		    height:80%;
		}
		.inner_element {
		    text-align: center;
		}
		.slider-width100
		{
		    width: 100%;
		}
	   </style> 
	   <script src="http://ajax.googleapis.com/ajax/libs/jquery/2.0.0/jquery.min.js"></script>
	   <script src="https://maps.googleapis.com/maps/api/js?v=3.exp&key=KEY&sensor=false"></script>
	   
	   <script>
	   
	   var map;
		function initialize() {
		  var mapOptions = {
		    zoom: 3,
			clickableIcons: false,
			mapTypeControl: false,
			streetViewControl: false,
		    center: new google.maps.LatLng(39.8282, -98.5795)
		  };
		  map = new google.maps.Map(document.getElementById('map-canvas'),
		      mapOptions);
		}
		
		google.maps.event.addDomListener(window, 'load', initialize);
		
		   function updateTextInput(val, startTime, endTime) {
			   currentDateValue = (endTime - startTime) * val / 1000 + startTime;
			   		var d = new Date(currentDateValue);
			   		document.getElementById('textInput').innerHTML=d; 
		        }
		   function addDynamicMarker(location) {
			    var marker = new google.maps.Marker({
			        position: location,
			        map: map,
			        draggable: false,
			        optimized:false, // <-- required for animated gif
			        icon: "dot.gif"
			    });
			    setTimeout(function () {
			        marker.setMap(null);
			        delete marker;
			    }, 300);
			    return marker;
			}
		   
		   function testAjax() {
			   var obj = { "keyword": document.getElementById('keywordTxt').innerHTML, "date": this.currentDateValue };
			   
			   $.ajax({
		             	 type: "POST",
			             contentType: "application/json",
			             url: "twitterAjax",
			             data: JSON.stringify(obj),
			             dataType: 'json',
			             headers: { 
			                 'Accept': 'application/json',
			                 'Content-Type': 'application/json' 
			             },
			             timeout: 1000,
			             success: function (data) {
			            	 var dataArray = data;
			            	 var arrayLength = dataArray.length;
			            	 for (var i = 0; i < arrayLength; i++) {
			            		 (function(i) {
			            			 var delay = dataArray[i].delay;
			            			 this.markerAnimations.push(setInterval(function() {<commit_msg>Made marker anchors in center of image<commit_after><%@taglib uri = "http://www.springframework.org/tags/form" prefix = "form"%>
<html>
   <head>
      <title>Spring MVC Form Handling</title>  
      <style>
		   .box {
		    position:fixed;
		    top:10%;
		    left:10%;
		    width:80%;
		    height:80%;
		}
		.inner_element {
		    text-align: center;
		}
		.slider-width100
		{
		    width: 100%;
		}
	   </style> 
	   <script src="http://ajax.googleapis.com/ajax/libs/jquery/2.0.0/jquery.min.js"></script>
	   <script src="https://maps.googleapis.com/maps/api/js?v=3.exp&key=AIzaSyCd9uxfx1yJarUMlvGVOTNEhiDZHCKbEvU&sensor=false"></script>
	   
	   <script>
	   
	   var map;
		function initialize() {
		  var mapOptions = {
		    zoom: 3,
			clickableIcons: false,
			mapTypeControl: false,
			streetViewControl: false,
		    center: new google.maps.LatLng(39.8282, -98.5795)
		  };
		  map = new google.maps.Map(document.getElementById('map-canvas'),
		      mapOptions);
		}
		
		google.maps.event.addDomListener(window, 'load', initialize);
		
		   function updateTextInput(val, startTime, endTime) {
			   currentDateValue = (endTime - startTime) * val / 1000 + startTime;
			   		var d = new Date(currentDateValue);
			   		document.getElementById('textInput').innerHTML=d; 
		        }
		   var image = {
				    url: 'dot.gif',
				    // This marker is 128 pixels wide by 128 pixels high.
				    size: new google.maps.Size(128, 128),
				    // The origin for this image is (0, 0).
				    origin: new google.maps.Point(0, 0),
				    // The anchor for this image is the center of the image at 64-64
				    anchor: new google.maps.Point(64, 64)
				  };
		   function addDynamicMarker(location) {
			    var marker = new google.maps.Marker({
			        position: location,
			        map: map,
			        draggable: false,
			        optimized:false, // <-- required for animated gif
			        icon: image
			    });
			    setTimeout(function () {
			        marker.setMap(null);
			        delete marker;
			    }, 300);
			    return marker;
			}
		   
		   function testAjax() {
			   var obj = { "keyword": document.getElementById('keywordTxt').innerHTML, "date": this.currentDateValue };
			   
			   $.ajax({
		             	 type: "POST",
			             contentType: "application/json",
			             url: "twitterAjax",
			             data: JSON.stringify(obj),
			             dataType: 'json',
			             headers: { 
			                 'Accept': 'application/json',
			                 'Content-Type': 'application/json' 
			             },
			             timeout: 1000,
			             success: function (data) {
			            	 var dataArray = data;
			            	 var arrayLength = dataArray.length;
			            	 for (var i = 0; i < arrayLength; i++) {
			            		 (function(i) {
			            			 var delay = dataArray[i].delay;
			            			 this.markerAnimations.push(setInterval(function() {
{'fraction_non_alphanumeric': 0.1276207839562443, 'fraction_numerical': 0.02041932543299909, 'mean_word_length': 1.8162217659137576, 'pattern_counts': {'":': 4, '<': 31, '<?xml version=': 0, '>': 27, 'https://': 2, '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': '1691866', 'n_tokens_mistral': 2074, 'n_tokens_neox': 1599, 'n_words': 339}