From 31aa9198ac201a11d7ad756cc4af5b0688ee8760 Mon Sep 17 00:00:00 2001 From: David DeSandro Date: Mon, 28 Mar 2011 07:28:22 -0400 Subject: [PATCH] src : jsHint : move `-` to previous line --- jquery.isotope.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/jquery.isotope.js b/jquery.isotope.js index c43c9c0..2370e31 100644 --- a/jquery.isotope.js +++ b/jquery.isotope.js @@ -951,10 +951,10 @@ this.cellsByRow.atomsLen = $elems.length; $elems.each( function( i ){ var $this = $(this), - x = ( i % cols + 0.5 ) * instance.cellsByRow.columnWidth - - $this.outerWidth(true) / 2 + instance.posLeft, - y = ( ~~( i / cols ) + 0.5 ) * instance.cellsByRow.rowHeight - - $this.outerHeight(true) / 2 + instance.posTop; + x = ( i % cols + 0.5 ) * instance.cellsByRow.columnWidth - + $this.outerWidth(true) / 2 + instance.posLeft, + y = ( ~~( i / cols ) + 0.5 ) * instance.cellsByRow.rowHeight - + $this.outerHeight(true) / 2 + instance.posTop; instance._pushPosition( $this, x, y ); }); return this; @@ -1162,10 +1162,10 @@ this.cellsByColumn.atomsLen = $elems.length; $elems.each( function( i ){ var $this = $(this), - x = ( ~~( i / rows ) + 0.5 ) * instance.cellsByColumn.columnWidth - - $this.outerWidth(true) / 2 + instance.posLeft, - y = ( i % rows + 0.5 ) * instance.cellsByColumn.rowHeight - - $this.outerHeight(true) / 2 + instance.posTop; + x = ( ~~( i / rows ) + 0.5 ) * instance.cellsByColumn.columnWidth - + $this.outerWidth(true) / 2 + instance.posLeft, + y = ( i % rows + 0.5 ) * instance.cellsByColumn.rowHeight - + $this.outerHeight(true) / 2 + instance.posTop; instance._pushPosition( $this, x, y ); }); return this;