<commit_before>var args = arguments[0] || {};

var image = args.image;
var video = args.video;

if (video) {
	if (video.length < 18) {
		$.header.title.text = video;
		$.show.setUrl(video);
	} else {
		var x = video.substring(6, 21);
		$.header.title.text = x;
		$.show.setUrl(video);
	}
} else {
	$.header.title.text = image;
	$.show.setHtml('<html><body> <img src=image /> </body></html>');
}

$.show.addEventListener('load', function(e) {
	$.header.title.text = $.show.evalJS("document.title");
});
<commit_msg>change in browser<commit_after>var args = arguments[0] || {};

var image = args.image;
var video = args.video;

if (video) {
	if (video.length < 18) {
		$.header.title.text = video;
		$.show.setUrl(video);
	} else {
		var x = video.substring(7, 21);
		$.header.title.text = x;
		$.show.setUrl(video);
	}
} else {
	$.header.title.text = image;
	$.show.setHtml('<html><body> <img src=image /> </body></html>');
}

$.show.addEventListener('load', function(e) {
	$.header.title.text = $.show.evalJS("document.title");
});

{'fraction_non_alphanumeric': 0.2248062015503876, 'fraction_numerical': 0.011627906976744186, 'mean_word_length': 3.76036866359447, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 13, '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': '3364512', 'n_tokens_mistral': 405, 'n_tokens_neox': 386, 'n_words': 74}