packages/main-nav/src/js/module.js
function getStyle( element, property ) {
		return (
			typeof getComputedStyle !== 'undefined'
				? getComputedStyle( element, null)
				: element.currentStyle
		)[ property ]; // avoid getPropertyValue altogether
	}
function getStyle( element, property ) {
		return (
			typeof getComputedStyle !== 'undefined'
				? getComputedStyle( element, null)
				: element.currentStyle
		)[ property ]; // avoid getPropertyValue altogether
	}
function getStyle ( element , property ) { return ( typeof getComputedStyle !== 'undefined' ? getComputedStyle ( element , null ) : element . currentStyle ) [ property ] ; // avoid getPropertyValue altogether }
PRIVATE
IE8 compatible function for getting elements style

@param  {object} element  - element to check style
@param  {object} property - property to return value
PRIVATE IE8 compatible function for getting elements style