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 +4 -4
- data/assets/unpoly/unpoly.es6.js +6 -3
- data/assets/unpoly/unpoly.es6.min.js +1 -1
- data/assets/unpoly/unpoly.js +6 -3
- data/assets/unpoly/unpoly.min.js +1 -1
- data/lib/unpoly/rails/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 84170dbbaa56e9d08bf7c57b22a3e9a96b04def816ba544e5c254d69bb5ba651
|
4
|
+
data.tar.gz: cd9e91cd923091e80ba9be59fb62176c3c8f156c8af2f49f1fa7d7cdc77cd0ab
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 06c702b46d1e913493f0407f786772bfb65acdf088aab8f82238cee646a38125d8ef401e5255b5f5ada2994102b63416b21cac7f07f27fb5850671509d79f951
|
7
|
+
data.tar.gz: c79fca122281fd2c14919504cdf7050c73a3e673ab2c7eab45891cd5b3f944b809b3f0c0cf79db5b362cd1f44f81b61321846a275c8c89108865469da4492503
|
data/assets/unpoly/unpoly.es6.js
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
/***/ (() => {
|
6
6
|
|
7
7
|
window.up = {
|
8
|
-
version: '3.7.
|
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.
|
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;
|