function songEnded() {
		if (_config2.default.continue_next) {
			/*
   	If the active playlist is not set, we set the
   	next song that's in the songs array.
   */
			if (_config2.default.active_playlist == '' || _config2.default.active_playlist == null) {
				_helpers2.default.setNext(true);
			} else {
				/*
    	Set the next song in the playlist
    */
				_helpers2.default.setNextPlaylist(_config2.default.active_playlist, true);
			}
		} else {
			if (!_config2.default.is_touch_moving) {
				/*
    	Sets all of the play/pause buttons to pause
    */
				_visual2.default.setPlayPauseButtonsToPause();

				/*
    	Stops the active song.
    */
				_core2.default.stop();
			}
		}
	}
/**
  * When the song has ended, handles what to do next
  *
  * HANDLER FOR: ended
  *
  * @access public
  */
When the song has ended, handles what to do next
HANDLER FOR: ended

@access public
When the song has ended handles what to do next HANDLER FOR : ended @access public
function songEnded() {
		if (_config2.default.continue_next) {
			if (_config2.default.active_playlist == '' || _config2.default.active_playlist == null) {
				_helpers2.default.setNext(true);
			} else {
				_helpers2.default.setNextPlaylist(_config2.default.active_playlist, true);
			}
		} else {
			if (!_config2.default.is_touch_moving) {
				_visual2.default.setPlayPauseButtonsToPause();
				_core2.default.stop();
			}
		}
	}
function songEnded ( ) { if ( _config2 . default . continue_next ) { if ( _config2 . default . active_playlist == '' || _config2 . default . active_playlist == null ) { _helpers2 . default . setNext ( true ) ; } else { _helpers2 . default . setNextPlaylist ( _config2 . default . active_playlist , true ) ; } } else { if ( ! _config2 . default . is_touch_moving ) { _visual2 . default . setPlayPauseButtonsToPause ( ) ; _core2 . default . stop ( ) ; } } }
When the song has ended, handles what to do next
 HANDLER FOR: ended
When the song has ended handles what to do next HANDLER FOR : ended
/*
   	If the active playlist is not set, we set the
   	next song that's in the songs array.
   */ /*
    	Set the next song in the playlist
    */ /*
    	Sets all of the play/pause buttons to pause
    */ /*
    	Stops the active song.
    */