unpoly-rails 3.7.0.1 → 3.7.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e78bb387b4d678644e4597f7cac513bf19ace64c617ed8f9d22ee878740f85a2
4
- data.tar.gz: 332069933d83231665d3402a340cf38deadea1aa74240c84598f3e301a0be194
3
+ metadata.gz: 84170dbbaa56e9d08bf7c57b22a3e9a96b04def816ba544e5c254d69bb5ba651
4
+ data.tar.gz: cd9e91cd923091e80ba9be59fb62176c3c8f156c8af2f49f1fa7d7cdc77cd0ab
5
5
  SHA512:
6
- metadata.gz: 4a501540a1e8cdbc1ae15b9126ffd1e12d8e933282152858ded7a64940fc836fdcba04d08257b8c279698de5befd9d6f96a43f23102fe3b1f9ad2b9280a45523
7
- data.tar.gz: 5e97ecf104214fcac0982d17f5a8966f45337d5f8cf17341219bec9a996ce86da0e45bec1470a2d8fa5b950c9cd813c58433e613389a67cd571615565c1200d5
6
+ metadata.gz: 06c702b46d1e913493f0407f786772bfb65acdf088aab8f82238cee646a38125d8ef401e5255b5f5ada2994102b63416b21cac7f07f27fb5850671509d79f951
7
+ data.tar.gz: c79fca122281fd2c14919504cdf7050c73a3e673ab2c7eab45891cd5b3f944b809b3f0c0cf79db5b362cd1f44f81b61321846a275c8c89108865469da4492503
@@ -5,7 +5,7 @@
5
5
  /***/ (() => {
6
6
 
7
7
  window.up = {
8
- version: '3.7.0'
8
+ version: '3.7.1'
9
9
  };
10
10
 
11
11
 
@@ -3740,11 +3740,12 @@ up.FieldWatcher = class FieldWatcher {
3740
3740
  this._scheduledValues = null;
3741
3741
  }
3742
3742
  _scheduleValues(values, fieldOptions) {
3743
- clearTimeout(this._currentTimer);
3744
3743
  this._scheduledValues = values;
3744
+ this._scheduledFieldOptions = fieldOptions;
3745
3745
  let delay = fieldOptions.delay || 0;
3746
+ clearTimeout(this._currentTimer);
3746
3747
  this._currentTimer = u.timer(delay, () => {
3747
- this._scheduledFieldOptions = fieldOptions;
3748
+ this._currentTimer = null;
3748
3749
  this._requestCallback();
3749
3750
  });
3750
3751
  }
@@ -3757,6 +3758,8 @@ up.FieldWatcher = class FieldWatcher {
3757
3758
  return;
3758
3759
  if (this._callbackRunning)
3759
3760
  return;
3761
+ if (this._currentTimer)
3762
+ return;
3760
3763
  if (!this._scope.isConnected)
3761
3764
  return;
3762
3765
  let fieldOptions = this._scheduledFieldOptions;