Skip to content
项目

关于

包含异步模块定义(AMD)API

开发工具

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
+1
1个月
0

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

This repo holds the API specifications for AMD and some APIs that are strongly related to AMD.

  • AMD: The Asynchronous Module Definition. The primary building block for referencing and defining modular JS code.
  • require: An API for the require() function that allows dynamic, asynchronous loading of modules, and for resolving some module ID-based strings to file paths.
  • Loader Plugins: Loader plugins extend an AMD implementation by allowing loading of resources that are not traditional JavaScript dependencies.
  • Common-Config: Optional common configuration. If a loader supports functionality that matches capabilities specified in these configuration values, these structures should be used to allow easier interop with other loaders.

If you are implementing an AMD loader, the amd-implement list is for discussions that do not fit into smaller items that can be tracked by issue tickets.

Some documents on the wiki that are not actual APIs but information related to AMD use:

  • jQuery-and-AMD: Describes jQuery 1.7+ support for registering as an AMD module, but only if define.amd.jQuery is set to true.

Documents related to AMD and its use in other libraries:

  • AMD Forks: A listing of forks for libraries that have AMD registration built in.

The wiki for this project also contains copies of the information in this repo. Those pages are kept for historical reasons/links, but the contents of this repo are considered the definitive source.


CC0
To the extent possible under law, the amdjs organization has waived all copyright and related or neighboring rights to AMD specifications. This work is published from: United States.

探索相关项目

加载中…