<commit_before><?xml version="1.0" encoding="UTF-8"?>
<data xmlns="http://www.woltlab.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.woltlab.com http://www.woltlab.com/XSD/templateListener.xsd">
	<import>
		<templatelistener name="javascriptInclude">
			<environment>user</environment>
			<templatename>headInclude</templatename>
			<eventname>javascriptInclude</eventname>
			<templatecode><![CDATA[{if NODEPUSH_HOST}<script type="text/javascript" src="{NODEPUSH_HOST}/socket.io/socket.io.js"></script>
<script type="text/javascript" src="{$__wcf->getPath()}js/be.bastelstu.wcf.nodePush.js"></script>{/if}]]></templatecode>
		</templatelistener>
		<templatelistener name="javascriptInit">
			<environment>user</environment>
			<templatename>headInclude</templatename>
			<eventname>javascriptInit</eventname>
			<templatecode><![CDATA[{if NODEPUSH_HOST}be.bastelstu.wcf.nodePush.init('{@NODEPUSH_HOST|encodeJS}');{/if}]]></templatecode>
		</templatelistener>
	</import>
</data><commit_msg>Load frontend JS even if nodePush is disabled<commit_after><?xml version="1.0" encoding="UTF-8"?>
<data xmlns="http://www.woltlab.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.woltlab.com http://www.woltlab.com/XSD/templateListener.xsd">
	<import>
		<templatelistener name="javascriptInclude">
			<environment>user</environment>
			<templatename>headInclude</templatename>
			<eventname>javascriptInclude</eventname>
			<templatecode><![CDATA[{if NODEPUSH_HOST}<script type="text/javascript" src="{NODEPUSH_HOST}/socket.io/socket.io.js"></script>{/if}
<script type="text/javascript" src="{$__wcf->getPath()}js/be.bastelstu.wcf.nodePush.js"></script>]]></templatecode>
		</templatelistener>
		<templatelistener name="javascriptInit">
			<environment>user</environment>
			<templatename>headInclude</templatename>
			<eventname>javascriptInit</eventname>
			<templatecode><![CDATA[{if NODEPUSH_HOST}be.bastelstu.wcf.nodePush.init('{@NODEPUSH_HOST|encodeJS}');{/if}]]></templatecode>
		</templatelistener>
	</import>
</data>

{'fraction_non_alphanumeric': 0.18866126727012864, 'fraction_numerical': 0.007622677465459742, 'mean_word_length': 7.300395256916996, 'pattern_counts': {'":': 0, '<': 65, '<?xml version=': 2, '>': 67, 'https://': 0, 'lorem ipsum': 0, 'www.': 8, 'xml': 6}, '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': '3178265', 'n_tokens_mistral': 806, 'n_tokens_neox': 739, 'n_words': 70}