function syncCurrentMinutes(minutes) {
		/*
  	Gets all of the song minute selectors.
  */
		var minuteSelectors = [];

		if (_config2.default.active_playlist != null && _config2.default.active_playlist != '') {
			minuteSelectors = ['.amplitude-current-minutes[amplitude-main-current-minutes="true"]', '.amplitude-current-minutes[amplitude-playlist-current-minutes="true"][amplitude-playlist="' + _config2.default.active_playlist + '"]', '.amplitude-current-minutes[amplitude-song-index="' + _config2.default.active_index + '"]'];
		} else {
			minuteSelectors = ['.amplitude-current-minutes[amplitude-main-current-minutes="true"]', '.amplitude-current-minutes[amplitude-song-index="' + _config2.default.active_index + '"]'];
		}

		/*
  	Grabs the current minute selectors
  */
		var currentMinuteSelectors = document.querySelectorAll(minuteSelectors.join());

		/*
  	Set the current minute selector's inner html to minutes passed in.
  */
		for (var i = 0, l = currentMinuteSelectors.length; i < l; i++) {
			/*
   	If the selector is a main selector, we set the seconds.
   */
			if (currentMinuteSelectors[i].getAttribute('amplitude-main-current-minutes') == 'true') {
				currentMinuteSelectors[i].innerHTML = minutes;
			} else {
				/*
    	If the active playlist is not null or empty
    	and the attribute of the playlist is equal to the
    	active playlist, then we set the inner html.
    */
				if (_config2.default.active_playlist != '' && _config2.default.active_playlist != null && currentMinuteSelectors[i].getAttribute('amplitude-playlist') == _config2.default.active_playlist) {
					currentMinuteSelectors[i].innerHTML = minutes;
					/*
     	If the active playlist is not set and the selector
     	does not have a playlist then we set the minutes. This
     	means that the current selector is an individual song
     	selector.
     */
				} else if (_config2.default.active_playlist == '' || _config2.default.active_playlist == null && !currentMinuteSelectors[i].hasAttribute('amplitude-playlist')) {
					currentMinuteSelectors[i].innerHTML = minutes;
					/*
     	If nothing else matches, set the selector's inner HTML to '00'
     */
				} else {
					currentMinuteSelectors[i].innerHTML = '00';
				}
			}
		}
	}
/**
  * Updates any elements that display the current minutes for the song.
  *
  * @access public
  * @param {number} minutes 	- An integer conaining how many minutes into the song.
  */
Updates any elements that display the current minutes for the song.
@access public
@param {number} minutes     - An integer conaining how many minutes into the song.
Updates any elements that display the current minutes for the song . @access public @param { number } minutes - An integer conaining how many minutes into the song .
function syncCurrentMinutes(minutes) {
		var minuteSelectors = [];
		if (_config2.default.active_playlist != null && _config2.default.active_playlist != '') {
			minuteSelectors = ['.amplitude-current-minutes[amplitude-main-current-minutes="true"]', '.amplitude-current-minutes[amplitude-playlist-current-minutes="true"][amplitude-playlist="' + _config2.default.active_playlist + '"]', '.amplitude-current-minutes[amplitude-song-index="' + _config2.default.active_index + '"]'];
		} else {
			minuteSelectors = ['.amplitude-current-minutes[amplitude-main-current-minutes="true"]', '.amplitude-current-minutes[amplitude-song-index="' + _config2.default.active_index + '"]'];
		}
		var currentMinuteSelectors = document.querySelectorAll(minuteSelectors.join());
		for (var i = 0, l = currentMinuteSelectors.length; i < l; i++) {
			if (currentMinuteSelectors[i].getAttribute('amplitude-main-current-minutes') == 'true') {
				currentMinuteSelectors[i].innerHTML = minutes;
			} else {
				if (_config2.default.active_playlist != '' && _config2.default.active_playlist != null && currentMinuteSelectors[i].getAttribute('amplitude-playlist') == _config2.default.active_playlist) {
					currentMinuteSelectors[i].innerHTML = minutes;
				} else if (_config2.default.active_playlist == '' || _config2.default.active_playlist == null && !currentMinuteSelectors[i].hasAttribute('amplitude-playlist')) {
					currentMinuteSelectors[i].innerHTML = minutes;
				} else {
					currentMinuteSelectors[i].innerHTML = '00';
				}
			}
		}
	}
function syncCurrentMinutes ( minutes ) { var minuteSelectors = [ ] ; if ( _config2 . default . active_playlist != null && _config2 . default . active_playlist != '' ) { minuteSelectors = [ '.amplitude-current-minutes[amplitude-main-current-minutes="true"]' , '.amplitude-current-minutes[amplitude-playlist-current-minutes="true"][amplitude-playlist="' + _config2 . default . active_playlist + '"]' , '.amplitude-current-minutes[amplitude-song-index="' + _config2 . default . active_index + '"]' ] ; } else { minuteSelectors = [ '.amplitude-current-minutes[amplitude-main-current-minutes="true"]' , '.amplitude-current-minutes[amplitude-song-index="' + _config2 . default . active_index + '"]' ] ; } var currentMinuteSelectors = document . querySelectorAll ( minuteSelectors . join ( ) ) ; for ( var i = 0 , l = currentMinuteSelectors . length ; i < l ; i ++ ) { if ( currentMinuteSelectors [ i ] . getAttribute ( 'amplitude-main-current-minutes' ) == 'true' ) { currentMinuteSelectors [ i ] . innerHTML = minutes ; } else { if ( _config2 . default . active_playlist != '' && _config2 . default . active_playlist != null && currentMinuteSelectors [ i ] . getAttribute ( 'amplitude-playlist' ) == _config2 . default . active_playlist ) { currentMinuteSelectors [ i ] . innerHTML = minutes ; } else if ( _config2 . default . active_playlist == '' || _config2 . default . active_playlist == null && ! currentMinuteSelectors [ i ] . hasAttribute ( 'amplitude-playlist' ) ) { currentMinuteSelectors [ i ] . innerHTML = minutes ; } else { currentMinuteSelectors [ i ] . innerHTML = '00' ; } } } }
Updates any elements that display the current minutes for the song.
Updates any elements that display the current minutes for the song .
/*
  	Gets all of the song minute selectors.
  */ /*
  	Grabs the current minute selectors
  */ /*
  	Set the current minute selector's inner html to minutes passed in.
  */ /*
   	If the selector is a main selector, we set the seconds.
   */ /*
    	If the active playlist is not null or empty
    	and the attribute of the playlist is equal to the
    	active playlist, then we set the inner html.
    */ /*
     	If the active playlist is not set and the selector
     	does not have a playlist then we set the minutes. This
     	means that the current selector is an individual song
     	selector.
     */ /*
     	If nothing else matches, set the selector's inner HTML to '00'
     */