Permalink
Browse files

Update UglifyJS and revert workaround.

All tests pass on the minified version.  This version of UglifyJS fixes
a serious bug involving reordering of side-effects.
  • Loading branch information...
1 parent b742be6 commit 9b8a493348732da4a6cbd1c80c368c7380f80309 @jasondavies jasondavies committed Mar 4, 2013
Showing with 8 additions and 8 deletions.
  1. +2 −2 crossfilter.js
  2. +1 −1 crossfilter.min.js
  3. +2 −2 package.json
  4. +1 −1 src/package.js
  5. +1 −1 src/quicksort.js
  6. +1 −1 src/version.js
View
@@ -1,5 +1,5 @@
(function(exports){
-crossfilter.version = "1.1.2";
+crossfilter.version = "1.1.3";
function crossfilter_identity(d) {
return d;
}
@@ -176,7 +176,7 @@ function quicksort_by(f) {
function quicksort(a, lo, hi) {
// First move NaN and undefined to the end.
var x, y;
- while (lo < hi && !(x = f(a[hi - 1]), x <= x)) hi--;
+ while (lo < hi && !((x = f(a[hi - 1])) <= x)) hi--;
for (var i = hi; --i >= lo; ) {
x = f(y = a[i]);
if (!(x <= x)) {
View
Oops, something went wrong.
View
@@ -1,6 +1,6 @@
{
"name": "crossfilter",
- "version": "1.1.2",
+ "version": "1.1.3",
"description": "Fast multidimensional filtering for coordinated views.",
"keywords": [
"square",
@@ -32,7 +32,7 @@
"devDependencies": {
"d3": "3.0.x",
"vows": "0.7.0",
- "uglify-js": "2.2.5"
+ "uglify-js": "git://github.com/mishoo/UglifyJS2.git#aebafad4"
},
"scripts": {
"test": "./node_modules/.bin/vows"
View
@@ -22,7 +22,7 @@ util.puts(JSON.stringify({
"devDependencies": {
"d3": "3.0.x",
"vows": "0.7.0",
- "uglify-js": "2.2.5"
+ "uglify-js": "git://github.com/mishoo/UglifyJS2.git#aebafad4"
},
"scripts": {"test": "./node_modules/.bin/vows"}
}, null, 2));
View
@@ -17,7 +17,7 @@ function quicksort_by(f) {
function quicksort(a, lo, hi) {
// First move NaN and undefined to the end.
var x, y;
- while (lo < hi && !(x = f(a[hi - 1]), x <= x)) hi--;
+ while (lo < hi && !((x = f(a[hi - 1])) <= x)) hi--;
for (var i = hi; --i >= lo; ) {
x = f(y = a[i]);
if (!(x <= x)) {
View
@@ -1 +1 @@
-crossfilter.version = "1.1.2";
+crossfilter.version = "1.1.3";

0 comments on commit 9b8a493

Please sign in to comment.