We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f9d933d commit d394409Copy full SHA for d394409
src/shared/js/utils/config.js
@@ -87,22 +87,6 @@ export const svgActionsHoverTitles = {
87
copyHypeLink: "Copy url as hyperlink",
88
};
89
90
-// Backward compatibility - attach to global window object (only in DOM context)
91
-if (typeof window !== "undefined") {
92
- window.state = state;
93
- window.descendingSortKeys = descendingSortKeys;
94
- window.svgActionsHoverTitles = svgActionsHoverTitles;
95
-}
96
-
97
-// Node.js module compatibility for testing
98
-if (typeof module !== "undefined" && module.exports != null) {
99
- module.exports = {
100
- state,
101
- descendingSortKeys,
102
- svgActionsHoverTitles,
103
- };
104
105
106
/**
107
* Shared configuration for the Tags' select2 inputs
108
*/
0 commit comments