<commit_before>ImgPreLoad
==========

This can do the pre-loading of imgs, and set the imgs on the center of container.

It's require jQuery.js (>1.7)

use it like this:

.. code::html
	
	<div id="imgBox">
		<img src="b.gif" origin_src="http://xxx/yyy/zzz.jpg" />
	</div>

	<script type="text/javascript" src="imgPreload.js"></script>
	<script type="text/javascript">
		$.each($("#imgBox img"), function(){
			imgPreLoad(300, $(this));

			// or

			// imgPreLoad([300, 300], $(this));

			// or

			// imgPreLoad({width:300, height:300}, $(this));
		});
	</script>


"b.gif" is a blank gif file in 1*1.<commit_msg>xiugai<commit_after>ImgPreLoad
==========

This can do the pre-loading of imgs, and set the imgs on the center of container.

It's require jQuery.js (>1.7)

use it like this:
	
	<div id="imgBox">
		<img src="b.gif" origin_src="http://xxx/yyy/zzz.jpg" />
		<img src="b.gif" origin_src="http://xxx/yyy/zzz.jpg" />
		<img src="b.gif" origin_src="http://xxx/yyy/zzz.jpg" />
		<img src="b.gif" origin_src="http://xxx/yyy/zzz.jpg" />
		<img src="b.gif" origin_src="http://xxx/yyy/zzz.jpg" />
	</div>

	<script type="text/javascript" src="imgPreload.js"></script>
	<script type="text/javascript">
		$.each($("#imgBox img"), function(){
			imgPreLoad(300, $(this));

			// or

			// imgPreLoad([300, 300], $(this));

			// or

			// imgPreLoad({width:300, height:300}, $(this));
		});
	</script>


"b.gif" is a blank gif file in 1*1.
{'fraction_non_alphanumeric': 0.22361111111111112, 'fraction_numerical': 0.02638888888888889, 'mean_word_length': 3.5314465408805034, 'pattern_counts': {'":': 0, '<': 21, '<?xml version=': 0, '>': 23, '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': '6997550', 'n_tokens_mistral': 626, 'n_tokens_neox': 549, 'n_words': 128}