Comment Comment by fixjs 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. parent fixjs 12 years ago
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.