<commit_before># PreloadJS

PreloadJS is a library to make working with asset preloading easier. It provides a consistent API for loading different
file types, automatic detection of XHR (XMLHttpRequest) availability with a fallback to tag-base loading, composite
progress events, and a plugin model to assist with preloading in other libraries such as [SoundJS](http://www.soundjs.com).

## Example
	var preload = new createjs.LoadQueue();
	preload.addEventListener("fileload", handleFileComplete);
	preload.loadFile('http://createjs.com/images/404/gBot-confused.jpg');
	function handleFileComplete(event) {
		document.body.appendChild(event.result);
	}


## Support and Resources
* Find examples and more information at the [PreloadJS web site](http://www.preloadjs.com/)
* Read the [documentation](http://createjs.com/Docs/PreloadJS/)
* You can also ask questions and interact with other users at our [Community](http://community.createjs.com) site.<commit_msg>Added syntax highlighting to README<commit_after># PreloadJS

PreloadJS is a library to make working with asset preloading easier. It provides a consistent API for loading different
file types, automatic detection of XHR (XMLHttpRequest) availability with a fallback to tag-base loading, composite
progress events, and a plugin model to assist with preloading in other libraries such as [SoundJS](http://www.soundjs.com).

## Example

```javascript
var preload = new createjs.LoadQueue();
preload.addEventListener("fileload", handleFileComplete);
preload.loadFile('http://createjs.com/images/404/gBot-confused.jpg');
function handleFileComplete(event) {
	document.body.appendChild(event.result);
}
```

## Support and Resources
* Find examples and more information at the [PreloadJS web site](http://www.preloadjs.com/)
* Read the [documentation](http://createjs.com/Docs/PreloadJS/)
* You can also ask questions and interact with other users at our [Community](http://community.createjs.com) site.
{'fraction_non_alphanumeric': 0.10091743119266056, 'fraction_numerical': 0.0030581039755351682, 'mean_word_length': 5.609427609427609, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, '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': '6042482', 'n_tokens_mistral': 537, 'n_tokens_neox': 521, 'n_words': 190}