function bindPrev() {
		/*
  	Gets all of the elements with the class amplitude-prev
  */
		var prev_classes = document.getElementsByClassName("amplitude-prev");

		/*
  	Iterates over all of the prev 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 < prev_classes.length; i++) {
			if (/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)) {
				prev_classes[i].removeEventListener('touchend', _handlers2.default.prev);
				prev_classes[i].addEventListener('touchend', _handlers2.default.prev);
			} else {
				prev_classes[i].removeEventListener('click', _handlers2.default.prev);
				prev_classes[i].addEventListener('click', _handlers2.default.prev);
			}
		}
	}
/*--------------------------------------------------------------------------
 	BINDS: class="amplitude-prev"
 		Binds click and touchend events for amplitude prev buttons.
 --------------------------------------------------------------------------*/
class="amplitude-prev"
Binds click and touchend events for amplitude prev buttons.
class = " amplitude - prev " Binds click and touchend events for amplitude prev buttons .
function bindPrev() {
		var prev_classes = document.getElementsByClassName("amplitude-prev");
		for (var i = 0; i < prev_classes.length; i++) {
			if (/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)) {
				prev_classes[i].removeEventListener('touchend', _handlers2.default.prev);
				prev_classes[i].addEventListener('touchend', _handlers2.default.prev);
			} else {
				prev_classes[i].removeEventListener('click', _handlers2.default.prev);
				prev_classes[i].addEventListener('click', _handlers2.default.prev);
			}
		}
	}
function bindPrev ( ) { var prev_classes = document . getElementsByClassName ( "amplitude-prev" ) ; for ( var i = 0 ; i < prev_classes . length ; i ++ ) { if ( / Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini / i . test ( navigator . userAgent ) ) { prev_classes [ i ] . removeEventListener ( 'touchend' , _handlers2 . default . prev ) ; prev_classes [ i ] . addEventListener ( 'touchend' , _handlers2 . default . prev ) ; } else { prev_classes [ i ] . removeEventListener ( 'click' , _handlers2 . default . prev ) ; prev_classes [ i ] . addEventListener ( 'click' , _handlers2 . default . prev ) ; } } }
BINDS: class="amplitude-prev"
Binds click and touchend events for amplitude prev buttons.
BINDS : class = " amplitude - prev " Binds click and touchend events for amplitude prev buttons .
/*
  	Gets all of the elements with the class amplitude-prev
  */ /*
  	Iterates over all of the prev classes and binds the event interaction
  	methods to the element. If the browser is mobile, then the event is touchend
  	otherwise it is click.
  */