Skip to content

ecomfe/esl

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
doc
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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 时进行错误追查与调试。