<commit_before>#GoJS

GoJS is a JavaScript module loader for web, which can organize your codes and modules in a elegant way. It solves the problem of module dependencies and naming conflicts, but also solves the difficulty in merging compaction beside the other similar frameworks, so you can make your coding more enjoyable.

##Usage

###1st Step, Initialize GoJS

```
<!--
data-main: The entry module
-->
<script id="gojsnode" src="path/to/go.js" data-main="main"></script>
```

You can also use advanced configuration:

```
<script src="path/to/go.js"></script>
<script>
// Configure GoJS (the following parameters are optional)
gojs.config({
	// A map used for simplify long module identifications
	alias: {
		'jquery': 'http://example.com/path/to/lib/jquery-2.1.1.min.js'
	},
	// A map used for simplify long paths
	paths: {
		'deepdir': 'path/to/a/deep/dir'
	},
	// In some scenarios, module path may be determined during run time, it can be configured by the vars option
	vars: {
		'locale': document.location.hash || 'zh-cn'
	},
	// A map used for path conversions
	map: {
		// For example, foo.js and bar.js were merged into foo-bar.min.js
		'foo-bar.min': ['foo', 'bar']
	},
	// For the expansion of other loaders
	loaders: [
		txt: function(uri, expose){
			// ...
			// expose(exports);
		}
	],
	// Pre-load plugins or modules
	preload: [<commit_msg>Update README_EN.md<commit_after>#GoJS

GoJS is a JavaScript module loader for web, which can organize your codes and modules in a elegant way. It solves the problem of module dependencies and naming conflicts, but also solves the difficulty in merging compaction beside the other similar frameworks, so you can make your coding more enjoyable.

##Usage

###1st Step, Initialize GoJS

```
<!--
data-main: The entry module
-->
<script id="gojsnode" src="path/to/go.js" data-main="main"></script>
```

You can also use advanced configuration:

```
<script src="path/to/go.js"></script>
<script>
// Configure GoJS (all the following parameters are optional)
gojs.config({
	// A map used for simplify long module identifications
	alias: {
		'jquery': 'http://example.com/path/to/lib/jquery-2.1.1.min.js'
	},
	// A map used for simplify long paths
	paths: {
		'deepdir': 'path/to/a/deep/dir'
	},
	// In some scenarios, module path may be determined during run time, it can be configured by the vars option
	vars: {
		'locale': document.location.hash || 'zh-cn'
	},
	// A map used for path conversions
	map: {
		// For example, foo.js and bar.js were merged into foo-bar.min.js
		'foo-bar.min': ['foo', 'bar']
	},
	// For the expansion of other loaders
	loaders: [
		txt: function(uri, expose){
			// ...
			// expose(exports);
		}
	],
	// Pre-load plugins or modules
	preload: [
{'fraction_non_alphanumeric': 0.133406432748538, 'fraction_numerical': 0.0029239766081871343, 'mean_word_length': 3.5616666666666665, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, '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': '594872', 'n_tokens_mistral': 900, 'n_tokens_neox': 856, 'n_words': 322}