plottable 3.9.0-dev-77-g85e05cc1 → 3.9.0-dev-76-g6a7bb807
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/src/core/version.js +1 -1
- package/build/src/scales/colorScale.js +5 -5
- package/package.json +1 -1
- package/plottable.js +5 -5
- package/plottable.js.map +1 -1
|
@@ -10,4 +10,4 @@ exports.version = void 0;
|
|
|
10
10
|
* real version number during the dist phase for for npm module publishing. Modifying this line should
|
|
11
11
|
* be accompanied by modifying the "sed-version" task in package.json accordingly.
|
|
12
12
|
*/
|
|
13
|
-
exports.version = "3.9.0-dev-
|
|
13
|
+
exports.version = "3.9.0-dev-76-g6a7bb807";
|
|
@@ -25,22 +25,22 @@ var scale_1 = require("./scale");
|
|
|
25
25
|
var ImplicitSeriesTracker = /** @class */ (function () {
|
|
26
26
|
function ImplicitSeriesTracker() {
|
|
27
27
|
this.count = 0;
|
|
28
|
-
this.tracker =
|
|
28
|
+
this.tracker = {};
|
|
29
29
|
}
|
|
30
30
|
ImplicitSeriesTracker.prototype.getIndex = function (value) {
|
|
31
|
-
if (this.tracker
|
|
32
|
-
return this.tracker
|
|
31
|
+
if (this.tracker[value] != null) {
|
|
32
|
+
return this.tracker[value];
|
|
33
33
|
}
|
|
34
34
|
else {
|
|
35
35
|
var idx = this.count;
|
|
36
|
-
this.tracker
|
|
36
|
+
this.tracker[value] = idx;
|
|
37
37
|
this.count += 1;
|
|
38
38
|
return idx;
|
|
39
39
|
}
|
|
40
40
|
};
|
|
41
41
|
ImplicitSeriesTracker.prototype.clear = function () {
|
|
42
42
|
this.count = 0;
|
|
43
|
-
this.tracker
|
|
43
|
+
this.tracker = {};
|
|
44
44
|
};
|
|
45
45
|
return ImplicitSeriesTracker;
|
|
46
46
|
}());
|
package/package.json
CHANGED
package/plottable.js
CHANGED
|
@@ -18066,22 +18066,22 @@ var scale_1 = __webpack_require__(18);
|
|
|
18066
18066
|
var ImplicitSeriesTracker = /** @class */ (function () {
|
|
18067
18067
|
function ImplicitSeriesTracker() {
|
|
18068
18068
|
this.count = 0;
|
|
18069
|
-
this.tracker =
|
|
18069
|
+
this.tracker = {};
|
|
18070
18070
|
}
|
|
18071
18071
|
ImplicitSeriesTracker.prototype.getIndex = function (value) {
|
|
18072
|
-
if (this.tracker
|
|
18073
|
-
return this.tracker
|
|
18072
|
+
if (this.tracker[value] != null) {
|
|
18073
|
+
return this.tracker[value];
|
|
18074
18074
|
}
|
|
18075
18075
|
else {
|
|
18076
18076
|
var idx = this.count;
|
|
18077
|
-
this.tracker
|
|
18077
|
+
this.tracker[value] = idx;
|
|
18078
18078
|
this.count += 1;
|
|
18079
18079
|
return idx;
|
|
18080
18080
|
}
|
|
18081
18081
|
};
|
|
18082
18082
|
ImplicitSeriesTracker.prototype.clear = function () {
|
|
18083
18083
|
this.count = 0;
|
|
18084
|
-
this.tracker
|
|
18084
|
+
this.tracker = {};
|
|
18085
18085
|
};
|
|
18086
18086
|
return ImplicitSeriesTracker;
|
|
18087
18087
|
}());
|