/**
 * outerWidth : outerWidth(el, includeMargin)
 * Returns the outer width (width + padding [+margin]) of an element as an integer (IE8+)
 *
 *     var outerWidth = require('dom101/outer-width');
 *     var width = outerWidth(el);
 */

function outerWidth (el, includeMargin) {
  var style = typeof window.getComputedStyle !== 'undefined' && window.getComputedStyle(el) || el.currentStyle;

  return el.offsetWidth + (includeMargin && (parseInt(style['marginleft'], 10) + parseInt(style['marginRight'], 10)) || 0);
}

module.exports = outerWidth;

@@ -453,17 +453,17 @@
 %5B'margin
-l
+L
 eft'%5D, 1

fix marginLeft computation (#57)