<commit_before>console.log('main.js');

// Load Css async w LoadCSS & +1 polyfill / https://www.npmjs.com/package/fg-loadcss?notice=MIvGLZ2qXNAEF8AM1kvyFWL8p-1MwaU7UpJd8jcG
var stylesheet = loadCSS( "styles/main.css" );
onloadCSS( stylesheet, function() {
    console.log( "LoadCSS > Stylesheet has loaded. Yay !" );

    $('.no-fouc').fadeIn(); // Jquery animation
});

// Load Hyphenopoly plugins, manage font césure & text FOUC
// Need to be loaded beofre HyphenopolyLoader, cf. gulpfile paths.scripts.src
var Hyphenopoly = {
	require: {
		"en-us": "hyphenation"
	},
	paths: {
		patterndir: 'assets/hyphenopoly/patterns/',<commit_msg>Add / Fouc out (on link clic)<commit_after>console.log('main.js');

// Load Css async w LoadCSS & +1 polyfill / https://www.npmjs.com/package/fg-loadcss?notice=MIvGLZ2qXNAEF8AM1kvyFWL8p-1MwaU7UpJd8jcG
var stylesheet = loadCSS( "styles/main.css" );
onloadCSS( stylesheet, function() {
    console.log( "LoadCSS > Stylesheet has loaded. Yay !" );

    // + No Fouc management
    $('.no-fouc').fadeIn(); // Lovely Jquery animation on load

    // Fouc out management
	$('a').click(function(e) {

		e.preventDefault();
		newLocation = this.href;

		$('body').fadeOut(200, function() {
			window.location = newLocation;
		});
	});
});



// Load Hyphenopoly plugins, manage font césure & text FOUC
// Need to be loaded beofre HyphenopolyLoader, cf. gulpfile paths.scripts.src
var Hyphenopoly = {
	require: {
		"en-us": "hyphenation"
	},
	paths: {
		patterndir: 'assets/hyphenopoly/patterns/',
{'fraction_non_alphanumeric': 0.1540983606557377, 'fraction_numerical': 0.012459016393442624, 'mean_word_length': 3.970684039087948, 'pattern_counts': {'":': 2, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, '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': '1027957', 'n_tokens_mistral': 609, 'n_tokens_neox': 561, 'n_words': 121}