Giter VIP home page Giter VIP logo

esl's Introduction

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 vs RequireJS

  • 具有更小的体积 (Smaller)
  • 具有更高的性能 (Higher performance)
  • 不支持在非浏览器端使用 (Browser only)
  • 依赖模块用时定义 (Lazy define)
  • 支持noRequests指定无需请求的模块 (noRequests is supported)
  • 尚未支持以下配置项:shim (shim is not supported)

ESL的配置项 (CONFIGURATION OPTIONS)

查看 ESL的配置文档

See Configuration Options

CDN

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

<!-- normal -->
<script src="http://s1.bdstatic.com/r/www/cache/ecom/esl/1-8-4/esl.js"></script>

<!-- min -->
<script src="http://s1.bdstatic.com/r/www/cache/ecom/esl/1-8-4/esl.min.js"></script>

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

过往版本

Old version

体积对比 (FILE SIZES)

uglifyjs -mc + gzip

  • esl 1.8.4 normal 3.4k
  • esl 1.8.4 min 3.2k
  • requirejs 2.1.14 6.1k

性能对比 (PERFORMANCE)

查看 wiki文档

See wiki page

扩展阅读 (SEE ALSO)

esl's People

Contributors

erik168 avatar otakustay avatar errorrik avatar leeight avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.