lib/air/dimension.js
function outerHeight(margin) {
  var s, style;
  if(!this.length) {
    return null;
  }
  s = this.dom[0].getClientRects()[0].height;
  if(!margin) {
    style = window.getComputedStyle(this.dom[0], null);
    s -= parseInt(style.getPropertyValue('margin-top'));
    s -= parseInt(style.getPropertyValue('margin-bottom'));
  }
  return s;
}
function outerHeight(margin) {
  var s, style;
  if(!this.length) {
    return null;
  }
  s = this.dom[0].getClientRects()[0].height;
  if(!margin) {
    style = window.getComputedStyle(this.dom[0], null);
    s -= parseInt(style.getPropertyValue('margin-top'));
    s -= parseInt(style.getPropertyValue('margin-bottom'));
  }
  return s;
}
function outerHeight ( margin ) { var s , style ; if ( ! this . length ) { return null ; } s = this . dom [ 0 ] . getClientRects ( ) [ 0 ] . height ; if ( ! margin ) { style = window . getComputedStyle ( this . dom [ 0 ] , null ) ; s -= parseInt ( style . getPropertyValue ( 'margin-top' ) ) ; s -= parseInt ( style . getPropertyValue ( 'margin-bottom' ) ) ; } return s ; }
Get the current computed height for the first element in the set of
matched elements, including padding, border, and optionally margin.

Returns a number (without "px") representation of the value or null
if called on an empty set of elements.
Get the current computed height for the first element in the set of matched elements including padding border and optionally margin .