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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b3c1d94549813036d0de9cdc809c26f18d0d29779d0c3c43856227987fc715a7
4
- data.tar.gz: f24a0f1c6891a54053d66ffe17250602b05cffbb341a427b6d0ca6ce969c8129
3
+ metadata.gz: b9a31a2515009e8ad6ef257e902f89626e4bf80d70419fef786cd3848168debb
4
+ data.tar.gz: 6385913a3d369e083bc7bef211bb431fbb58cb2e79551ca6e2708bbc2aff32d8
5
5
  SHA512:
6
- metadata.gz: c5bd15e90a85be3b580bc0963bda5cd2a45f008a8a848d661ac3519e8afad585806c87d49f24b8fcf7238c81326d5a418e6068fb37ab120b0da25b5eba13f477
7
- data.tar.gz: 54591bfa41e703151bdc15231ecbf6804c0d2d33d1b114292abace62b48402d30fe182ab0d39f4480db45489290a34f6cee2c6fc50a941bd1c35a39e01ecad8a
6
+ metadata.gz: 90f75473a1e4af618c79c8de4df29b94153f3682a9092313da762ba0b8874909c6a5816be6a58065729609af119729a42bc1785ae7b837adce60ce877e19c799
7
+ data.tar.gz: 12b19acf1f205ef115ce2b9ba787afc414fc15483fe320259dd02b578c6ad2d9cb0fee5340ee48f06d6ce423d920a479dc0b24e229451084c004533e0aeeb4bf
@@ -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
  }
@@ -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.2
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-10 00:00:00.000000000 Z
11
+ date: 2021-11-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll