<commit_before><!--
	#WebGl Based Aurora Simulation
	#	Created By:		<NAME>, <NAME>, <NAME>, <NAME>, and <NAME>
	#	Modified On:	03/25/2014
-->

<!doctype html>

<html>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width,initial-scale=1.0">

	<head>
		<!--Three.js Source-->
		<script src="js/Detector.js"></script>
		<script src="js/three.min.js"></script>
		<script src="js/TrackballControls.js"></script>

		<!--Aurora Simulation Source-->
		<script type="text/javascript">

			//Globals
			var renderer;
			var scene;
			var controls;

			var camera;
			var light;
			var earth;
			var stars;

			var width=400;
			var height=400;

			//Setup Function (Happens Once)
			function setup(skip_safari)
			{
				//Get Canvas Object
				var canvas=document.getElementById('canvas');
				canvas.innerHTML="";

				//Check for WebGl Support
				if(!Detector.webgl)
				{
					canvas.innerHTML="Your graphics card does not support WebGL!";
					return;
				}

				//Check for Safari
				if(!skip_safari)
				{
					if(ua.indexOf('safari')!=-1)
					{
						var html="You are running Safari.  Safari has shitty support for WebGl...get a real browser...<br/>";
						html+="<input type='button' value='Bypass' onclick='setup(true);'/>";
						canvas.innerHTML=html;
						return;
					}
				}

				//Create Renderer
				renderer=new THREE.WebGLRenderer();<commit_msg>Fixed safari check code...<commit_after><!--
	#WebGl Based Aurora Simulation
	#	Created By:		<NAME>, <NAME>, <NAME>, <NAME>, and <NAME>
	#	Modified On:	03/25/2014
-->

<!doctype html>

<html>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width,initial-scale=1.0">

	<head>
		<!--Three.js Source-->
		<script src="js/Detector.js"></script>
		<script src="js/three.min.js"></script>
		<script src="js/TrackballControls.js"></script>

		<!--Aurora Simulation Source-->
		<script type="text/javascript">

			//Globals
			var renderer;
			var scene;
			var controls;

			var camera;
			var light;
			var earth;
			var stars;

			var width=400;
			var height=400;

			//Setup Function (Happens Once)
			function setup(skip_safari)
			{
				//Get Canvas Object
				var canvas=document.getElementById('canvas');
				canvas.innerHTML="";

				//Check for WebGl Support
				if(!Detector.webgl)
				{
					canvas.innerHTML="Your graphics card does not support WebGL!";
					return;
				}

				//Check for Safari
				if(!skip_safari)
				{
					var ua=navigator.userAgent.toLowerCase();

					if(ua.indexOf('safari')!=-1)
					{
						var html="You are running Safari.  Safari has shitty support for WebGl...get a real browser...<br/>";
						html+="<input type='button' value='Bypass' onclick='setup(true);'/>";
						canvas.innerHTML=html;
						return;
					}
				}

				//Create Renderer
				renderer=new THREE.WebGLRenderer();
{'fraction_non_alphanumeric': 0.16117605384342898, 'fraction_numerical': 0.012752391073326248, 'mean_word_length': 2.9386331938633194, 'pattern_counts': {'":': 0, '<': 47, '<?xml version=': 0, '>': 47, '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': '6479963', 'n_tokens_mistral': 1223, 'n_tokens_neox': 953, 'n_words': 226}