thecore_ui_commons 3.0.13 → 3.0.14
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/thecore_ui_commons.js +0 -19
- 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: b454a3afafb14ce1633816aff60e3cb68d9c4f83bba559d08f94b1f3588cb6ec
|
4
|
+
data.tar.gz: 7b9088bd317b88da2b56f65fbd540c478c3369867ffe5334deadc50c45afbdc1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 31ca62310599e449f87c70623f37cad49c3123d025b70f2f81b94af1ddbe81169db9cfd63f06dbd86c6821b2e38db59425ff1e2f47f6c21c760f2f52ef853002
|
7
|
+
data.tar.gz: c80611648b7c0c3a69c4e6d111a35613b6da73747f3b399c8ca1ed84a96ee9f1a0f0d260a21a7bd66a98c1dbfedc2e92322c185364707b0c97baa5efc42bab3c
|
@@ -1,20 +1 @@
|
|
1
1
|
// This file can be overridden in your engine
|
2
|
-
|
3
|
-
let currentURL = new URL(window.location.href);
|
4
|
-
|
5
|
-
$(document).on('turbo:load', function (event) {
|
6
|
-
currentURL = new URL(event.originalEvent.detail.url);
|
7
|
-
console.log("Page loaded listening to turbo:load event", currentURL.href);
|
8
|
-
console.log(" - Protocol:", currentURL.protocol);
|
9
|
-
console.log(" - Username:", currentURL.username);
|
10
|
-
console.log(" - Password:", currentURL.password);
|
11
|
-
console.log(" - Host:", currentURL.host);
|
12
|
-
console.log(" - Hostname:", currentURL.hostname);
|
13
|
-
console.log(" - Port:", currentURL.port);
|
14
|
-
console.log(" - Pathname:", currentURL.pathname);
|
15
|
-
console.log(" - Search:", currentURL.search);
|
16
|
-
currentURL.searchParams.forEach((v, k) => {
|
17
|
-
console.log(` - ${k}: ${v}`);
|
18
|
-
})
|
19
|
-
console.log(" - Hash:", currentURL.hash);
|
20
|
-
});
|