This repository was archived by the owner on Dec 31, 2017. It is now read-only.
This repository was archived by the owner on Dec 31, 2017. It is now read-only.
UMD modules #91
Open
Description
I have a module that I use in both Node and Dojo, so I have some kind of UMD mechanism:
({
define : typeof define != "undefined" ? define : function(deps, factory) {
module.exports = factory();
}
}).define([], function() {
Is there any way to use this syntax and correctly parse the docs? Currently it fails to load this file as dependency of other AMD module.
Or could you give me a hint, what would be the best way to implement custom 'callHandler'? The doc says it's possible, but there are not instructions how should a callHandler be implmented.
Metadata
Metadata
Assignees
Labels
No labels