lib/sources/asset/index.js
function(files, next) {
        var i = files.indexOf(id);

        if (i < 0) {
          return next({
            error: 'NOT_FOUND',
            description: 'Asset not available: ' + searchDir + id
          });
        }

        next(null, files[i]);
      }
function(files, next) {
        var i = files.indexOf(id);

        if (i < 0) {
          return next({
            error: 'NOT_FOUND',
            description: 'Asset not available: ' + searchDir + id
          });
        }

        next(null, files[i]);
      }
function ( files , next ) { var i = files . indexOf ( id ) ; if ( i < 0 ) { return next ( { error : 'NOT_FOUND' , description : 'Asset not available: ' + searchDir + id } ) ; } next ( null , files [ i ] ) ; }
find Asset for id
find Asset for id