Skip to content

Commit 9ba4f48

Browse files
committed
revert utils/index.js changes back to 2023-03-19 version
1 parent 0fab941 commit 9ba4f48

File tree

1 file changed

+3
-12
lines changed

1 file changed

+3
-12
lines changed

utils/index.js

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -83,21 +83,12 @@ export function transformCounts(counts = {}) {
8383
}
8484

8585
// lodash debounce wrapper called with our settings values
86-
// export const debounce = func => _debounce(
87-
// func,
88-
// settings.map.debounce.duration,
89-
// settings.map.debounce.options,
90-
// );
91-
9286
export const debounce = func => _debounce(
93-
(...args) => {
94-
return func(...args);
95-
},
87+
func,
9688
settings.map.debounce.duration,
97-
settings.map.debounce.options
89+
settings.map.debounce.options,
9890
);
9991

100-
10192
// utility to dispatch click event to toggle Bondaries SelectorBox
10293
export const toggleBoundaries = () => {
10394
if (!!document === false) {
@@ -190,4 +181,4 @@ export function shuffle(array) {
190181
.map(a => ({ sort: Math.random(), value: a }))
191182
.sort((a, b) => a.sort - b.sort)
192183
.map(a => a.value);
193-
}
184+
}

0 commit comments

Comments
 (0)