js/site.js
// turns the array of strings into objects
turns the array of strings into objects
turns the array of strings into objects
function arrayIntoObjects(array) {
  var tags = []
  for (var i = 0; i < array.length; ++i)
    if (array[i] !== undefined) tags.push({ "tag" : array[i]})
  return tags
}
function arrayIntoObjects ( array ) { var tags = [ ] for ( var i = 0 ; i < array . length ; ++ i ) if ( array [ i ] !== undefined ) tags . push ( { "tag" : array [ i ] } ) return tags }
turns the array of strings into objects
turns the array of strings into objects