You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Supporting asynchronous module definition [1] would allow to use
CommonJS-compliant asynchronous javascript loaders like requirejs [2] on the
client side.
This also allows to declare dependencies between modules, and to ensure that
some module is loaded before an other.
This would look like this for Markdown.Converter:
``` Javascript
define(function() {
// return Converter here
});
And for Markdown.Editor:
And in the client code:
With non-CommonJs compat:
[1] http://wiki.commonjs.org/wiki/Modules/AsynchronousDefinition
[2] http://requirejs.org/
The text was updated successfully, but these errors were encountered: