function addOptions(allObjects){
  const template = $('#dropDownTemplate').html();
  const render = Handlebars.compile(template);

  let optionsArray = [];
  let filteredObjects = filterKeywords(allObjects);

  filteredObjects.forEach(object => {
    optionsArray.push(render(object))
  });

  $('#optionsGoHere').append(optionsArray);
}
//Accesses options template, adds options to select

Accesses options template, adds options to select
Accesses options template adds options to select
function addOptions(allObjects){
  const template = $('#dropDownTemplate').html();
  const render = Handlebars.compile(template);
  let optionsArray = [];
  let filteredObjects = filterKeywords(allObjects);
  filteredObjects.forEach(object => {
    optionsArray.push(render(object))
  });
  $('#optionsGoHere').append(optionsArray);
}
function addOptions ( allObjects ) { const template = $ ( '#dropDownTemplate' ) . html ( ) ; const render = Handlebars . compile ( template ) ; let optionsArray = [ ] ; let filteredObjects = filterKeywords ( allObjects ) ; filteredObjects . forEach ( object => { optionsArray . push ( render ( object ) ) } ) ; $ ( '#optionsGoHere' ) . append ( optionsArray ) ; }
Accesses options template, adds options to select
Accesses options template adds options to select