src/editor.js
function _outerWidth(el) {
    var b = parseInt(_getStyle(el, 'border-left-width'), 10) + parseInt(_getStyle(el, 'border-right-width'), 10)
      , p = parseInt(_getStyle(el, 'padding-left'), 10) + parseInt(_getStyle(el, 'padding-right'), 10)
      , w = el.offsetWidth
      , t;
    // For IE in case no border is set and it defaults to "medium"
    if (isNaN(b)) { b = 0; }
    t = b + p + w;
    return t;
  }
function _outerWidth(el) {
    var b = parseInt(_getStyle(el, 'border-left-width'), 10) + parseInt(_getStyle(el, 'border-right-width'), 10)
      , p = parseInt(_getStyle(el, 'padding-left'), 10) + parseInt(_getStyle(el, 'padding-right'), 10)
      , w = el.offsetWidth
      , t;
    // For IE in case no border is set and it defaults to "medium"
    if (isNaN(b)) { b = 0; }
    t = b + p + w;
    return t;
  }
function _outerWidth ( el ) { var b = parseInt ( _getStyle ( el , 'border-left-width' ) , 10 ) + parseInt ( _getStyle ( el , 'border-right-width' ) , 10 ) , p = parseInt ( _getStyle ( el , 'padding-left' ) , 10 ) + parseInt ( _getStyle ( el , 'padding-right' ) , 10 ) , w = el . offsetWidth , t ; // For IE in case no border is set and it defaults to "medium" if ( isNaN ( b ) ) { b = 0 ; } t = b + p + w ; return t ; }
Gets an elements total width including it's borders and padding
@param  {object} el The element to get the total width of
@returns {int}
Gets an elements total width including it s borders and padding