src/editor.js
function _outerHeight(el) {
    var b = parseInt(_getStyle(el, 'border-top-width'), 10) + parseInt(_getStyle(el, 'border-bottom-width'), 10)
      , p = parseInt(_getStyle(el, 'padding-top'), 10) + parseInt(_getStyle(el, 'padding-bottom'), 10)
      , w = parseInt(_getStyle(el, 'height'), 10)
      , 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 _outerHeight(el) {
    var b = parseInt(_getStyle(el, 'border-top-width'), 10) + parseInt(_getStyle(el, 'border-bottom-width'), 10)
      , p = parseInt(_getStyle(el, 'padding-top'), 10) + parseInt(_getStyle(el, 'padding-bottom'), 10)
      , w = parseInt(_getStyle(el, 'height'), 10)
      , 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 _outerHeight ( el ) { var b = parseInt ( _getStyle ( el , 'border-top-width' ) , 10 ) + parseInt ( _getStyle ( el , 'border-bottom-width' ) , 10 ) , p = parseInt ( _getStyle ( el , 'padding-top' ) , 10 ) + parseInt ( _getStyle ( el , 'padding-bottom' ) , 10 ) , w = parseInt ( _getStyle ( el , 'height' ) , 10 ) , 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 height including it's borders and padding
@param  {object} el The element to get the total width of
@returns {int}
Gets an elements total height including it s borders and padding