<commit_before><!DOCTYPE html>
<html>
	<head>
		<title>&lt;model-tag&gt;</title>
		<style>
			body {
				font-family: monospace;
			}
			h1, h2 {
				font-weight: normal;
			}
			code {
				position: absolute;
				padding: 8px;
				font-size: 12px;
				background-color: #222;
				color: white;
			}
			div {
				display: inline-block;
				margin-bottom: 6px;
			}
		</style>
		<script src="dist/model-gltf.js"></script>
		<script src="dist/model-obj.js"></script>
		<script src="dist/model-stl.js"></script>
		<script src="dist/model-three.js"></script>
	</head>
	<body>
		<h1>&lt;model-tag&gt; Custom HTML Elements for displaying 3D models.</h1>
		<h2>GitHub: <a href="https://github.com/mrdoob/model-tag">https://github.com/mrdoob/model-tag</a></h2>
		<br />
		<div>
			<code>&lt;model-gltf src="models/gltf/VC.gltf"/&gt;</code>
			<model-gltf src="models/gltf/VC.gltf"/>
		</div>
		<div>
			<code>&lt;model-obj src="models/obj/LeePerrySmith.obj"/&gt;</code>
			<model-obj src="models/obj/LeePerrySmith.obj"/>
		</div>
		<div>
			<code>&lt;model-stl src="models/stl/slotted_disk.stl"/&gt;</code>
			<model-stl src="models/stl/slotted_disk.stl"/>
		</div>
		<div>
			<code>&lt;model-three src="models/three/scene.json"/&gt;</code>
			<model-three src="models/three/scene.json"/>
		</div>
	</body>
</html>
<commit_msg>Added feature detection to demo.<commit_after><!DOCTYPE html>
<html>
	<head>
		<title>&lt;model-tag&gt;</title>
		<style>
			body {
				font-family: monospace;
			}
			h1, h2 {
				font-weight: normal;
			}
			code {
				position: absolute;
				padding: 8px;
				font-size: 12px;
				background-color: #222;
				color: white;
			}
			div.element {
				display: inline-block;
				margin-bottom: 6px;
			}
		</style>
		<script src="dist/model-gltf.js"></script>
		<script src="dist/model-obj.js"></script>
		<script src="dist/model-stl.js"></script>
		<script src="dist/model-three.js"></script>
	</head>
	<body>
		<script>
			if ( 'customElements' in window === false ) {
				var div = document.createElement( 'div' );
				div.innerHTML = 'Your browser doesn\'t support <a href="https://developer.mozilla.org/en-US/docs/Web/Web_Components/Custom_Elements">Custom Elements</a> :(';
				div.style.cssText = 'padding:20px;color:white;background-color:red;font-size:20px;text-align:center';
				document.body.appendChild( div );
			}
		</script>
		<h1>&lt;model-tag&gt; Custom HTML Elements for displaying 3D models.</h1>
		<h2>GitHub: <a href="https://github.com/mrdoob/model-tag">https://github.com/mrdoob/model-tag</a></h2>
		<br />
		<div class="element">
			<code>&lt;model-gltf src="models/gltf/VC.gltf"/&gt;</code>
			<model-gltf src="models/gltf/VC.gltf"/>
		</div>
		<div class="element">
			<code>&lt;model-obj src="models/obj/LeePerrySmith.obj"/&gt;</code>
			<model-obj src="models/obj/LeePerrySmith.obj"/>
		</div>
		<div class="element">
			<code>&lt;model-stl src="models/stl/slotted_disk.stl"/&gt;</code>
			<model-stl src="models/stl/slotted_disk.stl"/>
		</div>
		<div class="element">
			<code>&lt;model-three src="models/three/scene.json"/&gt;</code>
			<model-three src="models/three/scene.json"/>
		</div>
	</body>
</html>

{'fraction_non_alphanumeric': 0.2070275403608737, 'fraction_numerical': 0.010129787907565685, 'mean_word_length': 3.4950213371266003, 'pattern_counts': {'":': 0, '<': 99, '<?xml version=': 0, '>': 99, 'https://': 5, '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': '7673510', 'n_tokens_mistral': 1455, 'n_tokens_neox': 1235, 'n_words': 187}