Browse Source

src : verticalList -> straightDown

pull/14/head
David DeSandro 14 years ago
parent
commit
6a49ddda30
  1. 18
      jquery.isotope.js

18
jquery.isotope.js

@ -956,31 +956,31 @@ window.Modernizr = window.Modernizr || (function(window,doc,undefined){
}, },
// ====================== verticalList ====================== // ====================== straightDown ======================
_verticalListReset : function() { _straightDownReset : function() {
this.verticalList = { this.straightDown = {
y : 0 y : 0
}; };
return this; return this;
}, },
_verticalListLayout : function( $elems ) { _straightDownLayout : function( $elems ) {
var instance = this; var instance = this;
$elems.each( function( i ){ $elems.each( function( i ){
var $this = $(this), var $this = $(this),
y = instance.verticalList.y + instance.posTop; y = instance.straightDown.y + instance.posTop;
instance._pushPosition( $this, instance.posLeft, y ); instance._pushPosition( $this, instance.posLeft, y );
instance.verticalList.y += $this.outerHeight(true) instance.straightDown.y += $this.outerHeight(true)
}); });
return this; return this;
}, },
_verticalListGetContainerSize : function() { _straightDownGetContainerSize : function() {
return { height : this.verticalList.y + this.posTop }; return { height : this.straightDown.y + this.posTop };
}, },
_verticalListResize : function() { _straightDownResize : function() {
this.reLayout(); this.reLayout();
return this; return this;
}, },

Loading…
Cancel
Save