function syncRepeatSong() {
		/*
  	Gets all of the repeat song classes
  */
		var repeatSongClasses = document.getElementsByClassName("amplitude-repeat-song");

		/*
  	Iterate over all of the repeat song classes. If repeat is on,
  	then add the 'amplitude-repeat-song-on' class and remove the
  	'amplitude-repeat-song-off' class. If it's off, then do the
  	opposite.
  */
		for (var i = 0; i < repeatSongClasses.length; i++) {
			if (_config2.default.repeat_song) {
				repeatSongClasses[i].classList.add('amplitude-repeat-song-on');
				repeatSongClasses[i].classList.remove('amplitude-repeat-song-off');
			} else {
				repeatSongClasses[i].classList.remove('amplitude-repeat-song-on');
				repeatSongClasses[i].classList.add('amplitude-repeat-song-off');
			}
		}
	}
/**
  * Syncs repeat for all of the repeat song buttons. Users
  * can apply styles to the 'amplitude-repeat-song-on' and
  * 'amplitude-repeat-song-off' classes. They represent the state
  * of the player.
  */
Syncs repeat for all of the repeat song buttons.
Syncs repeat for all of the repeat song buttons .
function syncRepeatSong() {
		var repeatSongClasses = document.getElementsByClassName("amplitude-repeat-song");
		for (var i = 0; i < repeatSongClasses.length; i++) {
			if (_config2.default.repeat_song) {
				repeatSongClasses[i].classList.add('amplitude-repeat-song-on');
				repeatSongClasses[i].classList.remove('amplitude-repeat-song-off');
			} else {
				repeatSongClasses[i].classList.remove('amplitude-repeat-song-on');
				repeatSongClasses[i].classList.add('amplitude-repeat-song-off');
			}
		}
	}
function syncRepeatSong ( ) { var repeatSongClasses = document . getElementsByClassName ( "amplitude-repeat-song" ) ; for ( var i = 0 ; i < repeatSongClasses . length ; i ++ ) { if ( _config2 . default . repeat_song ) { repeatSongClasses [ i ] . classList . add ( 'amplitude-repeat-song-on' ) ; repeatSongClasses [ i ] . classList . remove ( 'amplitude-repeat-song-off' ) ; } else { repeatSongClasses [ i ] . classList . remove ( 'amplitude-repeat-song-on' ) ; repeatSongClasses [ i ] . classList . add ( 'amplitude-repeat-song-off' ) ; } } }
Syncs repeat for all of the repeat song buttons.
Syncs repeat for all of the repeat song buttons .
/*
  	Gets all of the repeat song classes
  */ /*
  	Iterate over all of the repeat song classes. If repeat is on,
  	then add the 'amplitude-repeat-song-on' class and remove the
  	'amplitude-repeat-song-off' class. If it's off, then do the
  	opposite.
  */