Browse Source

.layout() -> .arrange()

pull/563/head
David DeSandro 11 years ago
parent
commit
ead360f58a
  1. 3
      examples/cells-by-row.html
  2. 2
      examples/filter-sort.html
  3. 2
      examples/horizontal-layout-modes.html
  4. 2
      examples/masonry-horizontal.html
  5. 2
      examples/masonry.html
  6. 2
      examples/sorting.html

3
examples/cells-by-row.html

@ -203,8 +203,7 @@ docReady( function() {
// use link's href, remove leading hash // use link's href, remove leading hash
var sortBy = event.target.getAttribute('href').slice( 1 ); var sortBy = event.target.getAttribute('href').slice( 1 );
sortBy.slice( 0, 1 ); sortBy.slice( 0, 1 );
iso.options.sortBy = sortBy; iso.arrange({ sortBy: sortBy });
iso.layout();
event.preventDefault(); event.preventDefault();
}); });

2
examples/filter-sort.html

@ -199,7 +199,7 @@ docReady( function() {
} }
console.log( key, value ); console.log( key, value );
iso.options[ key ] = value; iso.options[ key ] = value;
iso.layout(); iso.arrange();
}); });
}); });

2
examples/horizontal-layout-modes.html

@ -201,7 +201,7 @@ docReady( function() {
var value = event.target.getAttribute('data-isotope-value'); var value = event.target.getAttribute('data-isotope-value');
console.log( key, value ); console.log( key, value );
iso.options[ key ] = value; iso.options[ key ] = value;
iso.layout(); iso.arrange();
}); });
}); });

2
examples/masonry-horizontal.html

@ -233,7 +233,7 @@ docReady( function() {
var value = event.target.getAttribute('data-isotope-value'); var value = event.target.getAttribute('data-isotope-value');
console.log( key, value ); console.log( key, value );
iso.options[ key ] = value; iso.options[ key ] = value;
iso.layout(); iso.arrange();
}); });
}); });

2
examples/masonry.html

@ -202,7 +202,7 @@ docReady( function() {
var sortBy = event.target.getAttribute('href').slice( 1 ); var sortBy = event.target.getAttribute('href').slice( 1 );
sortBy.slice( 0, 1 ); sortBy.slice( 0, 1 );
iso.options.sortBy = sortBy; iso.options.sortBy = sortBy;
iso.layout(); iso.arrange();
event.preventDefault(); event.preventDefault();
}); });

2
examples/sorting.html

@ -191,7 +191,7 @@ docReady( function() {
var sortBy = event.target.getAttribute('href').slice( 1 ); var sortBy = event.target.getAttribute('href').slice( 1 );
sortBy.slice( 0, 1 ); sortBy.slice( 0, 1 );
iso.options.sortBy = sortBy; iso.options.sortBy = sortBy;
iso.layout(); iso.arrange();
event.preventDefault(); event.preventDefault();
}); });

Loading…
Cancel
Save