<commit_before>(function () {
	//keep track of
	var filesLoaded = [],
		cdnjsLibraries,
		libraryInput = document.getElementById("libraryName");

	//preload cdnjs libraries
	get("http://api.cdnjs.com/libraries", function (data) {
		cdnjsLibraries = JSON.parse(data.response).results;
	});

	//enable hideables
	var hideables = document.getElementsByClassName("hideable");
	for (var i = 0; i < hideables.length; i++) {<commit_msg>sort cdnjs libs by length so core libs are displayed first<commit_after>(function () {
	//keep track of
	var filesLoaded = [],
		cdnjsLibraries,
		libraryInput = document.getElementById("libraryName");

	//preload cdnjs libraries
	get("http://api.cdnjs.com/libraries", function (data) {
		var results = JSON.parse(data.response).results;
		//sort these once here
		results.sort(function (a, b) {
			return a.name.length - b.name.length;
		});

		cdnjsLibraries = results;
	});

	//enable hideables
	var hideables = document.getElementsByClassName("hideable");
	for (var i = 0; i < hideables.length; i++) {
{'fraction_non_alphanumeric': 0.14410058027079303, 'fraction_numerical': 0.0019342359767891683, 'mean_word_length': 4.335051546391752, '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': '6291702', 'n_tokens_mistral': 353, 'n_tokens_neox': 327, 'n_words': 81}