jumbo-jekyll-theme 1.6.3 → 1.6.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/newsletter-script.html +11 -45
- data/assets/js/package-blog.js +1 -1
- data/assets/js/package-extended.js +1 -0
- data/assets/js/package-home.js +1 -0
- data/assets/js/package-main.js +1 -0
- data/assets/js/package-search.js +2 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f232cc9ba5925d8d931b423dd01b866c7ec83604
|
4
|
+
data.tar.gz: bc7c6af7746f02e537a2e6c3739290bde7694eed
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 290e358bef30dce4fe9abe48bc59b199f610d9d4845c26e9e248306cd7dc7db79fef6b842283e36856b5e6c22d2355bfd8a04e7ddd33fd9f60c210097a2bbe9d
|
7
|
+
data.tar.gz: 7573cabfc430a769f954435b5765fbcede91de892a3867b860b13301b3b6a90646f13ade473f9e2933586dfa8527a47a1ac5f7b682bee5da65a3a13b39a54cff
|
@@ -1,63 +1,29 @@
|
|
1
1
|
<script type="text/javascript">
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
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
|
|
data/assets/js/package-blog.js
CHANGED
data/assets/js/package-home.js
CHANGED
data/assets/js/package-main.js
CHANGED
data/assets/js/package-search.js
CHANGED
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.
|
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-
|
11
|
+
date: 2018-05-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|