appscms-tools-theme 1.5.2 → 1.5.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/assets/js/googledrive.js +2 -0
- data/assets/js/multiselect.js +2 -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: b9a31a2515009e8ad6ef257e902f89626e4bf80d70419fef786cd3848168debb
|
4
|
+
data.tar.gz: 6385913a3d369e083bc7bef211bb431fbb58cb2e79551ca6e2708bbc2aff32d8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 90f75473a1e4af618c79c8de4df29b94153f3682a9092313da762ba0b8874909c6a5816be6a58065729609af119729a42bc1785ae7b837adce60ce877e19c799
|
7
|
+
data.tar.gz: 12b19acf1f205ef115ce2b9ba787afc414fc15483fe320259dd02b578c6ad2d9cb0fee5340ee48f06d6ce423d920a479dc0b24e229451084c004533e0aeeb4bf
|
data/assets/js/googledrive.js
CHANGED
@@ -7,6 +7,7 @@ const addScripts=()=>{
|
|
7
7
|
if(!check){
|
8
8
|
const dropboxscript = document.createElement('script')
|
9
9
|
dropboxscript.src = 'https://www.dropbox.com/static/api/2/dropins.js'
|
10
|
+
dropboxscript.crossOrigin = 'anonymous'
|
10
11
|
dropboxscript.dataset.appKey = '{{site.dropboxapikey}}'
|
11
12
|
dropboxscript.id='dropboxjs'
|
12
13
|
document.head.append(dropboxscript)
|
@@ -15,6 +16,7 @@ const addScripts=()=>{
|
|
15
16
|
if(!checkgooglescript){
|
16
17
|
const googlescript = document.createElement('script')
|
17
18
|
googlescript.src = 'https://apis.google.com/js/api.js'
|
19
|
+
googlescript.crossOrigin = 'anonymous'
|
18
20
|
document.head.append(googlescript)
|
19
21
|
}
|
20
22
|
}
|
data/assets/js/multiselect.js
CHANGED
@@ -9,12 +9,14 @@ const addScripts=()=>{
|
|
9
9
|
dropboxscript.src = 'https://www.dropbox.com/static/api/2/dropins.js'
|
10
10
|
dropboxscript.dataset.appKey = '{{site.dropboxapikey}}'
|
11
11
|
dropboxscript.id='dropboxjs'
|
12
|
+
dropboxscript.crossOrigin = 'anonymous'
|
12
13
|
document.head.append(dropboxscript)
|
13
14
|
}
|
14
15
|
const checkgooglescript= Array.from(scripts).find(item=>item.src==='https://apis.google.com/js/api.js')
|
15
16
|
if(!checkgooglescript){
|
16
17
|
const googlescript = document.createElement('script')
|
17
18
|
googlescript.src = 'https://apis.google.com/js/api.js'
|
19
|
+
googlescript.crossOrigin = 'anonymous'
|
18
20
|
document.head.append(googlescript)
|
19
21
|
}
|
20
22
|
}
|
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: 1.5.
|
4
|
+
version: 1.5.3
|
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-11-
|
11
|
+
date: 2021-11-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|