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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 97f7900161912597e3c72a6bbc352e9b2029787a30598d695aafd7aa0087386a
4
- data.tar.gz: 94f3822ae12651165ce9b17eb2b2831c54f72514603ca29ca2a34395c7b68170
3
+ metadata.gz: 46d0ab0913d88d6ba567a358c4d0b23f11904c488a697101a5dcc6b65313c637
4
+ data.tar.gz: a16ee4e7ffd7214b2fb0ca7db84b0c0cefe113054fc9efc40924a2dc26e7911d
5
5
  SHA512:
6
- metadata.gz: 5b171287414f24deb0e0b9b8f4f7704f4c548efe351893e4cb433bd449abc366cf341a4b006b3db0d4258f5aabdc6313c8adeccad38a768708ca1619d70c3861
7
- data.tar.gz: 9e7e704439f679ffc6a35cb46408f1dbd7c34bf55cc915cfa2033233c006c6c0fc075c715be83378cd8409728269913918903cf35124638bb9d558fac42a82f9
6
+ metadata.gz: a8d6f8929e89a69be1aea26541a9bbd3b0b13033b2036abd84d0918dfbdec4cea88bb2201157280f59978fc683091d87e73c2498993bc9d30e275b22b57b8721
7
+ data.tar.gz: a4aef3a28a07bde970d01d01e993ff356bb55c9b8820dcf0278b171344bed7d3a881ce81c063ed19de723d4bf4a7a850062ffa1616e268b0ad6fdc079476a37f
@@ -5,7 +5,7 @@
5
5
  /***/ (() => {
6
6
 
7
7
  window.up = {
8
- version: '3.7.2'
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 parts = this._selector.match(DESCENDANT_SELECTOR);
4150
- if (parts) {
4151
- let parent = up.fragment.closest(this._origin, parts[1], this._options);
4152
- if (parent) {
4153
- return up.fragment.getDumb(parent, parts[2]);
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);