dist/angular-masonry-packed.js
function mungeNonPixel( elem, value ) {
  // IE8 and has percent value
  if ( window.getComputedStyle || value.indexOf('%') === -1 ) {
    return value;
  }
  var style = elem.style;
  // Remember the original values
  var left = style.left;
  var rs = elem.runtimeStyle;
  var rsLeft = rs && rs.left;

  // Put in the new values to get a computed value out
  if ( rsLeft ) {
    rs.left = elem.currentStyle.left;
  }
  style.left = value;
  value = style.pixelLeft;

  // Revert the changed values
  style.left = left;
  if ( rsLeft ) {
    rs.left = rsLeft;
  }

  return value;
}
function mungeNonPixel( elem, value ) {
  // IE8 and has percent value
  if ( window.getComputedStyle || value.indexOf('%') === -1 ) {
    return value;
  }
  var style = elem.style;
  // Remember the original values
  var left = style.left;
  var rs = elem.runtimeStyle;
  var rsLeft = rs && rs.left;

  // Put in the new values to get a computed value out
  if ( rsLeft ) {
    rs.left = elem.currentStyle.left;
  }
  style.left = value;
  value = style.pixelLeft;

  // Revert the changed values
  style.left = left;
  if ( rsLeft ) {
    rs.left = rsLeft;
  }

  return value;
}
function mungeNonPixel ( elem , value ) { // IE8 and has percent value if ( window . getComputedStyle || value . indexOf ( '%' ) === - 1 ) { return value ; } var style = elem . style ; // Remember the original values var left = style . left ; var rs = elem . runtimeStyle ; var rsLeft = rs && rs . left ; // Put in the new values to get a computed value out if ( rsLeft ) { rs . left = elem . currentStyle . left ; } style . left = value ; value = style . pixelLeft ; // Revert the changed values style . left = left ; if ( rsLeft ) { rs . left = rsLeft ; } return value ; }
IE8 returns percent values, not pixels taken from jQuery's curCSS
IE8 returns percent values not pixels taken from jQuery s curCSS