This provides implementations of Asynchronous Module Definition's define()
and require()
functions. The minified code comes out around 550 bytes.
This enables module definitions, but it doesn't actually fetch any modules that are missing. If you want to automatically fetch modules, see "Extending" below.
The "CommonJS"-style hacks are not supported (e.g. special behaviour for dependencies "module"
, "require"
or "exports"
).