function bindVolumeUp() {
		/*
  	Gets all of the elements with the class amplitude-volume-up
  */
		var volume_up_classes = document.getElementsByClassName("amplitude-volume-up");

		/*
  	Iterates over all of the volume up classes and binds the event interaction
  	methods to the element. If the browser is mobile, then the event is touchend
  	otherwise it is click.
  */
		for (var i = 0; i < volume_up_classes.length; i++) {
			/*
   	WARNING: If iOS, we don't do anything because iOS does not allow the
   	volume to be adjusted through anything except the buttons on the side of
   	the device.
   */
			if (/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)) {
				/*
    	Checks for an iOS device and displays an error message if debugging
    	is turned on.
    */
				if (/iPhone|iPad|iPod/i.test(navigator.userAgent)) {
					_helpers2.default.writeDebugMessage('iOS does NOT allow volume to be set through javascript: https://developer.apple.com/library/safari/documentation/AudioVideo/Conceptual/Using_HTML5_Audio_Video/Device-SpecificConsiderations/Device-SpecificConsiderations.html#//apple_ref/doc/uid/TP40009523-CH5-SW4');
				} else {
					volume_up_classes[i].removeEventListener('touchend', _handlers2.default.volumeUp);
					volume_up_classes[i].addEventListener('touchend', _handlers2.default.volumeUp);
				}
			} else {
				volume_up_classes[i].removeEventListener('click', _handlers2.default.volumeUp);
				volume_up_classes[i].addEventListener('click', _handlers2.default.volumeUp);
			}
		}
	}
/*--------------------------------------------------------------------------
 	BINDS: class="amplitude-volume-up"
 		Binds click and touchend events for amplitude volume up buttons
 --------------------------------------------------------------------------*/
class="amplitude-volume-up"
Binds click and touchend events for amplitude volume up buttons
class = " amplitude - volume - up " Binds click and touchend events for amplitude volume up buttons
function bindVolumeUp() {
		var volume_up_classes = document.getElementsByClassName("amplitude-volume-up");
		for (var i = 0; i < volume_up_classes.length; i++) {
			if (/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)) {
				if (/iPhone|iPad|iPod/i.test(navigator.userAgent)) {
					_helpers2.default.writeDebugMessage('iOS does NOT allow volume to be set through javascript: https://developer.apple.com/library/safari/documentation/AudioVideo/Conceptual/Using_HTML5_Audio_Video/Device-SpecificConsiderations/Device-SpecificConsiderations.html#//apple_ref/doc/uid/TP40009523-CH5-SW4');
				} else {
					volume_up_classes[i].removeEventListener('touchend', _handlers2.default.volumeUp);
					volume_up_classes[i].addEventListener('touchend', _handlers2.default.volumeUp);
				}
			} else {
				volume_up_classes[i].removeEventListener('click', _handlers2.default.volumeUp);
				volume_up_classes[i].addEventListener('click', _handlers2.default.volumeUp);
			}
		}
	}
function bindVolumeUp ( ) { var volume_up_classes = document . getElementsByClassName ( "amplitude-volume-up" ) ; for ( var i = 0 ; i < volume_up_classes . length ; i ++ ) { if ( / Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini / i . test ( navigator . userAgent ) ) { if ( / iPhone|iPad|iPod / i . test ( navigator . userAgent ) ) { _helpers2 . default . writeDebugMessage ( 'iOS does NOT allow volume to be set through javascript: https://developer.apple.com/library/safari/documentation/AudioVideo/Conceptual/Using_HTML5_Audio_Video/Device-SpecificConsiderations/Device-SpecificConsiderations.html#//apple_ref/doc/uid/TP40009523-CH5-SW4' ) ; } else { volume_up_classes [ i ] . removeEventListener ( 'touchend' , _handlers2 . default . volumeUp ) ; volume_up_classes [ i ] . addEventListener ( 'touchend' , _handlers2 . default . volumeUp ) ; } } else { volume_up_classes [ i ] . removeEventListener ( 'click' , _handlers2 . default . volumeUp ) ; volume_up_classes [ i ] . addEventListener ( 'click' , _handlers2 . default . volumeUp ) ; } } }
BINDS: class="amplitude-volume-up"
Binds click and touchend events for amplitude volume up buttons
BINDS : class = " amplitude - volume - up " Binds click and touchend events for amplitude volume up buttons
/*
  	Gets all of the elements with the class amplitude-volume-up
  */ /*
  	Iterates over all of the volume up classes and binds the event interaction
  	methods to the element. If the browser is mobile, then the event is touchend
  	otherwise it is click.
  */ /*
   	WARNING: If iOS, we don't do anything because iOS does not allow the
   	volume to be adjusted through anything except the buttons on the side of
   	the device.
   */ /*
    	Checks for an iOS device and displays an error message if debugging
    	is turned on.
    */