lib/fume.js
function amdWrap(factoryCode, deps) {
        var deps = deps.map(function (dep) {
            return "'" + dep + "'";
        });
        return AMD_TEMPLATE.START +
            deps.join(',') +
            AMD_TEMPLATE.MIDDLE +
            factoryCode +
            AMD_TEMPLATE.END;
    }
function amdWrap(factoryCode, deps) {
        var deps = deps.map(function (dep) {
            return "'" + dep + "'";
        });
        return AMD_TEMPLATE.START +
            deps.join(',') +
            AMD_TEMPLATE.MIDDLE +
            factoryCode +
            AMD_TEMPLATE.END;
    }
function amdWrap ( factoryCode , deps ) { var deps = deps . map ( function ( dep ) { return "'" + dep + "'" ; } ) ; return AMD_TEMPLATE . START + deps . join ( ',' ) + AMD_TEMPLATE . MIDDLE + factoryCode + AMD_TEMPLATE . END ; }
Wrap a factory with an AMD loader.
Wrap a factory with an AMD loader .