File tree Expand file tree Collapse file tree 1 file changed +3
-12
lines changed
Expand file tree Collapse file tree 1 file changed +3
-12
lines changed Original file line number Diff line number Diff 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-
9286export 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
10293export 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+ }
You can’t perform that action at this time.
0 commit comments