function computeSongDuration() {
		/*
  	Initialize the song duration object that will be returned.
  */
		var songDuration = {};

		/*
  	Computes the duration of the song's seconds.
  */
		var songDurationSeconds = (Math.floor(_config2.default.active_song.duration % 60) < 10 ? '0' : '') + Math.floor(_config2.default.active_song.duration % 60);

		/*
  	Computes the duration of the song's minutes.
  */
		var songDurationMinutes = Math.floor(_config2.default.active_song.duration / 60);

		/*
  	Initialize the hours duration variable.
  */
		var songDurationHours = '0';

		/*
  	If the song duration minutes is less than 10, we add a leading 0.
  */
		if (songDurationMinutes < 10) {
			songDurationMinutes = '0' + songDurationMinutes;
		}

		/*
  	If there is more than 60 minutes in the song, then we
  	extract the hours.
  */
		if (songDurationMinutes >= 60) {
			songDurationHours = Math.floor(songDurationMinutes / 60);
			songDurationMinutes = songDurationMinutes % 60;

			/*
   	If the song duration minutes is less than 10 we append
   	the additional 0.
   */
			if (songDurationMinutes < 10) {
				songDurationMinutes = '0' + songDurationMinutes;
			}
		}

		/*
  	Build a clean song duration object and send back the appropriate information.
  */
		songDuration.seconds = songDurationSeconds;
		songDuration.minutes = songDurationMinutes;
		songDuration.hours = songDurationHours;

		return songDuration;
	}
/**
  * Computes the current song duration. Breaks down where the song is into
  * hours, minutes, seconds and formats it to be displayed to the user.
  *
  * @access public
  */
Computes the current song duration. Breaks down where the song is into
hours, minutes, seconds and formats it to be displayed to the user.

@access public
Computes the current song duration . Breaks down where the song is into hours minutes seconds and formats it to be displayed to the user . @access public
function computeSongDuration() {
		var songDuration = {};
		var songDurationSeconds = (Math.floor(_config2.default.active_song.duration % 60) < 10 ? '0' : '') + Math.floor(_config2.default.active_song.duration % 60);
		var songDurationMinutes = Math.floor(_config2.default.active_song.duration / 60);
		var songDurationHours = '0';
		if (songDurationMinutes < 10) {
			songDurationMinutes = '0' + songDurationMinutes;
		}
		if (songDurationMinutes >= 60) {
			songDurationHours = Math.floor(songDurationMinutes / 60);
			songDurationMinutes = songDurationMinutes % 60;
			if (songDurationMinutes < 10) {
				songDurationMinutes = '0' + songDurationMinutes;
			}
		}
		songDuration.seconds = songDurationSeconds;
		songDuration.minutes = songDurationMinutes;
		songDuration.hours = songDurationHours;
		return songDuration;
	}
function computeSongDuration ( ) { var songDuration = { } ; var songDurationSeconds = ( Math . floor ( _config2 . default . active_song . duration % 60 ) < 10 ? '0' : '' ) + Math . floor ( _config2 . default . active_song . duration % 60 ) ; var songDurationMinutes = Math . floor ( _config2 . default . active_song . duration / 60 ) ; var songDurationHours = '0' ; if ( songDurationMinutes < 10 ) { songDurationMinutes = '0' + songDurationMinutes ; } if ( songDurationMinutes >= 60 ) { songDurationHours = Math . floor ( songDurationMinutes / 60 ) ; songDurationMinutes = songDurationMinutes % 60 ; if ( songDurationMinutes < 10 ) { songDurationMinutes = '0' + songDurationMinutes ; } } songDuration . seconds = songDurationSeconds ; songDuration . minutes = songDurationMinutes ; songDuration . hours = songDurationHours ; return songDuration ; }
Computes the current song duration.
Computes the current song duration .
/*
  	Initialize the song duration object that will be returned.
  */ /*
  	Computes the duration of the song's seconds.
  */ /*
  	Computes the duration of the song's minutes.
  */ /*
  	Initialize the hours duration variable.
  */ /*
  	If the song duration minutes is less than 10, we add a leading 0.
  */ /*
  	If there is more than 60 minutes in the song, then we
  	extract the hours.
  */ /*
   	If the song duration minutes is less than 10 we append
   	the additional 0.
   */ /*
  	Build a clean song duration object and send back the appropriate information.
  */