<commit_before>
function makeColumn (colSM, content) {
  return '<div class="col-xs-12 col-sm-' + colSM + '"><div class="cell">' + content + '</div></div>';
}

function makeMegaTitle () {
	var title = 'Nanokiss';
	var str = '<h1><div class="container"><div class="row">';
	str += '<div class="col-xs-offset-1">';
	for (var i = 0; i < title.length; ++i) {
		var className = 'col-xs-1';
		if (i == 0) {
			className += ' col-xs-offset-1';
		}
		str += '<div class="' + className + '">' + title[i] + '</div>';
	}
	str += '</div></div></h1>';
	return str;
}

function makeHeader (title) {
	return '<h3>' + title + '</h3>';
}

function makeCover (cover, $element) {
	$element.css('background-image', 'url("' + cover.preview + '")');
	var $overlay = $(document.createElement('div'));
	$overlay.css('background-image', 'url("' + cover.gif + '")');
	$overlay.hide();
	$element.mouseenter(function () { 
		$overlay.show(); 
	})
	$element.mouseleave(function () { 
		$overlay.hide(); 
	})
	$element.get(0).addEventListener('touchmove', function(e) {
    e.preventDefault();
    var touch = e.touches[0];
    // alert( + " - " + touch.pageY);
    // if (touch.pageX)
		$overlay.show(); 
		// $overlay.hide(); 
	}, false);
	$element.addClass('cover-container cover-background');
	$overlay.addClass('cover cover-background');
	$overlay.css('height', $element.height() + 'px');
	if (cover.link.length > 0) {
		$element.css('cursor', 'pointer');
		var link = $('<a>').attr('href', cover.link).attr('target', '_blank');
		link.html($overlay)
		$element.append(link);
	} else {
		$element.append($overlay);
	}<commit_msg>no mobile touch events<commit_after>
function makeColumn (colSM, content) {
  return '<div class="col-xs-12 col-sm-' + colSM + '"><div class="cell">' + content + '</div></div>';
}

function makeMegaTitle () {
	var title = 'Nanokiss';
	var str = '<h1><div class="container"><div class="row">';
	str += '<div class="col-xs-offset-1">';
	for (var i = 0; i < title.length; ++i) {
		var className = 'col-xs-1';
		if (i == 0) {
			className += ' col-xs-offset-1';
		}
		str += '<div class="' + className + '">' + title[i] + '</div>';
	}
	str += '</div></div></h1>';
	return str;
}

function makeHeader (title) {
	return '<h3>' + title + '</h3>';
}

function makeCover (cover, $element) {
	$element.css('background-image', 'url("' + cover.preview + '")');
	var $overlay = $(document.createElement('div'));
	$overlay.css('background-image', 'url("' + cover.gif + '")');
	$overlay.hide();
	$element.mouseenter(function () { $overlay.show(); })
	$element.mouseleave(function () { $overlay.hide(); })
	$element.addClass('cover-container cover-background');
	$overlay.addClass('cover cover-background');
	$overlay.css('height', $element.height() + 'px');
	if (cover.link.length > 0) {
		$element.css('cursor', 'pointer');
		var link = $('<a>').attr('href', cover.link).attr('target', '_blank');
		link.html($overlay)
		$element.append(link);
	} else {
		$element.append($overlay);
	}
{'fraction_non_alphanumeric': 0.2450420168067227, 'fraction_numerical': 0.008739495798319327, 'mean_word_length': 4.248677248677248, 'pattern_counts': {'":': 0, '<': 37, '<?xml version=': 0, '>': 37, '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': '5850172', 'n_tokens_mistral': 1101, 'n_tokens_neox': 1052, 'n_words': 212}