enterprise standard loader
JavaScript HTML Other
Clone or download
Latest commit d4276e8 Mar 28, 2018
Permalink
Failed to load latest commit information.
doc add shim Dec 1, 2016
src 2.2.1 Mar 28, 2018
test Remove unused prepare.js Mar 27, 2018
tool dist script Dec 26, 2017
.editorconfig update editorconfig May 8, 2014
.gitignore dist script Dec 26, 2017
CDN.md 2.1.6 Dec 2, 2016
CHANGELOG.md 2.2.1 Mar 28, 2018
LICENSE add License May 20, 2013
README.md update latest requirejs size Sep 3, 2017
package.json 2.2.1 Mar 28, 2018

README.md

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):

了解AMD (About AMD)

ESL vs RequireJS

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

ESL的配置项 (CONFIGURATION OPTIONS)

查看 ESL的配置文档

See Configuration Options

CDN

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

<!-- compressed -->
<script src="http://s1.bdstatic.com/r/www/cache/efe/esl/2-1-6/esl.js"></script>

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

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

过往版本 (Old version)

体积对比 (FILE SIZES)

uglifyjs -mc + gzip

  • esl 2.1.6 3.5k
  • requirejs 2.3.5 6.5k

性能对比 (PERFORMANCE)

查看 wiki文档

See wiki page

了解ESL的进化史 (CHANGE LOG)

了解ESL的进化史(CHANGE LOG)

错误信息 (ERROR MESSAGE)

阅读 ESL 中的错误提示信息 一文,以帮助您使用 ESL 时进行错误追查与调试。