Teeny tiny AMD loader. About 1.2k minifed and gzipped.
Because you like things that come in small packages.
- Named modules
- Anonymous modules
baseUrl
configdata-main="module"
attribute for autoloading- Browsers: Chrome, Firefox, Safari, Opera, IE8+
define(name, [dependencies], object or function)
define(name, object or function)
define([dependencies], object or function)
define(object or function)
require([modules], callback)
require(module, callback)
inject(javascript file, callback)
tinyamd.config({baseUrl: absolute path})
Heck yea. Try messing out with the files in /tests/
Because you need full config support