docs: function resolveGlobsAsync(filesAndPatterns, rootSrcDir) {
    var options = {cwd: rootSrcDir};
  
    var tasks = {};
    filesAndPatterns.forEach(function(fileOrPattern) {
      if (isGlobPattern(fileOrPattern)) {
        tasks[fileOrPattern] =
            underscore.partial(resolveGlobAsync, fileOrPattern, options);
      }
    });
  
    // TODO: Add kew.nfcall() and use that instead.
    // https://github.com/Obvious/kew/pull/21
    var deferred = kew.defer();
    async.parallel(tasks, deferred.makeNodeResolver());
    return deferred.promise;
  }