Browse Source

Merge branch 'master' into gh-pages

v1
David DeSandro 13 years ago
parent
commit
68cc3d221a
  1. 10
      jquery.isotope.js
  2. 4
      jquery.isotope.min.js

10
jquery.isotope.js

@ -1,5 +1,5 @@
/**
* Isotope v1.5.02
* Isotope v1.5.03
* An exquisite jQuery plugin for magical layouts
* http://isotope.metafizzy.co
*
@ -1017,8 +1017,8 @@
var $this = $(this),
col = props.index % props.cols,
row = Math.floor( props.index / props.cols ),
x = ( col + 0.5 ) * props.columnWidth - Math.round( $this.outerWidth(true) / 2 ),
y = ( row + 0.5 ) * props.rowHeight - Math.round( $this.outerHeight(true) / 2 );
x = Math.round( ( col + 0.5 ) * props.columnWidth - $this.outerWidth(true) / 2 ),
y = Math.round( ( row + 0.5 ) * props.rowHeight - $this.outerHeight(true) / 2 );
instance._pushPosition( $this, x, y );
props.index ++;
});
@ -1203,8 +1203,8 @@
var $this = $(this),
col = Math.floor( props.index / props.rows ),
row = props.index % props.rows,
x = ( col + 0.5 ) * props.columnWidth - Math.round( $this.outerWidth(true) / 2 ),
y = ( row + 0.5 ) * props.rowHeight - Math.round( $this.outerHeight(true) / 2 );
x = Math.round( ( col + 0.5 ) * props.columnWidth - $this.outerWidth(true) / 2 ),
y = Math.round( ( row + 0.5 ) * props.rowHeight - $this.outerHeight(true) / 2 );
instance._pushPosition( $this, x, y );
props.index ++;
});

4
jquery.isotope.min.js vendored

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save