unpoly-rails 3.7.0 → 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: e7efb85dc99af733583109538b64d7dcf3bbe8330e85f6aee2d6deafd234967a
4
- data.tar.gz: dc7a982abf8ca74fcc42038d9ff8710c06d5c470576c64a7cd9b0dc52592f624
3
+ metadata.gz: 84170dbbaa56e9d08bf7c57b22a3e9a96b04def816ba544e5c254d69bb5ba651
4
+ data.tar.gz: cd9e91cd923091e80ba9be59fb62176c3c8f156c8af2f49f1fa7d7cdc77cd0ab
5
5
  SHA512:
6
- metadata.gz: 58cc5fca2ae2f207886d3a41e56559327e281200f166fe4ce535b7a3aeba0028ee976ef84b4d76a9b73e9ae52ce739ef06edb90d7030109d74d46873a3b0f427
7
- data.tar.gz: 041d3c0a6bc90a6607f6e8641180db53ac317e5f162ca0732ac4a0507bd1f659c89acd65076f0cd9712aa09cbf883afaedf4bfdce20c08a7e8ef2c45b7204cf6
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;