<commit_before>ESL (Enterprise Standard Loader)
=====================

ESL是一个`浏览器端`、`符合AMD`的标准加载器，适合用于现代Web浏览器端应用的入口与模块管理。

ESL is a browser-only, amd-compliant module loader. In modern web applications, it is normally used in startup script or as a module manager.

通过`右键另存`的方式下载ESL (Download by `Save As`):

- [压缩代码 (Compressed)](http://s1.bdstatic.com/r/www/cache/ecom/esl/2-1-0/esl.js)
- [源码 (Source)](http://s1.bdstatic.com/r/www/cache/ecom/esl/2-1-0/esl.source.js)

### 了解AMD (About AMD)

- [前端为什么需要模块化? (WHY WEB MODULES?)](http://requirejs.org/docs/why.html)
- [为什么需要使用AMD? (WHY AMD?)](http://requirejs.org/docs/whyamd.html)
- [玩转AMD系列 - 设计思路篇](http://efe.baidu.com/blog/dissecting-amd-what/)
- [玩转AMD系列 - 应用实践篇](http://efe.baidu.com/blog/dissecting-amd-how/)
- [玩转AMD系列 - Loader篇](http://efe.baidu.com/blog/dissecting-amd-loader/)
- [AMD spec](https://github.com/amdjs/amdjs-api/wiki/AMD)
- [AMD Require](https://github.com/amdjs/amdjs-api/wiki/require)
- [AMD Common-Config](https://github.com/amdjs/amdjs-api/wiki/Common-Config)
- [AMD Loader-Plugins](https://github.com/amdjs/amdjs-api/wiki/Loader-Plugins)


### ESL vs RequireJS

- 体积更小 (Smaller) 
- 性能更高 (Higher performance)
- 更健壮 (More Robustness)
- 不支持在`非浏览器端`使用 (Browser only)
- 依赖模块`用时定义` (Lazy define)


### ESL的配置项 (CONFIGURATION OPTIONS)

查看 [ESL的配置文档](doc/config.md)

See [Configuration Options](doc/config.md)


### CDN

当前版本的CDN引用：(latest)

```html
<!-- compressed -->
<script src="http://s1.bdstatic.com/r/www/cache/ecom/esl/2-1-0/esl.js"></script>

<!-- compressed(https) -->
<script src="https://ss1.bdstatic.com/5eN1bjq8AAUYm2zgoY3K/r/www/cache/ecom/esl/2-1-0/esl.js"></script>

<!-- source -->
<script src="http://s1.bdstatic.com/r/www/cache/ecom/esl/2-1-0/esl.source.js"></script>
```

[过往版本 (Old version)](CDN.md)


### 体积对比 (FILE SIZES)

`uglifyjs -mc + gzip`

- `esl 2.1.0` 3.5k
- `requirejs 2.1.15` 6.2k


### 性能对比 (PERFORMANCE)

查看 [wiki文档](https://github.com/ecomfe/esl/wiki/1.8.0-%E6%A8%A1%E5%9D%97%E5%8A%A0%E8%BD%BD%E6%97%B6%E9%97%B4%E6%B5%8B%E8%AF%95%E7%BB%93%E6%9E%9C%E8%AE%B0%E5%BD%95)

See [wiki page](https://github.com/ecomfe/esl/wiki/1.8.0-%E6%A8%A1%E5%9D%97%E5%8A%A0%E8%BD%BD%E6%97%B6%E9%97%B4%E6%B5%8B%E8%AF%95%E7%BB%93%E6%9E%9C%E8%AE%B0%E5%BD%95)


### 了解ESL的进化史 (CHANGE LOG)

[了解ESL的进化史(CHANGE LOG)](CHANGELOG.md)


<commit_msg>update requirejs filesize<commit_after>ESL (Enterprise Standard Loader)
=====================

ESL是一个`浏览器端`、`符合AMD`的标准加载器，适合用于现代Web浏览器端应用的入口与模块管理。

ESL is a browser-only, amd-compliant module loader. In modern web applications, it is normally used in startup script or as a module manager.

通过`右键另存`的方式下载ESL (Download by `Save As`):

- [压缩代码 (Compressed)](http://s1.bdstatic.com/r/www/cache/ecom/esl/2-1-0/esl.js)
- [源码 (Source)](http://s1.bdstatic.com/r/www/cache/ecom/esl/2-1-0/esl.source.js)

### 了解AMD (About AMD)

- [前端为什么需要模块化? (WHY WEB MODULES?)](http://requirejs.org/docs/why.html)
- [为什么需要使用AMD? (WHY AMD?)](http://requirejs.org/docs/whyamd.html)
- [玩转AMD系列 - 设计思路篇](http://efe.baidu.com/blog/dissecting-amd-what/)
- [玩转AMD系列 - 应用实践篇](http://efe.baidu.com/blog/dissecting-amd-how/)
- [玩转AMD系列 - Loader篇](http://efe.baidu.com/blog/dissecting-amd-loader/)
- [AMD spec](https://github.com/amdjs/amdjs-api/wiki/AMD)
- [AMD Require](https://github.com/amdjs/amdjs-api/wiki/require)
- [AMD Common-Config](https://github.com/amdjs/amdjs-api/wiki/Common-Config)
- [AMD Loader-Plugins](https://github.com/amdjs/amdjs-api/wiki/Loader-Plugins)


### ESL vs RequireJS

- 体积更小 (Smaller) 
- 性能更高 (Higher performance)
- 更健壮 (More Robustness)
- 不支持在`非浏览器端`使用 (Browser only)
- 依赖模块`用时定义` (Lazy define)


### ESL的配置项 (CONFIGURATION OPTIONS)

查看 [ESL的配置文档](doc/config.md)

See [Configuration Options](doc/config.md)


### CDN

当前版本的CDN引用：(latest)

```html
<!-- compressed -->
<script src="http://s1.bdstatic.com/r/www/cache/ecom/esl/2-1-0/esl.js"></script>

<!-- compressed(https) -->
<script src="https://ss1.bdstatic.com/5eN1bjq8AAUYm2zgoY3K/r/www/cache/ecom/esl/2-1-0/esl.js"></script>

<!-- source -->
<script src="http://s1.bdstatic.com/r/www/cache/ecom/esl/2-1-0/esl.source.js"></script>
```

[过往版本 (Old version)](CDN.md)


### 体积对比 (FILE SIZES)

`uglifyjs -mc + gzip`

- `esl 2.1.0` 3.5k
- `requirejs 2.1.22` 6.3k


### 性能对比 (PERFORMANCE)

查看 [wiki文档](https://github.com/ecomfe/esl/wiki/1.8.0-%E6%A8%A1%E5%9D%97%E5%8A%A0%E8%BD%BD%E6%97%B6%E9%97%B4%E6%B5%8B%E8%AF%95%E7%BB%93%E6%9E%9C%E8%AE%B0%E5%BD%95)

See [wiki page](https://github.com/ecomfe/esl/wiki/1.8.0-%E6%A8%A1%E5%9D%97%E5%8A%A0%E8%BD%BD%E6%97%B6%E9%97%B4%E6%B5%8B%E8%AF%95%E7%BB%93%E6%9E%9C%E8%AE%B0%E5%BD%95)


### 了解ESL的进化史 (CHANGE LOG)

[了解ESL的进化史(CHANGE LOG)](CHANGELOG.md)



{'fraction_non_alphanumeric': 0.22641509433962265, 'fraction_numerical': 0.04888507718696398, 'mean_word_length': 4.573476702508961, 'pattern_counts': {'":': 0, '<': 21, '<?xml version=': 0, '>': 21, 'https://': 14, 'lorem ipsum': 0, 'www.': 10, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6970138', 'n_tokens_mistral': 2523, 'n_tokens_neox': 2515, 'n_words': 252}