web/lib/results.js
function gotNavigation(results) {
  console.log('gotNavigation', results, browser);
  var browser;
  if (results.navigator === 'treemap') {
    browser = browseTreemap;
  } else if (results.navigator === 'facet') {
    browser = browseFacet;
  } else if (results.navigator === 'cluster') {
    browser = browseCluster;
  } else if (results.navigator === 'debug') {
    browser = browseDebug;
  }
  if (browser) {
    $('.browse.sidebar').sidebar('show');
    $('#browse').html();
    browser.render('#browse', results, resultView, context);
  } else {
    $('.browse.sidebar').sidebar('hide');
  }
}
function gotNavigation(results) {
  console.log('gotNavigation', results, browser);
  var browser;
  if (results.navigator === 'treemap') {
    browser = browseTreemap;
  } else if (results.navigator === 'facet') {
    browser = browseFacet;
  } else if (results.navigator === 'cluster') {
    browser = browseCluster;
  } else if (results.navigator === 'debug') {
    browser = browseDebug;
  }
  if (browser) {
    $('.browse.sidebar').sidebar('show');
    $('#browse').html();
    browser.render('#browse', results, resultView, context);
  } else {
    $('.browse.sidebar').sidebar('hide');
  }
}
function gotNavigation ( results ) { console . log ( 'gotNavigation' , results , browser ) ; var browser ; if ( results . navigator === 'treemap' ) { browser = browseTreemap ; } else if ( results . navigator === 'facet' ) { browser = browseFacet ; } else if ( results . navigator === 'cluster' ) { browser = browseCluster ; } else if ( results . navigator === 'debug' ) { browser = browseDebug ; } if ( browser ) { $ ( '.browse.sidebar' ) . sidebar ( 'show' ) ; $ ( '#browse' ) . html ( ) ; browser . render ( '#browse' , results , resultView , context ) ; } else { $ ( '.browse.sidebar' ) . sidebar ( 'hide' ) ; } }
Navigation results to accompany results
Navigation results to accompany results