Browse Source

src : use $.Isotope.settings

pull/27/merge
David DeSandro 14 years ago
parent
commit
ad26aaaf27
  1. 12
      jquery.isotope.js

12
jquery.isotope.js

@ -1,5 +1,5 @@
/**
* Isotope v1.1.110426
* Isotope v1.1.110502
* An exquisite jQuery plugin for magical layouts
* http://isotope.metafizzy.co
*
@ -335,9 +335,7 @@
// styles of container element we want to keep track of
var isoContainerStyles = [ 'overflow', 'position', 'width', 'height' ];
$.Isotope.prototype = {
options : {
$.Isotope.settings = {
resizable: true,
layoutMode : 'masonry',
containerClass : 'isotope',
@ -359,7 +357,9 @@
resizesContainer : true,
transformsEnabled : true,
itemPositionDataEnabled: false
},
};
$.Isotope.prototype = {
_filterFind: function( $elems, selector ) {
return selector ? $elems.filter( selector ).add( $elems.find( selector ) ) : $elems;
@ -368,7 +368,7 @@
// sets up widget
_create : function( options ) {
this.options = $.extend( true, {}, this.options, options );
this.options = $.extend( true, {}, $.Isotope.settings, options );
this.isNew = {};
this.styleQueue = [];

Loading…
Cancel
Save