<commit_before>jquery.hashserialize.js
=======================

Simple history-manager for AJAX-based web applications<commit_msg>initial version<commit_after>jquery.hashserialize.js
=======================

Simple history-manager for AJAX-based web applications

Usage:

	$(function() {
		var ajaxState = {};
		$.restoreFromHash(function(state) {
			$("#target").html(state["caption"]);
		});
		$("#event").click(function() {
			var title = "Test äüß№ç ”“Í " + Math.random(100);
			ajaxState["caption"] = title;
			$.serializeToHash(ajaxState);
			$("#target").html(title);
		});
	});
{'fraction_non_alphanumeric': 0.24273504273504273, 'fraction_numerical': 0.005128205128205128, 'mean_word_length': 5.511111111111111, 'pattern_counts': {'":': 0, '<': 3, '<?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': '6129163', 'n_tokens_mistral': 197, 'n_tokens_neox': 176, 'n_words': 31}