function bindRepeat() {
		/*
  	Gets all of the elements with the class amplitude-repeat
  */
		var repeat_classes = document.getElementsByClassName("amplitude-repeat");

		/*
  	Iterates over all of the repeat 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 < repeat_classes.length; i++) {
			/*
   	Since we are re-binding everything we remove any classes that signify
   	a state of the repeat control.
   */
			repeat_classes[i].classList.remove('amplitude-repeat-on');
			repeat_classes[i].classList.add('amplitude-repeat-off');

			if (/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)) {
				repeat_classes[i].removeEventListener('touchend', _handlers2.default.repeat);
				repeat_classes[i].addEventListener('touchend', _handlers2.default.repeat);
			} else {
				repeat_classes[i].removeEventListener('click', _handlers2.default.repeat);
				repeat_classes[i].addEventListener('click', _handlers2.default.repeat);
			}
		}
	}
/*--------------------------------------------------------------------------
 	BINDS: class="amplitude-repeat"
 		Binds click and touchend events for amplitude repeat buttons.
 --------------------------------------------------------------------------*/
class="amplitude-repeat"
Binds click and touchend events for amplitude repeat buttons.
class = " amplitude - repeat " Binds click and touchend events for amplitude repeat buttons .
function bindRepeat() {
		var repeat_classes = document.getElementsByClassName("amplitude-repeat");
		for (var i = 0; i < repeat_classes.length; i++) {
			repeat_classes[i].classList.remove('amplitude-repeat-on');
			repeat_classes[i].classList.add('amplitude-repeat-off');
			if (/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)) {
				repeat_classes[i].removeEventListener('touchend', _handlers2.default.repeat);
				repeat_classes[i].addEventListener('touchend', _handlers2.default.repeat);
			} else {
				repeat_classes[i].removeEventListener('click', _handlers2.default.repeat);
				repeat_classes[i].addEventListener('click', _handlers2.default.repeat);
			}
		}
	}
function bindRepeat ( ) { var repeat_classes = document . getElementsByClassName ( "amplitude-repeat" ) ; for ( var i = 0 ; i < repeat_classes . length ; i ++ ) { repeat_classes [ i ] . classList . remove ( 'amplitude-repeat-on' ) ; repeat_classes [ i ] . classList . add ( 'amplitude-repeat-off' ) ; if ( / Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini / i . test ( navigator . userAgent ) ) { repeat_classes [ i ] . removeEventListener ( 'touchend' , _handlers2 . default . repeat ) ; repeat_classes [ i ] . addEventListener ( 'touchend' , _handlers2 . default . repeat ) ; } else { repeat_classes [ i ] . removeEventListener ( 'click' , _handlers2 . default . repeat ) ; repeat_classes [ i ] . addEventListener ( 'click' , _handlers2 . default . repeat ) ; } } }
BINDS: class="amplitude-repeat"
Binds click and touchend events for amplitude repeat buttons.
BINDS : class = " amplitude - repeat " Binds click and touchend events for amplitude repeat buttons .
/*
  	Gets all of the elements with the class amplitude-repeat
  */ /*
  	Iterates over all of the repeat classes and binds the event interaction
  	methods to the element. If the browser is mobile, then the event is touchend
  	otherwise it is click.
  */ /*
   	Since we are re-binding everything we remove any classes that signify
   	a state of the repeat control.
   */