src/fetchViews.js
function fetchViews(match) {
  var activeTrace = match.activeTrace.map(fetchViewsStep);

  return activeTrace.some(Promise.is) ?
    Promise.all(activeTrace).then((activeTrace) => merge(match, {activeTrace})) :
    Promise.resolve(merge(match, {activeTrace}));
}
function fetchViews(match) {
  var activeTrace = match.activeTrace.map(fetchViewsStep);

  return activeTrace.some(Promise.is) ?
    Promise.all(activeTrace).then((activeTrace) => merge(match, {activeTrace})) :
    Promise.resolve(merge(match, {activeTrace}));
}
function fetchViews ( match ) { var activeTrace = match . activeTrace . map ( fetchViewsStep ) ; return activeTrace . some ( Promise . is ) ? Promise . all ( activeTrace ) . then ( ( activeTrace ) => merge ( match , { activeTrace } ) ) : Promise . resolve ( merge ( match , { activeTrace } ) ) ; }
Fetch views for match

@param {Match} match
@returns {Match}
Fetch views for match