acquire.js
function(paths, callback, results, cached) {
        results = results || [];

        if(!paths.length) {
            callback.apply(null, results);
            return results;
        }

        var path = paths.shift();

        //what do we do if it's not a string ?
        if(typeof path !== 'string') {
            results.push(null);
            //um skip it?
            loadArray(paths, callback, results, cached);
            return;
        }

        acquire.loadPath(path, function(result) {
            results.push(result);
            loadArray(paths, callback, results, cached);
        }, cached);
    }
function(paths, callback, results, cached) {
        results = results || [];

        if(!paths.length) {
            callback.apply(null, results);
            return results;
        }

        var path = paths.shift();

        //what do we do if it's not a string ?
        if(typeof path !== 'string') {
            results.push(null);
            //um skip it?
            loadArray(paths, callback, results, cached);
            return;
        }

        acquire.loadPath(path, function(result) {
            results.push(result);
            loadArray(paths, callback, results, cached);
        }, cached);
    }
function ( paths , callback , results , cached ) { results = results || [ ] ; if ( ! paths . length ) { callback . apply ( null , results ) ; return results ; } var path = paths . shift ( ) ; //what do we do if it's not a string ? if ( typeof path !== 'string' ) { results . push ( null ) ; //um skip it? loadArray ( paths , callback , results , cached ) ; return ; } acquire . loadPath ( path , function ( result ) { results . push ( result ) ; loadArray ( paths , callback , results , cached ) ; } , cached ) ; }
Loads files by the list

@param array
@param function
@param array current results
@param bool whether to use cache
@return void
Loads files by the list