<commit_before><!doctype html>
<html class="no-js" lang="en">
<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">

	<title>Noodles Test page</title>
	
</head>
<body>
<script src="./../support/require-browser.js"></script>
<script>
	require(['./../lib/index'],function(Noodles){
		console.log(Noodles);
		var rawString = 'This is a very basic template. By <{author}>.';
		
		var metaData = 'author = <{firstName}> <{lastName}>';
		var myTemp = new Noodles.Template({
			rawString : rawString,
			metaData:metaData
		});
		console.log(myTemp);
		var date = Date.now();
		myTemp.execute({'lastname':'Sweet','firstname':'Nathan'},{
			onRenderAll:function(string){
				console.log(Date.now() - date);
				console.log(string);
			}
		});
	});
</script>
</body>
</html><commit_msg>modified tests for debuggin somewhat.<commit_after><!doctype html>
<html class="no-js" lang="en">
<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">

	<title>Noodles Test page</title>
	
</head>
<body>
<script src="./../support/require-browser.js"></script>
<script>
	require(['./../lib/index'],function(Noodles){
		var rawString = 'This is a very basic template. By <{author}>.\n<{if firstname}>His firstname is <{firstname}><{if lastname}>, his last name is <{lastname}><{end}><{end}>';
		
		var metaData = 'author = <{firstName}> <{lastName}>';
		
		var myTemp;
		var date = Date.now();
		new Noodles.Template({
			rawString : rawString,
			metaData:metaData,
			onFinishCompiling:function(template){
				console.log('compile time: ',Date.now()-date,'ms.');
				console.log(template);
				date = Date.now();
				template.execute({'lastname':'Sweet','firstname':'Nathan'},{
					onRenderAll:function(string){
						console.log(Date.now() - date);
						console.log(string);
					}
				});
			}
		});
	});
</script>
</body>
</html>
{'fraction_non_alphanumeric': 0.21130480718436345, 'fraction_numerical': 0.0021130480718436345, 'mean_word_length': 4.290502793296089, 'pattern_counts': {'":': 0, '<': 45, '<?xml version=': 0, '>': 45, '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': '5784825', 'n_tokens_mistral': 763, 'n_tokens_neox': 669, 'n_words': 128}