function initializeEvents() {
		/*
  	Write out debug message
  */
		_helpers2.default.writeDebugMessage('Beginning initialization of event handlers..');

		/*
  	Sets flag that the screen is moving and not a tap
  */
		document.addEventListener('touchmove', function () {
			_config2.default.is_touch_moving = true;
		});

		/*
  	On touch end if it was a touch move event, set moving to
  	false
  */
		document.addEventListener('touchend', function () {
			if (_config2.default.is_touch_moving) {
				_config2.default.is_touch_moving = false;
			}
		});

		/*
  	On time update for the audio element, update visual displays that
  	represent the time on either a visualized element or time display.
  */
		bindTimeUpdate();

		/*
  	Binds key down event handlers for matching key codes to functions.
  */
		bindKeyDownEventHandlers();

		/*
  	When the audio element has ended playing, we handle the song
  	ending. In a single song or multiple modular song instance,
  	this just synchronizes the visuals for time and song time
  	visualization, but for a playlist it determines whether
  	it should play the next song or not.
  */
		bindSongEnded();

		/*
  	Binds progress event so we can see how much of the song is loaded.
  */
		bindProgress();

		/*
  	Binds 'amplitude-play' event handlers
  */
		bindPlay();

		/*
  	Binds 'amplitude-pause' event handlers.
  */
		bindPause();

		/*
  	Binds 'amplitude-play-pause' event handlers.
  */
		bindPlayPause();

		/*
  	Binds 'amplitude-stop' event handlers.
  */
		bindStop();

		/*
  	Binds 'amplitude-mute' event handlers.
  */
		bindMute();

		/*
  	Binds 'amplitude-volume-up' event handlers
  */
		bindVolumeUp();

		/*
  	Binds 'amplitude-volume-down' event handlers
  */
		bindVolumeDown();

		/*
  	Binds 'amplitude-song-slider' event handlers
  */
		bindSongSlider();

		/*
  	Binds 'amplitude-volume-slider' event handlers.
  */
		bindVolumeSlider();

		/*
  	Binds 'amplitude-next' event handlers.
  */
		bindNext();

		/*
  	Binds 'amplitude-prev' event handlers.
  */
		bindPrev();

		/*
  	Binds 'amplitude-shuffle' event handlers.
  */
		bindShuffle();

		/*
  	Binds 'amplitude-repeat' event handlers.
  */
		bindRepeat();

		/*
  	Binds 'amplitude-playback-speed' event handlers.
  */
		bindPlaybackSpeed();

		/*
  	Binds 'amplitude-skip-to' event handlers.
  */
		bindSkipTo();
	}
/*--------------------------------------------------------------------------
 	Initializes the handlers for the events listened to by Amplitude
 --------------------------------------------------------------------------*/
Initializes the handlers for the events listened to by Amplitude
Initializes the handlers for the events listened to by Amplitude
function initializeEvents() {
		_helpers2.default.writeDebugMessage('Beginning initialization of event handlers..');
		document.addEventListener('touchmove', function () {
			_config2.default.is_touch_moving = true;
		});
		document.addEventListener('touchend', function () {
			if (_config2.default.is_touch_moving) {
				_config2.default.is_touch_moving = false;
			}
		});
		bindTimeUpdate();
		bindKeyDownEventHandlers();
		bindSongEnded();
		bindProgress();
		bindPlay();
		bindPause();
		bindPlayPause();
		bindStop();
		bindMute();
		bindVolumeUp();
		bindVolumeDown();
		bindSongSlider();
		bindVolumeSlider();
		bindNext();
		bindPrev();
		bindShuffle();
		bindRepeat();
		bindPlaybackSpeed();
		bindSkipTo();
	}
function initializeEvents ( ) { _helpers2 . default . writeDebugMessage ( 'Beginning initialization of event handlers..' ) ; document . addEventListener ( 'touchmove' , function ( ) { _config2 . default . is_touch_moving = true ; } ) ; document . addEventListener ( 'touchend' , function ( ) { if ( _config2 . default . is_touch_moving ) { _config2 . default . is_touch_moving = false ; } } ) ; bindTimeUpdate ( ) ; bindKeyDownEventHandlers ( ) ; bindSongEnded ( ) ; bindProgress ( ) ; bindPlay ( ) ; bindPause ( ) ; bindPlayPause ( ) ; bindStop ( ) ; bindMute ( ) ; bindVolumeUp ( ) ; bindVolumeDown ( ) ; bindSongSlider ( ) ; bindVolumeSlider ( ) ; bindNext ( ) ; bindPrev ( ) ; bindShuffle ( ) ; bindRepeat ( ) ; bindPlaybackSpeed ( ) ; bindSkipTo ( ) ; }
Initializes the handlers for the events listened to by Amplitude
Initializes the handlers for the events listened to by Amplitude
/*
  	Write out debug message
  */ /*
  	Sets flag that the screen is moving and not a tap
  */ /*
  	On touch end if it was a touch move event, set moving to
  	false
  */ /*
  	On time update for the audio element, update visual displays that
  	represent the time on either a visualized element or time display.
  */ /*
  	Binds key down event handlers for matching key codes to functions.
  */ /*
  	When the audio element has ended playing, we handle the song
  	ending. In a single song or multiple modular song instance,
  	this just synchronizes the visuals for time and song time
  	visualization, but for a playlist it determines whether
  	it should play the next song or not.
  */ /*
  	Binds progress event so we can see how much of the song is loaded.
  */ /*
  	Binds 'amplitude-play' event handlers
  */ /*
  	Binds 'amplitude-pause' event handlers.
  */ /*
  	Binds 'amplitude-play-pause' event handlers.
  */ /*
  	Binds 'amplitude-stop' event handlers.
  */ /*
  	Binds 'amplitude-mute' event handlers.
  */ /*
  	Binds 'amplitude-volume-up' event handlers
  */ /*
  	Binds 'amplitude-volume-down' event handlers
  */ /*
  	Binds 'amplitude-song-slider' event handlers
  */ /*
  	Binds 'amplitude-volume-slider' event handlers.
  */ /*
  	Binds 'amplitude-next' event handlers.
  */ /*
  	Binds 'amplitude-prev' event handlers.
  */ /*
  	Binds 'amplitude-shuffle' event handlers.
  */ /*
  	Binds 'amplitude-repeat' event handlers.
  */ /*
  	Binds 'amplitude-playback-speed' event handlers.
  */ /*
  	Binds 'amplitude-skip-to' event handlers.
  */