<commit_before><!DOCTYPE html>
<html>
<head>
	<title>Tester</title>

	<script src="//code.jquery.com/jquery-1.11.2.min.js"></script>

	<script>

	$(document).ready(function(){
		$('.link').html(link_template);
		$('.link').attr('href',link_template);
	});


	var link_template = function(){
		var ua = navigator.userAgent;
		var ret = 'Not Mobile';
		var checker = {
						iphone: ua.match(/(iPhone|iPod|iPad)/),
						blackberry: ua.match(/BlackBerry/),
						android: ua.match(/Android/)
					};
		if (checker.android){
			ret = 'sms:+60166611428?body=Message Body';
		}
		else if (checker.iphone){
			ret = 'sms:+60166611428;body=Message Body';
		}
		else if (checker.blackberry){
			// ret = ''
		}
		else {
			// $('.unknown-device').show();
		}

		return ret;
	}

	</script>

</head>
<body>

<h1>To Test Mobile Detection Via Javascript</h1><commit_msg>change delimiter for ios8<commit_after><!DOCTYPE html>
<html>
<head>
	<title>Tester</title>

	<script src="//code.jquery.com/jquery-1.11.2.min.js"></script>

	<script>

	$(document).ready(function(){
		$('.link').html(link_template);
		$('.link').attr('href',link_template);
	});


	var link_template = function(){
		var ua = navigator.userAgent;
		var ret = 'Not Mobile';
		var checker = {
						iphone: ua.match(/(iPhone|iPod|iPad)/),
						blackberry: ua.match(/BlackBerry/),
						android: ua.match(/Android/)
					};
		if (checker.android){
			ret = 'sms:+60166611428?body=Message Body';
		}
		else if (checker.iphone){
			ret = 'sms:+60166611428&body=Message Body';
		}
		else if (checker.blackberry){
			// ret = ''
		}
		else {
			// $('.unknown-device').show();
		}

		return ret;
	}

	</script>

</head>
<body>

<h1>To Test Mobile Detection Via Javascript</h1>
{'fraction_non_alphanumeric': 0.2013888888888889, 'fraction_numerical': 0.03298611111111111, 'mean_word_length': 3.3883248730964466, 'pattern_counts': {'":': 0, '<': 29, '<?xml version=': 0, '>': 29, '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': '6132776', 'n_tokens_mistral': 798, 'n_tokens_neox': 653, 'n_words': 116}