@forcecalendar/interface 1.0.53 → 1.0.55
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/dist/force-calendar-interface.esm.js +1 -4
- package/dist/force-calendar-interface.esm.js.map +1 -1
- package/dist/force-calendar-interface.umd.js +1 -1
- package/dist/force-calendar-interface.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/index.js +0 -1
- package/src/utils/DOMUtils.js +1 -5
package/package.json
CHANGED
package/src/index.js
CHANGED
package/src/utils/DOMUtils.js
CHANGED
|
@@ -171,12 +171,8 @@ export class DOMUtils {
|
|
|
171
171
|
static debounce(func, wait = 250) {
|
|
172
172
|
let timeout;
|
|
173
173
|
return function executedFunction(...args) {
|
|
174
|
-
const later = () => {
|
|
175
|
-
clearTimeout(timeout);
|
|
176
|
-
func(...args);
|
|
177
|
-
};
|
|
178
174
|
clearTimeout(timeout);
|
|
179
|
-
timeout = setTimeout(
|
|
175
|
+
timeout = setTimeout(() => func.apply(this, args), wait);
|
|
180
176
|
};
|
|
181
177
|
}
|
|
182
178
|
|