jumbo-jekyll-theme 1.6.3 → 1.6.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8e1f1788c2525b2145aed29e7b4a5ae5963812e1
4
- data.tar.gz: 8e39f916aa0496a4713f11e7bcb60663f65aac40
3
+ metadata.gz: f232cc9ba5925d8d931b423dd01b866c7ec83604
4
+ data.tar.gz: bc7c6af7746f02e537a2e6c3739290bde7694eed
5
5
  SHA512:
6
- metadata.gz: 94759e84d85333ed0af5f04c60a610752231f14d80744e7aa9b4c67314ed47064b13cdf9bcb6eebdaed7f1a647c3bc23a7ca7aab138843ab3f37167c9fe5e68e
7
- data.tar.gz: 86f3d0a98cfd40e68289e3375ab3fcd00d090e05c8f287544b23a72bbc24a503c0b91b78e8e821cf97a12f20dedac95015dc8f97f743ef4a9b39fea998852438
6
+ metadata.gz: 290e358bef30dce4fe9abe48bc59b199f610d9d4845c26e9e248306cd7dc7db79fef6b842283e36856b5e6c22d2355bfd8a04e7ddd33fd9f60c210097a2bbe9d
7
+ data.tar.gz: 7573cabfc430a769f954435b5765fbcede91de892a3867b860b13301b3b6a90646f13ade473f9e2933586dfa8527a47a1ac5f7b682bee5da65a3a13b39a54cff
@@ -1,63 +1,29 @@
1
1
  <script type="text/javascript">
2
2
 
3
- // Fill in your MailChimp popup settings below.
4
- // These can be found in the original popup script from MailChimp.
5
- var mailchimpConfig = {
6
- baseUrl: 'mc.us3.list-manage.com',
7
- uuid: '14baaae786342d0d405ee59c2',
8
- lid: '{{site.data.settings.mailchimp.id}}'
9
- };
10
-
11
- function defer(method) {
12
- if (window.jQuery) {
13
- method();
14
- } else {
15
- setTimeout(function() { defer(method) }, 50);
16
- }
3
+ function defer(method) {
4
+ if (window.jQuery) {
5
+ method();
6
+ } else {
7
+ setTimeout(function() { defer(method) }, 50);
17
8
  }
9
+ }
18
10
 
19
11
  function showMailingPopUp() {
20
12
 
21
13
  document.cookie = "MCPopupClosed=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/";
22
14
  document.cookie = "MCPopupSubscribed=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/";
23
15
 
16
+ require(["mojo/signup-forms/Loader"], function(L) { L.start(
17
+ {"baseUrl":"mc.us3.list-manage.com","uuid":"14baaae786342d0d405ee59c2","lid":"{{site.data.settings.mailchimp.id}}"}
18
+ ) })
19
+
20
+
24
21
  };
25
22
 
26
-
27
-
28
-
29
23
  defer(function () {
30
24
  $("#open-newsletter-popup").on('click', function() {
31
25
  showMailingPopUp();
32
26
  });
33
-
34
- $(document).ready(function(){
35
-
36
-
37
- var mailchimpConfig = {
38
- baseUrl: 'mc.us3.list-manage.com',
39
- uuid: '14baaae786342d0d405ee59c2',
40
- lid: '{{site.data.settings.mailchimp.id}}'
41
- };
42
-
43
- // No edits below this line are required
44
- var chimpPopupLoader = document.createElement("script");
45
- chimpPopupLoader.src = '//s3.amazonaws.com/downloads.mailchimp.com/js/signup-forms/popup/embed.js';
46
- chimpPopupLoader.setAttribute('data-dojo-config', 'usePlainJson: true, isDebug: false');
47
-
48
- var chimpPopup = document.createElement("script");
49
- chimpPopup.appendChild(document.createTextNode('require(["mojo/signup-forms/Loader"], function (L) { L.start({"baseUrl": "' + mailchimpConfig.baseUrl + '", "uuid": "' + mailchimpConfig.uuid + '", "lid": "' + mailchimpConfig.lid + '"})});'));
50
-
51
- document.body.appendChild(chimpPopupLoader);
52
-
53
- $(window).on('load', function() {
54
- document.body.appendChild(chimpPopup);
55
- });
56
-
57
- });
58
-
59
-
60
-
61
27
  });
62
28
 
63
29
 
@@ -1,9 +1,9 @@
1
1
  //= require vendor/jquery
2
2
  //= require vendor/bootstrap
3
+ //= require vendor/mc
3
4
  //= require vendor/cookieconsent
4
5
  //= require vendor/lazysizes
5
6
 
6
-
7
7
  //= require vendor/lightbox
8
8
  //= require app/main
9
9
  //= require app/tables
@@ -1,5 +1,6 @@
1
1
  //= require vendor/jquery
2
2
  //= require vendor/bootstrap
3
+ //= require vendor/mc
3
4
  //= require vendor/cookieconsent
4
5
  //= require vendor/owl.carousel
5
6
  //= require vendor/lazysizes
@@ -1,5 +1,6 @@
1
1
  //= require vendor/jquery
2
2
  //= require vendor/bootstrap
3
+ //= require vendor/mc
3
4
  //= require vendor/cookieconsent
4
5
  //= require vendor/lazysizes
5
6
  //= require vendor/owl.carousel
@@ -1,5 +1,6 @@
1
1
  //= require vendor/jquery
2
2
  //= require vendor/bootstrap
3
+ //= require vendor/mc
3
4
  //= require vendor/cookieconsent
4
5
  //= require vendor/lazysizes
5
6
 
@@ -1,6 +1,8 @@
1
1
  //= require vendor/jquery
2
2
  //= require vendor/bootstrap
3
+ //= require vendor/mc
3
4
  //= require vendor/cookieconsent
4
5
  //= require vendor/lazysizes
6
+
5
7
  //= require app/main
6
8
  //= require app/custom
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jumbo-jekyll-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.3
4
+ version: 1.6.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kyle Kirkby
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-05-16 00:00:00.000000000 Z
11
+ date: 2018-05-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll