<commit_before><?php

namespace Jchck\Assets;

function assets(){
	wp_enqueue_style('css', get_template_directory_uri() . '/dest/jchck_.css', false, null);
}
add_action('wp_enqueue_scripts', __NAMESPACE__ . '\\assets', 100);<commit_msg>attach prism.js inline but not at end of page<commit_after><?php

namespace Jchck\Assets;

function assets(){
	wp_enqueue_style('css', get_template_directory_uri() . '/dest/jchck_.css', false, null);
}
add_action('wp_enqueue_scripts', __NAMESPACE__ . '\\assets', 100);



function code(){
	if (class_exists( 'acf')) {
		
		if (get_field('is_code')) {
			$prism = locate_template( 'templates/prism-js.php' );
			//$prism = get_template_part( 'templates/prism', 'js' );
			require_once $prism;
		}

	}
	add_action( 'wp_footer', __NAMESPACE__ . '\\code' );
}
{'fraction_non_alphanumeric': 0.1706700379266751, 'fraction_numerical': 0.007585335018963337, 'mean_word_length': 5.2362204724409445, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, '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': '867520', 'n_tokens_mistral': 309, 'n_tokens_neox': 292, 'n_words': 55}