@yuneta/gobj-js 7.9.9 → 7.9.10

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.
@@ -2535,9 +2535,9 @@ var Zl = [
2535
2535
  }, ti = null;
2536
2536
  function ni(e, t, n, r) {
2537
2537
  let l = e.priv, i = l.periodic ? "EV_TIMEOUT_PERIODIC" : "EV_TIMEOUT";
2538
- return St(e) ? ln(ht(e), i, {}, e) : En(e, i, {}), l.periodic && (l.timer_id = setTimeout(function() {
2538
+ return l.periodic && l.msec > 0 ? l.timer_id = setTimeout(function() {
2539
2539
  ln(e, "EV_TIMEOUT", {}, e);
2540
- }, l.msec)), 0;
2540
+ }, l.msec) : l.timer_id = -1, St(e) ? ln(ht(e), i, {}, e) : En(e, i, {}), l.periodic || -1 !== l.timer_id || at(e) && nt(e), 0;
2541
2541
  }
2542
2542
  var ri = {
2543
2543
  mt_create: function(e) {
@@ -2553,7 +2553,7 @@ var ri = {
2553
2553
  break;
2554
2554
  case "msec": n.msec = Wt(e, "msec"), -1 !== n.timer_id && (clearTimeout(n.timer_id), n.timer_id = -1), n.msec > 0 && (n.timer_id = setTimeout(function() {
2555
2555
  ln(e, "EV_TIMEOUT", {}, e);
2556
- }, n.msec));
2556
+ }, n.msec)), n.msec > 0 ? at(e) || ze(e) : at(e) && nt(e);
2557
2557
  }
2558
2558
  },
2559
2559
  mt_start: function(e) {