@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forcecalendar/interface",
3
- "version": "1.0.53",
3
+ "version": "1.0.55",
4
4
  "type": "module",
5
5
  "description": "Official interface layer for forceCalendar Core - Enterprise calendar components",
6
6
  "main": "dist/force-calendar-interface.umd.js",
package/src/index.js CHANGED
@@ -22,5 +22,4 @@ export { WeekViewRenderer } from './renderers/WeekViewRenderer.js';
22
22
  export { DayViewRenderer } from './renderers/DayViewRenderer.js';
23
23
 
24
24
  // Components
25
- import './components/ForceCalendar.js';
26
25
  export { ForceCalendar } from './components/ForceCalendar.js';
@@ -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(later, wait);
175
+ timeout = setTimeout(() => func.apply(this, args), wait);
180
176
  };
181
177
  }
182
178