unpoly-rails 3.0.0.rc3 → 3.0.0.rc4
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 +7 -2
- data/assets/unpoly/unpoly.es6.min.js +1 -1
- data/assets/unpoly/unpoly.js +7 -2
- data/assets/unpoly/unpoly.min.js +1 -1
- data/lib/unpoly/rails/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7b3078cf94f2f6e2c656a3558465bbca65e9fc9e1da9e5bd8a39a4c83fa3990c
|
4
|
+
data.tar.gz: 703f8a23eac0e4e0cfbdfdbf7d0f5789adb86c86c891a2347b6c35173b4bfbf2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8f9a8fc750817f39db37baa57a5f945724f13900954685483df283fdec839bbb1e67f31c7fe7d8a9b86dda04f1644e277335aa915b9e9f442030a086fa6922d0
|
7
|
+
data.tar.gz: f2715303e14e640a335660f88d727ac37c35f5b008c881a7654904a06d9802235f1edb2da2db18bd6e1b484e1ab8574314fa96785f66e0dd0acfd17021e6538b
|
data/assets/unpoly/unpoly.es6.js
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
/***/ (() => {
|
6
6
|
|
7
7
|
window.up = {
|
8
|
-
version: '3.0.0-
|
8
|
+
version: '3.0.0-rc4'
|
9
9
|
};
|
10
10
|
|
11
11
|
|
@@ -6171,6 +6171,9 @@ up.Request = (_a = class Request extends up.Record {
|
|
6171
6171
|
this.addAutoHeader(up.protocol.headerize('version'), up.version);
|
6172
6172
|
}
|
6173
6173
|
addAutoHeader(name, value) {
|
6174
|
+
if (u.isMissing(value)) {
|
6175
|
+
return;
|
6176
|
+
}
|
6174
6177
|
if (u.isOptions(value) || u.isArray(value)) {
|
6175
6178
|
value = u.safeStringifyJSON(value);
|
6176
6179
|
}
|
@@ -6292,7 +6295,9 @@ up.Request.Cache = class Cache {
|
|
6292
6295
|
}
|
6293
6296
|
}
|
6294
6297
|
alias(existingCachedRequest, newRequest) {
|
6295
|
-
existingCachedRequest = this.
|
6298
|
+
existingCachedRequest = this.get(existingCachedRequest);
|
6299
|
+
if (!existingCachedRequest)
|
6300
|
+
return;
|
6296
6301
|
newRequest = this.wrap(newRequest);
|
6297
6302
|
this.track(existingCachedRequest, newRequest, { force: true });
|
6298
6303
|
this.put(newRequest);
|