Skip to content

Commit

Permalink
Properly clear dimension filters before disposal.
Browse files Browse the repository at this point in the history
Merge pull request #127 from sAlexander/master.
  • Loading branch information
jasondavies committed Sep 24, 2014
2 parents 01b7ec2 + 95f75a2 commit 6e864fc
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 8 deletions.
2 changes: 1 addition & 1 deletion component.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "crossfilter",
"repo": "square/crossfilter",
"description": "Fast n-dimensional filtering and grouping of records.",
"version": "1.3.6",
"version": "1.3.10",
"keywords": [],
"main": "crossfilter.js",
"scripts": [
Expand Down
5 changes: 2 additions & 3 deletions crossfilter.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
(function(exports){
crossfilter.version = "1.3.9";
crossfilter.version = "1.3.10";
function crossfilter_identity(d) {
return d;
}
Expand Down Expand Up @@ -1245,9 +1245,8 @@ function crossfilter() {
if (i >= 0) dataListeners.splice(i, 1);
i = removeDataListeners.indexOf(removeData);
if (i >= 0) removeDataListeners.splice(i, 1);
for (i = 0; i < n; ++i) filters[i] &= zero;
m &= zero;
return dimension;
return filterAll();
}

return dimension;
Expand Down
2 changes: 1 addition & 1 deletion crossfilter.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "crossfilter",
"version": "1.3.9",
"version": "1.3.10",
"description": "Fast multidimensional filtering for coordinated views.",
"keywords": [
"square",
Expand Down
Loading

0 comments on commit 6e864fc

Please # to comment.