appscms-tools-theme 0.9.3 → 0.9.4
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/head/index.html +0 -1
- data/assets/js/googledrive.js +17 -0
- 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: 8f49f64f6095d0ee57fac97ab6e9df49bf1dfca8ee7c78230aa7a028bbef3643
|
4
|
+
data.tar.gz: a69610166b92097894760eed83e782054df7b2e5d38889618681075d2e359175
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 144468034460c92d7a3a3ca66b4e1e73767fb2eef43ecbbb51702b7782c2e8f05a65d9eb7703293383855a0e07fa228ce4ffdcc0b27cf4cb181b26f2b5681502
|
7
|
+
data.tar.gz: deacb27377b4b07e061a6b63e8ff172bc559e3466ca4ab613467ef8ac6c65fc84b44d51d0875d620f13e67a207caa013e45b06b7240749193b1de45663e253a0
|
data/_includes/head/index.html
CHANGED
data/assets/js/googledrive.js
CHANGED
@@ -1,5 +1,22 @@
|
|
1
1
|
---
|
2
2
|
---
|
3
|
+
|
4
|
+
const addScripts=()=>{
|
5
|
+
const scripts=document.getElementsByTagName('script')
|
6
|
+
const check= Array.from(scripts).find(item=>item.src==='https://www.dropbox.com/static/api/2/dropins.js')
|
7
|
+
if(!check){
|
8
|
+
const dropboxscript = document.createElement('script')
|
9
|
+
dropboxscript.src = 'https://www.dropbox.com/static/api/2/dropins.js'
|
10
|
+
dropboxscript.dataset.appKey = '{{site.dropboxapikey}}'
|
11
|
+
document.head.append(dropboxscript)
|
12
|
+
}
|
13
|
+
const checkgooglescript= Array.from(scripts).find(item=>item.src==='https://apis.google.com/js/api.js')
|
14
|
+
if(!checkgooglescript){
|
15
|
+
const googlescript = document.createElement('script')
|
16
|
+
googlescript.src = '{{site.googleapisrc}}'
|
17
|
+
document.head.append(googlescript)
|
18
|
+
}
|
19
|
+
}
|
3
20
|
const developerKey = '{{site.developerKey}}'
|
4
21
|
const clientId ='{{site.clientId}}'
|
5
22
|
const appId = '{{site.appId}}'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: appscms-tools-theme
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- vivek-appscms
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-06-
|
11
|
+
date: 2021-06-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|