function updateResults() {
  $.getJSON(window.location + 'filter', {
    measure: _store.measure,
    time: _store.time,
    dag: _store.dag
  }, function (data) {
    // convert dict to array
    var array = [];
    for (var key in data) {
      array.push(data[key]);
    }
    _store.results = array;
    _store.updating = false;
    FilterStore.emit(FILTER_CHANGE_EVENT);
  });
}
// The contents of the search bar that filters results
The contents of the search bar that filters results
The contents of the search bar that filters results
function updateResults() {
  $.getJSON(window.location + 'filter', {
    measure: _store.measure,
    time: _store.time,
    dag: _store.dag
  }, function (data) {
    var array = [];
    for (var key in data) {
      array.push(data[key]);
    }
    _store.results = array;
    _store.updating = false;
    FilterStore.emit(FILTER_CHANGE_EVENT);
  });
}
function updateResults ( ) { $ . getJSON ( window . location + 'filter' , { measure : _store . measure , time : _store . time , dag : _store . dag } , function ( data ) { var array = [ ] ; for ( var key in data ) { array . push ( data [ key ] ) ; } _store . results = array ; _store . updating = false ; FilterStore . emit ( FILTER_CHANGE_EVENT ) ; } ) ; }
The contents of the search bar that filters results
The contents of the search bar that filters results
// convert dict to array