appscms-tools-theme 3.6.1 → 3.6.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/_includes/customScripts.html +1 -0
- data/_includes/script.html +2 -1
- data/assets/css/tools.css +1 -1
- data/assets/js/usageTrackingEvents.js +6 -0
- metadata +3 -2
- data/assets/js/userTrackingEvents.js +0 -13
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ba36cc30623afd53e1aada48a46cd8d887e10874b644dd213b081d15b868b4f3
|
|
4
|
+
data.tar.gz: 5dc02b0de6f55fe22b73b3f82389639a8d134276a420e2628fb90e68b241bea6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8b4be6551601c6bb33ffac0b060a5e1517ec9d2e8484e480047013ec4b8d0eec4a8f0c1d74fa67a8f3ee433e4af3edf2e3c9d825020226456e8435fad4036372
|
|
7
|
+
data.tar.gz: 8fa603c1a53dfc6246034d4c9e4b93b2329c8171191b1b035669209f00948c6ddc52d732c5385194f094b97725300129d43c01d2d442f333668f0f0ec277fd09
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<!-- custom scripts -->
|
data/_includes/script.html
CHANGED
|
@@ -443,7 +443,8 @@ site.removeJquery != true -%}
|
|
|
443
443
|
{%- endif -%}
|
|
444
444
|
|
|
445
445
|
<script defer src="/assets/js/theme.js" crossorigin="anonymous"></script>
|
|
446
|
-
{%- if site.userTrackingCount -%}
|
|
446
|
+
{%- if site.userTrackingCount -%} {%- include customScripts.html -%} {%- endif
|
|
447
|
+
-%} {%- if site.userTrackingCount and page.layout == "feature" -%}
|
|
447
448
|
<script defer src="/assets/js/usageTracking.js"></script>
|
|
448
449
|
<script defer src="/assets/js/usageTrackingEvents.js"></script>
|
|
449
450
|
<script defer src="/assets/js/sharePage.js"></script>
|
data/assets/css/tools.css
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: appscms-tools-theme
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.6.
|
|
4
|
+
version: 3.6.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- vivek-appscms
|
|
@@ -114,6 +114,7 @@ files:
|
|
|
114
114
|
- _includes/bookmark.html
|
|
115
115
|
- _includes/cssfile/links.html
|
|
116
116
|
- _includes/custom-head.html
|
|
117
|
+
- _includes/customScripts.html
|
|
117
118
|
- _includes/customblog/recentposts.html
|
|
118
119
|
- _includes/customblog/relatedposts.html
|
|
119
120
|
- _includes/disqus_comments.html
|
|
@@ -439,7 +440,7 @@ files:
|
|
|
439
440
|
- assets/js/testing-batch.js
|
|
440
441
|
- assets/js/theme.js
|
|
441
442
|
- assets/js/usageTracking.js
|
|
442
|
-
- assets/js/
|
|
443
|
+
- assets/js/usageTrackingEvents.js
|
|
443
444
|
- assets/linkdin.svg
|
|
444
445
|
- assets/noserverupload.svg
|
|
445
446
|
- assets/pdf.svg
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
const inputBoxOfFeatureFile = document.querySelector("#file");
|
|
2
|
-
const inputBoxOfFeatureFiles = document.querySelector("#files");
|
|
3
|
-
|
|
4
|
-
if (inputBoxOfFeatureFile) {
|
|
5
|
-
inputBoxOfFeatureFile.addEventListener("change", () => {
|
|
6
|
-
checkUsage();
|
|
7
|
-
});
|
|
8
|
-
}
|
|
9
|
-
if (inputBoxOfFeatureFiles) {
|
|
10
|
-
inputBoxOfFeatureFiles.addEventListener("change", () => {
|
|
11
|
-
checkUsage();
|
|
12
|
-
});
|
|
13
|
-
}
|