You can clone with
error handling for $.ajax()
Exposed define in global scope as per AMD spec.
Callback should be optional for require.
Indents are now spaces instead of tabs.
Some minor cleanup. Updated QUnit.
Added QUnit and created unit tests for jQuery AMD. Fixed bugs thereaf…
Renamed $.use to $.require. Fixed a stupid bug.
Added some tests showing the plugin in action.
Cleaned up code.
Checked in minified version.
Fixed bug allowing manual moduleName in jQuery.define.
Checked in minified version - just 590 bytes min/gzip
First commit jQuery AMD plugin.