unpoly-rails 3.7.2 → 3.7.3
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 +11 -7
- data/assets/unpoly/unpoly.es6.min.js +1 -1
- data/assets/unpoly/unpoly.js +11 -7
- 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: 46d0ab0913d88d6ba567a358c4d0b23f11904c488a697101a5dcc6b65313c637
|
4
|
+
data.tar.gz: a16ee4e7ffd7214b2fb0ca7db84b0c0cefe113054fc9efc40924a2dc26e7911d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a8d6f8929e89a69be1aea26541a9bbd3b0b13033b2036abd84d0918dfbdec4cea88bb2201157280f59978fc683091d87e73c2498993bc9d30e275b22b57b8721
|
7
|
+
data.tar.gz: a4aef3a28a07bde970d01d01e993ff356bb55c9b8820dcf0278b171344bed7d3a881ce81c063ed19de723d4bf4a7a850062ffa1616e268b0ad6fdc079476a37f
|
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.3'
|
9
9
|
};
|
10
10
|
|
11
11
|
|
@@ -4117,6 +4117,7 @@ up.FragmentProcessor = class FragmentProcessor extends up.Record {
|
|
4117
4117
|
/* 45 */
|
4118
4118
|
/***/ (() => {
|
4119
4119
|
|
4120
|
+
const u = up.util;
|
4120
4121
|
const DESCENDANT_SELECTOR = /^([^ >+(]+) (.+)$/;
|
4121
4122
|
up.FragmentFinder = class FragmentFinder {
|
4122
4123
|
constructor(options) {
|
@@ -4146,13 +4147,16 @@ up.FragmentFinder = class FragmentFinder {
|
|
4146
4147
|
return up.fragment.closest(this._origin, this._selector, this._options);
|
4147
4148
|
}
|
4148
4149
|
_findDescendantInRegion() {
|
4149
|
-
let
|
4150
|
-
|
4151
|
-
let
|
4152
|
-
if (
|
4153
|
-
|
4150
|
+
let simpleSelectors = up.fragment.splitTarget(this._selector);
|
4151
|
+
return u.findResult(simpleSelectors, (simpleSelector) => {
|
4152
|
+
let parts = simpleSelector.match(DESCENDANT_SELECTOR);
|
4153
|
+
if (parts) {
|
4154
|
+
let parent = up.fragment.closest(this._origin, parts[1], this._options);
|
4155
|
+
if (parent) {
|
4156
|
+
return up.fragment.getDumb(parent, parts[2]);
|
4157
|
+
}
|
4154
4158
|
}
|
4155
|
-
}
|
4159
|
+
});
|
4156
4160
|
}
|
4157
4161
|
_findFirst() {
|
4158
4162
|
return up.fragment.getDumb(this._document, this._selector, this._options);
|