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.
- 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.
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.