function shufflePlaylistSongs(playlist) {
		/*
  	Builds a temporary array with the length of the playlist songs.
  */
		var shuffleTemp = new Array(_config2.default.playlists[playlist].length);

		/*
  	Set the temporary array equal to the playlist array.
  */
		for (var i = 0; i < _config2.default.playlists[playlist].length; i++) {
			shuffleTemp[i] = _config2.default.songs[_config2.default.playlists[playlist][i]];
			shuffleTemp[i].original_index = _config2.default.playlists[playlist][i];
		}

		/*
  	Iterate ove rthe songs and generate random numbers to
  	swap the indexes of the shuffle array.
  */
		for (var _i2 = _config2.default.playlists[playlist].length - 1; _i2 > 0; _i2--) {
			var randNum = Math.floor(Math.random() * _config2.default.playlists[playlist].length + 1);
			shuffleSwap(shuffleTemp, _i2, randNum - 1);
		}

		/*
  	Set the shuffle list to the shuffle temp.
  */
		_config2.default.shuffled_playlists[playlist] = shuffleTemp;
	}
/**
  * Shuffle songs in a playlist
  *
  * Public Accessor: AmplitudeHelpers.shufflePlaylistSongs( playlist )
  *
  * @access public
  * @param {string} playlist - The playlist we are shuffling.
  */
Shuffle songs in a playlist
Public Accessor: AmplitudeHelpers.shufflePlaylistSongs( playlist )

@access public
@param {string} playlist - The playlist we are shuffling.
Shuffle songs in a playlist Public Accessor : AmplitudeHelpers . shufflePlaylistSongs ( playlist ) @access public @param { string } playlist - The playlist we are shuffling .
function shufflePlaylistSongs(playlist) {
		var shuffleTemp = new Array(_config2.default.playlists[playlist].length);
		for (var i = 0; i < _config2.default.playlists[playlist].length; i++) {
			shuffleTemp[i] = _config2.default.songs[_config2.default.playlists[playlist][i]];
			shuffleTemp[i].original_index = _config2.default.playlists[playlist][i];
		}
		for (var _i2 = _config2.default.playlists[playlist].length - 1; _i2 > 0; _i2--) {
			var randNum = Math.floor(Math.random() * _config2.default.playlists[playlist].length + 1);
			shuffleSwap(shuffleTemp, _i2, randNum - 1);
		}
		_config2.default.shuffled_playlists[playlist] = shuffleTemp;
	}
function shufflePlaylistSongs ( playlist ) { var shuffleTemp = new Array ( _config2 . default . playlists [ playlist ] . length ) ; for ( var i = 0 ; i < _config2 . default . playlists [ playlist ] . length ; i ++ ) { shuffleTemp [ i ] = _config2 . default . songs [ _config2 . default . playlists [ playlist ] [ i ] ] ; shuffleTemp [ i ] . original_index = _config2 . default . playlists [ playlist ] [ i ] ; } for ( var _i2 = _config2 . default . playlists [ playlist ] . length - 1 ; _i2 > 0 ; _i2 -- ) { var randNum = Math . floor ( Math . random ( ) * _config2 . default . playlists [ playlist ] . length + 1 ) ; shuffleSwap ( shuffleTemp , _i2 , randNum - 1 ) ; } _config2 . default . shuffled_playlists [ playlist ] = shuffleTemp ; }
Shuffle songs in a playlist
 Public Accessor: AmplitudeHelpers.shufflePlaylistSongs( playlist )
Shuffle songs in a playlist Public Accessor : AmplitudeHelpers . shufflePlaylistSongs ( playlist )
/*
  	Builds a temporary array with the length of the playlist songs.
  */ /*
  	Set the temporary array equal to the playlist array.
  */ /*
  	Iterate ove rthe songs and generate random numbers to
  	swap the indexes of the shuffle array.
  */ /*
  	Set the shuffle list to the shuffle temp.
  */