Skip to content

Commit f36db71

Browse files
committed
Update history constants: ints -> strings
1 parent ba9445a commit f36db71

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vueplotlib",
3-
"version": "1.5.2",
3+
"version": "1.6.0",
44
"private": false,
55
"scripts": {
66
"serve": "vue-cli-service serve --open ./examples-src/index.js",

src/history/base-events.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,18 @@
22
* Enum of the base event types.
33
*/
44
export const EVENT_TYPES = Object.freeze({
5-
SCALE: 1,
6-
DATA: 2
5+
SCALE: "SCALE",
6+
DATA: "DATA"
77
});
88

99
/**
1010
* Enum of the base event subtypes.
1111
*/
1212
export const EVENT_SUBTYPES = Object.freeze({
13-
SCALE_DOMAIN_FILTER: 1,
14-
SCALE_DOMAIN_SORT: 2,
15-
SCALE_COLOR_SCALE: 3,
16-
SCALE_COLOR_OVERRIDE: 4
13+
SCALE_DOMAIN_FILTER: "FILTER",
14+
SCALE_DOMAIN_SORT: "SORT",
15+
SCALE_COLOR_SCALE: "COLOR_SCALE",
16+
SCALE_COLOR_OVERRIDE: "COLOR_OVERRIDE"
1717
});
1818

1919
/**

0 commit comments

Comments
 (0)