|
|
@ -8,9 +8,6 @@ |
|
|
|
|
|
|
|
|
|
|
|
'use strict'; |
|
|
|
'use strict'; |
|
|
|
|
|
|
|
|
|
|
|
// vars
|
|
|
|
|
|
|
|
// var document = window.document;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// -------------------------- helpers -------------------------- //
|
|
|
|
// -------------------------- helpers -------------------------- //
|
|
|
|
|
|
|
|
|
|
|
|
// extend objects
|
|
|
|
// extend objects
|
|
|
@ -21,7 +18,6 @@ function extend( a, b ) { |
|
|
|
return a; |
|
|
|
return a; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// -------------------------- isotopeDefinition -------------------------- //
|
|
|
|
// -------------------------- isotopeDefinition -------------------------- //
|
|
|
|
|
|
|
|
|
|
|
|
// used for AMD definition and requires
|
|
|
|
// used for AMD definition and requires
|
|
|
@ -118,7 +114,7 @@ function isotopeDefinition( Outlayer, getSize, matchesSelector, Item, layoutMode |
|
|
|
} |
|
|
|
} |
|
|
|
// add item to either matched or unmatched group
|
|
|
|
// add item to either matched or unmatched group
|
|
|
|
var isMatched = test( item ); |
|
|
|
var isMatched = test( item ); |
|
|
|
item.isFilterMatched = isMatched; |
|
|
|
// item.isFilterMatched = isMatched;
|
|
|
|
// add to matches if its a match
|
|
|
|
// add to matches if its a match
|
|
|
|
if ( isMatched ) { |
|
|
|
if ( isMatched ) { |
|
|
|
matches.push( item ); |
|
|
|
matches.push( item ); |
|
|
|