var getStyle = function getStyle(el, styleName) {
  if (el.currentStyle) {
    // for IE
    return el.currentStyle[styleName];
  } else {
    // for peace
    return getComputedStyle(el, false)[styleName];
  }
};

export default {
  getStyle: getStyle
};