tramway-landing 3.1.1.9 → 3.1.1.10

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a44989414fa9ea2683c413dab6d7c4754827c59b6521bdbd7d904d8322a6d125
4
- data.tar.gz: 07e739b85750986aca9c90fb7b1ff53341c800fd4939db4236045c66e4d0ec49
3
+ metadata.gz: 6357cedad3d2422008f3d4e6bad426889c79ece0e777041fe34988f72536b757
4
+ data.tar.gz: be5301c2c4dfc3e64ca2db13b6e8d4b3bf69f1e82388ad99f8139a48dc55968d
5
5
  SHA512:
6
- metadata.gz: f1086cb5b3b878f65a8042e19763b8483984461cb04321135f21cb3a61b084fbec7ade774dcb52e8bcfa52901590fd1e726df337f5fee8950cedf5049f612b15
7
- data.tar.gz: ac552528b5ec8cfe5c8fdc6b6d369b746b17083d92984743396513d718c5618c28f0293880806cfc6c310d2bd53ebe9c18ee3eb23191129d17c5332f7249ea47
6
+ metadata.gz: 9caf4587006b41ca494e6af23b18bbd383213c99ac61a47a802c70f4e8483aaf03ed452998b4e27865d0b0e1e59b3e15d8f10311bc6e0f1615f4f39bf624014b
7
+ data.tar.gz: 0dcc7a118571778183d033984de220038de36ba3808c7647652487cd2c6963c6572e54dedda32d10922a970fd38c52b60c57a9cfbaf1db5821fec33ff81912eb
@@ -8,12 +8,12 @@ $(document).ready(function() {
8
8
  });
9
9
 
10
10
  const iframe_selectors_for_video = ['iframe[src*="vk.com"]', 'iframe[src*="youtu.be"]', 'iframe[src*="youtube.com"]'];
11
- for (const selector in iframe_selectors_for_video) {
11
+ iframe_selectors_for_video.forEach(function(selector) {
12
12
  $(selector).each(function() {
13
13
  width = $(this).parents('div').first().width();
14
14
  height = width / 16 * 9;
15
15
  $(this).width(width);
16
16
  $(this).height(height);
17
17
  });
18
- }
18
+ })
19
19
  });
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Tramway
4
4
  module Landing
5
- VERSION = '3.1.1.9'
5
+ VERSION = '3.1.1.10'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tramway-landing
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.1.9
4
+ version: 3.1.1.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - moshinaan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-09-10 00:00:00.000000000 Z
11
+ date: 2020-09-15 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Landing Engine for your Rails projects
14
14
  email: