diff --git a/dist/isotope.pkgd.js b/dist/isotope.pkgd.js index 399217f..f409085 100644 --- a/dist/isotope.pkgd.js +++ b/dist/isotope.pkgd.js @@ -3177,7 +3177,6 @@ var trim = String.prototype.trim ? var matches = []; var hiddenMatched = []; var visibleUnmatched = []; - var results; var test = this._getFilterTest( filter ); @@ -3202,17 +3201,12 @@ var trim = String.prototype.trim ? } } - results = { + // return collections of items to be manipulated + return { matches: matches, needReveal: hiddenMatched, needHide: visibleUnmatched }; - - // allow the filtered items to be modified - this.dispatchEvent( 'itemsFiltered', null, [ results ] ); - - // return collections of items to be manipulated - return results; }; // get a jQuery, function, or a matchesSelector test given the filter @@ -3564,3 +3558,4 @@ var trim = String.prototype.trim ? return Isotope; })); +