<commit_before>{% load mooshell_extras %}
{% if shell.title %}
	<h3 class='title'>{{ shell.title }}</h3>
{% endif %}
<h3 class='toggler' id='settings_toggler'>Settings</h3>
<div class='element' id='shell_settings'>
	<select name='js_wrap' id='js_wrap'>
		<option value=''{% if shell %}{% if not shell.js_wrap %} selected='1'{% endif %}{% endif %}>no wrap</option>
		<option value='d'{% ifequal shell.js_wrap "d" %} selected='1'{% endifequal %}>onDomReady</option>
		<option value='l'{% ifequal shell.js_wrap "l" %} selected='1'{% endifequal %}{% if not shell %} selected='1'{% endif %}>onLoad</option>
	</select>
	
	{% if default_library_group %}{% get_js_libraries default_library_group shell %}
	{% else %}{% get_js_library_groups shell %}
	{% endif %}
	
	{% if SHOW_LIB_OPTION %}<p>
		Library tag attributes:<br/>
		{{ shellform.js_lib_option }}
	</p>{% endif %}
</div>

<script type='application/javascript'>
	window.addEvent('load', function() {
		$('js_lib').addEvent('change', function() {
			mooshell.loadDependencies(this.value);
		})
		if ($('library_group')) $('library_group').addEvent('change', function() {
			mooshell.loadLibraryVersions(this.value);
		})
	});
</script><commit_msg>possible fix for IE - loading dependencies<commit_after>{% load mooshell_extras %}
{% if shell.title %}
	<h3 class='title'>{{ shell.title }}</h3>
{% endif %}
<h3 class='toggler' id='settings_toggler'>Settings</h3>
<div class='element' id='shell_settings'>
	<select name='js_wrap' id='js_wrap'>
		<option value=''{% if shell %}{% if not shell.js_wrap %} selected='1'{% endif %}{% endif %}>no wrap</option>
		<option value='d'{% ifequal shell.js_wrap "d" %} selected='1'{% endifequal %}>onDomReady</option>
		<option value='l'{% ifequal shell.js_wrap "l" %} selected='1'{% endifequal %}{% if not shell %} selected='1'{% endif %}>onLoad</option>
	</select>
	
	{% if default_library_group %}{% get_js_libraries default_library_group shell %}
	{% else %}{% get_js_library_groups shell %}
	{% endif %}
	
	{% if SHOW_LIB_OPTION %}<p>
		Library tag attributes:<br/>
		{{ shellform.js_lib_option }}
	</p>{% endif %}
</div>

<script type='text/javascript'>
	window.addEvent('load', function() {
		$('js_lib').addEvent('change', function() {
			mooshell.loadDependencies(this.value);
		})
		if ($('library_group')) $('library_group').addEvent('change', function() {
			mooshell.loadLibraryVersions(this.value);
		})
	});
</script>
{'fraction_non_alphanumeric': 0.21067880794701987, 'fraction_numerical': 0.006622516556291391, 'mean_word_length': 5.676795580110498, 'pattern_counts': {'":': 0, '<': 41, '<?xml version=': 0, '>': 41, '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': '502795', 'n_tokens_mistral': 944, 'n_tokens_neox': 845, 'n_words': 174}