function setRepeat(repeat) {
    /*
      Set the global repeat to be toggled
    */
    _config2.default.repeat = repeat;
  }
Sets the state of the repeat for a song.

@access public
@param {boolean} repeat - A boolean representing whether the repeat should be on or off