demo/assets/meepo.libs/masonry/masonry.pkgd.js
function getMilliseconds( time ) {
  if ( typeof time == 'number' ) {
    return time;
  }
  var matches = time.match( /(^\d*\.?\d*)(\w*)/ );
  var num = matches && matches[1];
  var unit = matches && matches[2];
  if ( !num.length ) {
    return 0;
  }
  num = parseFloat( num );
  var mult = msUnits[ unit ] || 1;
  return num * mult;
}
function getMilliseconds( time ) {
  if ( typeof time == 'number' ) {
    return time;
  }
  var matches = time.match( /(^\d*\.?\d*)(\w*)/ );
  var num = matches && matches[1];
  var unit = matches && matches[2];
  if ( !num.length ) {
    return 0;
  }
  num = parseFloat( num );
  var mult = msUnits[ unit ] || 1;
  return num * mult;
}
function getMilliseconds ( time ) { if ( typeof time == 'number' ) { return time ; } var matches = time . match ( / (^\d*\.?\d*)(\w*) / ) ; var num = matches && matches [ 1 ] ; var unit = matches && matches [ 2 ] ; if ( ! num . length ) { return 0 ; } num = parseFloat ( num ) ; var mult = msUnits [ unit ] || 1 ; return num * mult ; }
munge time-like parameter into millisecond number '0.4s' -> 40
munge time - like parameter into millisecond number 0 . 4s - > 40