packages/main-nav/src/js/module.js
function removeEvent( token ) {
		if ( token.element.removeEventListener ) {
			token.element.removeEventListener( token.event, token.handler );
		} else {
			token.element.detachEvent( 'on' + token.event, token.handler );
		}
	}
function removeEvent( token ) {
		if ( token.element.removeEventListener ) {
			token.element.removeEventListener( token.event, token.handler );
		} else {
			token.element.detachEvent( 'on' + token.event, token.handler );
		}
	}
function removeEvent ( token ) { if ( token . element . removeEventListener ) { token . element . removeEventListener ( token . event , token . handler ) ; } else { token . element . detachEvent ( 'on' + token . event , token . handler ) ; } }
PRIVATE
IE8 compatible function for removing an event

@param  {object} token - The token from the add listener function
PRIVATE IE8 compatible function for removing an event