4 ms·
A new working example which shows how to use one of the nonstandard syntaxes in DefineJS, something like: use(['dependency']) .then(function(dependency){ })
by fixjs 12y ago
A new working example which shows how to use one of the nonstandard syntaxes in DefineJS, something like:
use(['dependency'])
.then(function(dependency){
})
.then()
.cache();
Imagine a control flow in the module definition, or having different private scopes when defining a new module.